From e948e22186613375a7eb3cc387591e35b40c3fee Mon Sep 17 00:00:00 2001 From: Alex Ford Date: Fri, 24 Feb 2023 16:29:13 +0000 Subject: [PATCH 001/145] Ruby: all Exprs have a corresponding DataFlow::Node that is more specific than just DataFlow::ExprNode --- .../lib/codeql/ruby/controlflow/CfgNodes.qll | 31 +++++- .../ruby/dataflow/internal/DataFlowPublic.qll | 99 +++++++++++++++++++ 2 files changed, 129 insertions(+), 1 deletion(-) diff --git a/ruby/ql/lib/codeql/ruby/controlflow/CfgNodes.qll b/ruby/ql/lib/codeql/ruby/controlflow/CfgNodes.qll index c8ca8ff12e6..a80a2147035 100644 --- a/ruby/ql/lib/codeql/ruby/controlflow/CfgNodes.qll +++ b/ruby/ql/lib/codeql/ruby/controlflow/CfgNodes.qll @@ -243,6 +243,35 @@ module ExprNodes { override Literal getExpr() { result = super.getExpr() } } + private class ControlExprChildMapping extends ExprChildMapping, ControlExpr { + override predicate relevantChild(AstNode n) { none() } + } + + /** A control-flow node that wraps a `ControlExpr` AST expression. */ + class ControlExprCfgNode extends ExprCfgNode { + override string getAPrimaryQlClass() { result = "ControlExprCfgNode" } + + override ControlExprChildMapping e; + + override ControlExpr getExpr() { result = super.getExpr() } + } + + private class LhsExprChildMapping extends ExprChildMapping, LhsExpr { + override predicate relevantChild(AstNode n) { none() } + } + + /** A control-flow node that wraps a `LhsExpr` AST expression. */ + class LhsExprCfgNode extends ExprCfgNode { + override string getAPrimaryQlClass() { result = "LhsExprCfgNode" } + + override LhsExprChildMapping e; + + override LhsExpr getExpr() { result = super.getExpr() } + + /** Gets a variable used in (or introduced by) this LHS. */ + Variable getAVariable() { result = e.(VariableAccess).getVariable() } + } + private class AssignExprChildMapping extends ExprChildMapping, AssignExpr { override predicate relevantChild(AstNode n) { n = this.getAnOperand() } } @@ -256,7 +285,7 @@ module ExprNodes { final override AssignExpr getExpr() { result = ExprCfgNode.super.getExpr() } /** Gets the LHS of this assignment. */ - final ExprCfgNode getLhs() { e.hasCfgChild(e.getLeftOperand(), this, result) } + final LhsExprCfgNode getLhs() { e.hasCfgChild(e.getLeftOperand(), this, result) } /** Gets the RHS of this assignment. */ final ExprCfgNode getRhs() { e.hasCfgChild(e.getRightOperand(), this, result) } diff --git a/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll b/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll index a53f3dfb267..7aff78de841 100644 --- a/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll +++ b/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll @@ -984,6 +984,105 @@ class ClassNode extends ModuleNode { ClassNode() { this.isClass() } } +/** + * A data flow node corresponding to a literal expression. + */ +class LiteralNode extends ExprNode { + private CfgNodes::ExprNodes::LiteralCfgNode literalCfgNode; + + LiteralNode() { this.asExpr() = literalCfgNode } + + /** Gets the underlying AST node as a `Literal`. */ + Literal asLiteralAstNode() { result = literalCfgNode.getExpr() } +} + +/** + * A data flow node corresponding to an operation expression. + */ +class OperationNode extends ExprNode { + private CfgNodes::ExprNodes::OperationCfgNode operationCfgNode; + + OperationNode() { this.asExpr() = operationCfgNode } + + /** Gets the underlying AST node as an `Operation`. */ + Operation asOperationAstNode() { result = operationCfgNode.getExpr() } + + /** Gets the operator of this operation. */ + final string getOperator() { result = operationCfgNode.getOperator() } + + /** Gets an operand of this operation. */ + final Node getAnOperand() { result.asExpr() = operationCfgNode.getAnOperand() } +} + +/** + * A data flow node corresponding to a control expression (e.g. `if`, `while`, `for`). + */ +class ControlExprNode extends ExprNode { + private CfgNodes::ExprNodes::ControlExprCfgNode controlExprCfgNode; + + ControlExprNode() { this.asExpr() = controlExprCfgNode } + + /** Gets the underlying AST node as a `ControlExpr`. */ + ControlExpr asControlExprAstNode() { result = controlExprCfgNode.getExpr() } +} + +/** + * A data flow node corresponding to a variable access expression. + */ +class VariableAccessNode extends ExprNode { + private CfgNodes::ExprNodes::VariableAccessCfgNode variableAccessCfgNode; + + VariableAccessNode() { this.asExpr() = variableAccessCfgNode } + + /** Gets the underlying AST node as a `VariableAccess`. */ + VariableAccess asVariableAccessAstNode() { result = variableAccessCfgNode.getExpr() } +} + +/** + * A data flow node corresponding to a constant access expression. + */ +class ConstantAccessNode extends ExprNode { + private CfgNodes::ExprNodes::ConstantAccessCfgNode constantAccessCfgNode; + + ConstantAccessNode() { this.asExpr() = constantAccessCfgNode } + + /** Gets the underlying AST node as a `ConstantAccess`. */ + ConstantAccess asConstantAccessAstNode() { result = constantAccessCfgNode.getExpr() } + + /** Gets the node corresponding to the scope expression. */ + final Node getScopeNode() { result.asExpr() = constantAccessCfgNode.getScopeExpr() } +} + +/** + * A data flow node corresponding to a LHS expression. + */ +class LhsExprNode extends ExprNode { + private CfgNodes::ExprNodes::LhsExprCfgNode lhsExprCfgNode; + + LhsExprNode() { this.asExpr() = lhsExprCfgNode } + + /** Gets the underlying AST node as a `LhsExpr`. */ + LhsExpr asLhsExprAstNode() { result = lhsExprCfgNode.getExpr() } + + /** Gets a variable used in (or introduced by) this LHS. */ + Variable getAVariable() { result = lhsExprCfgNode.getAVariable() } +} + +/** + * A data flow node corresponding to a statement sequence expression. + */ +class StmtSequenceNode extends ExprNode { + private CfgNodes::ExprNodes::StmtSequenceCfgNode stmtSequenceCfgNode; + + StmtSequenceNode() { this.asExpr() = stmtSequenceCfgNode } + + /** Gets the underlying AST node as a `StmtSequence`. */ + StmtSequence asStmtSequenceAstNode() { result = stmtSequenceCfgNode.getExpr() } + + /** Gets the last statement in this sequence, if any. */ + final ExprNode getLastStmt() { result.asExpr() = stmtSequenceCfgNode.getLastStmt() } +} + /** * A data flow node corresponding to a method, block, or lambda expression. */ From a54ca38e31d944df10e3deae56ff3f6e07b8ffd3 Mon Sep 17 00:00:00 2001 From: Alex Ford Date: Fri, 24 Feb 2023 16:31:17 +0000 Subject: [PATCH 002/145] Ruby: DataFlow::CallableNode extends DataFlow::StmtSequenceNode --- ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll b/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll index 7aff78de841..4ea02818c92 100644 --- a/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll +++ b/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll @@ -1086,7 +1086,7 @@ class StmtSequenceNode extends ExprNode { /** * A data flow node corresponding to a method, block, or lambda expression. */ -class CallableNode extends ExprNode { +class CallableNode extends StmtSequenceNode { private Callable callable; CallableNode() { this.asExpr().getExpr() = callable } From c460eae2e12b2a80af7efcf93cc505c53ae04cab Mon Sep 17 00:00:00 2001 From: erik-krogh Date: Wed, 8 Feb 2023 14:03:33 +0100 Subject: [PATCH 003/145] implement diagnostics --- .../com/semmle/js/extractor/AutoBuild.java | 166 +++++++++++++++--- .../semmle/js/extractor/FileExtractor.java | 11 +- .../semmle/js/extractor/HTMLExtractor.java | 9 +- .../com/semmle/js/extractor/IExtractor.java | 3 +- .../com/semmle/js/extractor/JSExtractor.java | 13 +- .../semmle/js/extractor/JSONExtractor.java | 11 +- .../semmle/js/extractor/LexicalExtractor.java | 9 +- .../src/com/semmle/js/extractor/LoCInfo.java | 27 --- .../src/com/semmle/js/extractor/Main.java | 2 +- .../semmle/js/extractor/ParseResultInfo.java | 44 +++++ .../semmle/js/extractor/ScriptExtractor.java | 6 +- .../js/extractor/TypeScriptExtractor.java | 2 +- .../semmle/js/extractor/YAMLExtractor.java | 7 +- .../extractor/test/NodeJSDetectorTests.java | 2 + .../src/com/semmle/js/parser/JSONParser.java | 33 ++-- .../semmle/ts/extractor/TypeScriptParser.java | 3 +- .../extractor/TypeScriptWrapperOOMError.java | 9 + 17 files changed, 257 insertions(+), 100 deletions(-) delete mode 100644 javascript/extractor/src/com/semmle/js/extractor/LoCInfo.java create mode 100644 javascript/extractor/src/com/semmle/js/extractor/ParseResultInfo.java create mode 100644 javascript/extractor/src/com/semmle/ts/extractor/TypeScriptWrapperOOMError.java diff --git a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java index bf5b4e8cb03..0aa3d532e5d 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java +++ b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java @@ -1,6 +1,7 @@ package com.semmle.js.extractor; import java.io.File; +import java.io.FileNotFoundException; import java.io.IOException; import java.io.Reader; import java.lang.ProcessBuilder.Redirect; @@ -17,6 +18,7 @@ import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; import java.util.ArrayList; import java.util.Arrays; +import java.util.Collections; import java.util.Comparator; import java.util.LinkedHashMap; import java.util.LinkedHashSet; @@ -27,6 +29,7 @@ import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicInteger; import java.util.function.Predicate; import java.util.stream.Collectors; import java.util.stream.Stream; @@ -41,11 +44,15 @@ import com.semmle.js.extractor.FileExtractor.FileType; import com.semmle.js.extractor.trapcache.DefaultTrapCache; import com.semmle.js.extractor.trapcache.DummyTrapCache; import com.semmle.js.extractor.trapcache.ITrapCache; +import com.semmle.js.parser.ParseError; import com.semmle.js.parser.ParsedProject; import com.semmle.ts.extractor.TypeExtractor; import com.semmle.ts.extractor.TypeScriptParser; +import com.semmle.ts.extractor.TypeScriptWrapperOOMError; import com.semmle.ts.extractor.TypeTable; import com.semmle.util.data.StringUtil; +import com.semmle.util.diagnostics.DiagnosticLevel; +import com.semmle.util.diagnostics.DiagnosticWriter; import com.semmle.util.exception.CatastrophicError; import com.semmle.util.exception.Exceptions; import com.semmle.util.exception.ResourceError; @@ -444,35 +451,129 @@ public class AutoBuild { /** Perform extraction. */ public int run() throws IOException { - startThreadPool(); - try { - CompletableFuture sourceFuture = extractSource(); - sourceFuture.join(); // wait for source extraction to complete - if (hasSeenCode()) { // don't bother with the externs if no code was seen - extractExterns(); + startThreadPool(); + try { + CompletableFuture sourceFuture = extractSource(); + sourceFuture.join(); // wait for source extraction to complete + if (hasSeenCode()) { // don't bother with the externs if no code was seen + extractExterns(); + } + extractXml(); + } catch (OutOfMemoryError oom) { + System.err.println("Out of memory while extracting the project."); + return 137; // the CodeQL CLI will interpret this as an out-of-memory error + // purpusely not doing anything else (printing stack, etc.), as the JVM + // basically guarantees nothing after an OOM + } catch (TypeScriptWrapperOOMError oom) { + System.err.println("Out of memory while extracting the project."); + System.err.println(oom.getMessage()); + oom.printStackTrace(System.err); + return 137; + } catch (RuntimeException | IOException e) { + writeDiagnostics("Internal error: " + e, JSDiagnosticKind.INTERNAL_ERROR); + e.printStackTrace(System.err); + return 1; + } finally { + shutdownThreadPool(); + diagnosticsToClose.forEach(DiagnosticWriter::close); } - extractXml(); - } finally { - shutdownThreadPool(); - } - if (!hasSeenCode()) { - if (seenFiles) { - warn("Only found JavaScript or TypeScript files that were empty or contained syntax errors."); - } else { - warn("No JavaScript or TypeScript code found."); + + if (!hasSeenCode()) { + if (seenFiles) { + warn("Only found JavaScript or TypeScript files that were empty or contained syntax errors."); + } else { + warn("No JavaScript or TypeScript code found."); + } + // ensuring that the finalize steps detects that no code was seen. + Path srcFolder = Paths.get(EnvironmentVariables.getWipDatabase(), "src"); + // check that the srcFolder is empty + if (Files.list(srcFolder).count() == 0) { + // Non-recursive delete because "src/" should be empty. + FileUtil8.delete(srcFolder); + } + return 0; } - // ensuring that the finalize steps detects that no code was seen. - Path srcFolder = Paths.get(EnvironmentVariables.getWipDatabase(), "src"); - // check that the srcFolder is empty - if (Files.list(srcFolder).count() == 0) { - // Non-recursive delete because "src/" should be empty. - FileUtil8.delete(srcFolder); - } - return 0; - } return 0; } + /** + * A kind of error that can happen during extraction of JavaScript or TypeScript + * code. + * For use with the {@link #writeDiagnostics(String, JSDiagnosticKind)} method. + */ + public static enum JSDiagnosticKind { + PARSE_ERROR("parse-error", "Parse error", DiagnosticLevel.Warning), + INTERNAL_ERROR("internal-error", "Internal error", DiagnosticLevel.Debug); + + private final String id; + private final String name; + private final DiagnosticLevel level; + + private JSDiagnosticKind(String id, String name, DiagnosticLevel level) { + this.id = id; + this.name = name; + this.level = level; + } + + public String getId() { + return id; + } + + public String getName() { + return name; + } + + public DiagnosticLevel getLevel() { + return level; + } + } + + private AtomicInteger diagnosticCount = new AtomicInteger(0); + private List diagnosticsToClose = Collections.synchronizedList(new ArrayList<>()); + private ThreadLocal diagnostics = new ThreadLocal(){ + @Override protected DiagnosticWriter initialValue() { + DiagnosticWriter result = initDiagnosticsWriter(diagnosticCount.incrementAndGet()); + diagnosticsToClose.add(result); + return result; + } + }; + + /** + * Persist a diagnostic message to a file in the diagnostics directory. + * See {@link JSDiagnosticKind} for the kinds of errors that can be reported, + * and see + * {@link DiagnosticWriter} for more details. + */ + public void writeDiagnostics(String message, JSDiagnosticKind error) throws IOException { + if (diagnostics.get() == null) { + warn("No diagnostics directory, so not writing diagnostic: " + message); + return; + } + + // DiagnosticLevel level, String extractorName, String sourceId, String sourceName, String markdown + diagnostics.get().writeMarkdown(error.getLevel(), "javascript", "javascript/" + error.getId(), error.getName(), + message); + } + + private DiagnosticWriter initDiagnosticsWriter(int count) { + String diagnosticsDir = System.getenv("CODEQL_EXTRACTOR_JAVASCRIPT_DIAGNOSTIC_DIR"); + + if (diagnosticsDir != null) { + File diagnosticsDirFile = new File(diagnosticsDir); + if (!diagnosticsDirFile.isDirectory()) { + warn("Diagnostics directory " + diagnosticsDir + " does not exist"); + } else { + File diagnosticsFile = new File(diagnosticsDirFile, "autobuilder-" + count + ".jsonl"); + try { + return new DiagnosticWriter(diagnosticsFile); + } catch (FileNotFoundException e) { + warn("Failed to open diagnostics file " + diagnosticsFile); + } + } + } + return null; + } + private void startThreadPool() { int defaultNumThreads = 1; int numThreads = Env.systemEnv().getInt("LGTM_THREADS", defaultNumThreads); @@ -1113,13 +1214,26 @@ protected DependencyInstallationResult preparePackagesAndDependencies(Set try { long start = logBeginProcess("Extracting " + file); - Integer loc = extractor.extract(f, state); - if (!extractor.getConfig().isExterns() && (loc == null || loc != 0)) seenCode = true; + ParseResultInfo loc = extractor.extract(f, state); + if (!extractor.getConfig().isExterns() && (loc == null || loc.getLinesOfCode() != 0)) seenCode = true; if (!extractor.getConfig().isExterns()) seenFiles = true; + for (ParseError err : loc.getParseErrors()) { + String msg = "A parse error occurred: " + err.getMessage() + ". Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis."; + writeDiagnostics(msg, JSDiagnosticKind.PARSE_ERROR); + } logEndProcess(start, "Done extracting " + file); + } catch (OutOfMemoryError oom) { + System.err.println("Out of memory while extracting " + file + "."); + oom.printStackTrace(System.err); + System.exit(137); // caught by the CodeQL CLI } catch (Throwable t) { System.err.println("Exception while extracting " + file + "."); t.printStackTrace(System.err); + try { + writeDiagnostics("Internal error: " + t, JSDiagnosticKind.INTERNAL_ERROR); + } catch (IOException ignored) { + // ignore - we are already crashing + } System.exit(1); } } diff --git a/javascript/extractor/src/com/semmle/js/extractor/FileExtractor.java b/javascript/extractor/src/com/semmle/js/extractor/FileExtractor.java index 9c880f7490f..5ac4ac5ea44 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/FileExtractor.java +++ b/javascript/extractor/src/com/semmle/js/extractor/FileExtractor.java @@ -5,7 +5,6 @@ import java.io.File; import java.io.FileInputStream; import java.io.FileReader; import java.io.IOException; -import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.file.Path; import java.util.LinkedHashSet; @@ -434,7 +433,7 @@ public class FileExtractor { } /** @return the number of lines of code extracted, or {@code null} if the file was cached */ - public Integer extract(File f, ExtractorState state) throws IOException { + public ParseResultInfo extract(File f, ExtractorState state) throws IOException { FileSnippet snippet = state.getSnippets().get(f.toPath()); if (snippet != null) { return this.extractSnippet(f.toPath(), snippet, state); @@ -461,7 +460,7 @@ public class FileExtractor { *

A trap file will be derived from the snippet file, but its file label, source locations, and * source archive entry are based on the original file. */ - private Integer extractSnippet(Path file, FileSnippet origin, ExtractorState state) throws IOException { + private ParseResultInfo extractSnippet(Path file, FileSnippet origin, ExtractorState state) throws IOException { TrapWriter trapwriter = outputConfig.getTrapWriterFactory().mkTrapWriter(file.toFile()); File originalFile = origin.getOriginalFile().toFile(); @@ -495,7 +494,7 @@ public class FileExtractor { *

Also note that we support extraction with TRAP writer factories that are not file-backed; * obviously, no caching is done in that scenario. */ - private Integer extractContents( + private ParseResultInfo extractContents( File extractedFile, Label fileLabel, String source, LocationManager locationManager, ExtractorState state) throws IOException { ExtractionMetrics metrics = new ExtractionMetrics(); @@ -545,7 +544,7 @@ public class FileExtractor { TextualExtractor textualExtractor = new TextualExtractor( trapwriter, locationManager, source, config.getExtractLines(), metrics, extractedFile); - LoCInfo loc = extractor.extract(textualExtractor); + ParseResultInfo loc = extractor.extract(textualExtractor); int numLines = textualExtractor.isSnippet() ? 0 : textualExtractor.getNumLines(); int linesOfCode = loc.getLinesOfCode(), linesOfComments = loc.getLinesOfComments(); trapwriter.addTuple("numlines", fileLabel, numLines, linesOfCode, linesOfComments); @@ -553,7 +552,7 @@ public class FileExtractor { metrics.stopPhase(ExtractionPhase.FileExtractor_extractContents); metrics.writeTimingsToTrap(trapwriter); successful = true; - return linesOfCode; + return loc; } finally { if (!successful && trapwriter instanceof CachingTrapWriter) ((CachingTrapWriter) trapwriter).discard(); diff --git a/javascript/extractor/src/com/semmle/js/extractor/HTMLExtractor.java b/javascript/extractor/src/com/semmle/js/extractor/HTMLExtractor.java index dfce800af76..83fd3236b2e 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/HTMLExtractor.java +++ b/javascript/extractor/src/com/semmle/js/extractor/HTMLExtractor.java @@ -3,6 +3,7 @@ package com.semmle.js.extractor; import java.io.File; import java.io.IOException; import java.nio.file.Path; +import java.util.Collections; import java.util.List; import java.util.function.Supplier; import java.util.regex.Matcher; @@ -29,7 +30,7 @@ import net.htmlparser.jericho.Source; /** Extractor for handling HTML and XHTML files. */ public class HTMLExtractor implements IExtractor { - private LoCInfo locInfo = new LoCInfo(0, 0); + private ParseResultInfo locInfo = new ParseResultInfo(0, 0, Collections.emptyList()); private class JavaScriptHTMLElementHandler implements HtmlPopulator.ElementHandler { private final ScopeManager scopeManager; @@ -212,11 +213,11 @@ public class HTMLExtractor implements IExtractor { } @Override - public LoCInfo extract(TextualExtractor textualExtractor) throws IOException { + public ParseResultInfo extract(TextualExtractor textualExtractor) throws IOException { return extractEx(textualExtractor).snd(); } - public Pair, LoCInfo> extractEx(TextualExtractor textualExtractor) { + public Pair, ParseResultInfo> extractEx(TextualExtractor textualExtractor) { // Angular templates contain attribute names that are not valid HTML/XML, such // as [foo], (foo), [(foo)], and *foo. // Allow a large number of errors in attribute names, so the Jericho parser does @@ -369,7 +370,7 @@ public class HTMLExtractor implements IExtractor { config.getExtractLines(), textualExtractor.getMetrics(), textualExtractor.getExtractedFile()); - Pair result = extractor.extract(tx, source, toplevelKind, scopeManager); + Pair result = extractor.extract(tx, source, toplevelKind, scopeManager); Label toplevelLabel = result.fst(); if (toplevelLabel != null) { // can be null when script ends up being parsed as JSON emitTopLevelXmlNodeBinding(parentLabel, toplevelLabel, trapWriter); diff --git a/javascript/extractor/src/com/semmle/js/extractor/IExtractor.java b/javascript/extractor/src/com/semmle/js/extractor/IExtractor.java index ff81a6bafa4..baa67b9b078 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/IExtractor.java +++ b/javascript/extractor/src/com/semmle/js/extractor/IExtractor.java @@ -1,6 +1,7 @@ package com.semmle.js.extractor; import java.io.IOException; +import com.semmle.js.parser.ParseError; /** Generic extractor interface. */ public interface IExtractor { @@ -9,5 +10,5 @@ public interface IExtractor { * TextualExtractor}, and return information about the number of lines of code and the number of * lines of comments extracted. */ - public LoCInfo extract(TextualExtractor textualExtractor) throws IOException; + public ParseResultInfo extract(TextualExtractor textualExtractor) throws IOException; } diff --git a/javascript/extractor/src/com/semmle/js/extractor/JSExtractor.java b/javascript/extractor/src/com/semmle/js/extractor/JSExtractor.java index 07c62e1baa3..6b4b05fcf61 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/JSExtractor.java +++ b/javascript/extractor/src/com/semmle/js/extractor/JSExtractor.java @@ -1,6 +1,7 @@ package com.semmle.js.extractor; import java.util.ArrayList; +import java.util.Collections; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -18,6 +19,7 @@ import com.semmle.util.exception.Exceptions; import com.semmle.util.exception.UserError; import com.semmle.util.trap.TrapWriter; import com.semmle.util.trap.TrapWriter.Label; +import com.semmle.js.extractor.ParseResultInfo; /** * Extractor for populating JavaScript source code, including AST information, lexical information @@ -36,14 +38,14 @@ public class JSExtractor { private static final Pattern containsModuleIndicator = Pattern.compile("(?m)^([ \t]*)(import|export|goog\\.module)\\b"); - public Pair extract( + public Pair extract( TextualExtractor textualExtractor, String source, TopLevelKind toplevelKind, ScopeManager scopeManager) throws ParseError { // if the file starts with `{ "":` it won't parse as JavaScript; try parsing as JSON // instead if (FileExtractor.JSON_OBJECT_START.matcher(textualExtractor.getSource()).matches()) { try { - LoCInfo loc = + ParseResultInfo loc = new JSONExtractor(config.withTolerateParseErrors(false)).extract(textualExtractor); return Pair.make(null, loc); } catch (UserError ue) { @@ -82,7 +84,7 @@ public class JSExtractor { return SourceType.SCRIPT; } - public Pair extract( + public Pair extract( TextualExtractor textualExtractor, String source, TopLevelKind toplevelKind, @@ -97,7 +99,7 @@ public class JSExtractor { Platform platform = config.getPlatform(); Node ast = parserRes.getAST(); LexicalExtractor lexicalExtractor; - LoCInfo loc; + ParseResultInfo loc; if (ast != null) { platform = getPlatform(platform, ast); if (sourceType == SourceType.SCRIPT && platform == Platform.NODE) { @@ -124,9 +126,10 @@ public class JSExtractor { trapwriter.addTuple("toplevels", toplevelLabel, toplevelKind.getValue()); locationManager.emitSnippetLocation(toplevelLabel, 1, 1, 1, 1); - loc = new LoCInfo(0, 0); + loc = new ParseResultInfo(0, 0, Collections.emptyList()); } + loc.addParseErrors(parserRes.getErrors()); for (ParseError parseError : parserRes.getErrors()) { if (!config.isTolerateParseErrors()) throw parseError; Label key = trapwriter.freshLabel(); diff --git a/javascript/extractor/src/com/semmle/js/extractor/JSONExtractor.java b/javascript/extractor/src/com/semmle/js/extractor/JSONExtractor.java index fcec30a3434..c2cad57c3c9 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/JSONExtractor.java +++ b/javascript/extractor/src/com/semmle/js/extractor/JSONExtractor.java @@ -10,6 +10,8 @@ import com.semmle.js.parser.ParseError; import com.semmle.util.data.Pair; import com.semmle.util.trap.TrapWriter; import com.semmle.util.trap.TrapWriter.Label; +import com.semmle.js.extractor.ParseResultInfo; +import java.util.Collections; import java.util.List; /** Extractor for populating JSON files. */ @@ -31,12 +33,12 @@ public class JSONExtractor implements IExtractor { } @Override - public LoCInfo extract(final TextualExtractor textualExtractor) { + public ParseResultInfo extract(final TextualExtractor textualExtractor) { final TrapWriter trapwriter = textualExtractor.getTrapwriter(); final LocationManager locationManager = textualExtractor.getLocationManager(); try { String source = textualExtractor.getSource(); - Pair> res = new JSONParser().parseValue(source); + Pair> res = JSONParser.parseValue(source); JSONValue v = res.fst(); List recoverableErrors = res.snd(); if (!recoverableErrors.isEmpty() && !tolerateParseErrors) @@ -90,13 +92,14 @@ public class JSONExtractor implements IExtractor { for (ParseError e : recoverableErrors) populateError(textualExtractor, trapwriter, locationManager, e); + + return new ParseResultInfo(0, 0, recoverableErrors); } catch (ParseError e) { if (!this.tolerateParseErrors) throw e.asUserError(); populateError(textualExtractor, trapwriter, locationManager, e); + return new ParseResultInfo(0, 0, Collections.emptyList()); } - - return new LoCInfo(0, 0); } private void populateError( diff --git a/javascript/extractor/src/com/semmle/js/extractor/LexicalExtractor.java b/javascript/extractor/src/com/semmle/js/extractor/LexicalExtractor.java index 4e40160b1e7..3ad52ead5ad 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/LexicalExtractor.java +++ b/javascript/extractor/src/com/semmle/js/extractor/LexicalExtractor.java @@ -1,5 +1,6 @@ package com.semmle.js.extractor; +import java.util.Collections; import java.util.List; import com.semmle.js.ast.Comment; @@ -50,10 +51,10 @@ public class LexicalExtractor { return textualExtractor.getMetrics(); } - public LoCInfo extractLines(String src, Label toplevelKey) { + public ParseResultInfo extractLines(String src, Label toplevelKey) { textualExtractor.getMetrics().startPhase(ExtractionPhase.LexicalExtractor_extractLines); Position end = textualExtractor.extractLines(src, toplevelKey); - LoCInfo info = emitNumlines(toplevelKey, new Position(1, 0, 0), end); + ParseResultInfo info = emitNumlines(toplevelKey, new Position(1, 0, 0), end); textualExtractor.getMetrics().stopPhase(ExtractionPhase.LexicalExtractor_extractLines); return info; } @@ -65,7 +66,7 @@ public class LexicalExtractor { * @param start the start position of the node * @param end the end position of the node */ - public LoCInfo emitNumlines(Label key, Position start, Position end) { + public ParseResultInfo emitNumlines(Label key, Position start, Position end) { int num_code = 0, num_comment = 0, num_lines = end.getLine() - start.getLine() + 1; if (tokens != null && comments != null) { @@ -104,7 +105,7 @@ public class LexicalExtractor { } trapwriter.addTuple("numlines", key, num_lines, num_code, num_comment); - return new LoCInfo(num_code, num_comment); + return new ParseResultInfo(num_code, num_comment, Collections.emptyList()); } private int findNode(List ts, Position start) { diff --git a/javascript/extractor/src/com/semmle/js/extractor/LoCInfo.java b/javascript/extractor/src/com/semmle/js/extractor/LoCInfo.java deleted file mode 100644 index 56e9b36d522..00000000000 --- a/javascript/extractor/src/com/semmle/js/extractor/LoCInfo.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.semmle.js.extractor; - -/** - * Utility class for representing LoC information; really just a glorified - * Pair<Integer, Integer>. - */ -public class LoCInfo { - private int linesOfCode, linesOfComments; - - public LoCInfo(int linesOfCode, int linesOfComments) { - this.linesOfCode = linesOfCode; - this.linesOfComments = linesOfComments; - } - - public void add(LoCInfo that) { - this.linesOfCode += that.linesOfCode; - this.linesOfComments += that.linesOfComments; - } - - public int getLinesOfCode() { - return linesOfCode; - } - - public int getLinesOfComments() { - return linesOfComments; - } -} diff --git a/javascript/extractor/src/com/semmle/js/extractor/Main.java b/javascript/extractor/src/com/semmle/js/extractor/Main.java index a90711545a5..ef712e171ce 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/Main.java +++ b/javascript/extractor/src/com/semmle/js/extractor/Main.java @@ -41,7 +41,7 @@ public class Main { * A version identifier that should be updated every time the extractor changes in such a way that * it may produce different tuples for the same file under the same {@link ExtractorConfig}. */ - public static final String EXTRACTOR_VERSION = "2023-02-15"; + public static final String EXTRACTOR_VERSION = "2023-03-03"; public static final Pattern NEWLINE = Pattern.compile("\n"); diff --git a/javascript/extractor/src/com/semmle/js/extractor/ParseResultInfo.java b/javascript/extractor/src/com/semmle/js/extractor/ParseResultInfo.java new file mode 100644 index 00000000000..6a1b14447ce --- /dev/null +++ b/javascript/extractor/src/com/semmle/js/extractor/ParseResultInfo.java @@ -0,0 +1,44 @@ +package com.semmle.js.extractor; +import com.semmle.js.parser.ParseError; +import java.util.ArrayList; +import java.util.List; + +/** + * Utility class for representing LoC information and parse errors from running a parser. + * Just a glorified 3-tuple for lines of code, lines of comments, and parse errors. + */ +public class ParseResultInfo { + private int linesOfCode, linesOfComments; + private List parseErrors; + + public ParseResultInfo(int linesOfCode, int linesOfComments, List parseErrors) { + this.linesOfCode = linesOfCode; + this.linesOfComments = linesOfComments; + this.parseErrors = new ArrayList<>(parseErrors); + } + + public void add(ParseResultInfo that) { + this.linesOfCode += that.linesOfCode; + this.linesOfComments += that.linesOfComments; + } + + public void addParseError(ParseError err) { + this.parseErrors.add(err); + } + + public void addParseErrors(List errs) { + this.parseErrors.addAll(errs); + } + + public int getLinesOfCode() { + return linesOfCode; + } + + public int getLinesOfComments() { + return linesOfComments; + } + + public List getParseErrors() { + return parseErrors; + } +} diff --git a/javascript/extractor/src/com/semmle/js/extractor/ScriptExtractor.java b/javascript/extractor/src/com/semmle/js/extractor/ScriptExtractor.java index b4b47a786f9..7c539d70e63 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/ScriptExtractor.java +++ b/javascript/extractor/src/com/semmle/js/extractor/ScriptExtractor.java @@ -39,7 +39,7 @@ public class ScriptExtractor implements IExtractor { } @Override - public LoCInfo extract(TextualExtractor textualExtractor) { + public ParseResultInfo extract(TextualExtractor textualExtractor) { LocationManager locationManager = textualExtractor.getLocationManager(); String source = textualExtractor.getSource(); String shebangLine = null, shebangLineTerm = null; @@ -79,9 +79,9 @@ public class ScriptExtractor implements IExtractor { ScopeManager scopeManager = new ScopeManager(textualExtractor.getTrapwriter(), config.getEcmaVersion(), ScopeManager.FileKind.PLAIN); Label toplevelLabel = null; - LoCInfo loc; + ParseResultInfo loc; try { - Pair res = + Pair res = new JSExtractor(config).extract(textualExtractor, source, TopLevelKind.SCRIPT, scopeManager); toplevelLabel = res.fst(); loc = res.snd(); diff --git a/javascript/extractor/src/com/semmle/js/extractor/TypeScriptExtractor.java b/javascript/extractor/src/com/semmle/js/extractor/TypeScriptExtractor.java index 623c6ec7fc8..f8ef8af2642 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/TypeScriptExtractor.java +++ b/javascript/extractor/src/com/semmle/js/extractor/TypeScriptExtractor.java @@ -17,7 +17,7 @@ public class TypeScriptExtractor implements IExtractor { } @Override - public LoCInfo extract(TextualExtractor textualExtractor) { + public ParseResultInfo extract(TextualExtractor textualExtractor) { LocationManager locationManager = textualExtractor.getLocationManager(); String source = textualExtractor.getSource(); File sourceFile = textualExtractor.getExtractedFile(); diff --git a/javascript/extractor/src/com/semmle/js/extractor/YAMLExtractor.java b/javascript/extractor/src/com/semmle/js/extractor/YAMLExtractor.java index 2ae0448db4a..2f98edfe964 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/YAMLExtractor.java +++ b/javascript/extractor/src/com/semmle/js/extractor/YAMLExtractor.java @@ -7,6 +7,9 @@ import com.semmle.util.locations.LineTable; import com.semmle.util.trap.TrapWriter; import com.semmle.util.trap.TrapWriter.Label; import com.semmle.util.trap.TrapWriter.Table; + +import java.util.Collections; + import org.yaml.snakeyaml.composer.Composer; import org.yaml.snakeyaml.error.Mark; import org.yaml.snakeyaml.error.MarkedYAMLException; @@ -104,7 +107,7 @@ public class YAMLExtractor implements IExtractor { } @Override - public LoCInfo extract(TextualExtractor textualExtractor) { + public ParseResultInfo extract(TextualExtractor textualExtractor) { this.textualExtractor = textualExtractor; locationManager = textualExtractor.getLocationManager(); trapWriter = textualExtractor.getTrapwriter(); @@ -137,7 +140,7 @@ public class YAMLExtractor implements IExtractor { // ReaderExceptions } - return new LoCInfo(0, 0); + return new ParseResultInfo(0, 0, Collections.emptyList()); } /** Check whether the parser has encountered the end of the YAML input stream. */ diff --git a/javascript/extractor/src/com/semmle/js/extractor/test/NodeJSDetectorTests.java b/javascript/extractor/src/com/semmle/js/extractor/test/NodeJSDetectorTests.java index 14d5b323e7c..fe709033cbe 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/test/NodeJSDetectorTests.java +++ b/javascript/extractor/src/com/semmle/js/extractor/test/NodeJSDetectorTests.java @@ -1,5 +1,7 @@ package com.semmle.js.extractor.test; +import java.io.File; + import com.semmle.js.ast.Node; import com.semmle.js.extractor.ExtractionMetrics; import com.semmle.js.extractor.ExtractorConfig; diff --git a/javascript/extractor/src/com/semmle/js/parser/JSONParser.java b/javascript/extractor/src/com/semmle/js/parser/JSONParser.java index 8ff774ec3f7..2e7f7a96b5f 100644 --- a/javascript/extractor/src/com/semmle/js/parser/JSONParser.java +++ b/javascript/extractor/src/com/semmle/js/parser/JSONParser.java @@ -34,21 +34,25 @@ public class JSONParser { private String src; private List recoverableErrors; - public Pair> parseValue(String json) throws ParseError { - line = 1; - column = 0; - offset = 0; - recoverableErrors = new ArrayList(); + public static Pair> parseValue(String json) throws ParseError { + JSONParser parser = new JSONParser(json); + + JSONValue value = parser.readValue(); + parser.consumeWhitespace(); + if (parser.offset < parser.length) parser.raise("Expected end of input"); + + return Pair.make(value, parser.recoverableErrors); + } + + private JSONParser(String json) throws ParseError { + this.line = 1; + this.column = 0; + this.offset = 0; + this.recoverableErrors = new ArrayList(); if (json == null) raise("Input string may not be null"); - length = json.length(); - src = json; - - JSONValue value = readValue(); - consumeWhitespace(); - if (offset < length) raise("Expected end of input"); - - return Pair.make(value, recoverableErrors); + this.length = json.length(); + this.src = json; } private T raise(String msg) throws ParseError { @@ -385,7 +389,6 @@ public class JSONParser { } public static void main(String[] args) throws ParseError { - JSONParser parser = new JSONParser(); - System.out.println(parser.parseValue(new WholeIO().strictread(new File(args[0]))).fst()); + System.out.println(JSONParser.parseValue(new WholeIO().strictread(new File(args[0]))).fst()); } } diff --git a/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptParser.java b/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptParser.java index 70a06656df8..f526b4f1b1a 100644 --- a/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptParser.java +++ b/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptParser.java @@ -409,7 +409,8 @@ public class TypeScriptParser { exitCode = parserWrapperProcess.waitFor(); } if (exitCode != null && (exitCode == NODEJS_EXIT_CODE_FATAL_ERROR || exitCode == NODEJS_EXIT_CODE_SIG_ABORT)) { - return new ResourceError("The TypeScript parser wrapper crashed, possibly from running out of memory.", e); + // this is caught in the auto-builder, and handled as an OOM. Check there is the message is changed. + return new TypeScriptWrapperOOMError("The TypeScript parser wrapper crashed, possibly from running out of memory.", e); } if (exitCode != null) { return new CatastrophicError("The TypeScript parser wrapper crashed with exit code " + exitCode); diff --git a/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptWrapperOOMError.java b/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptWrapperOOMError.java new file mode 100644 index 00000000000..67f2d5a0763 --- /dev/null +++ b/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptWrapperOOMError.java @@ -0,0 +1,9 @@ +package com.semmle.ts.extractor; + +import com.semmle.util.exception.ResourceError; + +public class TypeScriptWrapperOOMError extends ResourceError { + public TypeScriptWrapperOOMError(String message, Throwable throwable) { + super(message,throwable); + } +} From 88810420b1dd8505d1e147f0478e29aa77d9f968 Mon Sep 17 00:00:00 2001 From: erik-krogh Date: Thu, 2 Mar 2023 13:27:09 +0100 Subject: [PATCH 004/145] add location to the parse-error diagnostics --- .../com/semmle/js/extractor/AutoBuild.java | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java index 0aa3d532e5d..7d0809755a6 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java +++ b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java @@ -53,6 +53,7 @@ import com.semmle.ts.extractor.TypeTable; import com.semmle.util.data.StringUtil; import com.semmle.util.diagnostics.DiagnosticLevel; import com.semmle.util.diagnostics.DiagnosticWriter; +import com.semmle.util.diagnostics.DiagnosticLocation; import com.semmle.util.exception.CatastrophicError; import com.semmle.util.exception.Exceptions; import com.semmle.util.exception.ResourceError; @@ -545,6 +546,17 @@ public class AutoBuild { * {@link DiagnosticWriter} for more details. */ public void writeDiagnostics(String message, JSDiagnosticKind error) throws IOException { + writeDiagnostics(message, error, null); + } + + + /** + * Persist a diagnostic message with a location to a file in the diagnostics directory. + * See {@link JSDiagnosticKind} for the kinds of errors that can be reported, + * and see + * {@link DiagnosticWriter} for more details. + */ + public void writeDiagnostics(String message, JSDiagnosticKind error, DiagnosticLocation location) throws IOException { if (diagnostics.get() == null) { warn("No diagnostics directory, so not writing diagnostic: " + message); return; @@ -552,7 +564,7 @@ public class AutoBuild { // DiagnosticLevel level, String extractorName, String sourceId, String sourceName, String markdown diagnostics.get().writeMarkdown(error.getLevel(), "javascript", "javascript/" + error.getId(), error.getName(), - message); + message, location); } private DiagnosticWriter initDiagnosticsWriter(int count) { @@ -1219,7 +1231,19 @@ protected DependencyInstallationResult preparePackagesAndDependencies(Set if (!extractor.getConfig().isExterns()) seenFiles = true; for (ParseError err : loc.getParseErrors()) { String msg = "A parse error occurred: " + err.getMessage() + ". Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis."; - writeDiagnostics(msg, JSDiagnosticKind.PARSE_ERROR); + // file, relative to the source root + String relativeFilePath = file.toString(); + if (relativeFilePath.startsWith(LGTM_SRC.toString())) { + relativeFilePath = relativeFilePath.substring(LGTM_SRC.toString().length() + 1); + } + DiagnosticLocation diagLoc = DiagnosticLocation.builder() + .setFile(relativeFilePath) + .setStartLine(err.getPosition().getLine()) + .setStartColumn(err.getPosition().getColumn()) + .setEndLine(err.getPosition().getLine()) + .setEndColumn(err.getPosition().getColumn()) + .build(); + writeDiagnostics(msg, JSDiagnosticKind.PARSE_ERROR, diagLoc); } logEndProcess(start, "Done extracting " + file); } catch (OutOfMemoryError oom) { From 6c501d15b6865a94f59a2c96946e8dc3e3116a4f Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 2 Mar 2023 14:53:53 +0000 Subject: [PATCH 005/145] Make diagnostics visible everywhere --- csharp/extractor/Semmle.Util/ToolStatusPage.cs | 8 +++++++- .../diag_dotnet_incompatible/diagnostics.expected | 8 ++++++-- .../diag_missing_project_files/diagnostics.expected | 8 ++++++-- .../diag_missing_xamarin_sdk/diagnostics.expected | 12 +++++++++--- .../diag_autobuild_script/diagnostics.expected | 8 ++++++-- .../diag_multiple_scripts/diagnostics.expected | 8 ++++++-- .../diag_autobuild_script/diagnostics.expected | 8 ++++++-- .../diag_multiple_scripts/diagnostics.expected | 8 ++++++-- 8 files changed, 52 insertions(+), 16 deletions(-) diff --git a/csharp/extractor/Semmle.Util/ToolStatusPage.cs b/csharp/extractor/Semmle.Util/ToolStatusPage.cs index 85eca785e88..8ef1fa2652d 100644 --- a/csharp/extractor/Semmle.Util/ToolStatusPage.cs +++ b/csharp/extractor/Semmle.Util/ToolStatusPage.cs @@ -57,6 +57,12 @@ namespace Semmle.Util /// public class TspVisibility { + ///

+ /// A read-only instance of which indicates that the + /// diagnostic should be used in all supported locations. + /// + public static readonly TspVisibility All = new(true, true, true); + /// /// True if the message should be displayed on the status page (defaults to false). /// @@ -166,7 +172,7 @@ namespace Semmle.Util this.HelpLinks = new List(); this.Attributes = new Dictionary(); this.Severity = severity; - this.Visibility = visibility ?? new TspVisibility(statusPage: true); + this.Visibility = visibility ?? TspVisibility.All; this.Location = location ?? new TspLocation(); this.Internal = intrnl ?? false; this.MarkdownMessage = markdownMessage; diff --git a/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/diagnostics.expected b/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/diagnostics.expected index 6c799240806..91a9bbbb267 100644 --- a/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/diagnostics.expected +++ b/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/diagnostics.expected @@ -11,7 +11,9 @@ "name": "Some projects are incompatible with .NET Core" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } { @@ -27,6 +29,8 @@ "name": "Some projects or solutions failed to build using MSBuild" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } diff --git a/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/diagnostics.expected b/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/diagnostics.expected index cf061615e24..da2b3d93941 100644 --- a/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/diagnostics.expected +++ b/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/diagnostics.expected @@ -11,7 +11,9 @@ "name": "Some projects or solutions failed to build using MSBuild" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } { @@ -27,6 +29,8 @@ "name": "Missing project files" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } diff --git a/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/diagnostics.expected b/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/diagnostics.expected index 0fbd8b42474..0becfa08cee 100644 --- a/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/diagnostics.expected +++ b/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/diagnostics.expected @@ -11,7 +11,9 @@ "name": "Some projects or solutions failed to build using .NET Core" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } { @@ -27,7 +29,9 @@ "name": "Some projects or solutions failed to build using MSBuild" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } { @@ -43,6 +47,8 @@ "name": "Missing Xamarin SDK for iOS" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } diff --git a/csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected b/csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected index f39695d5ecf..6fe50ccfa5b 100644 --- a/csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected +++ b/csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected @@ -11,7 +11,9 @@ "name": "Unable to build project using build script" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } { @@ -27,6 +29,8 @@ "name": "No project or solutions files found" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } diff --git a/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected b/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected index e4e137ffef0..5ba4bc963eb 100644 --- a/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected +++ b/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected @@ -11,7 +11,9 @@ "name": "No project or solutions files found" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } { @@ -27,6 +29,8 @@ "name": "There are multiple potential build scripts" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } diff --git a/csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected b/csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected index 6a55b710360..347e3d64342 100644 --- a/csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected +++ b/csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected @@ -11,7 +11,9 @@ "name": "Unable to build project using build script" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } { @@ -27,6 +29,8 @@ "name": "No project or solutions files found" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } diff --git a/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected b/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected index 898d285b352..073ec0ba9c8 100644 --- a/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected +++ b/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected @@ -11,7 +11,9 @@ "name": "No project or solutions files found" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } { @@ -27,6 +29,8 @@ "name": "There are multiple potential build scripts" }, "visibility": { - "statusPage": true + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true } } From 75b4a0e8eaabd9dce73cd7b1dc47847481aeed1f Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 2 Mar 2023 15:25:49 +0000 Subject: [PATCH 006/145] Add diagnostic checks to all integration tests --- .../integration-tests/all-platforms/dotnet_build/test.py | 4 +++- .../integration-tests/all-platforms/dotnet_pack/test.py | 7 +++++-- .../all-platforms/dotnet_publish/test.py | 7 +++++-- .../integration-tests/all-platforms/dotnet_run/test.py | 9 +++++++++ .../ql/integration-tests/all-platforms/msbuild/test.py | 4 +++- .../ql/integration-tests/posix-only/dotnet_test/test.py | 4 +++- .../posix-only/inherit-env-vars/test.py | 4 +++- 7 files changed, 31 insertions(+), 8 deletions(-) diff --git a/csharp/ql/integration-tests/all-platforms/dotnet_build/test.py b/csharp/ql/integration-tests/all-platforms/dotnet_build/test.py index 2568768ad6b..8bc8d33ba1d 100644 --- a/csharp/ql/integration-tests/all-platforms/dotnet_build/test.py +++ b/csharp/ql/integration-tests/all-platforms/dotnet_build/test.py @@ -1,3 +1,5 @@ from create_database_utils import * +from diagnostics_test_utils import * -run_codeql_database_create(['dotnet build'], test_db="default-db", db=None, lang="csharp") +run_codeql_database_create(['dotnet build'], db=None, lang="csharp") +check_diagnostics() diff --git a/csharp/ql/integration-tests/all-platforms/dotnet_pack/test.py b/csharp/ql/integration-tests/all-platforms/dotnet_pack/test.py index 9eac6efe388..b91e73ef11c 100644 --- a/csharp/ql/integration-tests/all-platforms/dotnet_pack/test.py +++ b/csharp/ql/integration-tests/all-platforms/dotnet_pack/test.py @@ -1,8 +1,11 @@ import os from create_database_utils import * +from diagnostics_test_utils import * -run_codeql_database_create(['dotnet pack'], test_db="default-db", db=None, lang="csharp") +run_codeql_database_create(['dotnet pack'], db=None, lang="csharp") ## Check that the NuGet package is created. if not os.path.isfile("bin/Debug/dotnet_pack.1.0.0.nupkg"): - raise Exception("The NuGet package was not created.") + raise Exception("The NuGet package was not created.") + +check_diagnostics() diff --git a/csharp/ql/integration-tests/all-platforms/dotnet_publish/test.py b/csharp/ql/integration-tests/all-platforms/dotnet_publish/test.py index 89fa2a42e0b..10e617dd32e 100644 --- a/csharp/ql/integration-tests/all-platforms/dotnet_publish/test.py +++ b/csharp/ql/integration-tests/all-platforms/dotnet_publish/test.py @@ -1,9 +1,12 @@ import os from create_database_utils import * +from diagnostics_test_utils import * artifacts = 'bin/Temp' -run_codeql_database_create([f"dotnet publish -o {artifacts}"], test_db="default-db", db=None, lang="csharp") +run_codeql_database_create([f"dotnet publish -o {artifacts}"], db=None, lang="csharp") ## Check that the publish folder is created. if not os.path.isdir(artifacts): - raise Exception("The publish artifact folder was not created.") + raise Exception("The publish artifact folder was not created.") + +check_diagnostics() diff --git a/csharp/ql/integration-tests/all-platforms/dotnet_run/test.py b/csharp/ql/integration-tests/all-platforms/dotnet_run/test.py index be1b516ce5a..12ca67463ec 100644 --- a/csharp/ql/integration-tests/all-platforms/dotnet_run/test.py +++ b/csharp/ql/integration-tests/all-platforms/dotnet_run/test.py @@ -1,5 +1,6 @@ import os from create_database_utils import * +from diagnostics_test_utils import * def run_codeql_database_create_stdout(args, dbname): stdout = open(dbname + "file.txt", 'w+') @@ -16,32 +17,40 @@ def check_build_out(msg, s): # no arguments s = run_codeql_database_create_stdout(['dotnet run'], "test-db") check_build_out("Default reply", s) +check_diagnostics() # no arguments, but `--` s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test-db', 'dotnet run --'], "test2-db") check_build_out("Default reply", s) +check_diagnostics(diagnostics_dir="test2-db/diagnostic") # one argument, no `--` s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test2-db', 'dotnet run hello'], "test3-db") check_build_out("Default reply", s) +check_diagnostics(diagnostics_dir="test3-db/diagnostic") # one argument, but `--` s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test3-db', 'dotnet run -- hello'], "test4-db") check_build_out("Default reply", s) +check_diagnostics(diagnostics_dir="test4-db/diagnostic") # two arguments, no `--` s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test4-db', 'dotnet run hello world'], "test5-db") check_build_out("hello, world", s) +check_diagnostics(diagnostics_dir="test5-db/diagnostic") # two arguments, and `--` s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test5-db', 'dotnet run -- hello world'], "test6-db") check_build_out("hello, world", s) +check_diagnostics(diagnostics_dir="test6-db/diagnostic") # shared compilation enabled; tracer should override by changing the command # to `dotnet run -p:UseSharedCompilation=true -p:UseSharedCompilation=false -- hello world` s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test6-db', 'dotnet run -p:UseSharedCompilation=true -- hello world'], "test7-db") check_build_out("hello, world", s) +check_diagnostics(diagnostics_dir="test7-db/diagnostic") # option passed into `dotnet run` s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test7-db', 'dotnet build', 'dotnet run --no-build hello world'], "test8-db") check_build_out("hello, world", s) +check_diagnostics(diagnostics_dir="test8-db/diagnostic") diff --git a/csharp/ql/integration-tests/all-platforms/msbuild/test.py b/csharp/ql/integration-tests/all-platforms/msbuild/test.py index 97682d28205..7471e3374e5 100644 --- a/csharp/ql/integration-tests/all-platforms/msbuild/test.py +++ b/csharp/ql/integration-tests/all-platforms/msbuild/test.py @@ -1,4 +1,6 @@ from create_database_utils import * +from diagnostics_test_utils import * # force CodeQL to use MSBuild by setting `LGTM_INDEX_MSBUILD_TARGET` -run_codeql_database_create([], test_db="default-db", db=None, lang="csharp", extra_env={ 'LGTM_INDEX_MSBUILD_TARGET': 'Build' }) +run_codeql_database_create([], db=None, lang="csharp", extra_env={ 'LGTM_INDEX_MSBUILD_TARGET': 'Build' }) +check_diagnostics() diff --git a/csharp/ql/integration-tests/posix-only/dotnet_test/test.py b/csharp/ql/integration-tests/posix-only/dotnet_test/test.py index 6e3cdab30f7..7bc159e6720 100644 --- a/csharp/ql/integration-tests/posix-only/dotnet_test/test.py +++ b/csharp/ql/integration-tests/posix-only/dotnet_test/test.py @@ -1,3 +1,5 @@ from create_database_utils import * +from diagnostics_test_utils import * -run_codeql_database_create(['dotnet test'], test_db="default-db", db=None, lang="csharp") \ No newline at end of file +run_codeql_database_create(['dotnet test'], db=None, lang="csharp") +check_diagnostics() diff --git a/csharp/ql/integration-tests/posix-only/inherit-env-vars/test.py b/csharp/ql/integration-tests/posix-only/inherit-env-vars/test.py index 1b49fb18519..92d90e53ec5 100644 --- a/csharp/ql/integration-tests/posix-only/inherit-env-vars/test.py +++ b/csharp/ql/integration-tests/posix-only/inherit-env-vars/test.py @@ -1,6 +1,8 @@ from create_database_utils import * +from diagnostics_test_utils import * import os os.environ["PROJECT_TO_BUILD"] = "proj.csproj.no_auto" -run_codeql_database_create([], test_db="default-db", db=None, lang="csharp") +run_codeql_database_create([], db=None, lang="csharp") +check_diagnostics() From 094a2b0c46b25bfdfe71dc867885c0bccfd04343 Mon Sep 17 00:00:00 2001 From: Erik Krogh Kristensen Date: Thu, 2 Mar 2023 22:14:17 +0100 Subject: [PATCH 007/145] Apply suggestions from code review Co-authored-by: Asger F --- .../src/com/semmle/ts/extractor/TypeScriptParser.java | 2 +- .../com/semmle/ts/extractor/TypeScriptWrapperOOMError.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptParser.java b/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptParser.java index f526b4f1b1a..5da39155347 100644 --- a/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptParser.java +++ b/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptParser.java @@ -409,7 +409,7 @@ public class TypeScriptParser { exitCode = parserWrapperProcess.waitFor(); } if (exitCode != null && (exitCode == NODEJS_EXIT_CODE_FATAL_ERROR || exitCode == NODEJS_EXIT_CODE_SIG_ABORT)) { - // this is caught in the auto-builder, and handled as an OOM. Check there is the message is changed. + // this is caught in the auto-builder, and handled as an OOM. Check there if the message is changed. return new TypeScriptWrapperOOMError("The TypeScript parser wrapper crashed, possibly from running out of memory.", e); } if (exitCode != null) { diff --git a/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptWrapperOOMError.java b/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptWrapperOOMError.java index 67f2d5a0763..caf5ef542c1 100644 --- a/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptWrapperOOMError.java +++ b/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptWrapperOOMError.java @@ -4,6 +4,6 @@ import com.semmle.util.exception.ResourceError; public class TypeScriptWrapperOOMError extends ResourceError { public TypeScriptWrapperOOMError(String message, Throwable throwable) { - super(message,throwable); - } + super(message,throwable); + } } From fc9e63275f7cc7100d855070da6a24bf11217036 Mon Sep 17 00:00:00 2001 From: erik-krogh Date: Thu, 2 Mar 2023 22:13:45 +0100 Subject: [PATCH 008/145] only print a constant when catching an OOM --- .../extractor/src/com/semmle/js/extractor/AutoBuild.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java index 7d0809755a6..cae28587723 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java +++ b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java @@ -1247,8 +1247,7 @@ protected DependencyInstallationResult preparePackagesAndDependencies(Set } logEndProcess(start, "Done extracting " + file); } catch (OutOfMemoryError oom) { - System.err.println("Out of memory while extracting " + file + "."); - oom.printStackTrace(System.err); + System.err.println("Out of memory while extracting a file."); System.exit(137); // caught by the CodeQL CLI } catch (Throwable t) { System.err.println("Exception while extracting " + file + "."); From 467429c23eb8424134e76cc9415833790bde5381 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 10 Feb 2023 09:41:04 +0000 Subject: [PATCH 009/145] Refactor env var code in Autobuilder class --- .../Semmle.Autobuild.Shared/Autobuilder.cs | 26 +++++++++++++------ .../Semmle.Autobuild.Shared/EnvVars.cs | 10 +++++++ 2 files changed, 28 insertions(+), 8 deletions(-) create mode 100644 csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs index 1ef5ebd815d..bbc59838763 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs @@ -232,16 +232,26 @@ namespace Semmle.Autobuild.Shared return ret ?? new List(); }); - CodeQLExtractorLangRoot = Actions.GetEnvironmentVariable($"CODEQL_EXTRACTOR_{this.Options.Language.UpperCaseName}_ROOT"); - CodeQlPlatform = Actions.GetEnvironmentVariable("CODEQL_PLATFORM"); + CodeQLExtractorLangRoot = Actions.GetEnvironmentVariable(EnvVars.Root(this.Options.Language)); + CodeQlPlatform = Actions.GetEnvironmentVariable(EnvVars.Platform); - TrapDir = - Actions.GetEnvironmentVariable($"CODEQL_EXTRACTOR_{this.Options.Language.UpperCaseName}_TRAP_DIR") ?? - throw new InvalidEnvironmentException($"The environment variable CODEQL_EXTRACTOR_{this.Options.Language.UpperCaseName}_TRAP_DIR has not been set."); + TrapDir = RequireEnvironmentVariable(EnvVars.TrapDir(this.Options.Language)); + SourceArchiveDir = RequireEnvironmentVariable(EnvVars.SourceArchiveDir(this.Options.Language)); + } - SourceArchiveDir = - Actions.GetEnvironmentVariable($"CODEQL_EXTRACTOR_{this.Options.Language.UpperCaseName}_SOURCE_ARCHIVE_DIR") ?? - throw new InvalidEnvironmentException($"The environment variable CODEQL_EXTRACTOR_{this.Options.Language.UpperCaseName}_SOURCE_ARCHIVE_DIR has not been set."); + /// + /// Retrieves the value of an environment variable named or throws + /// an exception if no such environment variable has been set. + /// + /// The name of the environment variable. + /// The value of the environment variable. + /// + /// Thrown if the environment variable is not set. + /// + protected string RequireEnvironmentVariable(string name) + { + return Actions.GetEnvironmentVariable(name) ?? + throw new InvalidEnvironmentException($"The environment variable {name} has not been set."); } protected string TrapDir { get; } diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs new file mode 100644 index 00000000000..a2535b68e7b --- /dev/null +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs @@ -0,0 +1,10 @@ +namespace Semmle.Autobuild.Shared +{ + public static class EnvVars + { + public const string Platform = "CODEQL_PLATFORM"; + public static string Root(Language language) => $"CODEQL_EXTRACTOR_{language.UpperCaseName}_ROOT"; + public static string TrapDir(Language language) => $"CODEQL_EXTRACTOR_{language.UpperCaseName}_TRAP_DIR"; + public static string SourceArchiveDir(Language language) => $"CODEQL_EXTRACTOR_{language.UpperCaseName}_SOURCE_ARCHIVE_DIR"; + } +} From e029b1f0a8187987e76e8461f2bba2ea04e0ba31 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 10 Feb 2023 09:42:17 +0000 Subject: [PATCH 010/145] Read `..._DIAGNOSTIC_DIR` variable --- .../autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs | 1 + csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs | 3 +++ csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs | 1 + 3 files changed, 5 insertions(+) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs index ec7c63a022d..41128c2fe52 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs @@ -391,6 +391,7 @@ namespace Semmle.Autobuild.CSharp.Tests actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_TRAP_DIR"] = ""; actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_SOURCE_ARCHIVE_DIR"] = ""; actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_ROOT"] = $@"C:\codeql\{codeqlUpperLanguage.ToLowerInvariant()}"; + actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_DIAGNOSTIC_DIR"] = Path.GetTempPath(); actions.GetEnvironmentVariable["CODEQL_JAVA_HOME"] = @"C:\codeql\tools\java"; actions.GetEnvironmentVariable["CODEQL_PLATFORM"] = isWindows ? "win64" : "linux64"; actions.GetEnvironmentVariable["LGTM_INDEX_VSTOOLS_VERSION"] = vsToolsVersion; diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs index bbc59838763..d47dff203bf 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs @@ -237,6 +237,7 @@ namespace Semmle.Autobuild.Shared TrapDir = RequireEnvironmentVariable(EnvVars.TrapDir(this.Options.Language)); SourceArchiveDir = RequireEnvironmentVariable(EnvVars.SourceArchiveDir(this.Options.Language)); + DiagnosticsDir = RequireEnvironmentVariable(EnvVars.DiagnosticDir(this.Options.Language)); } /// @@ -258,6 +259,8 @@ namespace Semmle.Autobuild.Shared protected string SourceArchiveDir { get; } + protected string DiagnosticsDir { get; } + private readonly ILogger logger = new ConsoleLogger(Verbosity.Info); /// diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs index a2535b68e7b..1e925b24431 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs @@ -6,5 +6,6 @@ namespace Semmle.Autobuild.Shared public static string Root(Language language) => $"CODEQL_EXTRACTOR_{language.UpperCaseName}_ROOT"; public static string TrapDir(Language language) => $"CODEQL_EXTRACTOR_{language.UpperCaseName}_TRAP_DIR"; public static string SourceArchiveDir(Language language) => $"CODEQL_EXTRACTOR_{language.UpperCaseName}_SOURCE_ARCHIVE_DIR"; + public static string DiagnosticDir(Language language) => $"CODEQL_EXTRACTOR_{language.UpperCaseName}_DIAGNOSTIC_DIR"; } } From 38a3a5ebfa962bec7eaa6ad8f6268a1443b80ee6 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 10 Feb 2023 09:59:09 +0000 Subject: [PATCH 011/145] Add initial code for diagnostic messages --- .../extractor/Semmle.Util/Semmle.Util.csproj | 1 + .../extractor/Semmle.Util/ToolStatusPage.cs | 189 ++++++++++++++++++ 2 files changed, 190 insertions(+) create mode 100644 csharp/extractor/Semmle.Util/ToolStatusPage.cs diff --git a/csharp/extractor/Semmle.Util/Semmle.Util.csproj b/csharp/extractor/Semmle.Util/Semmle.Util.csproj index b2fa737f7c4..aff07714957 100644 --- a/csharp/extractor/Semmle.Util/Semmle.Util.csproj +++ b/csharp/extractor/Semmle.Util/Semmle.Util.csproj @@ -15,6 +15,7 @@ + diff --git a/csharp/extractor/Semmle.Util/ToolStatusPage.cs b/csharp/extractor/Semmle.Util/ToolStatusPage.cs new file mode 100644 index 00000000000..d9b89903e01 --- /dev/null +++ b/csharp/extractor/Semmle.Util/ToolStatusPage.cs @@ -0,0 +1,189 @@ + +using System; +using System.Collections.Generic; +using System.Globalization; +using System.IO; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Serialization; + +namespace Semmle.Util +{ + /// + /// Represents diagnostic messages for the tool status page. + /// + public class DiagnosticMessage + { + /// + /// Represents sources of diagnostic messages. + /// + public class TspSource + { + /// + /// An identifier under which it makes sense to group this diagnostic message. + /// This is used to build the SARIF reporting descriptor object. + /// + public string Id { get; } + /// + /// Display name for the ID. This is used to build the SARIF reporting descriptor object. + /// + public string Name { get; } + /// + /// Name of the CodeQL extractor. This is used to identify which tool component the reporting descriptor object should be nested under in SARIF. + /// + public string? ExtractorName { get; set; } + + public TspSource(string id, string name) + { + Id = id; + Name = name; + } + } + + /// + /// Enumerates severity levels for diagnostics. + /// + [JsonConverter(typeof(StringEnumConverter), typeof(CamelCaseNamingStrategy))] + public enum TspSeverity + { + Note, + Warning, + Error + } + + public class TspVisibility + { + /// + /// True if the message should be displayed on the status page (defaults to false). + /// + public bool? StatusPage { get; set; } + /// + /// True if the message should be counted in the diagnostics summary table printed by + /// codeql database analyze (defaults to false). + /// + public bool? CLISummaryTable { get; set; } + /// + /// True if the message should be sent to telemetry (defaults to false). + /// + public bool? Telemetry { get; set; } + } + + public class TspLocation + { + /// + /// Path to the affected file if appropriate, relative to the source root. + /// + public string? File { get; set; } + public int? StartLine { get; set; } + public int? StartColumn { get; set; } + public int? EndLine { get; set; } + public int? EndColumn { get; set; } + } + + /// + /// ISO 8601 timestamp. + /// + public string Timestamp { get; set; } + /// + /// The source of the diagnostic message. + /// + public TspSource Source { get; set; } + /// + /// GitHub flavored Markdown formatted message. Should include inline links to any help pages. + /// + public string? MarkdownMessage { get; set; } + /// + /// Plain text message. Used by components where the string processing needed to support + /// Markdown is cumbersome. + /// + public string? PlaintextMessage { get; set; } + /// + /// List of help links intended to supplement . + /// + public List HelpLinks { get; } + /// + /// SARIF severity. + /// + public TspSeverity? Severity { get; set; } + /// + /// If true, then this message won't be presented to users. + /// + public bool Internal { get; set; } + /// + /// + /// + public TspVisibility Visibility { get; } + public TspLocation Location { get; } + /// + /// Structured metadata about the diagnostic message. + /// + public Dictionary Attributes { get; } + + public DiagnosticMessage(TspSource source) + { + Timestamp = DateTime.UtcNow.ToString("o", CultureInfo.InvariantCulture); + Source = source; + HelpLinks = new List(); + Visibility = new TspVisibility(); + Location = new TspLocation(); + Attributes = new Dictionary(); + } + } + + /// + /// A wrapper around an underlying which allows + /// objects to be serialized to it. + /// + public sealed class DiagnosticsStream : IDisposable + { + private readonly JsonSerializer serializer; + private readonly StreamWriter writer; + + /// + /// Initialises a new for a file at . + /// + /// The path to the file that should be created. + /// + /// A object which allows diagnostics to be + /// written to a file at . + /// + public static DiagnosticsStream ForFile(string path) + { + var stream = File.CreateText(path); + return new DiagnosticsStream(stream); + } + + public DiagnosticsStream(StreamWriter streamWriter) + { + var contractResolver = new DefaultContractResolver + { + NamingStrategy = new CamelCaseNamingStrategy() + }; + + serializer = new JsonSerializer + { + ContractResolver = contractResolver + }; + + writer = streamWriter; + } + + /// + /// Adds as a new diagnostics entry. + /// + /// The diagnostics entry to add. + public void AddEntry(DiagnosticMessage message) + { + serializer.Serialize(writer, message); + writer.Flush(); + } + + /// + /// Releases all resources used by the object. + /// + public void Dispose() + { + writer.Dispose(); + } + } +} From 60afa6e9f0f5ec6d8616908a5b9a08cc543dcc48 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 14 Feb 2023 12:24:25 +0000 Subject: [PATCH 012/145] Add basic reporting of a general autobuild failure --- .../Semmle.Autobuild.Shared/Autobuilder.cs | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs index d47dff203bf..a27c647360f 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs @@ -1,3 +1,4 @@ +using Semmle.Util; using Semmle.Util.Logging; using System; using System.Collections.Generic; @@ -238,6 +239,8 @@ namespace Semmle.Autobuild.Shared TrapDir = RequireEnvironmentVariable(EnvVars.TrapDir(this.Options.Language)); SourceArchiveDir = RequireEnvironmentVariable(EnvVars.SourceArchiveDir(this.Options.Language)); DiagnosticsDir = RequireEnvironmentVariable(EnvVars.DiagnosticDir(this.Options.Language)); + + this.diagnostics = DiagnosticsStream.ForFile(Path.Combine(DiagnosticsDir, $"autobuilder-{DateTime.UtcNow:yyyyMMddHHmm}.jsonc")); } /// @@ -263,6 +266,8 @@ namespace Semmle.Autobuild.Shared private readonly ILogger logger = new ConsoleLogger(Verbosity.Info); + private readonly DiagnosticsStream diagnostics; + /// /// Log a given build event to the console. /// @@ -273,6 +278,15 @@ namespace Semmle.Autobuild.Shared logger.Log(severity, format, args); } + /// + /// Write to the diagnostics file. + /// + /// The diagnostics entry to write. + public void Diagnostic(DiagnosticMessage diagnostic) + { + diagnostics.AddEntry(diagnostic); + } + /// /// Attempt to build this project. /// @@ -304,10 +318,48 @@ namespace Semmle.Autobuild.Shared /// public abstract BuildScript GetBuildScript(); + /// + /// Constructs a standard for some message + /// with a human-friendly . + /// + /// The last part of the message id. + /// The human-friendly description of the message. + /// The resulting . + protected DiagnosticMessage.TspSource GetDiagnosticSource(string id, string name) => + new($"{this.Options.Language.UpperCaseName.ToLower()}/autobuilder/{id}", name); + + /// + /// Produces a diagnostic for the tool status page that we were unable to automatically + /// build the user's project and that they can manually specify a build command. This + /// can be overriden to implement more specific messages depending on the origin of + /// the failure. + /// + protected virtual void AutobuildFailureDiagnostic() + { + var message = new DiagnosticMessage(GetDiagnosticSource("autobuild-failure", "Unable to build project")) + { + PlaintextMessage = + "We were unable to automatically build your project. " + + "You can manually specify a suitable build command for your project.", + Severity = DiagnosticMessage.TspSeverity.Error + }; + + Diagnostic(message); + } + + /// + /// Returns a build script that can be run upon autobuild failure. + /// + /// + /// A build script that reports that we could not automatically detect a suitable build method. + /// protected BuildScript AutobuildFailure() => BuildScript.Create(actions => { Log(Severity.Error, "Could not auto-detect a suitable build method"); + + AutobuildFailureDiagnostic(); + return 1; }); From b88382e3e71b50dbd371d532f46fe51aae3e83d6 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 14 Feb 2023 12:51:36 +0000 Subject: [PATCH 013/145] BuildCommandAutoRule: expose more information We expose the list of candidate script paths and the chosen script path so that we can inspect them for diagnostics purposes. --- .../BuildCommandAutoRule.cs | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildCommandAutoRule.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildCommandAutoRule.cs index 0d44f0dad4d..16f153a3c2a 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildCommandAutoRule.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildCommandAutoRule.cs @@ -10,23 +10,51 @@ namespace Semmle.Autobuild.Shared public class BuildCommandAutoRule : IBuildRule { private readonly WithDotNet withDotNet; + private IEnumerable candidatePaths; + private string? scriptPath; + + /// + /// A list of paths to files in the project directory which we classified as scripts. + /// + public IEnumerable CandidatePaths + { + get { return this.candidatePaths; } + } + + /// + /// The path of the script we decided to run, if any. + /// + public string? ScriptPath + { + get { return this.scriptPath; } + } public BuildCommandAutoRule(WithDotNet withDotNet) { this.withDotNet = withDotNet; + this.candidatePaths = new List(); } + /// + /// A list of extensions that we consider to be for scripts on Windows. + /// private readonly IEnumerable winExtensions = new List { ".bat", ".cmd", ".exe" }; + /// + /// A list of extensions that we consider to be for scripts on Linux. + /// private readonly IEnumerable linuxExtensions = new List { "", ".sh" }; + /// + /// A list of filenames without extensions that we think might be build scripts. + /// private readonly IEnumerable buildScripts = new List { "build" }; @@ -35,9 +63,16 @@ namespace Semmle.Autobuild.Shared { builder.Log(Severity.Info, "Attempting to locate build script"); + // a list of extensions for files that we consider to be scripts on the current platform var extensions = builder.Actions.IsWindows() ? winExtensions : linuxExtensions; + // a list of combined base script names with the current platform's script extensions + // e.g. for Linux: build, build.sh var scripts = buildScripts.SelectMany(s => extensions.Select(e => s + e)); - var scriptPath = builder.Paths.Where(p => scripts.Any(p.Item1.ToLower().EndsWith)).OrderBy(p => p.Item2).Select(p => p.Item1).FirstOrDefault(); + // search through the files in the project directory for paths which end in one of + // the names given by `scripts`, then order them by their distance from the root + this.candidatePaths = builder.Paths.Where(p => scripts.Any(p.Item1.ToLower().EndsWith)).OrderBy(p => p.Item2).Select(p => p.Item1); + // pick the first matching path, if there is one + this.scriptPath = candidatePaths.FirstOrDefault(); if (scriptPath is null) return BuildScript.Failure; From 55d7b744898ec0f5b993b8d706c29b6cd739e1cd Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 14 Feb 2023 12:56:07 +0000 Subject: [PATCH 014/145] Add diagnostics for `BuildCommandAutoRule` --- .../CSharpAutobuilder.cs | 56 ++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index 71891fa4e8b..fc51c1c094e 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -1,6 +1,8 @@ using Semmle.Extraction.CSharp; using Semmle.Util.Logging; using Semmle.Autobuild.Shared; +using Semmle.Util; +using System.Linq; namespace Semmle.Autobuild.CSharp { @@ -29,6 +31,8 @@ namespace Semmle.Autobuild.CSharp public class CSharpAutobuilder : Autobuilder { + private BuildCommandAutoRule? buildCommandAutoRule; + public CSharpAutobuilder(IBuildActions actions, CSharpAutobuildOptions options) : base(actions, options) { } public override BuildScript GetBuildScript() @@ -99,13 +103,15 @@ namespace Semmle.Autobuild.CSharp (s & CheckExtractorRun(false)) | (attemptExtractorCleanup & BuildScript.Failure); + this.buildCommandAutoRule = new BuildCommandAutoRule(DotNetRule.WithDotNet); + attempt = // First try .NET Core IntermediateAttempt(new DotNetRule().Analyse(this, true)) | // Then MSBuild (() => IntermediateAttempt(new MsBuildRule().Analyse(this, true))) | // And finally look for a script that might be a build script - (() => new BuildCommandAutoRule(DotNetRule.WithDotNet).Analyse(this, true) & CheckExtractorRun(true)) | + (() => this.buildCommandAutoRule.Analyse(this, true) & CheckExtractorRun(true)) | // All attempts failed: print message AutobuildFailure(); break; @@ -114,6 +120,54 @@ namespace Semmle.Autobuild.CSharp return attempt; } + protected override void AutobuildFailureDiagnostic() + { + DiagnosticMessage message; + + // if `ScriptPath` is not null here, the `BuildCommandAuto` rule was + // run and found at least one script to execute + if (this.buildCommandAutoRule is not null && + this.buildCommandAutoRule.ScriptPath is not null) + { + // if we found multiple build scripts in the project directory, then we can say + // as much to indicate that we may have picked the wrong one; + // otherwise, we just report that the one script we found didn't work + if (this.buildCommandAutoRule.CandidatePaths.Count() > 1) + { + var source = GetDiagnosticSource("multiple-build-scripts", "There are multiple potential build scripts"); + message = new DiagnosticMessage(source) + { + MarkdownMessage = + "We found multiple potential build scripts for your project and " + + $"attempted to run `{buildCommandAutoRule.ScriptPath}`, which failed. " + + "This may not be the right build script for your project. " + + "You can specify which build script to use by providing a suitable build command for your project." + }; + } + else + { + var source = GetDiagnosticSource("script-failure", "Unable to build project using build script"); + message = new DiagnosticMessage(source) + { + MarkdownMessage = + "We attempted to build your project using a script located at " + + $"`{buildCommandAutoRule.ScriptPath}`, which failed. " + + "You can manually specify a suitable build command for your project." + }; + } + } + else + { + // none of the above apply; produce a generic autobuild failure message + base.AutobuildFailureDiagnostic(); + return; + } + + // all messages generated here are errors + message.Severity = DiagnosticMessage.TspSeverity.Error; + Diagnostic(message); + } + /// /// Gets the build strategy that the autobuilder should apply, based on the /// options in the `lgtm.yml` file. From dc7cf272db41affa6f9449c95830c6572b618f8d Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 14 Feb 2023 14:44:35 +0000 Subject: [PATCH 015/145] Add no projects/solutions diagnostic --- .../Semmle.Autobuild.CSharp/CSharpAutobuilder.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index fc51c1c094e..4f54adbab7e 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -156,6 +156,16 @@ namespace Semmle.Autobuild.CSharp }; } } + // both dotnet and msbuild builds require project or solution files; if we haven't found any + // then neither of those rules would've worked + else if (this.ProjectsOrSolutionsToBuild.Count == 0) + { + var source = GetDiagnosticSource("no-projects-or-solutions", "No project or solutions files found"); + message = new DiagnosticMessage(source) + { + PlaintextMessage = "CodeQL could not find any project or solution files in your repository." + }; + } else { // none of the above apply; produce a generic autobuild failure message From ec2deb0889ff3e72ea62ed8494356f9effd73bfb Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 15 Feb 2023 10:55:58 +0000 Subject: [PATCH 016/145] Fixup: We => CodeQL --- .../autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index 4f54adbab7e..6f98cccd80c 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -138,7 +138,7 @@ namespace Semmle.Autobuild.CSharp message = new DiagnosticMessage(source) { MarkdownMessage = - "We found multiple potential build scripts for your project and " + + "CodeQL found multiple potential build scripts for your project and " + $"attempted to run `{buildCommandAutoRule.ScriptPath}`, which failed. " + "This may not be the right build script for your project. " + "You can specify which build script to use by providing a suitable build command for your project." @@ -150,7 +150,7 @@ namespace Semmle.Autobuild.CSharp message = new DiagnosticMessage(source) { MarkdownMessage = - "We attempted to build your project using a script located at " + + "CodeQL attempted to build your project using a script located at " + $"`{buildCommandAutoRule.ScriptPath}`, which failed. " + "You can manually specify a suitable build command for your project." }; From dfcc57ba8394ea9bf75b732af6e7401227e08342 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 15 Feb 2023 10:53:12 +0000 Subject: [PATCH 017/145] Support asynchronous stdout/stderr processing --- .../BuildScripts.cs | 12 +++ .../Semmle.Autobuild.Shared/BuildActions.cs | 35 +++++++++ .../Semmle.Autobuild.Shared/BuildScript.cs | 73 +++++++++++++++++++ 3 files changed, 120 insertions(+) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs index 41128c2fe52..a44c7c7918f 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs @@ -85,6 +85,18 @@ namespace Semmle.Autobuild.CSharp.Tests return ret; } + int IBuildActions.RunProcess(string cmd, string args, string? workingDirectory, IDictionary? env, BuildOutputHandler onOutput, BuildOutputHandler onError) + { + var ret = (this as IBuildActions).RunProcess(cmd, args, workingDirectory, env, out var stdout); + + foreach (var line in stdout) + { + onOutput(line); + } + + return ret; + } + public IList DirectoryDeleteIn { get; } = new List(); void IBuildActions.DirectoryDelete(string dir, bool recursive) diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildActions.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildActions.cs index f3f9ae15da6..d4ca15cd246 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildActions.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildActions.cs @@ -11,11 +11,26 @@ using System.Runtime.InteropServices; namespace Semmle.Autobuild.Shared { + public delegate void BuildOutputHandler(string? data); + /// /// Wrapper around system calls so that the build scripts can be unit-tested. /// public interface IBuildActions { + + /// + /// Runs a process, captures its output, and provides it asynchronously. + /// + /// The exe to run. + /// The other command line arguments. + /// The working directory (null for current directory). + /// Additional environment variables. + /// A handler for stdout output. + /// A handler for stderr output. + /// The process exit code. + int RunProcess(string exe, string args, string? workingDirectory, IDictionary? env, BuildOutputHandler onOutput, BuildOutputHandler onError); + /// /// Runs a process and captures its output. /// @@ -182,6 +197,26 @@ namespace Semmle.Autobuild.Shared return pi; } + int IBuildActions.RunProcess(string exe, string args, string? workingDirectory, System.Collections.Generic.IDictionary? env, BuildOutputHandler onOutput, BuildOutputHandler onError) + { + var pi = GetProcessStartInfo(exe, args, workingDirectory, env, true); + using var p = new Process + { + StartInfo = pi + }; + p.StartInfo.RedirectStandardError = true; + p.OutputDataReceived += new DataReceivedEventHandler((sender, e) => onOutput(e.Data)); + p.ErrorDataReceived += new DataReceivedEventHandler((sender, e) => onError(e.Data)); + + p.Start(); + + p.BeginErrorReadLine(); + p.BeginOutputReadLine(); + + p.WaitForExit(); + return p.ExitCode; + } + int IBuildActions.RunProcess(string cmd, string args, string? workingDirectory, IDictionary? environment) { var pi = GetProcessStartInfo(cmd, args, workingDirectory, environment, false); diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildScript.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildScript.cs index 9840d63c5e4..33a6696cf1c 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildScript.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildScript.cs @@ -46,6 +46,30 @@ namespace Semmle.Autobuild.Shared /// The exit code from this build script. public abstract int Run(IBuildActions actions, Action startCallback, Action exitCallBack, out IList stdout); + /// + /// Runs this build command. + /// + /// + /// The interface used to implement the build actions. + /// + /// + /// A call back that is called every time a new process is started. The + /// argument to the call back is a textual representation of the process. + /// + /// + /// A call back that is called every time a new process exits. The first + /// argument to the call back is the exit code, and the second argument is + /// an exit message. + /// + /// + /// A handler for data read from stdout. + /// + /// + /// A handler for data read from stderr. + /// + /// The exit code from this build script. + public abstract int Run(IBuildActions actions, Action startCallback, Action exitCallBack, BuildOutputHandler onOutput, BuildOutputHandler onError); + private class BuildCommand : BuildScript { private readonly string exe, arguments; @@ -110,6 +134,24 @@ namespace Semmle.Autobuild.Shared return ret; } + public override int Run(IBuildActions actions, Action startCallback, Action exitCallBack, BuildOutputHandler onOutput, BuildOutputHandler onError) + { + startCallback(this.ToString(), silent); + var ret = 1; + var retMessage = ""; + try + { + ret = actions.RunProcess(exe, arguments, workingDirectory, environment, onOutput, onError); + } + catch (Exception ex) + when (ex is System.ComponentModel.Win32Exception || ex is FileNotFoundException) + { + retMessage = ex.Message; + } + exitCallBack(ret, retMessage, silent); + return ret; + } + } private class ReturnBuildCommand : BuildScript @@ -127,8 +169,13 @@ namespace Semmle.Autobuild.Shared stdout = Array.Empty(); return func(actions); } + + public override int Run(IBuildActions actions, Action startCallback, Action exitCallBack, BuildOutputHandler onOutput, BuildOutputHandler onError) => func(actions); } + /// + /// Allows two build scripts to be composed sequentially. + /// private class BindBuildScript : BuildScript { private readonly BuildScript s1; @@ -175,6 +222,32 @@ namespace Semmle.Autobuild.Shared stdout = @out; return ret2; } + + public override int Run(IBuildActions actions, Action startCallback, Action exitCallBack, BuildOutputHandler onOutput, BuildOutputHandler onError) + { + int ret1; + if (s2a is not null) + { + var stdout1 = new List(); + var onOutputWrapper = new BuildOutputHandler(data => + { + if (data is not null) + stdout1.Add(data); + + onOutput(data); + }); + ret1 = s1.Run(actions, startCallback, exitCallBack, onOutputWrapper, onError); + return s2a(stdout1, ret1).Run(actions, startCallback, exitCallBack, onOutput, onError); + } + + if (s2b is not null) + { + ret1 = s1.Run(actions, startCallback, exitCallBack, onOutput, onError); + return s2b(ret1).Run(actions, startCallback, exitCallBack, onOutput, onError); + } + + throw new InvalidOperationException("Unexpected error"); + } } /// From 28b350ee95d917b54eca23499972e8bdd58c9d2b Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 15 Feb 2023 11:37:36 +0000 Subject: [PATCH 018/145] Change logic for autobuild failures This is to account for multiple attempted rules that failed --- .../CSharpAutobuilder.cs | 26 ++++++++----------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index 6f98cccd80c..e33adc0533b 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -122,13 +122,13 @@ namespace Semmle.Autobuild.CSharp protected override void AutobuildFailureDiagnostic() { - DiagnosticMessage message; - // if `ScriptPath` is not null here, the `BuildCommandAuto` rule was // run and found at least one script to execute if (this.buildCommandAutoRule is not null && this.buildCommandAutoRule.ScriptPath is not null) { + DiagnosticMessage message; + // if we found multiple build scripts in the project directory, then we can say // as much to indicate that we may have picked the wrong one; // otherwise, we just report that the one script we found didn't work @@ -155,27 +155,23 @@ namespace Semmle.Autobuild.CSharp "You can manually specify a suitable build command for your project." }; } + + message.Severity = DiagnosticMessage.TspSeverity.Error; + Diagnostic(message); } // both dotnet and msbuild builds require project or solution files; if we haven't found any // then neither of those rules would've worked - else if (this.ProjectsOrSolutionsToBuild.Count == 0) + if (this.ProjectsOrSolutionsToBuild.Count == 0) { var source = GetDiagnosticSource("no-projects-or-solutions", "No project or solutions files found"); - message = new DiagnosticMessage(source) + var message = new DiagnosticMessage(source) { - PlaintextMessage = "CodeQL could not find any project or solution files in your repository." + PlaintextMessage = "CodeQL could not find any project or solution files in your repository.", + Severity = DiagnosticMessage.TspSeverity.Error }; - } - else - { - // none of the above apply; produce a generic autobuild failure message - base.AutobuildFailureDiagnostic(); - return; - } - // all messages generated here are errors - message.Severity = DiagnosticMessage.TspSeverity.Error; - Diagnostic(message); + Diagnostic(message); + } } /// From 802e2319b5c4956b1848bf142ac6b32c005de3f8 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 15 Feb 2023 12:12:32 +0000 Subject: [PATCH 019/145] Set `DiagnosticMessage` defaults Refactor `GetDiagnosticSource` into `MakeDiagnostic` which sets the defaults. --- .../CSharpAutobuilder.cs | 41 ++++++++----------- .../Semmle.Autobuild.Shared/Autobuilder.cs | 29 +++++++------ 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index e33adc0533b..afa3bf6f0fc 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -134,41 +134,36 @@ namespace Semmle.Autobuild.CSharp // otherwise, we just report that the one script we found didn't work if (this.buildCommandAutoRule.CandidatePaths.Count() > 1) { - var source = GetDiagnosticSource("multiple-build-scripts", "There are multiple potential build scripts"); - message = new DiagnosticMessage(source) - { - MarkdownMessage = - "CodeQL found multiple potential build scripts for your project and " + - $"attempted to run `{buildCommandAutoRule.ScriptPath}`, which failed. " + - "This may not be the right build script for your project. " + - "You can specify which build script to use by providing a suitable build command for your project." - }; + message = MakeDiagnostic("multiple-build-scripts", "There are multiple potential build scripts"); + message.MarkdownMessage = + "CodeQL found multiple potential build scripts for your project and " + + $"attempted to run `{buildCommandAutoRule.ScriptPath}`, which failed. " + + "This may not be the right build script for your project. " + + "You can specify which build script to use by providing a suitable build command for your project."; } else { - var source = GetDiagnosticSource("script-failure", "Unable to build project using build script"); - message = new DiagnosticMessage(source) - { - MarkdownMessage = - "CodeQL attempted to build your project using a script located at " + - $"`{buildCommandAutoRule.ScriptPath}`, which failed. " + - "You can manually specify a suitable build command for your project." - }; + message = MakeDiagnostic("script-failure", "Unable to build project using build script"); + message.MarkdownMessage = + "CodeQL attempted to build your project using a script located at " + + $"`{buildCommandAutoRule.ScriptPath}`, which failed. " + + "You can manually specify a suitable build command for your project."; } message.Severity = DiagnosticMessage.TspSeverity.Error; Diagnostic(message); } + // both dotnet and msbuild builds require project or solution files; if we haven't found any // then neither of those rules would've worked if (this.ProjectsOrSolutionsToBuild.Count == 0) { - var source = GetDiagnosticSource("no-projects-or-solutions", "No project or solutions files found"); - var message = new DiagnosticMessage(source) - { - PlaintextMessage = "CodeQL could not find any project or solution files in your repository.", - Severity = DiagnosticMessage.TspSeverity.Error - }; + var message = MakeDiagnostic("no-projects-or-solutions", "No project or solutions files found"); + message.PlaintextMessage = "CodeQL could not find any project or solution files in your repository."; + message.Severity = DiagnosticMessage.TspSeverity.Error; + + Diagnostic(message); + } Diagnostic(message); } diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs index a27c647360f..68b087654ec 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs @@ -319,14 +319,21 @@ namespace Semmle.Autobuild.Shared public abstract BuildScript GetBuildScript(); /// - /// Constructs a standard for some message - /// with a human-friendly . + /// Constructs a standard for some message with + /// and a human-friendly . /// /// The last part of the message id. /// The human-friendly description of the message. - /// The resulting . - protected DiagnosticMessage.TspSource GetDiagnosticSource(string id, string name) => - new($"{this.Options.Language.UpperCaseName.ToLower()}/autobuilder/{id}", name); + /// The resulting . + protected DiagnosticMessage MakeDiagnostic(string id, string name) + { + DiagnosticMessage diag = new(new($"{this.Options.Language.UpperCaseName.ToLower()}/autobuilder/{id}", name)); + diag.Source.ExtractorName = Options.Language.UpperCaseName.ToLower(); + diag.Visibility.StatusPage = true; + + return diag; + } + /// /// Produces a diagnostic for the tool status page that we were unable to automatically @@ -336,13 +343,11 @@ namespace Semmle.Autobuild.Shared /// protected virtual void AutobuildFailureDiagnostic() { - var message = new DiagnosticMessage(GetDiagnosticSource("autobuild-failure", "Unable to build project")) - { - PlaintextMessage = - "We were unable to automatically build your project. " + - "You can manually specify a suitable build command for your project.", - Severity = DiagnosticMessage.TspSeverity.Error - }; + var message = MakeDiagnostic("autobuild-failure", "Unable to build project"); + message.PlaintextMessage = + "We were unable to automatically build your project. " + + "You can manually specify a suitable build command for your project."; + message.Severity = DiagnosticMessage.TspSeverity.Error; Diagnostic(message); } From 43df6397bb6fdd30bec4af1b9b4b27b3cc98cd57 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 15 Feb 2023 12:14:42 +0000 Subject: [PATCH 020/145] Report projects incompatible with .NET Core --- .../CSharpAutobuilder.cs | 12 ++++++++++- .../Semmle.Autobuild.CSharp/DotNetRule.cs | 21 +++++++++++++++++-- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index afa3bf6f0fc..455bf738b2b 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -31,6 +31,8 @@ namespace Semmle.Autobuild.CSharp public class CSharpAutobuilder : Autobuilder { + private DotNetRule? dotNetRule; + private BuildCommandAutoRule? buildCommandAutoRule; public CSharpAutobuilder(IBuildActions actions, CSharpAutobuildOptions options) : base(actions, options) { } @@ -103,11 +105,12 @@ namespace Semmle.Autobuild.CSharp (s & CheckExtractorRun(false)) | (attemptExtractorCleanup & BuildScript.Failure); + this.dotNetRule = new DotNetRule(); this.buildCommandAutoRule = new BuildCommandAutoRule(DotNetRule.WithDotNet); attempt = // First try .NET Core - IntermediateAttempt(new DotNetRule().Analyse(this, true)) | + IntermediateAttempt(dotNetRule.Analyse(this, true)) | // Then MSBuild (() => IntermediateAttempt(new MsBuildRule().Analyse(this, true))) | // And finally look for a script that might be a build script @@ -164,6 +167,13 @@ namespace Semmle.Autobuild.CSharp Diagnostic(message); } + else if (dotNetRule is not null && dotNetRule.NotDotNetProjects.Any()) + { + var message = MakeDiagnostic("dotnet-incompatible-projects", "Some projects are incompatible with .NET Core"); + message.MarkdownMessage = + "CodeQL found some projects which cannot be built with .NET Core:\n" + + string.Join('\n', dotNetRule.NotDotNetProjects.Select(p => $"- `{p.FullPath}`")); + message.Severity = DiagnosticMessage.TspSeverity.Warning; Diagnostic(message); } diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/DotNetRule.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/DotNetRule.cs index 394349e2a40..785711812d1 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/DotNetRule.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/DotNetRule.cs @@ -15,6 +15,21 @@ namespace Semmle.Autobuild.CSharp /// internal class DotNetRule : IBuildRule { + private IEnumerable> notDotNetProjects; + + /// + /// A list of projects which are incompatible with DotNet. + /// + public IEnumerable> NotDotNetProjects + { + get { return this.notDotNetProjects; } + } + + public DotNetRule() + { + this.notDotNetProjects = new List>(); + } + public BuildScript Analyse(IAutobuilder builder, bool auto) { if (!builder.ProjectsOrSolutionsToBuild.Any()) @@ -22,10 +37,12 @@ namespace Semmle.Autobuild.CSharp if (auto) { - var notDotNetProject = builder.ProjectsOrSolutionsToBuild + notDotNetProjects = builder.ProjectsOrSolutionsToBuild .SelectMany(p => Enumerators.Singleton(p).Concat(p.IncludedProjects)) .OfType>() - .FirstOrDefault(p => !p.DotNetProject); + .Where(p => !p.DotNetProject); + var notDotNetProject = notDotNetProjects.FirstOrDefault(); + if (notDotNetProject is not null) { builder.Log(Severity.Info, "Not using .NET Core because of incompatible project {0}", notDotNetProject); From 62b59747d196bf4b20127233236810100ef42c4d Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 15 Feb 2023 12:23:38 +0000 Subject: [PATCH 021/145] Track which projects/solutions fail to build --- .../Semmle.Autobuild.CSharp/DotNetRule.cs | 7 +++++- .../Semmle.Autobuild.Shared/BuildScript.cs | 23 +++++++++++++++++++ .../Semmle.Autobuild.Shared/MsBuildRule.cs | 16 ++++++++++--- 3 files changed, 42 insertions(+), 4 deletions(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/DotNetRule.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/DotNetRule.cs index 785711812d1..4a337bd76ac 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/DotNetRule.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/DotNetRule.cs @@ -17,6 +17,8 @@ namespace Semmle.Autobuild.CSharp { private IEnumerable> notDotNetProjects; + public readonly List FailedProjectsOrSolutions = new(); + /// /// A list of projects which are incompatible with DotNet. /// @@ -67,7 +69,10 @@ namespace Semmle.Autobuild.CSharp var build = GetBuildScript(builder, dotNetPath, environment, projectOrSolution.FullPath); - ret &= BuildScript.Try(clean) & BuildScript.Try(restore) & build; + ret &= BuildScript.Try(clean) & BuildScript.Try(restore) & BuildScript.OnFailure(build, ret => + { + FailedProjectsOrSolutions.Add(projectOrSolution); + }); } return ret; }); diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildScript.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildScript.cs index 33a6696cf1c..573c6f3043b 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildScript.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildScript.cs @@ -70,6 +70,9 @@ namespace Semmle.Autobuild.Shared /// The exit code from this build script. public abstract int Run(IBuildActions actions, Action startCallback, Action exitCallBack, BuildOutputHandler onOutput, BuildOutputHandler onError); + /// + /// A build script which executes an external program or script. + /// private class BuildCommand : BuildScript { private readonly string exe, arguments; @@ -154,6 +157,9 @@ namespace Semmle.Autobuild.Shared } + /// + /// A build script which runs a C# function. + /// private class ReturnBuildCommand : BuildScript { private readonly Func func; @@ -333,6 +339,23 @@ namespace Semmle.Autobuild.Shared /// public static BuildScript Try(BuildScript s) => s | Success; + /// + /// Creates a build script that runs the build script . If + /// running fails, is invoked with + /// the exit code. + /// + /// The build script to run. + /// + /// The callback that is invoked if failed. + /// + /// The build script which implements this. + public static BuildScript OnFailure(BuildScript s, Action k) => + new BindBuildScript(s, ret => Create(actions => + { + if (!Succeeded(ret)) k(ret); + return ret; + })); + /// /// Creates a build script that deletes the given directory. /// diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/MsBuildRule.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/MsBuildRule.cs index 56858cc87a2..e0e4404f312 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/MsBuildRule.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/MsBuildRule.cs @@ -1,7 +1,6 @@ using Semmle.Util.Logging; -using System; +using System.Collections.Generic; using System.Linq; -using System.Runtime.InteropServices; namespace Semmle.Autobuild.Shared { @@ -31,6 +30,11 @@ namespace Semmle.Autobuild.Shared /// public class MsBuildRule : IBuildRule { + /// + /// A list of solutions or projects which failed to build. + /// + public readonly List FailedProjectsOrSolutions = new(); + public BuildScript Analyse(IAutobuilder builder, bool auto) { if (!builder.ProjectsOrSolutionsToBuild.Any()) @@ -128,7 +132,13 @@ namespace Semmle.Autobuild.Shared command.Argument(builder.Options.MsBuildArguments); - ret &= command.Script; + // append the build script which invokes msbuild to the overall build script `ret`; + // we insert a check that building the current project or solution was successful: + // if it was not successful, we add it to `FailedProjectsOrSolutions` + ret &= BuildScript.OnFailure(command.Script, ret => + { + FailedProjectsOrSolutions.Add(projectOrSolution); + }); } return ret; From 9165ec92c53e8b6f2c0cae02216157a826cbf523 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 15 Feb 2023 12:32:52 +0000 Subject: [PATCH 022/145] Report .NET Core & MSBuild failures --- .../CSharpAutobuilder.cs | 33 ++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index 455bf738b2b..151fbcb8eaf 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -33,6 +33,8 @@ namespace Semmle.Autobuild.CSharp { private DotNetRule? dotNetRule; + private MsBuildRule? msBuildRule; + private BuildCommandAutoRule? buildCommandAutoRule; public CSharpAutobuilder(IBuildActions actions, CSharpAutobuildOptions options) : base(actions, options) { } @@ -106,13 +108,14 @@ namespace Semmle.Autobuild.CSharp (attemptExtractorCleanup & BuildScript.Failure); this.dotNetRule = new DotNetRule(); + this.msBuildRule = new MsBuildRule(); this.buildCommandAutoRule = new BuildCommandAutoRule(DotNetRule.WithDotNet); attempt = // First try .NET Core IntermediateAttempt(dotNetRule.Analyse(this, true)) | // Then MSBuild - (() => IntermediateAttempt(new MsBuildRule().Analyse(this, true))) | + (() => IntermediateAttempt(msBuildRule.Analyse(this, true))) | // And finally look for a script that might be a build script (() => this.buildCommandAutoRule.Analyse(this, true) & CheckExtractorRun(true)) | // All attempts failed: print message @@ -177,6 +180,34 @@ namespace Semmle.Autobuild.CSharp Diagnostic(message); } + + // report any projects that failed to build with .NET Core + if (dotNetRule is not null && dotNetRule.FailedProjectsOrSolutions.Any()) + { + var message = MakeDiagnostic("dotnet-build-failure", "Some projects or solutions failed to build using .NET Core"); + message.MarkdownMessage = + "CodeQL was unable to build the following projects using .NET Core:\n" + + string.Join('\n', dotNetRule.FailedProjectsOrSolutions.Select(p => $"- `{p.FullPath}`")) + + "\nYou can manually specify a suitable build command for your project to exclude these projects " + + "or to ensure that they can be built successfully."; + message.Severity = DiagnosticMessage.TspSeverity.Error; + + Diagnostic(message); + } + + // report any projects that failed to build with MSBuild + if (msBuildRule is not null && msBuildRule.FailedProjectsOrSolutions.Any()) + { + var message = MakeDiagnostic("msbuild-build-failure", "Some projects or solutions failed to build using MSBuild"); + message.MarkdownMessage = + "CodeQL was unable to build the following projects using MSBuild:\n" + + string.Join('\n', msBuildRule.FailedProjectsOrSolutions.Select(p => $"- `{p.FullPath}`")) + + "\nYou can manually specify a suitable build command for your project to exclude these projects " + + "or to ensure that they can be built successfully.";; + message.Severity = DiagnosticMessage.TspSeverity.Error; + + Diagnostic(message); + } } /// From b1f9a3d22a7fc82ed8e52fdb0ed58b8ed2e4d3a9 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 15 Feb 2023 13:45:38 +0000 Subject: [PATCH 023/145] Fixup: better error message for `no-projects-or-solutions` --- .../autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index 151fbcb8eaf..2ec81f90842 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -165,7 +165,9 @@ namespace Semmle.Autobuild.CSharp if (this.ProjectsOrSolutionsToBuild.Count == 0) { var message = MakeDiagnostic("no-projects-or-solutions", "No project or solutions files found"); - message.PlaintextMessage = "CodeQL could not find any project or solution files in your repository."; + message.PlaintextMessage = + "CodeQL could not find any project or solution files in your repository. " + + "You can manually specify a suitable build command for your project."; message.Severity = DiagnosticMessage.TspSeverity.Error; Diagnostic(message); From 6471889fa6977175f7b303f285941b62d488b8c5 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 16 Feb 2023 15:22:40 +0000 Subject: [PATCH 024/145] Detect missing Xamarin SDKs --- .../CSharpAutobuilder.cs | 9 +- .../CSharpDiagnosticClassifier.cs | 70 ++++++++++++++ .../Semmle.Autobuild.Shared/Autobuilder.cs | 40 +++++++- .../DiagnosticClassifier.cs | 94 +++++++++++++++++++ 4 files changed, 210 insertions(+), 3 deletions(-) create mode 100644 csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs create mode 100644 csharp/autobuilder/Semmle.Autobuild.Shared/DiagnosticClassifier.cs diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index 2ec81f90842..1b06fe073f1 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -37,7 +37,14 @@ namespace Semmle.Autobuild.CSharp private BuildCommandAutoRule? buildCommandAutoRule; - public CSharpAutobuilder(IBuildActions actions, CSharpAutobuildOptions options) : base(actions, options) { } + private readonly DiagnosticClassifier diagnosticClassifier; + + protected override DiagnosticClassifier DiagnosticClassifier => diagnosticClassifier; + + public CSharpAutobuilder(IBuildActions actions, CSharpAutobuildOptions options) : base(actions, options) + { + diagnosticClassifier = new CSharpDiagnosticClassifier(); + } public override BuildScript GetBuildScript() { diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs new file mode 100644 index 00000000000..8119b43de55 --- /dev/null +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs @@ -0,0 +1,70 @@ +using System; +using System.Linq; +using System.Text.RegularExpressions; +using Semmle.Autobuild.Shared; +using Semmle.Util; + +namespace Semmle.Autobuild.CSharp +{ + /// + /// A diagnostic rule which tries to identify missing Xamarin SDKs. + /// + public class MissingXamarinSdkRule : DiagnosticRule + { + public class Result : IDiagnosticsResult + { + /// + /// The name of the SDK that is missing. + /// + public string SDKName { get; } + + public Result(string sdkName) + { + this.SDKName = sdkName; + } + + public DiagnosticMessage ToDiagnosticMessage(Autobuilder builder) where T : AutobuildOptionsShared + { + var diag = builder.MakeDiagnostic( + $"missing-xamarin-{this.SDKName.ToLower()}-sdk", + $"Missing Xamarin SDK for {this.SDKName}" + ); + diag.PlaintextMessage = "Please install this SDK before running CodeQL."; + + return diag; + } + } + + public MissingXamarinSdkRule() : + base("MSB4019:[^\"]*\"[^\"]*/Xamarin/(?[^/]*)/Xamarin\\.(\\k)\\.CSharp\\.targets\"") + { + } + + public override void Fire(DiagnosticClassifier classifier, Match match) + { + if (!match.Groups.ContainsKey("sdkName")) + throw new ArgumentException("Expected regular expression match to contain sdkName"); + + var sdkName = match.Groups["sdkName"].Value; + var xamarinResults = classifier.Results.OfType().Where(result => + result.SDKName.Equals(sdkName) + ); + + if (!xamarinResults.Any()) + classifier.Results.Add(new Result(sdkName)); + } + } + + /// + /// Implements a which applies C#-specific rules to + /// the build output. + /// + public class CSharpDiagnosticClassifier : DiagnosticClassifier + { + public CSharpDiagnosticClassifier() + { + // add C#-specific rules to this classifier + this.AddRule(new MissingXamarinSdkRule()); + } + } +} diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs index 68b087654ec..94dcb5c987d 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs @@ -264,6 +264,8 @@ namespace Semmle.Autobuild.Shared protected string DiagnosticsDir { get; } + protected abstract DiagnosticClassifier DiagnosticClassifier { get; } + private readonly ILogger logger = new ConsoleLogger(Verbosity.Info); private readonly DiagnosticsStream diagnostics; @@ -310,7 +312,23 @@ namespace Semmle.Autobuild.Shared Log(silent ? Severity.Debug : Severity.Info, $"Exit code {ret}{(string.IsNullOrEmpty(msg) ? "" : $": {msg}")}"); } - return script.Run(Actions, startCallback, exitCallback); + var onOutput = BuildOutputHandler(Console.Out); + var onError = BuildOutputHandler(Console.Error); + + var buildResult = script.Run(Actions, startCallback, exitCallback, onOutput, onError); + + // if the build succeeded, all diagnostics we captured from the build output should be warnings; + // otherwise they should all be errors + var diagSeverity = buildResult == 0 ? DiagnosticMessage.TspSeverity.Warning : DiagnosticMessage.TspSeverity.Error; + foreach (var diagResult in this.DiagnosticClassifier.Results) + { + var diag = diagResult.ToDiagnosticMessage(this); + diag.Severity = diagSeverity; + + Diagnostic(diag); + } + + return buildResult; } /// @@ -325,7 +343,7 @@ namespace Semmle.Autobuild.Shared /// The last part of the message id. /// The human-friendly description of the message. /// The resulting . - protected DiagnosticMessage MakeDiagnostic(string id, string name) + public DiagnosticMessage MakeDiagnostic(string id, string name) { DiagnosticMessage diag = new(new($"{this.Options.Language.UpperCaseName.ToLower()}/autobuilder/{id}", name)); diag.Source.ExtractorName = Options.Language.UpperCaseName.ToLower(); @@ -368,6 +386,24 @@ namespace Semmle.Autobuild.Shared return 1; }); + /// + /// Constructs a which uses the + /// to classify build output. All data also gets written to . + /// + /// + /// The to which the build output would have normally been written to. + /// This is normally or . + /// + /// The constructed . + protected BuildOutputHandler BuildOutputHandler(TextWriter writer) => new(data => + { + if (data is not null) + { + writer.WriteLine(data); + DiagnosticClassifier.ClassifyLine(data); + } + }); + /// /// Value of CODEQL_EXTRACTOR__ROOT environment variable. /// diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/DiagnosticClassifier.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/DiagnosticClassifier.cs new file mode 100644 index 00000000000..a29129f6ded --- /dev/null +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/DiagnosticClassifier.cs @@ -0,0 +1,94 @@ +using System.Collections.Generic; +using System.Text.RegularExpressions; +using Semmle.Util; + +namespace Semmle.Autobuild.Shared +{ + /// + /// Direct results result from the successful application of a , + /// which can later be converted to a corresponding . + /// + public interface IDiagnosticsResult + { + /// + /// Produces a corresponding to this result. + /// + /// + /// The autobuilder to use for constructing the base . + /// + /// The corresponding to this result. + DiagnosticMessage ToDiagnosticMessage(Autobuilder builder) where T : AutobuildOptionsShared; + } + + public class DiagnosticRule + { + /// + /// The pattern against which this rule matches build output. + /// + public Regex Pattern { get; } + + /// + /// Constructs a diagnostic rule for the given . + /// + /// + public DiagnosticRule(Regex pattern) + { + this.Pattern = pattern; + } + + /// + /// Constructs a diagnostic rule for the given regular expression . + /// + /// + public DiagnosticRule(string pattern) + { + this.Pattern = new Regex(pattern, RegexOptions.Compiled); + } + + /// + /// Used by a to + /// signal that the rule has matched some build output with . + /// + /// The classifier which is firing the rule. + /// The that resulted from applying the rule. + public virtual void Fire(DiagnosticClassifier classifier, Match match) { } + } + + public class DiagnosticClassifier + { + private readonly List rules; + public readonly List Results; + + public DiagnosticClassifier() + { + this.rules = new List(); + this.Results = new List(); + } + + /// + /// Adds to this classifier. + /// + /// The rule to add. + protected void AddRule(DiagnosticRule rule) + { + this.rules.Add(rule); + } + + /// + /// Applies all of this classifier's rules to to see which match. + /// + /// The line to which the rules should be applied to. + public void ClassifyLine(string line) + { + foreach (var rule in this.rules) + { + var match = rule.Pattern.Match(line); + if (match.Success) + { + rule.Fire(this, match); + } + } + + } + } +} From abf3f9f2327b4448120cc0ae6b7a7a242e98b3cc Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 16 Feb 2023 15:52:13 +0000 Subject: [PATCH 025/145] Use `TryGetValue` --- .../Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs index 8119b43de55..c0c7adc5bea 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs @@ -42,16 +42,15 @@ namespace Semmle.Autobuild.CSharp public override void Fire(DiagnosticClassifier classifier, Match match) { - if (!match.Groups.ContainsKey("sdkName")) + if (!match.Groups.TryGetValue("sdkName", out var sdkName)) throw new ArgumentException("Expected regular expression match to contain sdkName"); - var sdkName = match.Groups["sdkName"].Value; var xamarinResults = classifier.Results.OfType().Where(result => - result.SDKName.Equals(sdkName) + result.SDKName.Equals(sdkName.Value) ); if (!xamarinResults.Any()) - classifier.Results.Add(new Result(sdkName)); + classifier.Results.Add(new Result(sdkName.Value)); } } From 62cd8ca26fe034bc81fa31e0b3bad4ad81e9b9c7 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 16 Feb 2023 15:52:29 +0000 Subject: [PATCH 026/145] Update C/C++ autobuilder --- .../Semmle.Autobuild.Cpp.Tests/BuildScripts.cs | 12 ++++++++++++ .../Semmle.Autobuild.Cpp/CppAutobuilder.cs | 9 ++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs b/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs index 846d8333030..160287c049a 100644 --- a/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs +++ b/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs @@ -75,6 +75,18 @@ namespace Semmle.Autobuild.Cpp.Tests throw new ArgumentException("Missing RunProcess " + pattern); } + int IBuildActions.RunProcess(string cmd, string args, string? workingDirectory, IDictionary? env, BuildOutputHandler onOutput, BuildOutputHandler onError) + { + var ret = (this as IBuildActions).RunProcess(cmd, args, workingDirectory, env, out var stdout); + + foreach (var line in stdout) + { + onOutput(line); + } + + return ret; + } + public IList DirectoryDeleteIn = new List(); void IBuildActions.DirectoryDelete(string dir, bool recursive) diff --git a/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs b/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs index 1503dedb376..5ebb3acca1c 100644 --- a/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs +++ b/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs @@ -21,7 +21,14 @@ namespace Semmle.Autobuild.Cpp public class CppAutobuilder : Autobuilder { - public CppAutobuilder(IBuildActions actions, CppAutobuildOptions options) : base(actions, options) { } + private DiagnosticClassifier classifier; + + public CppAutobuilder(IBuildActions actions, CppAutobuildOptions options) : base(actions, options) + { + classifier = new DiagnosticClassifier(); + } + + protected override DiagnosticClassifier DiagnosticClassifier => classifier; public override BuildScript GetBuildScript() { From 9d19752c2e60a8f8f1b1a984a58bcb927e5f4c2a Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 22 Feb 2023 12:29:10 +0000 Subject: [PATCH 027/145] Make improvements based on PR feedback --- .../BuildScripts.cs | 6 ++--- .../Semmle.Autobuild.Cpp/CppAutobuilder.cs | 6 ++--- .../BuildScripts.cs | 6 ++--- .../CSharpAutobuilder.cs | 14 +++++----- .../Semmle.Autobuild.CSharp/DotNetRule.cs | 16 +++-------- .../Semmle.Autobuild.Shared/Autobuilder.cs | 21 ++++++++------- .../BuildCommandAutoRule.cs | 26 +++++++----------- .../DiagnosticClassifier.cs | 5 ++-- .../extractor/Semmle.Util/Semmle.Util.csproj | 2 +- .../extractor/Semmle.Util/ToolStatusPage.cs | 27 ++++++++++++++----- 10 files changed, 60 insertions(+), 69 deletions(-) diff --git a/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs b/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs index 160287c049a..76ec2ccf1e9 100644 --- a/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs +++ b/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs @@ -1,5 +1,6 @@ using Xunit; using Semmle.Autobuild.Shared; +using Semmle.Util; using System.Collections.Generic; using System; using System.Linq; @@ -79,10 +80,7 @@ namespace Semmle.Autobuild.Cpp.Tests { var ret = (this as IBuildActions).RunProcess(cmd, args, workingDirectory, env, out var stdout); - foreach (var line in stdout) - { - onOutput(line); - } + stdout.ForEach(line => onOutput(line)); return ret; } diff --git a/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs b/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs index 5ebb3acca1c..223425a8b18 100644 --- a/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs +++ b/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs @@ -21,12 +21,10 @@ namespace Semmle.Autobuild.Cpp public class CppAutobuilder : Autobuilder { - private DiagnosticClassifier classifier; + private readonly DiagnosticClassifier classifier; - public CppAutobuilder(IBuildActions actions, CppAutobuildOptions options) : base(actions, options) - { + public CppAutobuilder(IBuildActions actions, CppAutobuildOptions options) : base(actions, options) => classifier = new DiagnosticClassifier(); - } protected override DiagnosticClassifier DiagnosticClassifier => classifier; diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs index a44c7c7918f..0243dc927d1 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs @@ -1,5 +1,6 @@ using Xunit; using Semmle.Autobuild.Shared; +using Semmle.Util; using System.Collections.Generic; using System; using System.Linq; @@ -89,10 +90,7 @@ namespace Semmle.Autobuild.CSharp.Tests { var ret = (this as IBuildActions).RunProcess(cmd, args, workingDirectory, env, out var stdout); - foreach (var line in stdout) - { - onOutput(line); - } + stdout.ForEach(line => onOutput(line)); return ret; } diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index 1b06fe073f1..5714ace6c45 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -41,10 +41,8 @@ namespace Semmle.Autobuild.CSharp protected override DiagnosticClassifier DiagnosticClassifier => diagnosticClassifier; - public CSharpAutobuilder(IBuildActions actions, CSharpAutobuildOptions options) : base(actions, options) - { + public CSharpAutobuilder(IBuildActions actions, CSharpAutobuildOptions options) : base(actions, options) => diagnosticClassifier = new CSharpDiagnosticClassifier(); - } public override BuildScript GetBuildScript() { @@ -164,7 +162,7 @@ namespace Semmle.Autobuild.CSharp } message.Severity = DiagnosticMessage.TspSeverity.Error; - Diagnostic(message); + AddDiagnostic(message); } // both dotnet and msbuild builds require project or solution files; if we haven't found any @@ -177,7 +175,7 @@ namespace Semmle.Autobuild.CSharp "You can manually specify a suitable build command for your project."; message.Severity = DiagnosticMessage.TspSeverity.Error; - Diagnostic(message); + AddDiagnostic(message); } else if (dotNetRule is not null && dotNetRule.NotDotNetProjects.Any()) { @@ -187,7 +185,7 @@ namespace Semmle.Autobuild.CSharp string.Join('\n', dotNetRule.NotDotNetProjects.Select(p => $"- `{p.FullPath}`")); message.Severity = DiagnosticMessage.TspSeverity.Warning; - Diagnostic(message); + AddDiagnostic(message); } // report any projects that failed to build with .NET Core @@ -201,7 +199,7 @@ namespace Semmle.Autobuild.CSharp "or to ensure that they can be built successfully."; message.Severity = DiagnosticMessage.TspSeverity.Error; - Diagnostic(message); + AddDiagnostic(message); } // report any projects that failed to build with MSBuild @@ -215,7 +213,7 @@ namespace Semmle.Autobuild.CSharp "or to ensure that they can be built successfully.";; message.Severity = DiagnosticMessage.TspSeverity.Error; - Diagnostic(message); + AddDiagnostic(message); } } diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/DotNetRule.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/DotNetRule.cs index 4a337bd76ac..e18058339f5 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/DotNetRule.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/DotNetRule.cs @@ -15,22 +15,14 @@ namespace Semmle.Autobuild.CSharp /// internal class DotNetRule : IBuildRule { - private IEnumerable> notDotNetProjects; - public readonly List FailedProjectsOrSolutions = new(); /// /// A list of projects which are incompatible with DotNet. /// - public IEnumerable> NotDotNetProjects - { - get { return this.notDotNetProjects; } - } + public IEnumerable> NotDotNetProjects { get; private set; } - public DotNetRule() - { - this.notDotNetProjects = new List>(); - } + public DotNetRule() => NotDotNetProjects = new List>(); public BuildScript Analyse(IAutobuilder builder, bool auto) { @@ -39,11 +31,11 @@ namespace Semmle.Autobuild.CSharp if (auto) { - notDotNetProjects = builder.ProjectsOrSolutionsToBuild + NotDotNetProjects = builder.ProjectsOrSolutionsToBuild .SelectMany(p => Enumerators.Singleton(p).Concat(p.IncludedProjects)) .OfType>() .Where(p => !p.DotNetProject); - var notDotNetProject = notDotNetProjects.FirstOrDefault(); + var notDotNetProject = NotDotNetProjects.FirstOrDefault(); if (notDotNetProject is not null) { diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs index 94dcb5c987d..48c362053ce 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs @@ -284,7 +284,7 @@ namespace Semmle.Autobuild.Shared /// Write to the diagnostics file. /// /// The diagnostics entry to write. - public void Diagnostic(DiagnosticMessage diagnostic) + public void AddDiagnostic(DiagnosticMessage diagnostic) { diagnostics.AddEntry(diagnostic); } @@ -320,13 +320,11 @@ namespace Semmle.Autobuild.Shared // if the build succeeded, all diagnostics we captured from the build output should be warnings; // otherwise they should all be errors var diagSeverity = buildResult == 0 ? DiagnosticMessage.TspSeverity.Warning : DiagnosticMessage.TspSeverity.Error; - foreach (var diagResult in this.DiagnosticClassifier.Results) + this.DiagnosticClassifier.Results.Select(result => result.ToDiagnosticMessage(this)).ForEach(result => { - var diag = diagResult.ToDiagnosticMessage(this); - diag.Severity = diagSeverity; - - Diagnostic(diag); - } + result.Severity = diagSeverity; + AddDiagnostic(result); + }); return buildResult; } @@ -345,8 +343,11 @@ namespace Semmle.Autobuild.Shared /// The resulting . public DiagnosticMessage MakeDiagnostic(string id, string name) { - DiagnosticMessage diag = new(new($"{this.Options.Language.UpperCaseName.ToLower()}/autobuilder/{id}", name)); - diag.Source.ExtractorName = Options.Language.UpperCaseName.ToLower(); + DiagnosticMessage diag = new(new( + $"{this.Options.Language.UpperCaseName.ToLower()}/autobuilder/{id}", + name, + Options.Language.UpperCaseName.ToLower() + )); diag.Visibility.StatusPage = true; return diag; @@ -367,7 +368,7 @@ namespace Semmle.Autobuild.Shared "You can manually specify a suitable build command for your project."; message.Severity = DiagnosticMessage.TspSeverity.Error; - Diagnostic(message); + AddDiagnostic(message); } /// diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildCommandAutoRule.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildCommandAutoRule.cs index 16f153a3c2a..c0990a75ae1 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildCommandAutoRule.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildCommandAutoRule.cs @@ -10,29 +10,21 @@ namespace Semmle.Autobuild.Shared public class BuildCommandAutoRule : IBuildRule { private readonly WithDotNet withDotNet; - private IEnumerable candidatePaths; - private string? scriptPath; /// /// A list of paths to files in the project directory which we classified as scripts. /// - public IEnumerable CandidatePaths - { - get { return this.candidatePaths; } - } + public IEnumerable CandidatePaths { get; private set; } /// /// The path of the script we decided to run, if any. /// - public string? ScriptPath - { - get { return this.scriptPath; } - } + public string? ScriptPath { get; private set; } public BuildCommandAutoRule(WithDotNet withDotNet) { this.withDotNet = withDotNet; - this.candidatePaths = new List(); + this.CandidatePaths = new List(); } /// @@ -70,18 +62,18 @@ namespace Semmle.Autobuild.Shared var scripts = buildScripts.SelectMany(s => extensions.Select(e => s + e)); // search through the files in the project directory for paths which end in one of // the names given by `scripts`, then order them by their distance from the root - this.candidatePaths = builder.Paths.Where(p => scripts.Any(p.Item1.ToLower().EndsWith)).OrderBy(p => p.Item2).Select(p => p.Item1); + this.CandidatePaths = builder.Paths.Where(p => scripts.Any(p.Item1.ToLower().EndsWith)).OrderBy(p => p.Item2).Select(p => p.Item1); // pick the first matching path, if there is one - this.scriptPath = candidatePaths.FirstOrDefault(); + this.ScriptPath = this.CandidatePaths.FirstOrDefault(); - if (scriptPath is null) + if (this.ScriptPath is null) return BuildScript.Failure; var chmod = new CommandBuilder(builder.Actions); - chmod.RunCommand("/bin/chmod", $"u+x {scriptPath}"); + chmod.RunCommand("/bin/chmod", $"u+x {this.ScriptPath}"); var chmodScript = builder.Actions.IsWindows() ? BuildScript.Success : BuildScript.Try(chmod.Script); - var dir = builder.Actions.GetDirectoryName(scriptPath); + var dir = builder.Actions.GetDirectoryName(this.ScriptPath); // A specific .NET Core version may be required return chmodScript & withDotNet(builder, environment => @@ -93,7 +85,7 @@ namespace Semmle.Autobuild.Shared if (vsTools is not null) command.CallBatFile(vsTools.Path); - command.RunCommand(scriptPath); + command.RunCommand(this.ScriptPath); return command.Script; }); } diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/DiagnosticClassifier.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/DiagnosticClassifier.cs index a29129f6ded..29f44e4e8f2 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/DiagnosticClassifier.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/DiagnosticClassifier.cs @@ -80,15 +80,14 @@ namespace Semmle.Autobuild.Shared /// The line to which the rules should be applied to. public void ClassifyLine(string line) { - foreach (var rule in this.rules) + this.rules.ForEach(rule => { var match = rule.Pattern.Match(line); if (match.Success) { rule.Fire(this, match); } - } - + }); } } } diff --git a/csharp/extractor/Semmle.Util/Semmle.Util.csproj b/csharp/extractor/Semmle.Util/Semmle.Util.csproj index aff07714957..894488f9f84 100644 --- a/csharp/extractor/Semmle.Util/Semmle.Util.csproj +++ b/csharp/extractor/Semmle.Util/Semmle.Util.csproj @@ -15,7 +15,7 @@ - + diff --git a/csharp/extractor/Semmle.Util/ToolStatusPage.cs b/csharp/extractor/Semmle.Util/ToolStatusPage.cs index d9b89903e01..8c650659595 100644 --- a/csharp/extractor/Semmle.Util/ToolStatusPage.cs +++ b/csharp/extractor/Semmle.Util/ToolStatusPage.cs @@ -31,12 +31,13 @@ namespace Semmle.Util /// /// Name of the CodeQL extractor. This is used to identify which tool component the reporting descriptor object should be nested under in SARIF. /// - public string? ExtractorName { get; set; } + public string? ExtractorName { get; } - public TspSource(string id, string name) + public TspSource(string id, string name, string? extractorName = null) { Id = id; Name = name; + ExtractorName = extractorName; } } @@ -66,6 +67,13 @@ namespace Semmle.Util /// True if the message should be sent to telemetry (defaults to false). /// public bool? Telemetry { get; set; } + + public TspVisibility(bool? statusPage = null, bool? cliSummaryTable = null, bool? telemetry = null) + { + this.StatusPage = statusPage; + this.CLISummaryTable = cliSummaryTable; + this.Telemetry = telemetry; + } } public class TspLocation @@ -78,6 +86,15 @@ namespace Semmle.Util public int? StartColumn { get; set; } public int? EndLine { get; set; } public int? EndColumn { get; set; } + + public TspLocation(string? file = null, int? startLine = null, int? startColumn = null, int? endLine = null, int? endColumn = null) + { + this.File = file; + this.StartLine = startLine; + this.StartColumn = startColumn; + this.EndLine = endLine; + this.EndColumn = endColumn; + } } /// @@ -109,9 +126,6 @@ namespace Semmle.Util /// If true, then this message won't be presented to users. /// public bool Internal { get; set; } - /// - /// - /// public TspVisibility Visibility { get; } public TspLocation Location { get; } /// @@ -162,7 +176,8 @@ namespace Semmle.Util serializer = new JsonSerializer { - ContractResolver = contractResolver + ContractResolver = contractResolver, + NullValueHandling = NullValueHandling.Ignore }; writer = streamWriter; From 0d5c5a7e9247dfc7920399928c0cc80d22781228 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 21 Feb 2023 14:29:09 +0000 Subject: [PATCH 028/145] Link to docs for autobuild failures --- .../Semmle.Autobuild.CSharp/CSharpAutobuilder.cs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index 5714ace6c45..105309230b3 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -31,6 +31,9 @@ namespace Semmle.Autobuild.CSharp public class CSharpAutobuilder : Autobuilder { + private const string buildCommandDocsUrl = + "https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages"; + private DotNetRule? dotNetRule; private MsBuildRule? msBuildRule; @@ -150,7 +153,7 @@ namespace Semmle.Autobuild.CSharp "CodeQL found multiple potential build scripts for your project and " + $"attempted to run `{buildCommandAutoRule.ScriptPath}`, which failed. " + "This may not be the right build script for your project. " + - "You can specify which build script to use by providing a suitable build command for your project."; + $"Set up a [manual build command]({buildCommandDocsUrl})."; } else { @@ -158,7 +161,7 @@ namespace Semmle.Autobuild.CSharp message.MarkdownMessage = "CodeQL attempted to build your project using a script located at " + $"`{buildCommandAutoRule.ScriptPath}`, which failed. " + - "You can manually specify a suitable build command for your project."; + $"Set up a [manual build command]({buildCommandDocsUrl})."; } message.Severity = DiagnosticMessage.TspSeverity.Error; @@ -172,7 +175,7 @@ namespace Semmle.Autobuild.CSharp var message = MakeDiagnostic("no-projects-or-solutions", "No project or solutions files found"); message.PlaintextMessage = "CodeQL could not find any project or solution files in your repository. " + - "You can manually specify a suitable build command for your project."; + $"Set up a [manual build command]({buildCommandDocsUrl})."; message.Severity = DiagnosticMessage.TspSeverity.Error; AddDiagnostic(message); @@ -195,8 +198,7 @@ namespace Semmle.Autobuild.CSharp message.MarkdownMessage = "CodeQL was unable to build the following projects using .NET Core:\n" + string.Join('\n', dotNetRule.FailedProjectsOrSolutions.Select(p => $"- `{p.FullPath}`")) + - "\nYou can manually specify a suitable build command for your project to exclude these projects " + - "or to ensure that they can be built successfully."; + $"\nSet up a [manual build command]({buildCommandDocsUrl})."; message.Severity = DiagnosticMessage.TspSeverity.Error; AddDiagnostic(message); @@ -209,8 +211,7 @@ namespace Semmle.Autobuild.CSharp message.MarkdownMessage = "CodeQL was unable to build the following projects using MSBuild:\n" + string.Join('\n', msBuildRule.FailedProjectsOrSolutions.Select(p => $"- `{p.FullPath}`")) + - "\nYou can manually specify a suitable build command for your project to exclude these projects " + - "or to ensure that they can be built successfully.";; + $"\nSet up a [manual build command]({buildCommandDocsUrl})."; message.Severity = DiagnosticMessage.TspSeverity.Error; AddDiagnostic(message); From 95f9d0761a94c1b08852db1c2e88cbbdbad9d7f1 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 21 Feb 2023 14:29:36 +0000 Subject: [PATCH 029/145] Add docs link for missing Xamarin SDKs --- .../Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs index c0c7adc5bea..84f5c5e7bca 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs @@ -11,6 +11,8 @@ namespace Semmle.Autobuild.CSharp /// public class MissingXamarinSdkRule : DiagnosticRule { + private const string docsUrl = "https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-xamarin-applications"; + public class Result : IDiagnosticsResult { /// @@ -29,7 +31,7 @@ namespace Semmle.Autobuild.CSharp $"missing-xamarin-{this.SDKName.ToLower()}-sdk", $"Missing Xamarin SDK for {this.SDKName}" ); - diag.PlaintextMessage = "Please install this SDK before running CodeQL."; + diag.MarkdownMessage = $"Please [configure your workflow]({docsUrl}) for this SDK before running CodeQL."; return diag; } From 65608d7900a0b9cb8da591a481750990161ee4a5 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 21 Feb 2023 15:31:30 +0000 Subject: [PATCH 030/145] Fix: drop please --- .../Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs index 84f5c5e7bca..7ff3ca6bcf3 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs @@ -31,7 +31,7 @@ namespace Semmle.Autobuild.CSharp $"missing-xamarin-{this.SDKName.ToLower()}-sdk", $"Missing Xamarin SDK for {this.SDKName}" ); - diag.MarkdownMessage = $"Please [configure your workflow]({docsUrl}) for this SDK before running CodeQL."; + diag.MarkdownMessage = $"[Configure your workflow]({docsUrl}) for this SDK before running CodeQL."; return diag; } From 5b6444d32d4ec63aa5681681fa061785b53be1f8 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 23 Feb 2023 14:23:46 +0000 Subject: [PATCH 031/145] Refactor autobuild logic into an `IBuildRule` --- .../Semmle.Autobuild.CSharp/AutoBuildRule.cs | 69 +++++++++++ .../CSharpAutobuilder.cs | 110 ++++++------------ .../Semmle.Autobuild.Shared/Autobuilder.cs | 6 +- 3 files changed, 105 insertions(+), 80 deletions(-) create mode 100644 csharp/autobuilder/Semmle.Autobuild.CSharp/AutoBuildRule.cs diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/AutoBuildRule.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/AutoBuildRule.cs new file mode 100644 index 00000000000..cd138d62af5 --- /dev/null +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/AutoBuildRule.cs @@ -0,0 +1,69 @@ +using Semmle.Autobuild.Shared; +using Semmle.Extraction.CSharp; + +namespace Semmle.Autobuild.CSharp +{ + internal class AutoBuildRule : IBuildRule + { + private readonly CSharpAutobuilder autobuilder; + + public DotNetRule DotNetRule { get; } + + public MsBuildRule MsBuildRule { get; } + + public BuildCommandAutoRule BuildCommandAutoRule { get; } + + public AutoBuildRule(CSharpAutobuilder autobuilder) + { + this.autobuilder = autobuilder; + this.DotNetRule = new DotNetRule(); + this.MsBuildRule = new MsBuildRule(); + this.BuildCommandAutoRule = new BuildCommandAutoRule(DotNetRule.WithDotNet); + } + + public BuildScript Analyse(IAutobuilder builder, bool auto) + { + var cleanTrapFolder = + BuildScript.DeleteDirectory(this.autobuilder.TrapDir); + var cleanSourceArchive = + BuildScript.DeleteDirectory(this.autobuilder.SourceArchiveDir); + var tryCleanExtractorArgsLogs = + BuildScript.Create(actions => + { + foreach (var file in Extractor.GetCSharpArgsLogs()) + { + try + { + actions.FileDelete(file); + } + catch // lgtm[cs/catch-of-all-exceptions] lgtm[cs/empty-catch-block] + { } + } + + return 0; + }); + var attemptExtractorCleanup = + BuildScript.Try(cleanTrapFolder) & + BuildScript.Try(cleanSourceArchive) & + tryCleanExtractorArgsLogs & + BuildScript.DeleteFile(Extractor.GetCSharpLogPath()); + + /// + /// Execute script `s` and check that the C# extractor has been executed. + /// If either fails, attempt to cleanup any artifacts produced by the extractor, + /// and exit with code 1, in order to proceed to the next attempt. + /// + BuildScript IntermediateAttempt(BuildScript s) => + (s & this.autobuilder.CheckExtractorRun(false)) | + (attemptExtractorCleanup & BuildScript.Failure); + + return + // First try .NET Core + IntermediateAttempt(this.DotNetRule.Analyse(this.autobuilder, true)) | + // Then MSBuild + (() => IntermediateAttempt(this.MsBuildRule.Analyse(this.autobuilder, true))) | + // And finally look for a script that might be a build script + (() => this.BuildCommandAutoRule.Analyse(this.autobuilder, true) & this.autobuilder.CheckExtractorRun(true)); + } + } +} diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index 105309230b3..d93380de938 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -34,36 +34,20 @@ namespace Semmle.Autobuild.CSharp private const string buildCommandDocsUrl = "https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages"; - private DotNetRule? dotNetRule; - - private MsBuildRule? msBuildRule; - - private BuildCommandAutoRule? buildCommandAutoRule; + private readonly AutoBuildRule autoBuildRule; private readonly DiagnosticClassifier diagnosticClassifier; protected override DiagnosticClassifier DiagnosticClassifier => diagnosticClassifier; - public CSharpAutobuilder(IBuildActions actions, CSharpAutobuildOptions options) : base(actions, options) => - diagnosticClassifier = new CSharpDiagnosticClassifier(); + public CSharpAutobuilder(IBuildActions actions, CSharpAutobuildOptions options) : base(actions, options) + { + this.autoBuildRule = new AutoBuildRule(this); + this.diagnosticClassifier = new CSharpDiagnosticClassifier(); + } public override BuildScript GetBuildScript() { - /// - /// A script that checks that the C# extractor has been executed. - /// - BuildScript CheckExtractorRun(bool warnOnFailure) => - BuildScript.Create(actions => - { - if (actions.FileExists(Extractor.GetCSharpLogPath())) - return 0; - - if (warnOnFailure) - Log(Severity.Error, "No C# code detected during build."); - - return 1; - }); - var attempt = BuildScript.Failure; switch (GetCSharpBuildStrategy()) { @@ -81,51 +65,9 @@ namespace Semmle.Autobuild.CSharp attempt = new DotNetRule().Analyse(this, false) & CheckExtractorRun(true); break; case CSharpBuildStrategy.Auto: - var cleanTrapFolder = - BuildScript.DeleteDirectory(TrapDir); - var cleanSourceArchive = - BuildScript.DeleteDirectory(SourceArchiveDir); - var tryCleanExtractorArgsLogs = - BuildScript.Create(actions => - { - foreach (var file in Extractor.GetCSharpArgsLogs()) - { - try - { - actions.FileDelete(file); - } - catch // lgtm[cs/catch-of-all-exceptions] lgtm[cs/empty-catch-block] - { } - } - - return 0; - }); - var attemptExtractorCleanup = - BuildScript.Try(cleanTrapFolder) & - BuildScript.Try(cleanSourceArchive) & - tryCleanExtractorArgsLogs & - BuildScript.DeleteFile(Extractor.GetCSharpLogPath()); - - /// - /// Execute script `s` and check that the C# extractor has been executed. - /// If either fails, attempt to cleanup any artifacts produced by the extractor, - /// and exit with code 1, in order to proceed to the next attempt. - /// - BuildScript IntermediateAttempt(BuildScript s) => - (s & CheckExtractorRun(false)) | - (attemptExtractorCleanup & BuildScript.Failure); - - this.dotNetRule = new DotNetRule(); - this.msBuildRule = new MsBuildRule(); - this.buildCommandAutoRule = new BuildCommandAutoRule(DotNetRule.WithDotNet); - attempt = - // First try .NET Core - IntermediateAttempt(dotNetRule.Analyse(this, true)) | - // Then MSBuild - (() => IntermediateAttempt(msBuildRule.Analyse(this, true))) | - // And finally look for a script that might be a build script - (() => this.buildCommandAutoRule.Analyse(this, true) & CheckExtractorRun(true)) | + // Attempt a few different build strategies to see if one works + this.autoBuildRule.Analyse(this, true) | // All attempts failed: print message AutobuildFailure(); break; @@ -134,24 +76,38 @@ namespace Semmle.Autobuild.CSharp return attempt; } + /// + /// A script that checks that the C# extractor has been executed. + /// + public BuildScript CheckExtractorRun(bool warnOnFailure) => + BuildScript.Create(actions => + { + if (actions.FileExists(Extractor.GetCSharpLogPath())) + return 0; + + if (warnOnFailure) + Log(Severity.Error, "No C# code detected during build."); + + return 1; + }); + protected override void AutobuildFailureDiagnostic() { // if `ScriptPath` is not null here, the `BuildCommandAuto` rule was // run and found at least one script to execute - if (this.buildCommandAutoRule is not null && - this.buildCommandAutoRule.ScriptPath is not null) + if (this.autoBuildRule.BuildCommandAutoRule.ScriptPath is not null) { DiagnosticMessage message; // if we found multiple build scripts in the project directory, then we can say // as much to indicate that we may have picked the wrong one; // otherwise, we just report that the one script we found didn't work - if (this.buildCommandAutoRule.CandidatePaths.Count() > 1) + if (this.autoBuildRule.BuildCommandAutoRule.CandidatePaths.Count() > 1) { message = MakeDiagnostic("multiple-build-scripts", "There are multiple potential build scripts"); message.MarkdownMessage = "CodeQL found multiple potential build scripts for your project and " + - $"attempted to run `{buildCommandAutoRule.ScriptPath}`, which failed. " + + $"attempted to run `{autoBuildRule.BuildCommandAutoRule.ScriptPath}`, which failed. " + "This may not be the right build script for your project. " + $"Set up a [manual build command]({buildCommandDocsUrl})."; } @@ -160,7 +116,7 @@ namespace Semmle.Autobuild.CSharp message = MakeDiagnostic("script-failure", "Unable to build project using build script"); message.MarkdownMessage = "CodeQL attempted to build your project using a script located at " + - $"`{buildCommandAutoRule.ScriptPath}`, which failed. " + + $"`{autoBuildRule.BuildCommandAutoRule.ScriptPath}`, which failed. " + $"Set up a [manual build command]({buildCommandDocsUrl})."; } @@ -180,24 +136,24 @@ namespace Semmle.Autobuild.CSharp AddDiagnostic(message); } - else if (dotNetRule is not null && dotNetRule.NotDotNetProjects.Any()) + else if (autoBuildRule.DotNetRule.NotDotNetProjects.Any()) { var message = MakeDiagnostic("dotnet-incompatible-projects", "Some projects are incompatible with .NET Core"); message.MarkdownMessage = "CodeQL found some projects which cannot be built with .NET Core:\n" + - string.Join('\n', dotNetRule.NotDotNetProjects.Select(p => $"- `{p.FullPath}`")); + string.Join('\n', autoBuildRule.DotNetRule.NotDotNetProjects.Select(p => $"- `{p.FullPath}`")); message.Severity = DiagnosticMessage.TspSeverity.Warning; AddDiagnostic(message); } // report any projects that failed to build with .NET Core - if (dotNetRule is not null && dotNetRule.FailedProjectsOrSolutions.Any()) + if (autoBuildRule.DotNetRule.FailedProjectsOrSolutions.Any()) { var message = MakeDiagnostic("dotnet-build-failure", "Some projects or solutions failed to build using .NET Core"); message.MarkdownMessage = "CodeQL was unable to build the following projects using .NET Core:\n" + - string.Join('\n', dotNetRule.FailedProjectsOrSolutions.Select(p => $"- `{p.FullPath}`")) + + string.Join('\n', autoBuildRule.DotNetRule.FailedProjectsOrSolutions.Select(p => $"- `{p.FullPath}`")) + $"\nSet up a [manual build command]({buildCommandDocsUrl})."; message.Severity = DiagnosticMessage.TspSeverity.Error; @@ -205,12 +161,12 @@ namespace Semmle.Autobuild.CSharp } // report any projects that failed to build with MSBuild - if (msBuildRule is not null && msBuildRule.FailedProjectsOrSolutions.Any()) + if (autoBuildRule.MsBuildRule.FailedProjectsOrSolutions.Any()) { var message = MakeDiagnostic("msbuild-build-failure", "Some projects or solutions failed to build using MSBuild"); message.MarkdownMessage = "CodeQL was unable to build the following projects using MSBuild:\n" + - string.Join('\n', msBuildRule.FailedProjectsOrSolutions.Select(p => $"- `{p.FullPath}`")) + + string.Join('\n', autoBuildRule.MsBuildRule.FailedProjectsOrSolutions.Select(p => $"- `{p.FullPath}`")) + $"\nSet up a [manual build command]({buildCommandDocsUrl})."; message.Severity = DiagnosticMessage.TspSeverity.Error; diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs index 48c362053ce..55f50caa87f 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs @@ -258,11 +258,11 @@ namespace Semmle.Autobuild.Shared throw new InvalidEnvironmentException($"The environment variable {name} has not been set."); } - protected string TrapDir { get; } + public string TrapDir { get; } - protected string SourceArchiveDir { get; } + public string SourceArchiveDir { get; } - protected string DiagnosticsDir { get; } + public string DiagnosticsDir { get; } protected abstract DiagnosticClassifier DiagnosticClassifier { get; } From b97c885c8d540cbbfa439a734bc3639a784b18a1 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 23 Feb 2023 14:47:45 +0000 Subject: [PATCH 032/145] Add helper for markdown lists of projects --- .../CSharpAutobuilder.cs | 7 ++- .../Semmle.Autobuild.Shared/MarkdownUtil.cs | 57 +++++++++++++++++++ 2 files changed, 61 insertions(+), 3 deletions(-) create mode 100644 csharp/autobuilder/Semmle.Autobuild.Shared/MarkdownUtil.cs diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index d93380de938..5e82474b261 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -3,6 +3,7 @@ using Semmle.Util.Logging; using Semmle.Autobuild.Shared; using Semmle.Util; using System.Linq; +using System.Collections.Generic; namespace Semmle.Autobuild.CSharp { @@ -141,7 +142,7 @@ namespace Semmle.Autobuild.CSharp var message = MakeDiagnostic("dotnet-incompatible-projects", "Some projects are incompatible with .NET Core"); message.MarkdownMessage = "CodeQL found some projects which cannot be built with .NET Core:\n" + - string.Join('\n', autoBuildRule.DotNetRule.NotDotNetProjects.Select(p => $"- `{p.FullPath}`")); + autoBuildRule.DotNetRule.NotDotNetProjects.ToMarkdownList(5); message.Severity = DiagnosticMessage.TspSeverity.Warning; AddDiagnostic(message); @@ -153,7 +154,7 @@ namespace Semmle.Autobuild.CSharp var message = MakeDiagnostic("dotnet-build-failure", "Some projects or solutions failed to build using .NET Core"); message.MarkdownMessage = "CodeQL was unable to build the following projects using .NET Core:\n" + - string.Join('\n', autoBuildRule.DotNetRule.FailedProjectsOrSolutions.Select(p => $"- `{p.FullPath}`")) + + autoBuildRule.DotNetRule.FailedProjectsOrSolutions.ToMarkdownList(10) + $"\nSet up a [manual build command]({buildCommandDocsUrl})."; message.Severity = DiagnosticMessage.TspSeverity.Error; @@ -166,7 +167,7 @@ namespace Semmle.Autobuild.CSharp var message = MakeDiagnostic("msbuild-build-failure", "Some projects or solutions failed to build using MSBuild"); message.MarkdownMessage = "CodeQL was unable to build the following projects using MSBuild:\n" + - string.Join('\n', autoBuildRule.MsBuildRule.FailedProjectsOrSolutions.Select(p => $"- `{p.FullPath}`")) + + autoBuildRule.MsBuildRule.FailedProjectsOrSolutions.ToMarkdownList(10) + $"\nSet up a [manual build command]({buildCommandDocsUrl})."; message.Severity = DiagnosticMessage.TspSeverity.Error; diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/MarkdownUtil.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/MarkdownUtil.cs new file mode 100644 index 00000000000..ea2edfcf7ee --- /dev/null +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/MarkdownUtil.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Semmle.Autobuild.Shared +{ + public static class MarkdownUtil + { + /// + /// Formats items as markdown inline code. + /// + /// A function which formats items as markdown inline code. + public static readonly Func CodeFormatter = item => $"`{item}`"; + + /// + /// Renders as a markdown list of the project paths. + /// + /// + /// The list of projects whose paths should be rendered as a markdown list. + /// + /// The maximum number of items to include in the list. + /// Returns the markdown list as a string. + public static string ToMarkdownList(this IEnumerable projects, int? limit = null) + { + return projects.ToMarkdownList(p => $"`{p.FullPath}`", limit); + } + + /// + /// Renders as a markdown list. + /// + /// The item type. + /// The list that should be formatted as a markdown list. + /// A function which converts individual items into a string representation. + /// The maximum number of items to include in the list. + /// Returns the markdown list as a string. + public static string ToMarkdownList(this IEnumerable items, Func formatter, int? limit = null) + { + var sb = new StringBuilder(); + + // if there is a limit, take at most that many items from the start of the list + var list = limit is not null ? items.Take(limit.Value) : items; + sb.Append(string.Join('\n', list.Select(item => $"- {formatter(item)}"))); + + // if there were more items than allowed in the list, add an extra item indicating + // how many more items there were + var length = items.Count(); + + if (limit is not null && length > limit) + { + sb.Append($"\n- and {length - limit} more. View the CodeQL logs for a full list."); + } + + return sb.ToString(); + } + } +} From b2d1cfe3d142b1b16252b3b8067dbafd3e4429f0 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 22 Feb 2023 11:33:47 +0000 Subject: [PATCH 033/145] Add diagnostic for missing project files --- .../CSharpDiagnosticClassifier.cs | 66 +++++++++++++++++++ .../Semmle.Autobuild.Shared/MarkdownUtil.cs | 8 +++ 2 files changed, 74 insertions(+) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs index 7ff3ca6bcf3..49f1b384a19 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Semmle.Autobuild.Shared; @@ -56,6 +57,70 @@ namespace Semmle.Autobuild.CSharp } } + public class MissingProjectFileRule : DiagnosticRule + { + private const string runsOnDocsUrl = "https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on"; + private const string checkoutDocsUrl = "https://github.com/actions/checkout#usage"; + + public class Result : IDiagnosticsResult + { + /// + /// A set of missing project files. + /// + public HashSet MissingProjectFiles { get; } + + public Result() + { + this.MissingProjectFiles = new HashSet(); + } + + public DiagnosticMessage ToDiagnosticMessage(Autobuilder builder) where T : AutobuildOptionsShared + { + var diag = builder.MakeDiagnostic( + $"missing-project-files", + $"Missing project files" + ); + diag.MarkdownMessage = + "Some project files were not found when CodeQL built your project:\n\n" + + this.MissingProjectFiles.AsEnumerable().ToMarkdownList(MarkdownUtil.CodeFormatter, 5) + + "\n\nThis may lead to subsequent failures. " + + "You can check for common causes for missing project files:\n\n" + + $"- Ensure that the project is built using the {runsOnDocsUrl.ToMarkdownLink("intended operating system")} and that filenames on case-sensitive platforms are correctly specified.\n" + + $"- If your repository uses Git submodules, ensure that those are {checkoutDocsUrl.ToMarkdownLink("checked out")} before the CodeQL action is run.\n" + + "- If you auto-generate some project files as part of your build process, ensure that these are generated before the CodeQL action is run."; + diag.Severity = DiagnosticMessage.TspSeverity.Warning; + + return diag; + } + } + + public MissingProjectFileRule() : + base("MSB3202: The project file \"(?[^\"]+)\" was not found. \\[(?[^\\]]+)\\]") + { + } + + public override void Fire(DiagnosticClassifier classifier, Match match) + { + if (!match.Groups.TryGetValue("projectFile", out var projectFile)) + throw new ArgumentException("Expected regular expression match to contain projectFile"); + if (!match.Groups.TryGetValue("location", out var location)) + throw new ArgumentException("Expected regular expression match to contain location"); + + var result = classifier.Results.OfType().FirstOrDefault(); + + // if we do not yet have a result for this rule, create one and add it to the list + // of results the classifier knows about + if (result is null) + { + result = new Result(); + classifier.Results.Add(result); + } + + // then add the missing project file + result.MissingProjectFiles.Add(projectFile.Value); + } + } + /// /// Implements a which applies C#-specific rules to /// the build output. @@ -66,6 +131,7 @@ namespace Semmle.Autobuild.CSharp { // add C#-specific rules to this classifier this.AddRule(new MissingXamarinSdkRule()); + this.AddRule(new MissingProjectFileRule()); } } } diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/MarkdownUtil.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/MarkdownUtil.cs index ea2edfcf7ee..13a3533eb31 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/MarkdownUtil.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/MarkdownUtil.cs @@ -13,6 +13,14 @@ namespace Semmle.Autobuild.Shared /// A function which formats items as markdown inline code. public static readonly Func CodeFormatter = item => $"`{item}`"; + /// + /// Formats the string as a markdown link. + /// + /// The URL for the link. + /// The text that is displayed. + /// A string containing a markdown-formatted link. + public static string ToMarkdownLink(this string link, string title) => $"[{title}]({link})"; + /// /// Renders as a markdown list of the project paths. /// From b26f9d0ff12bee909cae14efd074e1f83b354a6e Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 24 Feb 2023 13:47:56 +0000 Subject: [PATCH 034/145] Use relative paths --- .../Semmle.Autobuild.CSharp/CSharpAutobuilder.cs | 14 +++++++------- .../CSharpDiagnosticClassifier.cs | 2 +- .../Semmle.Autobuild.Shared/Autobuilder.cs | 10 ++++++++++ 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index 5e82474b261..a9a44622f82 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -1,9 +1,8 @@ -using Semmle.Extraction.CSharp; +using Semmle.Extraction.CSharp; using Semmle.Util.Logging; using Semmle.Autobuild.Shared; using Semmle.Util; using System.Linq; -using System.Collections.Generic; namespace Semmle.Autobuild.CSharp { @@ -99,6 +98,7 @@ namespace Semmle.Autobuild.CSharp if (this.autoBuildRule.BuildCommandAutoRule.ScriptPath is not null) { DiagnosticMessage message; + var relScriptPath = this.MakeRelative(autoBuildRule.BuildCommandAutoRule.ScriptPath); // if we found multiple build scripts in the project directory, then we can say // as much to indicate that we may have picked the wrong one; @@ -108,7 +108,7 @@ namespace Semmle.Autobuild.CSharp message = MakeDiagnostic("multiple-build-scripts", "There are multiple potential build scripts"); message.MarkdownMessage = "CodeQL found multiple potential build scripts for your project and " + - $"attempted to run `{autoBuildRule.BuildCommandAutoRule.ScriptPath}`, which failed. " + + $"attempted to run `{relScriptPath}`, which failed. " + "This may not be the right build script for your project. " + $"Set up a [manual build command]({buildCommandDocsUrl})."; } @@ -117,7 +117,7 @@ namespace Semmle.Autobuild.CSharp message = MakeDiagnostic("script-failure", "Unable to build project using build script"); message.MarkdownMessage = "CodeQL attempted to build your project using a script located at " + - $"`{autoBuildRule.BuildCommandAutoRule.ScriptPath}`, which failed. " + + $"`{relScriptPath}`, which failed. " + $"Set up a [manual build command]({buildCommandDocsUrl})."; } @@ -142,7 +142,7 @@ namespace Semmle.Autobuild.CSharp var message = MakeDiagnostic("dotnet-incompatible-projects", "Some projects are incompatible with .NET Core"); message.MarkdownMessage = "CodeQL found some projects which cannot be built with .NET Core:\n" + - autoBuildRule.DotNetRule.NotDotNetProjects.ToMarkdownList(5); + autoBuildRule.DotNetRule.NotDotNetProjects.Select(p => this.MakeRelative(p.FullPath)).ToMarkdownList(MarkdownUtil.CodeFormatter, 5); message.Severity = DiagnosticMessage.TspSeverity.Warning; AddDiagnostic(message); @@ -154,7 +154,7 @@ namespace Semmle.Autobuild.CSharp var message = MakeDiagnostic("dotnet-build-failure", "Some projects or solutions failed to build using .NET Core"); message.MarkdownMessage = "CodeQL was unable to build the following projects using .NET Core:\n" + - autoBuildRule.DotNetRule.FailedProjectsOrSolutions.ToMarkdownList(10) + + autoBuildRule.DotNetRule.FailedProjectsOrSolutions.Select(p => this.MakeRelative(p.FullPath)).ToMarkdownList(MarkdownUtil.CodeFormatter, 10) + $"\nSet up a [manual build command]({buildCommandDocsUrl})."; message.Severity = DiagnosticMessage.TspSeverity.Error; @@ -167,7 +167,7 @@ namespace Semmle.Autobuild.CSharp var message = MakeDiagnostic("msbuild-build-failure", "Some projects or solutions failed to build using MSBuild"); message.MarkdownMessage = "CodeQL was unable to build the following projects using MSBuild:\n" + - autoBuildRule.MsBuildRule.FailedProjectsOrSolutions.ToMarkdownList(10) + + autoBuildRule.MsBuildRule.FailedProjectsOrSolutions.Select(p => this.MakeRelative(p.FullPath)).ToMarkdownList(MarkdownUtil.CodeFormatter, 10) + $"\nSet up a [manual build command]({buildCommandDocsUrl})."; message.Severity = DiagnosticMessage.TspSeverity.Error; diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs index 49f1b384a19..063daf3370a 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs @@ -82,7 +82,7 @@ namespace Semmle.Autobuild.CSharp ); diag.MarkdownMessage = "Some project files were not found when CodeQL built your project:\n\n" + - this.MissingProjectFiles.AsEnumerable().ToMarkdownList(MarkdownUtil.CodeFormatter, 5) + + this.MissingProjectFiles.AsEnumerable().Select(p => builder.MakeRelative(p)).ToMarkdownList(MarkdownUtil.CodeFormatter, 5) + "\n\nThis may lead to subsequent failures. " + "You can check for common causes for missing project files:\n\n" + $"- Ensure that the project is built using the {runsOnDocsUrl.ToMarkdownLink("intended operating system")} and that filenames on case-sensitive platforms are correctly specified.\n" + diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs index 55f50caa87f..d5523f1b6e7 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs @@ -270,6 +270,16 @@ namespace Semmle.Autobuild.Shared private readonly DiagnosticsStream diagnostics; + /// + /// Makes relative to the root source directory. + /// + /// The path which to make relative. + /// The relative path. + public string MakeRelative(string path) + { + return Path.GetRelativePath(this.RootDirectory, path); + } + /// /// Log a given build event to the console. /// From 6eda71b659fd2f17c168d8198d46f093f9eccc72 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 24 Feb 2023 13:48:34 +0000 Subject: [PATCH 035/145] Add tests for build script diagnostics --- .../posix-only/diag_autobuild_script/build.sh | 3 ++ .../diagnostics.expected | 32 +++++++++++++++++++ .../posix-only/diag_autobuild_script/test.py | 5 +++ .../posix-only/diag_multiple_scripts/build.sh | 3 ++ .../diagnostics.expected | 32 +++++++++++++++++++ .../diag_multiple_scripts/scripts/build.sh | 3 ++ .../posix-only/diag_multiple_scripts/test.py | 5 +++ .../diag_autobuild_script/build.bat | 1 + .../diagnostics.expected | 32 +++++++++++++++++++ .../diag_autobuild_script/test.py | 5 +++ .../diag_multiple_scripts/build.bat | 1 + .../diagnostics.expected | 32 +++++++++++++++++++ .../diag_multiple_scripts/scripts/build.bat | 1 + .../diag_multiple_scripts/test.py | 5 +++ 14 files changed, 160 insertions(+) create mode 100755 csharp/ql/integration-tests/posix-only/diag_autobuild_script/build.sh create mode 100644 csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected create mode 100644 csharp/ql/integration-tests/posix-only/diag_autobuild_script/test.py create mode 100755 csharp/ql/integration-tests/posix-only/diag_multiple_scripts/build.sh create mode 100644 csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected create mode 100755 csharp/ql/integration-tests/posix-only/diag_multiple_scripts/scripts/build.sh create mode 100644 csharp/ql/integration-tests/posix-only/diag_multiple_scripts/test.py create mode 100644 csharp/ql/integration-tests/windows-only/diag_autobuild_script/build.bat create mode 100644 csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected create mode 100644 csharp/ql/integration-tests/windows-only/diag_autobuild_script/test.py create mode 100644 csharp/ql/integration-tests/windows-only/diag_multiple_scripts/build.bat create mode 100644 csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected create mode 100644 csharp/ql/integration-tests/windows-only/diag_multiple_scripts/scripts/build.bat create mode 100644 csharp/ql/integration-tests/windows-only/diag_multiple_scripts/test.py diff --git a/csharp/ql/integration-tests/posix-only/diag_autobuild_script/build.sh b/csharp/ql/integration-tests/posix-only/diag_autobuild_script/build.sh new file mode 100755 index 00000000000..2bb8d868bd0 --- /dev/null +++ b/csharp/ql/integration-tests/posix-only/diag_autobuild_script/build.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 1 diff --git a/csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected b/csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected new file mode 100644 index 00000000000..69bcf765eee --- /dev/null +++ b/csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected @@ -0,0 +1,32 @@ +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "markdownMessage": "CodeQL attempted to build your project using a script located at `build.sh`, which failed. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/script-failure", + "name": "Unable to build project using build script" + }, + "visibility": { + "statusPage": true + } +} +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "plaintextMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/no-projects-or-solutions", + "name": "No project or solutions files found" + }, + "visibility": { + "statusPage": true + } +} diff --git a/csharp/ql/integration-tests/posix-only/diag_autobuild_script/test.py b/csharp/ql/integration-tests/posix-only/diag_autobuild_script/test.py new file mode 100644 index 00000000000..62c4d3934a4 --- /dev/null +++ b/csharp/ql/integration-tests/posix-only/diag_autobuild_script/test.py @@ -0,0 +1,5 @@ +from create_database_utils import * +from diagnostics_test_utils import * + +run_codeql_database_create([], db=None, lang="csharp", runFunction=runUnsuccessfully) +check_diagnostics() diff --git a/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/build.sh b/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/build.sh new file mode 100755 index 00000000000..2bb8d868bd0 --- /dev/null +++ b/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/build.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 1 diff --git a/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected b/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected new file mode 100644 index 00000000000..253ef636fd1 --- /dev/null +++ b/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected @@ -0,0 +1,32 @@ +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "markdownMessage": "CodeQL found multiple potential build scripts for your project and attempted to run `build.sh`, which failed. This may not be the right build script for your project. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/multiple-build-scripts", + "name": "There are multiple potential build scripts" + }, + "visibility": { + "statusPage": true + } +} +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "plaintextMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/no-projects-or-solutions", + "name": "No project or solutions files found" + }, + "visibility": { + "statusPage": true + } +} diff --git a/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/scripts/build.sh b/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/scripts/build.sh new file mode 100755 index 00000000000..2bb8d868bd0 --- /dev/null +++ b/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/scripts/build.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 1 diff --git a/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/test.py b/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/test.py new file mode 100644 index 00000000000..62c4d3934a4 --- /dev/null +++ b/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/test.py @@ -0,0 +1,5 @@ +from create_database_utils import * +from diagnostics_test_utils import * + +run_codeql_database_create([], db=None, lang="csharp", runFunction=runUnsuccessfully) +check_diagnostics() diff --git a/csharp/ql/integration-tests/windows-only/diag_autobuild_script/build.bat b/csharp/ql/integration-tests/windows-only/diag_autobuild_script/build.bat new file mode 100644 index 00000000000..8f7ce95c0eb --- /dev/null +++ b/csharp/ql/integration-tests/windows-only/diag_autobuild_script/build.bat @@ -0,0 +1 @@ +exit /b 1 diff --git a/csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected b/csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected new file mode 100644 index 00000000000..a5096fcbf7b --- /dev/null +++ b/csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected @@ -0,0 +1,32 @@ +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "markdownMessage": "CodeQL attempted to build your project using a script located at `build.bat`, which failed. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/script-failure", + "name": "Unable to build project using build script" + }, + "visibility": { + "statusPage": true + } +} +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "plaintextMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/no-projects-or-solutions", + "name": "No project or solutions files found" + }, + "visibility": { + "statusPage": true + } +} diff --git a/csharp/ql/integration-tests/windows-only/diag_autobuild_script/test.py b/csharp/ql/integration-tests/windows-only/diag_autobuild_script/test.py new file mode 100644 index 00000000000..62c4d3934a4 --- /dev/null +++ b/csharp/ql/integration-tests/windows-only/diag_autobuild_script/test.py @@ -0,0 +1,5 @@ +from create_database_utils import * +from diagnostics_test_utils import * + +run_codeql_database_create([], db=None, lang="csharp", runFunction=runUnsuccessfully) +check_diagnostics() diff --git a/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/build.bat b/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/build.bat new file mode 100644 index 00000000000..8f7ce95c0eb --- /dev/null +++ b/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/build.bat @@ -0,0 +1 @@ +exit /b 1 diff --git a/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected b/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected new file mode 100644 index 00000000000..91815aa78af --- /dev/null +++ b/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected @@ -0,0 +1,32 @@ +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "markdownMessage": "CodeQL found multiple potential build scripts for your project and attempted to run `build.bat`, which failed. This may not be the right build script for your project. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/multiple-build-scripts", + "name": "There are multiple potential build scripts" + }, + "visibility": { + "statusPage": true + } +} +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "plaintextMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/no-projects-or-solutions", + "name": "No project or solutions files found" + }, + "visibility": { + "statusPage": true + } +} diff --git a/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/scripts/build.bat b/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/scripts/build.bat new file mode 100644 index 00000000000..8f7ce95c0eb --- /dev/null +++ b/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/scripts/build.bat @@ -0,0 +1 @@ +exit /b 1 diff --git a/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/test.py b/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/test.py new file mode 100644 index 00000000000..62c4d3934a4 --- /dev/null +++ b/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/test.py @@ -0,0 +1,5 @@ +from create_database_utils import * +from diagnostics_test_utils import * + +run_codeql_database_create([], db=None, lang="csharp", runFunction=runUnsuccessfully) +check_diagnostics() From 04aaccb18639bf1ae6f68a38c790781f123a7fef Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 24 Feb 2023 14:16:20 +0000 Subject: [PATCH 036/145] Fix C++ test missing env var --- cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs b/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs index 76ec2ccf1e9..ecb2e58174d 100644 --- a/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs +++ b/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs @@ -253,6 +253,7 @@ namespace Semmle.Autobuild.Cpp.Tests Actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_TRAP_DIR"] = ""; Actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_SOURCE_ARCHIVE_DIR"] = ""; Actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_ROOT"] = $@"C:\codeql\{codeqlUpperLanguage.ToLowerInvariant()}"; + Actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_DIAGNOSTIC_DIR"] = Path.GetTempPath(); Actions.GetEnvironmentVariable["CODEQL_JAVA_HOME"] = @"C:\codeql\tools\java"; Actions.GetEnvironmentVariable["CODEQL_PLATFORM"] = "win64"; Actions.GetEnvironmentVariable["SEMMLE_DIST"] = @"C:\odasa"; From 5c641362bc49e39ed2a7cc638b8f0861ece84d32 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 24 Feb 2023 16:16:33 +0000 Subject: [PATCH 037/145] Show .NET core error only if files exist --- .../Semmle.Autobuild.CSharp/CSharpAutobuilder.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index a9a44622f82..106088906a2 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -125,6 +125,12 @@ namespace Semmle.Autobuild.CSharp AddDiagnostic(message); } + // project files which don't exist get marked as not .NET core projects, but we don't want + // to show an error for this if the files don't exist + var foundNotDotNetProjects = autoBuildRule.DotNetRule.NotDotNetProjects.Where( + proj => this.Actions.FileExists(proj.FullPath) + ); + // both dotnet and msbuild builds require project or solution files; if we haven't found any // then neither of those rules would've worked if (this.ProjectsOrSolutionsToBuild.Count == 0) @@ -137,7 +143,8 @@ namespace Semmle.Autobuild.CSharp AddDiagnostic(message); } - else if (autoBuildRule.DotNetRule.NotDotNetProjects.Any()) + // show a warning if there are projects which are not compatible with .NET Core, in case that is unintentional + else if (foundNotDotNetProjects.Any()) { var message = MakeDiagnostic("dotnet-incompatible-projects", "Some projects are incompatible with .NET Core"); message.MarkdownMessage = From 40bda03180d1f828a6a9d299104016dbbe748426 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 24 Feb 2023 16:23:52 +0000 Subject: [PATCH 038/145] Add test for dotnet incompatible projects --- .../diagnostics.expected | 32 +++++++++ .../diag_dotnet_incompatible/test.csproj | 66 +++++++++++++++++++ .../diag_dotnet_incompatible/test.py | 5 ++ 3 files changed, 103 insertions(+) create mode 100644 csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/diagnostics.expected create mode 100644 csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/test.csproj create mode 100644 csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/test.py diff --git a/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/diagnostics.expected b/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/diagnostics.expected new file mode 100644 index 00000000000..b7dd5c6d90b --- /dev/null +++ b/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/diagnostics.expected @@ -0,0 +1,32 @@ +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "markdownMessage": "CodeQL found some projects which cannot be built with .NET Core:\n- `test.csproj`", + "severity": "warning", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/dotnet-incompatible-projects", + "name": "Some projects are incompatible with .NET Core" + }, + "visibility": { + "statusPage": true + } +} +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "markdownMessage": "CodeQL was unable to build the following projects using MSBuild:\n- `test.csproj`\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/msbuild-build-failure", + "name": "Some projects or solutions failed to build using MSBuild" + }, + "visibility": { + "statusPage": true + } +} diff --git a/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/test.csproj b/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/test.csproj new file mode 100644 index 00000000000..a07aa955494 --- /dev/null +++ b/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/test.csproj @@ -0,0 +1,66 @@ + + + + + Debug + AnyCPU + {F70CE6B6-1735-4AD2-B1EB-B91FCD1012D1} + Library + Properties + Example + Example + v4.0 + 512 + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + true + bin\x86\Debug\ + DEBUG;TRACE + full + x86 + prompt + MinimumRecommendedRules.ruleset + + + bin\x86\Release\ + TRACE + true + pdbonly + x86 + prompt + MinimumRecommendedRules.ruleset + + + + + + + + + + diff --git a/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/test.py b/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/test.py new file mode 100644 index 00000000000..62c4d3934a4 --- /dev/null +++ b/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/test.py @@ -0,0 +1,5 @@ +from create_database_utils import * +from diagnostics_test_utils import * + +run_codeql_database_create([], db=None, lang="csharp", runFunction=runUnsuccessfully) +check_diagnostics() From 1638f8edc5ae8d06dbf3378412955644e7b26783 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 24 Feb 2023 16:24:07 +0000 Subject: [PATCH 039/145] Add test for missing project files --- .../diagnostics.expected | 32 +++++++++++++++++++ .../diag_missing_project_files/test.py | 5 +++ .../diag_missing_project_files/test.sln | 26 +++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 csharp/ql/integration-tests/all-platforms/diag_missing_project_files/diagnostics.expected create mode 100644 csharp/ql/integration-tests/all-platforms/diag_missing_project_files/test.py create mode 100644 csharp/ql/integration-tests/all-platforms/diag_missing_project_files/test.sln diff --git a/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/diagnostics.expected b/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/diagnostics.expected new file mode 100644 index 00000000000..1c22e0f376e --- /dev/null +++ b/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/diagnostics.expected @@ -0,0 +1,32 @@ +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "markdownMessage": "CodeQL was unable to build the following projects using MSBuild:\n- `test.sln`\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/msbuild-build-failure", + "name": "Some projects or solutions failed to build using MSBuild" + }, + "visibility": { + "statusPage": true + } +} +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "markdownMessage": "Some project files were not found when CodeQL built your project:\n\n- `Example.csproj`\n- `Example.Test.csproj`\n\nThis may lead to subsequent failures. You can check for common causes for missing project files:\n\n- Ensure that the project is built using the [intended operating system](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on) and that filenames on case-sensitive platforms are correctly specified.\n- If your repository uses Git submodules, ensure that those are [checked out](https://github.com/actions/checkout#usage) before the CodeQL action is run.\n- If you auto-generate some project files as part of your build process, ensure that these are generated before the CodeQL action is run.", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/missing-project-files", + "name": "Missing project files" + }, + "visibility": { + "statusPage": true + } +} diff --git a/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/test.py b/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/test.py new file mode 100644 index 00000000000..62c4d3934a4 --- /dev/null +++ b/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/test.py @@ -0,0 +1,5 @@ +from create_database_utils import * +from diagnostics_test_utils import * + +run_codeql_database_create([], db=None, lang="csharp", runFunction=runUnsuccessfully) +check_diagnostics() diff --git a/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/test.sln b/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/test.sln new file mode 100644 index 00000000000..60a70f32fe2 --- /dev/null +++ b/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/test.sln @@ -0,0 +1,26 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example", "Example.csproj", "{F70CE6B6-1735-4AD2-B1EB-B91FCD1012D1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example.Test", "Example.Test.csproj", "{F4587B5F-9918-4079-9291-5A08CD9761FB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F70CE6B6-1735-4AD2-B1EB-B91FCD1012D1}.Debug|x86.ActiveCfg = Debug|x86 + {F70CE6B6-1735-4AD2-B1EB-B91FCD1012D1}.Debug|x86.Build.0 = Debug|x86 + {F70CE6B6-1735-4AD2-B1EB-B91FCD1012D1}.Release|x86.ActiveCfg = Release|x86 + {F70CE6B6-1735-4AD2-B1EB-B91FCD1012D1}.Release|x86.Build.0 = Release|x86 + {F4587B5F-9918-4079-9291-5A08CD9761FB}.Debug|x86.ActiveCfg = Debug|x86 + {F4587B5F-9918-4079-9291-5A08CD9761FB}.Debug|x86.Build.0 = Debug|x86 + {F4587B5F-9918-4079-9291-5A08CD9761FB}.Release|x86.ActiveCfg = Release|x86 + {F4587B5F-9918-4079-9291-5A08CD9761FB}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal From 92359de363a0a20b683510b04633106fc552c532 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 24 Feb 2023 16:24:32 +0000 Subject: [PATCH 040/145] Add test for missing Xamarin SDKs --- .../diagnostics.expected | 48 +++++++++++++++++++ .../diag_missing_xamarin_sdk/test.csproj | 11 +++++ .../diag_missing_xamarin_sdk/test.py | 5 ++ 3 files changed, 64 insertions(+) create mode 100644 csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/diagnostics.expected create mode 100644 csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/test.csproj create mode 100644 csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/test.py diff --git a/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/diagnostics.expected b/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/diagnostics.expected new file mode 100644 index 00000000000..e86728b146d --- /dev/null +++ b/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/diagnostics.expected @@ -0,0 +1,48 @@ +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "markdownMessage": "CodeQL was unable to build the following projects using .NET Core:\n- `test.csproj`\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/dotnet-build-failure", + "name": "Some projects or solutions failed to build using .NET Core" + }, + "visibility": { + "statusPage": true + } +} +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "markdownMessage": "CodeQL was unable to build the following projects using MSBuild:\n- `test.csproj`\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/msbuild-build-failure", + "name": "Some projects or solutions failed to build using MSBuild" + }, + "visibility": { + "statusPage": true + } +} +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "markdownMessage": "[Configure your workflow](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-xamarin-applications) for this SDK before running CodeQL.", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/missing-xamarin-ios-sdk", + "name": "Missing Xamarin SDK for iOS" + }, + "visibility": { + "statusPage": true + } +} diff --git a/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/test.csproj b/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/test.csproj new file mode 100644 index 00000000000..5776266cc03 --- /dev/null +++ b/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/test.csproj @@ -0,0 +1,11 @@ + + + + Exe + net7.0 + enable + enable + $(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets + + + diff --git a/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/test.py b/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/test.py new file mode 100644 index 00000000000..62c4d3934a4 --- /dev/null +++ b/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/test.py @@ -0,0 +1,5 @@ +from create_database_utils import * +from diagnostics_test_utils import * + +run_codeql_database_create([], db=None, lang="csharp", runFunction=runUnsuccessfully) +check_diagnostics() From be2d64a9d4832b212f62771c0b2fdb80578073e5 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 24 Feb 2023 17:13:10 +0000 Subject: [PATCH 041/145] Simplify Xamarin query to be platform-independent --- .../Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs index 063daf3370a..6e10d8e8736 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs @@ -39,7 +39,7 @@ namespace Semmle.Autobuild.CSharp } public MissingXamarinSdkRule() : - base("MSB4019:[^\"]*\"[^\"]*/Xamarin/(?[^/]*)/Xamarin\\.(\\k)\\.CSharp\\.targets\"") + base("MSB4019:[^\"]*\"[^\"]*Xamarin\\.(?[^\\.]*)\\.CSharp\\.targets\"") { } From 6f3b5c01d51ac5daacd27f5e6c4695b00a17c922 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 28 Feb 2023 13:56:06 +0000 Subject: [PATCH 042/145] Fix `IDisposable` contract violation --- .../Semmle.Autobuild.Shared/Autobuilder.cs | 2 +- csharp/extractor/Semmle.Util/ToolStatusPage.cs | 14 ++------------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs index d5523f1b6e7..a9ab909ad98 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs @@ -240,7 +240,7 @@ namespace Semmle.Autobuild.Shared SourceArchiveDir = RequireEnvironmentVariable(EnvVars.SourceArchiveDir(this.Options.Language)); DiagnosticsDir = RequireEnvironmentVariable(EnvVars.DiagnosticDir(this.Options.Language)); - this.diagnostics = DiagnosticsStream.ForFile(Path.Combine(DiagnosticsDir, $"autobuilder-{DateTime.UtcNow:yyyyMMddHHmm}.jsonc")); + this.diagnostics = new DiagnosticsStream(Path.Combine(DiagnosticsDir, $"autobuilder-{DateTime.UtcNow:yyyyMMddHHmm}.jsonc")); } /// diff --git a/csharp/extractor/Semmle.Util/ToolStatusPage.cs b/csharp/extractor/Semmle.Util/ToolStatusPage.cs index 8c650659595..49ca3be1031 100644 --- a/csharp/extractor/Semmle.Util/ToolStatusPage.cs +++ b/csharp/extractor/Semmle.Util/ToolStatusPage.cs @@ -157,18 +157,10 @@ namespace Semmle.Util /// Initialises a new for a file at . /// /// The path to the file that should be created. - /// - /// A object which allows diagnostics to be - /// written to a file at . - /// - public static DiagnosticsStream ForFile(string path) + public DiagnosticsStream(string path) { - var stream = File.CreateText(path); - return new DiagnosticsStream(stream); - } + this.writer = File.CreateText(path); - public DiagnosticsStream(StreamWriter streamWriter) - { var contractResolver = new DefaultContractResolver { NamingStrategy = new CamelCaseNamingStrategy() @@ -179,8 +171,6 @@ namespace Semmle.Util ContractResolver = contractResolver, NullValueHandling = NullValueHandling.Ignore }; - - writer = streamWriter; } /// From 4f0a93295a7f59a7252d3a5746838c78c9946c09 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 28 Feb 2023 14:16:33 +0000 Subject: [PATCH 043/145] Move `Language` class to `Semmle.Util` --- cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs | 1 + csharp/autobuilder/Semmle.Autobuild.Shared/AutobuildOptions.cs | 1 + csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs | 2 ++ csharp/autobuilder/Semmle.Autobuild.Shared/ProjectOrSolution.cs | 1 + .../Semmle.Util}/Language.cs | 2 +- 5 files changed, 6 insertions(+), 1 deletion(-) rename csharp/{autobuilder/Semmle.Autobuild.Shared => extractor/Semmle.Util}/Language.cs (95%) diff --git a/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs b/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs index 223425a8b18..ee1d775e17d 100644 --- a/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs +++ b/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs @@ -1,4 +1,5 @@ using Semmle.Autobuild.Shared; +using Semmle.Util; namespace Semmle.Autobuild.Cpp { diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/AutobuildOptions.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/AutobuildOptions.cs index d51612272d0..8a02370bcf6 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/AutobuildOptions.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/AutobuildOptions.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; +using Semmle.Util; namespace Semmle.Autobuild.Shared { diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs index 1e925b24431..5d1197f0a9e 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/EnvVars.cs @@ -1,3 +1,5 @@ +using Semmle.Util; + namespace Semmle.Autobuild.Shared { public static class EnvVars diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/ProjectOrSolution.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/ProjectOrSolution.cs index d0c9eeb9669..c0504dbcba4 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/ProjectOrSolution.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/ProjectOrSolution.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using System.Linq; +using Semmle.Util; namespace Semmle.Autobuild.Shared { diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Language.cs b/csharp/extractor/Semmle.Util/Language.cs similarity index 95% rename from csharp/autobuilder/Semmle.Autobuild.Shared/Language.cs rename to csharp/extractor/Semmle.Util/Language.cs index c53eb7e592d..fa3d71b6154 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Language.cs +++ b/csharp/extractor/Semmle.Util/Language.cs @@ -1,4 +1,4 @@ -namespace Semmle.Autobuild.Shared +namespace Semmle.Util { public sealed class Language { From c2049c22a3c51d71fef4440dd9c068b5bf5811f0 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 28 Feb 2023 15:22:20 +0000 Subject: [PATCH 044/145] Refactor to avoid public setters --- .../CSharpAutobuilder.cs | 98 +++++++++++-------- .../CSharpDiagnosticClassifier.cs | 50 +++++----- .../Semmle.Autobuild.Shared/Autobuilder.cs | 47 +++------ .../DiagnosticClassifier.cs | 5 +- .../extractor/Semmle.Util/ToolStatusPage.cs | 72 ++++++++++---- .../diagnostics.expected | 4 +- .../diagnostics.expected | 2 +- .../diagnostics.expected | 4 +- .../diagnostics.expected | 2 +- .../diagnostics.expected | 32 +++--- 10 files changed, 172 insertions(+), 144 deletions(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index 106088906a2..513142a0cae 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -105,23 +105,30 @@ namespace Semmle.Autobuild.CSharp // otherwise, we just report that the one script we found didn't work if (this.autoBuildRule.BuildCommandAutoRule.CandidatePaths.Count() > 1) { - message = MakeDiagnostic("multiple-build-scripts", "There are multiple potential build scripts"); - message.MarkdownMessage = - "CodeQL found multiple potential build scripts for your project and " + - $"attempted to run `{relScriptPath}`, which failed. " + - "This may not be the right build script for your project. " + - $"Set up a [manual build command]({buildCommandDocsUrl})."; + message = new( + this.Options.Language, + "multiple-build-scripts", + "There are multiple potential build scripts", + markdownMessage: + "CodeQL found multiple potential build scripts for your project and " + + $"attempted to run `{relScriptPath}`, which failed. " + + "This may not be the right build script for your project. " + + $"Set up a [manual build command]({buildCommandDocsUrl})." + ); } else { - message = MakeDiagnostic("script-failure", "Unable to build project using build script"); - message.MarkdownMessage = - "CodeQL attempted to build your project using a script located at " + - $"`{relScriptPath}`, which failed. " + - $"Set up a [manual build command]({buildCommandDocsUrl})."; + message = new( + this.Options.Language, + "script-failure", + "Unable to build project using build script", + markdownMessage: + "CodeQL attempted to build your project using a script located at " + + $"`{relScriptPath}`, which failed. " + + $"Set up a [manual build command]({buildCommandDocsUrl})." + ); } - message.Severity = DiagnosticMessage.TspSeverity.Error; AddDiagnostic(message); } @@ -135,50 +142,63 @@ namespace Semmle.Autobuild.CSharp // then neither of those rules would've worked if (this.ProjectsOrSolutionsToBuild.Count == 0) { - var message = MakeDiagnostic("no-projects-or-solutions", "No project or solutions files found"); - message.PlaintextMessage = - "CodeQL could not find any project or solution files in your repository. " + - $"Set up a [manual build command]({buildCommandDocsUrl})."; - message.Severity = DiagnosticMessage.TspSeverity.Error; - - AddDiagnostic(message); + this.AddDiagnostic(new( + this.Options.Language, + "no-projects-or-solutions", + "No project or solutions files found", + markdownMessage: + "CodeQL could not find any project or solution files in your repository. " + + $"Set up a [manual build command]({buildCommandDocsUrl})." + )); } // show a warning if there are projects which are not compatible with .NET Core, in case that is unintentional else if (foundNotDotNetProjects.Any()) { - var message = MakeDiagnostic("dotnet-incompatible-projects", "Some projects are incompatible with .NET Core"); - message.MarkdownMessage = - "CodeQL found some projects which cannot be built with .NET Core:\n" + - autoBuildRule.DotNetRule.NotDotNetProjects.Select(p => this.MakeRelative(p.FullPath)).ToMarkdownList(MarkdownUtil.CodeFormatter, 5); - message.Severity = DiagnosticMessage.TspSeverity.Warning; + this.AddDiagnostic(new( + this.Options.Language, + "dotnet-incompatible-projects", + "Some projects are incompatible with .NET Core", + severity: DiagnosticMessage.TspSeverity.Warning, + markdownMessage: $""" + CodeQL found some projects which cannot be built with .NET Core: - AddDiagnostic(message); + {autoBuildRule.DotNetRule.NotDotNetProjects.Select(p => this.MakeRelative(p.FullPath)).ToMarkdownList(MarkdownUtil.CodeFormatter, 5)} + """ + )); } // report any projects that failed to build with .NET Core if (autoBuildRule.DotNetRule.FailedProjectsOrSolutions.Any()) { - var message = MakeDiagnostic("dotnet-build-failure", "Some projects or solutions failed to build using .NET Core"); - message.MarkdownMessage = - "CodeQL was unable to build the following projects using .NET Core:\n" + - autoBuildRule.DotNetRule.FailedProjectsOrSolutions.Select(p => this.MakeRelative(p.FullPath)).ToMarkdownList(MarkdownUtil.CodeFormatter, 10) + - $"\nSet up a [manual build command]({buildCommandDocsUrl})."; - message.Severity = DiagnosticMessage.TspSeverity.Error; + this.AddDiagnostic(new( + this.Options.Language, + "dotnet-build-failure", + "Some projects or solutions failed to build using .NET Core", + markdownMessage: $""" + CodeQL was unable to build the following projects using .NET Core: - AddDiagnostic(message); + {autoBuildRule.DotNetRule.FailedProjectsOrSolutions.Select(p => this.MakeRelative(p.FullPath)).ToMarkdownList(MarkdownUtil.CodeFormatter, 10)} + + Set up a [manual build command]({buildCommandDocsUrl}). + """ + )); } // report any projects that failed to build with MSBuild if (autoBuildRule.MsBuildRule.FailedProjectsOrSolutions.Any()) { - var message = MakeDiagnostic("msbuild-build-failure", "Some projects or solutions failed to build using MSBuild"); - message.MarkdownMessage = - "CodeQL was unable to build the following projects using MSBuild:\n" + - autoBuildRule.MsBuildRule.FailedProjectsOrSolutions.Select(p => this.MakeRelative(p.FullPath)).ToMarkdownList(MarkdownUtil.CodeFormatter, 10) + - $"\nSet up a [manual build command]({buildCommandDocsUrl})."; - message.Severity = DiagnosticMessage.TspSeverity.Error; + this.AddDiagnostic(new( + this.Options.Language, + "msbuild-build-failure", + "Some projects or solutions failed to build using MSBuild", + markdownMessage: $""" + CodeQL was unable to build the following projects using MSBuild: - AddDiagnostic(message); + {autoBuildRule.MsBuildRule.FailedProjectsOrSolutions.Select(p => this.MakeRelative(p.FullPath)).ToMarkdownList(MarkdownUtil.CodeFormatter, 10)} + + Set up a [manual build command]({buildCommandDocsUrl}). + """ + )); } } diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs index 6e10d8e8736..e72c46ff361 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpDiagnosticClassifier.cs @@ -26,16 +26,13 @@ namespace Semmle.Autobuild.CSharp this.SDKName = sdkName; } - public DiagnosticMessage ToDiagnosticMessage(Autobuilder builder) where T : AutobuildOptionsShared - { - var diag = builder.MakeDiagnostic( - $"missing-xamarin-{this.SDKName.ToLower()}-sdk", - $"Missing Xamarin SDK for {this.SDKName}" - ); - diag.MarkdownMessage = $"[Configure your workflow]({docsUrl}) for this SDK before running CodeQL."; - - return diag; - } + public DiagnosticMessage ToDiagnosticMessage(Autobuilder builder, DiagnosticMessage.TspSeverity? severity = null) where T : AutobuildOptionsShared => new( + builder.Options.Language, + $"missing-xamarin-{this.SDKName.ToLower()}-sdk", + $"Missing Xamarin SDK for {this.SDKName}", + severity: severity ?? DiagnosticMessage.TspSeverity.Error, + markdownMessage: $"[Configure your workflow]({docsUrl}) for this SDK before running CodeQL." + ); } public MissingXamarinSdkRule() : @@ -74,24 +71,23 @@ namespace Semmle.Autobuild.CSharp this.MissingProjectFiles = new HashSet(); } - public DiagnosticMessage ToDiagnosticMessage(Autobuilder builder) where T : AutobuildOptionsShared - { - var diag = builder.MakeDiagnostic( - $"missing-project-files", - $"Missing project files" - ); - diag.MarkdownMessage = - "Some project files were not found when CodeQL built your project:\n\n" + - this.MissingProjectFiles.AsEnumerable().Select(p => builder.MakeRelative(p)).ToMarkdownList(MarkdownUtil.CodeFormatter, 5) + - "\n\nThis may lead to subsequent failures. " + - "You can check for common causes for missing project files:\n\n" + - $"- Ensure that the project is built using the {runsOnDocsUrl.ToMarkdownLink("intended operating system")} and that filenames on case-sensitive platforms are correctly specified.\n" + - $"- If your repository uses Git submodules, ensure that those are {checkoutDocsUrl.ToMarkdownLink("checked out")} before the CodeQL action is run.\n" + - "- If you auto-generate some project files as part of your build process, ensure that these are generated before the CodeQL action is run."; - diag.Severity = DiagnosticMessage.TspSeverity.Warning; + public DiagnosticMessage ToDiagnosticMessage(Autobuilder builder, DiagnosticMessage.TspSeverity? severity = null) where T : AutobuildOptionsShared => new( + builder.Options.Language, + "missing-project-files", + "Missing project files", + severity: severity ?? DiagnosticMessage.TspSeverity.Warning, + markdownMessage: $""" + Some project files were not found when CodeQL built your project: - return diag; - } + {this.MissingProjectFiles.AsEnumerable().Select(p => builder.MakeRelative(p)).ToMarkdownList(MarkdownUtil.CodeFormatter, 5)} + + This may lead to subsequent failures. You can check for common causes for missing project files: + + - Ensure that the project is built using the {runsOnDocsUrl.ToMarkdownLink("intended operating system")} and that filenames on case-sensitive platforms are correctly specified. + - If your repository uses Git submodules, ensure that those are {checkoutDocsUrl.ToMarkdownLink("checked out")} before the CodeQL action is run. + - If you auto-generate some project files as part of your build process, ensure that these are generated before the CodeQL action is run. + """ + ); } public MissingProjectFileRule() : diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs index a9ab909ad98..6a3b63dc27e 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs @@ -330,11 +330,9 @@ namespace Semmle.Autobuild.Shared // if the build succeeded, all diagnostics we captured from the build output should be warnings; // otherwise they should all be errors var diagSeverity = buildResult == 0 ? DiagnosticMessage.TspSeverity.Warning : DiagnosticMessage.TspSeverity.Error; - this.DiagnosticClassifier.Results.Select(result => result.ToDiagnosticMessage(this)).ForEach(result => - { - result.Severity = diagSeverity; - AddDiagnostic(result); - }); + this.DiagnosticClassifier.Results + .Select(result => result.ToDiagnosticMessage(this, diagSeverity)) + .ForEach(AddDiagnostic); return buildResult; } @@ -344,25 +342,6 @@ namespace Semmle.Autobuild.Shared /// public abstract BuildScript GetBuildScript(); - /// - /// Constructs a standard for some message with - /// and a human-friendly . - /// - /// The last part of the message id. - /// The human-friendly description of the message. - /// The resulting . - public DiagnosticMessage MakeDiagnostic(string id, string name) - { - DiagnosticMessage diag = new(new( - $"{this.Options.Language.UpperCaseName.ToLower()}/autobuilder/{id}", - name, - Options.Language.UpperCaseName.ToLower() - )); - diag.Visibility.StatusPage = true; - - return diag; - } - /// /// Produces a diagnostic for the tool status page that we were unable to automatically @@ -370,16 +349,16 @@ namespace Semmle.Autobuild.Shared /// can be overriden to implement more specific messages depending on the origin of /// the failure. /// - protected virtual void AutobuildFailureDiagnostic() - { - var message = MakeDiagnostic("autobuild-failure", "Unable to build project"); - message.PlaintextMessage = - "We were unable to automatically build your project. " + - "You can manually specify a suitable build command for your project."; - message.Severity = DiagnosticMessage.TspSeverity.Error; - - AddDiagnostic(message); - } + protected virtual void AutobuildFailureDiagnostic() => AddDiagnostic(new DiagnosticMessage( + this.Options.Language, + "autobuild-failure", + "Unable to build project", + visibility: new DiagnosticMessage.TspVisibility(statusPage: true), + plaintextMessage: """ + We were unable to automatically build your project. + Set up a manual build command. + """ + )); /// /// Returns a build script that can be run upon autobuild failure. diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/DiagnosticClassifier.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/DiagnosticClassifier.cs index 29f44e4e8f2..94af39ca959 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/DiagnosticClassifier.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/DiagnosticClassifier.cs @@ -16,8 +16,11 @@ namespace Semmle.Autobuild.Shared /// /// The autobuilder to use for constructing the base . /// + /// + /// An optional severity value which overrides the default severity of the diagnostic. + /// /// The corresponding to this result. - DiagnosticMessage ToDiagnosticMessage(Autobuilder builder) where T : AutobuildOptionsShared; + DiagnosticMessage ToDiagnosticMessage(Autobuilder builder, DiagnosticMessage.TspSeverity? severity = null) where T : AutobuildOptionsShared; } public class DiagnosticRule diff --git a/csharp/extractor/Semmle.Util/ToolStatusPage.cs b/csharp/extractor/Semmle.Util/ToolStatusPage.cs index 49ca3be1031..85eca785e88 100644 --- a/csharp/extractor/Semmle.Util/ToolStatusPage.cs +++ b/csharp/extractor/Semmle.Util/ToolStatusPage.cs @@ -52,21 +52,24 @@ namespace Semmle.Util Error } + /// + /// Stores flags indicating where the diagnostic should be displayed. + /// public class TspVisibility { /// /// True if the message should be displayed on the status page (defaults to false). /// - public bool? StatusPage { get; set; } + public bool? StatusPage { get; } /// /// True if the message should be counted in the diagnostics summary table printed by /// codeql database analyze (defaults to false). /// - public bool? CLISummaryTable { get; set; } + public bool? CLISummaryTable { get; } /// /// True if the message should be sent to telemetry (defaults to false). /// - public bool? Telemetry { get; set; } + public bool? Telemetry { get; } public TspVisibility(bool? statusPage = null, bool? cliSummaryTable = null, bool? telemetry = null) { @@ -76,16 +79,31 @@ namespace Semmle.Util } } + /// + /// Represents source code locations for diagnostic messages. + /// public class TspLocation { /// /// Path to the affected file if appropriate, relative to the source root. /// - public string? File { get; set; } - public int? StartLine { get; set; } - public int? StartColumn { get; set; } - public int? EndLine { get; set; } - public int? EndColumn { get; set; } + public string? File { get; } + /// + /// The line where the range to which the diagnostic relates to starts. + /// + public int? StartLine { get; } + /// + /// The column where the range to which the diagnostic relates to starts. + /// + public int? StartColumn { get; } + /// + /// The line where the range to which the diagnostic relates to ends. + /// + public int? EndLine { get; } + /// + /// The column where the range to which the diagnostic relates to ends. + /// + public int? EndColumn { get; } public TspLocation(string? file = null, int? startLine = null, int? startColumn = null, int? endLine = null, int? endColumn = null) { @@ -100,20 +118,20 @@ namespace Semmle.Util /// /// ISO 8601 timestamp. /// - public string Timestamp { get; set; } + public string Timestamp { get; } /// /// The source of the diagnostic message. /// - public TspSource Source { get; set; } + public TspSource Source { get; } /// /// GitHub flavored Markdown formatted message. Should include inline links to any help pages. /// - public string? MarkdownMessage { get; set; } + public string? MarkdownMessage { get; } /// /// Plain text message. Used by components where the string processing needed to support /// Markdown is cumbersome. /// - public string? PlaintextMessage { get; set; } + public string? PlaintextMessage { get; } /// /// List of help links intended to supplement . /// @@ -121,11 +139,11 @@ namespace Semmle.Util /// /// SARIF severity. /// - public TspSeverity? Severity { get; set; } + public TspSeverity? Severity { get; } /// /// If true, then this message won't be presented to users. /// - public bool Internal { get; set; } + public bool Internal { get; } public TspVisibility Visibility { get; } public TspLocation Location { get; } /// @@ -133,14 +151,26 @@ namespace Semmle.Util /// public Dictionary Attributes { get; } - public DiagnosticMessage(TspSource source) + public DiagnosticMessage( + Language language, string id, string name, string? markdownMessage = null, string? plaintextMessage = null, + TspVisibility? visibility = null, TspLocation? location = null, TspSeverity? severity = TspSeverity.Error, + DateTime? timestamp = null, bool? intrnl = null + ) { - Timestamp = DateTime.UtcNow.ToString("o", CultureInfo.InvariantCulture); - Source = source; - HelpLinks = new List(); - Visibility = new TspVisibility(); - Location = new TspLocation(); - Attributes = new Dictionary(); + this.Source = new TspSource( + id: $"{language.UpperCaseName.ToLower()}/autobuilder/{id}", + name: name, + extractorName: language.UpperCaseName.ToLower() + ); + this.Timestamp = (timestamp ?? DateTime.UtcNow).ToString("o", CultureInfo.InvariantCulture); + this.HelpLinks = new List(); + this.Attributes = new Dictionary(); + this.Severity = severity; + this.Visibility = visibility ?? new TspVisibility(statusPage: true); + this.Location = location ?? new TspLocation(); + this.Internal = intrnl ?? false; + this.MarkdownMessage = markdownMessage; + this.PlaintextMessage = plaintextMessage; } } diff --git a/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/diagnostics.expected b/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/diagnostics.expected index b7dd5c6d90b..6c799240806 100644 --- a/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/diagnostics.expected +++ b/csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/diagnostics.expected @@ -3,7 +3,7 @@ "helpLinks": [], "internal": false, "location": {}, - "markdownMessage": "CodeQL found some projects which cannot be built with .NET Core:\n- `test.csproj`", + "markdownMessage": "CodeQL found some projects which cannot be built with .NET Core:\n\n- `test.csproj`", "severity": "warning", "source": { "extractorName": "csharp", @@ -19,7 +19,7 @@ "helpLinks": [], "internal": false, "location": {}, - "markdownMessage": "CodeQL was unable to build the following projects using MSBuild:\n- `test.csproj`\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "markdownMessage": "CodeQL was unable to build the following projects using MSBuild:\n\n- `test.csproj`\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", "severity": "error", "source": { "extractorName": "csharp", diff --git a/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/diagnostics.expected b/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/diagnostics.expected index 1c22e0f376e..cf061615e24 100644 --- a/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/diagnostics.expected +++ b/csharp/ql/integration-tests/all-platforms/diag_missing_project_files/diagnostics.expected @@ -3,7 +3,7 @@ "helpLinks": [], "internal": false, "location": {}, - "markdownMessage": "CodeQL was unable to build the following projects using MSBuild:\n- `test.sln`\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "markdownMessage": "CodeQL was unable to build the following projects using MSBuild:\n\n- `test.sln`\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", "severity": "error", "source": { "extractorName": "csharp", diff --git a/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/diagnostics.expected b/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/diagnostics.expected index e86728b146d..0fbd8b42474 100644 --- a/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/diagnostics.expected +++ b/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/diagnostics.expected @@ -3,7 +3,7 @@ "helpLinks": [], "internal": false, "location": {}, - "markdownMessage": "CodeQL was unable to build the following projects using .NET Core:\n- `test.csproj`\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "markdownMessage": "CodeQL was unable to build the following projects using .NET Core:\n\n- `test.csproj`\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", "severity": "error", "source": { "extractorName": "csharp", @@ -19,7 +19,7 @@ "helpLinks": [], "internal": false, "location": {}, - "markdownMessage": "CodeQL was unable to build the following projects using MSBuild:\n- `test.csproj`\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "markdownMessage": "CodeQL was unable to build the following projects using MSBuild:\n\n- `test.csproj`\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", "severity": "error", "source": { "extractorName": "csharp", diff --git a/csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected b/csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected index 69bcf765eee..f39695d5ecf 100644 --- a/csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected +++ b/csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected @@ -19,7 +19,7 @@ "helpLinks": [], "internal": false, "location": {}, - "plaintextMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "markdownMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", "severity": "error", "source": { "extractorName": "csharp", diff --git a/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected b/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected index 253ef636fd1..e4e137ffef0 100644 --- a/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected +++ b/csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected @@ -1,3 +1,19 @@ +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "markdownMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/no-projects-or-solutions", + "name": "No project or solutions files found" + }, + "visibility": { + "statusPage": true + } +} { "attributes": {}, "helpLinks": [], @@ -14,19 +30,3 @@ "statusPage": true } } -{ - "attributes": {}, - "helpLinks": [], - "internal": false, - "location": {}, - "plaintextMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", - "severity": "error", - "source": { - "extractorName": "csharp", - "id": "csharp/autobuilder/no-projects-or-solutions", - "name": "No project or solutions files found" - }, - "visibility": { - "statusPage": true - } -} From a5f7913af3043f52fda5b27bf0d540075bd55db0 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 28 Feb 2023 15:53:52 +0000 Subject: [PATCH 045/145] Fix expected test output for Windows tests --- .../diagnostics.expected | 2 +- .../diagnostics.expected | 32 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected b/csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected index a5096fcbf7b..6a55b710360 100644 --- a/csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected +++ b/csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected @@ -19,7 +19,7 @@ "helpLinks": [], "internal": false, "location": {}, - "plaintextMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "markdownMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", "severity": "error", "source": { "extractorName": "csharp", diff --git a/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected b/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected index 91815aa78af..898d285b352 100644 --- a/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected +++ b/csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected @@ -1,3 +1,19 @@ +{ + "attributes": {}, + "helpLinks": [], + "internal": false, + "location": {}, + "markdownMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "severity": "error", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/no-projects-or-solutions", + "name": "No project or solutions files found" + }, + "visibility": { + "statusPage": true + } +} { "attributes": {}, "helpLinks": [], @@ -14,19 +30,3 @@ "statusPage": true } } -{ - "attributes": {}, - "helpLinks": [], - "internal": false, - "location": {}, - "plaintextMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", - "severity": "error", - "source": { - "extractorName": "csharp", - "id": "csharp/autobuilder/no-projects-or-solutions", - "name": "No project or solutions files found" - }, - "visibility": { - "statusPage": true - } -} From fe3066da565f5a3e6256627c62f95f5fbbcb38d1 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 28 Feb 2023 15:55:50 +0000 Subject: [PATCH 046/145] Apply ql-for-ql suggestion --- .../Semmle.Autobuild.CSharp/CSharpAutobuilder.cs | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index 513142a0cae..b08db3a8b53 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -97,15 +97,14 @@ namespace Semmle.Autobuild.CSharp // run and found at least one script to execute if (this.autoBuildRule.BuildCommandAutoRule.ScriptPath is not null) { - DiagnosticMessage message; var relScriptPath = this.MakeRelative(autoBuildRule.BuildCommandAutoRule.ScriptPath); // if we found multiple build scripts in the project directory, then we can say // as much to indicate that we may have picked the wrong one; // otherwise, we just report that the one script we found didn't work - if (this.autoBuildRule.BuildCommandAutoRule.CandidatePaths.Count() > 1) - { - message = new( + DiagnosticMessage message = + this.autoBuildRule.BuildCommandAutoRule.CandidatePaths.Count() > 1 ? + new( this.Options.Language, "multiple-build-scripts", "There are multiple potential build scripts", @@ -114,11 +113,8 @@ namespace Semmle.Autobuild.CSharp $"attempted to run `{relScriptPath}`, which failed. " + "This may not be the right build script for your project. " + $"Set up a [manual build command]({buildCommandDocsUrl})." - ); - } - else - { - message = new( + ) : + new( this.Options.Language, "script-failure", "Unable to build project using build script", @@ -127,7 +123,6 @@ namespace Semmle.Autobuild.CSharp $"`{relScriptPath}`, which failed. " + $"Set up a [manual build command]({buildCommandDocsUrl})." ); - } AddDiagnostic(message); } From 85751e7dddbb8d04ff7d64ed67918b7075d2ade4 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 1 Mar 2023 14:58:49 +0000 Subject: [PATCH 047/145] Simplify DiagnosticClassifier in CSharpAutobuilder --- .../Semmle.Autobuild.CSharp/CSharpAutobuilder.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index b08db3a8b53..a1126fdf12c 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -36,14 +36,12 @@ namespace Semmle.Autobuild.CSharp private readonly AutoBuildRule autoBuildRule; - private readonly DiagnosticClassifier diagnosticClassifier; - - protected override DiagnosticClassifier DiagnosticClassifier => diagnosticClassifier; + protected override DiagnosticClassifier DiagnosticClassifier { get; } public CSharpAutobuilder(IBuildActions actions, CSharpAutobuildOptions options) : base(actions, options) { this.autoBuildRule = new AutoBuildRule(this); - this.diagnosticClassifier = new CSharpDiagnosticClassifier(); + this.DiagnosticClassifier = new CSharpDiagnosticClassifier(); } public override BuildScript GetBuildScript() From df6f5d52b9d26796bbfb25a96b48b11b878e32f2 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Thu, 2 Mar 2023 09:18:56 +0100 Subject: [PATCH 048/145] C#: Use dependency injection in the auto builder for Diagnostic classifier. --- cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs | 7 +------ .../Semmle.Autobuild.CSharp/CSharpAutobuilder.cs | 9 ++------- .../autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs | 5 +++-- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs b/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs index ee1d775e17d..e3853b44a0c 100644 --- a/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs +++ b/cpp/autobuilder/Semmle.Autobuild.Cpp/CppAutobuilder.cs @@ -22,12 +22,7 @@ namespace Semmle.Autobuild.Cpp public class CppAutobuilder : Autobuilder { - private readonly DiagnosticClassifier classifier; - - public CppAutobuilder(IBuildActions actions, CppAutobuildOptions options) : base(actions, options) => - classifier = new DiagnosticClassifier(); - - protected override DiagnosticClassifier DiagnosticClassifier => classifier; + public CppAutobuilder(IBuildActions actions, CppAutobuildOptions options) : base(actions, options, new DiagnosticClassifier()) { } public override BuildScript GetBuildScript() { diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs index a1126fdf12c..ed2ed4013ef 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs @@ -1,4 +1,4 @@ -using Semmle.Extraction.CSharp; +using Semmle.Extraction.CSharp; using Semmle.Util.Logging; using Semmle.Autobuild.Shared; using Semmle.Util; @@ -36,13 +36,8 @@ namespace Semmle.Autobuild.CSharp private readonly AutoBuildRule autoBuildRule; - protected override DiagnosticClassifier DiagnosticClassifier { get; } - - public CSharpAutobuilder(IBuildActions actions, CSharpAutobuildOptions options) : base(actions, options) - { + public CSharpAutobuilder(IBuildActions actions, CSharpAutobuildOptions options) : base(actions, options, new CSharpDiagnosticClassifier()) => this.autoBuildRule = new AutoBuildRule(this); - this.DiagnosticClassifier = new CSharpDiagnosticClassifier(); - } public override BuildScript GetBuildScript() { diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs index 6a3b63dc27e..2335e15015e 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs @@ -190,10 +190,11 @@ namespace Semmle.Autobuild.Shared /// solution file and tools. /// /// The command line options. - protected Autobuilder(IBuildActions actions, TAutobuildOptions options) + protected Autobuilder(IBuildActions actions, TAutobuildOptions options, DiagnosticClassifier diagnosticClassifier) { Actions = actions; Options = options; + DiagnosticClassifier = diagnosticClassifier; pathsLazy = new Lazy>(() => { @@ -264,7 +265,7 @@ namespace Semmle.Autobuild.Shared public string DiagnosticsDir { get; } - protected abstract DiagnosticClassifier DiagnosticClassifier { get; } + protected DiagnosticClassifier DiagnosticClassifier { get; } private readonly ILogger logger = new ConsoleLogger(Verbosity.Info); From 9dc9925f59ea93da74dfbfc570bedd70d35dddcd Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 3 Mar 2023 12:54:22 +0000 Subject: [PATCH 049/145] Abstract over `DiagnosticsStream` for tests --- .../Semmle.Autobuild.Cpp.Tests/BuildScripts.cs | 11 ++++++++++- .../Semmle.Autobuild.CSharp.Tests/BuildScripts.cs | 12 +++++++++++- .../Semmle.Autobuild.Shared/Autobuilder.cs | 4 ++-- .../Semmle.Autobuild.Shared/BuildActions.cs | 13 +++++++++++++ csharp/extractor/Semmle.Util/ToolStatusPage.cs | 14 +++++++++++++- 5 files changed, 49 insertions(+), 5 deletions(-) diff --git a/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs b/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs index ecb2e58174d..06057b971b5 100644 --- a/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs +++ b/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs @@ -194,6 +194,15 @@ namespace Semmle.Autobuild.Cpp.Tests if (!DownloadFiles.Contains((address, fileName))) throw new ArgumentException($"Missing DownloadFile, {address}, {fileName}"); } + + public IDiagnosticsWriter CreateDiagnosticsWriter(string filename) => new TestDiagnosticWriter(); + } + + internal class TestDiagnosticWriter : IDiagnosticsWriter + { + public IList Diagnostics { get; } = new List(); + + public void AddEntry(DiagnosticMessage message) => this.Diagnostics.Add(message); } /// @@ -253,7 +262,7 @@ namespace Semmle.Autobuild.Cpp.Tests Actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_TRAP_DIR"] = ""; Actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_SOURCE_ARCHIVE_DIR"] = ""; Actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_ROOT"] = $@"C:\codeql\{codeqlUpperLanguage.ToLowerInvariant()}"; - Actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_DIAGNOSTIC_DIR"] = Path.GetTempPath(); + Actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_DIAGNOSTIC_DIR"] = ""; Actions.GetEnvironmentVariable["CODEQL_JAVA_HOME"] = @"C:\codeql\tools\java"; Actions.GetEnvironmentVariable["CODEQL_PLATFORM"] = "win64"; Actions.GetEnvironmentVariable["SEMMLE_DIST"] = @"C:\odasa"; diff --git a/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs b/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs index 0243dc927d1..9590e132229 100644 --- a/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs +++ b/csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs @@ -210,6 +210,16 @@ namespace Semmle.Autobuild.CSharp.Tests if (!DownloadFiles.Contains((address, fileName))) throw new ArgumentException($"Missing DownloadFile, {address}, {fileName}"); } + + + public IDiagnosticsWriter CreateDiagnosticsWriter(string filename) => new TestDiagnosticWriter(); + } + + internal class TestDiagnosticWriter : IDiagnosticsWriter + { + public IList Diagnostics { get; } = new List(); + + public void AddEntry(DiagnosticMessage message) => this.Diagnostics.Add(message); } /// @@ -401,7 +411,7 @@ namespace Semmle.Autobuild.CSharp.Tests actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_TRAP_DIR"] = ""; actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_SOURCE_ARCHIVE_DIR"] = ""; actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_ROOT"] = $@"C:\codeql\{codeqlUpperLanguage.ToLowerInvariant()}"; - actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_DIAGNOSTIC_DIR"] = Path.GetTempPath(); + actions.GetEnvironmentVariable[$"CODEQL_EXTRACTOR_{codeqlUpperLanguage}_DIAGNOSTIC_DIR"] = ""; actions.GetEnvironmentVariable["CODEQL_JAVA_HOME"] = @"C:\codeql\tools\java"; actions.GetEnvironmentVariable["CODEQL_PLATFORM"] = isWindows ? "win64" : "linux64"; actions.GetEnvironmentVariable["LGTM_INDEX_VSTOOLS_VERSION"] = vsToolsVersion; diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs index 2335e15015e..f00f59b488a 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs @@ -241,7 +241,7 @@ namespace Semmle.Autobuild.Shared SourceArchiveDir = RequireEnvironmentVariable(EnvVars.SourceArchiveDir(this.Options.Language)); DiagnosticsDir = RequireEnvironmentVariable(EnvVars.DiagnosticDir(this.Options.Language)); - this.diagnostics = new DiagnosticsStream(Path.Combine(DiagnosticsDir, $"autobuilder-{DateTime.UtcNow:yyyyMMddHHmm}.jsonc")); + this.diagnostics = actions.CreateDiagnosticsWriter(Path.Combine(DiagnosticsDir, $"autobuilder-{DateTime.UtcNow:yyyyMMddHHmm}.jsonc")); } /// @@ -269,7 +269,7 @@ namespace Semmle.Autobuild.Shared private readonly ILogger logger = new ConsoleLogger(Verbosity.Info); - private readonly DiagnosticsStream diagnostics; + private readonly IDiagnosticsWriter diagnostics; /// /// Makes relative to the root source directory. diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildActions.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildActions.cs index d4ca15cd246..0982a520bfd 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildActions.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildActions.cs @@ -167,6 +167,17 @@ namespace Semmle.Autobuild.Shared /// Downloads the resource with the specified URI to a local file. /// void DownloadFile(string address, string fileName); + + /// + /// Creates an for the given . + /// + /// + /// The path suggesting where the diagnostics should be written to. + /// + /// + /// A to which diagnostic entries can be added. + /// + IDiagnosticsWriter CreateDiagnosticsWriter(string filename); } /// @@ -288,6 +299,8 @@ namespace Semmle.Autobuild.Shared public void DownloadFile(string address, string fileName) => DownloadFileAsync(address, fileName).Wait(); + public IDiagnosticsWriter CreateDiagnosticsWriter(string filename) => new DiagnosticsStream(filename); + public static IBuildActions Instance { get; } = new SystemBuildActions(); } } diff --git a/csharp/extractor/Semmle.Util/ToolStatusPage.cs b/csharp/extractor/Semmle.Util/ToolStatusPage.cs index 85eca785e88..f7abd643a19 100644 --- a/csharp/extractor/Semmle.Util/ToolStatusPage.cs +++ b/csharp/extractor/Semmle.Util/ToolStatusPage.cs @@ -174,11 +174,23 @@ namespace Semmle.Util } } + /// + /// Provides the ability to write diagnostic messages to some output. + /// + public interface IDiagnosticsWriter + { + /// + /// Adds as a new diagnostics entry. + /// + /// The diagnostics entry to add. + void AddEntry(DiagnosticMessage message); + } + /// /// A wrapper around an underlying which allows /// objects to be serialized to it. /// - public sealed class DiagnosticsStream : IDisposable + public sealed class DiagnosticsStream : IDiagnosticsWriter, IDisposable { private readonly JsonSerializer serializer; private readonly StreamWriter writer; From 462da639702ab3efb7a340d0900b34811a5c3d23 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 3 Mar 2023 14:11:51 +0000 Subject: [PATCH 050/145] Release preparation for version 2.12.4 --- cpp/ql/lib/CHANGELOG.md | 4 ++++ cpp/ql/lib/change-notes/released/0.5.4.md | 3 +++ cpp/ql/lib/codeql-pack.release.yml | 2 +- cpp/ql/lib/qlpack.yml | 2 +- cpp/ql/src/CHANGELOG.md | 4 ++++ cpp/ql/src/change-notes/released/0.5.4.md | 3 +++ cpp/ql/src/codeql-pack.release.yml | 2 +- cpp/ql/src/qlpack.yml | 2 +- csharp/ql/campaigns/Solorigate/lib/CHANGELOG.md | 4 ++++ .../Solorigate/lib/change-notes/released/1.4.4.md | 3 +++ .../Solorigate/lib/codeql-pack.release.yml | 2 +- csharp/ql/campaigns/Solorigate/lib/qlpack.yml | 2 +- csharp/ql/campaigns/Solorigate/src/CHANGELOG.md | 4 ++++ .../Solorigate/src/change-notes/released/1.4.4.md | 3 +++ .../Solorigate/src/codeql-pack.release.yml | 2 +- csharp/ql/campaigns/Solorigate/src/qlpack.yml | 2 +- csharp/ql/lib/CHANGELOG.md | 11 +++++++++++ .../change-notes/2023-02-14-checked-operators.md | 4 ---- .../lib/change-notes/2023-02-16-requiredmembers.md | 4 ---- .../lib/change-notes/2023-02-17-filescopedtypes.md | 4 ---- .../change-notes/2023-02-22-modifierextraction.md | 4 ---- .../2023-02-27-explicitinterfacemember.md | 4 ---- .../change-notes/2023-02-28-staticfieldwrites.md | 4 ---- csharp/ql/lib/change-notes/released/0.5.4.md | 10 ++++++++++ csharp/ql/lib/codeql-pack.release.yml | 2 +- csharp/ql/lib/qlpack.yml | 2 +- csharp/ql/src/CHANGELOG.md | 4 ++++ csharp/ql/src/change-notes/released/0.5.4.md | 3 +++ csharp/ql/src/codeql-pack.release.yml | 2 +- csharp/ql/src/qlpack.yml | 2 +- go/ql/lib/CHANGELOG.md | 4 ++++ go/ql/lib/change-notes/released/0.4.4.md | 3 +++ go/ql/lib/codeql-pack.release.yml | 2 +- go/ql/lib/qlpack.yml | 2 +- go/ql/src/CHANGELOG.md | 6 ++++++ .../0.4.4.md} | 7 ++++--- go/ql/src/codeql-pack.release.yml | 2 +- go/ql/src/qlpack.yml | 2 +- java/ql/lib/CHANGELOG.md | 8 ++++++++ ...023-02-15-mssql-jdbc-hardcoded-credential-api.md | 4 ---- ...023-02-17-add-hardcoded-secret-for-jwt-tokens.md | 4 ---- java/ql/lib/change-notes/2023-02-17-jdk20.md | 4 ---- java/ql/lib/change-notes/released/0.5.4.md | 7 +++++++ java/ql/lib/codeql-pack.release.yml | 2 +- java/ql/lib/qlpack.yml | 2 +- java/ql/src/CHANGELOG.md | 4 ++++ java/ql/src/change-notes/released/0.5.4.md | 3 +++ java/ql/src/codeql-pack.release.yml | 2 +- java/ql/src/qlpack.yml | 2 +- javascript/ql/lib/CHANGELOG.md | 13 +++++++++++++ .../2023-02-14-regex-injection-process-env.md | 4 ---- .../0.5.0.md} | 11 ++++++++--- javascript/ql/lib/codeql-pack.release.yml | 2 +- javascript/ql/lib/qlpack.yml | 2 +- javascript/ql/src/CHANGELOG.md | 4 ++++ javascript/ql/src/change-notes/released/0.5.4.md | 3 +++ javascript/ql/src/codeql-pack.release.yml | 2 +- javascript/ql/src/qlpack.yml | 2 +- misc/suite-helpers/CHANGELOG.md | 4 ++++ misc/suite-helpers/change-notes/released/0.4.4.md | 3 +++ misc/suite-helpers/codeql-pack.release.yml | 2 +- misc/suite-helpers/qlpack.yml | 2 +- python/ql/lib/CHANGELOG.md | 11 +++++++++++ .../ql/lib/change-notes/2023-02-13-hmac-modeling.md | 4 ---- .../change-notes/2023-02-16-import-if-then-else.md | 4 ---- .../0.8.1.md} | 12 +++++++++--- python/ql/lib/codeql-pack.release.yml | 2 +- python/ql/lib/qlpack.yml | 2 +- python/ql/src/CHANGELOG.md | 4 ++++ python/ql/src/change-notes/released/0.6.4.md | 3 +++ python/ql/src/codeql-pack.release.yml | 2 +- python/ql/src/qlpack.yml | 2 +- ruby/ql/lib/CHANGELOG.md | 8 ++++++++ .../2023-02-03-applicationcontroller-render.md | 4 ---- ruby/ql/lib/change-notes/2023-02-03-twirp.md | 4 ---- .../2023-02-13-actioncontroller-filters.md | 4 ---- ruby/ql/lib/change-notes/released/0.5.4.md | 7 +++++++ ruby/ql/lib/codeql-pack.release.yml | 2 +- ruby/ql/lib/qlpack.yml | 2 +- ruby/ql/src/CHANGELOG.md | 4 ++++ ruby/ql/src/change-notes/released/0.5.4.md | 3 +++ ruby/ql/src/codeql-pack.release.yml | 2 +- ruby/ql/src/qlpack.yml | 2 +- shared/regex/CHANGELOG.md | 4 ++++ shared/regex/change-notes/released/0.0.8.md | 3 +++ shared/regex/codeql-pack.release.yml | 2 +- shared/regex/qlpack.yml | 2 +- shared/ssa/CHANGELOG.md | 4 ++++ shared/ssa/change-notes/released/0.0.12.md | 3 +++ shared/ssa/codeql-pack.release.yml | 2 +- shared/ssa/qlpack.yml | 2 +- shared/tutorial/CHANGELOG.md | 4 ++++ shared/tutorial/change-notes/released/0.0.5.md | 3 +++ shared/tutorial/codeql-pack.release.yml | 2 +- shared/tutorial/qlpack.yml | 2 +- shared/typetracking/CHANGELOG.md | 4 ++++ shared/typetracking/change-notes/released/0.0.5.md | 3 +++ shared/typetracking/codeql-pack.release.yml | 2 +- shared/typetracking/qlpack.yml | 2 +- shared/typos/CHANGELOG.md | 4 ++++ shared/typos/change-notes/released/0.0.12.md | 3 +++ shared/typos/codeql-pack.release.yml | 2 +- shared/typos/qlpack.yml | 2 +- shared/util/CHANGELOG.md | 4 ++++ shared/util/change-notes/released/0.0.5.md | 3 +++ shared/util/codeql-pack.release.yml | 2 +- shared/util/qlpack.yml | 2 +- 107 files changed, 267 insertions(+), 115 deletions(-) create mode 100644 cpp/ql/lib/change-notes/released/0.5.4.md create mode 100644 cpp/ql/src/change-notes/released/0.5.4.md create mode 100644 csharp/ql/campaigns/Solorigate/lib/change-notes/released/1.4.4.md create mode 100644 csharp/ql/campaigns/Solorigate/src/change-notes/released/1.4.4.md delete mode 100644 csharp/ql/lib/change-notes/2023-02-14-checked-operators.md delete mode 100644 csharp/ql/lib/change-notes/2023-02-16-requiredmembers.md delete mode 100644 csharp/ql/lib/change-notes/2023-02-17-filescopedtypes.md delete mode 100644 csharp/ql/lib/change-notes/2023-02-22-modifierextraction.md delete mode 100644 csharp/ql/lib/change-notes/2023-02-27-explicitinterfacemember.md delete mode 100644 csharp/ql/lib/change-notes/2023-02-28-staticfieldwrites.md create mode 100644 csharp/ql/lib/change-notes/released/0.5.4.md create mode 100644 csharp/ql/src/change-notes/released/0.5.4.md create mode 100644 go/ql/lib/change-notes/released/0.4.4.md rename go/ql/src/change-notes/{2023-02-17-integer-conversion-fix.md => released/0.4.4.md} (82%) delete mode 100644 java/ql/lib/change-notes/2023-02-15-mssql-jdbc-hardcoded-credential-api.md delete mode 100644 java/ql/lib/change-notes/2023-02-17-add-hardcoded-secret-for-jwt-tokens.md delete mode 100644 java/ql/lib/change-notes/2023-02-17-jdk20.md create mode 100644 java/ql/lib/change-notes/released/0.5.4.md create mode 100644 java/ql/src/change-notes/released/0.5.4.md delete mode 100644 javascript/ql/lib/change-notes/2023-02-14-regex-injection-process-env.md rename javascript/ql/lib/change-notes/{2023-02-15-cryptographic-operation-getinput-deprecated.md => released/0.5.0.md} (77%) create mode 100644 javascript/ql/src/change-notes/released/0.5.4.md create mode 100644 misc/suite-helpers/change-notes/released/0.4.4.md delete mode 100644 python/ql/lib/change-notes/2023-02-13-hmac-modeling.md delete mode 100644 python/ql/lib/change-notes/2023-02-16-import-if-then-else.md rename python/ql/lib/change-notes/{2023-01-16-new-call-graph.md => released/0.8.1.md} (57%) create mode 100644 python/ql/src/change-notes/released/0.6.4.md delete mode 100644 ruby/ql/lib/change-notes/2023-02-03-applicationcontroller-render.md delete mode 100644 ruby/ql/lib/change-notes/2023-02-03-twirp.md delete mode 100644 ruby/ql/lib/change-notes/2023-02-13-actioncontroller-filters.md create mode 100644 ruby/ql/lib/change-notes/released/0.5.4.md create mode 100644 ruby/ql/src/change-notes/released/0.5.4.md create mode 100644 shared/regex/change-notes/released/0.0.8.md create mode 100644 shared/ssa/change-notes/released/0.0.12.md create mode 100644 shared/tutorial/change-notes/released/0.0.5.md create mode 100644 shared/typetracking/change-notes/released/0.0.5.md create mode 100644 shared/typos/change-notes/released/0.0.12.md create mode 100644 shared/util/change-notes/released/0.0.5.md diff --git a/cpp/ql/lib/CHANGELOG.md b/cpp/ql/lib/CHANGELOG.md index 319e78ac20b..42a379734a1 100644 --- a/cpp/ql/lib/CHANGELOG.md +++ b/cpp/ql/lib/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.4 + +No user-facing changes. + ## 0.5.3 No user-facing changes. diff --git a/cpp/ql/lib/change-notes/released/0.5.4.md b/cpp/ql/lib/change-notes/released/0.5.4.md new file mode 100644 index 00000000000..1686ab4354d --- /dev/null +++ b/cpp/ql/lib/change-notes/released/0.5.4.md @@ -0,0 +1,3 @@ +## 0.5.4 + +No user-facing changes. diff --git a/cpp/ql/lib/codeql-pack.release.yml b/cpp/ql/lib/codeql-pack.release.yml index 2164e038a5d..cd3f72e2513 100644 --- a/cpp/ql/lib/codeql-pack.release.yml +++ b/cpp/ql/lib/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.5.3 +lastReleaseVersion: 0.5.4 diff --git a/cpp/ql/lib/qlpack.yml b/cpp/ql/lib/qlpack.yml index ee8b5187961..97612ea6b11 100644 --- a/cpp/ql/lib/qlpack.yml +++ b/cpp/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/cpp-all -version: 0.5.4-dev +version: 0.5.4 groups: cpp dbscheme: semmlecode.cpp.dbscheme extractor: cpp diff --git a/cpp/ql/src/CHANGELOG.md b/cpp/ql/src/CHANGELOG.md index f0364b77bab..2024538e99c 100644 --- a/cpp/ql/src/CHANGELOG.md +++ b/cpp/ql/src/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.4 + +No user-facing changes. + ## 0.5.3 No user-facing changes. diff --git a/cpp/ql/src/change-notes/released/0.5.4.md b/cpp/ql/src/change-notes/released/0.5.4.md new file mode 100644 index 00000000000..1686ab4354d --- /dev/null +++ b/cpp/ql/src/change-notes/released/0.5.4.md @@ -0,0 +1,3 @@ +## 0.5.4 + +No user-facing changes. diff --git a/cpp/ql/src/codeql-pack.release.yml b/cpp/ql/src/codeql-pack.release.yml index 2164e038a5d..cd3f72e2513 100644 --- a/cpp/ql/src/codeql-pack.release.yml +++ b/cpp/ql/src/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.5.3 +lastReleaseVersion: 0.5.4 diff --git a/cpp/ql/src/qlpack.yml b/cpp/ql/src/qlpack.yml index 025587014e6..f67d3f0248a 100644 --- a/cpp/ql/src/qlpack.yml +++ b/cpp/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/cpp-queries -version: 0.5.4-dev +version: 0.5.4 groups: - cpp - queries diff --git a/csharp/ql/campaigns/Solorigate/lib/CHANGELOG.md b/csharp/ql/campaigns/Solorigate/lib/CHANGELOG.md index 3d63162ca4d..1f2dc408daf 100644 --- a/csharp/ql/campaigns/Solorigate/lib/CHANGELOG.md +++ b/csharp/ql/campaigns/Solorigate/lib/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.4.4 + +No user-facing changes. + ## 1.4.3 No user-facing changes. diff --git a/csharp/ql/campaigns/Solorigate/lib/change-notes/released/1.4.4.md b/csharp/ql/campaigns/Solorigate/lib/change-notes/released/1.4.4.md new file mode 100644 index 00000000000..cb7dd204b9c --- /dev/null +++ b/csharp/ql/campaigns/Solorigate/lib/change-notes/released/1.4.4.md @@ -0,0 +1,3 @@ +## 1.4.4 + +No user-facing changes. diff --git a/csharp/ql/campaigns/Solorigate/lib/codeql-pack.release.yml b/csharp/ql/campaigns/Solorigate/lib/codeql-pack.release.yml index 08f88b689fb..1dfca6daa3b 100644 --- a/csharp/ql/campaigns/Solorigate/lib/codeql-pack.release.yml +++ b/csharp/ql/campaigns/Solorigate/lib/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 1.4.3 +lastReleaseVersion: 1.4.4 diff --git a/csharp/ql/campaigns/Solorigate/lib/qlpack.yml b/csharp/ql/campaigns/Solorigate/lib/qlpack.yml index 7aa032fa92d..730418ea972 100644 --- a/csharp/ql/campaigns/Solorigate/lib/qlpack.yml +++ b/csharp/ql/campaigns/Solorigate/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/csharp-solorigate-all -version: 1.4.4-dev +version: 1.4.4 groups: - csharp - solorigate diff --git a/csharp/ql/campaigns/Solorigate/src/CHANGELOG.md b/csharp/ql/campaigns/Solorigate/src/CHANGELOG.md index 3d63162ca4d..1f2dc408daf 100644 --- a/csharp/ql/campaigns/Solorigate/src/CHANGELOG.md +++ b/csharp/ql/campaigns/Solorigate/src/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.4.4 + +No user-facing changes. + ## 1.4.3 No user-facing changes. diff --git a/csharp/ql/campaigns/Solorigate/src/change-notes/released/1.4.4.md b/csharp/ql/campaigns/Solorigate/src/change-notes/released/1.4.4.md new file mode 100644 index 00000000000..cb7dd204b9c --- /dev/null +++ b/csharp/ql/campaigns/Solorigate/src/change-notes/released/1.4.4.md @@ -0,0 +1,3 @@ +## 1.4.4 + +No user-facing changes. diff --git a/csharp/ql/campaigns/Solorigate/src/codeql-pack.release.yml b/csharp/ql/campaigns/Solorigate/src/codeql-pack.release.yml index 08f88b689fb..1dfca6daa3b 100644 --- a/csharp/ql/campaigns/Solorigate/src/codeql-pack.release.yml +++ b/csharp/ql/campaigns/Solorigate/src/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 1.4.3 +lastReleaseVersion: 1.4.4 diff --git a/csharp/ql/campaigns/Solorigate/src/qlpack.yml b/csharp/ql/campaigns/Solorigate/src/qlpack.yml index 72f0256ef39..2c97f8de399 100644 --- a/csharp/ql/campaigns/Solorigate/src/qlpack.yml +++ b/csharp/ql/campaigns/Solorigate/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/csharp-solorigate-queries -version: 1.4.4-dev +version: 1.4.4 groups: - csharp - solorigate diff --git a/csharp/ql/lib/CHANGELOG.md b/csharp/ql/lib/CHANGELOG.md index 7d14d20ddbc..f63797d426f 100644 --- a/csharp/ql/lib/CHANGELOG.md +++ b/csharp/ql/lib/CHANGELOG.md @@ -1,3 +1,14 @@ +## 0.5.4 + +### Minor Analysis Improvements + +* The query `cs/static-field-written-by-instance` is updated to handle properties. +* C# 11: Support for explicit interface member implementation of operators. +* The extraction of member modifiers has been generalised, which could lead to the extraction of more modifiers. +* C# 11: Added extractor and library support for `file` scoped types. +* C# 11: Added extractor support for `required` fields and properties. +* C# 11: Added library support for `checked` operators. + ## 0.5.3 ### Minor Analysis Improvements diff --git a/csharp/ql/lib/change-notes/2023-02-14-checked-operators.md b/csharp/ql/lib/change-notes/2023-02-14-checked-operators.md deleted file mode 100644 index 19d4a7f3f66..00000000000 --- a/csharp/ql/lib/change-notes/2023-02-14-checked-operators.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* C# 11: Added library support for `checked` operators. \ No newline at end of file diff --git a/csharp/ql/lib/change-notes/2023-02-16-requiredmembers.md b/csharp/ql/lib/change-notes/2023-02-16-requiredmembers.md deleted file mode 100644 index 8a318ca52ec..00000000000 --- a/csharp/ql/lib/change-notes/2023-02-16-requiredmembers.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* C# 11: Added extractor support for `required` fields and properties. \ No newline at end of file diff --git a/csharp/ql/lib/change-notes/2023-02-17-filescopedtypes.md b/csharp/ql/lib/change-notes/2023-02-17-filescopedtypes.md deleted file mode 100644 index f3baf13fde4..00000000000 --- a/csharp/ql/lib/change-notes/2023-02-17-filescopedtypes.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* C# 11: Added extractor and library support for `file` scoped types. \ No newline at end of file diff --git a/csharp/ql/lib/change-notes/2023-02-22-modifierextraction.md b/csharp/ql/lib/change-notes/2023-02-22-modifierextraction.md deleted file mode 100644 index 2078c2a9f1e..00000000000 --- a/csharp/ql/lib/change-notes/2023-02-22-modifierextraction.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* The extraction of member modifiers has been generalised, which could lead to the extraction of more modifiers. \ No newline at end of file diff --git a/csharp/ql/lib/change-notes/2023-02-27-explicitinterfacemember.md b/csharp/ql/lib/change-notes/2023-02-27-explicitinterfacemember.md deleted file mode 100644 index 7fd5f2ce8be..00000000000 --- a/csharp/ql/lib/change-notes/2023-02-27-explicitinterfacemember.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* C# 11: Support for explicit interface member implementation of operators. \ No newline at end of file diff --git a/csharp/ql/lib/change-notes/2023-02-28-staticfieldwrites.md b/csharp/ql/lib/change-notes/2023-02-28-staticfieldwrites.md deleted file mode 100644 index 8f726f7a6df..00000000000 --- a/csharp/ql/lib/change-notes/2023-02-28-staticfieldwrites.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* The query `cs/static-field-written-by-instance` is updated to handle properties. \ No newline at end of file diff --git a/csharp/ql/lib/change-notes/released/0.5.4.md b/csharp/ql/lib/change-notes/released/0.5.4.md new file mode 100644 index 00000000000..74d5a40c317 --- /dev/null +++ b/csharp/ql/lib/change-notes/released/0.5.4.md @@ -0,0 +1,10 @@ +## 0.5.4 + +### Minor Analysis Improvements + +* The query `cs/static-field-written-by-instance` is updated to handle properties. +* C# 11: Support for explicit interface member implementation of operators. +* The extraction of member modifiers has been generalised, which could lead to the extraction of more modifiers. +* C# 11: Added extractor and library support for `file` scoped types. +* C# 11: Added extractor support for `required` fields and properties. +* C# 11: Added library support for `checked` operators. diff --git a/csharp/ql/lib/codeql-pack.release.yml b/csharp/ql/lib/codeql-pack.release.yml index 2164e038a5d..cd3f72e2513 100644 --- a/csharp/ql/lib/codeql-pack.release.yml +++ b/csharp/ql/lib/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.5.3 +lastReleaseVersion: 0.5.4 diff --git a/csharp/ql/lib/qlpack.yml b/csharp/ql/lib/qlpack.yml index 3f118d8115f..27cc17e2358 100644 --- a/csharp/ql/lib/qlpack.yml +++ b/csharp/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/csharp-all -version: 0.5.4-dev +version: 0.5.4 groups: csharp dbscheme: semmlecode.csharp.dbscheme extractor: csharp diff --git a/csharp/ql/src/CHANGELOG.md b/csharp/ql/src/CHANGELOG.md index 15b14e1e20d..b75d77162f4 100644 --- a/csharp/ql/src/CHANGELOG.md +++ b/csharp/ql/src/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.4 + +No user-facing changes. + ## 0.5.3 No user-facing changes. diff --git a/csharp/ql/src/change-notes/released/0.5.4.md b/csharp/ql/src/change-notes/released/0.5.4.md new file mode 100644 index 00000000000..1686ab4354d --- /dev/null +++ b/csharp/ql/src/change-notes/released/0.5.4.md @@ -0,0 +1,3 @@ +## 0.5.4 + +No user-facing changes. diff --git a/csharp/ql/src/codeql-pack.release.yml b/csharp/ql/src/codeql-pack.release.yml index 2164e038a5d..cd3f72e2513 100644 --- a/csharp/ql/src/codeql-pack.release.yml +++ b/csharp/ql/src/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.5.3 +lastReleaseVersion: 0.5.4 diff --git a/csharp/ql/src/qlpack.yml b/csharp/ql/src/qlpack.yml index 54179503685..4620f3f25b0 100644 --- a/csharp/ql/src/qlpack.yml +++ b/csharp/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/csharp-queries -version: 0.5.4-dev +version: 0.5.4 groups: - csharp - queries diff --git a/go/ql/lib/CHANGELOG.md b/go/ql/lib/CHANGELOG.md index 1a5db51a5ee..3bab3bf2b6a 100644 --- a/go/ql/lib/CHANGELOG.md +++ b/go/ql/lib/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.4 + +No user-facing changes. + ## 0.4.3 ### New Features diff --git a/go/ql/lib/change-notes/released/0.4.4.md b/go/ql/lib/change-notes/released/0.4.4.md new file mode 100644 index 00000000000..33e1c91255d --- /dev/null +++ b/go/ql/lib/change-notes/released/0.4.4.md @@ -0,0 +1,3 @@ +## 0.4.4 + +No user-facing changes. diff --git a/go/ql/lib/codeql-pack.release.yml b/go/ql/lib/codeql-pack.release.yml index 1ec9c4ea5d9..e9b57993a01 100644 --- a/go/ql/lib/codeql-pack.release.yml +++ b/go/ql/lib/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.4.3 +lastReleaseVersion: 0.4.4 diff --git a/go/ql/lib/qlpack.yml b/go/ql/lib/qlpack.yml index 6d9f6fb8962..db73d562e3f 100644 --- a/go/ql/lib/qlpack.yml +++ b/go/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/go-all -version: 0.4.4-dev +version: 0.4.4 groups: go dbscheme: go.dbscheme extractor: go diff --git a/go/ql/src/CHANGELOG.md b/go/ql/src/CHANGELOG.md index d7c6b659d23..dc2a4549cb5 100644 --- a/go/ql/src/CHANGELOG.md +++ b/go/ql/src/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.4.4 + +### Minor Analysis Improvements + +* The query `go/incorrect-integer-conversion` now correctly recognises guards of the form `if val <= x` to protect a conversion `uintX(val)` when `x` is in the range `(math.MaxIntX, math.MaxUintX]`. + ## 0.4.3 ### New Queries diff --git a/go/ql/src/change-notes/2023-02-17-integer-conversion-fix.md b/go/ql/src/change-notes/released/0.4.4.md similarity index 82% rename from go/ql/src/change-notes/2023-02-17-integer-conversion-fix.md rename to go/ql/src/change-notes/released/0.4.4.md index 9fb36271a32..d25137135bd 100644 --- a/go/ql/src/change-notes/2023-02-17-integer-conversion-fix.md +++ b/go/ql/src/change-notes/released/0.4.4.md @@ -1,4 +1,5 @@ ---- -category: minorAnalysis ---- +## 0.4.4 + +### Minor Analysis Improvements + * The query `go/incorrect-integer-conversion` now correctly recognises guards of the form `if val <= x` to protect a conversion `uintX(val)` when `x` is in the range `(math.MaxIntX, math.MaxUintX]`. diff --git a/go/ql/src/codeql-pack.release.yml b/go/ql/src/codeql-pack.release.yml index 1ec9c4ea5d9..e9b57993a01 100644 --- a/go/ql/src/codeql-pack.release.yml +++ b/go/ql/src/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.4.3 +lastReleaseVersion: 0.4.4 diff --git a/go/ql/src/qlpack.yml b/go/ql/src/qlpack.yml index a5a4c5de846..411f76bd023 100644 --- a/go/ql/src/qlpack.yml +++ b/go/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/go-queries -version: 0.4.4-dev +version: 0.4.4 groups: - go - queries diff --git a/java/ql/lib/CHANGELOG.md b/java/ql/lib/CHANGELOG.md index a7710c105fd..d7428d81c27 100644 --- a/java/ql/lib/CHANGELOG.md +++ b/java/ql/lib/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.5.4 + +### Minor Analysis Improvements + +* Added new sinks for `java/hardcoded-credential-api-call` to identify the use of hardcoded secrets in the creation and verification of JWT tokens using `com.auth0.jwt`. These sinks are from [an experimental query submitted by @luchua](https://github.com/github/codeql/pull/9036). +* The Java extractor now supports builds against JDK 20. +* The query `java/hardcoded-credential-api-call` now recognizes methods that accept user and password from the SQLServerDataSource class of the Microsoft JDBC Driver for SQL Server. + ## 0.5.3 ### New Features diff --git a/java/ql/lib/change-notes/2023-02-15-mssql-jdbc-hardcoded-credential-api.md b/java/ql/lib/change-notes/2023-02-15-mssql-jdbc-hardcoded-credential-api.md deleted file mode 100644 index 63fbb5647c1..00000000000 --- a/java/ql/lib/change-notes/2023-02-15-mssql-jdbc-hardcoded-credential-api.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* The query `java/hardcoded-credential-api-call` now recognizes methods that accept user and password from the SQLServerDataSource class of the Microsoft JDBC Driver for SQL Server. \ No newline at end of file diff --git a/java/ql/lib/change-notes/2023-02-17-add-hardcoded-secret-for-jwt-tokens.md b/java/ql/lib/change-notes/2023-02-17-add-hardcoded-secret-for-jwt-tokens.md deleted file mode 100644 index 408bb13755b..00000000000 --- a/java/ql/lib/change-notes/2023-02-17-add-hardcoded-secret-for-jwt-tokens.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* Added new sinks for `java/hardcoded-credential-api-call` to identify the use of hardcoded secrets in the creation and verification of JWT tokens using `com.auth0.jwt`. These sinks are from [an experimental query submitted by @luchua](https://github.com/github/codeql/pull/9036). diff --git a/java/ql/lib/change-notes/2023-02-17-jdk20.md b/java/ql/lib/change-notes/2023-02-17-jdk20.md deleted file mode 100644 index a2f674cc275..00000000000 --- a/java/ql/lib/change-notes/2023-02-17-jdk20.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* The Java extractor now supports builds against JDK 20. \ No newline at end of file diff --git a/java/ql/lib/change-notes/released/0.5.4.md b/java/ql/lib/change-notes/released/0.5.4.md new file mode 100644 index 00000000000..2a7d66f7cfe --- /dev/null +++ b/java/ql/lib/change-notes/released/0.5.4.md @@ -0,0 +1,7 @@ +## 0.5.4 + +### Minor Analysis Improvements + +* Added new sinks for `java/hardcoded-credential-api-call` to identify the use of hardcoded secrets in the creation and verification of JWT tokens using `com.auth0.jwt`. These sinks are from [an experimental query submitted by @luchua](https://github.com/github/codeql/pull/9036). +* The Java extractor now supports builds against JDK 20. +* The query `java/hardcoded-credential-api-call` now recognizes methods that accept user and password from the SQLServerDataSource class of the Microsoft JDBC Driver for SQL Server. diff --git a/java/ql/lib/codeql-pack.release.yml b/java/ql/lib/codeql-pack.release.yml index 2164e038a5d..cd3f72e2513 100644 --- a/java/ql/lib/codeql-pack.release.yml +++ b/java/ql/lib/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.5.3 +lastReleaseVersion: 0.5.4 diff --git a/java/ql/lib/qlpack.yml b/java/ql/lib/qlpack.yml index fb4ea6dca37..06d6abc7d8b 100644 --- a/java/ql/lib/qlpack.yml +++ b/java/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/java-all -version: 0.5.4-dev +version: 0.5.4 groups: java dbscheme: config/semmlecode.dbscheme extractor: java diff --git a/java/ql/src/CHANGELOG.md b/java/ql/src/CHANGELOG.md index 0741ea4a1a3..e2a9e8a56f0 100644 --- a/java/ql/src/CHANGELOG.md +++ b/java/ql/src/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.4 + +No user-facing changes. + ## 0.5.3 ### New Queries diff --git a/java/ql/src/change-notes/released/0.5.4.md b/java/ql/src/change-notes/released/0.5.4.md new file mode 100644 index 00000000000..1686ab4354d --- /dev/null +++ b/java/ql/src/change-notes/released/0.5.4.md @@ -0,0 +1,3 @@ +## 0.5.4 + +No user-facing changes. diff --git a/java/ql/src/codeql-pack.release.yml b/java/ql/src/codeql-pack.release.yml index 2164e038a5d..cd3f72e2513 100644 --- a/java/ql/src/codeql-pack.release.yml +++ b/java/ql/src/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.5.3 +lastReleaseVersion: 0.5.4 diff --git a/java/ql/src/qlpack.yml b/java/ql/src/qlpack.yml index 7347b058157..6ed97fcf421 100644 --- a/java/ql/src/qlpack.yml +++ b/java/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/java-queries -version: 0.5.4-dev +version: 0.5.4 groups: - java - queries diff --git a/javascript/ql/lib/CHANGELOG.md b/javascript/ql/lib/CHANGELOG.md index 428036e9c45..fe3158d447e 100644 --- a/javascript/ql/lib/CHANGELOG.md +++ b/javascript/ql/lib/CHANGELOG.md @@ -1,3 +1,16 @@ +## 0.5.0 + +### Breaking Changes + +* The `CryptographicOperation` concept has been changed to use a range pattern. This is a breaking change and existing implementations of `CryptographicOperation` will need to be updated in order to compile. These implementations can be updated by: + 1. Extending `CryptographicOperation::Range` rather than `CryptographicOperation` + 2. Renaming the `getInput()` member predicate as `getAnInput()` + 3. Implementing the `BlockMode getBlockMode()` member predicate. The implementation for this can be `none()` if the operation is a hashing operation or an encryption operation using a stream cipher. + +### Minor Analysis Improvements + +* The `js/regex-injection` query now recognizes environment variables and command-line arguments as sources. + ## 0.4.3 ### Minor Analysis Improvements diff --git a/javascript/ql/lib/change-notes/2023-02-14-regex-injection-process-env.md b/javascript/ql/lib/change-notes/2023-02-14-regex-injection-process-env.md deleted file mode 100644 index 504b71a92b5..00000000000 --- a/javascript/ql/lib/change-notes/2023-02-14-regex-injection-process-env.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* The `js/regex-injection` query now recognizes environment variables and command-line arguments as sources. \ No newline at end of file diff --git a/javascript/ql/lib/change-notes/2023-02-15-cryptographic-operation-getinput-deprecated.md b/javascript/ql/lib/change-notes/released/0.5.0.md similarity index 77% rename from javascript/ql/lib/change-notes/2023-02-15-cryptographic-operation-getinput-deprecated.md rename to javascript/ql/lib/change-notes/released/0.5.0.md index 246d23739c1..0c9209faec3 100644 --- a/javascript/ql/lib/change-notes/2023-02-15-cryptographic-operation-getinput-deprecated.md +++ b/javascript/ql/lib/change-notes/released/0.5.0.md @@ -1,7 +1,12 @@ ---- -category: breaking ---- +## 0.5.0 + +### Breaking Changes + * The `CryptographicOperation` concept has been changed to use a range pattern. This is a breaking change and existing implementations of `CryptographicOperation` will need to be updated in order to compile. These implementations can be updated by: 1. Extending `CryptographicOperation::Range` rather than `CryptographicOperation` 2. Renaming the `getInput()` member predicate as `getAnInput()` 3. Implementing the `BlockMode getBlockMode()` member predicate. The implementation for this can be `none()` if the operation is a hashing operation or an encryption operation using a stream cipher. + +### Minor Analysis Improvements + +* The `js/regex-injection` query now recognizes environment variables and command-line arguments as sources. diff --git a/javascript/ql/lib/codeql-pack.release.yml b/javascript/ql/lib/codeql-pack.release.yml index 1ec9c4ea5d9..30e271c5361 100644 --- a/javascript/ql/lib/codeql-pack.release.yml +++ b/javascript/ql/lib/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.4.3 +lastReleaseVersion: 0.5.0 diff --git a/javascript/ql/lib/qlpack.yml b/javascript/ql/lib/qlpack.yml index 16aa05fb0ff..574c5a5e086 100644 --- a/javascript/ql/lib/qlpack.yml +++ b/javascript/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/javascript-all -version: 0.4.4-dev +version: 0.5.0 groups: javascript dbscheme: semmlecode.javascript.dbscheme extractor: javascript diff --git a/javascript/ql/src/CHANGELOG.md b/javascript/ql/src/CHANGELOG.md index 7eb1ebe12bd..070376b98d3 100644 --- a/javascript/ql/src/CHANGELOG.md +++ b/javascript/ql/src/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.4 + +No user-facing changes. + ## 0.5.3 No user-facing changes. diff --git a/javascript/ql/src/change-notes/released/0.5.4.md b/javascript/ql/src/change-notes/released/0.5.4.md new file mode 100644 index 00000000000..1686ab4354d --- /dev/null +++ b/javascript/ql/src/change-notes/released/0.5.4.md @@ -0,0 +1,3 @@ +## 0.5.4 + +No user-facing changes. diff --git a/javascript/ql/src/codeql-pack.release.yml b/javascript/ql/src/codeql-pack.release.yml index 2164e038a5d..cd3f72e2513 100644 --- a/javascript/ql/src/codeql-pack.release.yml +++ b/javascript/ql/src/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.5.3 +lastReleaseVersion: 0.5.4 diff --git a/javascript/ql/src/qlpack.yml b/javascript/ql/src/qlpack.yml index 0fa78fbcee3..e8a72f1289c 100644 --- a/javascript/ql/src/qlpack.yml +++ b/javascript/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/javascript-queries -version: 0.5.4-dev +version: 0.5.4 groups: - javascript - queries diff --git a/misc/suite-helpers/CHANGELOG.md b/misc/suite-helpers/CHANGELOG.md index e6532a3f5d8..d9ec2274496 100644 --- a/misc/suite-helpers/CHANGELOG.md +++ b/misc/suite-helpers/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.4 + +No user-facing changes. + ## 0.4.3 No user-facing changes. diff --git a/misc/suite-helpers/change-notes/released/0.4.4.md b/misc/suite-helpers/change-notes/released/0.4.4.md new file mode 100644 index 00000000000..33e1c91255d --- /dev/null +++ b/misc/suite-helpers/change-notes/released/0.4.4.md @@ -0,0 +1,3 @@ +## 0.4.4 + +No user-facing changes. diff --git a/misc/suite-helpers/codeql-pack.release.yml b/misc/suite-helpers/codeql-pack.release.yml index 1ec9c4ea5d9..e9b57993a01 100644 --- a/misc/suite-helpers/codeql-pack.release.yml +++ b/misc/suite-helpers/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.4.3 +lastReleaseVersion: 0.4.4 diff --git a/misc/suite-helpers/qlpack.yml b/misc/suite-helpers/qlpack.yml index 8f380beb26b..70df90036f1 100644 --- a/misc/suite-helpers/qlpack.yml +++ b/misc/suite-helpers/qlpack.yml @@ -1,3 +1,3 @@ name: codeql/suite-helpers -version: 0.4.4-dev +version: 0.4.4 groups: shared diff --git a/python/ql/lib/CHANGELOG.md b/python/ql/lib/CHANGELOG.md index c7ade22bbcb..f8865f0d601 100644 --- a/python/ql/lib/CHANGELOG.md +++ b/python/ql/lib/CHANGELOG.md @@ -1,3 +1,14 @@ +## 0.8.1 + +### Major Analysis Improvements + +* We use a new analysis for the call-graph (determining which function is called). This can lead to changed results. In most cases this is much more accurate than the old call-graph that was based on points-to, but we do lose a few valid edges in the call-graph, especially around methods that are not defined inside its' class. + +### Minor Analysis Improvements + +* Fixed module resolution so we properly recognize definitions made within if-then-else statements. +* Added modeling of cryptographic operations in the `hmac` library. + ## 0.8.0 ### Breaking Changes diff --git a/python/ql/lib/change-notes/2023-02-13-hmac-modeling.md b/python/ql/lib/change-notes/2023-02-13-hmac-modeling.md deleted file mode 100644 index 2753c24a818..00000000000 --- a/python/ql/lib/change-notes/2023-02-13-hmac-modeling.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* Added modeling of cryptographic operations in the `hmac` library. diff --git a/python/ql/lib/change-notes/2023-02-16-import-if-then-else.md b/python/ql/lib/change-notes/2023-02-16-import-if-then-else.md deleted file mode 100644 index c377014a32e..00000000000 --- a/python/ql/lib/change-notes/2023-02-16-import-if-then-else.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* Fixed module resolution so we properly recognize definitions made within if-then-else statements. diff --git a/python/ql/lib/change-notes/2023-01-16-new-call-graph.md b/python/ql/lib/change-notes/released/0.8.1.md similarity index 57% rename from python/ql/lib/change-notes/2023-01-16-new-call-graph.md rename to python/ql/lib/change-notes/released/0.8.1.md index 3a9e6c3abc0..5e7ab94fbf2 100644 --- a/python/ql/lib/change-notes/2023-01-16-new-call-graph.md +++ b/python/ql/lib/change-notes/released/0.8.1.md @@ -1,4 +1,10 @@ ---- -category: majorAnalysis ---- +## 0.8.1 + +### Major Analysis Improvements + * We use a new analysis for the call-graph (determining which function is called). This can lead to changed results. In most cases this is much more accurate than the old call-graph that was based on points-to, but we do lose a few valid edges in the call-graph, especially around methods that are not defined inside its' class. + +### Minor Analysis Improvements + +* Fixed module resolution so we properly recognize definitions made within if-then-else statements. +* Added modeling of cryptographic operations in the `hmac` library. diff --git a/python/ql/lib/codeql-pack.release.yml b/python/ql/lib/codeql-pack.release.yml index 37eab3197dc..2f693f95ba6 100644 --- a/python/ql/lib/codeql-pack.release.yml +++ b/python/ql/lib/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.8.0 +lastReleaseVersion: 0.8.1 diff --git a/python/ql/lib/qlpack.yml b/python/ql/lib/qlpack.yml index 03b59d4771c..4ecb1af0493 100644 --- a/python/ql/lib/qlpack.yml +++ b/python/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/python-all -version: 0.8.1-dev +version: 0.8.1 groups: python dbscheme: semmlecode.python.dbscheme extractor: python diff --git a/python/ql/src/CHANGELOG.md b/python/ql/src/CHANGELOG.md index eace5e34204..aa03127e160 100644 --- a/python/ql/src/CHANGELOG.md +++ b/python/ql/src/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.6.4 + +No user-facing changes. + ## 0.6.3 No user-facing changes. diff --git a/python/ql/src/change-notes/released/0.6.4.md b/python/ql/src/change-notes/released/0.6.4.md new file mode 100644 index 00000000000..7e98b0159fc --- /dev/null +++ b/python/ql/src/change-notes/released/0.6.4.md @@ -0,0 +1,3 @@ +## 0.6.4 + +No user-facing changes. diff --git a/python/ql/src/codeql-pack.release.yml b/python/ql/src/codeql-pack.release.yml index b7dafe32c5d..ced8cf94614 100644 --- a/python/ql/src/codeql-pack.release.yml +++ b/python/ql/src/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.6.3 +lastReleaseVersion: 0.6.4 diff --git a/python/ql/src/qlpack.yml b/python/ql/src/qlpack.yml index dc28c02032a..4860d6cc765 100644 --- a/python/ql/src/qlpack.yml +++ b/python/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/python-queries -version: 0.6.4-dev +version: 0.6.4 groups: - python - queries diff --git a/ruby/ql/lib/CHANGELOG.md b/ruby/ql/lib/CHANGELOG.md index 3aabcb81fa7..9613a598176 100644 --- a/ruby/ql/lib/CHANGELOG.md +++ b/ruby/ql/lib/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.5.4 + +### Minor Analysis Improvements + +* Flow is now tracked between ActionController `before_filter` and `after_filter` callbacks and their associated action methods. +* Calls to `ApplicationController#render` and `ApplicationController::Renderer#render` are recognized as Rails rendering calls. +* Support for [Twirp framework](https://twitchtv.github.io/twirp/docs/intro.html). + ## 0.5.3 ### Minor Analysis Improvements diff --git a/ruby/ql/lib/change-notes/2023-02-03-applicationcontroller-render.md b/ruby/ql/lib/change-notes/2023-02-03-applicationcontroller-render.md deleted file mode 100644 index 6e5abaec42f..00000000000 --- a/ruby/ql/lib/change-notes/2023-02-03-applicationcontroller-render.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* Calls to `ApplicationController#render` and `ApplicationController::Renderer#render` are recognized as Rails rendering calls. diff --git a/ruby/ql/lib/change-notes/2023-02-03-twirp.md b/ruby/ql/lib/change-notes/2023-02-03-twirp.md deleted file mode 100644 index c6f0d48837e..00000000000 --- a/ruby/ql/lib/change-notes/2023-02-03-twirp.md +++ /dev/null @@ -1,4 +0,0 @@ ---- - category: minorAnalysis ---- -* Support for [Twirp framework](https://twitchtv.github.io/twirp/docs/intro.html). diff --git a/ruby/ql/lib/change-notes/2023-02-13-actioncontroller-filters.md b/ruby/ql/lib/change-notes/2023-02-13-actioncontroller-filters.md deleted file mode 100644 index ad2dee58409..00000000000 --- a/ruby/ql/lib/change-notes/2023-02-13-actioncontroller-filters.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: minorAnalysis ---- -* Flow is now tracked between ActionController `before_filter` and `after_filter` callbacks and their associated action methods. \ No newline at end of file diff --git a/ruby/ql/lib/change-notes/released/0.5.4.md b/ruby/ql/lib/change-notes/released/0.5.4.md new file mode 100644 index 00000000000..549a22b3395 --- /dev/null +++ b/ruby/ql/lib/change-notes/released/0.5.4.md @@ -0,0 +1,7 @@ +## 0.5.4 + +### Minor Analysis Improvements + +* Flow is now tracked between ActionController `before_filter` and `after_filter` callbacks and their associated action methods. +* Calls to `ApplicationController#render` and `ApplicationController::Renderer#render` are recognized as Rails rendering calls. +* Support for [Twirp framework](https://twitchtv.github.io/twirp/docs/intro.html). diff --git a/ruby/ql/lib/codeql-pack.release.yml b/ruby/ql/lib/codeql-pack.release.yml index 2164e038a5d..cd3f72e2513 100644 --- a/ruby/ql/lib/codeql-pack.release.yml +++ b/ruby/ql/lib/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.5.3 +lastReleaseVersion: 0.5.4 diff --git a/ruby/ql/lib/qlpack.yml b/ruby/ql/lib/qlpack.yml index 44bce4f5a2c..bcdcbe723a6 100644 --- a/ruby/ql/lib/qlpack.yml +++ b/ruby/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/ruby-all -version: 0.5.4-dev +version: 0.5.4 groups: ruby extractor: ruby dbscheme: ruby.dbscheme diff --git a/ruby/ql/src/CHANGELOG.md b/ruby/ql/src/CHANGELOG.md index c5329a4db5a..03759edabe6 100644 --- a/ruby/ql/src/CHANGELOG.md +++ b/ruby/ql/src/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.4 + +No user-facing changes. + ## 0.5.3 ### New Queries diff --git a/ruby/ql/src/change-notes/released/0.5.4.md b/ruby/ql/src/change-notes/released/0.5.4.md new file mode 100644 index 00000000000..1686ab4354d --- /dev/null +++ b/ruby/ql/src/change-notes/released/0.5.4.md @@ -0,0 +1,3 @@ +## 0.5.4 + +No user-facing changes. diff --git a/ruby/ql/src/codeql-pack.release.yml b/ruby/ql/src/codeql-pack.release.yml index 2164e038a5d..cd3f72e2513 100644 --- a/ruby/ql/src/codeql-pack.release.yml +++ b/ruby/ql/src/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.5.3 +lastReleaseVersion: 0.5.4 diff --git a/ruby/ql/src/qlpack.yml b/ruby/ql/src/qlpack.yml index 448cb25519a..7c01b3f58ac 100644 --- a/ruby/ql/src/qlpack.yml +++ b/ruby/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/ruby-queries -version: 0.5.4-dev +version: 0.5.4 groups: - ruby - queries diff --git a/shared/regex/CHANGELOG.md b/shared/regex/CHANGELOG.md index 122ab5362b6..cf315546ed9 100644 --- a/shared/regex/CHANGELOG.md +++ b/shared/regex/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.8 + +No user-facing changes. + ## 0.0.7 No user-facing changes. diff --git a/shared/regex/change-notes/released/0.0.8.md b/shared/regex/change-notes/released/0.0.8.md new file mode 100644 index 00000000000..6af2d954c09 --- /dev/null +++ b/shared/regex/change-notes/released/0.0.8.md @@ -0,0 +1,3 @@ +## 0.0.8 + +No user-facing changes. diff --git a/shared/regex/codeql-pack.release.yml b/shared/regex/codeql-pack.release.yml index a2a5484910b..58fdc6b45de 100644 --- a/shared/regex/codeql-pack.release.yml +++ b/shared/regex/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.0.7 +lastReleaseVersion: 0.0.8 diff --git a/shared/regex/qlpack.yml b/shared/regex/qlpack.yml index 07b3584d50b..a17bd09b849 100644 --- a/shared/regex/qlpack.yml +++ b/shared/regex/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/regex -version: 0.0.8-dev +version: 0.0.8 groups: shared library: true dependencies: diff --git a/shared/ssa/CHANGELOG.md b/shared/ssa/CHANGELOG.md index 4f07ce5c1ec..b051605d8b6 100644 --- a/shared/ssa/CHANGELOG.md +++ b/shared/ssa/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.12 + +No user-facing changes. + ## 0.0.11 No user-facing changes. diff --git a/shared/ssa/change-notes/released/0.0.12.md b/shared/ssa/change-notes/released/0.0.12.md new file mode 100644 index 00000000000..0e206033bc4 --- /dev/null +++ b/shared/ssa/change-notes/released/0.0.12.md @@ -0,0 +1,3 @@ +## 0.0.12 + +No user-facing changes. diff --git a/shared/ssa/codeql-pack.release.yml b/shared/ssa/codeql-pack.release.yml index e679dc42092..997fb8da83c 100644 --- a/shared/ssa/codeql-pack.release.yml +++ b/shared/ssa/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.0.11 +lastReleaseVersion: 0.0.12 diff --git a/shared/ssa/qlpack.yml b/shared/ssa/qlpack.yml index 9f2bad1207f..3498095d656 100644 --- a/shared/ssa/qlpack.yml +++ b/shared/ssa/qlpack.yml @@ -1,4 +1,4 @@ name: codeql/ssa -version: 0.0.12-dev +version: 0.0.12 groups: shared library: true diff --git a/shared/tutorial/CHANGELOG.md b/shared/tutorial/CHANGELOG.md index 3db1262ff44..c2a0dedaa8e 100644 --- a/shared/tutorial/CHANGELOG.md +++ b/shared/tutorial/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.5 + +No user-facing changes. + ## 0.0.4 No user-facing changes. diff --git a/shared/tutorial/change-notes/released/0.0.5.md b/shared/tutorial/change-notes/released/0.0.5.md new file mode 100644 index 00000000000..766ec2723b5 --- /dev/null +++ b/shared/tutorial/change-notes/released/0.0.5.md @@ -0,0 +1,3 @@ +## 0.0.5 + +No user-facing changes. diff --git a/shared/tutorial/codeql-pack.release.yml b/shared/tutorial/codeql-pack.release.yml index ec411a674bc..bb45a1ab018 100644 --- a/shared/tutorial/codeql-pack.release.yml +++ b/shared/tutorial/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.0.4 +lastReleaseVersion: 0.0.5 diff --git a/shared/tutorial/qlpack.yml b/shared/tutorial/qlpack.yml index 0108cf86a00..d8bd40febe0 100644 --- a/shared/tutorial/qlpack.yml +++ b/shared/tutorial/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/tutorial description: Library for the CodeQL detective tutorials, helping new users learn to write CodeQL queries. -version: 0.0.5-dev +version: 0.0.5 groups: shared library: true diff --git a/shared/typetracking/CHANGELOG.md b/shared/typetracking/CHANGELOG.md index 203d814ee87..8d859f9b9e6 100644 --- a/shared/typetracking/CHANGELOG.md +++ b/shared/typetracking/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.5 + +No user-facing changes. + ## 0.0.4 No user-facing changes. diff --git a/shared/typetracking/change-notes/released/0.0.5.md b/shared/typetracking/change-notes/released/0.0.5.md new file mode 100644 index 00000000000..766ec2723b5 --- /dev/null +++ b/shared/typetracking/change-notes/released/0.0.5.md @@ -0,0 +1,3 @@ +## 0.0.5 + +No user-facing changes. diff --git a/shared/typetracking/codeql-pack.release.yml b/shared/typetracking/codeql-pack.release.yml index ec411a674bc..bb45a1ab018 100644 --- a/shared/typetracking/codeql-pack.release.yml +++ b/shared/typetracking/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.0.4 +lastReleaseVersion: 0.0.5 diff --git a/shared/typetracking/qlpack.yml b/shared/typetracking/qlpack.yml index aeae3429d62..bf5a9619207 100644 --- a/shared/typetracking/qlpack.yml +++ b/shared/typetracking/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/typetracking -version: 0.0.5-dev +version: 0.0.5 groups: shared library: true dependencies: diff --git a/shared/typos/CHANGELOG.md b/shared/typos/CHANGELOG.md index 5bfc49ecc91..803a23bed1a 100644 --- a/shared/typos/CHANGELOG.md +++ b/shared/typos/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.12 + +No user-facing changes. + ## 0.0.11 No user-facing changes. diff --git a/shared/typos/change-notes/released/0.0.12.md b/shared/typos/change-notes/released/0.0.12.md new file mode 100644 index 00000000000..0e206033bc4 --- /dev/null +++ b/shared/typos/change-notes/released/0.0.12.md @@ -0,0 +1,3 @@ +## 0.0.12 + +No user-facing changes. diff --git a/shared/typos/codeql-pack.release.yml b/shared/typos/codeql-pack.release.yml index e679dc42092..997fb8da83c 100644 --- a/shared/typos/codeql-pack.release.yml +++ b/shared/typos/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.0.11 +lastReleaseVersion: 0.0.12 diff --git a/shared/typos/qlpack.yml b/shared/typos/qlpack.yml index 4358c859ee6..5e3dd217b5a 100644 --- a/shared/typos/qlpack.yml +++ b/shared/typos/qlpack.yml @@ -1,4 +1,4 @@ name: codeql/typos -version: 0.0.12-dev +version: 0.0.12 groups: shared library: true diff --git a/shared/util/CHANGELOG.md b/shared/util/CHANGELOG.md index 60892d241a6..152fb894277 100644 --- a/shared/util/CHANGELOG.md +++ b/shared/util/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.5 + +No user-facing changes. + ## 0.0.4 No user-facing changes. diff --git a/shared/util/change-notes/released/0.0.5.md b/shared/util/change-notes/released/0.0.5.md new file mode 100644 index 00000000000..766ec2723b5 --- /dev/null +++ b/shared/util/change-notes/released/0.0.5.md @@ -0,0 +1,3 @@ +## 0.0.5 + +No user-facing changes. diff --git a/shared/util/codeql-pack.release.yml b/shared/util/codeql-pack.release.yml index ec411a674bc..bb45a1ab018 100644 --- a/shared/util/codeql-pack.release.yml +++ b/shared/util/codeql-pack.release.yml @@ -1,2 +1,2 @@ --- -lastReleaseVersion: 0.0.4 +lastReleaseVersion: 0.0.5 diff --git a/shared/util/qlpack.yml b/shared/util/qlpack.yml index 54aa156c0cd..ddc8b90e458 100644 --- a/shared/util/qlpack.yml +++ b/shared/util/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/util -version: 0.0.5-dev +version: 0.0.5 groups: shared library: true dependencies: From 549fb0324b8324a74dd2da9e90cf42627722fc4c Mon Sep 17 00:00:00 2001 From: Jeroen Ketema <93738568+jketema@users.noreply.github.com> Date: Fri, 3 Mar 2023 15:26:38 +0100 Subject: [PATCH 051/145] Apply suggestions from code review --- csharp/ql/lib/CHANGELOG.md | 2 +- csharp/ql/lib/change-notes/released/0.5.4.md | 2 +- go/ql/src/CHANGELOG.md | 2 +- go/ql/src/change-notes/released/0.4.4.md | 2 +- python/ql/lib/CHANGELOG.md | 2 +- python/ql/lib/change-notes/released/0.8.1.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/csharp/ql/lib/CHANGELOG.md b/csharp/ql/lib/CHANGELOG.md index f63797d426f..42eaea79fd6 100644 --- a/csharp/ql/lib/CHANGELOG.md +++ b/csharp/ql/lib/CHANGELOG.md @@ -4,7 +4,7 @@ * The query `cs/static-field-written-by-instance` is updated to handle properties. * C# 11: Support for explicit interface member implementation of operators. -* The extraction of member modifiers has been generalised, which could lead to the extraction of more modifiers. +* The extraction of member modifiers has been generalized, which could lead to the extraction of more modifiers. * C# 11: Added extractor and library support for `file` scoped types. * C# 11: Added extractor support for `required` fields and properties. * C# 11: Added library support for `checked` operators. diff --git a/csharp/ql/lib/change-notes/released/0.5.4.md b/csharp/ql/lib/change-notes/released/0.5.4.md index 74d5a40c317..2b7fefbe7c2 100644 --- a/csharp/ql/lib/change-notes/released/0.5.4.md +++ b/csharp/ql/lib/change-notes/released/0.5.4.md @@ -4,7 +4,7 @@ * The query `cs/static-field-written-by-instance` is updated to handle properties. * C# 11: Support for explicit interface member implementation of operators. -* The extraction of member modifiers has been generalised, which could lead to the extraction of more modifiers. +* The extraction of member modifiers has been generalized, which could lead to the extraction of more modifiers. * C# 11: Added extractor and library support for `file` scoped types. * C# 11: Added extractor support for `required` fields and properties. * C# 11: Added library support for `checked` operators. diff --git a/go/ql/src/CHANGELOG.md b/go/ql/src/CHANGELOG.md index dc2a4549cb5..89ee497c17f 100644 --- a/go/ql/src/CHANGELOG.md +++ b/go/ql/src/CHANGELOG.md @@ -2,7 +2,7 @@ ### Minor Analysis Improvements -* The query `go/incorrect-integer-conversion` now correctly recognises guards of the form `if val <= x` to protect a conversion `uintX(val)` when `x` is in the range `(math.MaxIntX, math.MaxUintX]`. +* The query `go/incorrect-integer-conversion` now correctly recognizes guards of the form `if val <= x` to protect a conversion `uintX(val)` when `x` is in the range `(math.MaxIntX, math.MaxUintX]`. ## 0.4.3 diff --git a/go/ql/src/change-notes/released/0.4.4.md b/go/ql/src/change-notes/released/0.4.4.md index d25137135bd..c721dd4bc33 100644 --- a/go/ql/src/change-notes/released/0.4.4.md +++ b/go/ql/src/change-notes/released/0.4.4.md @@ -2,4 +2,4 @@ ### Minor Analysis Improvements -* The query `go/incorrect-integer-conversion` now correctly recognises guards of the form `if val <= x` to protect a conversion `uintX(val)` when `x` is in the range `(math.MaxIntX, math.MaxUintX]`. +* The query `go/incorrect-integer-conversion` now correctly recognizes guards of the form `if val <= x` to protect a conversion `uintX(val)` when `x` is in the range `(math.MaxIntX, math.MaxUintX]`. diff --git a/python/ql/lib/CHANGELOG.md b/python/ql/lib/CHANGELOG.md index f8865f0d601..cd00bbba31a 100644 --- a/python/ql/lib/CHANGELOG.md +++ b/python/ql/lib/CHANGELOG.md @@ -2,7 +2,7 @@ ### Major Analysis Improvements -* We use a new analysis for the call-graph (determining which function is called). This can lead to changed results. In most cases this is much more accurate than the old call-graph that was based on points-to, but we do lose a few valid edges in the call-graph, especially around methods that are not defined inside its' class. +* We use a new analysis for the call-graph (determining which function is called). This can lead to changed results. In most cases this is much more accurate than the old call-graph that was based on points-to, but we do lose a few valid edges in the call-graph, especially around methods that are not defined inside its class. ### Minor Analysis Improvements diff --git a/python/ql/lib/change-notes/released/0.8.1.md b/python/ql/lib/change-notes/released/0.8.1.md index 5e7ab94fbf2..f318fb7a903 100644 --- a/python/ql/lib/change-notes/released/0.8.1.md +++ b/python/ql/lib/change-notes/released/0.8.1.md @@ -2,7 +2,7 @@ ### Major Analysis Improvements -* We use a new analysis for the call-graph (determining which function is called). This can lead to changed results. In most cases this is much more accurate than the old call-graph that was based on points-to, but we do lose a few valid edges in the call-graph, especially around methods that are not defined inside its' class. +* We use a new analysis for the call-graph (determining which function is called). This can lead to changed results. In most cases this is much more accurate than the old call-graph that was based on points-to, but we do lose a few valid edges in the call-graph, especially around methods that are not defined inside its class. ### Minor Analysis Improvements From d2d7ed7bae88a51a4b09c70726b729abee321284 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Wed, 1 Mar 2023 14:49:02 +0100 Subject: [PATCH 052/145] C#: .NET 7 stubs. --- .../Microsoft.AspNetCore.Antiforgery.cs | 12 +- ....AspNetCore.Authentication.Abstractions.cs | 44 +- ...osoft.AspNetCore.Authentication.Cookies.cs | 33 +- ...icrosoft.AspNetCore.Authentication.Core.cs | 12 +- ...crosoft.AspNetCore.Authentication.OAuth.cs | 38 +- .../Microsoft.AspNetCore.Authentication.cs | 78 +- ...crosoft.AspNetCore.Authorization.Policy.cs | 22 +- .../Microsoft.AspNetCore.Authorization.cs | 84 +- ...oft.AspNetCore.Components.Authorization.cs | 16 +- .../Microsoft.AspNetCore.Components.Forms.cs | 19 +- .../Microsoft.AspNetCore.Components.Server.cs | 31 +- .../Microsoft.AspNetCore.Components.Web.cs | 138 +- .../Microsoft.AspNetCore.Components.cs | 199 +- ...oft.AspNetCore.Connections.Abstractions.cs | 114 +- .../Microsoft.AspNetCore.CookiePolicy.cs | 15 +- .../Microsoft.AspNetCore.Cors.cs | 38 +- ...t.AspNetCore.Cryptography.KeyDerivation.cs | 4 +- ....AspNetCore.DataProtection.Abstractions.cs | 8 +- ...ft.AspNetCore.DataProtection.Extensions.cs | 6 +- .../Microsoft.AspNetCore.DataProtection.cs | 134 +- ...oft.AspNetCore.Diagnostics.Abstractions.cs | 20 +- ...oft.AspNetCore.Diagnostics.HealthChecks.cs | 8 +- .../Microsoft.AspNetCore.Diagnostics.cs | 36 +- .../Microsoft.AspNetCore.HostFiltering.cs | 8 +- ...crosoft.AspNetCore.Hosting.Abstractions.cs | 32 +- ....AspNetCore.Hosting.Server.Abstractions.cs | 12 +- .../Microsoft.AspNetCore.Hosting.cs | 32 +- .../Microsoft.AspNetCore.Html.Abstractions.cs | 14 +- .../Microsoft.AspNetCore.Http.Abstractions.cs | 294 +- ...soft.AspNetCore.Http.Connections.Common.cs | 10 +- .../Microsoft.AspNetCore.Http.Connections.cs | 36 +- .../Microsoft.AspNetCore.Http.Extensions.cs | 100 +- .../Microsoft.AspNetCore.Http.Features.cs | 109 +- .../Microsoft.AspNetCore.Http.Results.cs | 542 +- .../Microsoft.AspNetCore.Http.cs | 74 +- .../Microsoft.AspNetCore.HttpLogging.cs | 15 +- .../Microsoft.AspNetCore.HttpOverrides.cs | 26 +- .../Microsoft.AspNetCore.HttpsPolicy.cs | 16 +- .../Microsoft.AspNetCore.Identity.cs | 36 +- ...crosoft.AspNetCore.Localization.Routing.cs | 2 +- .../Microsoft.AspNetCore.Localization.cs | 30 +- .../Microsoft.AspNetCore.Metadata.cs | 4 +- .../Microsoft.AspNetCore.Mvc.Abstractions.cs | 262 +- .../Microsoft.AspNetCore.Mvc.ApiExplorer.cs | 16 +- .../Microsoft.AspNetCore.Mvc.Core.cs | 830 +-- .../Microsoft.AspNetCore.Mvc.Cors.cs | 6 +- ...icrosoft.AspNetCore.Mvc.DataAnnotations.cs | 22 +- ...Microsoft.AspNetCore.Mvc.Formatters.Xml.cs | 44 +- .../Microsoft.AspNetCore.Mvc.Localization.cs | 24 +- .../Microsoft.AspNetCore.Mvc.Razor.cs | 94 +- .../Microsoft.AspNetCore.Mvc.RazorPages.cs | 137 +- .../Microsoft.AspNetCore.Mvc.TagHelpers.cs | 72 +- .../Microsoft.AspNetCore.Mvc.ViewFeatures.cs | 280 +- .../Microsoft.AspNetCore.Mvc.cs | 2 +- .../Microsoft.AspNetCore.OutputCaching.cs | 148 + .../Microsoft.AspNetCore.RateLimiting.cs | 84 + .../Microsoft.AspNetCore.Razor.Runtime.cs | 26 +- .../Microsoft.AspNetCore.Razor.cs | 40 +- ...crosoft.AspNetCore.RequestDecompression.cs | 52 + ...AspNetCore.ResponseCaching.Abstractions.cs | 2 +- .../Microsoft.AspNetCore.ResponseCaching.cs | 10 +- ...icrosoft.AspNetCore.ResponseCompression.cs | 26 +- .../Microsoft.AspNetCore.Rewrite.cs | 18 +- ...crosoft.AspNetCore.Routing.Abstractions.cs | 30 +- .../Microsoft.AspNetCore.Routing.cs | 332 +- .../Microsoft.AspNetCore.Server.HttpSys.cs | 32 +- .../Microsoft.AspNetCore.Server.IIS.cs | 19 +- ...rosoft.AspNetCore.Server.IISIntegration.cs | 10 +- ...icrosoft.AspNetCore.Server.Kestrel.Core.cs | 71 +- ...spNetCore.Server.Kestrel.Transport.Quic.cs | 11 +- ...etCore.Server.Kestrel.Transport.Sockets.cs | 10 +- .../Microsoft.AspNetCore.Server.Kestrel.cs | 2 +- .../Microsoft.AspNetCore.Session.cs | 18 +- .../Microsoft.AspNetCore.SignalR.Common.cs | 50 +- .../Microsoft.AspNetCore.SignalR.Core.cs | 111 +- ...osoft.AspNetCore.SignalR.Protocols.Json.cs | 6 +- .../Microsoft.AspNetCore.SignalR.cs | 11 +- .../Microsoft.AspNetCore.StaticFiles.cs | 40 +- .../Microsoft.AspNetCore.WebSockets.cs | 10 +- .../Microsoft.AspNetCore.WebUtilities.cs | 52 +- .../Microsoft.AspNetCore.cs | 17 +- ...crosoft.Extensions.Caching.Abstractions.cs | 43 +- .../Microsoft.Extensions.Caching.Memory.cs | 14 +- ...t.Extensions.Configuration.Abstractions.cs | 32 +- ...crosoft.Extensions.Configuration.Binder.cs | 19 +- ...ft.Extensions.Configuration.CommandLine.cs | 6 +- ...ions.Configuration.EnvironmentVariables.cs | 6 +- ...Extensions.Configuration.FileExtensions.cs | 8 +- .../Microsoft.Extensions.Configuration.Ini.cs | 10 +- ...Microsoft.Extensions.Configuration.Json.cs | 10 +- ...oft.Extensions.Configuration.KeyPerFile.cs | 6 +- ...ft.Extensions.Configuration.UserSecrets.cs | 6 +- .../Microsoft.Extensions.Configuration.Xml.cs | 12 +- .../Microsoft.Extensions.Configuration.cs | 33 +- ...nsions.DependencyInjection.Abstractions.cs | 50 +- ...icrosoft.Extensions.DependencyInjection.cs | 8 +- ...s.Diagnostics.HealthChecks.Abstractions.cs | 16 +- ...oft.Extensions.Diagnostics.HealthChecks.cs | 14 +- .../Microsoft.Extensions.Features.cs | 15 +- ...t.Extensions.FileProviders.Abstractions.cs | 14 +- ...soft.Extensions.FileProviders.Composite.cs | 4 +- ...osoft.Extensions.FileProviders.Embedded.cs | 6 +- ...osoft.Extensions.FileProviders.Physical.cs | 16 +- ...Microsoft.Extensions.FileSystemGlobbing.cs | 66 +- ...crosoft.Extensions.Hosting.Abstractions.cs | 57 +- .../Microsoft.Extensions.Hosting.cs | 79 +- .../Microsoft.Extensions.Http.cs | 36 +- .../Microsoft.Extensions.Identity.Core.cs | 132 +- .../Microsoft.Extensions.Identity.Stores.cs | 24 +- ...ft.Extensions.Localization.Abstractions.cs | 12 +- .../Microsoft.Extensions.Localization.cs | 16 +- ...crosoft.Extensions.Logging.Abstractions.cs | 42 +- ...rosoft.Extensions.Logging.Configuration.cs | 27 +- .../Microsoft.Extensions.Logging.Console.cs | 29 +- .../Microsoft.Extensions.Logging.Debug.cs | 4 +- .../Microsoft.Extensions.Logging.EventLog.cs | 6 +- ...icrosoft.Extensions.Logging.EventSource.cs | 8 +- ...icrosoft.Extensions.Logging.TraceSource.cs | 4 +- .../Microsoft.Extensions.Logging.cs | 23 +- .../Microsoft.Extensions.ObjectPool.cs | 24 +- ...ensions.Options.ConfigurationExtensions.cs | 25 +- ...soft.Extensions.Options.DataAnnotations.cs | 19 +- .../Microsoft.Extensions.Options.cs | 93 +- .../Microsoft.Extensions.Primitives.cs | 22 +- .../Microsoft.Extensions.WebEncoders.cs | 10 +- .../Microsoft.JSInterop.cs | 58 +- .../Microsoft.Net.Http.Headers.cs | 38 +- .../System.Diagnostics.EventLog.cs | 90 +- .../System.IO.Pipelines.cs | 22 +- .../System.Security.Cryptography.Xml.cs | 80 +- .../System.Threading.RateLimiting.cs | 231 + .../Microsoft.NETCore.App/Microsoft.CSharp.cs | 12 +- .../Microsoft.VisualBasic.Core.cs | 150 +- .../Microsoft.Win32.Primitives.cs | 2 +- .../Microsoft.Win32.Registry.cs | 26 +- .../System.Collections.Concurrent.cs | 20 +- .../System.Collections.Immutable.cs | 114 +- .../System.Collections.NonGeneric.cs | 18 +- .../System.Collections.Specialized.cs | 29 +- .../System.Collections.cs | 75 +- .../System.ComponentModel.Annotations.cs | 87 +- .../System.ComponentModel.EventBasedAsync.cs | 22 +- .../System.ComponentModel.Primitives.cs | 60 +- .../System.ComponentModel.TypeConverter.cs | 466 +- .../System.ComponentModel.cs | 10 +- .../Microsoft.NETCore.App/System.Console.cs | 16 +- .../System.Data.Common.cs | 405 +- .../System.Diagnostics.Contracts.cs | 30 +- .../System.Diagnostics.DiagnosticSource.cs | 122 +- .../System.Diagnostics.FileVersionInfo.cs | 2 +- .../System.Diagnostics.Process.cs | 32 +- .../System.Diagnostics.StackTrace.cs | 38 +- ...tem.Diagnostics.TextWriterTraceListener.cs | 8 +- .../System.Diagnostics.TraceSource.cs | 63 +- .../System.Diagnostics.Tracing.cs | 62 +- .../System.Drawing.Primitives.cs | 20 +- .../System.Formats.Asn1.cs | 21 +- .../System.Formats.Tar.cs | 151 + .../System.IO.Compression.Brotli.cs | 6 +- .../System.IO.Compression.ZipFile.cs | 4 +- .../System.IO.Compression.cs | 21 +- .../System.IO.FileSystem.AccessControl.cs | 16 +- .../System.IO.FileSystem.DriveInfo.cs | 6 +- .../System.IO.FileSystem.Watcher.cs | 23 +- .../System.IO.IsolatedStorage.cs | 12 +- .../System.IO.MemoryMappedFiles.cs | 16 +- .../System.IO.Pipes.AccessControl.cs | 14 +- .../Microsoft.NETCore.App/System.IO.Pipes.cs | 22 +- .../System.Linq.Expressions.cs | 154 +- .../System.Linq.Parallel.cs | 12 +- .../System.Linq.Queryable.cs | 14 +- .../Microsoft.NETCore.App/System.Linq.cs | 14 +- .../Microsoft.NETCore.App/System.Memory.cs | 74 +- .../System.Net.Http.Json.cs | 24 +- .../Microsoft.NETCore.App/System.Net.Http.cs | 126 +- .../System.Net.HttpListener.cs | 22 +- .../Microsoft.NETCore.App/System.Net.Mail.cs | 56 +- .../System.Net.NameResolution.cs | 4 +- .../System.Net.NetworkInformation.cs | 72 +- .../Microsoft.NETCore.App/System.Net.Ping.cs | 16 +- .../System.Net.Primitives.cs | 66 +- .../Microsoft.NETCore.App/System.Net.Quic.cs | 157 + .../System.Net.Requests.cs | 52 +- .../System.Net.Security.cs | 117 +- .../System.Net.ServicePoint.cs | 8 +- .../System.Net.Sockets.cs | 85 +- .../System.Net.WebClient.cs | 46 +- .../System.Net.WebHeaderCollection.cs | 6 +- .../System.Net.WebProxy.cs | 4 +- .../System.Net.WebSockets.Client.cs | 10 +- .../System.Net.WebSockets.cs | 24 +- .../System.Numerics.Vectors.cs | 51 +- .../System.ObjectModel.cs | 117 +- .../System.Reflection.DispatchProxy.cs | 2 +- .../System.Reflection.Emit.ILGeneration.cs | 12 +- .../System.Reflection.Emit.Lightweight.cs | 4 +- .../System.Reflection.Emit.cs | 22 +- .../System.Reflection.Metadata.cs | 540 +- .../System.Reflection.Primitives.cs | 14 +- .../System.Reflection.TypeExtensions.cs | 14 +- .../System.Resources.Writer.cs | 4 +- .../System.Runtime.CompilerServices.Unsafe.cs | 58 - ...System.Runtime.CompilerServices.VisualC.cs | 32 +- ...stem.Runtime.InteropServices.JavaScript.cs | 347 ++ ...time.InteropServices.RuntimeInformation.cs | 50 - .../System.Runtime.InteropServices.cs | 740 ++- .../System.Runtime.Intrinsics.cs | 596 ++- .../System.Runtime.Loader.cs | 21 +- .../System.Runtime.Numerics.cs | 191 +- ...System.Runtime.Serialization.Formatters.cs | 32 +- .../System.Runtime.Serialization.Json.cs | 16 +- ...System.Runtime.Serialization.Primitives.cs | 27 +- .../System.Runtime.Serialization.Xml.cs | 127 +- .../Microsoft.NETCore.App/System.Runtime.cs | 4516 +++++++++++++---- .../System.Security.AccessControl.cs | 94 +- .../System.Security.Claims.cs | 14 +- ...System.Security.Cryptography.Algorithms.cs | 996 ---- .../System.Security.Cryptography.Cng.cs | 452 -- .../System.Security.Cryptography.Csp.cs | 308 -- .../System.Security.Cryptography.Encoding.cs | 168 - .../System.Security.Cryptography.OpenSsl.cs | 106 - ...System.Security.Cryptography.Primitives.cs | 314 -- ....Security.Cryptography.X509Certificates.cs | 732 --- .../System.Security.Cryptography.cs | 3246 ++++++++++++ .../System.Security.Principal.Windows.cs | 24 +- .../System.Text.Encoding.CodePages.cs | 2 +- .../System.Text.Encoding.Extensions.cs | 10 +- .../System.Text.Encodings.Web.cs | 15 +- .../Microsoft.NETCore.App/System.Text.Json.cs | 255 +- .../System.Text.RegularExpressions.cs | 89 +- .../System.Threading.Channels.cs | 20 +- .../System.Threading.Overlapped.cs | 10 +- .../System.Threading.Tasks.Dataflow.cs | 48 +- .../System.Threading.Tasks.Parallel.cs | 8 +- .../System.Threading.Thread.cs | 28 +- .../System.Threading.ThreadPool.cs | 10 +- .../Microsoft.NETCore.App/System.Threading.cs | 76 +- .../System.Transactions.Local.cs | 76 +- .../System.Web.HttpUtility.cs | 2 +- .../System.Xml.ReaderWriter.cs | 377 +- .../System.Xml.XDocument.cs | 48 +- .../System.Xml.XPath.XDocument.cs | 4 +- .../Microsoft.NETCore.App/System.Xml.XPath.cs | 4 +- .../System.Xml.XmlSerializer.cs | 120 +- 244 files changed, 16106 insertions(+), 9600 deletions(-) create mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.OutputCaching.cs create mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RateLimiting.cs create mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RequestDecompression.cs create mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Threading.RateLimiting.cs create mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Tar.cs create mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Quic.cs delete mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.CompilerServices.Unsafe.cs create mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.JavaScript.cs delete mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.RuntimeInformation.cs delete mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Algorithms.cs delete mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Cng.cs delete mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Csp.cs delete mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Encoding.cs delete mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.OpenSsl.cs delete mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Primitives.cs delete mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.X509Certificates.cs create mode 100644 csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.cs diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Antiforgery.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Antiforgery.cs index 39644a441bb..f854bac2ef9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Antiforgery.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Antiforgery.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Antiforgery { - // Generated from `Microsoft.AspNetCore.Antiforgery.AntiforgeryOptions` in `Microsoft.AspNetCore.Antiforgery, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Antiforgery.AntiforgeryOptions` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AntiforgeryOptions { public AntiforgeryOptions() => throw null; @@ -17,7 +17,7 @@ namespace Microsoft public bool SuppressXFrameOptionsHeader { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet` in `Microsoft.AspNetCore.Antiforgery, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AntiforgeryTokenSet { public AntiforgeryTokenSet(string requestToken, string cookieToken, string formFieldName, string headerName) => throw null; @@ -27,14 +27,14 @@ namespace Microsoft public string RequestToken { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException` in `Microsoft.AspNetCore.Antiforgery, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AntiforgeryValidationException : System.Exception { public AntiforgeryValidationException(string message) => throw null; public AntiforgeryValidationException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.AspNetCore.Antiforgery.IAntiforgery` in `Microsoft.AspNetCore.Antiforgery, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Antiforgery.IAntiforgery` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAntiforgery { Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet GetAndStoreTokens(Microsoft.AspNetCore.Http.HttpContext httpContext); @@ -44,7 +44,7 @@ namespace Microsoft System.Threading.Tasks.Task ValidateRequestAsync(Microsoft.AspNetCore.Http.HttpContext httpContext); } - // Generated from `Microsoft.AspNetCore.Antiforgery.IAntiforgeryAdditionalDataProvider` in `Microsoft.AspNetCore.Antiforgery, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Antiforgery.IAntiforgeryAdditionalDataProvider` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAntiforgeryAdditionalDataProvider { string GetAdditionalData(Microsoft.AspNetCore.Http.HttpContext context); @@ -57,7 +57,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.AntiforgeryServiceCollectionExtensions` in `Microsoft.AspNetCore.Antiforgery, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.AntiforgeryServiceCollectionExtensions` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AntiforgeryServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAntiforgery(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Abstractions.cs index bdbbf375422..fec47df160e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Abstractions.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Authentication { - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticateResult` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticateResult` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticateResult { protected AuthenticateResult() => throw null; @@ -25,7 +25,7 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationTicket Ticket { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthenticationHttpContextExtensions { public static System.Threading.Tasks.Task AuthenticateAsync(this Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -50,7 +50,7 @@ namespace Microsoft public static System.Threading.Tasks.Task SignOutAsync(this Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationOptions` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationOptions` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationOptions { public void AddScheme(string name, System.Action configureBuilder) => throw null; @@ -67,7 +67,7 @@ namespace Microsoft public System.Collections.Generic.IEnumerable Schemes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationProperties` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationProperties` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationProperties { public bool? AllowRefresh { get => throw null; set => throw null; } @@ -91,7 +91,7 @@ namespace Microsoft public void SetString(string key, string value) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationScheme` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationScheme` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationScheme { public AuthenticationScheme(string name, string displayName, System.Type handlerType) => throw null; @@ -100,7 +100,7 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationSchemeBuilder` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationSchemeBuilder` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationSchemeBuilder { public AuthenticationSchemeBuilder(string name) => throw null; @@ -110,7 +110,7 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationTicket` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationTicket` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationTicket { public string AuthenticationScheme { get => throw null; } @@ -121,7 +121,7 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationToken` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationToken` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationToken { public AuthenticationToken() => throw null; @@ -129,7 +129,7 @@ namespace Microsoft public string Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationTokenExtensions` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationTokenExtensions` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthenticationTokenExtensions { public static System.Threading.Tasks.Task GetTokenAsync(this Microsoft.AspNetCore.Authentication.IAuthenticationService auth, Microsoft.AspNetCore.Http.HttpContext context, string tokenName) => throw null; @@ -140,20 +140,26 @@ namespace Microsoft public static bool UpdateTokenValue(this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string tokenName, string tokenValue) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticateResultFeature` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticateResultFeature` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticateResultFeature { Microsoft.AspNetCore.Authentication.AuthenticateResult AuthenticateResult { get; set; } } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationFeature` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationConfigurationProvider` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IAuthenticationConfigurationProvider + { + Microsoft.Extensions.Configuration.IConfiguration AuthenticationConfiguration { get; } + } + + // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationFeature` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationFeature { Microsoft.AspNetCore.Http.PathString OriginalPath { get; set; } Microsoft.AspNetCore.Http.PathString OriginalPathBase { get; set; } } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationHandler { System.Threading.Tasks.Task AuthenticateAsync(); @@ -162,19 +168,19 @@ namespace Microsoft System.Threading.Tasks.Task InitializeAsync(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Http.HttpContext context); } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationHandlerProvider { System.Threading.Tasks.Task GetHandlerAsync(Microsoft.AspNetCore.Http.HttpContext context, string authenticationScheme); } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationRequestHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler { System.Threading.Tasks.Task HandleRequestAsync(); } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationSchemeProvider { void AddScheme(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme); @@ -190,7 +196,7 @@ namespace Microsoft bool TryAddScheme(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationService` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationService` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationService { System.Threading.Tasks.Task AuthenticateAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme); @@ -200,19 +206,19 @@ namespace Microsoft System.Threading.Tasks.Task SignOutAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties); } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationSignInHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationSignInHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationSignInHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler { System.Threading.Tasks.Task SignInAsync(System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties); } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationSignOutHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler { System.Threading.Tasks.Task SignOutAsync(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties); } - // Generated from `Microsoft.AspNetCore.Authentication.IClaimsTransformation` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.IClaimsTransformation` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IClaimsTransformation { System.Threading.Tasks.Task TransformAsync(System.Security.Claims.ClaimsPrincipal principal); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Cookies.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Cookies.cs index b033adfed56..0a5d3d30059 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Cookies.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Cookies.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Cookies { - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.ChunkingCookieManager` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Cookies.ChunkingCookieManager` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ChunkingCookieManager : Microsoft.AspNetCore.Authentication.Cookies.ICookieManager { public void AppendResponseCookie(Microsoft.AspNetCore.Http.HttpContext context, string key, string value, Microsoft.AspNetCore.Http.CookieOptions options) => throw null; @@ -20,7 +20,7 @@ namespace Microsoft public bool ThrowForPartialCookies { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationDefaults` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationDefaults` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CookieAuthenticationDefaults { public static Microsoft.AspNetCore.Http.PathString AccessDeniedPath; @@ -31,9 +31,10 @@ namespace Microsoft public static string ReturnUrlParameter; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationEvents` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationEvents` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieAuthenticationEvents { + public virtual System.Threading.Tasks.Task CheckSlidingExpiration(Microsoft.AspNetCore.Authentication.Cookies.CookieSlidingExpirationContext context) => throw null; public CookieAuthenticationEvents() => throw null; public System.Func OnCheckSlidingExpiration { get => throw null; set => throw null; } public System.Func, System.Threading.Tasks.Task> OnRedirectToAccessDenied { get => throw null; set => throw null; } @@ -54,7 +55,7 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ValidatePrincipal(Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieAuthenticationHandler : Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler { public CookieAuthenticationHandler(Microsoft.Extensions.Options.IOptionsMonitor options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock) : base(default(Microsoft.Extensions.Options.IOptionsMonitor), default(Microsoft.Extensions.Logging.ILoggerFactory), default(System.Text.Encodings.Web.UrlEncoder), default(Microsoft.AspNetCore.Authentication.ISystemClock)) => throw null; @@ -69,7 +70,7 @@ namespace Microsoft protected override System.Threading.Tasks.Task InitializeHandlerAsync() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public Microsoft.AspNetCore.Http.PathString AccessDeniedPath { get => throw null; set => throw null; } @@ -87,27 +88,27 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.ISecureDataFormat TicketDataFormat { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieSignedInContext : Microsoft.AspNetCore.Authentication.PrincipalContext { public CookieSignedInContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieSigningInContext : Microsoft.AspNetCore.Authentication.PrincipalContext { public Microsoft.AspNetCore.Http.CookieOptions CookieOptions { get => throw null; set => throw null; } public CookieSigningInContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.CookieOptions cookieOptions) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieSigningOutContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieSigningOutContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieSigningOutContext : Microsoft.AspNetCore.Authentication.PropertiesContext { public Microsoft.AspNetCore.Http.CookieOptions CookieOptions { get => throw null; set => throw null; } public CookieSigningOutContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.CookieOptions cookieOptions) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieSlidingExpirationContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieSlidingExpirationContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieSlidingExpirationContext : Microsoft.AspNetCore.Authentication.PrincipalContext { public CookieSlidingExpirationContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, System.TimeSpan elapsedTime, System.TimeSpan remainingTime) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; @@ -116,7 +117,7 @@ namespace Microsoft public bool ShouldRenew { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieValidatePrincipalContext : Microsoft.AspNetCore.Authentication.PrincipalContext { public CookieValidatePrincipalContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; @@ -125,7 +126,7 @@ namespace Microsoft public bool ShouldRenew { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.ICookieManager` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Cookies.ICookieManager` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICookieManager { void AppendResponseCookie(Microsoft.AspNetCore.Http.HttpContext context, string key, string value, Microsoft.AspNetCore.Http.CookieOptions options); @@ -133,20 +134,24 @@ namespace Microsoft string GetRequestCookie(Microsoft.AspNetCore.Http.HttpContext context, string key); } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.ITicketStore` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Cookies.ITicketStore` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITicketStore { System.Threading.Tasks.Task RemoveAsync(string key); System.Threading.Tasks.Task RemoveAsync(string key, System.Threading.CancellationToken cancellationToken) => throw null; + System.Threading.Tasks.Task RemoveAsync(string key, Microsoft.AspNetCore.Http.HttpContext httpContext, System.Threading.CancellationToken cancellationToken) => throw null; System.Threading.Tasks.Task RenewAsync(string key, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket); System.Threading.Tasks.Task RenewAsync(string key, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, System.Threading.CancellationToken cancellationToken) => throw null; + System.Threading.Tasks.Task RenewAsync(string key, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, Microsoft.AspNetCore.Http.HttpContext httpContext, System.Threading.CancellationToken cancellationToken) => throw null; System.Threading.Tasks.Task RetrieveAsync(string key); System.Threading.Tasks.Task RetrieveAsync(string key, System.Threading.CancellationToken cancellationToken) => throw null; + System.Threading.Tasks.Task RetrieveAsync(string key, Microsoft.AspNetCore.Http.HttpContext httpContext, System.Threading.CancellationToken cancellationToken) => throw null; System.Threading.Tasks.Task StoreAsync(Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket); System.Threading.Tasks.Task StoreAsync(Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, System.Threading.CancellationToken cancellationToken) => throw null; + System.Threading.Tasks.Task StoreAsync(Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, Microsoft.AspNetCore.Http.HttpContext httpContext, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.PostConfigureCookieAuthenticationOptions` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Cookies.PostConfigureCookieAuthenticationOptions` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureCookieAuthenticationOptions : Microsoft.Extensions.Options.IPostConfigureOptions { public void PostConfigure(string name, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options) => throw null; @@ -160,7 +165,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.CookieExtensions` in `Microsoft.AspNetCore.Authentication.Cookies, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.CookieExtensions` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CookieExtensions { public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCookie(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Core.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Core.cs index 75a72f5e2c3..a9a5cc6f31f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Core.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Core.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Authentication { - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationFeature` in `Microsoft.AspNetCore.Authentication.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationFeature` in `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationFeature : Microsoft.AspNetCore.Authentication.IAuthenticationFeature { public AuthenticationFeature() => throw null; @@ -14,7 +14,7 @@ namespace Microsoft public Microsoft.AspNetCore.Http.PathString OriginalPathBase { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationHandlerProvider` in `Microsoft.AspNetCore.Authentication.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationHandlerProvider` in `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationHandlerProvider : Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider { public AuthenticationHandlerProvider(Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider schemes) => throw null; @@ -22,7 +22,7 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider Schemes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider` in `Microsoft.AspNetCore.Authentication.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider` in `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationSchemeProvider : Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider { public virtual void AddScheme(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme) => throw null; @@ -40,7 +40,7 @@ namespace Microsoft public virtual bool TryAddScheme(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationService` in `Microsoft.AspNetCore.Authentication.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationService` in `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationService : Microsoft.AspNetCore.Authentication.IAuthenticationService { public virtual System.Threading.Tasks.Task AuthenticateAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme) => throw null; @@ -55,7 +55,7 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.IClaimsTransformation Transform { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.NoopClaimsTransformation` in `Microsoft.AspNetCore.Authentication.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.NoopClaimsTransformation` in `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NoopClaimsTransformation : Microsoft.AspNetCore.Authentication.IClaimsTransformation { public NoopClaimsTransformation() => throw null; @@ -68,7 +68,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.AuthenticationCoreServiceCollectionExtensions` in `Microsoft.AspNetCore.Authentication.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.AuthenticationCoreServiceCollectionExtensions` in `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthenticationCoreServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthenticationCore(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.OAuth.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.OAuth.cs index db3fb3de831..4706c67aff7 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.OAuth.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.OAuth.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Authentication { - // Generated from `Microsoft.AspNetCore.Authentication.ClaimActionCollectionMapExtensions` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.ClaimActionCollectionMapExtensions` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ClaimActionCollectionMapExtensions { public static void DeleteClaim(this Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection collection, string claimType) => throw null; @@ -23,7 +23,7 @@ namespace Microsoft namespace OAuth { - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthChallengeProperties` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthChallengeProperties` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthChallengeProperties : Microsoft.AspNetCore.Authentication.AuthenticationProperties { public OAuthChallengeProperties() => throw null; @@ -34,7 +34,7 @@ namespace Microsoft public virtual void SetScope(params string[] scopes) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthCodeExchangeContext` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthCodeExchangeContext` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthCodeExchangeContext { public string Code { get => throw null; } @@ -43,7 +43,7 @@ namespace Microsoft public string RedirectUri { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthConstants` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthConstants` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OAuthConstants { public static string CodeChallengeKey; @@ -52,7 +52,7 @@ namespace Microsoft public static string CodeVerifierKey; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthCreatingTicketContext : Microsoft.AspNetCore.Authentication.ResultContext { public string AccessToken { get => throw null; } @@ -68,13 +68,13 @@ namespace Microsoft public System.Text.Json.JsonElement User { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthDefaults` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthDefaults` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OAuthDefaults { public static string DisplayName; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthEvents` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthEvents` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents { public virtual System.Threading.Tasks.Task CreatingTicket(Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext context) => throw null; @@ -84,7 +84,7 @@ namespace Microsoft public virtual System.Threading.Tasks.Task RedirectToAuthorizationEndpoint(Microsoft.AspNetCore.Authentication.RedirectContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<>` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<>` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthHandler : Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler where TOptions : Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions, new() { protected System.Net.Http.HttpClient Backchannel { get => throw null; } @@ -100,7 +100,7 @@ namespace Microsoft public OAuthHandler(Microsoft.Extensions.Options.IOptionsMonitor options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock) : base(default(Microsoft.Extensions.Options.IOptionsMonitor), default(Microsoft.Extensions.Logging.ILoggerFactory), default(System.Text.Encodings.Web.UrlEncoder), default(Microsoft.AspNetCore.Authentication.ISystemClock)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthOptions : Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions { public string AuthorizationEndpoint { get => throw null; set => throw null; } @@ -117,7 +117,7 @@ namespace Microsoft public override void Validate() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthTokenResponse : System.IDisposable { public string AccessToken { get => throw null; set => throw null; } @@ -133,7 +133,7 @@ namespace Microsoft namespace Claims { - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ClaimAction { public ClaimAction(string claimType, string valueType) => throw null; @@ -142,7 +142,7 @@ namespace Microsoft public string ValueType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClaimActionCollection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public void Add(Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction action) => throw null; @@ -153,7 +153,7 @@ namespace Microsoft public void Remove(string claimType) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.CustomJsonClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.CustomJsonClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CustomJsonClaimAction : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction { public CustomJsonClaimAction(string claimType, string valueType, System.Func resolver) : base(default(string), default(string)) => throw null; @@ -161,14 +161,14 @@ namespace Microsoft public override void Run(System.Text.Json.JsonElement userData, System.Security.Claims.ClaimsIdentity identity, string issuer) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.DeleteClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.DeleteClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DeleteClaimAction : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction { public DeleteClaimAction(string claimType) : base(default(string), default(string)) => throw null; public override void Run(System.Text.Json.JsonElement userData, System.Security.Claims.ClaimsIdentity identity, string issuer) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.JsonKeyClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.JsonKeyClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonKeyClaimAction : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction { public string JsonKey { get => throw null; } @@ -176,7 +176,7 @@ namespace Microsoft public override void Run(System.Text.Json.JsonElement userData, System.Security.Claims.ClaimsIdentity identity, string issuer) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.JsonSubKeyClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.JsonSubKeyClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonSubKeyClaimAction : Microsoft.AspNetCore.Authentication.OAuth.Claims.JsonKeyClaimAction { public JsonSubKeyClaimAction(string claimType, string valueType, string jsonKey, string subKey) : base(default(string), default(string), default(string)) => throw null; @@ -184,7 +184,7 @@ namespace Microsoft public string SubKey { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.MapAllClaimsAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.MapAllClaimsAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MapAllClaimsAction : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction { public MapAllClaimsAction() : base(default(string), default(string)) => throw null; @@ -199,7 +199,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.OAuthExtensions` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.OAuthExtensions` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OAuthExtensions { public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddOAuth(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, System.Action configureOptions) => throw null; @@ -208,7 +208,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddOAuth(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, string displayName, System.Action configureOptions) where THandler : Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler where TOptions : Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions, new() => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.OAuthPostConfigureOptions<,>` in `Microsoft.AspNetCore.Authentication.OAuth, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.OAuthPostConfigureOptions<,>` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthPostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where THandler : Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler where TOptions : Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions, new() { public OAuthPostConfigureOptions(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtection) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.cs index b4b89562fc0..e94456e2271 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Authentication { - // Generated from `Microsoft.AspNetCore.Authentication.AccessDeniedContext` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AccessDeniedContext` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AccessDeniedContext : Microsoft.AspNetCore.Authentication.HandleRequestContext { public AccessDeniedContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions options) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions)) => throw null; @@ -16,7 +16,7 @@ namespace Microsoft public string ReturnUrlParameter { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationBuilder` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationBuilder` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationBuilder { public virtual Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddPolicyScheme(string authenticationScheme, string displayName, System.Action configureOptions) => throw null; @@ -27,7 +27,13 @@ namespace Microsoft public virtual Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationHandler<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationConfigurationProviderExtensions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class AuthenticationConfigurationProviderExtensions + { + public static Microsoft.Extensions.Configuration.IConfiguration GetSchemeConfiguration(this Microsoft.AspNetCore.Authentication.IAuthenticationConfigurationProvider provider, string authenticationScheme) => throw null; + } + + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationHandler<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AuthenticationHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions, new() { public System.Threading.Tasks.Task AuthenticateAsync() => throw null; @@ -61,7 +67,7 @@ namespace Microsoft protected System.Text.Encodings.Web.UrlEncoder UrlEncoder { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationMiddleware` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationMiddleware` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationMiddleware { public AuthenticationMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider schemes) => throw null; @@ -69,7 +75,7 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider Schemes { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationSchemeOptions { public AuthenticationSchemeOptions() => throw null; @@ -87,14 +93,14 @@ namespace Microsoft public virtual void Validate(string scheme) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Base64UrlTextEncoder` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.Base64UrlTextEncoder` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Base64UrlTextEncoder { public static System.Byte[] Decode(string text) => throw null; public static string Encode(System.Byte[] data) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.BaseContext<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.BaseContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class BaseContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { protected BaseContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options) => throw null; @@ -105,7 +111,7 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationScheme Scheme { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.HandleRequestContext<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.HandleRequestContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HandleRequestContext : Microsoft.AspNetCore.Authentication.BaseContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { protected HandleRequestContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(TOptions)) => throw null; @@ -114,7 +120,7 @@ namespace Microsoft public void SkipHandler() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.HandleRequestResult` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.HandleRequestResult` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HandleRequestResult : Microsoft.AspNetCore.Authentication.AuthenticateResult { public static Microsoft.AspNetCore.Authentication.HandleRequestResult Fail(System.Exception failure) => throw null; @@ -130,14 +136,14 @@ namespace Microsoft public static Microsoft.AspNetCore.Authentication.HandleRequestResult Success(Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.IDataSerializer<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.IDataSerializer<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDataSerializer { TModel Deserialize(System.Byte[] data); System.Byte[] Serialize(TModel model); } - // Generated from `Microsoft.AspNetCore.Authentication.ISecureDataFormat<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.ISecureDataFormat<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISecureDataFormat { string Protect(TData data); @@ -146,19 +152,19 @@ namespace Microsoft TData Unprotect(string protectedText, string purpose); } - // Generated from `Microsoft.AspNetCore.Authentication.ISystemClock` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.ISystemClock` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISystemClock { System.DateTimeOffset UtcNow { get; } } - // Generated from `Microsoft.AspNetCore.Authentication.JsonDocumentAuthExtensions` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.JsonDocumentAuthExtensions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JsonDocumentAuthExtensions { public static string GetString(this System.Text.Json.JsonElement element, string key) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.PolicySchemeHandler` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.PolicySchemeHandler` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PolicySchemeHandler : Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler { protected override System.Threading.Tasks.Task HandleAuthenticateAsync() => throw null; @@ -169,33 +175,33 @@ namespace Microsoft public PolicySchemeHandler(Microsoft.Extensions.Options.IOptionsMonitor options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock) : base(default(Microsoft.Extensions.Options.IOptionsMonitor), default(Microsoft.Extensions.Logging.ILoggerFactory), default(System.Text.Encodings.Web.UrlEncoder), default(Microsoft.AspNetCore.Authentication.ISystemClock)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.PolicySchemeOptions` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.PolicySchemeOptions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PolicySchemeOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public PolicySchemeOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.PrincipalContext<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.PrincipalContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PrincipalContext : Microsoft.AspNetCore.Authentication.PropertiesContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public virtual System.Security.Claims.ClaimsPrincipal Principal { get => throw null; set => throw null; } protected PrincipalContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(TOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.PropertiesContext<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.PropertiesContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PropertiesContext : Microsoft.AspNetCore.Authentication.BaseContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public virtual Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } protected PropertiesContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(TOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.PropertiesDataFormat` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.PropertiesDataFormat` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PropertiesDataFormat : Microsoft.AspNetCore.Authentication.SecureDataFormat { public PropertiesDataFormat(Microsoft.AspNetCore.DataProtection.IDataProtector protector) : base(default(Microsoft.AspNetCore.Authentication.IDataSerializer), default(Microsoft.AspNetCore.DataProtection.IDataProtector)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.PropertiesSerializer` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.PropertiesSerializer` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PropertiesSerializer : Microsoft.AspNetCore.Authentication.IDataSerializer { public static Microsoft.AspNetCore.Authentication.PropertiesSerializer Default { get => throw null; } @@ -206,14 +212,14 @@ namespace Microsoft public virtual void Write(System.IO.BinaryWriter writer, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.RedirectContext<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.RedirectContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectContext : Microsoft.AspNetCore.Authentication.PropertiesContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public RedirectContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string redirectUri) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(TOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; public string RedirectUri { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RemoteAuthenticationContext : Microsoft.AspNetCore.Authentication.HandleRequestContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public void Fail(System.Exception failure) => throw null; @@ -224,7 +230,7 @@ namespace Microsoft public void Success() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RemoteAuthenticationEvents { public virtual System.Threading.Tasks.Task AccessDenied(Microsoft.AspNetCore.Authentication.AccessDeniedContext context) => throw null; @@ -236,7 +242,7 @@ namespace Microsoft public virtual System.Threading.Tasks.Task TicketReceived(Microsoft.AspNetCore.Authentication.TicketReceivedContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RemoteAuthenticationHandler : Microsoft.AspNetCore.Authentication.AuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler where TOptions : Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions, new() { protected override System.Threading.Tasks.Task CreateEventsAsync() => throw null; @@ -253,7 +259,7 @@ namespace Microsoft protected virtual bool ValidateCorrelationId(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RemoteAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public Microsoft.AspNetCore.Http.PathString AccessDeniedPath { get => throw null; set => throw null; } @@ -273,7 +279,7 @@ namespace Microsoft public override void Validate(string scheme) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.RemoteFailureContext` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.RemoteFailureContext` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RemoteFailureContext : Microsoft.AspNetCore.Authentication.HandleRequestContext { public System.Exception Failure { get => throw null; set => throw null; } @@ -281,7 +287,7 @@ namespace Microsoft public RemoteFailureContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions options, System.Exception failure) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.RequestPathBaseCookieBuilder` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.RequestPathBaseCookieBuilder` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestPathBaseCookieBuilder : Microsoft.AspNetCore.Http.CookieBuilder { protected virtual string AdditionalPath { get => throw null; } @@ -289,7 +295,7 @@ namespace Microsoft public RequestPathBaseCookieBuilder() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.ResultContext<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.ResultContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ResultContext : Microsoft.AspNetCore.Authentication.BaseContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public void Fail(System.Exception failure) => throw null; @@ -302,7 +308,7 @@ namespace Microsoft public void Success() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.SecureDataFormat<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.SecureDataFormat<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SecureDataFormat : Microsoft.AspNetCore.Authentication.ISecureDataFormat { public string Protect(TData data) => throw null; @@ -312,7 +318,7 @@ namespace Microsoft public TData Unprotect(string protectedText, string purpose) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class SignInAuthenticationHandler : Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationSignInHandler, Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions, new() { protected abstract System.Threading.Tasks.Task HandleSignInAsync(System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties); @@ -320,7 +326,7 @@ namespace Microsoft public SignInAuthenticationHandler(Microsoft.Extensions.Options.IOptionsMonitor options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock) : base(default(Microsoft.Extensions.Options.IOptionsMonitor), default(Microsoft.Extensions.Logging.ILoggerFactory), default(System.Text.Encodings.Web.UrlEncoder), default(Microsoft.AspNetCore.Authentication.ISystemClock)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler<>` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class SignOutAuthenticationHandler : Microsoft.AspNetCore.Authentication.AuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions, new() { protected abstract System.Threading.Tasks.Task HandleSignOutAsync(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties); @@ -328,27 +334,27 @@ namespace Microsoft public SignOutAuthenticationHandler(Microsoft.Extensions.Options.IOptionsMonitor options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock) : base(default(Microsoft.Extensions.Options.IOptionsMonitor), default(Microsoft.Extensions.Logging.ILoggerFactory), default(System.Text.Encodings.Web.UrlEncoder), default(Microsoft.AspNetCore.Authentication.ISystemClock)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.SystemClock` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.SystemClock` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SystemClock : Microsoft.AspNetCore.Authentication.ISystemClock { public SystemClock() => throw null; public System.DateTimeOffset UtcNow { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.TicketDataFormat` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.TicketDataFormat` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TicketDataFormat : Microsoft.AspNetCore.Authentication.SecureDataFormat { public TicketDataFormat(Microsoft.AspNetCore.DataProtection.IDataProtector protector) : base(default(Microsoft.AspNetCore.Authentication.IDataSerializer), default(Microsoft.AspNetCore.DataProtection.IDataProtector)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.TicketReceivedContext` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.TicketReceivedContext` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TicketReceivedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext { public string ReturnUri { get => throw null; set => throw null; } public TicketReceivedContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions options, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.TicketSerializer` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authentication.TicketSerializer` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TicketSerializer : Microsoft.AspNetCore.Authentication.IDataSerializer { public static Microsoft.AspNetCore.Authentication.TicketSerializer Default { get => throw null; } @@ -366,7 +372,7 @@ namespace Microsoft } namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.AuthAppBuilderExtensions` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.AuthAppBuilderExtensions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthAppBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseAuthentication(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -378,7 +384,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.AuthenticationServiceCollectionExtensions` in `Microsoft.AspNetCore.Authentication, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.AuthenticationServiceCollectionExtensions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthenticationServiceCollectionExtensions { public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAuthentication(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.Policy.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.Policy.cs index 9a16deeb178..06376a0e66a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.Policy.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.Policy.cs @@ -6,14 +6,15 @@ namespace Microsoft { namespace Authorization { - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationMiddleware` in `Microsoft.AspNetCore.Authorization.Policy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationMiddleware` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationMiddleware { public AuthorizationMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider) => throw null; + public AuthorizationMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, System.IServiceProvider services) => throw null; public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationMiddlewareResultHandler` in `Microsoft.AspNetCore.Authorization.Policy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationMiddlewareResultHandler` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationMiddlewareResultHandler { System.Threading.Tasks.Task HandleAsync(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy, Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult authorizeResult); @@ -21,21 +22,21 @@ namespace Microsoft namespace Policy { - // Generated from `Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler` in `Microsoft.AspNetCore.Authorization.Policy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationMiddlewareResultHandler : Microsoft.AspNetCore.Authorization.IAuthorizationMiddlewareResultHandler { public AuthorizationMiddlewareResultHandler() => throw null; public System.Threading.Tasks.Task HandleAsync(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy, Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult authorizeResult) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Policy.IPolicyEvaluator` in `Microsoft.AspNetCore.Authorization.Policy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.Policy.IPolicyEvaluator` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPolicyEvaluator { System.Threading.Tasks.Task AuthenticateAsync(Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy, Microsoft.AspNetCore.Http.HttpContext context); System.Threading.Tasks.Task AuthorizeAsync(Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy, Microsoft.AspNetCore.Authentication.AuthenticateResult authenticationResult, Microsoft.AspNetCore.Http.HttpContext context, object resource); } - // Generated from `Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult` in `Microsoft.AspNetCore.Authorization.Policy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PolicyAuthorizationResult { public Microsoft.AspNetCore.Authorization.AuthorizationFailure AuthorizationFailure { get => throw null; } @@ -48,7 +49,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult Success() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator` in `Microsoft.AspNetCore.Authorization.Policy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PolicyEvaluator : Microsoft.AspNetCore.Authorization.Policy.IPolicyEvaluator { public virtual System.Threading.Tasks.Task AuthenticateAsync(Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy, Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -60,17 +61,19 @@ namespace Microsoft } namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.AuthorizationAppBuilderExtensions` in `Microsoft.AspNetCore.Authorization.Policy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.AuthorizationAppBuilderExtensions` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthorizationAppBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseAuthorization(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.AuthorizationEndpointConventionBuilderExtensions` in `Microsoft.AspNetCore.Authorization.Policy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.AuthorizationEndpointConventionBuilderExtensions` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthorizationEndpointConventionBuilderExtensions { public static TBuilder AllowAnonymous(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; public static TBuilder RequireAuthorization(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + public static TBuilder RequireAuthorization(this TBuilder builder, System.Action configurePolicy) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + public static TBuilder RequireAuthorization(this TBuilder builder, Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; public static TBuilder RequireAuthorization(this TBuilder builder, params Microsoft.AspNetCore.Authorization.IAuthorizeData[] authorizeData) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; public static TBuilder RequireAuthorization(this TBuilder builder, params string[] policyNames) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; } @@ -81,11 +84,12 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.PolicyServiceCollectionExtensions` in `Microsoft.AspNetCore.Authorization.Policy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.PolicyServiceCollectionExtensions` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class PolicyServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthorization(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthorization(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configure) => throw null; + public static Microsoft.AspNetCore.Authorization.AuthorizationBuilder AddAuthorizationBuilder(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthorizationPolicyEvaluator(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.cs index 8c9e27c0a17..ccc38cba0c8 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.cs @@ -6,13 +6,29 @@ namespace Microsoft { namespace Authorization { - // Generated from `Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AllowAnonymousAttribute : System.Attribute, Microsoft.AspNetCore.Authorization.IAllowAnonymous { public AllowAnonymousAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationFailure` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationBuilder` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class AuthorizationBuilder + { + public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder AddDefaultPolicy(string name, System.Action configurePolicy) => throw null; + public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder AddDefaultPolicy(string name, Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy) => throw null; + public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder AddFallbackPolicy(string name, System.Action configurePolicy) => throw null; + public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder AddFallbackPolicy(string name, Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy) => throw null; + public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder AddPolicy(string name, System.Action configurePolicy) => throw null; + public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder AddPolicy(string name, Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy) => throw null; + public AuthorizationBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; + public virtual Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get => throw null; } + public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder SetDefaultPolicy(Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy) => throw null; + public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder SetFallbackPolicy(Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy) => throw null; + public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder SetInvokeHandlersAfterFailure(bool invoke) => throw null; + } + + // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationFailure` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationFailure { public static Microsoft.AspNetCore.Authorization.AuthorizationFailure ExplicitFail() => throw null; @@ -23,7 +39,7 @@ namespace Microsoft public System.Collections.Generic.IEnumerable FailureReasons { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationFailureReason` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationFailureReason` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationFailureReason { public AuthorizationFailureReason(Microsoft.AspNetCore.Authorization.IAuthorizationHandler handler, string message) => throw null; @@ -31,7 +47,7 @@ namespace Microsoft public string Message { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationHandler<,>` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationHandler<,>` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AuthorizationHandler : Microsoft.AspNetCore.Authorization.IAuthorizationHandler where TRequirement : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { protected AuthorizationHandler() => throw null; @@ -39,7 +55,7 @@ namespace Microsoft protected abstract System.Threading.Tasks.Task HandleRequirementAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context, TRequirement requirement, TResource resource); } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationHandler<>` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationHandler<>` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AuthorizationHandler : Microsoft.AspNetCore.Authorization.IAuthorizationHandler where TRequirement : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { protected AuthorizationHandler() => throw null; @@ -47,7 +63,7 @@ namespace Microsoft protected abstract System.Threading.Tasks.Task HandleRequirementAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context, TRequirement requirement); } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationHandlerContext { public AuthorizationHandlerContext(System.Collections.Generic.IEnumerable requirements, System.Security.Claims.ClaimsPrincipal user, object resource) => throw null; @@ -63,7 +79,7 @@ namespace Microsoft public virtual System.Security.Claims.ClaimsPrincipal User { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationOptions` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationOptions` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationOptions { public void AddPolicy(string name, System.Action configurePolicy) => throw null; @@ -75,7 +91,7 @@ namespace Microsoft public bool InvokeHandlersAfterFailure { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationPolicy` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationPolicy` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationPolicy { public System.Collections.Generic.IReadOnlyList AuthenticationSchemes { get => throw null; } @@ -83,10 +99,11 @@ namespace Microsoft public static Microsoft.AspNetCore.Authorization.AuthorizationPolicy Combine(System.Collections.Generic.IEnumerable policies) => throw null; public static Microsoft.AspNetCore.Authorization.AuthorizationPolicy Combine(params Microsoft.AspNetCore.Authorization.AuthorizationPolicy[] policies) => throw null; public static System.Threading.Tasks.Task CombineAsync(Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, System.Collections.Generic.IEnumerable authorizeData) => throw null; + public static System.Threading.Tasks.Task CombineAsync(Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, System.Collections.Generic.IEnumerable authorizeData, System.Collections.Generic.IEnumerable policies) => throw null; public System.Collections.Generic.IReadOnlyList Requirements { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationPolicyBuilder { public Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder AddAuthenticationSchemes(params string[] schemes) => throw null; @@ -108,7 +125,7 @@ namespace Microsoft public System.Collections.Generic.IList Requirements { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationResult` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationResult` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationResult { public static Microsoft.AspNetCore.Authorization.AuthorizationResult Failed() => throw null; @@ -118,7 +135,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Authorization.AuthorizationResult Success() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationServiceExtensions` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationServiceExtensions` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthorizationServiceExtensions { public static System.Threading.Tasks.Task AuthorizeAsync(this Microsoft.AspNetCore.Authorization.IAuthorizationService service, System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy) => throw null; @@ -127,7 +144,7 @@ namespace Microsoft public static System.Threading.Tasks.Task AuthorizeAsync(this Microsoft.AspNetCore.Authorization.IAuthorizationService service, System.Security.Claims.ClaimsPrincipal user, string policyName) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizeAttribute` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.AuthorizeAttribute` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizeAttribute : System.Attribute, Microsoft.AspNetCore.Authorization.IAuthorizeData { public string AuthenticationSchemes { get => throw null; set => throw null; } @@ -137,37 +154,38 @@ namespace Microsoft public string Roles { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationEvaluator` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationEvaluator` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultAuthorizationEvaluator : Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator { public DefaultAuthorizationEvaluator() => throw null; public Microsoft.AspNetCore.Authorization.AuthorizationResult Evaluate(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationHandlerContextFactory` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationHandlerContextFactory` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultAuthorizationHandlerContextFactory : Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory { public virtual Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext CreateContext(System.Collections.Generic.IEnumerable requirements, System.Security.Claims.ClaimsPrincipal user, object resource) => throw null; public DefaultAuthorizationHandlerContextFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationHandlerProvider` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationHandlerProvider` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultAuthorizationHandlerProvider : Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider { public DefaultAuthorizationHandlerProvider(System.Collections.Generic.IEnumerable handlers) => throw null; public System.Threading.Tasks.Task> GetHandlersAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationPolicyProvider` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationPolicyProvider` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultAuthorizationPolicyProvider : Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider { + public virtual bool AllowsCachingPolicies { get => throw null; } public DefaultAuthorizationPolicyProvider(Microsoft.Extensions.Options.IOptions options) => throw null; public System.Threading.Tasks.Task GetDefaultPolicyAsync() => throw null; public System.Threading.Tasks.Task GetFallbackPolicyAsync() => throw null; public virtual System.Threading.Tasks.Task GetPolicyAsync(string policyName) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationService` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationService` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultAuthorizationService : Microsoft.AspNetCore.Authorization.IAuthorizationService { public virtual System.Threading.Tasks.Task AuthorizeAsync(System.Security.Claims.ClaimsPrincipal user, object resource, System.Collections.Generic.IEnumerable requirements) => throw null; @@ -175,44 +193,45 @@ namespace Microsoft public DefaultAuthorizationService(Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider handlers, Microsoft.Extensions.Logging.ILogger logger, Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory contextFactory, Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator evaluator, Microsoft.Extensions.Options.IOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationEvaluator { Microsoft.AspNetCore.Authorization.AuthorizationResult Evaluate(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context); } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationHandler` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationHandler` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationHandler { System.Threading.Tasks.Task HandleAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context); } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationHandlerContextFactory { Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext CreateContext(System.Collections.Generic.IEnumerable requirements, System.Security.Claims.ClaimsPrincipal user, object resource); } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationHandlerProvider { System.Threading.Tasks.Task> GetHandlersAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context); } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationPolicyProvider { + bool AllowsCachingPolicies { get => throw null; } System.Threading.Tasks.Task GetDefaultPolicyAsync(); System.Threading.Tasks.Task GetFallbackPolicyAsync(); System.Threading.Tasks.Task GetPolicyAsync(string policyName); } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationRequirement { } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationService` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationService` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationService { System.Threading.Tasks.Task AuthorizeAsync(System.Security.Claims.ClaimsPrincipal user, object resource, System.Collections.Generic.IEnumerable requirements); @@ -221,7 +240,7 @@ namespace Microsoft namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.AssertionRequirement` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.AssertionRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AssertionRequirement : Microsoft.AspNetCore.Authorization.IAuthorizationHandler, Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { public AssertionRequirement(System.Func> handler) => throw null; @@ -231,7 +250,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.ClaimsAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.ClaimsAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClaimsAuthorizationRequirement : Microsoft.AspNetCore.Authorization.AuthorizationHandler, Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { public System.Collections.Generic.IEnumerable AllowedValues { get => throw null; } @@ -241,7 +260,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.DenyAnonymousAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.DenyAnonymousAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DenyAnonymousAuthorizationRequirement : Microsoft.AspNetCore.Authorization.AuthorizationHandler, Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { public DenyAnonymousAuthorizationRequirement() => throw null; @@ -249,7 +268,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.NameAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.NameAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NameAuthorizationRequirement : Microsoft.AspNetCore.Authorization.AuthorizationHandler, Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { protected override System.Threading.Tasks.Task HandleRequirementAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context, Microsoft.AspNetCore.Authorization.Infrastructure.NameAuthorizationRequirement requirement) => throw null; @@ -258,7 +277,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.OperationAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.OperationAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OperationAuthorizationRequirement : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { public string Name { get => throw null; set => throw null; } @@ -266,14 +285,15 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.PassThroughAuthorizationHandler` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.PassThroughAuthorizationHandler` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PassThroughAuthorizationHandler : Microsoft.AspNetCore.Authorization.IAuthorizationHandler { public System.Threading.Tasks.Task HandleAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context) => throw null; public PassThroughAuthorizationHandler() => throw null; + public PassThroughAuthorizationHandler(Microsoft.Extensions.Options.IOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.RolesAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.RolesAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RolesAuthorizationRequirement : Microsoft.AspNetCore.Authorization.AuthorizationHandler, Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { public System.Collections.Generic.IEnumerable AllowedRoles { get => throw null; } @@ -289,7 +309,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.AuthorizationServiceCollectionExtensions` in `Microsoft.AspNetCore.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.AuthorizationServiceCollectionExtensions` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthorizationServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthorizationCore(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Authorization.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Authorization.cs index 9638f78aa9f..463e0b7734f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Authorization.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Authorization.cs @@ -8,17 +8,17 @@ namespace Microsoft { namespace Authorization { - // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthenticationState` in `Microsoft.AspNetCore.Components.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthenticationState` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationState { public AuthenticationState(System.Security.Claims.ClaimsPrincipal user) => throw null; public System.Security.Claims.ClaimsPrincipal User { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthenticationStateChangedHandler` in `Microsoft.AspNetCore.Components.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthenticationStateChangedHandler` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate void AuthenticationStateChangedHandler(System.Threading.Tasks.Task task); - // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider` in `Microsoft.AspNetCore.Components.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AuthenticationStateProvider { public event Microsoft.AspNetCore.Components.Authorization.AuthenticationStateChangedHandler AuthenticationStateChanged; @@ -27,7 +27,7 @@ namespace Microsoft protected void NotifyAuthenticationStateChanged(System.Threading.Tasks.Task task) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthorizeRouteView` in `Microsoft.AspNetCore.Components.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthorizeRouteView` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizeRouteView : Microsoft.AspNetCore.Components.RouteView { public AuthorizeRouteView() => throw null; @@ -37,7 +37,7 @@ namespace Microsoft public object Resource { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthorizeView` in `Microsoft.AspNetCore.Components.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthorizeView` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizeView : Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore { public AuthorizeView() => throw null; @@ -46,7 +46,7 @@ namespace Microsoft public string Roles { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore` in `Microsoft.AspNetCore.Components.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AuthorizeViewCore : Microsoft.AspNetCore.Components.ComponentBase { protected AuthorizeViewCore() => throw null; @@ -60,7 +60,7 @@ namespace Microsoft public object Resource { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Authorization.CascadingAuthenticationState` in `Microsoft.AspNetCore.Components.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Authorization.CascadingAuthenticationState` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CascadingAuthenticationState : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) => throw null; @@ -70,7 +70,7 @@ namespace Microsoft protected override void OnInitialized() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Authorization.IHostEnvironmentAuthenticationStateProvider` in `Microsoft.AspNetCore.Components.Authorization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Authorization.IHostEnvironmentAuthenticationStateProvider` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostEnvironmentAuthenticationStateProvider { void SetAuthenticationState(System.Threading.Tasks.Task authenticationStateTask); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Forms.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Forms.cs index 304952c995c..fb230ca8801 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Forms.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Forms.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Forms { - // Generated from `Microsoft.AspNetCore.Components.Forms.DataAnnotationsValidator` in `Microsoft.AspNetCore.Components.Forms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.DataAnnotationsValidator` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataAnnotationsValidator : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { public DataAnnotationsValidator() => throw null; @@ -18,7 +18,7 @@ namespace Microsoft protected override void OnParametersSet() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.EditContext` in `Microsoft.AspNetCore.Components.Forms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.EditContext` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EditContext { public EditContext(object model) => throw null; @@ -41,14 +41,15 @@ namespace Microsoft public bool Validate() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.EditContextDataAnnotationsExtensions` in `Microsoft.AspNetCore.Components.Forms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.EditContextDataAnnotationsExtensions` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EditContextDataAnnotationsExtensions { public static Microsoft.AspNetCore.Components.Forms.EditContext AddDataAnnotationsValidation(this Microsoft.AspNetCore.Components.Forms.EditContext editContext) => throw null; public static System.IDisposable EnableDataAnnotationsValidation(this Microsoft.AspNetCore.Components.Forms.EditContext editContext) => throw null; + public static System.IDisposable EnableDataAnnotationsValidation(this Microsoft.AspNetCore.Components.Forms.EditContext editContext, System.IServiceProvider serviceProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.EditContextProperties` in `Microsoft.AspNetCore.Components.Forms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.EditContextProperties` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EditContextProperties { public EditContextProperties() => throw null; @@ -57,14 +58,14 @@ namespace Microsoft public bool TryGetValue(object key, out object value) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.FieldChangedEventArgs` in `Microsoft.AspNetCore.Components.Forms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.FieldChangedEventArgs` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FieldChangedEventArgs : System.EventArgs { public FieldChangedEventArgs(Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier) => throw null; public Microsoft.AspNetCore.Components.Forms.FieldIdentifier FieldIdentifier { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.FieldIdentifier` in `Microsoft.AspNetCore.Components.Forms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.FieldIdentifier` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FieldIdentifier : System.IEquatable { public static Microsoft.AspNetCore.Components.Forms.FieldIdentifier Create(System.Linq.Expressions.Expression> accessor) => throw null; @@ -77,7 +78,7 @@ namespace Microsoft public object Model { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationMessageStore` in `Microsoft.AspNetCore.Components.Forms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationMessageStore` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationMessageStore { public void Add(System.Linq.Expressions.Expression> accessor, System.Collections.Generic.IEnumerable messages) => throw null; @@ -92,14 +93,14 @@ namespace Microsoft public ValidationMessageStore(Microsoft.AspNetCore.Components.Forms.EditContext editContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationRequestedEventArgs` in `Microsoft.AspNetCore.Components.Forms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationRequestedEventArgs` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationRequestedEventArgs : System.EventArgs { public static Microsoft.AspNetCore.Components.Forms.ValidationRequestedEventArgs Empty; public ValidationRequestedEventArgs() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationStateChangedEventArgs` in `Microsoft.AspNetCore.Components.Forms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationStateChangedEventArgs` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationStateChangedEventArgs : System.EventArgs { public static Microsoft.AspNetCore.Components.Forms.ValidationStateChangedEventArgs Empty; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Server.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Server.cs index 085468327de..e6771bf928f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Server.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Server.cs @@ -6,13 +6,14 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComponentEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder, Microsoft.AspNetCore.Builder.IHubEndpointConventionBuilder { public void Add(System.Action convention) => throw null; + public void Finally(System.Action finalConvention) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ComponentEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ComponentEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ComponentEndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder MapBlazorHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints) => throw null; @@ -26,7 +27,7 @@ namespace Microsoft { namespace Server { - // Generated from `Microsoft.AspNetCore.Components.Server.CircuitOptions` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Server.CircuitOptions` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CircuitOptions { public CircuitOptions() => throw null; @@ -38,7 +39,7 @@ namespace Microsoft public Microsoft.AspNetCore.Components.Server.CircuitRootComponentOptions RootComponents { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Server.CircuitRootComponentOptions` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Server.CircuitRootComponentOptions` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CircuitRootComponentOptions : Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration { public CircuitRootComponentOptions() => throw null; @@ -46,7 +47,7 @@ namespace Microsoft public int MaxJSRootComponents { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Server.RevalidatingServerAuthenticationStateProvider` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Server.RevalidatingServerAuthenticationStateProvider` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RevalidatingServerAuthenticationStateProvider : Microsoft.AspNetCore.Components.Server.ServerAuthenticationStateProvider, System.IDisposable { void System.IDisposable.Dispose() => throw null; @@ -56,7 +57,7 @@ namespace Microsoft protected abstract System.Threading.Tasks.Task ValidateAuthenticationStateAsync(Microsoft.AspNetCore.Components.Authorization.AuthenticationState authenticationState, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Components.Server.ServerAuthenticationStateProvider` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Server.ServerAuthenticationStateProvider` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServerAuthenticationStateProvider : Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider, Microsoft.AspNetCore.Components.Authorization.IHostEnvironmentAuthenticationStateProvider { public override System.Threading.Tasks.Task GetAuthenticationStateAsync() => throw null; @@ -66,13 +67,13 @@ namespace Microsoft namespace Circuits { - // Generated from `Microsoft.AspNetCore.Components.Server.Circuits.Circuit` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Server.Circuits.Circuit` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Circuit { public string Id { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Server.Circuits.CircuitHandler` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Server.Circuits.CircuitHandler` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class CircuitHandler { protected CircuitHandler() => throw null; @@ -86,7 +87,7 @@ namespace Microsoft } namespace ProtectedBrowserStorage { - // Generated from `Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorage` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorage` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ProtectedBrowserStorage { public System.Threading.Tasks.ValueTask DeleteAsync(string key) => throw null; @@ -97,7 +98,7 @@ namespace Microsoft public System.Threading.Tasks.ValueTask SetAsync(string purpose, string key, object value) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorageResult<>` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorageResult<>` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ProtectedBrowserStorageResult { // Stub generator skipped constructor @@ -105,13 +106,13 @@ namespace Microsoft public TValue Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedLocalStorage` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedLocalStorage` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProtectedLocalStorage : Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorage { public ProtectedLocalStorage(Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider) : base(default(string), default(Microsoft.JSInterop.IJSRuntime), default(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider)) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedSessionStorage` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedSessionStorage` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProtectedSessionStorage : Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorage { public ProtectedSessionStorage(Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider) : base(default(string), default(Microsoft.JSInterop.IJSRuntime), default(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider)) => throw null; @@ -125,19 +126,19 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ComponentServiceCollectionExtensions` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ComponentServiceCollectionExtensions` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ComponentServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder AddServerSideBlazor(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configure = default(System.Action)) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServerSideBlazorBuilder { Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } } - // Generated from `Microsoft.Extensions.DependencyInjection.ServerSideBlazorBuilderExtensions` in `Microsoft.AspNetCore.Components.Server, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ServerSideBlazorBuilderExtensions` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ServerSideBlazorBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder AddCircuitOptions(this Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder builder, System.Action configure) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Web.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Web.cs index 0ff2e593df5..3172d16879c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Web.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Web.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Components { - // Generated from `Microsoft.AspNetCore.Components.BindInputElementAttribute` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.BindInputElementAttribute` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindInputElementAttribute : System.Attribute { public BindInputElementAttribute(string type, string suffix, string valueAttribute, string changeAttribute, bool isInvariantCulture, string format) => throw null; @@ -18,14 +18,14 @@ namespace Microsoft public string ValueAttribute { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.ElementReferenceExtensions` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.ElementReferenceExtensions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ElementReferenceExtensions { public static System.Threading.Tasks.ValueTask FocusAsync(this Microsoft.AspNetCore.Components.ElementReference elementReference) => throw null; public static System.Threading.Tasks.ValueTask FocusAsync(this Microsoft.AspNetCore.Components.ElementReference elementReference, bool preventScroll) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.WebElementReferenceContext` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.WebElementReferenceContext` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebElementReferenceContext : Microsoft.AspNetCore.Components.ElementReferenceContext { public WebElementReferenceContext(Microsoft.JSInterop.IJSRuntime jsRuntime) => throw null; @@ -33,13 +33,13 @@ namespace Microsoft namespace Forms { - // Generated from `Microsoft.AspNetCore.Components.Forms.BrowserFileExtensions` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.BrowserFileExtensions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class BrowserFileExtensions { public static System.Threading.Tasks.ValueTask RequestImageFileAsync(this Microsoft.AspNetCore.Components.Forms.IBrowserFile browserFile, string format, int maxWidth, int maxHeight) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.EditContextFieldClassExtensions` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.EditContextFieldClassExtensions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EditContextFieldClassExtensions { public static string FieldCssClass(this Microsoft.AspNetCore.Components.Forms.EditContext editContext, Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier) => throw null; @@ -47,7 +47,7 @@ namespace Microsoft public static void SetFieldCssClassProvider(this Microsoft.AspNetCore.Components.Forms.EditContext editContext, Microsoft.AspNetCore.Components.Forms.FieldCssClassProvider fieldCssClassProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.EditForm` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.EditForm` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EditForm : Microsoft.AspNetCore.Components.ComponentBase { public System.Collections.Generic.IReadOnlyDictionary AdditionalAttributes { get => throw null; set => throw null; } @@ -62,14 +62,14 @@ namespace Microsoft public Microsoft.AspNetCore.Components.EventCallback OnValidSubmit { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.FieldCssClassProvider` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.FieldCssClassProvider` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FieldCssClassProvider { public FieldCssClassProvider() => throw null; public virtual string GetFieldCssClass(Microsoft.AspNetCore.Components.Forms.EditContext editContext, Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.IBrowserFile` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.IBrowserFile` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBrowserFile { string ContentType { get; } @@ -79,12 +79,12 @@ namespace Microsoft System.Int64 Size { get; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.IInputFileJsCallbacks` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.IInputFileJsCallbacks` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IInputFileJsCallbacks { } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputBase<>` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.InputBase<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class InputBase : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { public System.Collections.Generic.IReadOnlyDictionary AdditionalAttributes { get => throw null; set => throw null; } @@ -105,7 +105,7 @@ namespace Microsoft public System.Linq.Expressions.Expression> ValueExpression { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputCheckbox` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.InputCheckbox` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputCheckbox : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -114,7 +114,7 @@ namespace Microsoft protected override bool TryParseValueFromString(string value, out bool result, out string validationErrorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputDate<>` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.InputDate<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputDate : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -127,7 +127,7 @@ namespace Microsoft public Microsoft.AspNetCore.Components.Forms.InputDateType Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputDateType` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.InputDateType` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum InputDateType : int { Date = 0, @@ -136,7 +136,7 @@ namespace Microsoft Time = 3, } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputFile` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.InputFile` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputFile : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { public System.Collections.Generic.IDictionary AdditionalAttributes { get => throw null; set => throw null; } @@ -149,7 +149,7 @@ namespace Microsoft protected override void OnInitialized() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputFileChangeEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.InputFileChangeEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputFileChangeEventArgs : System.EventArgs { public Microsoft.AspNetCore.Components.Forms.IBrowserFile File { get => throw null; } @@ -158,7 +158,7 @@ namespace Microsoft public InputFileChangeEventArgs(System.Collections.Generic.IReadOnlyList files) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputNumber<>` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.InputNumber<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputNumber : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -169,18 +169,19 @@ namespace Microsoft protected override bool TryParseValueFromString(string value, out TValue result, out string validationErrorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputRadio<>` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.InputRadio<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputRadio : Microsoft.AspNetCore.Components.ComponentBase { public System.Collections.Generic.IReadOnlyDictionary AdditionalAttributes { get => throw null; set => throw null; } protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; + public Microsoft.AspNetCore.Components.ElementReference? Element { get => throw null; set => throw null; } public InputRadio() => throw null; public string Name { get => throw null; set => throw null; } protected override void OnParametersSet() => throw null; public TValue Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputRadioGroup<>` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.InputRadioGroup<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputRadioGroup : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -191,7 +192,7 @@ namespace Microsoft protected override bool TryParseValueFromString(string value, out TValue result, out string validationErrorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputSelect<>` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.InputSelect<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputSelect : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -202,7 +203,7 @@ namespace Microsoft protected override bool TryParseValueFromString(string value, out TValue result, out string validationErrorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputText` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.InputText` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputText : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -211,7 +212,7 @@ namespace Microsoft protected override bool TryParseValueFromString(string value, out string result, out string validationErrorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputTextArea` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.InputTextArea` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputTextArea : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -220,7 +221,7 @@ namespace Microsoft protected override bool TryParseValueFromString(string value, out string result, out string validationErrorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.RemoteBrowserFileStreamOptions` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.RemoteBrowserFileStreamOptions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RemoteBrowserFileStreamOptions { public int MaxBufferSize { get => throw null; set => throw null; } @@ -229,7 +230,7 @@ namespace Microsoft public System.TimeSpan SegmentFetchTimeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationMessage<>` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationMessage<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationMessage : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { public System.Collections.Generic.IReadOnlyDictionary AdditionalAttributes { get => throw null; set => throw null; } @@ -241,7 +242,7 @@ namespace Microsoft public ValidationMessage() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationSummary` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationSummary` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationSummary : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { public System.Collections.Generic.IReadOnlyDictionary AdditionalAttributes { get => throw null; set => throw null; } @@ -256,7 +257,7 @@ namespace Microsoft } namespace RenderTree { - // Generated from `Microsoft.AspNetCore.Components.RenderTree.WebEventDescriptor` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderTree.WebEventDescriptor` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebEventDescriptor { public Microsoft.AspNetCore.Components.RenderTree.EventFieldInfo EventFieldInfo { get => throw null; set => throw null; } @@ -265,7 +266,7 @@ namespace Microsoft public WebEventDescriptor() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.WebRenderer` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderTree.WebRenderer` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class WebRenderer : Microsoft.AspNetCore.Components.RenderTree.Renderer { protected internal int AddRootComponent(System.Type componentType, string domElementSelector) => throw null; @@ -278,7 +279,7 @@ namespace Microsoft } namespace Routing { - // Generated from `Microsoft.AspNetCore.Components.Routing.FocusOnNavigate` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Routing.FocusOnNavigate` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FocusOnNavigate : Microsoft.AspNetCore.Components.ComponentBase { public FocusOnNavigate() => throw null; @@ -288,7 +289,7 @@ namespace Microsoft public string Selector { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Routing.NavLink` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Routing.NavLink` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NavLink : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { public string ActiveClass { get => throw null; set => throw null; } @@ -303,29 +304,41 @@ namespace Microsoft protected override void OnParametersSet() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Routing.NavLinkMatch` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Routing.NavLinkMatch` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum NavLinkMatch : int { All = 1, Prefix = 0, } + // Generated from `Microsoft.AspNetCore.Components.Routing.NavigationLock` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class NavigationLock : Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender, System.IAsyncDisposable + { + void Microsoft.AspNetCore.Components.IComponent.Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) => throw null; + public bool ConfirmExternalNavigation { get => throw null; set => throw null; } + System.Threading.Tasks.ValueTask System.IAsyncDisposable.DisposeAsync() => throw null; + public NavigationLock() => throw null; + System.Threading.Tasks.Task Microsoft.AspNetCore.Components.IHandleAfterRender.OnAfterRenderAsync() => throw null; + public Microsoft.AspNetCore.Components.EventCallback OnBeforeInternalNavigation { get => throw null; set => throw null; } + System.Threading.Tasks.Task Microsoft.AspNetCore.Components.IComponent.SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView parameters) => throw null; + } + } namespace Web { - // Generated from `Microsoft.AspNetCore.Components.Web.BindAttributes` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.BindAttributes` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class BindAttributes { } - // Generated from `Microsoft.AspNetCore.Components.Web.ClipboardEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.ClipboardEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClipboardEventArgs : System.EventArgs { public ClipboardEventArgs() => throw null; public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.DataTransfer` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.DataTransfer` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataTransfer { public DataTransfer() => throw null; @@ -336,7 +349,7 @@ namespace Microsoft public string[] Types { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.DataTransferItem` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.DataTransferItem` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataTransferItem { public DataTransferItem() => throw null; @@ -344,14 +357,14 @@ namespace Microsoft public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.DragEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.DragEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DragEventArgs : Microsoft.AspNetCore.Components.Web.MouseEventArgs { public Microsoft.AspNetCore.Components.Web.DataTransfer DataTransfer { get => throw null; set => throw null; } public DragEventArgs() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.ErrorBoundary` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.ErrorBoundary` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ErrorBoundary : Microsoft.AspNetCore.Components.ErrorBoundaryBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -359,7 +372,7 @@ namespace Microsoft protected override System.Threading.Tasks.Task OnErrorAsync(System.Exception exception) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.ErrorEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.ErrorEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ErrorEventArgs : System.EventArgs { public int Colno { get => throw null; set => throw null; } @@ -370,19 +383,19 @@ namespace Microsoft public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.EventHandlers` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.EventHandlers` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EventHandlers { } - // Generated from `Microsoft.AspNetCore.Components.Web.FocusEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.FocusEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FocusEventArgs : System.EventArgs { public FocusEventArgs() => throw null; public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.HeadContent` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.HeadContent` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HeadContent : Microsoft.AspNetCore.Components.ComponentBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -390,7 +403,7 @@ namespace Microsoft public HeadContent() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.HeadOutlet` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.HeadOutlet` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HeadOutlet : Microsoft.AspNetCore.Components.ComponentBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -398,19 +411,19 @@ namespace Microsoft protected override System.Threading.Tasks.Task OnAfterRenderAsync(bool firstRender) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.IErrorBoundaryLogger` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.IErrorBoundaryLogger` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IErrorBoundaryLogger { System.Threading.Tasks.ValueTask LogErrorAsync(System.Exception exception); } - // Generated from `Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSComponentConfiguration { Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore JSComponents { get; } } - // Generated from `Microsoft.AspNetCore.Components.Web.JSComponentConfigurationExtensions` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.JSComponentConfigurationExtensions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JSComponentConfigurationExtensions { public static void RegisterForJavaScript(this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, System.Type componentType, string identifier) => throw null; @@ -419,13 +432,13 @@ namespace Microsoft public static void RegisterForJavaScript(this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, string identifier, string javaScriptInitializer) where TComponent : Microsoft.AspNetCore.Components.IComponent => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSComponentConfigurationStore { public JSComponentConfigurationStore() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.KeyboardEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.KeyboardEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KeyboardEventArgs : System.EventArgs { public bool AltKey { get => throw null; set => throw null; } @@ -440,7 +453,7 @@ namespace Microsoft public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.MouseEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.MouseEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MouseEventArgs : System.EventArgs { public bool AltKey { get => throw null; set => throw null; } @@ -452,6 +465,8 @@ namespace Microsoft public System.Int64 Detail { get => throw null; set => throw null; } public bool MetaKey { get => throw null; set => throw null; } public MouseEventArgs() => throw null; + public double MovementX { get => throw null; set => throw null; } + public double MovementY { get => throw null; set => throw null; } public double OffsetX { get => throw null; set => throw null; } public double OffsetY { get => throw null; set => throw null; } public double PageX { get => throw null; set => throw null; } @@ -462,7 +477,7 @@ namespace Microsoft public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.PageTitle` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.PageTitle` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageTitle : Microsoft.AspNetCore.Components.ComponentBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -470,7 +485,7 @@ namespace Microsoft public PageTitle() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.PointerEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.PointerEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PointerEventArgs : Microsoft.AspNetCore.Components.Web.MouseEventArgs { public float Height { get => throw null; set => throw null; } @@ -484,7 +499,7 @@ namespace Microsoft public float Width { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.ProgressEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.ProgressEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProgressEventArgs : System.EventArgs { public bool LengthComputable { get => throw null; set => throw null; } @@ -494,7 +509,7 @@ namespace Microsoft public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.TouchEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.TouchEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TouchEventArgs : System.EventArgs { public bool AltKey { get => throw null; set => throw null; } @@ -509,7 +524,7 @@ namespace Microsoft public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.TouchPoint` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.TouchPoint` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TouchPoint { public double ClientX { get => throw null; set => throw null; } @@ -522,7 +537,7 @@ namespace Microsoft public TouchPoint() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.WebEventCallbackFactoryEventArgsExtensions` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.WebEventCallbackFactoryEventArgsExtensions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebEventCallbackFactoryEventArgsExtensions { public static Microsoft.AspNetCore.Components.EventCallback Create(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action callback) => throw null; @@ -547,14 +562,14 @@ namespace Microsoft public static Microsoft.AspNetCore.Components.EventCallback Create(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func callback) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.WebRenderTreeBuilderExtensions` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.WebRenderTreeBuilderExtensions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebRenderTreeBuilderExtensions { public static void AddEventPreventDefaultAttribute(this Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder, int sequence, string eventName, bool value) => throw null; public static void AddEventStopPropagationAttribute(this Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder, int sequence, string eventName, bool value) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.WheelEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.WheelEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WheelEventArgs : Microsoft.AspNetCore.Components.Web.MouseEventArgs { public System.Int64 DeltaMode { get => throw null; set => throw null; } @@ -566,7 +581,7 @@ namespace Microsoft namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Components.Web.Infrastructure.JSComponentInterop` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.Infrastructure.JSComponentInterop` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSComponentInterop { protected internal virtual int AddRootComponent(string identifier, string domElementSelector) => throw null; @@ -578,15 +593,15 @@ namespace Microsoft } namespace Virtualization { - // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.IVirtualizeJsCallbacks` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.IVirtualizeJsCallbacks` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IVirtualizeJsCallbacks { } - // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.ItemsProviderDelegate<>` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.ItemsProviderDelegate<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.ValueTask> ItemsProviderDelegate(Microsoft.AspNetCore.Components.Web.Virtualization.ItemsProviderRequest request); - // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.ItemsProviderRequest` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.ItemsProviderRequest` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ItemsProviderRequest { public System.Threading.CancellationToken CancellationToken { get => throw null; } @@ -596,7 +611,7 @@ namespace Microsoft public int StartIndex { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.ItemsProviderResult<>` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.ItemsProviderResult<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ItemsProviderResult { public System.Collections.Generic.IEnumerable Items { get => throw null; } @@ -605,7 +620,7 @@ namespace Microsoft public int TotalItemCount { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.PlaceholderContext` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.PlaceholderContext` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PlaceholderContext { public int Index { get => throw null; } @@ -614,7 +629,7 @@ namespace Microsoft public float Size { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.Virtualize<>` in `Microsoft.AspNetCore.Components.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.Virtualize<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Virtualize : Microsoft.AspNetCore.Components.ComponentBase, System.IAsyncDisposable { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -629,6 +644,7 @@ namespace Microsoft public int OverscanCount { get => throw null; set => throw null; } public Microsoft.AspNetCore.Components.RenderFragment Placeholder { get => throw null; set => throw null; } public System.Threading.Tasks.Task RefreshDataAsync() => throw null; + public string SpacerElement { get => throw null; set => throw null; } public Virtualize() => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.cs index 81b9b996f3d..c27f9a57bc7 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Components { - // Generated from `Microsoft.AspNetCore.Components.BindConverter` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.BindConverter` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class BindConverter { public static string FormatValue(System.DateOnly value, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; @@ -75,7 +75,7 @@ namespace Microsoft public static bool TryConvertToTimeOnly(object obj, System.Globalization.CultureInfo culture, string format, out System.TimeOnly value) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.BindElementAttribute` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.BindElementAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindElementAttribute : System.Attribute { public BindElementAttribute(string element, string suffix, string valueAttribute, string changeAttribute) => throw null; @@ -85,21 +85,21 @@ namespace Microsoft public string ValueAttribute { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.CascadingParameterAttribute` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.CascadingParameterAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CascadingParameterAttribute : System.Attribute { public CascadingParameterAttribute() => throw null; public string Name { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.CascadingTypeParameterAttribute` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.CascadingTypeParameterAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CascadingTypeParameterAttribute : System.Attribute { public CascadingTypeParameterAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.CascadingValue<>` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.CascadingValue<>` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CascadingValue : Microsoft.AspNetCore.Components.IComponent { public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) => throw null; @@ -111,14 +111,14 @@ namespace Microsoft public TValue Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.ChangeEventArgs` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.ChangeEventArgs` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ChangeEventArgs : System.EventArgs { public ChangeEventArgs() => throw null; public object Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.ComponentBase` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.ComponentBase` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ComponentBase : Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender, Microsoft.AspNetCore.Components.IHandleEvent { void Microsoft.AspNetCore.Components.IComponent.Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) => throw null; @@ -139,7 +139,7 @@ namespace Microsoft protected void StateHasChanged() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Dispatcher` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Dispatcher` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class Dispatcher { public void AssertAccess() => throw null; @@ -153,7 +153,7 @@ namespace Microsoft protected void OnUnhandledException(System.UnhandledExceptionEventArgs e) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.DynamicComponent` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.DynamicComponent` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DynamicComponent : Microsoft.AspNetCore.Components.IComponent { public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) => throw null; @@ -164,13 +164,13 @@ namespace Microsoft public System.Type Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.EditorRequiredAttribute` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.EditorRequiredAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EditorRequiredAttribute : System.Attribute { public EditorRequiredAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.ElementReference` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.ElementReference` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ElementReference { public Microsoft.AspNetCore.Components.ElementReferenceContext Context { get => throw null; } @@ -180,13 +180,13 @@ namespace Microsoft public string Id { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.ElementReferenceContext` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.ElementReferenceContext` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ElementReferenceContext { protected ElementReferenceContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.ErrorBoundaryBase` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.ErrorBoundaryBase` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ErrorBoundaryBase : Microsoft.AspNetCore.Components.ComponentBase { public Microsoft.AspNetCore.Components.RenderFragment ChildContent { get => throw null; set => throw null; } @@ -198,7 +198,7 @@ namespace Microsoft public void Recover() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventCallback` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.EventCallback` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct EventCallback { public static Microsoft.AspNetCore.Components.EventCallback Empty; @@ -210,7 +210,7 @@ namespace Microsoft public System.Threading.Tasks.Task InvokeAsync(object arg) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventCallback<>` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.EventCallback<>` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct EventCallback { public static Microsoft.AspNetCore.Components.EventCallback Empty; @@ -221,7 +221,7 @@ namespace Microsoft public System.Threading.Tasks.Task InvokeAsync(TValue arg) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventCallbackFactory` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.EventCallbackFactory` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EventCallbackFactory { public Microsoft.AspNetCore.Components.EventCallback Create(object receiver, System.Action callback) => throw null; @@ -240,7 +240,7 @@ namespace Microsoft public EventCallbackFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventCallbackFactoryBinderExtensions` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.EventCallbackFactoryBinderExtensions` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EventCallbackFactoryBinderExtensions { public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, System.DateOnly existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; @@ -274,10 +274,42 @@ namespace Microsoft public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, System.Int16 existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, System.Int16? existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, string existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.DateOnly existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.DateOnly existingValue, string format, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.DateOnly? existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.DateOnly? existingValue, string format, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.DateTime existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.DateTime existingValue, string format, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.DateTime? existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.DateTime? existingValue, string format, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.DateTimeOffset existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.DateTimeOffset existingValue, string format, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.DateTimeOffset? existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.DateTimeOffset? existingValue, string format, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.TimeOnly existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.TimeOnly existingValue, string format, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.TimeOnly? existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.TimeOnly? existingValue, string format, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, bool existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, bool? existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.Decimal existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.Decimal? existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, double existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, double? existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, float existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, float? existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, int existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, int? existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.Int64 existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.Int64? existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.Int16 existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, System.Int16? existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, string existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, T existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, T existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventCallbackFactoryEventArgsExtensions` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.EventCallbackFactoryEventArgsExtensions` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EventCallbackFactoryEventArgsExtensions { public static Microsoft.AspNetCore.Components.EventCallback Create(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action callback) => throw null; @@ -286,7 +318,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Components.EventCallback Create(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func callback) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventCallbackWorkItem` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.EventCallbackWorkItem` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct EventCallbackWorkItem { public static Microsoft.AspNetCore.Components.EventCallbackWorkItem Empty; @@ -295,7 +327,7 @@ namespace Microsoft public System.Threading.Tasks.Task InvokeAsync(object arg) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventHandlerAttribute` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.EventHandlerAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EventHandlerAttribute : System.Attribute { public string AttributeName { get => throw null; } @@ -306,68 +338,68 @@ namespace Microsoft public EventHandlerAttribute(string attributeName, System.Type eventArgsType, bool enableStopPropagation, bool enablePreventDefault) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.ICascadingValueComponent` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.ICascadingValueComponent` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface ICascadingValueComponent { } - // Generated from `Microsoft.AspNetCore.Components.IComponent` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.IComponent` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IComponent { void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle); System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView parameters); } - // Generated from `Microsoft.AspNetCore.Components.IComponentActivator` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.IComponentActivator` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IComponentActivator { Microsoft.AspNetCore.Components.IComponent CreateInstance(System.Type componentType); } - // Generated from `Microsoft.AspNetCore.Components.IErrorBoundary` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.IErrorBoundary` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IErrorBoundary { } - // Generated from `Microsoft.AspNetCore.Components.IEventCallback` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.IEventCallback` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IEventCallback { bool HasDelegate { get; } } - // Generated from `Microsoft.AspNetCore.Components.IHandleAfterRender` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.IHandleAfterRender` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHandleAfterRender { System.Threading.Tasks.Task OnAfterRenderAsync(); } - // Generated from `Microsoft.AspNetCore.Components.IHandleEvent` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.IHandleEvent` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHandleEvent { System.Threading.Tasks.Task HandleEventAsync(Microsoft.AspNetCore.Components.EventCallbackWorkItem item, object arg); } - // Generated from `Microsoft.AspNetCore.Components.IPersistentComponentStateStore` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.IPersistentComponentStateStore` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPersistentComponentStateStore { System.Threading.Tasks.Task> GetPersistedStateAsync(); System.Threading.Tasks.Task PersistStateAsync(System.Collections.Generic.IReadOnlyDictionary state); } - // Generated from `Microsoft.AspNetCore.Components.InjectAttribute` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.InjectAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InjectAttribute : System.Attribute { public InjectAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.LayoutAttribute` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.LayoutAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LayoutAttribute : System.Attribute { public LayoutAttribute(System.Type layoutType) => throw null; public System.Type LayoutType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.LayoutComponentBase` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.LayoutComponentBase` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class LayoutComponentBase : Microsoft.AspNetCore.Components.ComponentBase { public Microsoft.AspNetCore.Components.RenderFragment Body { get => throw null; set => throw null; } @@ -375,7 +407,7 @@ namespace Microsoft public override System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView parameters) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.LayoutView` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.LayoutView` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LayoutView : Microsoft.AspNetCore.Components.IComponent { public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) => throw null; @@ -385,13 +417,13 @@ namespace Microsoft public System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView parameters) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.LocationChangeException` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.LocationChangeException` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocationChangeException : System.Exception { public LocationChangeException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.MarkupString` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.MarkupString` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct MarkupString { // Stub generator skipped constructor @@ -401,18 +433,20 @@ namespace Microsoft public static explicit operator Microsoft.AspNetCore.Components.MarkupString(string value) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.NavigationException` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.NavigationException` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NavigationException : System.Exception { public string Location { get => throw null; } public NavigationException(string uri) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.NavigationManager` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.NavigationManager` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class NavigationManager { public string BaseUri { get => throw null; set => throw null; } protected virtual void EnsureInitialized() => throw null; + protected virtual void HandleLocationChangingHandlerException(System.Exception ex, Microsoft.AspNetCore.Components.Routing.LocationChangingContext context) => throw null; + public string HistoryEntryState { get => throw null; set => throw null; } protected void Initialize(string baseUri, string uri) => throw null; public event System.EventHandler LocationChanged; public void NavigateTo(string uri, Microsoft.AspNetCore.Components.NavigationOptions options) => throw null; @@ -422,12 +456,15 @@ namespace Microsoft protected virtual void NavigateToCore(string uri, bool forceLoad) => throw null; protected NavigationManager() => throw null; protected void NotifyLocationChanged(bool isInterceptedLink) => throw null; + protected System.Threading.Tasks.ValueTask NotifyLocationChangingAsync(string uri, string state, bool isNavigationIntercepted) => throw null; + public System.IDisposable RegisterLocationChangingHandler(System.Func locationChangingHandler) => throw null; + protected virtual void SetNavigationLockState(bool value) => throw null; public System.Uri ToAbsoluteUri(string relativeUri) => throw null; public string ToBaseRelativePath(string uri) => throw null; public string Uri { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.NavigationManagerExtensions` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.NavigationManagerExtensions` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class NavigationManagerExtensions { public static string GetUriWithQueryParameter(this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, System.DateOnly value) => throw null; @@ -455,15 +492,16 @@ namespace Microsoft public static string GetUriWithQueryParameters(this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string uri, System.Collections.Generic.IReadOnlyDictionary parameters) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.NavigationOptions` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.NavigationOptions` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct NavigationOptions { public bool ForceLoad { get => throw null; set => throw null; } + public string HistoryEntryState { get => throw null; set => throw null; } // Stub generator skipped constructor public bool ReplaceHistoryEntry { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.OwningComponentBase` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.OwningComponentBase` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class OwningComponentBase : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { void System.IDisposable.Dispose() => throw null; @@ -473,21 +511,21 @@ namespace Microsoft protected System.IServiceProvider ScopedServices { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.OwningComponentBase<>` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.OwningComponentBase<>` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class OwningComponentBase : Microsoft.AspNetCore.Components.OwningComponentBase, System.IDisposable { protected OwningComponentBase() => throw null; protected TService Service { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.ParameterAttribute` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.ParameterAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ParameterAttribute : System.Attribute { public bool CaptureUnmatchedValues { get => throw null; set => throw null; } public ParameterAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.ParameterValue` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.ParameterValue` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ParameterValue { public bool Cascading { get => throw null; } @@ -496,10 +534,10 @@ namespace Microsoft public object Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.ParameterView` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.ParameterView` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ParameterView { - // Generated from `Microsoft.AspNetCore.Components.ParameterView+Enumerator` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.ParameterView+Enumerator` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator { public Microsoft.AspNetCore.Components.ParameterValue Current { get => throw null; } @@ -519,7 +557,7 @@ namespace Microsoft public bool TryGetValue(string parameterName, out TValue result) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.PersistentComponentState` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.PersistentComponentState` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PersistentComponentState { public void PersistAsJson(string key, TValue instance) => throw null; @@ -527,20 +565,20 @@ namespace Microsoft public bool TryTakeFromJson(string key, out TValue instance) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.PersistingComponentStateSubscription` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.PersistingComponentStateSubscription` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PersistingComponentStateSubscription : System.IDisposable { public void Dispose() => throw null; // Stub generator skipped constructor } - // Generated from `Microsoft.AspNetCore.Components.RenderFragment` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderFragment` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate void RenderFragment(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder); - // Generated from `Microsoft.AspNetCore.Components.RenderFragment<>` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderFragment<>` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate Microsoft.AspNetCore.Components.RenderFragment RenderFragment(TValue value); - // Generated from `Microsoft.AspNetCore.Components.RenderHandle` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderHandle` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RenderHandle { public Microsoft.AspNetCore.Components.Dispatcher Dispatcher { get => throw null; } @@ -550,14 +588,14 @@ namespace Microsoft // Stub generator skipped constructor } - // Generated from `Microsoft.AspNetCore.Components.RouteAttribute` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RouteAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteAttribute : System.Attribute { public RouteAttribute(string template) => throw null; public string Template { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.RouteData` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RouteData` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteData { public System.Type PageType { get => throw null; } @@ -565,7 +603,7 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyDictionary RouteValues { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.RouteView` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RouteView` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteView : Microsoft.AspNetCore.Components.IComponent { public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) => throw null; @@ -576,7 +614,7 @@ namespace Microsoft public System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView parameters) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.SupplyParameterFromQueryAttribute` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.SupplyParameterFromQueryAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SupplyParameterFromQueryAttribute : System.Attribute { public string Name { get => throw null; set => throw null; } @@ -585,18 +623,24 @@ namespace Microsoft namespace CompilerServices { - // Generated from `Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RuntimeHelpers { + public static System.Func CreateInferredBindSetter(System.Action callback, T value) => throw null; + public static System.Func CreateInferredBindSetter(System.Func callback, T value) => throw null; public static Microsoft.AspNetCore.Components.EventCallback CreateInferredEventCallback(object receiver, System.Action callback, T value) => throw null; + public static Microsoft.AspNetCore.Components.EventCallback CreateInferredEventCallback(object receiver, Microsoft.AspNetCore.Components.EventCallback callback, T value) => throw null; public static Microsoft.AspNetCore.Components.EventCallback CreateInferredEventCallback(object receiver, System.Func callback, T value) => throw null; + public static System.Threading.Tasks.Task InvokeAsynchronousDelegate(System.Action callback) => throw null; + public static System.Threading.Tasks.Task InvokeAsynchronousDelegate(System.Func callback) => throw null; + public static void InvokeSynchronousDelegate(System.Action callback) => throw null; public static T TypeCheck(T value) => throw null; } } namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Components.Infrastructure.ComponentStatePersistenceManager` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Infrastructure.ComponentStatePersistenceManager` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComponentStatePersistenceManager { public ComponentStatePersistenceManager(Microsoft.Extensions.Logging.ILogger logger) => throw null; @@ -608,7 +652,7 @@ namespace Microsoft } namespace RenderTree { - // Generated from `Microsoft.AspNetCore.Components.RenderTree.ArrayBuilderSegment<>` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderTree.ArrayBuilderSegment<>` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ArrayBuilderSegment : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public T[] Array { get => throw null; } @@ -620,7 +664,7 @@ namespace Microsoft public int Offset { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.ArrayRange<>` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderTree.ArrayRange<>` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ArrayRange { public T[] Array; @@ -630,7 +674,7 @@ namespace Microsoft public int Count; } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.EventFieldInfo` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderTree.EventFieldInfo` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EventFieldInfo { public int ComponentId { get => throw null; set => throw null; } @@ -638,7 +682,7 @@ namespace Microsoft public object FieldValue { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderBatch` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderBatch` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RenderBatch { public Microsoft.AspNetCore.Components.RenderTree.ArrayRange DisposedComponentIDs { get => throw null; } @@ -648,7 +692,7 @@ namespace Microsoft public Microsoft.AspNetCore.Components.RenderTree.ArrayRange UpdatedComponents { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiff` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiff` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RenderTreeDiff { public int ComponentId; @@ -656,7 +700,7 @@ namespace Microsoft // Stub generator skipped constructor } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RenderTreeEdit { public int MoveToSiblingIndex; @@ -667,7 +711,7 @@ namespace Microsoft public Microsoft.AspNetCore.Components.RenderTree.RenderTreeEditType Type; } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeEditType` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeEditType` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RenderTreeEditType : int { PermutationListEnd = 10, @@ -682,7 +726,7 @@ namespace Microsoft UpdateText = 5, } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RenderTreeFrame { public System.UInt64 AttributeEventHandlerId { get => throw null; } @@ -710,7 +754,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrameType` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrameType` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RenderTreeFrameType : short { Attribute = 3, @@ -724,7 +768,7 @@ namespace Microsoft Text = 2, } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.Renderer` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.RenderTree.Renderer` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class Renderer : System.IAsyncDisposable, System.IDisposable { protected internal int AssignRootComponentId(Microsoft.AspNetCore.Components.IComponent component) => throw null; @@ -751,7 +795,7 @@ namespace Microsoft } namespace Rendering { - // Generated from `Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RenderTreeBuilder : System.IDisposable { public void AddAttribute(int sequence, Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame frame) => throw null; @@ -764,6 +808,7 @@ namespace Microsoft public void AddAttribute(int sequence, string name, Microsoft.AspNetCore.Components.EventCallback value) => throw null; public void AddComponentReferenceCapture(int sequence, System.Action componentReferenceCaptureAction) => throw null; public void AddContent(int sequence, Microsoft.AspNetCore.Components.MarkupString markupContent) => throw null; + public void AddContent(int sequence, Microsoft.AspNetCore.Components.MarkupString? markupContent) => throw null; public void AddContent(int sequence, Microsoft.AspNetCore.Components.RenderFragment fragment) => throw null; public void AddContent(int sequence, object textContent) => throw null; public void AddContent(int sequence, string textContent) => throw null; @@ -789,34 +834,46 @@ namespace Microsoft } namespace Routing { - // Generated from `Microsoft.AspNetCore.Components.Routing.IHostEnvironmentNavigationManager` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Routing.IHostEnvironmentNavigationManager` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostEnvironmentNavigationManager { void Initialize(string baseUri, string uri); } - // Generated from `Microsoft.AspNetCore.Components.Routing.INavigationInterception` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Routing.INavigationInterception` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface INavigationInterception { System.Threading.Tasks.Task EnableNavigationInterceptionAsync(); } - // Generated from `Microsoft.AspNetCore.Components.Routing.LocationChangedEventArgs` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Routing.LocationChangedEventArgs` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocationChangedEventArgs : System.EventArgs { + public string HistoryEntryState { get => throw null; set => throw null; } public bool IsNavigationIntercepted { get => throw null; } public string Location { get => throw null; } public LocationChangedEventArgs(string location, bool isNavigationIntercepted) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Routing.NavigationContext` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Routing.LocationChangingContext` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class LocationChangingContext + { + public System.Threading.CancellationToken CancellationToken { get => throw null; set => throw null; } + public string HistoryEntryState { get => throw null; set => throw null; } + public bool IsNavigationIntercepted { get => throw null; set => throw null; } + public LocationChangingContext() => throw null; + public void PreventNavigation() => throw null; + public string TargetLocation { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Components.Routing.NavigationContext` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NavigationContext { public System.Threading.CancellationToken CancellationToken { get => throw null; } public string Path { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Routing.Router` in `Microsoft.AspNetCore.Components, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Components.Routing.Router` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Router : Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender, System.IDisposable { public System.Collections.Generic.IEnumerable AdditionalAssemblies { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Connections.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Connections.Abstractions.cs index 29e4569777f..ab059eadb7d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Connections.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Connections.Abstractions.cs @@ -6,14 +6,14 @@ namespace Microsoft { namespace Connections { - // Generated from `Microsoft.AspNetCore.Connections.AddressInUseException` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.AddressInUseException` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AddressInUseException : System.InvalidOperationException { public AddressInUseException(string message) => throw null; public AddressInUseException(string message, System.Exception inner) => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.BaseConnectionContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.BaseConnectionContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class BaseConnectionContext : System.IAsyncDisposable { public abstract void Abort(); @@ -28,7 +28,7 @@ namespace Microsoft public virtual System.Net.EndPoint RemoteEndPoint { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionAbortedException` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.ConnectionAbortedException` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionAbortedException : System.OperationCanceledException { public ConnectionAbortedException() => throw null; @@ -36,7 +36,7 @@ namespace Microsoft public ConnectionAbortedException(string message, System.Exception inner) => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionBuilder` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.ConnectionBuilder` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionBuilder : Microsoft.AspNetCore.Connections.IConnectionBuilder { public System.IServiceProvider ApplicationServices { get => throw null; } @@ -45,7 +45,7 @@ namespace Microsoft public Microsoft.AspNetCore.Connections.IConnectionBuilder Use(System.Func middleware) => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionBuilderExtensions` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.ConnectionBuilderExtensions` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConnectionBuilderExtensions { public static Microsoft.AspNetCore.Connections.IConnectionBuilder Run(this Microsoft.AspNetCore.Connections.IConnectionBuilder connectionBuilder, System.Func middleware) => throw null; @@ -53,7 +53,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Connections.IConnectionBuilder UseConnectionHandler(this Microsoft.AspNetCore.Connections.IConnectionBuilder connectionBuilder) where TConnectionHandler : Microsoft.AspNetCore.Connections.ConnectionHandler => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.ConnectionContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ConnectionContext : Microsoft.AspNetCore.Connections.BaseConnectionContext, System.IAsyncDisposable { public override void Abort() => throw null; @@ -62,17 +62,17 @@ namespace Microsoft public abstract System.IO.Pipelines.IDuplexPipe Transport { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionDelegate` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.ConnectionDelegate` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task ConnectionDelegate(Microsoft.AspNetCore.Connections.ConnectionContext connection); - // Generated from `Microsoft.AspNetCore.Connections.ConnectionHandler` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.ConnectionHandler` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ConnectionHandler { protected ConnectionHandler() => throw null; public abstract System.Threading.Tasks.Task OnConnectedAsync(Microsoft.AspNetCore.Connections.ConnectionContext connection); } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionItems` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.ConnectionItems` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionItems : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -96,14 +96,14 @@ namespace Microsoft System.Collections.Generic.ICollection System.Collections.Generic.IDictionary.Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionResetException` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.ConnectionResetException` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionResetException : System.IO.IOException { public ConnectionResetException(string message) => throw null; public ConnectionResetException(string message, System.Exception inner) => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.DefaultConnectionContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.DefaultConnectionContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultConnectionContext : Microsoft.AspNetCore.Connections.ConnectionContext, Microsoft.AspNetCore.Connections.Features.IConnectionEndPointFeature, Microsoft.AspNetCore.Connections.Features.IConnectionIdFeature, Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature, Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature, Microsoft.AspNetCore.Connections.Features.IConnectionTransportFeature, Microsoft.AspNetCore.Connections.Features.IConnectionUserFeature { public override void Abort(Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason) => throw null; @@ -122,7 +122,7 @@ namespace Microsoft public System.Security.Claims.ClaimsPrincipal User { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Connections.FileHandleEndPoint` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.FileHandleEndPoint` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileHandleEndPoint : System.Net.EndPoint { public System.UInt64 FileHandle { get => throw null; } @@ -130,7 +130,7 @@ namespace Microsoft public Microsoft.AspNetCore.Connections.FileHandleType FileHandleType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Connections.FileHandleType` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.FileHandleType` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum FileHandleType : int { Auto = 0, @@ -138,7 +138,7 @@ namespace Microsoft Tcp = 1, } - // Generated from `Microsoft.AspNetCore.Connections.IConnectionBuilder` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.IConnectionBuilder` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionBuilder { System.IServiceProvider ApplicationServices { get; } @@ -146,13 +146,13 @@ namespace Microsoft Microsoft.AspNetCore.Connections.IConnectionBuilder Use(System.Func middleware); } - // Generated from `Microsoft.AspNetCore.Connections.IConnectionFactory` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.IConnectionFactory` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionFactory { System.Threading.Tasks.ValueTask ConnectAsync(System.Net.EndPoint endpoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Connections.IConnectionListener` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.IConnectionListener` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionListener : System.IAsyncDisposable { System.Threading.Tasks.ValueTask AcceptAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -160,13 +160,13 @@ namespace Microsoft System.Threading.Tasks.ValueTask UnbindAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Connections.IConnectionListenerFactory` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.IConnectionListenerFactory` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionListenerFactory { System.Threading.Tasks.ValueTask BindAsync(System.Net.EndPoint endpoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMultiplexedConnectionBuilder { System.IServiceProvider ApplicationServices { get; } @@ -174,13 +174,13 @@ namespace Microsoft Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder Use(System.Func middleware); } - // Generated from `Microsoft.AspNetCore.Connections.IMultiplexedConnectionFactory` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.IMultiplexedConnectionFactory` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMultiplexedConnectionFactory { System.Threading.Tasks.ValueTask ConnectAsync(System.Net.EndPoint endpoint, Microsoft.AspNetCore.Http.Features.IFeatureCollection features = default(Microsoft.AspNetCore.Http.Features.IFeatureCollection), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Connections.IMultiplexedConnectionListener` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.IMultiplexedConnectionListener` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMultiplexedConnectionListener : System.IAsyncDisposable { System.Threading.Tasks.ValueTask AcceptAsync(Microsoft.AspNetCore.Http.Features.IFeatureCollection features = default(Microsoft.AspNetCore.Http.Features.IFeatureCollection), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -188,13 +188,13 @@ namespace Microsoft System.Threading.Tasks.ValueTask UnbindAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Connections.IMultiplexedConnectionListenerFactory` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.IMultiplexedConnectionListenerFactory` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMultiplexedConnectionListenerFactory { System.Threading.Tasks.ValueTask BindAsync(System.Net.EndPoint endpoint, Microsoft.AspNetCore.Http.Features.IFeatureCollection features = default(Microsoft.AspNetCore.Http.Features.IFeatureCollection), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Connections.MultiplexedConnectionBuilder` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.MultiplexedConnectionBuilder` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MultiplexedConnectionBuilder : Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder { public System.IServiceProvider ApplicationServices { get => throw null; } @@ -203,7 +203,7 @@ namespace Microsoft public Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder Use(System.Func middleware) => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.MultiplexedConnectionContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.MultiplexedConnectionContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class MultiplexedConnectionContext : Microsoft.AspNetCore.Connections.BaseConnectionContext, System.IAsyncDisposable { public abstract System.Threading.Tasks.ValueTask AcceptAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -211,10 +211,28 @@ namespace Microsoft protected MultiplexedConnectionContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task MultiplexedConnectionDelegate(Microsoft.AspNetCore.Connections.MultiplexedConnectionContext connection); - // Generated from `Microsoft.AspNetCore.Connections.TransferFormat` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.TlsConnectionCallbackContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class TlsConnectionCallbackContext + { + public System.Net.Security.SslClientHelloInfo ClientHelloInfo { get => throw null; set => throw null; } + public Microsoft.AspNetCore.Connections.BaseConnectionContext Connection { get => throw null; set => throw null; } + public object State { get => throw null; set => throw null; } + public TlsConnectionCallbackContext() => throw null; + } + + // Generated from `Microsoft.AspNetCore.Connections.TlsConnectionCallbackOptions` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class TlsConnectionCallbackOptions + { + public System.Collections.Generic.List ApplicationProtocols { get => throw null; set => throw null; } + public System.Func> OnConnection { get => throw null; set => throw null; } + public object OnConnectionState { get => throw null; set => throw null; } + public TlsConnectionCallbackOptions() => throw null; + } + + // Generated from `Microsoft.AspNetCore.Connections.TransferFormat` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum TransferFormat : int { @@ -222,7 +240,7 @@ namespace Microsoft Text = 2, } - // Generated from `Microsoft.AspNetCore.Connections.UriEndPoint` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.UriEndPoint` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UriEndPoint : System.Net.EndPoint { public override string ToString() => throw null; @@ -232,114 +250,120 @@ namespace Microsoft namespace Features { - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionCompleteFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionCompleteFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionCompleteFeature { void OnCompleted(System.Func callback, object state); } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionEndPointFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionEndPointFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionEndPointFeature { System.Net.EndPoint LocalEndPoint { get; set; } System.Net.EndPoint RemoteEndPoint { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionHeartbeatFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionHeartbeatFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionHeartbeatFeature { void OnHeartbeat(System.Action action, object state); } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionIdFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionIdFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionIdFeature { string ConnectionId { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionInherentKeepAliveFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionInherentKeepAliveFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionInherentKeepAliveFeature { bool HasInherentKeepAlive { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionItemsFeature { System.Collections.Generic.IDictionary Items { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionLifetimeFeature { void Abort(); System.Threading.CancellationToken ConnectionClosed { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeNotificationFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeNotificationFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionLifetimeNotificationFeature { System.Threading.CancellationToken ConnectionClosedRequested { get; set; } void RequestClose(); } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionSocketFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionSocketFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionSocketFeature { System.Net.Sockets.Socket Socket { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionTransportFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionTransportFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionTransportFeature { System.IO.Pipelines.IDuplexPipe Transport { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionUserFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionUserFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionUserFeature { System.Security.Claims.ClaimsPrincipal User { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IMemoryPoolFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IMemoryPoolFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMemoryPoolFeature { System.Buffers.MemoryPool MemoryPool { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IPersistentStateFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IPersistentStateFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPersistentStateFeature { System.Collections.Generic.IDictionary State { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IProtocolErrorCodeFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IProtocolErrorCodeFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IProtocolErrorCodeFeature { System.Int64 Error { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IStreamAbortFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IStreamAbortFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStreamAbortFeature { void AbortRead(System.Int64 errorCode, Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason); void AbortWrite(System.Int64 errorCode, Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason); } - // Generated from `Microsoft.AspNetCore.Connections.Features.IStreamDirectionFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IStreamClosedFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IStreamClosedFeature + { + void OnClosed(System.Action callback, object state); + } + + // Generated from `Microsoft.AspNetCore.Connections.Features.IStreamDirectionFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStreamDirectionFeature { bool CanRead { get; } bool CanWrite { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IStreamIdFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.IStreamIdFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStreamIdFeature { System.Int64 StreamId { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.ITlsHandshakeFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.ITlsHandshakeFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITlsHandshakeFeature { System.Security.Authentication.CipherAlgorithmType CipherAlgorithm { get; } @@ -351,7 +375,7 @@ namespace Microsoft System.Security.Authentication.SslProtocols Protocol { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.ITransferFormatFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Connections.Features.ITransferFormatFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITransferFormatFeature { Microsoft.AspNetCore.Connections.TransferFormat ActiveFormat { get; set; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.CookiePolicy.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.CookiePolicy.cs index c501847a681..2c3e7701890 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.CookiePolicy.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.CookiePolicy.cs @@ -6,18 +6,19 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.CookiePolicyAppBuilderExtensions` in `Microsoft.AspNetCore.CookiePolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.CookiePolicyAppBuilderExtensions` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CookiePolicyAppBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseCookiePolicy(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseCookiePolicy(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.CookiePolicyOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.CookiePolicyOptions` in `Microsoft.AspNetCore.CookiePolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.CookiePolicyOptions` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookiePolicyOptions { public System.Func CheckConsentNeeded { get => throw null; set => throw null; } public Microsoft.AspNetCore.Http.CookieBuilder ConsentCookie { get => throw null; set => throw null; } + public string ConsentCookieValue { get => throw null; set => throw null; } public CookiePolicyOptions() => throw null; public Microsoft.AspNetCore.CookiePolicy.HttpOnlyPolicy HttpOnly { get => throw null; set => throw null; } public Microsoft.AspNetCore.Http.SameSiteMode MinimumSameSitePolicy { get => throw null; set => throw null; } @@ -29,7 +30,7 @@ namespace Microsoft } namespace CookiePolicy { - // Generated from `Microsoft.AspNetCore.CookiePolicy.AppendCookieContext` in `Microsoft.AspNetCore.CookiePolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.CookiePolicy.AppendCookieContext` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AppendCookieContext { public AppendCookieContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.CookieOptions options, string name, string value) => throw null; @@ -42,7 +43,7 @@ namespace Microsoft public bool IssueCookie { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.CookiePolicy.CookiePolicyMiddleware` in `Microsoft.AspNetCore.CookiePolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.CookiePolicy.CookiePolicyMiddleware` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookiePolicyMiddleware { public CookiePolicyMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options) => throw null; @@ -51,7 +52,7 @@ namespace Microsoft public Microsoft.AspNetCore.Builder.CookiePolicyOptions Options { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.CookiePolicy.DeleteCookieContext` in `Microsoft.AspNetCore.CookiePolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.CookiePolicy.DeleteCookieContext` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DeleteCookieContext { public Microsoft.AspNetCore.Http.HttpContext Context { get => throw null; } @@ -63,7 +64,7 @@ namespace Microsoft public bool IssueCookie { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.CookiePolicy.HttpOnlyPolicy` in `Microsoft.AspNetCore.CookiePolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.CookiePolicy.HttpOnlyPolicy` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HttpOnlyPolicy : int { Always = 1, @@ -76,7 +77,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.CookiePolicyServiceCollectionExtensions` in `Microsoft.AspNetCore.CookiePolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.CookiePolicyServiceCollectionExtensions` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CookiePolicyServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddCookiePolicy(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cors.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cors.cs index ba7f530ee20..cdb042b7435 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cors.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cors.cs @@ -6,14 +6,14 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.CorsEndpointConventionBuilderExtensions` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.CorsEndpointConventionBuilderExtensions` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CorsEndpointConventionBuilderExtensions { public static TBuilder RequireCors(this TBuilder builder, System.Action configurePolicy) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; public static TBuilder RequireCors(this TBuilder builder, string policyName) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.CorsMiddlewareExtensions` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.CorsMiddlewareExtensions` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CorsMiddlewareExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseCors(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -24,20 +24,20 @@ namespace Microsoft } namespace Cors { - // Generated from `Microsoft.AspNetCore.Cors.CorsPolicyMetadata` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.CorsPolicyMetadata` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsPolicyMetadata : Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyMetadata { public CorsPolicyMetadata(Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy policy) => throw null; public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy Policy { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Cors.DisableCorsAttribute` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.DisableCorsAttribute` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DisableCorsAttribute : System.Attribute, Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata, Microsoft.AspNetCore.Cors.Infrastructure.IDisableCorsAttribute { public DisableCorsAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.EnableCorsAttribute` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.EnableCorsAttribute` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnableCorsAttribute : System.Attribute, Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata, Microsoft.AspNetCore.Cors.Infrastructure.IEnableCorsAttribute { public EnableCorsAttribute() => throw null; @@ -47,7 +47,7 @@ namespace Microsoft namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CorsConstants { public static string AccessControlAllowCredentials; @@ -63,7 +63,7 @@ namespace Microsoft public static string PreflightHttpMethod; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsMiddleware { public CorsMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy policy, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; @@ -72,7 +72,7 @@ namespace Microsoft public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider corsPolicyProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsOptions { public void AddDefaultPolicy(System.Action configurePolicy) => throw null; @@ -84,7 +84,7 @@ namespace Microsoft public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy GetPolicy(string name) => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsPolicy { public bool AllowAnyHeader { get => throw null; } @@ -101,7 +101,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsPolicyBuilder { public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder AllowAnyHeader() => throw null; @@ -121,7 +121,7 @@ namespace Microsoft public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder WithOrigins(params string[] origins) => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsResult` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsResult` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsResult { public System.Collections.Generic.IList AllowedExposedHeaders { get => throw null; } @@ -137,7 +137,7 @@ namespace Microsoft public bool VaryByOrigin { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsService` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsService` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsService : Microsoft.AspNetCore.Cors.Infrastructure.ICorsService { public virtual void ApplyResult(Microsoft.AspNetCore.Cors.Infrastructure.CorsResult result, Microsoft.AspNetCore.Http.HttpResponse response) => throw null; @@ -148,38 +148,38 @@ namespace Microsoft public virtual void EvaluateRequest(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy policy, Microsoft.AspNetCore.Cors.Infrastructure.CorsResult result) => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.DefaultCorsPolicyProvider` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.DefaultCorsPolicyProvider` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultCorsPolicyProvider : Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider { public DefaultCorsPolicyProvider(Microsoft.Extensions.Options.IOptions options) => throw null; public System.Threading.Tasks.Task GetPolicyAsync(Microsoft.AspNetCore.Http.HttpContext context, string policyName) => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyMetadata` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyMetadata` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICorsPolicyMetadata : Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata { Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy Policy { get; } } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICorsPolicyProvider { System.Threading.Tasks.Task GetPolicyAsync(Microsoft.AspNetCore.Http.HttpContext context, string policyName); } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.ICorsService` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.ICorsService` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICorsService { void ApplyResult(Microsoft.AspNetCore.Cors.Infrastructure.CorsResult result, Microsoft.AspNetCore.Http.HttpResponse response); Microsoft.AspNetCore.Cors.Infrastructure.CorsResult EvaluatePolicy(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy policy); } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.IDisableCorsAttribute` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.IDisableCorsAttribute` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDisableCorsAttribute : Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata { } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.IEnableCorsAttribute` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.IEnableCorsAttribute` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEnableCorsAttribute : Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata { string PolicyName { get; set; } @@ -192,7 +192,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.CorsServiceCollectionExtensions` in `Microsoft.AspNetCore.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.CorsServiceCollectionExtensions` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CorsServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddCors(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cryptography.KeyDerivation.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cryptography.KeyDerivation.cs index caf6639e24b..3a3f24d50f1 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cryptography.KeyDerivation.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cryptography.KeyDerivation.cs @@ -8,13 +8,13 @@ namespace Microsoft { namespace KeyDerivation { - // Generated from `Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivation` in `Microsoft.AspNetCore.Cryptography.KeyDerivation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivation` in `Microsoft.AspNetCore.Cryptography.KeyDerivation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class KeyDerivation { public static System.Byte[] Pbkdf2(string password, System.Byte[] salt, Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf prf, int iterationCount, int numBytesRequested) => throw null; } - // Generated from `Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf` in `Microsoft.AspNetCore.Cryptography.KeyDerivation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf` in `Microsoft.AspNetCore.Cryptography.KeyDerivation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum KeyDerivationPrf : int { HMACSHA1 = 0, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Abstractions.cs index e2f17cad601..254839ae25e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Abstractions.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DataProtection { - // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions` in `Microsoft.AspNetCore.DataProtection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions` in `Microsoft.AspNetCore.DataProtection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DataProtectionCommonExtensions { public static Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector(this Microsoft.AspNetCore.DataProtection.IDataProtectionProvider provider, System.Collections.Generic.IEnumerable purposes) => throw null; @@ -18,13 +18,13 @@ namespace Microsoft public static string Unprotect(this Microsoft.AspNetCore.DataProtection.IDataProtector protector, string protectedData) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.IDataProtectionProvider` in `Microsoft.AspNetCore.DataProtection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.IDataProtectionProvider` in `Microsoft.AspNetCore.DataProtection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDataProtectionProvider { Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector(string purpose); } - // Generated from `Microsoft.AspNetCore.DataProtection.IDataProtector` in `Microsoft.AspNetCore.DataProtection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.IDataProtector` in `Microsoft.AspNetCore.DataProtection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDataProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider { System.Byte[] Protect(System.Byte[] plaintext); @@ -33,7 +33,7 @@ namespace Microsoft namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.DataProtection.Infrastructure.IApplicationDiscriminator` in `Microsoft.AspNetCore.DataProtection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.Infrastructure.IApplicationDiscriminator` in `Microsoft.AspNetCore.DataProtection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationDiscriminator { string Discriminator { get; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Extensions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Extensions.cs index 62449e4a545..9dd91ea91f2 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Extensions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Extensions.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DataProtection { - // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionAdvancedExtensions` in `Microsoft.AspNetCore.DataProtection.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionAdvancedExtensions` in `Microsoft.AspNetCore.DataProtection.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DataProtectionAdvancedExtensions { public static System.Byte[] Protect(this Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector protector, System.Byte[] plaintext, System.TimeSpan lifetime) => throw null; @@ -16,7 +16,7 @@ namespace Microsoft public static string Unprotect(this Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector protector, string protectedData, out System.DateTimeOffset expiration) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionProvider` in `Microsoft.AspNetCore.DataProtection.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionProvider` in `Microsoft.AspNetCore.DataProtection.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DataProtectionProvider { public static Microsoft.AspNetCore.DataProtection.IDataProtectionProvider Create(System.IO.DirectoryInfo keyDirectory) => throw null; @@ -27,7 +27,7 @@ namespace Microsoft public static Microsoft.AspNetCore.DataProtection.IDataProtectionProvider Create(string applicationName, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector` in `Microsoft.AspNetCore.DataProtection.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector` in `Microsoft.AspNetCore.DataProtection.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITimeLimitedDataProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider, Microsoft.AspNetCore.DataProtection.IDataProtector { Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector CreateProtector(string purpose); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.cs index 612d9b5b68a..2d76af488b2 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DataProtection { - // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionBuilderExtensions` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionBuilderExtensions` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DataProtectionBuilderExtensions { public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder AddKeyEscrowSink(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, System.Func factory) => throw null; @@ -32,20 +32,20 @@ namespace Microsoft public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder UseEphemeralDataProtectionProvider(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionOptions` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionOptions` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataProtectionOptions { public string ApplicationDiscriminator { get => throw null; set => throw null; } public DataProtectionOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionUtilityExtensions` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionUtilityExtensions` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DataProtectionUtilityExtensions { public static string GetApplicationUniqueIdentifier(this System.IServiceProvider services) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.EphemeralDataProtectionProvider` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.EphemeralDataProtectionProvider` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EphemeralDataProtectionProvider : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider { public Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector(string purpose) => throw null; @@ -53,26 +53,26 @@ namespace Microsoft public EphemeralDataProtectionProvider(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDataProtectionBuilder { Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } } - // Generated from `Microsoft.AspNetCore.DataProtection.IPersistedDataProtector` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.IPersistedDataProtector` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPersistedDataProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider, Microsoft.AspNetCore.DataProtection.IDataProtector { System.Byte[] DangerousUnprotect(System.Byte[] protectedData, bool ignoreRevocationErrors, out bool requiresMigration, out bool wasRevoked); } - // Generated from `Microsoft.AspNetCore.DataProtection.ISecret` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.ISecret` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISecret : System.IDisposable { int Length { get; } void WriteSecretIntoBuffer(System.ArraySegment buffer); } - // Generated from `Microsoft.AspNetCore.DataProtection.Secret` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.Secret` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Secret : Microsoft.AspNetCore.DataProtection.ISecret, System.IDisposable { public void Dispose() => throw null; @@ -88,28 +88,28 @@ namespace Microsoft namespace AuthenticatedEncryption { - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.AuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.AuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticatedEncryptorFactory : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory { public AuthenticatedEncryptorFactory(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptorInstance(Microsoft.AspNetCore.DataProtection.KeyManagement.IKey key) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngCbcAuthenticatedEncryptorFactory : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory { public CngCbcAuthenticatedEncryptorFactory(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptorInstance(Microsoft.AspNetCore.DataProtection.KeyManagement.IKey key) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngGcmAuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngGcmAuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngGcmAuthenticatedEncryptorFactory : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory { public CngGcmAuthenticatedEncryptorFactory(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptorInstance(Microsoft.AspNetCore.DataProtection.KeyManagement.IKey key) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.EncryptionAlgorithm` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.EncryptionAlgorithm` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum EncryptionAlgorithm : int { AES_128_CBC = 0, @@ -120,27 +120,27 @@ namespace Microsoft AES_256_GCM = 5, } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticatedEncryptor { System.Byte[] Decrypt(System.ArraySegment ciphertext, System.ArraySegment additionalAuthenticatedData); System.Byte[] Encrypt(System.ArraySegment plaintext, System.ArraySegment additionalAuthenticatedData); } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticatedEncryptorFactory { Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptorInstance(Microsoft.AspNetCore.DataProtection.KeyManagement.IKey key); } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ManagedAuthenticatedEncryptorFactory : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory { public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptorInstance(Microsoft.AspNetCore.DataProtection.KeyManagement.IKey key) => throw null; public ManagedAuthenticatedEncryptorFactory(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ValidationAlgorithm` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ValidationAlgorithm` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ValidationAlgorithm : int { HMACSHA256 = 0, @@ -149,14 +149,14 @@ namespace Microsoft namespace ConfigurationModel { - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AlgorithmConfiguration { protected AlgorithmConfiguration() => throw null; public abstract Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor CreateNewDescriptor(); } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration { public AuthenticatedEncryptorConfiguration() => throw null; @@ -165,21 +165,21 @@ namespace Microsoft public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ValidationAlgorithm ValidationAlgorithm { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor { public AuthenticatedEncryptorDescriptor(Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorConfiguration configuration, Microsoft.AspNetCore.DataProtection.ISecret masterKey) => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo ExportToXml() => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticatedEncryptorDescriptorDeserializer : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer { public AuthenticatedEncryptorDescriptorDeserializer() => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor ImportFromXml(System.Xml.Linq.XElement element) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngCbcAuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration { public CngCbcAuthenticatedEncryptorConfiguration() => throw null; @@ -191,21 +191,21 @@ namespace Microsoft public string HashAlgorithmProvider { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngCbcAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor { public CngCbcAuthenticatedEncryptorDescriptor(Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorConfiguration configuration, Microsoft.AspNetCore.DataProtection.ISecret masterKey) => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo ExportToXml() => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngCbcAuthenticatedEncryptorDescriptorDeserializer : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer { public CngCbcAuthenticatedEncryptorDescriptorDeserializer() => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor ImportFromXml(System.Xml.Linq.XElement element) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngGcmAuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration { public CngGcmAuthenticatedEncryptorConfiguration() => throw null; @@ -215,38 +215,38 @@ namespace Microsoft public string EncryptionAlgorithmProvider { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngGcmAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor { public CngGcmAuthenticatedEncryptorDescriptor(Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorConfiguration configuration, Microsoft.AspNetCore.DataProtection.ISecret masterKey) => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo ExportToXml() => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngGcmAuthenticatedEncryptorDescriptorDeserializer : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer { public CngGcmAuthenticatedEncryptorDescriptorDeserializer() => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor ImportFromXml(System.Xml.Linq.XElement element) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticatedEncryptorDescriptor { Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo ExportToXml(); } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticatedEncryptorDescriptorDeserializer { Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor ImportFromXml(System.Xml.Linq.XElement element); } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IInternalAlgorithmConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IInternalAlgorithmConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IInternalAlgorithmConfiguration { } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ManagedAuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration { public override Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor CreateNewDescriptor() => throw null; @@ -256,27 +256,27 @@ namespace Microsoft public System.Type ValidationAlgorithmType { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ManagedAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor { public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo ExportToXml() => throw null; public ManagedAuthenticatedEncryptorDescriptor(Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorConfiguration configuration, Microsoft.AspNetCore.DataProtection.ISecret masterKey) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ManagedAuthenticatedEncryptorDescriptorDeserializer : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer { public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor ImportFromXml(System.Xml.Linq.XElement element) => throw null; public ManagedAuthenticatedEncryptorDescriptorDeserializer() => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlExtensions` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlExtensions` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class XmlExtensions { public static void MarkAsRequiresEncryption(this System.Xml.Linq.XElement element) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlSerializedDescriptorInfo { public System.Type DeserializerType { get => throw null; } @@ -288,7 +288,7 @@ namespace Microsoft } namespace Internal { - // Generated from `Microsoft.AspNetCore.DataProtection.Internal.IActivator` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.Internal.IActivator` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActivator { object CreateInstance(System.Type expectedBaseType, string implementationTypeName); @@ -297,7 +297,7 @@ namespace Microsoft } namespace KeyManagement { - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.IKey` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.IKey` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKey { System.DateTimeOffset ActivationDate { get; } @@ -309,13 +309,13 @@ namespace Microsoft System.Guid KeyId { get; } } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKeyEscrowSink { void Store(System.Guid keyId, System.Xml.Linq.XElement element); } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKeyManager { Microsoft.AspNetCore.DataProtection.KeyManagement.IKey CreateNewKey(System.DateTimeOffset activationDate, System.DateTimeOffset expirationDate); @@ -325,7 +325,7 @@ namespace Microsoft void RevokeKey(System.Guid keyId, string reason = default(string)); } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KeyManagementOptions { public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration AuthenticatedEncryptorConfiguration { get => throw null; set => throw null; } @@ -338,7 +338,7 @@ namespace Microsoft public Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository XmlRepository { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlKeyManager : Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager, Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager { public Microsoft.AspNetCore.DataProtection.KeyManagement.IKey CreateNewKey(System.DateTimeOffset activationDate, System.DateTimeOffset expirationDate) => throw null; @@ -355,12 +355,12 @@ namespace Microsoft namespace Internal { - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.CacheableKeyRing` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.CacheableKeyRing` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheableKeyRing { } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.DefaultKeyResolution` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.DefaultKeyResolution` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct DefaultKeyResolution { public Microsoft.AspNetCore.DataProtection.KeyManagement.IKey DefaultKey; @@ -369,19 +369,19 @@ namespace Microsoft public bool ShouldGenerateNewKey; } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICacheableKeyRingProvider { Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.CacheableKeyRing GetCacheableKeyRing(System.DateTimeOffset now); } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IDefaultKeyResolver` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IDefaultKeyResolver` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDefaultKeyResolver { Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.DefaultKeyResolution ResolveDefaultKeyPolicy(System.DateTimeOffset now, System.Collections.Generic.IEnumerable allKeys); } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IInternalXmlKeyManager { Microsoft.AspNetCore.DataProtection.KeyManagement.IKey CreateNewKey(System.Guid keyId, System.DateTimeOffset creationDate, System.DateTimeOffset activationDate, System.DateTimeOffset expirationDate); @@ -389,7 +389,7 @@ namespace Microsoft void RevokeSingleKey(System.Guid keyId, System.DateTimeOffset revocationDate, string reason); } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRing` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRing` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKeyRing { Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor DefaultAuthenticatedEncryptor { get; } @@ -397,7 +397,7 @@ namespace Microsoft Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor GetAuthenticatedEncryptorByKeyId(System.Guid keyId, out bool isRevoked); } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRingProvider` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRingProvider` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKeyRingProvider { Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRing GetCurrentKeyRing(); @@ -407,7 +407,7 @@ namespace Microsoft } namespace Repositories { - // Generated from `Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileSystemXmlRepository : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository { public static System.IO.DirectoryInfo DefaultKeyStorageDirectory { get => throw null; } @@ -417,14 +417,14 @@ namespace Microsoft public virtual void StoreElement(System.Xml.Linq.XElement element, string friendlyName) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IXmlRepository { System.Collections.Generic.IReadOnlyCollection GetAllElements(); void StoreElement(System.Xml.Linq.XElement element, string friendlyName); } - // Generated from `Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RegistryXmlRepository : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository { public static Microsoft.Win32.RegistryKey DefaultRegistryKey { get => throw null; } @@ -437,14 +437,14 @@ namespace Microsoft } namespace XmlEncryption { - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.CertificateResolver` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.CertificateResolver` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CertificateResolver : Microsoft.AspNetCore.DataProtection.XmlEncryption.ICertificateResolver { public CertificateResolver() => throw null; public virtual System.Security.Cryptography.X509Certificates.X509Certificate2 ResolveCertificate(string thumbprint) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.CertificateXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.CertificateXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CertificateXmlEncryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor { public CertificateXmlEncryptor(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; @@ -452,7 +452,7 @@ namespace Microsoft public Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo Encrypt(System.Xml.Linq.XElement plaintextElement) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum DpapiNGProtectionDescriptorFlags : int { @@ -461,7 +461,7 @@ namespace Microsoft None = 0, } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DpapiNGXmlDecryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor { public System.Xml.Linq.XElement Decrypt(System.Xml.Linq.XElement encryptedElement) => throw null; @@ -469,14 +469,14 @@ namespace Microsoft public DpapiNGXmlDecryptor(System.IServiceProvider services) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DpapiNGXmlEncryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor { public DpapiNGXmlEncryptor(string protectionDescriptorRule, Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags flags, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo Encrypt(System.Xml.Linq.XElement plaintextElement) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DpapiXmlDecryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor { public System.Xml.Linq.XElement Decrypt(System.Xml.Linq.XElement encryptedElement) => throw null; @@ -484,14 +484,14 @@ namespace Microsoft public DpapiXmlDecryptor(System.IServiceProvider services) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DpapiXmlEncryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor { public DpapiXmlEncryptor(bool protectToLocalMachine, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo Encrypt(System.Xml.Linq.XElement plaintextElement) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EncryptedXmlDecryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor { public System.Xml.Linq.XElement Decrypt(System.Xml.Linq.XElement encryptedElement) => throw null; @@ -499,7 +499,7 @@ namespace Microsoft public EncryptedXmlDecryptor(System.IServiceProvider services) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EncryptedXmlInfo { public System.Type DecryptorType { get => throw null; } @@ -507,42 +507,42 @@ namespace Microsoft public EncryptedXmlInfo(System.Xml.Linq.XElement encryptedElement, System.Type decryptorType) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.ICertificateResolver` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.ICertificateResolver` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICertificateResolver { System.Security.Cryptography.X509Certificates.X509Certificate2 ResolveCertificate(string thumbprint); } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.IInternalCertificateXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.IInternalCertificateXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IInternalCertificateXmlEncryptor { } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.IInternalEncryptedXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.IInternalEncryptedXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IInternalEncryptedXmlDecryptor { } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IXmlDecryptor { System.Xml.Linq.XElement Decrypt(System.Xml.Linq.XElement encryptedElement); } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IXmlEncryptor { Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo Encrypt(System.Xml.Linq.XElement plaintextElement); } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.NullXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.NullXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullXmlDecryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor { public System.Xml.Linq.XElement Decrypt(System.Xml.Linq.XElement encryptedElement) => throw null; public NullXmlDecryptor() => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.NullXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.NullXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullXmlEncryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor { public Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo Encrypt(System.Xml.Linq.XElement plaintextElement) => throw null; @@ -557,7 +557,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.DataProtectionServiceCollectionExtensions` in `Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.DataProtectionServiceCollectionExtensions` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DataProtectionServiceCollectionExtensions { public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder AddDataProtection(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.Abstractions.cs index 2d7acb4a851..58c3fa0d407 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.Abstractions.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Diagnostics { - // Generated from `Microsoft.AspNetCore.Diagnostics.CompilationFailure` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.CompilationFailure` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompilationFailure { public CompilationFailure(string sourceFilePath, string sourceFileContent, string compiledContent, System.Collections.Generic.IEnumerable messages) => throw null; @@ -18,7 +18,7 @@ namespace Microsoft public string SourceFilePath { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.DiagnosticMessage` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.DiagnosticMessage` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DiagnosticMessage { public DiagnosticMessage(string message, string formattedMessage, string filePath, int startLine, int startColumn, int endLine, int endColumn) => throw null; @@ -31,7 +31,7 @@ namespace Microsoft public int StartLine { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.ErrorContext` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.ErrorContext` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ErrorContext { public ErrorContext(Microsoft.AspNetCore.Http.HttpContext httpContext, System.Exception exception) => throw null; @@ -39,19 +39,19 @@ namespace Microsoft public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.ICompilationException` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.ICompilationException` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICompilationException { System.Collections.Generic.IEnumerable CompilationFailures { get; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.IDeveloperPageExceptionFilter` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.IDeveloperPageExceptionFilter` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDeveloperPageExceptionFilter { System.Threading.Tasks.Task HandleExceptionAsync(Microsoft.AspNetCore.Diagnostics.ErrorContext errorContext, System.Func next); } - // Generated from `Microsoft.AspNetCore.Diagnostics.IExceptionHandlerFeature` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.IExceptionHandlerFeature` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IExceptionHandlerFeature { Microsoft.AspNetCore.Http.Endpoint Endpoint { get => throw null; } @@ -60,24 +60,26 @@ namespace Microsoft Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.IExceptionHandlerPathFeature` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.IExceptionHandlerPathFeature` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IExceptionHandlerPathFeature : Microsoft.AspNetCore.Diagnostics.IExceptionHandlerFeature { string Path { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.IStatusCodePagesFeature` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.IStatusCodePagesFeature` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStatusCodePagesFeature { bool Enabled { get; set; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.IStatusCodeReExecuteFeature` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.IStatusCodeReExecuteFeature` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStatusCodeReExecuteFeature { + Microsoft.AspNetCore.Http.Endpoint Endpoint { get => throw null; } string OriginalPath { get; set; } string OriginalPathBase { get; set; } string OriginalQueryString { get; set; } + Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; } } } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.HealthChecks.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.HealthChecks.cs index 9845836f809..1fc719d5450 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.HealthChecks.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.HealthChecks.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.HealthCheckApplicationBuilderExtensions` in `Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.HealthCheckApplicationBuilderExtensions` in `Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HealthCheckApplicationBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHealthChecks(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.PathString path) => throw null; @@ -17,7 +17,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHealthChecks(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.PathString path, string port, Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HealthCheckEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.HealthCheckEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HealthCheckEndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapHealthChecks(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern) => throw null; @@ -29,14 +29,14 @@ namespace Microsoft { namespace HealthChecks { - // Generated from `Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckMiddleware` in `Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckMiddleware` in `Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthCheckMiddleware { public HealthCheckMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions healthCheckOptions, Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckService healthCheckService) => throw null; public System.Threading.Tasks.Task InvokeAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckOptions` in `Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckOptions` in `Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthCheckOptions { public bool AllowCachingResponses { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.cs index d06344f10dd..940974144ba 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.cs @@ -6,14 +6,14 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.DeveloperExceptionPageExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.DeveloperExceptionPageExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DeveloperExceptionPageExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDeveloperExceptionPage(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDeveloperExceptionPage(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DeveloperExceptionPageOptions { public DeveloperExceptionPageOptions() => throw null; @@ -21,7 +21,7 @@ namespace Microsoft public int SourceCodeLineCount { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.ExceptionHandlerExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ExceptionHandlerExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ExceptionHandlerExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseExceptionHandler(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -30,7 +30,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseExceptionHandler(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string errorHandlingPath) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ExceptionHandlerOptions` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ExceptionHandlerOptions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExceptionHandlerOptions { public bool AllowStatusCode404Response { get => throw null; set => throw null; } @@ -39,7 +39,7 @@ namespace Microsoft public Microsoft.AspNetCore.Http.PathString ExceptionHandlingPath { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.StatusCodePagesExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.StatusCodePagesExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StatusCodePagesExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseStatusCodePages(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -51,14 +51,14 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseStatusCodePagesWithRedirects(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string locationFormat) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.StatusCodePagesOptions` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.StatusCodePagesOptions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StatusCodePagesOptions { public System.Func HandleAsync { get => throw null; set => throw null; } public StatusCodePagesOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.WelcomePageExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.WelcomePageExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WelcomePageExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWelcomePage(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -67,7 +67,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWelcomePage(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string path) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.WelcomePageOptions` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.WelcomePageOptions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WelcomePageOptions { public Microsoft.AspNetCore.Http.PathString Path { get => throw null; set => throw null; } @@ -77,14 +77,14 @@ namespace Microsoft } namespace Diagnostics { - // Generated from `Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DeveloperExceptionPageMiddleware { public DeveloperExceptionPageMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment, System.Diagnostics.DiagnosticSource diagnosticSource, System.Collections.Generic.IEnumerable filters) => throw null; public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.ExceptionHandlerFeature` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.ExceptionHandlerFeature` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExceptionHandlerFeature : Microsoft.AspNetCore.Diagnostics.IExceptionHandlerFeature, Microsoft.AspNetCore.Diagnostics.IExceptionHandlerPathFeature { public Microsoft.AspNetCore.Http.Endpoint Endpoint { get => throw null; set => throw null; } @@ -94,14 +94,14 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExceptionHandlerMiddleware { public ExceptionHandlerMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions options, System.Diagnostics.DiagnosticListener diagnosticListener) => throw null; public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.StatusCodeContext` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.StatusCodeContext` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StatusCodeContext { public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; } @@ -110,30 +110,32 @@ namespace Microsoft public StatusCodeContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.StatusCodePagesOptions options, Microsoft.AspNetCore.Http.RequestDelegate next) => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.StatusCodePagesFeature` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.StatusCodePagesFeature` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StatusCodePagesFeature : Microsoft.AspNetCore.Diagnostics.IStatusCodePagesFeature { public bool Enabled { get => throw null; set => throw null; } public StatusCodePagesFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StatusCodePagesMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public StatusCodePagesMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.StatusCodeReExecuteFeature` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.StatusCodeReExecuteFeature` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StatusCodeReExecuteFeature : Microsoft.AspNetCore.Diagnostics.IStatusCodeReExecuteFeature { + public Microsoft.AspNetCore.Http.Endpoint Endpoint { get => throw null; set => throw null; } public string OriginalPath { get => throw null; set => throw null; } public string OriginalPathBase { get => throw null; set => throw null; } public string OriginalQueryString { get => throw null; set => throw null; } + public Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; set => throw null; } public StatusCodeReExecuteFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.WelcomePageMiddleware` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Diagnostics.WelcomePageMiddleware` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WelcomePageMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -146,7 +148,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ExceptionHandlerServiceCollectionExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ExceptionHandlerServiceCollectionExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ExceptionHandlerServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddExceptionHandler(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HostFiltering.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HostFiltering.cs index 72b7c96346f..a1db363f020 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HostFiltering.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HostFiltering.cs @@ -6,13 +6,13 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.HostFilteringBuilderExtensions` in `Microsoft.AspNetCore.HostFiltering, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.HostFilteringBuilderExtensions` in `Microsoft.AspNetCore.HostFiltering, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostFilteringBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHostFiltering(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HostFilteringServicesExtensions` in `Microsoft.AspNetCore.HostFiltering, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.HostFilteringServicesExtensions` in `Microsoft.AspNetCore.HostFiltering, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostFilteringServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHostFiltering(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; @@ -21,14 +21,14 @@ namespace Microsoft } namespace HostFiltering { - // Generated from `Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware` in `Microsoft.AspNetCore.HostFiltering, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware` in `Microsoft.AspNetCore.HostFiltering, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostFilteringMiddleware { public HostFilteringMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Options.IOptionsMonitor optionsMonitor) => throw null; public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.HostFiltering.HostFilteringOptions` in `Microsoft.AspNetCore.HostFiltering, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HostFiltering.HostFilteringOptions` in `Microsoft.AspNetCore.HostFiltering, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostFilteringOptions { public bool AllowEmptyHosts { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Abstractions.cs index 0080e0b8d85..df271a655ba 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Abstractions.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.EnvironmentName` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.EnvironmentName` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EnvironmentName { public static string Development; @@ -14,7 +14,7 @@ namespace Microsoft public static string Staging; } - // Generated from `Microsoft.AspNetCore.Hosting.HostingAbstractionsWebHostBuilderExtensions` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.HostingAbstractionsWebHostBuilderExtensions` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostingAbstractionsWebHostBuilderExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder CaptureStartupErrors(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, bool captureStartupErrors) => throw null; @@ -31,7 +31,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseWebRoot(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, string webRoot) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.HostingEnvironmentExtensions` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.HostingEnvironmentExtensions` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class HostingEnvironmentExtensions { public static bool IsDevelopment(this Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment) => throw null; @@ -40,14 +40,14 @@ namespace Microsoft public static bool IsStaging(this Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.HostingStartupAttribute` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.HostingStartupAttribute` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostingStartupAttribute : System.Attribute { public HostingStartupAttribute(System.Type hostingStartupType) => throw null; public System.Type HostingStartupType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Hosting.IApplicationLifetime` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.IApplicationLifetime` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationLifetime { System.Threading.CancellationToken ApplicationStarted { get; } @@ -56,7 +56,7 @@ namespace Microsoft void StopApplication(); } - // Generated from `Microsoft.AspNetCore.Hosting.IHostingEnvironment` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.IHostingEnvironment` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostingEnvironment { string ApplicationName { get; set; } @@ -67,38 +67,38 @@ namespace Microsoft string WebRootPath { get; set; } } - // Generated from `Microsoft.AspNetCore.Hosting.IHostingStartup` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.IHostingStartup` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostingStartup { void Configure(Microsoft.AspNetCore.Hosting.IWebHostBuilder builder); } - // Generated from `Microsoft.AspNetCore.Hosting.IStartup` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.IStartup` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStartup { void Configure(Microsoft.AspNetCore.Builder.IApplicationBuilder app); System.IServiceProvider ConfigureServices(Microsoft.Extensions.DependencyInjection.IServiceCollection services); } - // Generated from `Microsoft.AspNetCore.Hosting.IStartupConfigureContainerFilter<>` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.IStartupConfigureContainerFilter<>` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStartupConfigureContainerFilter { System.Action ConfigureContainer(System.Action container); } - // Generated from `Microsoft.AspNetCore.Hosting.IStartupConfigureServicesFilter` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.IStartupConfigureServicesFilter` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStartupConfigureServicesFilter { System.Action ConfigureServices(System.Action next); } - // Generated from `Microsoft.AspNetCore.Hosting.IStartupFilter` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.IStartupFilter` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStartupFilter { System.Action Configure(System.Action next); } - // Generated from `Microsoft.AspNetCore.Hosting.IWebHost` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.IWebHost` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IWebHost : System.IDisposable { Microsoft.AspNetCore.Http.Features.IFeatureCollection ServerFeatures { get; } @@ -108,7 +108,7 @@ namespace Microsoft System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Hosting.IWebHostBuilder` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.IWebHostBuilder` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IWebHostBuilder { Microsoft.AspNetCore.Hosting.IWebHost Build(); @@ -119,14 +119,14 @@ namespace Microsoft Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSetting(string key, string value); } - // Generated from `Microsoft.AspNetCore.Hosting.IWebHostEnvironment` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.IWebHostEnvironment` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IWebHostEnvironment : Microsoft.Extensions.Hosting.IHostEnvironment { Microsoft.Extensions.FileProviders.IFileProvider WebRootFileProvider { get; set; } string WebRootPath { get; set; } } - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderContext` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderContext` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebHostBuilderContext { public Microsoft.Extensions.Configuration.IConfiguration Configuration { get => throw null; set => throw null; } @@ -134,7 +134,7 @@ namespace Microsoft public WebHostBuilderContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.WebHostDefaults` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.WebHostDefaults` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostDefaults { public static string ApplicationKey; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Server.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Server.Abstractions.cs index 9c74a9e64af..6bd1c127ed9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Server.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Server.Abstractions.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Server { - // Generated from `Microsoft.AspNetCore.Hosting.Server.IHttpApplication<>` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.Server.IHttpApplication<>` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpApplication { TContext CreateContext(Microsoft.AspNetCore.Http.Features.IFeatureCollection contextFeatures); @@ -16,7 +16,7 @@ namespace Microsoft System.Threading.Tasks.Task ProcessRequestAsync(TContext context); } - // Generated from `Microsoft.AspNetCore.Hosting.Server.IServer` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.Server.IServer` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServer : System.IDisposable { Microsoft.AspNetCore.Http.Features.IFeatureCollection Features { get; } @@ -24,14 +24,14 @@ namespace Microsoft System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Hosting.Server.IServerIntegratedAuth` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.Server.IServerIntegratedAuth` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServerIntegratedAuth { string AuthenticationScheme { get; } bool IsEnabled { get; } } - // Generated from `Microsoft.AspNetCore.Hosting.Server.ServerIntegratedAuth` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.Server.ServerIntegratedAuth` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServerIntegratedAuth : Microsoft.AspNetCore.Hosting.Server.IServerIntegratedAuth { public string AuthenticationScheme { get => throw null; set => throw null; } @@ -41,7 +41,7 @@ namespace Microsoft namespace Abstractions { - // Generated from `Microsoft.AspNetCore.Hosting.Server.Abstractions.IHostContextContainer<>` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.Server.Abstractions.IHostContextContainer<>` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostContextContainer { TContext HostContext { get; set; } @@ -50,7 +50,7 @@ namespace Microsoft } namespace Features { - // Generated from `Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServerAddressesFeature { System.Collections.Generic.ICollection Addresses { get; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.cs index e20d5d3885a..c9e19f97429 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.cs @@ -6,19 +6,19 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.DelegateStartup` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.DelegateStartup` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DelegateStartup : Microsoft.AspNetCore.Hosting.StartupBase { public override void Configure(Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; public DelegateStartup(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory factory, System.Action configureApp) : base(default(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory)) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.HostingEnvironmentExtensions` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.HostingEnvironmentExtensions` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class HostingEnvironmentExtensions { } - // Generated from `Microsoft.AspNetCore.Hosting.StartupBase` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.StartupBase` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class StartupBase : Microsoft.AspNetCore.Hosting.IStartup { public abstract void Configure(Microsoft.AspNetCore.Builder.IApplicationBuilder app); @@ -28,7 +28,7 @@ namespace Microsoft protected StartupBase() => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.StartupBase<>` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.StartupBase<>` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class StartupBase : Microsoft.AspNetCore.Hosting.StartupBase { public virtual void ConfigureContainer(TBuilder builder) => throw null; @@ -36,7 +36,7 @@ namespace Microsoft public StartupBase(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory factory) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilder` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilder` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebHostBuilder : Microsoft.AspNetCore.Hosting.IWebHostBuilder { public Microsoft.AspNetCore.Hosting.IWebHost Build() => throw null; @@ -48,7 +48,7 @@ namespace Microsoft public WebHostBuilder() => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostBuilderExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, System.Action configureApp) => throw null; @@ -64,7 +64,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseStaticWebAssets(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.WebHostExtensions` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.WebHostExtensions` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostExtensions { public static void Run(this Microsoft.AspNetCore.Hosting.IWebHost host) => throw null; @@ -76,14 +76,14 @@ namespace Microsoft namespace Builder { - // Generated from `Microsoft.AspNetCore.Hosting.Builder.ApplicationBuilderFactory` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.Builder.ApplicationBuilderFactory` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationBuilderFactory : Microsoft.AspNetCore.Hosting.Builder.IApplicationBuilderFactory { public ApplicationBuilderFactory(System.IServiceProvider serviceProvider) => throw null; public Microsoft.AspNetCore.Builder.IApplicationBuilder CreateBuilder(Microsoft.AspNetCore.Http.Features.IFeatureCollection serverFeatures) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.Builder.IApplicationBuilderFactory` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.Builder.IApplicationBuilderFactory` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationBuilderFactory { Microsoft.AspNetCore.Builder.IApplicationBuilder CreateBuilder(Microsoft.AspNetCore.Http.Features.IFeatureCollection serverFeatures); @@ -92,13 +92,13 @@ namespace Microsoft } namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsConfigureWebHost` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsConfigureWebHost` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISupportsConfigureWebHost { Microsoft.Extensions.Hosting.IHostBuilder ConfigureWebHost(System.Action configure, System.Action configureOptions); } - // Generated from `Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISupportsStartup { Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure(System.Action configure); @@ -112,7 +112,7 @@ namespace Microsoft { namespace Features { - // Generated from `Microsoft.AspNetCore.Hosting.Server.Features.ServerAddressesFeature` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.Server.Features.ServerAddressesFeature` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServerAddressesFeature : Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature { public System.Collections.Generic.ICollection Addresses { get => throw null; } @@ -124,7 +124,7 @@ namespace Microsoft } namespace StaticWebAssets { - // Generated from `Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StaticWebAssetsLoader { public StaticWebAssetsLoader() => throw null; @@ -135,7 +135,7 @@ namespace Microsoft } namespace Http { - // Generated from `Microsoft.AspNetCore.Http.DefaultHttpContextFactory` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.DefaultHttpContextFactory` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultHttpContextFactory : Microsoft.AspNetCore.Http.IHttpContextFactory { public Microsoft.AspNetCore.Http.HttpContext Create(Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection) => throw null; @@ -149,14 +149,14 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.Extensions.Hosting.GenericHostWebHostBuilderExtensions` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.GenericHostWebHostBuilderExtensions` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class GenericHostWebHostBuilderExtensions { public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureWebHost(this Microsoft.Extensions.Hosting.IHostBuilder builder, System.Action configure) => throw null; public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureWebHost(this Microsoft.Extensions.Hosting.IHostBuilder builder, System.Action configure, System.Action configureWebHostBuilder) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.WebHostBuilderOptions` in `Microsoft.AspNetCore.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.WebHostBuilderOptions` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebHostBuilderOptions { public bool SuppressEnvironmentConfiguration { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Html.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Html.Abstractions.cs index d86ae3897ef..048c543ee87 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Html.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Html.Abstractions.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Html { - // Generated from `Microsoft.AspNetCore.Html.HtmlContentBuilder` in `Microsoft.AspNetCore.Html.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Html.HtmlContentBuilder` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlContentBuilder : Microsoft.AspNetCore.Html.IHtmlContent, Microsoft.AspNetCore.Html.IHtmlContentBuilder, Microsoft.AspNetCore.Html.IHtmlContentContainer { public Microsoft.AspNetCore.Html.IHtmlContentBuilder Append(string unencoded) => throw null; @@ -22,7 +22,7 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Html.HtmlContentBuilderExtensions` in `Microsoft.AspNetCore.Html.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Html.HtmlContentBuilderExtensions` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlContentBuilderExtensions { public static Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendFormat(this Microsoft.AspNetCore.Html.IHtmlContentBuilder builder, System.IFormatProvider formatProvider, string format, params object[] args) => throw null; @@ -36,7 +36,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContentBuilder SetHtmlContent(this Microsoft.AspNetCore.Html.IHtmlContentBuilder builder, string encoded) => throw null; } - // Generated from `Microsoft.AspNetCore.Html.HtmlFormattableString` in `Microsoft.AspNetCore.Html.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Html.HtmlFormattableString` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlFormattableString : Microsoft.AspNetCore.Html.IHtmlContent { public HtmlFormattableString(System.IFormatProvider formatProvider, string format, params object[] args) => throw null; @@ -44,7 +44,7 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Html.HtmlString` in `Microsoft.AspNetCore.Html.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Html.HtmlString` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlString : Microsoft.AspNetCore.Html.IHtmlContent { public static Microsoft.AspNetCore.Html.HtmlString Empty; @@ -55,13 +55,13 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Html.IHtmlContent` in `Microsoft.AspNetCore.Html.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Html.IHtmlContent` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlContent { void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder); } - // Generated from `Microsoft.AspNetCore.Html.IHtmlContentBuilder` in `Microsoft.AspNetCore.Html.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Html.IHtmlContentBuilder` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlContentBuilder : Microsoft.AspNetCore.Html.IHtmlContent, Microsoft.AspNetCore.Html.IHtmlContentContainer { Microsoft.AspNetCore.Html.IHtmlContentBuilder Append(string unencoded); @@ -70,7 +70,7 @@ namespace Microsoft Microsoft.AspNetCore.Html.IHtmlContentBuilder Clear(); } - // Generated from `Microsoft.AspNetCore.Html.IHtmlContentContainer` in `Microsoft.AspNetCore.Html.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Html.IHtmlContentContainer` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlContentContainer : Microsoft.AspNetCore.Html.IHtmlContent { void CopyTo(Microsoft.AspNetCore.Html.IHtmlContentBuilder builder); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Abstractions.cs index 210f0425967..da14787d586 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Abstractions.cs @@ -6,17 +6,19 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.EndpointBuilder` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.EndpointBuilder` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class EndpointBuilder { + public System.IServiceProvider ApplicationServices { get => throw null; set => throw null; } public abstract Microsoft.AspNetCore.Http.Endpoint Build(); public string DisplayName { get => throw null; set => throw null; } protected EndpointBuilder() => throw null; + public System.Collections.Generic.IList> FilterFactories { get => throw null; } public System.Collections.Generic.IList Metadata { get => throw null; } public Microsoft.AspNetCore.Http.RequestDelegate RequestDelegate { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.IApplicationBuilder` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.IApplicationBuilder` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationBuilder { System.IServiceProvider ApplicationServices { get; set; } @@ -27,13 +29,14 @@ namespace Microsoft Microsoft.AspNetCore.Builder.IApplicationBuilder Use(System.Func middleware); } - // Generated from `Microsoft.AspNetCore.Builder.IEndpointConventionBuilder` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.IEndpointConventionBuilder` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointConventionBuilder { void Add(System.Action convention); + void Finally(System.Action finallyConvention) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.MapExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.MapExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MapExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder Map(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.PathString pathMatch, System.Action configuration) => throw null; @@ -41,39 +44,39 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder Map(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string pathMatch, System.Action configuration) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.MapWhenExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.MapWhenExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MapWhenExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder MapWhen(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, System.Func predicate, System.Action configuration) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RunExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.RunExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RunExtensions { public static void Run(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.RequestDelegate handler) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.UseExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.UseExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UseExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder Use(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, System.Func, System.Threading.Tasks.Task> middleware) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder Use(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, System.Func middleware) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.UseMiddlewareExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.UseMiddlewareExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UseMiddlewareExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMiddleware(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, System.Type middleware, params object[] args) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMiddleware(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, params object[] args) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.UsePathBaseExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.UsePathBaseExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UsePathBaseExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UsePathBase(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.PathString pathBase) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.UseWhenExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.UseWhenExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UseWhenExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWhen(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, System.Func predicate, System.Action configuration) => throw null; @@ -81,14 +84,14 @@ namespace Microsoft namespace Extensions { - // Generated from `Microsoft.AspNetCore.Builder.Extensions.MapMiddleware` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.Extensions.MapMiddleware` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MapMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public MapMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Builder.Extensions.MapOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.Extensions.MapOptions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.Extensions.MapOptions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MapOptions { public Microsoft.AspNetCore.Http.RequestDelegate Branch { get => throw null; set => throw null; } @@ -97,14 +100,14 @@ namespace Microsoft public bool PreserveMatchedPathSegment { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MapWhenMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public MapWhenMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Builder.Extensions.MapWhenOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.Extensions.MapWhenOptions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.Extensions.MapWhenOptions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MapWhenOptions { public Microsoft.AspNetCore.Http.RequestDelegate Branch { get => throw null; set => throw null; } @@ -112,7 +115,7 @@ namespace Microsoft public System.Func Predicate { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UsePathBaseMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -125,7 +128,7 @@ namespace Microsoft { namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICorsMetadata { } @@ -134,7 +137,13 @@ namespace Microsoft } namespace Http { - // Generated from `Microsoft.AspNetCore.Http.BadHttpRequestException` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.AsParametersAttribute` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class AsParametersAttribute : System.Attribute + { + public AsParametersAttribute() => throw null; + } + + // Generated from `Microsoft.AspNetCore.Http.BadHttpRequestException` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BadHttpRequestException : System.IO.IOException { public BadHttpRequestException(string message) => throw null; @@ -144,7 +153,7 @@ namespace Microsoft public int StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.ConnectionInfo` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.ConnectionInfo` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ConnectionInfo { public abstract System.Security.Cryptography.X509Certificates.X509Certificate2 ClientCertificate { get; set; } @@ -158,7 +167,7 @@ namespace Microsoft public virtual void RequestClose() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.CookieBuilder` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.CookieBuilder` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieBuilder { public Microsoft.AspNetCore.Http.CookieOptions Build(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -166,6 +175,7 @@ namespace Microsoft public CookieBuilder() => throw null; public virtual string Domain { get => throw null; set => throw null; } public virtual System.TimeSpan? Expiration { get => throw null; set => throw null; } + public System.Collections.Generic.IList Extensions { get => throw null; } public virtual bool HttpOnly { get => throw null; set => throw null; } public virtual bool IsEssential { get => throw null; set => throw null; } public virtual System.TimeSpan? MaxAge { get => throw null; set => throw null; } @@ -175,7 +185,7 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Http.CookieSecurePolicy SecurePolicy { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.CookieSecurePolicy` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.CookieSecurePolicy` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum CookieSecurePolicy : int { Always = 1, @@ -183,7 +193,16 @@ namespace Microsoft SameAsRequest = 0, } - // Generated from `Microsoft.AspNetCore.Http.Endpoint` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.DefaultEndpointFilterInvocationContext` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class DefaultEndpointFilterInvocationContext : Microsoft.AspNetCore.Http.EndpointFilterInvocationContext + { + public override System.Collections.Generic.IList Arguments { get => throw null; } + public DefaultEndpointFilterInvocationContext(Microsoft.AspNetCore.Http.HttpContext httpContext, params object[] arguments) => throw null; + public override T GetArgument(int index) => throw null; + public override Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.Endpoint` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Endpoint { public string DisplayName { get => throw null; } @@ -193,17 +212,37 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.EndpointHttpContextExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.EndpointFilterDelegate` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public delegate System.Threading.Tasks.ValueTask EndpointFilterDelegate(Microsoft.AspNetCore.Http.EndpointFilterInvocationContext context); + + // Generated from `Microsoft.AspNetCore.Http.EndpointFilterFactoryContext` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class EndpointFilterFactoryContext + { + public System.IServiceProvider ApplicationServices { get => throw null; set => throw null; } + public EndpointFilterFactoryContext() => throw null; + public System.Reflection.MethodInfo MethodInfo { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.EndpointFilterInvocationContext` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public abstract class EndpointFilterInvocationContext + { + public abstract System.Collections.Generic.IList Arguments { get; } + protected EndpointFilterInvocationContext() => throw null; + public abstract T GetArgument(int index); + public abstract Microsoft.AspNetCore.Http.HttpContext HttpContext { get; } + } + + // Generated from `Microsoft.AspNetCore.Http.EndpointHttpContextExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EndpointHttpContextExtensions { public static Microsoft.AspNetCore.Http.Endpoint GetEndpoint(this Microsoft.AspNetCore.Http.HttpContext context) => throw null; public static void SetEndpoint(this Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.Endpoint endpoint) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.EndpointMetadataCollection` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.EndpointMetadataCollection` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointMetadataCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Http.EndpointMetadataCollection+Enumerator` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.EndpointMetadataCollection+Enumerator` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public object Current { get => throw null; } @@ -223,10 +262,11 @@ namespace Microsoft System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; public T GetMetadata() where T : class => throw null; public System.Collections.Generic.IReadOnlyList GetOrderedMetadata() where T : class => throw null; + public T GetRequiredMetadata() where T : class => throw null; public object this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.FragmentString` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.FragmentString` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FragmentString : System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Http.FragmentString left, Microsoft.AspNetCore.Http.FragmentString right) => throw null; @@ -245,7 +285,7 @@ namespace Microsoft public string Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HeaderDictionaryExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HeaderDictionaryExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HeaderDictionaryExtensions { public static void Append(this Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key, Microsoft.Extensions.Primitives.StringValues value) => throw null; @@ -254,7 +294,7 @@ namespace Microsoft public static void SetCommaSeparatedValues(this Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key, params string[] values) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HostString` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HostString` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct HostString : System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Http.HostString left, Microsoft.AspNetCore.Http.HostString right) => throw null; @@ -276,7 +316,7 @@ namespace Microsoft public string Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpContext` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HttpContext` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HttpContext { public abstract void Abort(); @@ -294,7 +334,7 @@ namespace Microsoft public abstract Microsoft.AspNetCore.Http.WebSocketManager WebSockets { get; } } - // Generated from `Microsoft.AspNetCore.Http.HttpMethods` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HttpMethods` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpMethods { public static string Connect; @@ -319,7 +359,7 @@ namespace Microsoft public static string Trace; } - // Generated from `Microsoft.AspNetCore.Http.HttpProtocol` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HttpProtocol` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpProtocol { public static string GetHttpProtocol(System.Version version) => throw null; @@ -335,7 +375,7 @@ namespace Microsoft public static bool IsHttp3(string protocol) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpRequest` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HttpRequest` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HttpRequest { public abstract System.IO.Stream Body { get; set; } @@ -361,7 +401,7 @@ namespace Microsoft public abstract string Scheme { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResponse` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HttpResponse` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HttpResponse { public abstract System.IO.Stream Body { get; set; } @@ -386,46 +426,116 @@ namespace Microsoft public abstract int StatusCode { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResponseWritingExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HttpResponseWritingExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpResponseWritingExtensions { public static System.Threading.Tasks.Task WriteAsync(this Microsoft.AspNetCore.Http.HttpResponse response, string text, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task WriteAsync(this Microsoft.AspNetCore.Http.HttpResponse response, string text, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.IHttpContextAccessor` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HttpValidationProblemDetails` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class HttpValidationProblemDetails : Microsoft.AspNetCore.Mvc.ProblemDetails + { + public System.Collections.Generic.IDictionary Errors { get => throw null; } + public HttpValidationProblemDetails() => throw null; + public HttpValidationProblemDetails(System.Collections.Generic.IDictionary errors) => throw null; + } + + // Generated from `Microsoft.AspNetCore.Http.IBindableFromHttpContext<>` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IBindableFromHttpContext where TSelf : class, Microsoft.AspNetCore.Http.IBindableFromHttpContext + { + static abstract System.Threading.Tasks.ValueTask BindAsync(Microsoft.AspNetCore.Http.HttpContext context, System.Reflection.ParameterInfo parameter); + } + + // Generated from `Microsoft.AspNetCore.Http.IContentTypeHttpResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IContentTypeHttpResult + { + string ContentType { get; } + } + + // Generated from `Microsoft.AspNetCore.Http.IEndpointFilter` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IEndpointFilter + { + System.Threading.Tasks.ValueTask InvokeAsync(Microsoft.AspNetCore.Http.EndpointFilterInvocationContext context, Microsoft.AspNetCore.Http.EndpointFilterDelegate next); + } + + // Generated from `Microsoft.AspNetCore.Http.IFileHttpResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IFileHttpResult + { + string ContentType { get; } + string FileDownloadName { get; } + } + + // Generated from `Microsoft.AspNetCore.Http.IHttpContextAccessor` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpContextAccessor { Microsoft.AspNetCore.Http.HttpContext HttpContext { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.IHttpContextFactory` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.IHttpContextFactory` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpContextFactory { Microsoft.AspNetCore.Http.HttpContext Create(Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection); void Dispose(Microsoft.AspNetCore.Http.HttpContext httpContext); } - // Generated from `Microsoft.AspNetCore.Http.IMiddleware` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.IMiddleware` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMiddleware { System.Threading.Tasks.Task InvokeAsync(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.RequestDelegate next); } - // Generated from `Microsoft.AspNetCore.Http.IMiddlewareFactory` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.IMiddlewareFactory` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMiddlewareFactory { Microsoft.AspNetCore.Http.IMiddleware Create(System.Type middlewareType); void Release(Microsoft.AspNetCore.Http.IMiddleware middleware); } - // Generated from `Microsoft.AspNetCore.Http.IResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.INestedHttpResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface INestedHttpResult + { + Microsoft.AspNetCore.Http.IResult Result { get; } + } + + // Generated from `Microsoft.AspNetCore.Http.IProblemDetailsService` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IProblemDetailsService + { + System.Threading.Tasks.ValueTask WriteAsync(Microsoft.AspNetCore.Http.ProblemDetailsContext context); + } + + // Generated from `Microsoft.AspNetCore.Http.IProblemDetailsWriter` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IProblemDetailsWriter + { + bool CanWrite(Microsoft.AspNetCore.Http.ProblemDetailsContext context); + System.Threading.Tasks.ValueTask WriteAsync(Microsoft.AspNetCore.Http.ProblemDetailsContext context); + } + + // Generated from `Microsoft.AspNetCore.Http.IResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResult { System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext); } - // Generated from `Microsoft.AspNetCore.Http.PathString` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.IStatusCodeHttpResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IStatusCodeHttpResult + { + int? StatusCode { get; } + } + + // Generated from `Microsoft.AspNetCore.Http.IValueHttpResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IValueHttpResult + { + object Value { get; } + } + + // Generated from `Microsoft.AspNetCore.Http.IValueHttpResult<>` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IValueHttpResult + { + TValue Value { get; } + } + + // Generated from `Microsoft.AspNetCore.Http.PathString` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PathString : System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Http.PathString left, Microsoft.AspNetCore.Http.PathString right) => throw null; @@ -459,7 +569,16 @@ namespace Microsoft public static implicit operator Microsoft.AspNetCore.Http.PathString(string s) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.QueryString` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.ProblemDetailsContext` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class ProblemDetailsContext + { + public Microsoft.AspNetCore.Http.EndpointMetadataCollection AdditionalMetadata { get => throw null; set => throw null; } + public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; set => throw null; } + public Microsoft.AspNetCore.Mvc.ProblemDetails ProblemDetails { get => throw null; set => throw null; } + public ProblemDetailsContext() => throw null; + } + + // Generated from `Microsoft.AspNetCore.Http.QueryString` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct QueryString : System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Http.QueryString left, Microsoft.AspNetCore.Http.QueryString right) => throw null; @@ -484,10 +603,10 @@ namespace Microsoft public string Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.RequestDelegate` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.RequestDelegate` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task RequestDelegate(Microsoft.AspNetCore.Http.HttpContext context); - // Generated from `Microsoft.AspNetCore.Http.RequestDelegateResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.RequestDelegateResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestDelegateResult { public System.Collections.Generic.IReadOnlyList EndpointMetadata { get => throw null; } @@ -495,7 +614,7 @@ namespace Microsoft public RequestDelegateResult(Microsoft.AspNetCore.Http.RequestDelegate requestDelegate, System.Collections.Generic.IReadOnlyList metadata) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.RequestTrailerExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.RequestTrailerExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestTrailerExtensions { public static bool CheckTrailersAvailable(this Microsoft.AspNetCore.Http.HttpRequest request) => throw null; @@ -504,7 +623,7 @@ namespace Microsoft public static bool SupportsTrailers(this Microsoft.AspNetCore.Http.HttpRequest request) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.ResponseTrailerExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.ResponseTrailerExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ResponseTrailerExtensions { public static void AppendTrailer(this Microsoft.AspNetCore.Http.HttpResponse response, string trailerName, Microsoft.Extensions.Primitives.StringValues trailerValues) => throw null; @@ -512,7 +631,7 @@ namespace Microsoft public static bool SupportsTrailers(this Microsoft.AspNetCore.Http.HttpResponse response) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.StatusCodes` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.StatusCodes` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StatusCodes { public const int Status100Continue = default; @@ -582,7 +701,7 @@ namespace Microsoft public const int Status511NetworkAuthenticationRequired = default; } - // Generated from `Microsoft.AspNetCore.Http.WebSocketManager` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.WebSocketManager` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class WebSocketManager { public virtual System.Threading.Tasks.Task AcceptWebSocketAsync() => throw null; @@ -595,13 +714,13 @@ namespace Microsoft namespace Features { - // Generated from `Microsoft.AspNetCore.Http.Features.IEndpointFeature` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IEndpointFeature` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointFeature { Microsoft.AspNetCore.Http.Endpoint Endpoint { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IRouteValuesFeature` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IRouteValuesFeature` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteValuesFeature { Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get; set; } @@ -610,7 +729,7 @@ namespace Microsoft } namespace Metadata { - // Generated from `Microsoft.AspNetCore.Http.Metadata.IAcceptsMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Metadata.IAcceptsMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAcceptsMetadata { System.Collections.Generic.IReadOnlyList ContentTypes { get; } @@ -618,36 +737,66 @@ namespace Microsoft System.Type RequestType { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromBodyMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Metadata.IEndpointDescriptionMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IEndpointDescriptionMetadata + { + string Description { get; } + } + + // Generated from `Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IEndpointMetadataProvider + { + static abstract void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder); + } + + // Generated from `Microsoft.AspNetCore.Http.Metadata.IEndpointParameterMetadataProvider` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IEndpointParameterMetadataProvider + { + static abstract void PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder); + } + + // Generated from `Microsoft.AspNetCore.Http.Metadata.IEndpointSummaryMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IEndpointSummaryMetadata + { + string Summary { get; } + } + + // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromBodyMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFromBodyMetadata { bool AllowEmpty { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromHeaderMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromFormMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IFromFormMetadata + { + string Name { get; } + } + + // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromHeaderMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFromHeaderMetadata { string Name { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromQueryMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromQueryMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFromQueryMetadata { string Name { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromRouteMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromRouteMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFromRouteMetadata { string Name { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromServiceMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromServiceMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFromServiceMetadata { } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IProducesResponseTypeMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Metadata.IProducesResponseTypeMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IProducesResponseTypeMetadata { System.Collections.Generic.IEnumerable ContentTypes { get; } @@ -655,7 +804,18 @@ namespace Microsoft System.Type Type { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.ITagsMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Metadata.IRequestSizeLimitMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IRequestSizeLimitMetadata + { + System.Int64? MaxRequestBodySize { get; } + } + + // Generated from `Microsoft.AspNetCore.Http.Metadata.ISkipStatusCodePagesMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface ISkipStatusCodePagesMetadata + { + } + + // Generated from `Microsoft.AspNetCore.Http.Metadata.ITagsMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagsMetadata { System.Collections.Generic.IReadOnlyList Tags { get; } @@ -663,12 +823,27 @@ namespace Microsoft } } + namespace Mvc + { + // Generated from `Microsoft.AspNetCore.Mvc.ProblemDetails` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class ProblemDetails + { + public string Detail { get => throw null; set => throw null; } + public System.Collections.Generic.IDictionary Extensions { get => throw null; } + public string Instance { get => throw null; set => throw null; } + public ProblemDetails() => throw null; + public int? Status { get => throw null; set => throw null; } + public string Title { get => throw null; set => throw null; } + public string Type { get => throw null; set => throw null; } + } + + } namespace Routing { - // Generated from `Microsoft.AspNetCore.Routing.RouteValueDictionary` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteValueDictionary` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteValueDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Routing.RouteValueDictionary+Enumerator` in `Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteValueDictionary+Enumerator` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -701,6 +876,9 @@ namespace Microsoft public bool Remove(string key) => throw null; public bool Remove(string key, out object value) => throw null; public RouteValueDictionary() => throw null; + public RouteValueDictionary(System.Collections.Generic.IEnumerable> values) => throw null; + public RouteValueDictionary(System.Collections.Generic.IEnumerable> values) => throw null; + public RouteValueDictionary(Microsoft.AspNetCore.Routing.RouteValueDictionary dictionary) => throw null; public RouteValueDictionary(object values) => throw null; public bool TryAdd(string key, object value) => throw null; public bool TryGetValue(string key, out object value) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.Common.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.Common.cs index cf8a1c6d7e6..583299c4320 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.Common.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.Common.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Connections { - // Generated from `Microsoft.AspNetCore.Http.Connections.AvailableTransport` in `Microsoft.AspNetCore.Http.Connections.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.AvailableTransport` in `Microsoft.AspNetCore.Http.Connections.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AvailableTransport { public AvailableTransport() => throw null; @@ -16,7 +16,7 @@ namespace Microsoft public string Transport { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Connections.HttpTransportType` in `Microsoft.AspNetCore.Http.Connections.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.HttpTransportType` in `Microsoft.AspNetCore.Http.Connections.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum HttpTransportType : int { @@ -26,20 +26,20 @@ namespace Microsoft WebSockets = 1, } - // Generated from `Microsoft.AspNetCore.Http.Connections.HttpTransports` in `Microsoft.AspNetCore.Http.Connections.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.HttpTransports` in `Microsoft.AspNetCore.Http.Connections.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpTransports { public static Microsoft.AspNetCore.Http.Connections.HttpTransportType All; } - // Generated from `Microsoft.AspNetCore.Http.Connections.NegotiateProtocol` in `Microsoft.AspNetCore.Http.Connections.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.NegotiateProtocol` in `Microsoft.AspNetCore.Http.Connections.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class NegotiateProtocol { public static Microsoft.AspNetCore.Http.Connections.NegotiationResponse ParseResponse(System.ReadOnlySpan content) => throw null; public static void WriteResponse(Microsoft.AspNetCore.Http.Connections.NegotiationResponse response, System.Buffers.IBufferWriter output) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Connections.NegotiationResponse` in `Microsoft.AspNetCore.Http.Connections.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.NegotiationResponse` in `Microsoft.AspNetCore.Http.Connections.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NegotiationResponse { public string AccessToken { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.cs index cf4302ce5eb..059aa3956b8 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.cs @@ -6,13 +6,14 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilder` in `Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilder` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionEndpointRouteBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { public void Add(System.Action convention) => throw null; + public void Finally(System.Action finalConvention) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConnectionEndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilder MapConnectionHandler(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern) where TConnectionHandler : Microsoft.AspNetCore.Connections.ConnectionHandler => throw null; @@ -26,14 +27,14 @@ namespace Microsoft { namespace Connections { - // Generated from `Microsoft.AspNetCore.Http.Connections.ConnectionOptions` in `Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.ConnectionOptions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionOptions { public ConnectionOptions() => throw null; public System.TimeSpan? DisconnectTimeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Connections.ConnectionOptionsSetup` in `Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.ConnectionOptionsSetup` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions { public void Configure(Microsoft.AspNetCore.Http.Connections.ConnectionOptions options) => throw null; @@ -41,13 +42,13 @@ namespace Microsoft public static System.TimeSpan DefaultDisconectTimeout; } - // Generated from `Microsoft.AspNetCore.Http.Connections.HttpConnectionContextExtensions` in `Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.HttpConnectionContextExtensions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpConnectionContextExtensions { public static Microsoft.AspNetCore.Http.HttpContext GetHttpContext(this Microsoft.AspNetCore.Connections.ConnectionContext connection) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions` in `Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpConnectionDispatcherOptions { public System.Int64 ApplicationMaxBufferSize { get => throw null; set => throw null; } @@ -62,20 +63,20 @@ namespace Microsoft public Microsoft.AspNetCore.Http.Connections.WebSocketOptions WebSockets { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Connections.LongPollingOptions` in `Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.LongPollingOptions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LongPollingOptions { public LongPollingOptions() => throw null; public System.TimeSpan PollTimeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Connections.NegotiateMetadata` in `Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.NegotiateMetadata` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NegotiateMetadata { public NegotiateMetadata() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Connections.WebSocketOptions` in `Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.WebSocketOptions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebSocketOptions { public System.TimeSpan CloseTimeout { get => throw null; set => throw null; } @@ -85,13 +86,13 @@ namespace Microsoft namespace Features { - // Generated from `Microsoft.AspNetCore.Http.Connections.Features.IHttpContextFeature` in `Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.Features.IHttpContextFeature` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpContextFeature { Microsoft.AspNetCore.Http.HttpContext HttpContext { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Connections.Features.IHttpTransportFeature` in `Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Connections.Features.IHttpTransportFeature` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpTransportFeature { Microsoft.AspNetCore.Http.Connections.HttpTransportType TransportType { get; } @@ -105,7 +106,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ConnectionsDependencyInjectionExtensions` in `Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ConnectionsDependencyInjectionExtensions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConnectionsDependencyInjectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddConnections(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -115,14 +116,3 @@ namespace Microsoft } } } -namespace System -{ - namespace Threading - { - namespace Tasks - { - /* Duplicate type 'TaskExtensions' is not stubbed in this assembly 'Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Extensions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Extensions.cs index d07f2c9635c..048b2c90e39 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Extensions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Extensions.cs @@ -6,7 +6,21 @@ namespace Microsoft { namespace Http { - // Generated from `Microsoft.AspNetCore.Http.HeaderDictionaryTypeExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.EndpointDescriptionAttribute` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class EndpointDescriptionAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IEndpointDescriptionMetadata + { + public string Description { get => throw null; } + public EndpointDescriptionAttribute(string description) => throw null; + } + + // Generated from `Microsoft.AspNetCore.Http.EndpointSummaryAttribute` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class EndpointSummaryAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IEndpointSummaryMetadata + { + public EndpointSummaryAttribute(string summary) => throw null; + public string Summary { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HeaderDictionaryTypeExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HeaderDictionaryTypeExtensions { public static void AppendList(this Microsoft.AspNetCore.Http.IHeaderDictionary Headers, string name, System.Collections.Generic.IList values) => throw null; @@ -14,66 +28,80 @@ namespace Microsoft public static Microsoft.AspNetCore.Http.Headers.ResponseHeaders GetTypedHeaders(this Microsoft.AspNetCore.Http.HttpResponse response) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpContextServerVariableExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HttpContextServerVariableExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpContextServerVariableExtensions { public static string GetServerVariable(this Microsoft.AspNetCore.Http.HttpContext context, string variableName) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpRequestJsonExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HttpRequestJsonExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpRequestJsonExtensions { public static bool HasJsonContentType(this Microsoft.AspNetCore.Http.HttpRequest request) => throw null; public static System.Threading.Tasks.ValueTask ReadFromJsonAsync(this Microsoft.AspNetCore.Http.HttpRequest request, System.Type type, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask ReadFromJsonAsync(this Microsoft.AspNetCore.Http.HttpRequest request, System.Type type, System.Text.Json.Serialization.JsonSerializerContext context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.ValueTask ReadFromJsonAsync(this Microsoft.AspNetCore.Http.HttpRequest request, System.Type type, System.Text.Json.JsonSerializerOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.ValueTask ReadFromJsonAsync(this Microsoft.AspNetCore.Http.HttpRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.ValueTask ReadFromJsonAsync(this Microsoft.AspNetCore.Http.HttpRequest request, System.Text.Json.JsonSerializerOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask ReadFromJsonAsync(this Microsoft.AspNetCore.Http.HttpRequest request, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpResponseJsonExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HttpResponseJsonExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpResponseJsonExtensions { public static System.Threading.Tasks.Task WriteAsJsonAsync(this Microsoft.AspNetCore.Http.HttpResponse response, object value, System.Type type, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task WriteAsJsonAsync(this Microsoft.AspNetCore.Http.HttpResponse response, object value, System.Type type, System.Text.Json.Serialization.JsonSerializerContext context, string contentType = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task WriteAsJsonAsync(this Microsoft.AspNetCore.Http.HttpResponse response, object value, System.Type type, System.Text.Json.JsonSerializerOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task WriteAsJsonAsync(this Microsoft.AspNetCore.Http.HttpResponse response, object value, System.Type type, System.Text.Json.JsonSerializerOptions options, string contentType, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task WriteAsJsonAsync(this Microsoft.AspNetCore.Http.HttpResponse response, TValue value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task WriteAsJsonAsync(this Microsoft.AspNetCore.Http.HttpResponse response, TValue value, System.Text.Json.JsonSerializerOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task WriteAsJsonAsync(this Microsoft.AspNetCore.Http.HttpResponse response, TValue value, System.Text.Json.JsonSerializerOptions options, string contentType, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task WriteAsJsonAsync(this Microsoft.AspNetCore.Http.HttpResponse response, TValue value, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, string contentType = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpValidationProblemDetails` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` - public class HttpValidationProblemDetails : Microsoft.AspNetCore.Mvc.ProblemDetails + // Generated from `Microsoft.AspNetCore.Http.ProblemDetailsOptions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class ProblemDetailsOptions { - public System.Collections.Generic.IDictionary Errors { get => throw null; } - public HttpValidationProblemDetails() => throw null; - public HttpValidationProblemDetails(System.Collections.Generic.IDictionary errors) => throw null; + public System.Action CustomizeProblemDetails { get => throw null; set => throw null; } + public ProblemDetailsOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.RequestDelegateFactory` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.RequestDelegateFactory` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestDelegateFactory { - public static Microsoft.AspNetCore.Http.RequestDelegateResult Create(System.Delegate handler, Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions options = default(Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions)) => throw null; - public static Microsoft.AspNetCore.Http.RequestDelegateResult Create(System.Reflection.MethodInfo methodInfo, System.Func targetFactory = default(System.Func), Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions options = default(Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions)) => throw null; + public static Microsoft.AspNetCore.Http.RequestDelegateResult Create(System.Delegate handler, Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions options) => throw null; + public static Microsoft.AspNetCore.Http.RequestDelegateResult Create(System.Delegate handler, Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions options = default(Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions), Microsoft.AspNetCore.Http.RequestDelegateMetadataResult metadataResult = default(Microsoft.AspNetCore.Http.RequestDelegateMetadataResult)) => throw null; + public static Microsoft.AspNetCore.Http.RequestDelegateResult Create(System.Reflection.MethodInfo methodInfo, System.Func targetFactory, Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions options) => throw null; + public static Microsoft.AspNetCore.Http.RequestDelegateResult Create(System.Reflection.MethodInfo methodInfo, System.Func targetFactory = default(System.Func), Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions options = default(Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions), Microsoft.AspNetCore.Http.RequestDelegateMetadataResult metadataResult = default(Microsoft.AspNetCore.Http.RequestDelegateMetadataResult)) => throw null; + public static Microsoft.AspNetCore.Http.RequestDelegateMetadataResult InferMetadata(System.Reflection.MethodInfo methodInfo, Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions options = default(Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestDelegateFactoryOptions { public bool DisableInferBodyFromParameters { get => throw null; set => throw null; } + public Microsoft.AspNetCore.Builder.EndpointBuilder EndpointBuilder { get => throw null; set => throw null; } public RequestDelegateFactoryOptions() => throw null; public System.Collections.Generic.IEnumerable RouteParameterNames { get => throw null; set => throw null; } public System.IServiceProvider ServiceProvider { get => throw null; set => throw null; } public bool ThrowOnBadRequest { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.ResponseExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.RequestDelegateMetadataResult` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class RequestDelegateMetadataResult + { + public System.Collections.Generic.IReadOnlyList EndpointMetadata { get => throw null; set => throw null; } + public RequestDelegateMetadataResult() => throw null; + } + + // Generated from `Microsoft.AspNetCore.Http.ResponseExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ResponseExtensions { public static void Clear(this Microsoft.AspNetCore.Http.HttpResponse response) => throw null; public static void Redirect(this Microsoft.AspNetCore.Http.HttpResponse response, string location, bool permanent, bool preserveMethod) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.SendFileResponseExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.SendFileResponseExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SendFileResponseExtensions { public static System.Threading.Tasks.Task SendFileAsync(this Microsoft.AspNetCore.Http.HttpResponse response, Microsoft.Extensions.FileProviders.IFileInfo file, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -82,7 +110,7 @@ namespace Microsoft public static System.Threading.Tasks.Task SendFileAsync(this Microsoft.AspNetCore.Http.HttpResponse response, string fileName, System.Int64 offset, System.Int64? count, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.SessionExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.SessionExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SessionExtensions { public static System.Byte[] Get(this Microsoft.AspNetCore.Http.ISession session, string key) => throw null; @@ -92,7 +120,7 @@ namespace Microsoft public static void SetString(this Microsoft.AspNetCore.Http.ISession session, string key, string value) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.TagsAttribute` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.TagsAttribute` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagsAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.ITagsMetadata { public System.Collections.Generic.IReadOnlyList Tags { get => throw null; } @@ -101,13 +129,13 @@ namespace Microsoft namespace Extensions { - // Generated from `Microsoft.AspNetCore.Http.Extensions.HttpRequestMultipartExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Extensions.HttpRequestMultipartExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpRequestMultipartExtensions { public static string GetMultipartBoundary(this Microsoft.AspNetCore.Http.HttpRequest request) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Extensions.QueryBuilder` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Extensions.QueryBuilder` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QueryBuilder : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { public void Add(string key, System.Collections.Generic.IEnumerable values) => throw null; @@ -123,14 +151,14 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Extensions.StreamCopyOperation` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Extensions.StreamCopyOperation` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StreamCopyOperation { public static System.Threading.Tasks.Task CopyToAsync(System.IO.Stream source, System.IO.Stream destination, System.Int64? count, System.Threading.CancellationToken cancel) => throw null; public static System.Threading.Tasks.Task CopyToAsync(System.IO.Stream source, System.IO.Stream destination, System.Int64? count, int bufferSize, System.Threading.CancellationToken cancel) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Extensions.UriHelper` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Extensions.UriHelper` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UriHelper { public static string BuildAbsolute(string scheme, Microsoft.AspNetCore.Http.HostString host, Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.PathString path = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.QueryString query = default(Microsoft.AspNetCore.Http.QueryString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString)) => throw null; @@ -145,7 +173,7 @@ namespace Microsoft } namespace Headers { - // Generated from `Microsoft.AspNetCore.Http.Headers.RequestHeaders` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Headers.RequestHeaders` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestHeaders { public System.Collections.Generic.IList Accept { get => throw null; set => throw null; } @@ -179,7 +207,7 @@ namespace Microsoft public void SetList(string name, System.Collections.Generic.IList values) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Headers.ResponseHeaders` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Headers.ResponseHeaders` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseHeaders { public void Append(string name, object value) => throw null; @@ -206,7 +234,7 @@ namespace Microsoft } namespace Json { - // Generated from `Microsoft.AspNetCore.Http.Json.JsonOptions` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Json.JsonOptions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonOptions { public JsonOptions() => throw null; @@ -215,18 +243,22 @@ namespace Microsoft } } - namespace Mvc + } + namespace Extensions + { + namespace DependencyInjection { - // Generated from `Microsoft.AspNetCore.Mvc.ProblemDetails` in `Microsoft.AspNetCore.Http.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` - public class ProblemDetails + // Generated from `Microsoft.Extensions.DependencyInjection.HttpJsonServiceExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class HttpJsonServiceExtensions { - public string Detail { get => throw null; set => throw null; } - public System.Collections.Generic.IDictionary Extensions { get => throw null; } - public string Instance { get => throw null; set => throw null; } - public ProblemDetails() => throw null; - public int? Status { get => throw null; set => throw null; } - public string Title { get => throw null; set => throw null; } - public string Type { get => throw null; set => throw null; } + public static Microsoft.Extensions.DependencyInjection.IServiceCollection ConfigureHttpJsonOptions(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; + } + + // Generated from `Microsoft.Extensions.DependencyInjection.ProblemDetailsServiceCollectionExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class ProblemDetailsServiceCollectionExtensions + { + public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddProblemDetails(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; + public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddProblemDetails(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configure) => throw null; } } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Features.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Features.cs index 606b18b725f..13e3caf686f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Features.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Features.cs @@ -6,12 +6,15 @@ namespace Microsoft { namespace Http { - // Generated from `Microsoft.AspNetCore.Http.CookieOptions` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.CookieOptions` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieOptions { public CookieOptions() => throw null; + public CookieOptions(Microsoft.AspNetCore.Http.CookieOptions options) => throw null; + public Microsoft.Net.Http.Headers.SetCookieHeaderValue CreateCookieHeader(string name, string value) => throw null; public string Domain { get => throw null; set => throw null; } public System.DateTimeOffset? Expires { get => throw null; set => throw null; } + public System.Collections.Generic.IList Extensions { get => throw null; } public bool HttpOnly { get => throw null; set => throw null; } public bool IsEssential { get => throw null; set => throw null; } public System.TimeSpan? MaxAge { get => throw null; set => throw null; } @@ -20,7 +23,7 @@ namespace Microsoft public bool Secure { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.IFormCollection` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.IFormCollection` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFormCollection : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { bool ContainsKey(string key); @@ -31,7 +34,7 @@ namespace Microsoft bool TryGetValue(string key, out Microsoft.Extensions.Primitives.StringValues value); } - // Generated from `Microsoft.AspNetCore.Http.IFormFile` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.IFormFile` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFormFile { string ContentDisposition { get; } @@ -45,7 +48,7 @@ namespace Microsoft System.IO.Stream OpenReadStream(); } - // Generated from `Microsoft.AspNetCore.Http.IFormFileCollection` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.IFormFileCollection` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFormFileCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { Microsoft.AspNetCore.Http.IFormFile GetFile(string name); @@ -53,7 +56,7 @@ namespace Microsoft Microsoft.AspNetCore.Http.IFormFile this[string name] { get; } } - // Generated from `Microsoft.AspNetCore.Http.IHeaderDictionary` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.IHeaderDictionary` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHeaderDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { Microsoft.Extensions.Primitives.StringValues Accept { get => throw null; set => throw null; } @@ -149,7 +152,7 @@ namespace Microsoft Microsoft.Extensions.Primitives.StringValues XXSSProtection { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.IQueryCollection` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.IQueryCollection` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IQueryCollection : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { bool ContainsKey(string key); @@ -159,7 +162,7 @@ namespace Microsoft bool TryGetValue(string key, out Microsoft.Extensions.Primitives.StringValues value); } - // Generated from `Microsoft.AspNetCore.Http.IRequestCookieCollection` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.IRequestCookieCollection` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestCookieCollection : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { bool ContainsKey(string key); @@ -169,7 +172,7 @@ namespace Microsoft bool TryGetValue(string key, out string value); } - // Generated from `Microsoft.AspNetCore.Http.IResponseCookies` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.IResponseCookies` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResponseCookies { void Append(System.ReadOnlySpan> keyValuePairs, Microsoft.AspNetCore.Http.CookieOptions options) => throw null; @@ -179,7 +182,7 @@ namespace Microsoft void Delete(string key, Microsoft.AspNetCore.Http.CookieOptions options); } - // Generated from `Microsoft.AspNetCore.Http.ISession` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.ISession` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISession { void Clear(); @@ -193,7 +196,7 @@ namespace Microsoft bool TryGetValue(string key, out System.Byte[] value); } - // Generated from `Microsoft.AspNetCore.Http.SameSiteMode` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.SameSiteMode` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum SameSiteMode : int { Lax = 1, @@ -202,7 +205,7 @@ namespace Microsoft Unspecified = -1, } - // Generated from `Microsoft.AspNetCore.Http.WebSocketAcceptContext` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.WebSocketAcceptContext` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebSocketAcceptContext { public bool DangerousEnableCompression { get => throw null; set => throw null; } @@ -215,7 +218,7 @@ namespace Microsoft namespace Features { - // Generated from `Microsoft.AspNetCore.Http.Features.HttpsCompressionMode` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.HttpsCompressionMode` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HttpsCompressionMode : int { Compress = 2, @@ -223,13 +226,13 @@ namespace Microsoft DoNotCompress = 1, } - // Generated from `Microsoft.AspNetCore.Http.Features.IBadRequestExceptionFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IBadRequestExceptionFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBadRequestExceptionFeature { System.Exception Error { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IFormFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IFormFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFormFeature { Microsoft.AspNetCore.Http.IFormCollection Form { get; set; } @@ -238,13 +241,13 @@ namespace Microsoft System.Threading.Tasks.Task ReadFormAsync(System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpBodyControlFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpBodyControlFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpBodyControlFeature { bool AllowSynchronousIO { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpConnectionFeature { string ConnectionId { get; set; } @@ -254,20 +257,28 @@ namespace Microsoft int RemotePort { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpMaxRequestBodySizeFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpExtendedConnectFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IHttpExtendedConnectFeature + { + System.Threading.Tasks.ValueTask AcceptAsync(); + bool IsExtendedConnect { get; } + string Protocol { get; } + } + + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpMaxRequestBodySizeFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpMaxRequestBodySizeFeature { bool IsReadOnly { get; } System.Int64? MaxRequestBodySize { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestBodyDetectionFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestBodyDetectionFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestBodyDetectionFeature { bool CanHaveBody { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestFeature { System.IO.Stream Body { get; set; } @@ -281,33 +292,33 @@ namespace Microsoft string Scheme { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestIdentifierFeature { string TraceIdentifier { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestLifetimeFeature { void Abort(); System.Threading.CancellationToken RequestAborted { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestTrailersFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestTrailersFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestTrailersFeature { bool Available { get; } Microsoft.AspNetCore.Http.IHeaderDictionary Trailers { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpResetFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpResetFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpResetFeature { void Reset(int errorCode); } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpResponseBodyFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpResponseBodyFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpResponseBodyFeature { System.Threading.Tasks.Task CompleteAsync(); @@ -318,7 +329,7 @@ namespace Microsoft System.IO.Pipelines.PipeWriter Writer { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpResponseFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpResponseFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpResponseFeature { System.IO.Stream Body { get; set; } @@ -330,95 +341,102 @@ namespace Microsoft int StatusCode { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpResponseTrailersFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpResponseTrailersFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpResponseTrailersFeature { Microsoft.AspNetCore.Http.IHeaderDictionary Trailers { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpUpgradeFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpUpgradeFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpUpgradeFeature { bool IsUpgradableRequest { get; } System.Threading.Tasks.Task UpgradeAsync(); } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpWebSocketFeature { System.Threading.Tasks.Task AcceptAsync(Microsoft.AspNetCore.Http.WebSocketAcceptContext context); bool IsWebSocketRequest { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpsCompressionFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpWebTransportFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IHttpWebTransportFeature + { + System.Threading.Tasks.ValueTask AcceptAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + bool IsWebTransportRequest { get; } + } + + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpsCompressionFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpsCompressionFeature { Microsoft.AspNetCore.Http.Features.HttpsCompressionMode Mode { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IItemsFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IItemsFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IItemsFeature { System.Collections.Generic.IDictionary Items { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IQueryFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IQueryFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IQueryFeature { Microsoft.AspNetCore.Http.IQueryCollection Query { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IRequestBodyPipeFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IRequestBodyPipeFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestBodyPipeFeature { System.IO.Pipelines.PipeReader Reader { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IRequestCookiesFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IRequestCookiesFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestCookiesFeature { Microsoft.AspNetCore.Http.IRequestCookieCollection Cookies { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IResponseCookiesFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IResponseCookiesFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResponseCookiesFeature { Microsoft.AspNetCore.Http.IResponseCookies Cookies { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IServerVariablesFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IServerVariablesFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServerVariablesFeature { string this[string variableName] { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServiceProvidersFeature { System.IServiceProvider RequestServices { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.ISessionFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.ISessionFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISessionFeature { Microsoft.AspNetCore.Http.ISession Session { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITlsConnectionFeature { System.Security.Cryptography.X509Certificates.X509Certificate2 ClientCertificate { get; set; } System.Threading.Tasks.Task GetClientCertificateAsync(System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Http.Features.ITlsTokenBindingFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.ITlsTokenBindingFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITlsTokenBindingFeature { System.Byte[] GetProvidedTokenBindingId(); System.Byte[] GetReferredTokenBindingId(); } - // Generated from `Microsoft.AspNetCore.Http.Features.ITrackingConsentFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.ITrackingConsentFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITrackingConsentFeature { bool CanTrack { get; } @@ -429,9 +447,18 @@ namespace Microsoft void WithdrawConsent(); } + // Generated from `Microsoft.AspNetCore.Http.Features.IWebTransportSession` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IWebTransportSession + { + void Abort(int errorCode); + System.Threading.Tasks.ValueTask AcceptStreamAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.ValueTask OpenUnidirectionalStreamAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Int64 SessionId { get; } + } + namespace Authentication { - // Generated from `Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature` in `Microsoft.AspNetCore.Http.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpAuthenticationFeature { System.Security.Claims.ClaimsPrincipal User { get; set; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Results.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Results.cs index e5c417e5ffc..24e27df9103 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Results.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Results.cs @@ -6,35 +6,48 @@ namespace Microsoft { namespace Http { - // Generated from `Microsoft.AspNetCore.Http.IResultExtensions` in `Microsoft.AspNetCore.Http.Results, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.IResultExtensions` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResultExtensions { } - // Generated from `Microsoft.AspNetCore.Http.Results` in `Microsoft.AspNetCore.Http.Results, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Results` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Results { public static Microsoft.AspNetCore.Http.IResult Accepted(string uri = default(string), object value = default(object)) => throw null; + public static Microsoft.AspNetCore.Http.IResult Accepted(string uri = default(string), TValue value = default(TValue)) => throw null; public static Microsoft.AspNetCore.Http.IResult AcceptedAtRoute(string routeName = default(string), object routeValues = default(object), object value = default(object)) => throw null; + public static Microsoft.AspNetCore.Http.IResult AcceptedAtRoute(string routeName = default(string), object routeValues = default(object), TValue value = default(TValue)) => throw null; public static Microsoft.AspNetCore.Http.IResult BadRequest(object error = default(object)) => throw null; + public static Microsoft.AspNetCore.Http.IResult BadRequest(TValue error) => throw null; public static Microsoft.AspNetCore.Http.IResult Bytes(System.Byte[] contents, string contentType = default(string), string fileDownloadName = default(string), bool enableRangeProcessing = default(bool), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue)) => throw null; + public static Microsoft.AspNetCore.Http.IResult Bytes(System.ReadOnlyMemory contents, string contentType = default(string), string fileDownloadName = default(string), bool enableRangeProcessing = default(bool), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue)) => throw null; public static Microsoft.AspNetCore.Http.IResult Challenge(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties = default(Microsoft.AspNetCore.Authentication.AuthenticationProperties), System.Collections.Generic.IList authenticationSchemes = default(System.Collections.Generic.IList)) => throw null; public static Microsoft.AspNetCore.Http.IResult Conflict(object error = default(object)) => throw null; + public static Microsoft.AspNetCore.Http.IResult Conflict(TValue error) => throw null; public static Microsoft.AspNetCore.Http.IResult Content(string content, Microsoft.Net.Http.Headers.MediaTypeHeaderValue contentType) => throw null; - public static Microsoft.AspNetCore.Http.IResult Content(string content, string contentType = default(string), System.Text.Encoding contentEncoding = default(System.Text.Encoding)) => throw null; + public static Microsoft.AspNetCore.Http.IResult Content(string content, string contentType, System.Text.Encoding contentEncoding) => throw null; + public static Microsoft.AspNetCore.Http.IResult Content(string content, string contentType = default(string), System.Text.Encoding contentEncoding = default(System.Text.Encoding), int? statusCode = default(int?)) => throw null; public static Microsoft.AspNetCore.Http.IResult Created(System.Uri uri, object value) => throw null; public static Microsoft.AspNetCore.Http.IResult Created(string uri, object value) => throw null; + public static Microsoft.AspNetCore.Http.IResult Created(System.Uri uri, TValue value) => throw null; + public static Microsoft.AspNetCore.Http.IResult Created(string uri, TValue value) => throw null; public static Microsoft.AspNetCore.Http.IResult CreatedAtRoute(string routeName = default(string), object routeValues = default(object), object value = default(object)) => throw null; + public static Microsoft.AspNetCore.Http.IResult CreatedAtRoute(string routeName = default(string), object routeValues = default(object), TValue value = default(TValue)) => throw null; + public static Microsoft.AspNetCore.Http.IResult Empty { get => throw null; } public static Microsoft.AspNetCore.Http.IResultExtensions Extensions { get => throw null; } public static Microsoft.AspNetCore.Http.IResult File(System.Byte[] fileContents, string contentType = default(string), string fileDownloadName = default(string), bool enableRangeProcessing = default(bool), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue)) => throw null; public static Microsoft.AspNetCore.Http.IResult File(System.IO.Stream fileStream, string contentType = default(string), string fileDownloadName = default(string), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue), bool enableRangeProcessing = default(bool)) => throw null; public static Microsoft.AspNetCore.Http.IResult File(string path, string contentType = default(string), string fileDownloadName = default(string), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue), bool enableRangeProcessing = default(bool)) => throw null; public static Microsoft.AspNetCore.Http.IResult Forbid(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties = default(Microsoft.AspNetCore.Authentication.AuthenticationProperties), System.Collections.Generic.IList authenticationSchemes = default(System.Collections.Generic.IList)) => throw null; public static Microsoft.AspNetCore.Http.IResult Json(object data, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions), string contentType = default(string), int? statusCode = default(int?)) => throw null; + public static Microsoft.AspNetCore.Http.IResult Json(TValue data, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions), string contentType = default(string), int? statusCode = default(int?)) => throw null; public static Microsoft.AspNetCore.Http.IResult LocalRedirect(string localUrl, bool permanent = default(bool), bool preserveMethod = default(bool)) => throw null; public static Microsoft.AspNetCore.Http.IResult NoContent() => throw null; public static Microsoft.AspNetCore.Http.IResult NotFound(object value = default(object)) => throw null; + public static Microsoft.AspNetCore.Http.IResult NotFound(TValue value) => throw null; public static Microsoft.AspNetCore.Http.IResult Ok(object value = default(object)) => throw null; + public static Microsoft.AspNetCore.Http.IResult Ok(TValue value) => throw null; public static Microsoft.AspNetCore.Http.IResult Problem(Microsoft.AspNetCore.Mvc.ProblemDetails problemDetails) => throw null; public static Microsoft.AspNetCore.Http.IResult Problem(string detail = default(string), string instance = default(string), int? statusCode = default(int?), string title = default(string), string type = default(string), System.Collections.Generic.IDictionary extensions = default(System.Collections.Generic.IDictionary)) => throw null; public static Microsoft.AspNetCore.Http.IResult Redirect(string url, bool permanent = default(bool), bool preserveMethod = default(bool)) => throw null; @@ -42,13 +55,534 @@ namespace Microsoft public static Microsoft.AspNetCore.Http.IResult SignIn(System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties = default(Microsoft.AspNetCore.Authentication.AuthenticationProperties), string authenticationScheme = default(string)) => throw null; public static Microsoft.AspNetCore.Http.IResult SignOut(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties = default(Microsoft.AspNetCore.Authentication.AuthenticationProperties), System.Collections.Generic.IList authenticationSchemes = default(System.Collections.Generic.IList)) => throw null; public static Microsoft.AspNetCore.Http.IResult StatusCode(int statusCode) => throw null; + public static Microsoft.AspNetCore.Http.IResult Stream(System.Func streamWriterCallback, string contentType = default(string), string fileDownloadName = default(string), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue)) => throw null; + public static Microsoft.AspNetCore.Http.IResult Stream(System.IO.Pipelines.PipeReader pipeReader, string contentType = default(string), string fileDownloadName = default(string), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue), bool enableRangeProcessing = default(bool)) => throw null; public static Microsoft.AspNetCore.Http.IResult Stream(System.IO.Stream stream, string contentType = default(string), string fileDownloadName = default(string), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue), bool enableRangeProcessing = default(bool)) => throw null; - public static Microsoft.AspNetCore.Http.IResult Text(string content, string contentType = default(string), System.Text.Encoding contentEncoding = default(System.Text.Encoding)) => throw null; + public static Microsoft.AspNetCore.Http.IResult Text(System.ReadOnlySpan utf8Content, string contentType = default(string), int? statusCode = default(int?)) => throw null; + public static Microsoft.AspNetCore.Http.IResult Text(string content, string contentType, System.Text.Encoding contentEncoding) => throw null; + public static Microsoft.AspNetCore.Http.IResult Text(string content, string contentType = default(string), System.Text.Encoding contentEncoding = default(System.Text.Encoding), int? statusCode = default(int?)) => throw null; public static Microsoft.AspNetCore.Http.IResult Unauthorized() => throw null; public static Microsoft.AspNetCore.Http.IResult UnprocessableEntity(object error = default(object)) => throw null; + public static Microsoft.AspNetCore.Http.IResult UnprocessableEntity(TValue error) => throw null; public static Microsoft.AspNetCore.Http.IResult ValidationProblem(System.Collections.Generic.IDictionary errors, string detail = default(string), string instance = default(string), int? statusCode = default(int?), string title = default(string), string type = default(string), System.Collections.Generic.IDictionary extensions = default(System.Collections.Generic.IDictionary)) => throw null; } + // Generated from `Microsoft.AspNetCore.Http.TypedResults` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class TypedResults + { + public static Microsoft.AspNetCore.Http.HttpResults.Accepted Accepted(System.Uri uri) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.Accepted Accepted(string uri) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.Accepted Accepted(System.Uri uri, TValue value) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.Accepted Accepted(string uri, TValue value) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute AcceptedAtRoute(string routeName = default(string), object routeValues = default(object)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute AcceptedAtRoute(TValue value, string routeName = default(string), object routeValues = default(object)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.BadRequest BadRequest() => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.BadRequest BadRequest(TValue error) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.FileContentHttpResult Bytes(System.Byte[] contents, string contentType = default(string), string fileDownloadName = default(string), bool enableRangeProcessing = default(bool), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.FileContentHttpResult Bytes(System.ReadOnlyMemory contents, string contentType = default(string), string fileDownloadName = default(string), bool enableRangeProcessing = default(bool), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.ChallengeHttpResult Challenge(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties = default(Microsoft.AspNetCore.Authentication.AuthenticationProperties), System.Collections.Generic.IList authenticationSchemes = default(System.Collections.Generic.IList)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.Conflict Conflict() => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.Conflict Conflict(TValue error) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.ContentHttpResult Content(string content, Microsoft.Net.Http.Headers.MediaTypeHeaderValue contentType) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.ContentHttpResult Content(string content, string contentType, System.Text.Encoding contentEncoding) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.ContentHttpResult Content(string content, string contentType = default(string), System.Text.Encoding contentEncoding = default(System.Text.Encoding), int? statusCode = default(int?)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.Created Created(System.Uri uri) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.Created Created(string uri) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.Created Created(System.Uri uri, TValue value) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.Created Created(string uri, TValue value) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.CreatedAtRoute CreatedAtRoute(string routeName = default(string), object routeValues = default(object)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.CreatedAtRoute CreatedAtRoute(TValue value, string routeName = default(string), object routeValues = default(object)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.EmptyHttpResult Empty { get => throw null; } + public static Microsoft.AspNetCore.Http.HttpResults.FileContentHttpResult File(System.Byte[] fileContents, string contentType = default(string), string fileDownloadName = default(string), bool enableRangeProcessing = default(bool), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.FileStreamHttpResult File(System.IO.Stream fileStream, string contentType = default(string), string fileDownloadName = default(string), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue), bool enableRangeProcessing = default(bool)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.ForbidHttpResult Forbid(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties = default(Microsoft.AspNetCore.Authentication.AuthenticationProperties), System.Collections.Generic.IList authenticationSchemes = default(System.Collections.Generic.IList)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.JsonHttpResult Json(TValue data, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions), string contentType = default(string), int? statusCode = default(int?)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.RedirectHttpResult LocalRedirect(string localUrl, bool permanent = default(bool), bool preserveMethod = default(bool)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.NoContent NoContent() => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.NotFound NotFound() => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.NotFound NotFound(TValue value) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.Ok Ok() => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.Ok Ok(TValue value) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.PhysicalFileHttpResult PhysicalFile(string path, string contentType = default(string), string fileDownloadName = default(string), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue), bool enableRangeProcessing = default(bool)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.ProblemHttpResult Problem(Microsoft.AspNetCore.Mvc.ProblemDetails problemDetails) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.ProblemHttpResult Problem(string detail = default(string), string instance = default(string), int? statusCode = default(int?), string title = default(string), string type = default(string), System.Collections.Generic.IDictionary extensions = default(System.Collections.Generic.IDictionary)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.RedirectHttpResult Redirect(string url, bool permanent = default(bool), bool preserveMethod = default(bool)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.RedirectToRouteHttpResult RedirectToRoute(string routeName = default(string), object routeValues = default(object), bool permanent = default(bool), bool preserveMethod = default(bool), string fragment = default(string)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.SignInHttpResult SignIn(System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties = default(Microsoft.AspNetCore.Authentication.AuthenticationProperties), string authenticationScheme = default(string)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.SignOutHttpResult SignOut(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties = default(Microsoft.AspNetCore.Authentication.AuthenticationProperties), System.Collections.Generic.IList authenticationSchemes = default(System.Collections.Generic.IList)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.StatusCodeHttpResult StatusCode(int statusCode) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.PushStreamHttpResult Stream(System.Func streamWriterCallback, string contentType = default(string), string fileDownloadName = default(string), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.FileStreamHttpResult Stream(System.IO.Pipelines.PipeReader pipeReader, string contentType = default(string), string fileDownloadName = default(string), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue), bool enableRangeProcessing = default(bool)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.FileStreamHttpResult Stream(System.IO.Stream stream, string contentType = default(string), string fileDownloadName = default(string), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue), bool enableRangeProcessing = default(bool)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.Utf8ContentHttpResult Text(System.ReadOnlySpan utf8Content, string contentType = default(string), int? statusCode = default(int?)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.ContentHttpResult Text(string content, string contentType, System.Text.Encoding contentEncoding) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.ContentHttpResult Text(string content, string contentType = default(string), System.Text.Encoding contentEncoding = default(System.Text.Encoding), int? statusCode = default(int?)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.UnauthorizedHttpResult Unauthorized() => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.UnprocessableEntity UnprocessableEntity() => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.UnprocessableEntity UnprocessableEntity(TValue error) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.ValidationProblem ValidationProblem(System.Collections.Generic.IDictionary errors, string detail = default(string), string instance = default(string), string title = default(string), string type = default(string), System.Collections.Generic.IDictionary extensions = default(System.Collections.Generic.IDictionary)) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.VirtualFileHttpResult VirtualFile(string path, string contentType = default(string), string fileDownloadName = default(string), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag = default(Microsoft.Net.Http.Headers.EntityTagHeaderValue), bool enableRangeProcessing = default(bool)) => throw null; + } + + namespace HttpResults + { + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Accepted` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Accepted : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public string Location { get => throw null; } + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Accepted<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Accepted : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public string Location { get => throw null; } + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + public TValue Value { get => throw null; } + object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class AcceptedAtRoute : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public string RouteName { get => throw null; } + public Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; } + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class AcceptedAtRoute : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public string RouteName { get => throw null; } + public Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; } + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + public TValue Value { get => throw null; } + object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.BadRequest` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class BadRequest : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.BadRequest<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class BadRequest : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + public TValue Value { get => throw null; } + object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.ChallengeHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class ChallengeHttpResult : Microsoft.AspNetCore.Http.IResult + { + public System.Collections.Generic.IReadOnlyList AuthenticationSchemes { get => throw null; set => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Conflict` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Conflict : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Conflict<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Conflict : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + public TValue Value { get => throw null; } + object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.ContentHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class ContentHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult + { + public string ContentType { get => throw null; set => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public string ResponseContent { get => throw null; set => throw null; } + public int? StatusCode { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Created` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Created : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public string Location { get => throw null; } + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Created<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Created : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public string Location { get => throw null; } + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + public TValue Value { get => throw null; } + object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.CreatedAtRoute` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class CreatedAtRoute : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public string RouteName { get => throw null; } + public Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; } + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.CreatedAtRoute<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class CreatedAtRoute : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public string RouteName { get => throw null; } + public Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; } + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + public TValue Value { get => throw null; } + object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.EmptyHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class EmptyHttpResult : Microsoft.AspNetCore.Http.IResult + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static Microsoft.AspNetCore.Http.HttpResults.EmptyHttpResult Instance { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.FileContentHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class FileContentHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IFileHttpResult, Microsoft.AspNetCore.Http.IResult + { + public string ContentType { get => throw null; set => throw null; } + public bool EnableRangeProcessing { get => throw null; set => throw null; } + public Microsoft.Net.Http.Headers.EntityTagHeaderValue EntityTag { get => throw null; set => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public System.ReadOnlyMemory FileContents { get => throw null; set => throw null; } + public string FileDownloadName { get => throw null; set => throw null; } + public System.Int64? FileLength { get => throw null; set => throw null; } + public System.DateTimeOffset? LastModified { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.FileStreamHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class FileStreamHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IFileHttpResult, Microsoft.AspNetCore.Http.IResult + { + public string ContentType { get => throw null; set => throw null; } + public bool EnableRangeProcessing { get => throw null; set => throw null; } + public Microsoft.Net.Http.Headers.EntityTagHeaderValue EntityTag { get => throw null; set => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public string FileDownloadName { get => throw null; set => throw null; } + public System.Int64? FileLength { get => throw null; set => throw null; } + public System.IO.Stream FileStream { get => throw null; } + public System.DateTimeOffset? LastModified { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.ForbidHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class ForbidHttpResult : Microsoft.AspNetCore.Http.IResult + { + public System.Collections.Generic.IReadOnlyList AuthenticationSchemes { get => throw null; set => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.JsonHttpResult<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class JsonHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult + { + public string ContentType { get => throw null; set => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get => throw null; set => throw null; } + public int? StatusCode { get => throw null; } + public TValue Value { get => throw null; } + object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.NoContent` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class NoContent : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.NotFound` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class NotFound : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.NotFound<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class NotFound : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + public TValue Value { get => throw null; set => throw null; } + object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Ok` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Ok : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Ok<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Ok : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + public TValue Value { get => throw null; } + object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.PhysicalFileHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class PhysicalFileHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IFileHttpResult, Microsoft.AspNetCore.Http.IResult + { + public string ContentType { get => throw null; set => throw null; } + public bool EnableRangeProcessing { get => throw null; set => throw null; } + public Microsoft.Net.Http.Headers.EntityTagHeaderValue EntityTag { get => throw null; set => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public string FileDownloadName { get => throw null; set => throw null; } + public System.Int64? FileLength { get => throw null; set => throw null; } + public string FileName { get => throw null; } + public System.DateTimeOffset? LastModified { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.ProblemHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class ProblemHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult + { + public string ContentType { get => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public Microsoft.AspNetCore.Mvc.ProblemDetails ProblemDetails { get => throw null; } + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + Microsoft.AspNetCore.Mvc.ProblemDetails Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.PushStreamHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class PushStreamHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IFileHttpResult, Microsoft.AspNetCore.Http.IResult + { + public string ContentType { get => throw null; set => throw null; } + public bool EnableRangeProcessing { get => throw null; set => throw null; } + public Microsoft.Net.Http.Headers.EntityTagHeaderValue EntityTag { get => throw null; set => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public string FileDownloadName { get => throw null; set => throw null; } + public System.Int64? FileLength { get => throw null; set => throw null; } + public System.DateTimeOffset? LastModified { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.RedirectHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class RedirectHttpResult : Microsoft.AspNetCore.Http.IResult + { + public bool AcceptLocalUrlOnly { get => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public bool Permanent { get => throw null; } + public bool PreserveMethod { get => throw null; } + public string Url { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.RedirectToRouteHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class RedirectToRouteHttpResult : Microsoft.AspNetCore.Http.IResult + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public string Fragment { get => throw null; } + public bool Permanent { get => throw null; } + public bool PreserveMethod { get => throw null; } + public string RouteName { get => throw null; } + public Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Results<,,,,,>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Results : Microsoft.AspNetCore.Http.INestedHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider where TResult1 : Microsoft.AspNetCore.Http.IResult where TResult2 : Microsoft.AspNetCore.Http.IResult where TResult3 : Microsoft.AspNetCore.Http.IResult where TResult4 : Microsoft.AspNetCore.Http.IResult where TResult5 : Microsoft.AspNetCore.Http.IResult where TResult6 : Microsoft.AspNetCore.Http.IResult + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public Microsoft.AspNetCore.Http.IResult Result { get => throw null; } + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult1 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult2 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult3 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult4 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult5 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult6 result) => throw null; + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Results<,,,,>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Results : Microsoft.AspNetCore.Http.INestedHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider where TResult1 : Microsoft.AspNetCore.Http.IResult where TResult2 : Microsoft.AspNetCore.Http.IResult where TResult3 : Microsoft.AspNetCore.Http.IResult where TResult4 : Microsoft.AspNetCore.Http.IResult where TResult5 : Microsoft.AspNetCore.Http.IResult + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public Microsoft.AspNetCore.Http.IResult Result { get => throw null; } + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult1 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult2 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult3 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult4 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult5 result) => throw null; + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Results<,,,>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Results : Microsoft.AspNetCore.Http.INestedHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider where TResult1 : Microsoft.AspNetCore.Http.IResult where TResult2 : Microsoft.AspNetCore.Http.IResult where TResult3 : Microsoft.AspNetCore.Http.IResult where TResult4 : Microsoft.AspNetCore.Http.IResult + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public Microsoft.AspNetCore.Http.IResult Result { get => throw null; } + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult1 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult2 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult3 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult4 result) => throw null; + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Results<,,>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Results : Microsoft.AspNetCore.Http.INestedHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider where TResult1 : Microsoft.AspNetCore.Http.IResult where TResult2 : Microsoft.AspNetCore.Http.IResult where TResult3 : Microsoft.AspNetCore.Http.IResult + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public Microsoft.AspNetCore.Http.IResult Result { get => throw null; } + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult1 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult2 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult3 result) => throw null; + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Results<,>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Results : Microsoft.AspNetCore.Http.INestedHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider where TResult1 : Microsoft.AspNetCore.Http.IResult where TResult2 : Microsoft.AspNetCore.Http.IResult + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public Microsoft.AspNetCore.Http.IResult Result { get => throw null; } + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult1 result) => throw null; + public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult2 result) => throw null; + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.SignInHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class SignInHttpResult : Microsoft.AspNetCore.Http.IResult + { + public string AuthenticationScheme { get => throw null; set => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public System.Security.Claims.ClaimsPrincipal Principal { get => throw null; set => throw null; } + public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.SignOutHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class SignOutHttpResult : Microsoft.AspNetCore.Http.IResult + { + public System.Collections.Generic.IReadOnlyList AuthenticationSchemes { get => throw null; set => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.StatusCodeHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class StatusCodeHttpResult : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.UnauthorizedHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class UnauthorizedHttpResult : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.UnprocessableEntity` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class UnprocessableEntity : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.UnprocessableEntity<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class UnprocessableEntity : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + public TValue Value { get => throw null; } + object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.Utf8ContentHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class Utf8ContentHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult + { + public string ContentType { get => throw null; set => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public System.ReadOnlyMemory ResponseContent { get => throw null; set => throw null; } + public int? StatusCode { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.ValidationProblem` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class ValidationProblem : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider + { + public string ContentType { get => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public static void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder) => throw null; + public Microsoft.AspNetCore.Http.HttpValidationProblemDetails ProblemDetails { get => throw null; } + public int StatusCode { get => throw null; } + int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } + object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + Microsoft.AspNetCore.Http.HttpValidationProblemDetails Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Http.HttpResults.VirtualFileHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class VirtualFileHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IFileHttpResult, Microsoft.AspNetCore.Http.IResult + { + public string ContentType { get => throw null; set => throw null; } + public bool EnableRangeProcessing { get => throw null; set => throw null; } + public Microsoft.Net.Http.Headers.EntityTagHeaderValue EntityTag { get => throw null; set => throw null; } + public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; + public string FileDownloadName { get => throw null; set => throw null; } + public System.Int64? FileLength { get => throw null; set => throw null; } + public string FileName { get => throw null; set => throw null; } + public System.DateTimeOffset? LastModified { get => throw null; set => throw null; } + } + + } } } } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.cs index 6a7d7b8c988..85d1cd64b9c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ApplicationBuilder` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ApplicationBuilder` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationBuilder : Microsoft.AspNetCore.Builder.IApplicationBuilder { public ApplicationBuilder(System.IServiceProvider serviceProvider) => throw null; @@ -22,7 +22,7 @@ namespace Microsoft } namespace Http { - // Generated from `Microsoft.AspNetCore.Http.BindingAddress` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.BindingAddress` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingAddress { public BindingAddress() => throw null; @@ -38,7 +38,7 @@ namespace Microsoft public string UnixPipePath { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.DefaultHttpContext` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.DefaultHttpContext` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultHttpContext : Microsoft.AspNetCore.Http.HttpContext { public override void Abort() => throw null; @@ -62,10 +62,10 @@ namespace Microsoft public override Microsoft.AspNetCore.Http.WebSocketManager WebSockets { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.FormCollection` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.FormCollection` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormCollection : Microsoft.AspNetCore.Http.IFormCollection, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Http.FormCollection+Enumerator` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.FormCollection+Enumerator` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -90,7 +90,7 @@ namespace Microsoft public bool TryGetValue(string key, out Microsoft.Extensions.Primitives.StringValues value) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.FormFile` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.FormFile` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFile : Microsoft.AspNetCore.Http.IFormFile { public string ContentDisposition { get => throw null; set => throw null; } @@ -105,7 +105,7 @@ namespace Microsoft public System.IO.Stream OpenReadStream() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.FormFileCollection` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.FormFileCollection` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFileCollection : System.Collections.Generic.List, Microsoft.AspNetCore.Http.IFormFileCollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { public FormFileCollection() => throw null; @@ -114,10 +114,10 @@ namespace Microsoft public Microsoft.AspNetCore.Http.IFormFile this[string name] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HeaderDictionary` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HeaderDictionary` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HeaderDictionary : Microsoft.AspNetCore.Http.IHeaderDictionary, System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Http.HeaderDictionary+Enumerator` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HeaderDictionary+Enumerator` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -153,14 +153,14 @@ namespace Microsoft public System.Collections.Generic.ICollection Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpContextAccessor` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HttpContextAccessor` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpContextAccessor : Microsoft.AspNetCore.Http.IHttpContextAccessor { public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; set => throw null; } public HttpContextAccessor() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpRequestRewindExtensions` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.HttpRequestRewindExtensions` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpRequestRewindExtensions { public static void EnableBuffering(this Microsoft.AspNetCore.Http.HttpRequest request) => throw null; @@ -169,7 +169,7 @@ namespace Microsoft public static void EnableBuffering(this Microsoft.AspNetCore.Http.HttpRequest request, System.Int64 bufferLimit) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.MiddlewareFactory` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.MiddlewareFactory` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MiddlewareFactory : Microsoft.AspNetCore.Http.IMiddlewareFactory { public Microsoft.AspNetCore.Http.IMiddleware Create(System.Type middlewareType) => throw null; @@ -177,10 +177,10 @@ namespace Microsoft public void Release(Microsoft.AspNetCore.Http.IMiddleware middleware) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.QueryCollection` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.QueryCollection` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QueryCollection : Microsoft.AspNetCore.Http.IQueryCollection, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Http.QueryCollection+Enumerator` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.QueryCollection+Enumerator` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -207,19 +207,19 @@ namespace Microsoft public bool TryGetValue(string key, out Microsoft.Extensions.Primitives.StringValues value) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.RequestFormReaderExtensions` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.RequestFormReaderExtensions` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestFormReaderExtensions { public static System.Threading.Tasks.Task ReadFormAsync(this Microsoft.AspNetCore.Http.HttpRequest request, Microsoft.AspNetCore.Http.Features.FormOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.SendFileFallback` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.SendFileFallback` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SendFileFallback { public static System.Threading.Tasks.Task SendFileAsync(System.IO.Stream destination, string filePath, System.Int64 offset, System.Int64? count, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.StreamResponseBodyFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.StreamResponseBodyFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StreamResponseBodyFeature : Microsoft.AspNetCore.Http.Features.IHttpResponseBodyFeature { public virtual System.Threading.Tasks.Task CompleteAsync() => throw null; @@ -236,14 +236,14 @@ namespace Microsoft namespace Features { - // Generated from `Microsoft.AspNetCore.Http.Features.DefaultSessionFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.DefaultSessionFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultSessionFeature : Microsoft.AspNetCore.Http.Features.ISessionFeature { public DefaultSessionFeature() => throw null; public Microsoft.AspNetCore.Http.ISession Session { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.FormFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.FormFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFeature : Microsoft.AspNetCore.Http.Features.IFormFeature { public Microsoft.AspNetCore.Http.IFormCollection Form { get => throw null; set => throw null; } @@ -256,7 +256,7 @@ namespace Microsoft public System.Threading.Tasks.Task ReadFormAsync(System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.FormOptions` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.FormOptions` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormOptions { public bool BufferBody { get => throw null; set => throw null; } @@ -276,7 +276,7 @@ namespace Microsoft public int ValueLengthLimit { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.HttpConnectionFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.HttpConnectionFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpConnectionFeature : Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature { public string ConnectionId { get => throw null; set => throw null; } @@ -287,7 +287,7 @@ namespace Microsoft public int RemotePort { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.HttpRequestFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.HttpRequestFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpRequestFeature : Microsoft.AspNetCore.Http.Features.IHttpRequestFeature { public System.IO.Stream Body { get => throw null; set => throw null; } @@ -302,14 +302,14 @@ namespace Microsoft public string Scheme { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.HttpRequestIdentifierFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.HttpRequestIdentifierFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpRequestIdentifierFeature : Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature { public HttpRequestIdentifierFeature() => throw null; public string TraceIdentifier { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.HttpRequestLifetimeFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.HttpRequestLifetimeFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpRequestLifetimeFeature : Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature { public void Abort() => throw null; @@ -317,7 +317,7 @@ namespace Microsoft public System.Threading.CancellationToken RequestAborted { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.HttpResponseFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.HttpResponseFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpResponseFeature : Microsoft.AspNetCore.Http.Features.IHttpResponseFeature { public System.IO.Stream Body { get => throw null; set => throw null; } @@ -330,20 +330,20 @@ namespace Microsoft public int StatusCode { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpActivityFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IHttpActivityFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpActivityFeature { System.Diagnostics.Activity Activity { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.ItemsFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.ItemsFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ItemsFeature : Microsoft.AspNetCore.Http.Features.IItemsFeature { public System.Collections.Generic.IDictionary Items { get => throw null; set => throw null; } public ItemsFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.QueryFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.QueryFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QueryFeature : Microsoft.AspNetCore.Http.Features.IQueryFeature { public Microsoft.AspNetCore.Http.IQueryCollection Query { get => throw null; set => throw null; } @@ -351,14 +351,14 @@ namespace Microsoft public QueryFeature(Microsoft.AspNetCore.Http.IQueryCollection query) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.RequestBodyPipeFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.RequestBodyPipeFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestBodyPipeFeature : Microsoft.AspNetCore.Http.Features.IRequestBodyPipeFeature { public System.IO.Pipelines.PipeReader Reader { get => throw null; } public RequestBodyPipeFeature(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.RequestCookiesFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.RequestCookiesFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestCookiesFeature : Microsoft.AspNetCore.Http.Features.IRequestCookiesFeature { public Microsoft.AspNetCore.Http.IRequestCookieCollection Cookies { get => throw null; set => throw null; } @@ -366,7 +366,7 @@ namespace Microsoft public RequestCookiesFeature(Microsoft.AspNetCore.Http.IRequestCookieCollection cookies) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.RequestServicesFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.RequestServicesFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestServicesFeature : Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature, System.IAsyncDisposable, System.IDisposable { public void Dispose() => throw null; @@ -375,7 +375,7 @@ namespace Microsoft public RequestServicesFeature(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.Extensions.DependencyInjection.IServiceScopeFactory scopeFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCookiesFeature : Microsoft.AspNetCore.Http.Features.IResponseCookiesFeature { public Microsoft.AspNetCore.Http.IResponseCookies Cookies { get => throw null; } @@ -383,21 +383,21 @@ namespace Microsoft public ResponseCookiesFeature(Microsoft.AspNetCore.Http.Features.IFeatureCollection features, Microsoft.Extensions.ObjectPool.ObjectPool builderPool) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.RouteValuesFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.RouteValuesFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteValuesFeature : Microsoft.AspNetCore.Http.Features.IRouteValuesFeature { public Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; set => throw null; } public RouteValuesFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.ServiceProvidersFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.ServiceProvidersFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceProvidersFeature : Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature { public System.IServiceProvider RequestServices { get => throw null; set => throw null; } public ServiceProvidersFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.TlsConnectionFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.TlsConnectionFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TlsConnectionFeature : Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature { public System.Security.Cryptography.X509Certificates.X509Certificate2 ClientCertificate { get => throw null; set => throw null; } @@ -407,7 +407,7 @@ namespace Microsoft namespace Authentication { - // Generated from `Microsoft.AspNetCore.Http.Features.Authentication.HttpAuthenticationFeature` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.Authentication.HttpAuthenticationFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpAuthenticationFeature : Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature { public HttpAuthenticationFeature() => throw null; @@ -422,7 +422,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.HttpServiceCollectionExtensions` in `Microsoft.AspNetCore.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.HttpServiceCollectionExtensions` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHttpContextAccessor(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpLogging.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpLogging.cs index aca5bc3bc03..d3698b273a4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpLogging.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpLogging.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.HttpLoggingBuilderExtensions` in `Microsoft.AspNetCore.HttpLogging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.HttpLoggingBuilderExtensions` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpLoggingBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHttpLogging(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -16,7 +16,7 @@ namespace Microsoft } namespace HttpLogging { - // Generated from `Microsoft.AspNetCore.HttpLogging.HttpLoggingFields` in `Microsoft.AspNetCore.HttpLogging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpLogging.HttpLoggingFields` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum HttpLoggingFields : long { @@ -41,7 +41,7 @@ namespace Microsoft ResponseTrailers = 512, } - // Generated from `Microsoft.AspNetCore.HttpLogging.HttpLoggingOptions` in `Microsoft.AspNetCore.HttpLogging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpLogging.HttpLoggingOptions` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpLoggingOptions { public HttpLoggingOptions() => throw null; @@ -53,7 +53,7 @@ namespace Microsoft public System.Collections.Generic.ISet ResponseHeaders { get => throw null; } } - // Generated from `Microsoft.AspNetCore.HttpLogging.MediaTypeOptions` in `Microsoft.AspNetCore.HttpLogging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpLogging.MediaTypeOptions` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MediaTypeOptions { public void AddBinary(Microsoft.Net.Http.Headers.MediaTypeHeaderValue mediaType) => throw null; @@ -63,9 +63,10 @@ namespace Microsoft public void Clear() => throw null; } - // Generated from `Microsoft.AspNetCore.HttpLogging.W3CLoggerOptions` in `Microsoft.AspNetCore.HttpLogging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpLogging.W3CLoggerOptions` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class W3CLoggerOptions { + public System.Collections.Generic.ISet AdditionalRequestHeaders { get => throw null; } public string FileName { get => throw null; set => throw null; } public int? FileSizeLimit { get => throw null; set => throw null; } public System.TimeSpan FlushInterval { get => throw null; set => throw null; } @@ -75,7 +76,7 @@ namespace Microsoft public W3CLoggerOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.HttpLogging.W3CLoggingFields` in `Microsoft.AspNetCore.HttpLogging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpLogging.W3CLoggingFields` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum W3CLoggingFields : long { @@ -109,7 +110,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.HttpLoggingServicesExtensions` in `Microsoft.AspNetCore.HttpLogging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.HttpLoggingServicesExtensions` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpLoggingServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHttpLogging(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpOverrides.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpOverrides.cs index a6d29df8e8b..d05e9921495 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpOverrides.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpOverrides.cs @@ -6,20 +6,20 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.CertificateForwardingBuilderExtensions` in `Microsoft.AspNetCore.HttpOverrides, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.CertificateForwardingBuilderExtensions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CertificateForwardingBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseCertificateForwarding(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ForwardedHeadersExtensions` in `Microsoft.AspNetCore.HttpOverrides, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ForwardedHeadersExtensions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ForwardedHeadersExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseForwardedHeaders(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseForwardedHeaders(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, Microsoft.AspNetCore.Builder.ForwardedHeadersOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ForwardedHeadersOptions` in `Microsoft.AspNetCore.HttpOverrides, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ForwardedHeadersOptions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ForwardedHeadersOptions { public System.Collections.Generic.IList AllowedHosts { get => throw null; set => throw null; } @@ -37,14 +37,14 @@ namespace Microsoft public bool RequireHeaderSymmetry { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.HttpMethodOverrideExtensions` in `Microsoft.AspNetCore.HttpOverrides, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.HttpMethodOverrideExtensions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpMethodOverrideExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHttpMethodOverride(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHttpMethodOverride(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions` in `Microsoft.AspNetCore.HttpOverrides, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpMethodOverrideOptions { public string FormFieldName { get => throw null; set => throw null; } @@ -54,14 +54,14 @@ namespace Microsoft } namespace HttpOverrides { - // Generated from `Microsoft.AspNetCore.HttpOverrides.CertificateForwardingMiddleware` in `Microsoft.AspNetCore.HttpOverrides, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpOverrides.CertificateForwardingMiddleware` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CertificateForwardingMiddleware { public CertificateForwardingMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions options) => throw null; public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; } - // Generated from `Microsoft.AspNetCore.HttpOverrides.CertificateForwardingOptions` in `Microsoft.AspNetCore.HttpOverrides, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpOverrides.CertificateForwardingOptions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CertificateForwardingOptions { public CertificateForwardingOptions() => throw null; @@ -69,7 +69,7 @@ namespace Microsoft public System.Func HeaderConverter; } - // Generated from `Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders` in `Microsoft.AspNetCore.HttpOverrides, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum ForwardedHeaders : int { @@ -80,7 +80,7 @@ namespace Microsoft XForwardedProto = 4, } - // Generated from `Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersDefaults` in `Microsoft.AspNetCore.HttpOverrides, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersDefaults` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ForwardedHeadersDefaults { public static string XForwardedForHeaderName { get => throw null; } @@ -91,7 +91,7 @@ namespace Microsoft public static string XOriginalProtoHeaderName { get => throw null; } } - // Generated from `Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersMiddleware` in `Microsoft.AspNetCore.HttpOverrides, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersMiddleware` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ForwardedHeadersMiddleware { public void ApplyForwarders(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -99,14 +99,14 @@ namespace Microsoft public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.HttpOverrides.HttpMethodOverrideMiddleware` in `Microsoft.AspNetCore.HttpOverrides, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpOverrides.HttpMethodOverrideMiddleware` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpMethodOverrideMiddleware { public HttpMethodOverrideMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options) => throw null; public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.HttpOverrides.IPNetwork` in `Microsoft.AspNetCore.HttpOverrides, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpOverrides.IPNetwork` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IPNetwork { public bool Contains(System.Net.IPAddress address) => throw null; @@ -121,7 +121,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.CertificateForwardingServiceExtensions` in `Microsoft.AspNetCore.HttpOverrides, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.CertificateForwardingServiceExtensions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CertificateForwardingServiceExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddCertificateForwarding(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configure) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpsPolicy.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpsPolicy.cs index bd0c68d9de7..fabec3c6f64 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpsPolicy.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpsPolicy.cs @@ -6,25 +6,25 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.HstsBuilderExtensions` in `Microsoft.AspNetCore.HttpsPolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.HstsBuilderExtensions` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HstsBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHsts(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HstsServicesExtensions` in `Microsoft.AspNetCore.HttpsPolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.HstsServicesExtensions` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HstsServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHsts(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HttpsPolicyBuilderExtensions` in `Microsoft.AspNetCore.HttpsPolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.HttpsPolicyBuilderExtensions` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpsPolicyBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHttpsRedirection(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HttpsRedirectionServicesExtensions` in `Microsoft.AspNetCore.HttpsPolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.HttpsRedirectionServicesExtensions` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpsRedirectionServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHttpsRedirection(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; @@ -33,7 +33,7 @@ namespace Microsoft } namespace HttpsPolicy { - // Generated from `Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware` in `Microsoft.AspNetCore.HttpsPolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HstsMiddleware { public HstsMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options) => throw null; @@ -41,7 +41,7 @@ namespace Microsoft public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.HttpsPolicy.HstsOptions` in `Microsoft.AspNetCore.HttpsPolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpsPolicy.HstsOptions` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HstsOptions { public System.Collections.Generic.IList ExcludedHosts { get => throw null; } @@ -51,7 +51,7 @@ namespace Microsoft public bool Preload { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware` in `Microsoft.AspNetCore.HttpsPolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpsRedirectionMiddleware { public HttpsRedirectionMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Configuration.IConfiguration config, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; @@ -59,7 +59,7 @@ namespace Microsoft public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionOptions` in `Microsoft.AspNetCore.HttpsPolicy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionOptions` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpsRedirectionOptions { public int? HttpsPort { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Identity.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Identity.cs index e02748808fd..871241b45f6 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Identity.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Identity.cs @@ -6,21 +6,21 @@ namespace Microsoft { namespace Identity { - // Generated from `Microsoft.AspNetCore.Identity.AspNetRoleManager<>` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.AspNetRoleManager<>` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AspNetRoleManager : Microsoft.AspNetCore.Identity.RoleManager, System.IDisposable where TRole : class { public AspNetRoleManager(Microsoft.AspNetCore.Identity.IRoleStore store, System.Collections.Generic.IEnumerable> roleValidators, Microsoft.AspNetCore.Identity.ILookupNormalizer keyNormalizer, Microsoft.AspNetCore.Identity.IdentityErrorDescriber errors, Microsoft.Extensions.Logging.ILogger> logger, Microsoft.AspNetCore.Http.IHttpContextAccessor contextAccessor) : base(default(Microsoft.AspNetCore.Identity.IRoleStore), default(System.Collections.Generic.IEnumerable>), default(Microsoft.AspNetCore.Identity.ILookupNormalizer), default(Microsoft.AspNetCore.Identity.IdentityErrorDescriber), default(Microsoft.Extensions.Logging.ILogger>)) => throw null; protected override System.Threading.CancellationToken CancellationToken { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.AspNetUserManager<>` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.AspNetUserManager<>` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AspNetUserManager : Microsoft.AspNetCore.Identity.UserManager, System.IDisposable where TUser : class { public AspNetUserManager(Microsoft.AspNetCore.Identity.IUserStore store, Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.AspNetCore.Identity.IPasswordHasher passwordHasher, System.Collections.Generic.IEnumerable> userValidators, System.Collections.Generic.IEnumerable> passwordValidators, Microsoft.AspNetCore.Identity.ILookupNormalizer keyNormalizer, Microsoft.AspNetCore.Identity.IdentityErrorDescriber errors, System.IServiceProvider services, Microsoft.Extensions.Logging.ILogger> logger) : base(default(Microsoft.AspNetCore.Identity.IUserStore), default(Microsoft.Extensions.Options.IOptions), default(Microsoft.AspNetCore.Identity.IPasswordHasher), default(System.Collections.Generic.IEnumerable>), default(System.Collections.Generic.IEnumerable>), default(Microsoft.AspNetCore.Identity.ILookupNormalizer), default(Microsoft.AspNetCore.Identity.IdentityErrorDescriber), default(System.IServiceProvider), default(Microsoft.Extensions.Logging.ILogger>)) => throw null; protected override System.Threading.CancellationToken CancellationToken { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataProtectionTokenProviderOptions { public DataProtectionTokenProviderOptions() => throw null; @@ -28,7 +28,7 @@ namespace Microsoft public System.TimeSpan TokenLifespan { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.DataProtectorTokenProvider<>` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.DataProtectorTokenProvider<>` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataProtectorTokenProvider : Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider where TUser : class { public virtual System.Threading.Tasks.Task CanGenerateTwoFactorTokenAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; @@ -41,7 +41,7 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ValidateAsync(string purpose, string token, Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.ExternalLoginInfo` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.ExternalLoginInfo` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExternalLoginInfo : Microsoft.AspNetCore.Identity.UserLoginInfo { public Microsoft.AspNetCore.Authentication.AuthenticationProperties AuthenticationProperties { get => throw null; set => throw null; } @@ -50,18 +50,18 @@ namespace Microsoft public System.Security.Claims.ClaimsPrincipal Principal { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.ISecurityStampValidator` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.ISecurityStampValidator` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISecurityStampValidator { System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context); } - // Generated from `Microsoft.AspNetCore.Identity.ITwoFactorSecurityStampValidator` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.ITwoFactorSecurityStampValidator` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITwoFactorSecurityStampValidator : Microsoft.AspNetCore.Identity.ISecurityStampValidator { } - // Generated from `Microsoft.AspNetCore.Identity.IdentityBuilderExtensions` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityBuilderExtensions` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class IdentityBuilderExtensions { public static Microsoft.AspNetCore.Identity.IdentityBuilder AddDefaultTokenProviders(this Microsoft.AspNetCore.Identity.IdentityBuilder builder) => throw null; @@ -69,7 +69,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Identity.IdentityBuilder AddSignInManager(this Microsoft.AspNetCore.Identity.IdentityBuilder builder) where TSignInManager : class => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityConstants` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityConstants` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityConstants { public static string ApplicationScheme; @@ -79,7 +79,7 @@ namespace Microsoft public static string TwoFactorUserIdScheme; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityCookieAuthenticationBuilderExtensions` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityCookieAuthenticationBuilderExtensions` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class IdentityCookieAuthenticationBuilderExtensions { public static Microsoft.Extensions.Options.OptionsBuilder AddApplicationCookie(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder) => throw null; @@ -90,7 +90,7 @@ namespace Microsoft public static Microsoft.Extensions.Options.OptionsBuilder AddTwoFactorUserIdCookie(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityCookiesBuilder` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityCookiesBuilder` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityCookiesBuilder { public Microsoft.Extensions.Options.OptionsBuilder ApplicationCookie { get => throw null; set => throw null; } @@ -100,7 +100,7 @@ namespace Microsoft public Microsoft.Extensions.Options.OptionsBuilder TwoFactorUserIdCookie { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.SecurityStampRefreshingPrincipalContext` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.SecurityStampRefreshingPrincipalContext` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SecurityStampRefreshingPrincipalContext { public System.Security.Claims.ClaimsPrincipal CurrentPrincipal { get => throw null; set => throw null; } @@ -108,14 +108,14 @@ namespace Microsoft public SecurityStampRefreshingPrincipalContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.SecurityStampValidator` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.SecurityStampValidator` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SecurityStampValidator { public static System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context) where TValidator : Microsoft.AspNetCore.Identity.ISecurityStampValidator => throw null; public static System.Threading.Tasks.Task ValidatePrincipalAsync(Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.SecurityStampValidator<>` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.SecurityStampValidator<>` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SecurityStampValidator : Microsoft.AspNetCore.Identity.ISecurityStampValidator where TUser : class { public Microsoft.AspNetCore.Authentication.ISystemClock Clock { get => throw null; } @@ -128,7 +128,7 @@ namespace Microsoft protected virtual System.Threading.Tasks.Task VerifySecurityStamp(System.Security.Claims.ClaimsPrincipal principal) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SecurityStampValidatorOptions { public System.Func OnRefreshingPrincipal { get => throw null; set => throw null; } @@ -136,7 +136,7 @@ namespace Microsoft public System.TimeSpan ValidationInterval { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.SignInManager<>` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.SignInManager<>` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SignInManager where TUser : class { public virtual System.Threading.Tasks.Task CanSignInAsync(TUser user) => throw null; @@ -180,7 +180,7 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ValidateTwoFactorSecurityStampAsync(System.Security.Claims.ClaimsPrincipal principal) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.TwoFactorSecurityStampValidator<>` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.TwoFactorSecurityStampValidator<>` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TwoFactorSecurityStampValidator : Microsoft.AspNetCore.Identity.SecurityStampValidator, Microsoft.AspNetCore.Identity.ISecurityStampValidator, Microsoft.AspNetCore.Identity.ITwoFactorSecurityStampValidator where TUser : class { protected override System.Threading.Tasks.Task SecurityStampVerified(TUser user, Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context) => throw null; @@ -194,7 +194,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.IdentityServiceCollectionExtensions` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.IdentityServiceCollectionExtensions` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class IdentityServiceCollectionExtensions { public static Microsoft.AspNetCore.Identity.IdentityBuilder AddIdentity(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TRole : class where TUser : class => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.Routing.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.Routing.cs index 9407778c975..00f5812472a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.Routing.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.Routing.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Routing { - // Generated from `Microsoft.AspNetCore.Localization.Routing.RouteDataRequestCultureProvider` in `Microsoft.AspNetCore.Localization.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Localization.Routing.RouteDataRequestCultureProvider` in `Microsoft.AspNetCore.Localization.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteDataRequestCultureProvider : Microsoft.AspNetCore.Localization.RequestCultureProvider { public override System.Threading.Tasks.Task DetermineProviderCultureResult(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.cs index 0ee8f565ee8..383f3b38929 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ApplicationBuilderExtensions` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ApplicationBuilderExtensions` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ApplicationBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRequestLocalization(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -15,7 +15,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRequestLocalization(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, params string[] cultures) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RequestLocalizationOptions` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.RequestLocalizationOptions` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestLocalizationOptions { public Microsoft.AspNetCore.Builder.RequestLocalizationOptions AddSupportedCultures(params string[] cultures) => throw null; @@ -31,7 +31,7 @@ namespace Microsoft public System.Collections.Generic.IList SupportedUICultures { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.RequestLocalizationOptionsExtensions` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.RequestLocalizationOptionsExtensions` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestLocalizationOptionsExtensions { public static Microsoft.AspNetCore.Builder.RequestLocalizationOptions AddInitialRequestCultureProvider(this Microsoft.AspNetCore.Builder.RequestLocalizationOptions requestLocalizationOptions, Microsoft.AspNetCore.Localization.RequestCultureProvider requestCultureProvider) => throw null; @@ -40,7 +40,7 @@ namespace Microsoft } namespace Localization { - // Generated from `Microsoft.AspNetCore.Localization.AcceptLanguageHeaderRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Localization.AcceptLanguageHeaderRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AcceptLanguageHeaderRequestCultureProvider : Microsoft.AspNetCore.Localization.RequestCultureProvider { public AcceptLanguageHeaderRequestCultureProvider() => throw null; @@ -48,7 +48,7 @@ namespace Microsoft public int MaximumAcceptLanguageHeaderValuesToTry { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Localization.CookieRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Localization.CookieRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieRequestCultureProvider : Microsoft.AspNetCore.Localization.RequestCultureProvider { public string CookieName { get => throw null; set => throw null; } @@ -59,27 +59,27 @@ namespace Microsoft public static Microsoft.AspNetCore.Localization.ProviderCultureResult ParseCookieValue(string value) => throw null; } - // Generated from `Microsoft.AspNetCore.Localization.CustomRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Localization.CustomRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CustomRequestCultureProvider : Microsoft.AspNetCore.Localization.RequestCultureProvider { public CustomRequestCultureProvider(System.Func> provider) => throw null; public override System.Threading.Tasks.Task DetermineProviderCultureResult(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Localization.IRequestCultureFeature` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Localization.IRequestCultureFeature` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestCultureFeature { Microsoft.AspNetCore.Localization.IRequestCultureProvider Provider { get; } Microsoft.AspNetCore.Localization.RequestCulture RequestCulture { get; } } - // Generated from `Microsoft.AspNetCore.Localization.IRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Localization.IRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestCultureProvider { System.Threading.Tasks.Task DetermineProviderCultureResult(Microsoft.AspNetCore.Http.HttpContext httpContext); } - // Generated from `Microsoft.AspNetCore.Localization.ProviderCultureResult` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Localization.ProviderCultureResult` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProviderCultureResult { public System.Collections.Generic.IList Cultures { get => throw null; } @@ -90,7 +90,7 @@ namespace Microsoft public System.Collections.Generic.IList UICultures { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Localization.QueryStringRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Localization.QueryStringRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QueryStringRequestCultureProvider : Microsoft.AspNetCore.Localization.RequestCultureProvider { public override System.Threading.Tasks.Task DetermineProviderCultureResult(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -99,7 +99,7 @@ namespace Microsoft public string UIQueryStringKey { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Localization.RequestCulture` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Localization.RequestCulture` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestCulture { public System.Globalization.CultureInfo Culture { get => throw null; } @@ -110,7 +110,7 @@ namespace Microsoft public System.Globalization.CultureInfo UICulture { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Localization.RequestCultureFeature` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Localization.RequestCultureFeature` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestCultureFeature : Microsoft.AspNetCore.Localization.IRequestCultureFeature { public Microsoft.AspNetCore.Localization.IRequestCultureProvider Provider { get => throw null; } @@ -118,7 +118,7 @@ namespace Microsoft public RequestCultureFeature(Microsoft.AspNetCore.Localization.RequestCulture requestCulture, Microsoft.AspNetCore.Localization.IRequestCultureProvider provider) => throw null; } - // Generated from `Microsoft.AspNetCore.Localization.RequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Localization.RequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RequestCultureProvider : Microsoft.AspNetCore.Localization.IRequestCultureProvider { public abstract System.Threading.Tasks.Task DetermineProviderCultureResult(Microsoft.AspNetCore.Http.HttpContext httpContext); @@ -127,7 +127,7 @@ namespace Microsoft protected RequestCultureProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestLocalizationMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -140,7 +140,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.RequestLocalizationServiceCollectionExtensions` in `Microsoft.AspNetCore.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.RequestLocalizationServiceCollectionExtensions` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestLocalizationServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestLocalization(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Metadata.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Metadata.cs index 1090c4a6dcf..bb27ea7d64c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Metadata.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Metadata.cs @@ -6,12 +6,12 @@ namespace Microsoft { namespace Authorization { - // Generated from `Microsoft.AspNetCore.Authorization.IAllowAnonymous` in `Microsoft.AspNetCore.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.IAllowAnonymous` in `Microsoft.AspNetCore.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAllowAnonymous { } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizeData` in `Microsoft.AspNetCore.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizeData` in `Microsoft.AspNetCore.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizeData { string AuthenticationSchemes { get; set; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Abstractions.cs index 796013c42ac..f9f42448991 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Abstractions.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Mvc { - // Generated from `Microsoft.AspNetCore.Mvc.ActionContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionContext { public ActionContext() => throw null; @@ -19,13 +19,13 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteData RouteData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.IActionResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.IActionResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionResult { System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.IUrlHelper` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.IUrlHelper` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUrlHelper { string Action(Microsoft.AspNetCore.Mvc.Routing.UrlActionContext actionContext); @@ -38,7 +38,7 @@ namespace Microsoft namespace Abstractions { - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionDescriptor { public System.Collections.Generic.IList ActionConstraints { get => throw null; set => throw null; } @@ -54,21 +54,21 @@ namespace Microsoft public System.Collections.Generic.IDictionary RouteValues { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorExtensions` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorExtensions` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ActionDescriptorExtensions { public static T GetProperty(this Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor actionDescriptor) => throw null; public static void SetProperty(this Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor actionDescriptor, T value) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionDescriptorProviderContext { public ActionDescriptorProviderContext() => throw null; public System.Collections.Generic.IList Results { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionInvokerProviderContext { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -76,7 +76,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionDescriptorProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorProviderContext context); @@ -84,13 +84,13 @@ namespace Microsoft int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionInvoker { System.Threading.Tasks.Task InvokeAsync(); } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionInvokerProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext context); @@ -98,7 +98,7 @@ namespace Microsoft int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ParameterDescriptor { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo BindingInfo { get => throw null; set => throw null; } @@ -110,7 +110,7 @@ namespace Microsoft } namespace ActionConstraints { - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionConstraintContext { public ActionConstraintContext() => throw null; @@ -119,7 +119,7 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteContext RouteContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionConstraintItem { public ActionConstraintItem(Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata metadata) => throw null; @@ -128,7 +128,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata Metadata { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionConstraintProviderContext { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor Action { get => throw null; } @@ -137,7 +137,7 @@ namespace Microsoft public System.Collections.Generic.IList Results { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionSelectorCandidate` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionSelectorCandidate` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ActionSelectorCandidate { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor Action { get => throw null; } @@ -146,26 +146,26 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList Constraints { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionConstraint : Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata { bool Accept(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext context); int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintFactory` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintFactory` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionConstraintFactory : Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata { Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint CreateInstance(System.IServiceProvider services); bool IsReusable { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionConstraintMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionConstraintProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext context); @@ -176,7 +176,7 @@ namespace Microsoft } namespace ApiExplorer { - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiDescription { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; set => throw null; } @@ -190,7 +190,7 @@ namespace Microsoft public System.Collections.Generic.IList SupportedResponseTypes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiDescriptionProviderContext { public System.Collections.Generic.IReadOnlyList Actions { get => throw null; } @@ -198,7 +198,7 @@ namespace Microsoft public System.Collections.Generic.IList Results { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterDescription` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterDescription` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiParameterDescription { public ApiParameterDescription() => throw null; @@ -213,7 +213,7 @@ namespace Microsoft public System.Type Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterRouteInfo` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterRouteInfo` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiParameterRouteInfo { public ApiParameterRouteInfo() => throw null; @@ -222,7 +222,7 @@ namespace Microsoft public bool IsOptional { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiRequestFormat` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiRequestFormat` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiRequestFormat { public ApiRequestFormat() => throw null; @@ -230,7 +230,7 @@ namespace Microsoft public string MediaType { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseFormat` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseFormat` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiResponseFormat { public ApiResponseFormat() => throw null; @@ -238,7 +238,7 @@ namespace Microsoft public string MediaType { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseType` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseType` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiResponseType { public System.Collections.Generic.IList ApiResponseFormats { get => throw null; set => throw null; } @@ -249,7 +249,7 @@ namespace Microsoft public System.Type Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiDescriptionProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext context); @@ -260,7 +260,7 @@ namespace Microsoft } namespace Authorization { - // Generated from `Microsoft.AspNetCore.Mvc.Authorization.IAllowAnonymousFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Authorization.IAllowAnonymousFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAllowAnonymousFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } @@ -268,7 +268,7 @@ namespace Microsoft } namespace Filters { - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionExecutedContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public ActionExecutedContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters, object controller) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(System.Collections.Generic.IList)) => throw null; @@ -280,7 +280,7 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionExecutingContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual System.Collections.Generic.IDictionary ActionArguments { get => throw null; } @@ -289,17 +289,17 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task ActionExecutionDelegate(); - // Generated from `Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationFilterContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public AuthorizationFilterContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(System.Collections.Generic.IList)) => throw null; public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ExceptionContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.ExceptionContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExceptionContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual System.Exception Exception { get => throw null; set => throw null; } @@ -309,7 +309,7 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class FilterContext : Microsoft.AspNetCore.Mvc.ActionContext { public FilterContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters) => throw null; @@ -318,7 +318,7 @@ namespace Microsoft public bool IsEffectivePolicy(TMetadata policy) where TMetadata : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterDescriptor` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterDescriptor` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FilterDescriptor { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata Filter { get => throw null; } @@ -327,7 +327,7 @@ namespace Microsoft public int Scope { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterItem` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterItem` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FilterItem { public Microsoft.AspNetCore.Mvc.Filters.FilterDescriptor Descriptor { get => throw null; } @@ -337,7 +337,7 @@ namespace Microsoft public bool IsReusable { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FilterProviderContext { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; set => throw null; } @@ -345,84 +345,84 @@ namespace Microsoft public System.Collections.Generic.IList Results { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IActionFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IActionFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void OnActionExecuted(Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext context); void OnActionExecuting(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAlwaysRunResultFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAlwaysRunResultFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAlwaysRunResultFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IResultFilter { } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncActionFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { System.Threading.Tasks.Task OnActionExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate next); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncAlwaysRunResultFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncAlwaysRunResultFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncAlwaysRunResultFilter : Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncAuthorizationFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { System.Threading.Tasks.Task OnAuthorizationAsync(Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncExceptionFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncExceptionFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncExceptionFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { System.Threading.Tasks.Task OnExceptionAsync(Microsoft.AspNetCore.Mvc.Filters.ExceptionContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncResourceFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncResourceFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncResourceFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { System.Threading.Tasks.Task OnResourceExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate next); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncResultFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { System.Threading.Tasks.Task OnResultExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate next); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAuthorizationFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAuthorizationFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void OnAuthorization(Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IExceptionFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IExceptionFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IExceptionFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void OnException(Microsoft.AspNetCore.Mvc.Filters.ExceptionContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IFilterContainer` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IFilterContainer` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFilterContainer { Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata FilterDefinition { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IFilterFactory` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IFilterFactory` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFilterFactory : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider); bool IsReusable { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IFilterProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IFilterProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFilterProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.Filters.FilterProviderContext context); @@ -430,27 +430,27 @@ namespace Microsoft int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOrderedFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IResourceFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IResourceFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResourceFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void OnResourceExecuted(Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context); void OnResourceExecuting(Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IResultFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IResultFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResultFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void OnResultExecuted(Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext context); void OnResultExecuting(Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResourceExecutedContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual bool Canceled { get => throw null; set => throw null; } @@ -461,7 +461,7 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResourceExecutingContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public ResourceExecutingContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters, System.Collections.Generic.IList valueProviderFactories) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(System.Collections.Generic.IList)) => throw null; @@ -469,10 +469,10 @@ namespace Microsoft public System.Collections.Generic.IList ValueProviderFactories { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task ResourceExecutionDelegate(); - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResultExecutedContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual bool Canceled { get => throw null; set => throw null; } @@ -484,7 +484,7 @@ namespace Microsoft public ResultExecutedContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters, Microsoft.AspNetCore.Mvc.IActionResult result, object controller) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(System.Collections.Generic.IList)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResultExecutingContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual bool Cancel { get => throw null; set => throw null; } @@ -493,13 +493,13 @@ namespace Microsoft public ResultExecutingContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters, Microsoft.AspNetCore.Mvc.IActionResult result, object controller) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(System.Collections.Generic.IList)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task ResultExecutionDelegate(); } namespace Formatters { - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.FormatterCollection<>` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.FormatterCollection<>` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormatterCollection : System.Collections.ObjectModel.Collection { public FormatterCollection() => throw null; @@ -508,27 +508,27 @@ namespace Microsoft public void RemoveType() where T : TFormatter => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IInputFormatter { bool CanRead(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context); System.Threading.Tasks.Task ReadAsync(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IInputFormatterExceptionPolicy { Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy ExceptionPolicy { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOutputFormatter { bool CanWriteResult(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context); System.Threading.Tasks.Task WriteAsync(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputFormatterContext { public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; } @@ -542,7 +542,7 @@ namespace Microsoft public bool TreatEmptyInputAsDefaultValue { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatterException` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatterException` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputFormatterException : System.Exception { public InputFormatterException() => throw null; @@ -550,14 +550,14 @@ namespace Microsoft public InputFormatterException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum InputFormatterExceptionPolicy : int { AllExceptions = 0, MalformedInputExceptions = 1, } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputFormatterResult { public static Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult Failure() => throw null; @@ -571,7 +571,7 @@ namespace Microsoft public static System.Threading.Tasks.Task SuccessAsync(object model) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class OutputFormatterCanWriteContext { public virtual Microsoft.Extensions.Primitives.StringSegment ContentType { get => throw null; set => throw null; } @@ -582,7 +582,7 @@ namespace Microsoft protected OutputFormatterCanWriteContext(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OutputFormatterWriteContext : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext { public OutputFormatterWriteContext(Microsoft.AspNetCore.Http.HttpContext httpContext, System.Func writerFactory, System.Type objectType, object @object) : base(default(Microsoft.AspNetCore.Http.HttpContext)) => throw null; @@ -592,7 +592,7 @@ namespace Microsoft } namespace ModelBinding { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingInfo { public string BinderModelName { get => throw null; set => throw null; } @@ -608,7 +608,7 @@ namespace Microsoft public bool TryApplyBindingInfo(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingSource : System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource s1, Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource s2) => throw null; @@ -634,7 +634,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource Special; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.CompositeBindingSource` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.CompositeBindingSource` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeBindingSource : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource { private CompositeBindingSource() : base(default(string), default(string), default(bool), default(bool)) => throw null; @@ -643,7 +643,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Mvc.ModelBinding.CompositeBindingSource Create(System.Collections.Generic.IEnumerable bindingSources, string displayName) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.EmptyBodyBehavior` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.EmptyBodyBehavior` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum EmptyBodyBehavior : int { Allow = 1, @@ -651,7 +651,7 @@ namespace Microsoft Disallow = 2, } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.EnumGroupAndName` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.EnumGroupAndName` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct EnumGroupAndName { // Stub generator skipped constructor @@ -661,75 +661,75 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBinderTypeProviderMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata { System.Type BinderType { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBindingSourceMetadata { Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IConfigureEmptyBodyBehavior` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IConfigureEmptyBodyBehavior` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IConfigureEmptyBodyBehavior { Microsoft.AspNetCore.Mvc.ModelBinding.EmptyBodyBehavior EmptyBodyBehavior { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelBinder { System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelBinderProvider { Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelMetadataProvider { System.Collections.Generic.IEnumerable GetMetadataForProperties(System.Type modelType); Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata GetMetadataForType(System.Type modelType); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelNameProvider { string Name { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPropertyFilterProvider { System.Func PropertyFilter { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestPredicateProvider { System.Func RequestPredicate { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValueProvider { bool ContainsPrefix(string prefix); Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult GetValue(string key); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValueProviderFactory { System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ModelBinderProviderContext { public abstract Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo BindingInfo { get; } @@ -741,10 +741,10 @@ namespace Microsoft public virtual System.IServiceProvider Services { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ModelBindingContext { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext+NestedScope` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext+NestedScope` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct NestedScope : System.IDisposable { public void Dispose() => throw null; @@ -775,7 +775,7 @@ namespace Microsoft public abstract Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider ValueProvider { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ModelBindingResult : System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult x, Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult y) => throw null; @@ -791,7 +791,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelError` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelError` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelError { public string ErrorMessage { get => throw null; } @@ -801,7 +801,7 @@ namespace Microsoft public ModelError(string errorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelErrorCollection` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelErrorCollection` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelErrorCollection : System.Collections.ObjectModel.Collection { public void Add(System.Exception exception) => throw null; @@ -809,7 +809,7 @@ namespace Microsoft public ModelErrorCollection() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ModelMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider, System.IEquatable { public abstract System.Collections.Generic.IReadOnlyDictionary AdditionalValues { get; } @@ -878,7 +878,7 @@ namespace Microsoft public abstract System.Collections.Generic.IReadOnlyList ValidatorMetadata { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider { public virtual Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata GetMetadataForConstructor(System.Reflection.ConstructorInfo constructor, System.Type modelType) => throw null; @@ -890,17 +890,17 @@ namespace Microsoft protected ModelMetadataProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelPropertyCollection` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelPropertyCollection` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelPropertyCollection : System.Collections.ObjectModel.ReadOnlyCollection { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata this[string propertyName] { get => throw null; } public ModelPropertyCollection(System.Collections.Generic.IEnumerable properties) : base(default(System.Collections.Generic.IList)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelStateDictionary : System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+Enumerator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+Enumerator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -913,7 +913,7 @@ namespace Microsoft } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+KeyEnumerable` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+KeyEnumerable` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct KeyEnumerable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary.KeyEnumerator GetEnumerator() => throw null; @@ -924,7 +924,7 @@ namespace Microsoft } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+KeyEnumerator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+KeyEnumerator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct KeyEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public string Current { get => throw null; } @@ -937,7 +937,7 @@ namespace Microsoft } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+PrefixEnumerable` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+PrefixEnumerable` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PrefixEnumerable : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary.Enumerator GetEnumerator() => throw null; @@ -948,7 +948,7 @@ namespace Microsoft } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+ValueEnumerable` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+ValueEnumerable` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ValueEnumerable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary.ValueEnumerator GetEnumerator() => throw null; @@ -959,7 +959,7 @@ namespace Microsoft } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+ValueEnumerator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+ValueEnumerator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ValueEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry Current { get => throw null; } @@ -1012,7 +1012,7 @@ namespace Microsoft System.Collections.Generic.IEnumerable System.Collections.Generic.IReadOnlyDictionary.Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ModelStateEntry { public string AttemptedValue { get => throw null; set => throw null; } @@ -1025,7 +1025,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState ValidationState { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ModelValidationState : int { Invalid = 1, @@ -1034,20 +1034,20 @@ namespace Microsoft Valid = 2, } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.TooManyModelErrorsException` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.TooManyModelErrorsException` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TooManyModelErrorsException : System.Exception { public TooManyModelErrorsException(string message) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderException` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderException` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValueProviderException : System.Exception { public ValueProviderException(string message) => throw null; public ValueProviderException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValueProviderFactoryContext { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -1055,7 +1055,7 @@ namespace Microsoft public System.Collections.Generic.IList ValueProviders { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ValueProviderResult : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult x, Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult y) => throw null; @@ -1080,7 +1080,7 @@ namespace Microsoft namespace Metadata { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ModelBindingMessageProvider { public virtual System.Func AttemptedValueIsInvalidAccessor { get => throw null; } @@ -1097,7 +1097,7 @@ namespace Microsoft public virtual System.Func ValueMustNotBeNullAccessor { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ModelMetadataIdentity : System.IEquatable { public System.Reflection.ConstructorInfo ConstructorInfo { get => throw null; } @@ -1119,7 +1119,7 @@ namespace Microsoft public System.Reflection.PropertyInfo PropertyInfo { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataKind` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataKind` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ModelMetadataKind : int { Constructor = 3, @@ -1131,14 +1131,14 @@ namespace Microsoft } namespace Validation { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClientModelValidationContext : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase { public System.Collections.Generic.IDictionary Attributes { get => throw null; } public ClientModelValidationContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, System.Collections.Generic.IDictionary attributes) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata), default(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorItem` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorItem` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClientValidatorItem { public ClientValidatorItem() => throw null; @@ -1148,7 +1148,7 @@ namespace Microsoft public object ValidatorMetadata { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClientValidatorProviderContext { public ClientValidatorProviderContext(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata, System.Collections.Generic.IList items) => throw null; @@ -1157,43 +1157,43 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList ValidatorMetadata { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IClientModelValidator { void AddValidation(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IClientModelValidatorProvider { void CreateValidators(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelValidator { System.Collections.Generic.IEnumerable Validate(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelValidatorProvider { void CreateValidators(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPropertyValidationFilter { bool ShouldValidateEntry(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry entry, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry parentEntry); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValidationStrategy { System.Collections.Generic.IEnumerator GetChildren(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, object model); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelValidationContext : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase { public object Container { get => throw null; } @@ -1201,7 +1201,7 @@ namespace Microsoft public ModelValidationContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, object container, object model) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata), default(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelValidationContextBase { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -1210,7 +1210,7 @@ namespace Microsoft public ModelValidationContextBase(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelValidationResult { public string MemberName { get => throw null; } @@ -1218,7 +1218,7 @@ namespace Microsoft public ModelValidationResult(string memberName, string message) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelValidatorProviderContext { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata ModelMetadata { get => throw null; set => throw null; } @@ -1227,7 +1227,7 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList ValidatorMetadata { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ValidationEntry { public string Key { get => throw null; } @@ -1238,7 +1238,7 @@ namespace Microsoft public ValidationEntry(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, object model) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationStateDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.IEnumerable { public void Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -1264,7 +1264,7 @@ namespace Microsoft System.Collections.Generic.IEnumerable System.Collections.Generic.IReadOnlyDictionary.Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationStateEntry { public string Key { get => throw null; set => throw null; } @@ -1274,7 +1274,7 @@ namespace Microsoft public ValidationStateEntry() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorItem` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorItem` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidatorItem { public bool IsReusable { get => throw null; set => throw null; } @@ -1288,7 +1288,7 @@ namespace Microsoft } namespace Routing { - // Generated from `Microsoft.AspNetCore.Mvc.Routing.AttributeRouteInfo` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.AttributeRouteInfo` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AttributeRouteInfo { public AttributeRouteInfo() => throw null; @@ -1299,7 +1299,7 @@ namespace Microsoft public string Template { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlActionContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlActionContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlActionContext { public string Action { get => throw null; set => throw null; } @@ -1311,7 +1311,7 @@ namespace Microsoft public object Values { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlRouteContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlRouteContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlRouteContext { public string Fragment { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ApiExplorer.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ApiExplorer.cs index 6072fcb9410..8ae38aaab5f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ApiExplorer.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ApiExplorer.cs @@ -8,14 +8,14 @@ namespace Microsoft { namespace ApiExplorer { - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionExtensions` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionExtensions` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ApiDescriptionExtensions { public static T GetProperty(this Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription apiDescription) => throw null; public static void SetProperty(this Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription apiDescription, T value) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroup` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroup` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiDescriptionGroup { public ApiDescriptionGroup(string groupName, System.Collections.Generic.IReadOnlyList items) => throw null; @@ -23,7 +23,7 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList Items { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollection` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollection` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiDescriptionGroupCollection { public ApiDescriptionGroupCollection(System.Collections.Generic.IReadOnlyList items, int version) => throw null; @@ -31,14 +31,14 @@ namespace Microsoft public int Version { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollectionProvider` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollectionProvider` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiDescriptionGroupCollectionProvider : Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupCollectionProvider { public ApiDescriptionGroupCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider actionDescriptorCollectionProvider, System.Collections.Generic.IEnumerable apiDescriptionProviders) => throw null; public Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollection ApiDescriptionGroups { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultApiDescriptionProvider : Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider { public DefaultApiDescriptionProvider(Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Options.IOptions routeOptions) => throw null; @@ -47,7 +47,7 @@ namespace Microsoft public int Order { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupCollectionProvider` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupCollectionProvider` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiDescriptionGroupCollectionProvider { Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollection ApiDescriptionGroups { get; } @@ -60,13 +60,13 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.EndpointMetadataApiExplorerServiceCollectionExtensions` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.EndpointMetadataApiExplorerServiceCollectionExtensions` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EndpointMetadataApiExplorerServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddEndpointsApiExplorer(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcApiExplorerMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcApiExplorerMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcApiExplorerMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddApiExplorer(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Core.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Core.cs index 528a1c9ef1f..7ebade2d37b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Core.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Core.cs @@ -6,13 +6,14 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerActionEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { public void Add(System.Action convention) => throw null; + public void Finally(System.Action finalConvention) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ControllerEndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder MapAreaControllerRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string name, string areaName, string pattern, object defaults = default(object), object constraints = default(object), object dataTokens = default(object)) => throw null; @@ -28,7 +29,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToController(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, string action, string controller) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.MvcApplicationBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.MvcApplicationBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcApplicationBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMvc(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -36,7 +37,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMvcWithDefaultRoute(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.MvcAreaRouteBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.MvcAreaRouteBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcAreaRouteBuilderExtensions { public static Microsoft.AspNetCore.Routing.IRouteBuilder MapAreaRoute(this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string areaName, string template) => throw null; @@ -48,7 +49,7 @@ namespace Microsoft } namespace Mvc { - // Generated from `Microsoft.AspNetCore.Mvc.AcceptVerbsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.AcceptVerbsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AcceptVerbsAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Routing.IActionHttpMethodProvider, Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider { public AcceptVerbsAttribute(params string[] methods) => throw null; @@ -61,7 +62,7 @@ namespace Microsoft string Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider.Template { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.AcceptedAtActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.AcceptedAtActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AcceptedAtActionResult : Microsoft.AspNetCore.Mvc.ObjectResult { public AcceptedAtActionResult(string actionName, string controllerName, object routeValues, object value) : base(default(object)) => throw null; @@ -72,7 +73,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AcceptedAtRouteResult : Microsoft.AspNetCore.Mvc.ObjectResult { public AcceptedAtRouteResult(object routeValues, object value) : base(default(object)) => throw null; @@ -83,7 +84,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.AcceptedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.AcceptedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AcceptedResult : Microsoft.AspNetCore.Mvc.ObjectResult { public AcceptedResult() : base(default(object)) => throw null; @@ -93,20 +94,20 @@ namespace Microsoft public override void OnFormatting(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ActionContextAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionContextAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionContextAttribute : System.Attribute { public ActionContextAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ActionNameAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionNameAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionNameAttribute : System.Attribute { public ActionNameAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ActionResult : Microsoft.AspNetCore.Mvc.IActionResult { protected ActionResult() => throw null; @@ -114,7 +115,7 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ActionResult<>` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionResult<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionResult : Microsoft.AspNetCore.Mvc.Infrastructure.IConvertToActionResult { public ActionResult(Microsoft.AspNetCore.Mvc.ActionResult result) => throw null; @@ -126,17 +127,18 @@ namespace Microsoft public static implicit operator Microsoft.AspNetCore.Mvc.ActionResult(TValue value) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.AntiforgeryValidationFailedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.AntiforgeryValidationFailedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AntiforgeryValidationFailedResult : Microsoft.AspNetCore.Mvc.BadRequestResult, Microsoft.AspNetCore.Mvc.Core.Infrastructure.IAntiforgeryValidationFailedResult, Microsoft.AspNetCore.Mvc.IActionResult { public AntiforgeryValidationFailedResult() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApiBehaviorOptions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiBehaviorOptions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiBehaviorOptions : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public ApiBehaviorOptions() => throw null; public System.Collections.Generic.IDictionary ClientErrorMapping { get => throw null; } + public bool DisableImplicitFromServicesParameters { get => throw null; set => throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null; System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; public System.Func InvalidModelStateResponseFactory { get => throw null; set => throw null; } @@ -146,34 +148,34 @@ namespace Microsoft public bool SuppressModelStateInvalidFilter { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiControllerAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiControllerAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiControllerAttribute : Microsoft.AspNetCore.Mvc.ControllerAttribute, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Infrastructure.IApiBehaviorMetadata { public ApiControllerAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApiConventionMethodAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiConventionMethodAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiConventionMethodAttribute : System.Attribute { public ApiConventionMethodAttribute(System.Type conventionType, string methodName) => throw null; public System.Type ConventionType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiConventionTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiConventionTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiConventionTypeAttribute : System.Attribute { public ApiConventionTypeAttribute(System.Type conventionType) => throw null; public System.Type ConventionType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiDescriptionActionData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiDescriptionActionData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiDescriptionActionData { public ApiDescriptionActionData() => throw null; public string GroupName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorerSettingsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorerSettingsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiExplorerSettingsAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupNameProvider, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionVisibilityProvider { public ApiExplorerSettingsAttribute() => throw null; @@ -181,26 +183,26 @@ namespace Microsoft public bool IgnoreApi { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.AreaAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.AreaAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AreaAttribute : Microsoft.AspNetCore.Mvc.Routing.RouteValueAttribute { public AreaAttribute(string areaName) : base(default(string), default(string)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.BadRequestObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.BadRequestObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BadRequestObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult { public BadRequestObjectResult(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState) : base(default(object)) => throw null; public BadRequestObjectResult(object error) : base(default(object)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.BadRequestResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.BadRequestResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BadRequestResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public BadRequestResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.BindAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.BindAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider { public BindAttribute(params string[] include) => throw null; @@ -210,14 +212,14 @@ namespace Microsoft public System.Func PropertyFilter { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.BindPropertiesAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.BindPropertiesAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindPropertiesAttribute : System.Attribute { public BindPropertiesAttribute() => throw null; public bool SupportsGet { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.BindPropertyAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.BindPropertyAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindPropertyAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider { public BindPropertyAttribute() => throw null; @@ -228,7 +230,7 @@ namespace Microsoft public bool SupportsGet { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.CacheProfile` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.CacheProfile` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheProfile { public CacheProfile() => throw null; @@ -239,7 +241,7 @@ namespace Microsoft public string[] VaryByQueryKeys { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ChallengeResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ChallengeResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ChallengeResult : Microsoft.AspNetCore.Mvc.ActionResult { public System.Collections.Generic.IList AuthenticationSchemes { get => throw null; set => throw null; } @@ -253,7 +255,7 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ClientErrorData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ClientErrorData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClientErrorData { public ClientErrorData() => throw null; @@ -261,7 +263,7 @@ namespace Microsoft public string Title { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.CompatibilityVersion` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.CompatibilityVersion` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum CompatibilityVersion : int { Latest = 2147483647, @@ -271,20 +273,20 @@ namespace Microsoft Version_3_0 = 3, } - // Generated from `Microsoft.AspNetCore.Mvc.ConflictObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ConflictObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConflictObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult { public ConflictObjectResult(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState) : base(default(object)) => throw null; public ConflictObjectResult(object error) : base(default(object)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ConflictResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ConflictResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConflictResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public ConflictResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ConsumesAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ConsumesAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsumesAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IAcceptsMetadata, Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint, Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestMetadataProvider, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IResourceFilter { public bool Accept(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext context) => throw null; @@ -301,7 +303,7 @@ namespace Microsoft public void SetContentTypes(Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection contentTypes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ContentResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ContentResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ContentResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public string Content { get => throw null; set => throw null; } @@ -311,13 +313,13 @@ namespace Microsoft public int? StatusCode { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ControllerAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ControllerAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerAttribute : System.Attribute { public ControllerAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ControllerBase` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ControllerBase` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ControllerBase { public virtual Microsoft.AspNetCore.Mvc.AcceptedResult Accepted() => throw null; @@ -361,6 +363,7 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute(object routeValues, object value) => throw null; public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute(string routeName, object value) => throw null; public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute(string routeName, object routeValues, object value) => throw null; + public static Microsoft.AspNetCore.Mvc.EmptyResult Empty { get => throw null; } public virtual Microsoft.AspNetCore.Mvc.FileContentResult File(System.Byte[] fileContents, string contentType) => throw null; public virtual Microsoft.AspNetCore.Mvc.FileContentResult File(System.Byte[] fileContents, string contentType, System.DateTimeOffset? lastModified, Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag) => throw null; public virtual Microsoft.AspNetCore.Mvc.FileContentResult File(System.Byte[] fileContents, string contentType, System.DateTimeOffset? lastModified, Microsoft.Net.Http.Headers.EntityTagHeaderValue entityTag, bool enableRangeProcessing) => throw null; @@ -494,7 +497,7 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.ActionResult ValidationProblem(string detail = default(string), string instance = default(string), int? statusCode = default(int?), string title = default(string), string type = default(string), Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelStateDictionary = default(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ControllerContext` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ControllerContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerContext : Microsoft.AspNetCore.Mvc.ActionContext { public Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor ActionDescriptor { get => throw null; set => throw null; } @@ -503,13 +506,13 @@ namespace Microsoft public virtual System.Collections.Generic.IList ValueProviderFactories { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ControllerContextAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ControllerContextAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerContextAttribute : System.Attribute { public ControllerContextAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.CreatedAtActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.CreatedAtActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CreatedAtActionResult : Microsoft.AspNetCore.Mvc.ObjectResult { public string ActionName { get => throw null; set => throw null; } @@ -520,7 +523,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.CreatedAtRouteResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.CreatedAtRouteResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CreatedAtRouteResult : Microsoft.AspNetCore.Mvc.ObjectResult { public CreatedAtRouteResult(object routeValues, object value) : base(default(object)) => throw null; @@ -531,7 +534,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.CreatedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.CreatedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CreatedResult : Microsoft.AspNetCore.Mvc.ObjectResult { public CreatedResult(System.Uri location, object value) : base(default(object)) => throw null; @@ -540,7 +543,7 @@ namespace Microsoft public override void OnFormatting(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.DefaultApiConventions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.DefaultApiConventions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DefaultApiConventions { public static void Create(object model) => throw null; @@ -553,23 +556,24 @@ namespace Microsoft public static void Update(object id, object model) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.DisableRequestSizeLimitAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` - public class DisableRequestSizeLimitAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter + // Generated from `Microsoft.AspNetCore.Mvc.DisableRequestSizeLimitAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class DisableRequestSizeLimitAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IRequestSizeLimitMetadata, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider) => throw null; public DisableRequestSizeLimitAttribute() => throw null; public bool IsReusable { get => throw null; } + System.Int64? Microsoft.AspNetCore.Http.Metadata.IRequestSizeLimitMetadata.MaxRequestBodySize { get => throw null; } public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.EmptyResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.EmptyResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EmptyResult : Microsoft.AspNetCore.Mvc.ActionResult { public EmptyResult() => throw null; public override void ExecuteResult(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.FileContentResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.FileContentResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileContentResult : Microsoft.AspNetCore.Mvc.FileResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -578,7 +582,7 @@ namespace Microsoft public System.Byte[] FileContents { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FileResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.FileResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class FileResult : Microsoft.AspNetCore.Mvc.ActionResult { public string ContentType { get => throw null; } @@ -589,7 +593,7 @@ namespace Microsoft public System.DateTimeOffset? LastModified { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FileStreamResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.FileStreamResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileStreamResult : Microsoft.AspNetCore.Mvc.FileResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -598,7 +602,7 @@ namespace Microsoft public FileStreamResult(System.IO.Stream fileStream, string contentType) : base(default(string)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ForbidResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ForbidResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ForbidResult : Microsoft.AspNetCore.Mvc.ActionResult { public System.Collections.Generic.IList AuthenticationSchemes { get => throw null; set => throw null; } @@ -612,7 +616,7 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FormatFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.FormatFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormatFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider) => throw null; @@ -620,7 +624,7 @@ namespace Microsoft public bool IsReusable { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FromBodyAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.FromBodyAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FromBodyAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IFromBodyMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata { bool Microsoft.AspNetCore.Http.Metadata.IFromBodyMetadata.AllowEmpty { get => throw null; } @@ -629,15 +633,15 @@ namespace Microsoft public FromBodyAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.FromFormAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` - public class FromFormAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider + // Generated from `Microsoft.AspNetCore.Mvc.FromFormAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class FromFormAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IFromFormMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } public FromFormAttribute() => throw null; public string Name { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FromHeaderAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.FromHeaderAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FromHeaderAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IFromHeaderMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } @@ -645,7 +649,7 @@ namespace Microsoft public string Name { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FromQueryAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.FromQueryAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FromQueryAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IFromQueryMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } @@ -653,7 +657,7 @@ namespace Microsoft public string Name { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FromRouteAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.FromRouteAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FromRouteAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IFromRouteMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } @@ -661,79 +665,79 @@ namespace Microsoft public string Name { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FromServicesAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.FromServicesAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FromServicesAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IFromServiceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } public FromServicesAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpDeleteAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.HttpDeleteAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpDeleteAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpDeleteAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpDeleteAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpGetAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.HttpGetAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpGetAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpGetAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpGetAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpHeadAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.HttpHeadAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpHeadAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpHeadAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpHeadAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpOptionsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.HttpOptionsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpOptionsAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpOptionsAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpOptionsAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpPatchAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.HttpPatchAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpPatchAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpPatchAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpPatchAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpPostAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.HttpPostAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpPostAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpPostAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpPostAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpPutAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.HttpPutAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpPutAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpPutAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpPutAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.IDesignTimeMvcBuilderConfiguration` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.IDesignTimeMvcBuilderConfiguration` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDesignTimeMvcBuilderConfiguration { void ConfigureMvc(Microsoft.Extensions.DependencyInjection.IMvcBuilder builder); } - // Generated from `Microsoft.AspNetCore.Mvc.IRequestFormLimitsPolicy` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.IRequestFormLimitsPolicy` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestFormLimitsPolicy : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.IRequestSizePolicy` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.IRequestSizePolicy` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestSizePolicy : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.JsonOptions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.JsonOptions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonOptions { public bool AllowInputFormatterExceptionMessages { get => throw null; set => throw null; } @@ -741,7 +745,7 @@ namespace Microsoft public System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.JsonResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.JsonResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public string ContentType { get => throw null; set => throw null; } @@ -753,7 +757,7 @@ namespace Microsoft public object Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.LocalRedirectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.LocalRedirectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocalRedirectResult : Microsoft.AspNetCore.Mvc.ActionResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -766,7 +770,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.MiddlewareFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.MiddlewareFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MiddlewareFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public System.Type ConfigurationType { get => throw null; } @@ -776,7 +780,7 @@ namespace Microsoft public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinderAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinderAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelBinderAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider { public System.Type BinderType { get => throw null; set => throw null; } @@ -786,14 +790,14 @@ namespace Microsoft public string Name { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelMetadataTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelMetadataTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelMetadataTypeAttribute : System.Attribute { public System.Type MetadataType { get => throw null; } public ModelMetadataTypeAttribute(System.Type type) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.MvcOptions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.MvcOptions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MvcOptions : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public bool AllowEmptyInputInBodyModelBinding { get => throw null; set => throw null; } @@ -829,43 +833,43 @@ namespace Microsoft public System.Collections.Generic.IList ValueProviderFactories { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.NoContentResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.NoContentResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NoContentResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public NoContentResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.NonActionAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.NonActionAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NonActionAttribute : System.Attribute { public NonActionAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.NonControllerAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.NonControllerAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NonControllerAttribute : System.Attribute { public NonControllerAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.NonViewComponentAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.NonViewComponentAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NonViewComponentAttribute : System.Attribute { public NonViewComponentAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.NotFoundObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.NotFoundObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NotFoundObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult { public NotFoundObjectResult(object value) : base(default(object)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.NotFoundResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.NotFoundResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NotFoundResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public NotFoundResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ObjectResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection ContentTypes { get => throw null; set => throw null; } @@ -878,19 +882,19 @@ namespace Microsoft public object Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.OkObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.OkObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OkObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult { public OkObjectResult(object value) : base(default(object)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.OkResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.OkResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OkResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public OkResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.PhysicalFileResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.PhysicalFileResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalFileResult : Microsoft.AspNetCore.Mvc.FileResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -899,7 +903,7 @@ namespace Microsoft public PhysicalFileResult(string fileName, string contentType) : base(default(string)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ProducesAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ProducesAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProducesAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter, Microsoft.AspNetCore.Mvc.Filters.IResultFilter { public Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection ContentTypes { get => throw null; set => throw null; } @@ -913,7 +917,7 @@ namespace Microsoft public System.Type Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ProducesDefaultResponseTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ProducesDefaultResponseTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProducesDefaultResponseTypeAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDefaultResponseMetadataProvider, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { public ProducesDefaultResponseTypeAttribute() => throw null; @@ -923,14 +927,14 @@ namespace Microsoft public System.Type Type { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ProducesErrorResponseTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ProducesErrorResponseTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProducesErrorResponseTypeAttribute : System.Attribute { public ProducesErrorResponseTypeAttribute(System.Type type) => throw null; public System.Type Type { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProducesResponseTypeAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { public ProducesResponseTypeAttribute(System.Type type, int statusCode) => throw null; @@ -941,7 +945,7 @@ namespace Microsoft public System.Type Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RedirectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RedirectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -954,7 +958,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RedirectToActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RedirectToActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectToActionResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult { public string ActionName { get => throw null; set => throw null; } @@ -973,7 +977,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RedirectToPageResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RedirectToPageResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectToPageResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -997,7 +1001,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RedirectToRouteResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RedirectToRouteResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectToRouteResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -1016,7 +1020,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RequestFormLimitsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RequestFormLimitsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestFormLimitsAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public bool BufferBody { get => throw null; set => throw null; } @@ -1035,16 +1039,17 @@ namespace Microsoft public int ValueLengthLimit { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RequestSizeLimitAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` - public class RequestSizeLimitAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter + // Generated from `Microsoft.AspNetCore.Mvc.RequestSizeLimitAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class RequestSizeLimitAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IRequestSizeLimitMetadata, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider) => throw null; public bool IsReusable { get => throw null; } + System.Int64? Microsoft.AspNetCore.Http.Metadata.IRequestSizeLimitMetadata.MaxRequestBodySize { get => throw null; } public int Order { get => throw null; set => throw null; } public RequestSizeLimitAttribute(System.Int64 bytes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RequireHttpsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RequireHttpsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequireHttpsAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IAuthorizationFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { protected virtual void HandleNonHttpsRequest(Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext filterContext) => throw null; @@ -1054,7 +1059,7 @@ namespace Microsoft public RequireHttpsAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ResponseCacheAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ResponseCacheAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCacheAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public string CacheProfileName { get => throw null; set => throw null; } @@ -1070,7 +1075,7 @@ namespace Microsoft public string[] VaryByQueryKeys { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ResponseCacheLocation` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ResponseCacheLocation` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ResponseCacheLocation : int { Any = 0, @@ -1078,7 +1083,7 @@ namespace Microsoft None = 2, } - // Generated from `Microsoft.AspNetCore.Mvc.RouteAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RouteAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider { public string Name { get => throw null; set => throw null; } @@ -1088,14 +1093,14 @@ namespace Microsoft public string Template { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.SerializableError` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.SerializableError` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SerializableError : System.Collections.Generic.Dictionary { public SerializableError() => throw null; public SerializableError(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ServiceFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ServiceFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider) => throw null; @@ -1105,7 +1110,7 @@ namespace Microsoft public System.Type ServiceType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.SignInResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.SignInResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SignInResult : Microsoft.AspNetCore.Mvc.ActionResult { public string AuthenticationScheme { get => throw null; set => throw null; } @@ -1118,7 +1123,7 @@ namespace Microsoft public SignInResult(string authenticationScheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.SignOutResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.SignOutResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SignOutResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Http.IResult { public System.Collections.Generic.IList AuthenticationSchemes { get => throw null; set => throw null; } @@ -1133,7 +1138,7 @@ namespace Microsoft public SignOutResult(string authenticationScheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.StatusCodeResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.StatusCodeResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StatusCodeResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public override void ExecuteResult(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -1142,7 +1147,7 @@ namespace Microsoft public StatusCodeResult(int statusCode) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TypeFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TypeFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TypeFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public object[] Arguments { get => throw null; set => throw null; } @@ -1153,38 +1158,38 @@ namespace Microsoft public TypeFilterAttribute(System.Type type) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.UnauthorizedObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.UnauthorizedObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnauthorizedObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult { public UnauthorizedObjectResult(object value) : base(default(object)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.UnauthorizedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.UnauthorizedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnauthorizedResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public UnauthorizedResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnprocessableEntityObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult { public UnprocessableEntityObjectResult(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState) : base(default(object)) => throw null; public UnprocessableEntityObjectResult(object error) : base(default(object)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.UnprocessableEntityResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.UnprocessableEntityResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnprocessableEntityResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public UnprocessableEntityResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.UnsupportedMediaTypeResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.UnsupportedMediaTypeResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnsupportedMediaTypeResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public UnsupportedMediaTypeResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.UrlHelperExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.UrlHelperExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UrlHelperExtensions { public static string Action(this Microsoft.AspNetCore.Mvc.IUrlHelper helper) => throw null; @@ -1212,7 +1217,7 @@ namespace Microsoft public static string RouteUrl(this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string routeName, object values, string protocol, string host, string fragment) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ValidationProblemDetails` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ValidationProblemDetails` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationProblemDetails : Microsoft.AspNetCore.Http.HttpValidationProblemDetails { public System.Collections.Generic.IDictionary Errors { get => throw null; } @@ -1221,7 +1226,7 @@ namespace Microsoft public ValidationProblemDetails(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.VirtualFileResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.VirtualFileResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class VirtualFileResult : Microsoft.AspNetCore.Mvc.FileResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -1233,7 +1238,7 @@ namespace Microsoft namespace ActionConstraints { - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionMethodSelectorAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionMethodSelectorAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ActionMethodSelectorAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint, Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata { public bool Accept(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext context) => throw null; @@ -1242,7 +1247,7 @@ namespace Microsoft public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.HttpMethodActionConstraint` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.HttpMethodActionConstraint` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpMethodActionConstraint : Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint, Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata { public virtual bool Accept(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext context) => throw null; @@ -1252,7 +1257,7 @@ namespace Microsoft public int Order { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IConsumesActionConstraint` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IConsumesActionConstraint` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IConsumesActionConstraint : Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint, Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata { } @@ -1260,14 +1265,14 @@ namespace Microsoft } namespace ApiExplorer { - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiConventionNameMatchAttribute : System.Attribute { public ApiConventionNameMatchAttribute(Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchBehavior matchBehavior) => throw null; public Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchBehavior MatchBehavior { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchBehavior` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchBehavior` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ApiConventionNameMatchBehavior : int { Any = 0, @@ -1276,57 +1281,57 @@ namespace Microsoft Suffix = 3, } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiConventionResult { public ApiConventionResult(System.Collections.Generic.IReadOnlyList responseMetadataProviders) => throw null; public System.Collections.Generic.IReadOnlyList ResponseMetadataProviders { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiConventionTypeMatchAttribute : System.Attribute { public ApiConventionTypeMatchAttribute(Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchBehavior matchBehavior) => throw null; public Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchBehavior MatchBehavior { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchBehavior` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchBehavior` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ApiConventionTypeMatchBehavior : int { Any = 0, AssignableFrom = 1, } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDefaultResponseMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDefaultResponseMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiDefaultResponseMetadataProvider : Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupNameProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupNameProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiDescriptionGroupNameProvider { string GroupName { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionVisibilityProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionVisibilityProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiDescriptionVisibilityProvider { bool IgnoreApi { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestFormatMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestFormatMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiRequestFormatMetadataProvider { System.Collections.Generic.IReadOnlyList GetSupportedContentTypes(string contentType, System.Type objectType); } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiRequestMetadataProvider : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void SetContentTypes(Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection contentTypes); } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiResponseMetadataProvider : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void SetContentTypes(Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection contentTypes); @@ -1334,7 +1339,7 @@ namespace Microsoft System.Type Type { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseTypeMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseTypeMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiResponseTypeMetadataProvider { System.Collections.Generic.IReadOnlyList GetSupportedContentTypes(string contentType, System.Type objectType); @@ -1343,7 +1348,7 @@ namespace Microsoft } namespace ApplicationModels { - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionModel : Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public System.Reflection.MethodInfo ActionMethod { get => throw null; } @@ -1364,7 +1369,7 @@ namespace Microsoft public System.Collections.Generic.IList Selectors { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApiConventionApplicationModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApiConventionApplicationModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiConventionApplicationModelConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public ApiConventionApplicationModelConvention(Microsoft.AspNetCore.Mvc.ProducesErrorResponseTypeAttribute defaultErrorResponseType) => throw null; @@ -1373,7 +1378,7 @@ namespace Microsoft protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiExplorerModel { public ApiExplorerModel() => throw null; @@ -1382,7 +1387,7 @@ namespace Microsoft public bool? IsVisible { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApiVisibilityConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApiVisibilityConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiVisibilityConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public ApiVisibilityConvention() => throw null; @@ -1390,7 +1395,7 @@ namespace Microsoft protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationModel : Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel ApiExplorer { get => throw null; set => throw null; } @@ -1400,7 +1405,7 @@ namespace Microsoft public System.Collections.Generic.IDictionary Properties { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationModelProviderContext { public ApplicationModelProviderContext(System.Collections.Generic.IEnumerable controllerTypes) => throw null; @@ -1408,7 +1413,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel Result { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AttributeRouteModel { public Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider Attribute { get => throw null; } @@ -1428,7 +1433,7 @@ namespace Microsoft public string Template { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ClientErrorResultFilterConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ClientErrorResultFilterConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClientErrorResultFilterConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; @@ -1436,7 +1441,7 @@ namespace Microsoft protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ConsumesConstraintForFormFileParameterConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ConsumesConstraintForFormFileParameterConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsumesConstraintForFormFileParameterConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; @@ -1444,7 +1449,7 @@ namespace Microsoft protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerModel : Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public System.Collections.Generic.IList Actions { get => throw null; } @@ -1465,25 +1470,25 @@ namespace Microsoft public System.Collections.Generic.IList Selectors { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionModelConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiExplorerModel { Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel ApiExplorer { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationModelConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel application); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationModelProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext context); @@ -1491,13 +1496,13 @@ namespace Microsoft int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBindingModel { Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo BindingInfo { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICommonModel : Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { System.Collections.Generic.IReadOnlyList Attributes { get; } @@ -1505,45 +1510,46 @@ namespace Microsoft string Name { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IControllerModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IControllerModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IControllerModelConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controller); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFilterModel { System.Collections.Generic.IList Filters { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelBaseConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelBaseConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IParameterModelBaseConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase parameter); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IParameterModelConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel parameter); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPropertyModel { System.Collections.Generic.IDictionary Properties { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.InferParameterBindingInfoConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.InferParameterBindingInfoConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InferParameterBindingInfoConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; public InferParameterBindingInfoConvention(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider) => throw null; + public InferParameterBindingInfoConvention(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.Extensions.DependencyInjection.IServiceProviderIsService serviceProviderIsService) => throw null; protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.InvalidModelStateFilterConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.InvalidModelStateFilterConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InvalidModelStateFilterConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; @@ -1551,7 +1557,7 @@ namespace Microsoft protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ParameterModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel Action { get => throw null; set => throw null; } @@ -1565,7 +1571,7 @@ namespace Microsoft public System.Collections.Generic.IDictionary Properties { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ParameterModelBase : Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -1577,7 +1583,7 @@ namespace Microsoft public System.Collections.Generic.IDictionary Properties { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PropertyModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase, Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -1590,7 +1596,7 @@ namespace Microsoft public string PropertyName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.RouteTokenTransformerConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.RouteTokenTransformerConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteTokenTransformerConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; @@ -1598,7 +1604,7 @@ namespace Microsoft protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.SelectorModel` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.SelectorModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SelectorModel { public System.Collections.Generic.IList ActionConstraints { get => throw null; } @@ -1611,21 +1617,21 @@ namespace Microsoft } namespace ApplicationParts { - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ApplicationPart { protected ApplicationPart() => throw null; public abstract string Name { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationPartAttribute : System.Attribute { public ApplicationPartAttribute(string assemblyName) => throw null; public string AssemblyName { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ApplicationPartFactory { protected ApplicationPartFactory() => throw null; @@ -1633,7 +1639,7 @@ namespace Microsoft public abstract System.Collections.Generic.IEnumerable GetApplicationParts(System.Reflection.Assembly assembly); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationPartManager { public ApplicationPartManager() => throw null; @@ -1642,7 +1648,7 @@ namespace Microsoft public void PopulateFeature(TFeature feature) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AssemblyPart : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart, Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationPartTypeProvider { public System.Reflection.Assembly Assembly { get => throw null; } @@ -1651,7 +1657,7 @@ namespace Microsoft public System.Collections.Generic.IEnumerable Types { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.DefaultApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.DefaultApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultApplicationPartFactory : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory { public DefaultApplicationPartFactory() => throw null; @@ -1660,37 +1666,37 @@ namespace Microsoft public static Microsoft.AspNetCore.Mvc.ApplicationParts.DefaultApplicationPartFactory Instance { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationFeatureProvider { } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider<>` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider { void PopulateFeature(System.Collections.Generic.IEnumerable parts, TFeature feature); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationPartTypeProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationPartTypeProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationPartTypeProvider { System.Collections.Generic.IEnumerable Types { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ICompilationReferencesProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ICompilationReferencesProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICompilationReferencesProvider { System.Collections.Generic.IEnumerable GetReferencePaths(); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.NullApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.NullApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullApplicationPartFactory : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory { public override System.Collections.Generic.IEnumerable GetApplicationParts(System.Reflection.Assembly assembly) => throw null; public NullApplicationPartFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ProvideApplicationPartFactoryAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ProvideApplicationPartFactoryAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProvideApplicationPartFactoryAttribute : System.Attribute { public System.Type GetFactoryType() => throw null; @@ -1698,7 +1704,7 @@ namespace Microsoft public ProvideApplicationPartFactoryAttribute(string factoryTypeName) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.RelatedAssemblyAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.RelatedAssemblyAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RelatedAssemblyAttribute : System.Attribute { public string AssemblyFileName { get => throw null; } @@ -1709,13 +1715,13 @@ namespace Microsoft } namespace Authorization { - // Generated from `Microsoft.AspNetCore.Mvc.Authorization.AllowAnonymousFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Authorization.AllowAnonymousFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AllowAnonymousFilter : Microsoft.AspNetCore.Mvc.Authorization.IAllowAnonymousFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { public AllowAnonymousFilter() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizeFilter : Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { public System.Collections.Generic.IEnumerable AuthorizeData { get => throw null; } @@ -1734,7 +1740,7 @@ namespace Microsoft } namespace Controllers { - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerActionDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor { public virtual string ActionName { get => throw null; set => throw null; } @@ -1745,7 +1751,7 @@ namespace Microsoft public System.Reflection.MethodInfo MethodInfo { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerActivatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerActivatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerActivatorProvider : Microsoft.AspNetCore.Mvc.Controllers.IControllerActivatorProvider { public ControllerActivatorProvider(Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator controllerActivator) => throw null; @@ -1754,21 +1760,21 @@ namespace Microsoft public System.Action CreateReleaser(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerBoundPropertyDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerBoundPropertyDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerBoundPropertyDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor, Microsoft.AspNetCore.Mvc.Infrastructure.IPropertyInfoParameterDescriptor { public ControllerBoundPropertyDescriptor() => throw null; public System.Reflection.PropertyInfo PropertyInfo { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerFeature` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerFeature` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerFeature { public ControllerFeature() => throw null; public System.Collections.Generic.IList Controllers { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider, Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider { public ControllerFeatureProvider() => throw null; @@ -1776,14 +1782,14 @@ namespace Microsoft public void PopulateFeature(System.Collections.Generic.IEnumerable parts, Microsoft.AspNetCore.Mvc.Controllers.ControllerFeature feature) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerParameterDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerParameterDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerParameterDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor, Microsoft.AspNetCore.Mvc.Infrastructure.IParameterInfoParameterDescriptor { public ControllerParameterDescriptor() => throw null; public System.Reflection.ParameterInfo ParameterInfo { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IControllerActivator { object Create(Microsoft.AspNetCore.Mvc.ControllerContext context); @@ -1791,7 +1797,7 @@ namespace Microsoft System.Threading.Tasks.ValueTask ReleaseAsync(Microsoft.AspNetCore.Mvc.ControllerContext context, object controller) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerActivatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerActivatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IControllerActivatorProvider { System.Func CreateActivator(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor); @@ -1799,7 +1805,7 @@ namespace Microsoft System.Action CreateReleaser(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IControllerFactory { object CreateController(Microsoft.AspNetCore.Mvc.ControllerContext context); @@ -1807,7 +1813,7 @@ namespace Microsoft System.Threading.Tasks.ValueTask ReleaseControllerAsync(Microsoft.AspNetCore.Mvc.ControllerContext context, object controller) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerFactoryProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerFactoryProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IControllerFactoryProvider { System.Func CreateAsyncControllerReleaser(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor) => throw null; @@ -1815,14 +1821,14 @@ namespace Microsoft System.Action CreateControllerReleaser(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerPropertyActivator` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerPropertyActivator` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IControllerPropertyActivator { void Activate(Microsoft.AspNetCore.Mvc.ControllerContext context, object controller); System.Action GetActivatorDelegate(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor actionDescriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceBasedControllerActivator : Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator { public object Create(Microsoft.AspNetCore.Mvc.ControllerContext actionContext) => throw null; @@ -1835,7 +1841,7 @@ namespace Microsoft { namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Mvc.Core.Infrastructure.IAntiforgeryValidationFailedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Core.Infrastructure.IAntiforgeryValidationFailedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAntiforgeryValidationFailedResult : Microsoft.AspNetCore.Mvc.IActionResult { } @@ -1844,7 +1850,7 @@ namespace Microsoft } namespace Diagnostics { - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterActionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1856,7 +1862,7 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteData RouteData { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionFilterOnActionExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionFilterOnActionExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterActionFilterOnActionExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1868,7 +1874,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionFilterOnActionExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionFilterOnActionExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterActionFilterOnActionExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1880,7 +1886,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionFilterOnActionExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionFilterOnActionExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterActionFilterOnActionExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1892,7 +1898,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionResultEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionResultEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterActionResultEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -1903,7 +1909,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterAuthorizationFilterOnAuthorizationEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterAuthorizationFilterOnAuthorizationEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterAuthorizationFilterOnAuthorizationEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1915,7 +1921,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterControllerActionMethodEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterControllerActionMethodEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterControllerActionMethodEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -1928,7 +1934,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterExceptionFilterOnExceptionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterExceptionFilterOnExceptionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterExceptionFilterOnExceptionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1940,7 +1946,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResourceFilterOnResourceExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResourceFilterOnResourceExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterResourceFilterOnResourceExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1952,7 +1958,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext ResourceExecutedContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResourceFilterOnResourceExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResourceFilterOnResourceExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterResourceFilterOnResourceExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1964,7 +1970,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext ResourceExecutingContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResourceFilterOnResourceExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResourceFilterOnResourceExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterResourceFilterOnResourceExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1976,7 +1982,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext ResourceExecutedContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResultFilterOnResultExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResultFilterOnResultExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterResultFilterOnResultExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1988,7 +1994,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext ResultExecutedContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResultFilterOnResultExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResultFilterOnResultExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterResultFilterOnResultExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2000,7 +2006,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext ResultExecutingContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResultFilterOnResultExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResultFilterOnResultExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterResultFilterOnResultExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2012,7 +2018,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext ResultExecutedContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeActionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2024,7 +2030,7 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteData RouteData { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionFilterOnActionExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionFilterOnActionExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeActionFilterOnActionExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2036,7 +2042,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionFilterOnActionExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionFilterOnActionExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeActionFilterOnActionExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2048,7 +2054,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionFilterOnActionExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionFilterOnActionExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeActionFilterOnActionExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2060,7 +2066,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionResultEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionResultEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeActionResultEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -2071,7 +2077,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeAuthorizationFilterOnAuthorizationEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeAuthorizationFilterOnAuthorizationEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeAuthorizationFilterOnAuthorizationEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2083,7 +2089,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeControllerActionMethodEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeControllerActionMethodEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeControllerActionMethodEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public System.Collections.Generic.IReadOnlyDictionary ActionArguments { get => throw null; } @@ -2095,7 +2101,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeExceptionFilterOnException` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeExceptionFilterOnException` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeExceptionFilterOnException : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2107,7 +2113,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResourceFilterOnResourceExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResourceFilterOnResourceExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeResourceFilterOnResourceExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2119,7 +2125,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext ResourceExecutedContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResourceFilterOnResourceExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResourceFilterOnResourceExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeResourceFilterOnResourceExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2131,7 +2137,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext ResourceExecutingContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResourceFilterOnResourceExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResourceFilterOnResourceExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeResourceFilterOnResourceExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2143,7 +2149,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext ResourceExecutingContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResultFilterOnResultExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResultFilterOnResultExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeResultFilterOnResultExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2155,7 +2161,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext ResultExecutedContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResultFilterOnResultExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResultFilterOnResultExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeResultFilterOnResultExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2167,7 +2173,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext ResultExecutingContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResultFilterOnResultExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResultFilterOnResultExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeResultFilterOnResultExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2179,10 +2185,10 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext ResultExecutingContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.EventData` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.EventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class EventData : System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyList>, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.EventData+Enumerator` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.EventData+Enumerator` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -2207,7 +2213,7 @@ namespace Microsoft } namespace Filters { - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ActionFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IActionFilter, Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter, Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter, Microsoft.AspNetCore.Mvc.Filters.IResultFilter { protected ActionFilterAttribute() => throw null; @@ -2220,7 +2226,7 @@ namespace Microsoft public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ExceptionFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.ExceptionFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ExceptionFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IAsyncExceptionFilter, Microsoft.AspNetCore.Mvc.Filters.IExceptionFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { protected ExceptionFilterAttribute() => throw null; @@ -2229,7 +2235,7 @@ namespace Microsoft public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterCollection` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterCollection` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FilterCollection : System.Collections.ObjectModel.Collection { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata Add(System.Type filterType) => throw null; @@ -2243,7 +2249,7 @@ namespace Microsoft public FilterCollection() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterScope` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterScope` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class FilterScope { public static int Action; @@ -2253,7 +2259,7 @@ namespace Microsoft public static int Last; } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResultFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResultFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ResultFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter, Microsoft.AspNetCore.Mvc.Filters.IResultFilter { public virtual void OnResultExecuted(Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext context) => throw null; @@ -2266,7 +2272,7 @@ namespace Microsoft } namespace Formatters { - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.FormatFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.FormatFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormatFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IResourceFilter, Microsoft.AspNetCore.Mvc.Filters.IResultFilter { public FormatFilter(Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; @@ -2277,7 +2283,7 @@ namespace Microsoft public void OnResultExecuting(Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.FormatterMappings` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.FormatterMappings` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormatterMappings { public bool ClearMediaTypeMappingForFormat(string format) => throw null; @@ -2287,7 +2293,7 @@ namespace Microsoft public void SetMediaTypeMappingForFormat(string format, string contentType) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpNoContentOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter { public bool CanWriteResult(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context) => throw null; @@ -2296,13 +2302,13 @@ namespace Microsoft public System.Threading.Tasks.Task WriteAsync(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.IFormatFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.IFormatFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IFormatFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { string GetFormat(Microsoft.AspNetCore.Mvc.ActionContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class InputFormatter : Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestFormatMetadataProvider, Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter { public virtual bool CanRead(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context) => throw null; @@ -2315,7 +2321,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection SupportedMediaTypes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.MediaType` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.MediaType` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct MediaType { public Microsoft.Extensions.Primitives.StringSegment Charset { get => throw null; } @@ -2342,7 +2348,7 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Type { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MediaTypeCollection : System.Collections.ObjectModel.Collection { public void Add(Microsoft.Net.Http.Headers.MediaTypeHeaderValue item) => throw null; @@ -2351,7 +2357,7 @@ namespace Microsoft public bool Remove(Microsoft.Net.Http.Headers.MediaTypeHeaderValue item) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.MediaTypeSegmentWithQuality` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.MediaTypeSegmentWithQuality` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct MediaTypeSegmentWithQuality { public Microsoft.Extensions.Primitives.StringSegment MediaType { get => throw null; } @@ -2361,7 +2367,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.OutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.OutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class OutputFormatter : Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseTypeMetadataProvider, Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter { public virtual bool CanWriteResult(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context) => throw null; @@ -2374,7 +2380,7 @@ namespace Microsoft public virtual void WriteResponseHeaders(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StreamOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter { public bool CanWriteResult(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context) => throw null; @@ -2382,7 +2388,7 @@ namespace Microsoft public System.Threading.Tasks.Task WriteAsync(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter { public override bool CanWriteResult(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context) => throw null; @@ -2390,7 +2396,7 @@ namespace Microsoft public override System.Threading.Tasks.Task WriteResponseBodyAsync(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context, System.Text.Encoding encoding) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonInputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonInputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SystemTextJsonInputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter, Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy { Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy.ExceptionPolicy { get => throw null; } @@ -2399,7 +2405,7 @@ namespace Microsoft public SystemTextJsonInputFormatter(Microsoft.AspNetCore.Mvc.JsonOptions options, Microsoft.Extensions.Logging.ILogger logger) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SystemTextJsonOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter { public System.Text.Json.JsonSerializerOptions SerializerOptions { get => throw null; } @@ -2407,7 +2413,7 @@ namespace Microsoft public override System.Threading.Tasks.Task WriteResponseBodyAsync(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context, System.Text.Encoding selectedEncoding) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TextInputFormatter : Microsoft.AspNetCore.Mvc.Formatters.InputFormatter { public override System.Threading.Tasks.Task ReadRequestBodyAsync(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context) => throw null; @@ -2419,7 +2425,7 @@ namespace Microsoft protected static System.Text.Encoding UTF8EncodingWithoutBOM; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TextOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatter { public virtual System.Text.Encoding SelectCharacterEncoding(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context) => throw null; @@ -2433,14 +2439,14 @@ namespace Microsoft } namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionContextAccessor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionContextAccessor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionContextAccessor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; set => throw null; } public ActionContextAccessor() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionDescriptorCollection { public ActionDescriptorCollection(System.Collections.Generic.IReadOnlyList items, int version) => throw null; @@ -2448,7 +2454,7 @@ namespace Microsoft public int Version { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollectionProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollectionProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ActionDescriptorCollectionProvider : Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider { protected ActionDescriptorCollectionProvider() => throw null; @@ -2456,26 +2462,26 @@ namespace Microsoft public abstract Microsoft.Extensions.Primitives.IChangeToken GetChangeToken(); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionResultObjectValueAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionResultObjectValueAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionResultObjectValueAttribute : System.Attribute { public ActionResultObjectValueAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionResultStatusCodeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionResultStatusCodeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionResultStatusCodeAttribute : System.Attribute { public ActionResultStatusCodeAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.AmbiguousActionException` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.AmbiguousActionException` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AmbiguousActionException : System.InvalidOperationException { protected AmbiguousActionException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; public AmbiguousActionException(string message) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.CompatibilitySwitch<>` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.CompatibilitySwitch<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompatibilitySwitch : Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch where TValue : struct { public CompatibilitySwitch(string name) => throw null; @@ -2486,7 +2492,7 @@ namespace Microsoft object Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch.Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ConfigureCompatibilityOptions<>` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ConfigureCompatibilityOptions<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ConfigureCompatibilityOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TOptions : class, System.Collections.Generic.IEnumerable { protected ConfigureCompatibilityOptions(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions compatibilityOptions) => throw null; @@ -2495,28 +2501,28 @@ namespace Microsoft protected Microsoft.AspNetCore.Mvc.CompatibilityVersion Version { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ContentResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public ContentResultExecutor(Microsoft.Extensions.Logging.ILogger logger, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory httpResponseStreamWriterFactory) => throw null; public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.ContentResult result) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultOutputFormatterSelector : Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector { public DefaultOutputFormatterSelector(Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public override Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter SelectFormatter(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context, System.Collections.Generic.IList formatters, Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection contentTypes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.DefaultStatusCodeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.DefaultStatusCodeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultStatusCodeAttribute : System.Attribute { public DefaultStatusCodeAttribute(int statusCode) => throw null; public int StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.FileContentResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.FileContentResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileContentResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.FileContentResult result) => throw null; @@ -2524,7 +2530,7 @@ namespace Microsoft protected virtual System.Threading.Tasks.Task WriteFileAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.FileContentResult result, Microsoft.Net.Http.Headers.RangeItemHeaderValue range, System.Int64 rangeLength) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileResultExecutorBase { protected const int BufferSize = default; @@ -2535,7 +2541,7 @@ namespace Microsoft protected static System.Threading.Tasks.Task WriteFileAsync(Microsoft.AspNetCore.Http.HttpContext context, System.IO.Stream fileStream, Microsoft.Net.Http.Headers.RangeItemHeaderValue range, System.Int64 rangeLength) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.FileStreamResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.FileStreamResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileStreamResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.FileStreamResult result) => throw null; @@ -2543,67 +2549,67 @@ namespace Microsoft protected virtual System.Threading.Tasks.Task WriteFileAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.FileStreamResult result, Microsoft.Net.Http.Headers.RangeItemHeaderValue range, System.Int64 rangeLength) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionContextAccessor { Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorChangeProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorChangeProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionDescriptorChangeProvider { Microsoft.Extensions.Primitives.IChangeToken GetChangeToken(); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionDescriptorCollectionProvider { Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection ActionDescriptors { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionInvokerFactory { Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker CreateInvoker(Microsoft.AspNetCore.Mvc.ActionContext actionContext); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<>` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionResultExecutor where TResult : Microsoft.AspNetCore.Mvc.IActionResult { System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, TResult result); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionResultTypeMapper { Microsoft.AspNetCore.Mvc.IActionResult Convert(object value, System.Type returnType); System.Type GetResultDataType(System.Type returnType); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionSelector` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionSelector` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionSelector { Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor SelectBestCandidate(Microsoft.AspNetCore.Routing.RouteContext context, System.Collections.Generic.IReadOnlyList candidates); System.Collections.Generic.IReadOnlyList SelectCandidates(Microsoft.AspNetCore.Routing.RouteContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IApiBehaviorMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IApiBehaviorMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiBehaviorMetadata : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IClientErrorActionResult : Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IClientErrorFactory { Microsoft.AspNetCore.Mvc.IActionResult GetClientError(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorActionResult clientError); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICompatibilitySwitch { bool IsValueSet { get; } @@ -2611,50 +2617,50 @@ namespace Microsoft object Value { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IConvertToActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IConvertToActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConvertToActionResult { Microsoft.AspNetCore.Mvc.IActionResult Convert(); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestStreamReaderFactory { System.IO.TextReader CreateReader(System.IO.Stream stream, System.Text.Encoding encoding); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpResponseStreamWriterFactory { System.IO.TextWriter CreateWriter(System.IO.Stream stream, System.Text.Encoding encoding); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IParameterInfoParameterDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IParameterInfoParameterDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IParameterInfoParameterDescriptor { System.Reflection.ParameterInfo ParameterInfo { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IPropertyInfoParameterDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IPropertyInfoParameterDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPropertyInfoParameterDescriptor { System.Reflection.PropertyInfo PropertyInfo { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStatusCodeActionResult : Microsoft.AspNetCore.Mvc.IActionResult { int? StatusCode { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.LocalRedirectResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.LocalRedirectResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocalRedirectResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.LocalRedirectResult result) => throw null; public LocalRedirectResultExecutor(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelStateInvalidFilter : Microsoft.AspNetCore.Mvc.Filters.IActionFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public bool IsReusable { get => throw null; } @@ -2664,14 +2670,14 @@ namespace Microsoft public int Order { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.MvcCompatibilityOptions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.MvcCompatibilityOptions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MvcCompatibilityOptions { public Microsoft.AspNetCore.Mvc.CompatibilityVersion CompatibilityVersion { get => throw null; set => throw null; } public MvcCompatibilityOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ObjectResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.ObjectResult result) => throw null; @@ -2681,17 +2687,17 @@ namespace Microsoft protected System.Func WriterFactory { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class OutputFormatterSelector { protected OutputFormatterSelector() => throw null; public abstract Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter SelectFormatter(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context, System.Collections.Generic.IList formatters, Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection mediaTypes); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalFileResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor+FileMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor+FileMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` protected class FileMetadata { public bool Exists { get => throw null; set => throw null; } @@ -2708,7 +2714,7 @@ namespace Microsoft protected virtual System.Threading.Tasks.Task WriteFileAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.PhysicalFileResult result, Microsoft.Net.Http.Headers.RangeItemHeaderValue range, System.Int64 rangeLength) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ProblemDetailsFactory { public abstract Microsoft.AspNetCore.Mvc.ProblemDetails CreateProblemDetails(Microsoft.AspNetCore.Http.HttpContext httpContext, int? statusCode = default(int?), string title = default(string), string type = default(string), string detail = default(string), string instance = default(string)); @@ -2716,35 +2722,35 @@ namespace Microsoft protected ProblemDetailsFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.RedirectResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.RedirectResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.RedirectResult result) => throw null; public RedirectResultExecutor(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToActionResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToActionResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectToActionResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.RedirectToActionResult result) => throw null; public RedirectToActionResultExecutor(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToPageResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToPageResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectToPageResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.RedirectToPageResult result) => throw null; public RedirectToPageResultExecutor(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToRouteResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToRouteResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectToRouteResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.RedirectToRouteResult result) => throw null; public RedirectToRouteResultExecutor(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.VirtualFileResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.VirtualFileResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class VirtualFileResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.VirtualFileResult result) => throw null; @@ -2756,19 +2762,19 @@ namespace Microsoft } namespace ModelBinding { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindNeverAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindNeverAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindNeverAttribute : Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute { public BindNeverAttribute() : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindRequiredAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindRequiredAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindRequiredAttribute : Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute { public BindRequiredAttribute() : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum BindingBehavior : int { Never = 1, @@ -2776,14 +2782,14 @@ namespace Microsoft Required = 2, } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingBehaviorAttribute : System.Attribute { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior Behavior { get => throw null; } public BindingBehaviorAttribute(Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior behavior) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class BindingSourceValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { protected Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } @@ -2793,7 +2799,7 @@ namespace Microsoft public abstract Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult GetValue(string key); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.CompositeValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.CompositeValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeValueProvider : System.Collections.ObjectModel.Collection, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { public CompositeValueProvider() => throw null; @@ -2809,7 +2815,7 @@ namespace Microsoft protected override void SetItem(int index, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider item) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.DefaultModelBindingContext` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.DefaultModelBindingContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultModelBindingContext : Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext { public override Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; set => throw null; } @@ -2833,7 +2839,7 @@ namespace Microsoft public override Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider ValueProvider { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.DefaultPropertyFilterProvider<>` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.DefaultPropertyFilterProvider<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultPropertyFilterProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider where TModel : class { public DefaultPropertyFilterProvider() => throw null; @@ -2842,13 +2848,13 @@ namespace Microsoft public virtual System.Collections.Generic.IEnumerable>> PropertyIncludeExpressions { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.EmptyModelMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.EmptyModelMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EmptyModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider { public EmptyModelMetadataProvider() : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.FormFileValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.FormFileValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFileValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { public bool ContainsPrefix(string prefix) => throw null; @@ -2856,14 +2862,14 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult GetValue(string key) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.FormFileValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.FormFileValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFileValueProviderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory { public System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context) => throw null; public FormFileValueProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.FormValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.FormValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { public override bool ContainsPrefix(string prefix) => throw null; @@ -2874,70 +2880,71 @@ namespace Microsoft protected Microsoft.AspNetCore.Mvc.ModelBinding.PrefixContainer PrefixContainer { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.FormValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.FormValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormValueProviderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory { public System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context) => throw null; public FormValueProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBindingSourceValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider Filter(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ICollectionModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ICollectionModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICollectionModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { bool CanCreateInstance(System.Type targetType); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEnumerableValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { System.Collections.Generic.IDictionary GetKeysFromPrefix(string prefix); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKeyRewriterValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider Filter(); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelBinderFactory { Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder CreateBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryFormValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryFormValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JQueryFormValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.JQueryValueProvider { + public override Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult GetValue(string key) => throw null; public JQueryFormValueProvider(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource, System.Collections.Generic.IDictionary values, System.Globalization.CultureInfo culture) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource), default(System.Collections.Generic.IDictionary), default(System.Globalization.CultureInfo)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryFormValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryFormValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JQueryFormValueProviderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory { public System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context) => throw null; public JQueryFormValueProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryQueryStringValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryQueryStringValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JQueryQueryStringValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.JQueryValueProvider { public JQueryQueryStringValueProvider(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource, System.Collections.Generic.IDictionary values, System.Globalization.CultureInfo culture) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource), default(System.Collections.Generic.IDictionary), default(System.Globalization.CultureInfo)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryQueryStringValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryQueryStringValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JQueryQueryStringValueProviderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory { public System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context) => throw null; public JQueryQueryStringValueProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class JQueryValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { public override bool ContainsPrefix(string prefix) => throw null; @@ -2949,7 +2956,7 @@ namespace Microsoft protected Microsoft.AspNetCore.Mvc.ModelBinding.PrefixContainer PrefixContainer { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelAttributes { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -2963,14 +2970,14 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList TypeAttributes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelBinderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory { public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder CreateBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext context) => throw null; public ModelBinderFactory(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.Extensions.Options.IOptions options, System.IServiceProvider serviceProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelBinderFactoryContext { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo BindingInfo { get => throw null; set => throw null; } @@ -2979,20 +2986,20 @@ namespace Microsoft public ModelBinderFactoryContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelBinderProviderExtensions { public static void RemoveType(this System.Collections.Generic.IList list, System.Type type) => throw null; public static void RemoveType(this System.Collections.Generic.IList list) where TModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataProviderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataProviderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelMetadataProviderExtensions { public static Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata GetMetadataForProperty(this Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider provider, System.Type containerType, string propertyName) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelNames` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelNames` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelNames { public static string CreateIndexModelName(string parentName, int index) => throw null; @@ -3000,7 +3007,7 @@ namespace Microsoft public static string CreatePropertyModelName(string prefix, string propertyName) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ObjectModelValidator` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ObjectModelValidator` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ObjectModelValidator : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator { public abstract Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor GetValidationVisitor(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider validatorProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorCache validatorCache, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary validationState); @@ -3010,7 +3017,7 @@ namespace Microsoft public virtual void Validate(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary validationState, string prefix, object model, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, object container) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ParameterBinder { public virtual System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder modelBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor parameter, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, object value) => throw null; @@ -3019,7 +3026,7 @@ namespace Microsoft public ParameterBinder(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator validator, Microsoft.Extensions.Options.IOptions mvcOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.PrefixContainer` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.PrefixContainer` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PrefixContainer { public bool ContainsPrefix(string prefix) => throw null; @@ -3027,7 +3034,7 @@ namespace Microsoft public PrefixContainer(System.Collections.Generic.ICollection values) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.QueryStringValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.QueryStringValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QueryStringValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { public override bool ContainsPrefix(string prefix) => throw null; @@ -3038,14 +3045,14 @@ namespace Microsoft public QueryStringValueProvider(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource, Microsoft.AspNetCore.Http.IQueryCollection values, System.Globalization.CultureInfo culture) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.QueryStringValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.QueryStringValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QueryStringValueProviderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory { public System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context) => throw null; public QueryStringValueProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider { public override bool ContainsPrefix(string key) => throw null; @@ -3056,14 +3063,14 @@ namespace Microsoft public RouteValueProvider(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource, Microsoft.AspNetCore.Routing.RouteValueDictionary values, System.Globalization.CultureInfo culture) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteValueProviderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory { public System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context) => throw null; public RouteValueProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.SuppressChildValidationMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.SuppressChildValidationMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SuppressChildValidationMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider { public void CreateValidationMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext context) => throw null; @@ -3073,13 +3080,13 @@ namespace Microsoft public System.Type Type { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeException` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeException` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnsupportedContentTypeException : System.Exception { public UnsupportedContentTypeException(string message) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnsupportedContentTypeFilter : Microsoft.AspNetCore.Mvc.Filters.IActionFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public void OnActionExecuted(Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext context) => throw null; @@ -3088,7 +3095,7 @@ namespace Microsoft public UnsupportedContentTypeFilter() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ValueProviderFactoryExtensions { public static void RemoveType(this System.Collections.Generic.IList list, System.Type type) => throw null; @@ -3097,7 +3104,7 @@ namespace Microsoft namespace Binders { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinder<>` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinder<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ArrayModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinder { public ArrayModelBinder(Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder elementBinder, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder), default(Microsoft.Extensions.Logging.ILoggerFactory)) => throw null; @@ -3109,28 +3116,28 @@ namespace Microsoft protected override object CreateEmptyCollection(System.Type targetType) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ArrayModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public ArrayModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BinderTypeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public BinderTypeModelBinder(System.Type binderType) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BinderTypeModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public BinderTypeModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BodyModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; @@ -3139,7 +3146,7 @@ namespace Microsoft public BodyModelBinder(System.Collections.Generic.IList formatters, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory readerFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.MvcOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BodyModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public BodyModelBinderProvider(System.Collections.Generic.IList formatters, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory readerFactory) => throw null; @@ -3148,35 +3155,35 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ByteArrayModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public ByteArrayModelBinder(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ByteArrayModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public ByteArrayModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CancellationTokenModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public CancellationTokenModelBinder() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CancellationTokenModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public CancellationTokenModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinder<>` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinder<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CollectionModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.ICollectionModelBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { protected void AddErrorIfBindingRequired(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; @@ -3193,27 +3200,27 @@ namespace Microsoft protected Microsoft.Extensions.Logging.ILogger Logger { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CollectionModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public CollectionModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComplexObjectModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComplexObjectModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public ComplexObjectModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexTypeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexTypeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComplexTypeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; @@ -3225,35 +3232,35 @@ namespace Microsoft protected virtual void SetProperty(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext, string modelName, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata propertyMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult result) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComplexTypeModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public ComplexTypeModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DateTimeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public DateTimeModelBinder(System.Globalization.DateTimeStyles supportedStyles, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DateTimeModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public DateTimeModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DecimalModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DecimalModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DecimalModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public DecimalModelBinder(System.Globalization.NumberStyles supportedStyles, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinder<,>` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinder<,>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DictionaryModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinder> { public override System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; @@ -3265,77 +3272,77 @@ namespace Microsoft public DictionaryModelBinder(Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder keyBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder valueBinder, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, bool allowValidatingTopLevelNodes, Microsoft.AspNetCore.Mvc.MvcOptions mvcOptions) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder), default(Microsoft.Extensions.Logging.ILoggerFactory)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DictionaryModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public DictionaryModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DoubleModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DoubleModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DoubleModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public DoubleModelBinder(System.Globalization.NumberStyles supportedStyles, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnumTypeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder { protected override void CheckModel(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext, Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult valueProviderResult, object model) => throw null; public EnumTypeModelBinder(bool suppressBindingUndefinedValueToEnumType, System.Type modelType, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) : base(default(System.Type), default(Microsoft.Extensions.Logging.ILoggerFactory)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnumTypeModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public EnumTypeModelBinderProvider(Microsoft.AspNetCore.Mvc.MvcOptions options) => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FloatModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public FloatModelBinder(System.Globalization.NumberStyles supportedStyles, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FloatingPointTypeModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public FloatingPointTypeModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormCollectionModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public FormCollectionModelBinder(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormCollectionModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public FormCollectionModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFileModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public FormFileModelBinder(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFileModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public FormFileModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HeaderModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; @@ -3343,42 +3350,42 @@ namespace Microsoft public HeaderModelBinder(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder innerModelBinder) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HeaderModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; public HeaderModelBinderProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinder<,>` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinder<,>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KeyValuePairModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public KeyValuePairModelBinder(Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder keyBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder valueBinder, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KeyValuePairModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; public KeyValuePairModelBinderProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServicesModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public ServicesModelBinder() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServicesModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; public ServicesModelBinderProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SimpleTypeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; @@ -3386,17 +3393,24 @@ namespace Microsoft public SimpleTypeModelBinder(System.Type type, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SimpleTypeModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; public SimpleTypeModelBinderProvider() => throw null; } + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class TryParseModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider + { + public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; + public TryParseModelBinderProvider() => throw null; + } + } namespace Metadata { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingMetadata { public string BinderModelName { get => throw null; set => throw null; } @@ -3411,7 +3425,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider PropertyFilterProvider { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingMetadataProviderContext { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -3423,7 +3437,7 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList TypeAttributes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingSourceMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingSourceMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingSourceMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } @@ -3432,7 +3446,7 @@ namespace Microsoft public System.Type Type { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultMetadataDetails { public Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadata BindingMetadata { get => throw null; set => throw null; } @@ -3449,7 +3463,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadata ValidationMetadata { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultModelBindingMessageProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider { public override System.Func AttemptedValueIsInvalidAccessor { get => throw null; } @@ -3478,7 +3492,7 @@ namespace Microsoft public override System.Func ValueMustNotBeNullAccessor { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultModelMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata { public override System.Collections.Generic.IReadOnlyDictionary AdditionalValues { get => throw null; } @@ -3533,7 +3547,7 @@ namespace Microsoft public override System.Collections.Generic.IReadOnlyList ValidatorMetadata { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataProvider { protected virtual Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata CreateModelMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails entry) => throw null; @@ -3552,7 +3566,7 @@ namespace Microsoft protected Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider ModelBindingMessageProvider { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DisplayMetadata { public System.Collections.Generic.IDictionary AdditionalValues { get => throw null; } @@ -3582,7 +3596,7 @@ namespace Microsoft public string TemplateHint { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DisplayMetadataProviderContext { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -3593,49 +3607,58 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList TypeAttributes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ExcludeBindingMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ExcludeBindingMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExcludeBindingMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider { public void CreateBindingMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext context) => throw null; public ExcludeBindingMetadataProvider(System.Type type) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBindingMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider { void CreateBindingMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICompositeMetadataDetailsProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IDisplayMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider { } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IDisplayMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IDisplayMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDisplayMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider { void CreateDisplayMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMetadataDetailsProvider { } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValidationMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider { void CreateValidationMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.MetadataDetailsProviderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.MetadataDetailsProviderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MetadataDetailsProviderExtensions { public static void RemoveType(this System.Collections.Generic.IList list, System.Type type) => throw null; public static void RemoveType(this System.Collections.Generic.IList list) where TMetadataDetailsProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.SystemTextJsonValidationMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class SystemTextJsonValidationMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IDisplayMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider + { + public void CreateDisplayMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext context) => throw null; + public void CreateValidationMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext context) => throw null; + public SystemTextJsonValidationMetadataProvider() => throw null; + public SystemTextJsonValidationMetadataProvider(System.Text.Json.JsonNamingPolicy namingPolicy) => throw null; + } + + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationMetadata { public bool? HasValidators { get => throw null; set => throw null; } @@ -3643,10 +3666,11 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter PropertyValidationFilter { get => throw null; set => throw null; } public bool? ValidateChildren { get => throw null; set => throw null; } public ValidationMetadata() => throw null; + public string ValidationModelName { get => throw null; set => throw null; } public System.Collections.Generic.IList ValidatorMetadata { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationMetadataProviderContext { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -3661,14 +3685,14 @@ namespace Microsoft } namespace Validation { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorCache` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorCache` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClientValidatorCache { public ClientValidatorCache() => throw null; public System.Collections.Generic.IReadOnlyList GetValidators(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider validatorProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.CompositeClientModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.CompositeClientModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeClientModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider { public CompositeClientModelValidatorProvider(System.Collections.Generic.IEnumerable providers) => throw null; @@ -3676,7 +3700,7 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList ValidatorProviders { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.CompositeModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.CompositeModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider { public CompositeModelValidatorProvider(System.Collections.Generic.IList providers) => throw null; @@ -3684,36 +3708,36 @@ namespace Microsoft public System.Collections.Generic.IList ValidatorProviders { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IMetadataBasedModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IMetadataBasedModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMetadataBasedModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider { bool HasValidators(System.Type modelType, System.Collections.Generic.IList validatorMetadata); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IObjectModelValidator { void Validate(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary validationState, string prefix, object model); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelValidatorProviderExtensions { public static void RemoveType(this System.Collections.Generic.IList list, System.Type type) => throw null; public static void RemoveType(this System.Collections.Generic.IList list) where TModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidateNeverAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidateNeverAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateNeverAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter { public bool ShouldValidateEntry(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry entry, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry parentEntry) => throw null; public ValidateNeverAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationVisitor { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor+StateManager` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor+StateManager` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` protected struct StateManager : System.IDisposable { public void Dispose() => throw null; @@ -3749,7 +3773,7 @@ namespace Microsoft protected virtual bool VisitSimpleType() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorCache` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorCache` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidatorCache { public System.Collections.Generic.IReadOnlyList GetValidators(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider validatorProvider) => throw null; @@ -3760,7 +3784,7 @@ namespace Microsoft } namespace Routing { - // Generated from `Microsoft.AspNetCore.Mvc.Routing.DynamicRouteValueTransformer` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.DynamicRouteValueTransformer` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class DynamicRouteValueTransformer { protected DynamicRouteValueTransformer() => throw null; @@ -3769,7 +3793,7 @@ namespace Microsoft public abstract System.Threading.Tasks.ValueTask TransformAsync(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary values); } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HttpMethodAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Routing.IActionHttpMethodProvider, Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider { public HttpMethodAttribute(System.Collections.Generic.IEnumerable httpMethods) => throw null; @@ -3781,13 +3805,13 @@ namespace Microsoft public string Template { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.IActionHttpMethodProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.IActionHttpMethodProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionHttpMethodProvider { System.Collections.Generic.IEnumerable HttpMethods { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteTemplateProvider { string Name { get; } @@ -3795,27 +3819,27 @@ namespace Microsoft string Template { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.IRouteValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.IRouteValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteValueProvider { string RouteKey { get; } string RouteValue { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUrlHelperFactory { Microsoft.AspNetCore.Mvc.IUrlHelper GetUrlHelper(Microsoft.AspNetCore.Mvc.ActionContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.KnownRouteValueConstraint` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.KnownRouteValueConstraint` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KnownRouteValueConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint { public KnownRouteValueConstraint(Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider actionDescriptorCollectionProvider) => throw null; public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.RouteValueAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.RouteValueAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RouteValueAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Routing.IRouteValueProvider { public string RouteKey { get => throw null; } @@ -3823,7 +3847,7 @@ namespace Microsoft protected RouteValueAttribute(string routeKey, string routeValue) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlHelper` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlHelper` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlHelper : Microsoft.AspNetCore.Mvc.Routing.UrlHelperBase { public override string Action(Microsoft.AspNetCore.Mvc.Routing.UrlActionContext actionContext) => throw null; @@ -3835,7 +3859,7 @@ namespace Microsoft public UrlHelper(Microsoft.AspNetCore.Mvc.ActionContext actionContext) : base(default(Microsoft.AspNetCore.Mvc.ActionContext)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlHelperBase` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlHelperBase` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class UrlHelperBase : Microsoft.AspNetCore.Mvc.IUrlHelper { public abstract string Action(Microsoft.AspNetCore.Mvc.Routing.UrlActionContext actionContext); @@ -3851,7 +3875,7 @@ namespace Microsoft protected UrlHelperBase(Microsoft.AspNetCore.Mvc.ActionContext actionContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlHelperFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlHelperFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlHelperFactory : Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory { public Microsoft.AspNetCore.Mvc.IUrlHelper GetUrlHelper(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -3861,7 +3885,7 @@ namespace Microsoft } namespace ViewFeatures { - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKeepTempDataResult : Microsoft.AspNetCore.Mvc.IActionResult { } @@ -3870,7 +3894,7 @@ namespace Microsoft } namespace Routing { - // Generated from `Microsoft.AspNetCore.Routing.ControllerLinkGeneratorExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.ControllerLinkGeneratorExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ControllerLinkGeneratorExtensions { public static string GetPathByAction(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string action = default(string), string controller = default(string), object values = default(object), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; @@ -3879,7 +3903,7 @@ namespace Microsoft public static string GetUriByAction(this Microsoft.AspNetCore.Routing.LinkGenerator generator, string action, string controller, object values, string scheme, Microsoft.AspNetCore.Http.HostString host, Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.PageLinkGeneratorExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.PageLinkGeneratorExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class PageLinkGeneratorExtensions { public static string GetPathByPage(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string page = default(string), string handler = default(string), object values = default(object), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; @@ -3894,7 +3918,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ApplicationModelConventionExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ApplicationModelConventionExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ApplicationModelConventionExtensions { public static void Add(this System.Collections.Generic.IList conventions, Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention actionModelConvention) => throw null; @@ -3905,21 +3929,21 @@ namespace Microsoft public static void RemoveType(this System.Collections.Generic.IList list) where TApplicationModelConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.IMvcBuilder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.IMvcBuilder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMvcBuilder { Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager PartManager { get; } Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } } - // Generated from `Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMvcCoreBuilder { Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager PartManager { get; } Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcCoreMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcCoreMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcCoreMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddApplicationPart(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Reflection.Assembly assembly) => throw null; @@ -3932,7 +3956,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcBuilder SetCompatibilityVersion(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Microsoft.AspNetCore.Mvc.CompatibilityVersion version) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcCoreMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcCoreMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcCoreMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddApplicationPart(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, System.Reflection.Assembly assembly) => throw null; @@ -3948,7 +3972,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder SetCompatibilityVersion(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Microsoft.AspNetCore.Mvc.CompatibilityVersion version) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcCoreServiceCollectionExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcCoreServiceCollectionExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcCoreServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddMvcCore(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Cors.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Cors.cs index 817984f8330..bc39bdcbde9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Cors.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Cors.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Cors { - // Generated from `Microsoft.AspNetCore.Mvc.Cors.CorsAuthorizationFilter` in `Microsoft.AspNetCore.Mvc.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Cors.CorsAuthorizationFilter` in `Microsoft.AspNetCore.Mvc.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsAuthorizationFilter : Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public CorsAuthorizationFilter(Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider policyProvider) => throw null; @@ -18,7 +18,7 @@ namespace Microsoft public string PolicyName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Cors.ICorsAuthorizationFilter` in `Microsoft.AspNetCore.Mvc.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Cors.ICorsAuthorizationFilter` in `Microsoft.AspNetCore.Mvc.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface ICorsAuthorizationFilter : Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { } @@ -30,7 +30,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcCorsMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcCorsMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcCorsMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddCors(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.DataAnnotations.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.DataAnnotations.cs index fca186c6f10..d8da8f5db98 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.DataAnnotations.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.DataAnnotations.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Mvc { - // Generated from `Microsoft.AspNetCore.Mvc.HiddenInputAttribute` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.HiddenInputAttribute` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HiddenInputAttribute : System.Attribute { public bool DisplayValue { get => throw null; set => throw null; } @@ -15,26 +15,26 @@ namespace Microsoft namespace DataAnnotations { - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase<>` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase<>` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AttributeAdapterBase : Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationAttributeAdapter, Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator where TAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public AttributeAdapterBase(TAttribute attribute, Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer) : base(default(TAttribute), default(Microsoft.Extensions.Localization.IStringLocalizer)) => throw null; public abstract string GetErrorMessage(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase validationContext); } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAttributeAdapter : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator { string GetErrorMessage(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase validationContext); } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValidationAttributeAdapterProvider { Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter GetAttributeAdapter(System.ComponentModel.DataAnnotations.ValidationAttribute attribute, Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer); } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MvcDataAnnotationsLocalizationOptions : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public System.Func DataAnnotationLocalizerProvider; @@ -43,7 +43,7 @@ namespace Microsoft public MvcDataAnnotationsLocalizationOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.RequiredAttributeAdapter` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.RequiredAttributeAdapter` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequiredAttributeAdapter : Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase { public override void AddValidation(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context) => throw null; @@ -51,7 +51,7 @@ namespace Microsoft public RequiredAttributeAdapter(System.ComponentModel.DataAnnotations.RequiredAttribute attribute, Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer) : base(default(System.ComponentModel.DataAnnotations.RequiredAttribute), default(Microsoft.Extensions.Localization.IStringLocalizer)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationAttributeAdapter<>` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationAttributeAdapter<>` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ValidationAttributeAdapter : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator where TAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public abstract void AddValidation(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context); @@ -61,14 +61,14 @@ namespace Microsoft public ValidationAttributeAdapter(TAttribute attribute, Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationAttributeAdapterProvider` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationAttributeAdapterProvider` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationAttributeAdapterProvider : Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider { public Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter GetAttributeAdapter(System.ComponentModel.DataAnnotations.ValidationAttribute attribute, Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer) => throw null; public ValidationAttributeAdapterProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationProviderAttribute` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationProviderAttribute` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ValidationProviderAttribute : System.Attribute { public abstract System.Collections.Generic.IEnumerable GetValidationAttributes(); @@ -82,14 +82,14 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcDataAnnotationsMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcDataAnnotationsMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcDataAnnotationsMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddDataAnnotationsLocalization(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder) => throw null; public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddDataAnnotationsLocalization(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Action setupAction) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcDataAnnotationsMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcDataAnnotationsMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcDataAnnotationsMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddDataAnnotations(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Formatters.Xml.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Formatters.Xml.cs index 4bd39721b4e..59856ae70a2 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Formatters.Xml.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Formatters.Xml.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Formatters { - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerInputFormatter` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerInputFormatter` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlDataContractSerializerInputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter, Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy { protected override bool CanReadType(System.Type type) => throw null; @@ -25,7 +25,7 @@ namespace Microsoft public System.Xml.XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlDataContractSerializerOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter { protected override bool CanWriteType(System.Type type) => throw null; @@ -44,7 +44,7 @@ namespace Microsoft public XmlDataContractSerializerOutputFormatter(System.Xml.XmlWriterSettings writerSettings, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerInputFormatter` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerInputFormatter` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlSerializerInputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter, Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy { protected override bool CanReadType(System.Type type) => throw null; @@ -61,7 +61,7 @@ namespace Microsoft public XmlSerializerInputFormatter(Microsoft.AspNetCore.Mvc.MvcOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerOutputFormatter` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerOutputFormatter` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlSerializerOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter { protected override bool CanWriteType(System.Type type) => throw null; @@ -82,7 +82,7 @@ namespace Microsoft namespace Xml { - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerable<,>` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerable<,>` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DelegatingEnumerable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public void Add(object item) => throw null; @@ -92,7 +92,7 @@ namespace Microsoft System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerator<,>` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerator<,>` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DelegatingEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public TWrapped Current { get => throw null; } @@ -103,7 +103,7 @@ namespace Microsoft public void Reset() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.EnumerableWrapperProvider` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.EnumerableWrapperProvider` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnumerableWrapperProvider : Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider { public EnumerableWrapperProvider(System.Type sourceEnumerableOfT, Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider elementWrapperProvider) => throw null; @@ -111,33 +111,33 @@ namespace Microsoft public System.Type WrappingType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.EnumerableWrapperProviderFactory` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.EnumerableWrapperProviderFactory` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnumerableWrapperProviderFactory : Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory { public EnumerableWrapperProviderFactory(System.Collections.Generic.IEnumerable wrapperProviderFactories) => throw null; public Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider GetProvider(Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUnwrappable { object Unwrap(System.Type declaredType); } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IWrapperProvider { object Wrap(object original); System.Type WrappingType { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IWrapperProviderFactory { Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider GetProvider(Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.MvcXmlOptions` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.MvcXmlOptions` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MvcXmlOptions : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null; @@ -145,7 +145,7 @@ namespace Microsoft public MvcXmlOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.ProblemDetailsWrapper` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.ProblemDetailsWrapper` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProblemDetailsWrapper : Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable, System.Xml.Serialization.IXmlSerializable { protected static string EmptyKey; @@ -158,7 +158,7 @@ namespace Microsoft public virtual void WriteXml(System.Xml.XmlWriter writer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.SerializableErrorWrapper` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.SerializableErrorWrapper` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SerializableErrorWrapper : Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable, System.Xml.Serialization.IXmlSerializable { public System.Xml.Schema.XmlSchema GetSchema() => throw null; @@ -170,7 +170,7 @@ namespace Microsoft public void WriteXml(System.Xml.XmlWriter writer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.SerializableErrorWrapperProvider` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.SerializableErrorWrapperProvider` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SerializableErrorWrapperProvider : Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider { public SerializableErrorWrapperProvider() => throw null; @@ -178,14 +178,14 @@ namespace Microsoft public System.Type WrappingType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.SerializableErrorWrapperProviderFactory` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.SerializableErrorWrapperProviderFactory` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SerializableErrorWrapperProviderFactory : Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory { public Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider GetProvider(Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext context) => throw null; public SerializableErrorWrapperProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.ValidationProblemDetailsWrapper` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.ValidationProblemDetailsWrapper` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationProblemDetailsWrapper : Microsoft.AspNetCore.Mvc.Formatters.Xml.ProblemDetailsWrapper, Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable { protected override void ReadValue(System.Xml.XmlReader reader, string name) => throw null; @@ -195,7 +195,7 @@ namespace Microsoft public override void WriteXml(System.Xml.XmlWriter writer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WrapperProviderContext { public System.Type DeclaredType { get => throw null; } @@ -203,7 +203,7 @@ namespace Microsoft public WrapperProviderContext(System.Type declaredType, bool isSerialization) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderFactoriesExtensions` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderFactoriesExtensions` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WrapperProviderFactoriesExtensions { public static Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider GetWrapperProvider(this System.Collections.Generic.IEnumerable wrapperProviderFactories, Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext wrapperProviderContext) => throw null; @@ -215,7 +215,7 @@ namespace Microsoft { namespace Metadata { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DataMemberRequiredBindingMetadataProvider` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DataMemberRequiredBindingMetadataProvider` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataMemberRequiredBindingMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider { public void CreateBindingMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext context) => throw null; @@ -230,7 +230,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcXmlMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcXmlMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcXmlMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddXmlDataContractSerializerFormatters(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder) => throw null; @@ -240,7 +240,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddXmlSerializerFormatters(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Action setupAction) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcXmlMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcXmlMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcXmlMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddXmlDataContractSerializerFormatters(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Localization.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Localization.cs index f024a16dc78..ad0d60da2b7 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Localization.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Localization.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Localization { - // Generated from `Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer` in `Microsoft.AspNetCore.Mvc.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlLocalizer : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer { public virtual System.Collections.Generic.IEnumerable GetAllStrings(bool includeParentCultures) => throw null; @@ -21,7 +21,7 @@ namespace Microsoft protected virtual Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString ToHtmlString(Microsoft.Extensions.Localization.LocalizedString result, object[] arguments) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer<>` in `Microsoft.AspNetCore.Mvc.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer<>` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlLocalizer : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer, Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer { public virtual System.Collections.Generic.IEnumerable GetAllStrings(bool includeParentCultures) => throw null; @@ -32,7 +32,7 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString this[string name] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizerExtensions` in `Microsoft.AspNetCore.Mvc.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizerExtensions` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlLocalizerExtensions { public static System.Collections.Generic.IEnumerable GetAllStrings(this Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer htmlLocalizer) => throw null; @@ -40,7 +40,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString GetHtml(this Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer htmlLocalizer, string name, params object[] arguments) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizerFactory` in `Microsoft.AspNetCore.Mvc.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizerFactory` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlLocalizerFactory : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory { public virtual Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer Create(System.Type resourceSource) => throw null; @@ -48,7 +48,7 @@ namespace Microsoft public HtmlLocalizerFactory(Microsoft.Extensions.Localization.IStringLocalizerFactory localizerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer` in `Microsoft.AspNetCore.Mvc.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlLocalizer { System.Collections.Generic.IEnumerable GetAllStrings(bool includeParentCultures); @@ -58,24 +58,24 @@ namespace Microsoft Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString this[string name] { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer<>` in `Microsoft.AspNetCore.Mvc.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer<>` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlLocalizer : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer { } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory` in `Microsoft.AspNetCore.Mvc.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlLocalizerFactory { Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer Create(System.Type resourceSource); Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer Create(string baseName, string location); } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer` in `Microsoft.AspNetCore.Mvc.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewLocalizer : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer { } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString` in `Microsoft.AspNetCore.Mvc.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocalizedHtmlString : Microsoft.AspNetCore.Html.IHtmlContent { public bool IsResourceNotFound { get => throw null; } @@ -87,7 +87,7 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.ViewLocalizer` in `Microsoft.AspNetCore.Mvc.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Localization.ViewLocalizer` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewLocalizer : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer, Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer, Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware { public void Contextualize(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext) => throw null; @@ -106,7 +106,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcLocalizationMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcLocalizationMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcLocalizationMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddMvcLocalization(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder) => throw null; @@ -123,7 +123,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddViewLocalization(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat format, System.Action setupAction) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcLocalizationMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcLocalizationMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcLocalizationMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddMvcLocalization(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Razor.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Razor.cs index 0ae59044a30..c5c4c3a4929 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Razor.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Razor.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace ApplicationParts { - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.CompiledRazorAssemblyApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.CompiledRazorAssemblyApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompiledRazorAssemblyApplicationPartFactory : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory { public CompiledRazorAssemblyApplicationPartFactory() => throw null; @@ -16,7 +16,7 @@ namespace Microsoft public static System.Collections.Generic.IEnumerable GetDefaultApplicationParts(System.Reflection.Assembly assembly) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.CompiledRazorAssemblyPart` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.CompiledRazorAssemblyPart` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompiledRazorAssemblyPart : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart, Microsoft.AspNetCore.Mvc.ApplicationParts.IRazorCompiledItemProvider { public System.Reflection.Assembly Assembly { get => throw null; } @@ -25,14 +25,14 @@ namespace Microsoft public override string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ConsolidatedAssemblyApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ConsolidatedAssemblyApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsolidatedAssemblyApplicationPartFactory : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory { public ConsolidatedAssemblyApplicationPartFactory() => throw null; public override System.Collections.Generic.IEnumerable GetApplicationParts(System.Reflection.Assembly assembly) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.IRazorCompiledItemProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.IRazorCompiledItemProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRazorCompiledItemProvider { System.Collections.Generic.IEnumerable CompiledItems { get; } @@ -41,7 +41,7 @@ namespace Microsoft } namespace Diagnostics { - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterViewPageEventData` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterViewPageEventData` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterViewPageEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -54,7 +54,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeViewPageEventData` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeViewPageEventData` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeViewPageEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -70,7 +70,7 @@ namespace Microsoft } namespace Razor { - // Generated from `Microsoft.AspNetCore.Mvc.Razor.HelperResult` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.HelperResult` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HelperResult : Microsoft.AspNetCore.Html.IHtmlContent { public HelperResult(System.Func asyncAction) => throw null; @@ -78,12 +78,12 @@ namespace Microsoft public virtual void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.IModelTypeProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.IModelTypeProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IModelTypeProvider { } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.IRazorPage` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.IRazorPage` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRazorPage { Microsoft.AspNetCore.Html.IHtmlContent BodyContent { get; set; } @@ -97,19 +97,19 @@ namespace Microsoft Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRazorPageActivator { void Activate(Microsoft.AspNetCore.Mvc.Razor.IRazorPage page, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRazorPageFactoryProvider { Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult CreateFactory(string relativePath); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRazorViewEngine : Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine { Microsoft.AspNetCore.Mvc.Razor.RazorPageResult FindPage(Microsoft.AspNetCore.Mvc.ActionContext context, string pageName); @@ -117,32 +117,32 @@ namespace Microsoft Microsoft.AspNetCore.Mvc.Razor.RazorPageResult GetPage(string executingFilePath, string pagePath); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.ITagHelperActivator` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.ITagHelperActivator` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelperActivator { TTagHelper Create(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.ITagHelperFactory` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.ITagHelperFactory` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelperFactory { TTagHelper CreateTagHelper(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.ITagHelperInitializer<>` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.ITagHelperInitializer<>` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelperInitializer where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper { void Initialize(TTagHelper helper, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewLocationExpander { System.Collections.Generic.IEnumerable ExpandViewLocations(Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context, System.Collections.Generic.IEnumerable viewLocations); void PopulateValues(Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpander` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpander` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LanguageViewLocationExpander : Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander { public virtual System.Collections.Generic.IEnumerable ExpandViewLocations(Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context, System.Collections.Generic.IEnumerable viewLocations) => throw null; @@ -151,14 +151,14 @@ namespace Microsoft public void PopulateValues(Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum LanguageViewLocationExpanderFormat : int { SubFolder = 0, Suffix = 1, } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPage` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPage` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RazorPage : Microsoft.AspNetCore.Mvc.Razor.RazorPageBase { public override void BeginContext(int position, int length, bool isLiteral) => throw null; @@ -177,7 +177,7 @@ namespace Microsoft public System.Threading.Tasks.Task RenderSectionAsync(string name, bool required) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPage<>` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPage<>` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RazorPage : Microsoft.AspNetCore.Mvc.Razor.RazorPage { public TModel Model { get => throw null; } @@ -185,14 +185,14 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPageActivator` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPageActivator` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorPageActivator : Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator { public void Activate(Microsoft.AspNetCore.Mvc.Razor.IRazorPage page, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) => throw null; public RazorPageActivator(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory, Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper jsonHelper, System.Diagnostics.DiagnosticSource diagnosticSource, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider modelExpressionProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPageBase` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPageBase` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RazorPageBase : Microsoft.AspNetCore.Mvc.Razor.IRazorPage { public void AddHtmlAttributeValue(string prefix, int prefixOffset, object value, int valueOffset, int valueLength, bool isLiteral) => throw null; @@ -238,7 +238,7 @@ namespace Microsoft public virtual void WriteLiteral(string value) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RazorPageFactoryResult { public System.Func RazorPageFactory { get => throw null; } @@ -248,7 +248,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor ViewDescriptor { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPageResult` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPageResult` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RazorPageResult { public string Name { get => throw null; } @@ -259,7 +259,7 @@ namespace Microsoft public System.Collections.Generic.IEnumerable SearchedLocations { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorView` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorView` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorView : Microsoft.AspNetCore.Mvc.ViewEngines.IView { public string Path { get => throw null; } @@ -269,7 +269,7 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList ViewStartPages { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorViewEngine : Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine, Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine { public Microsoft.AspNetCore.Mvc.Razor.RazorPageResult FindPage(Microsoft.AspNetCore.Mvc.ActionContext context, string pageName) => throw null; @@ -283,7 +283,7 @@ namespace Microsoft protected internal Microsoft.Extensions.Caching.Memory.IMemoryCache ViewLookupCache { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorViewEngineOptions { public System.Collections.Generic.IList AreaPageViewLocationFormats { get => throw null; } @@ -294,17 +294,17 @@ namespace Microsoft public System.Collections.Generic.IList ViewLocationFormats { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RenderAsyncDelegate` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.RenderAsyncDelegate` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task RenderAsyncDelegate(); - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelperInitializer<>` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelperInitializer<>` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperInitializer : Microsoft.AspNetCore.Mvc.Razor.ITagHelperInitializer where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper { public void Initialize(TTagHelper helper, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) => throw null; public TagHelperInitializer(System.Action action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewLocationExpanderContext { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -319,7 +319,7 @@ namespace Microsoft namespace Compilation { - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompiledViewDescriptor { public CompiledViewDescriptor() => throw null; @@ -332,19 +332,19 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute ViewAttribute { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewCompiler { System.Threading.Tasks.Task CompileAsync(string relativePath); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewCompilerProvider { Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler GetCompiler(); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorViewAttribute : System.Attribute { public string Path { get => throw null; } @@ -352,7 +352,7 @@ namespace Microsoft public System.Type ViewType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.ViewsFeature` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.ViewsFeature` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewsFeature { public System.Collections.Generic.IList ViewDescriptors { get => throw null; } @@ -362,7 +362,7 @@ namespace Microsoft } namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Infrastructure.TagHelperMemoryCacheProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.Infrastructure.TagHelperMemoryCacheProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperMemoryCacheProvider { public Microsoft.Extensions.Caching.Memory.IMemoryCache Cache { get => throw null; set => throw null; } @@ -372,7 +372,7 @@ namespace Microsoft } namespace Internal { - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorInjectAttribute : System.Attribute { public RazorInjectAttribute() => throw null; @@ -381,31 +381,31 @@ namespace Microsoft } namespace TagHelpers { - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BodyTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperComponentTagHelper { public BodyTagHelper(Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager manager, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) : base(default(Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager), default(Microsoft.Extensions.Logging.ILoggerFactory)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HeadTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperComponentTagHelper { public HeadTagHelper(Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager manager, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) : base(default(Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager), default(Microsoft.Extensions.Logging.ILoggerFactory)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelperComponentManager { System.Collections.Generic.ICollection Components { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentPropertyActivator` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentPropertyActivator` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelperComponentPropertyActivator { void Activate(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context, Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent tagHelperComponent); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperComponentTagHelper` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperComponentTagHelper` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TagHelperComponentTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public override void Init(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context) => throw null; @@ -415,14 +415,14 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperFeature` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperFeature` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperFeature { public TagHelperFeature() => throw null; public System.Collections.Generic.IList TagHelpers { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperFeatureProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperFeatureProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider, Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider { protected virtual bool IncludePart(Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart part) => throw null; @@ -431,7 +431,7 @@ namespace Microsoft public TagHelperFeatureProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlResolutionTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { protected System.Text.Encodings.Web.HtmlEncoder HtmlEncoder { get => throw null; } @@ -453,7 +453,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcRazorMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcRazorMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcRazorMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddRazorOptions(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Action setupAction) => throw null; @@ -461,7 +461,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcBuilder InitializeTagHelper(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Action initialize) where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcRazorMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcRazorMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcRazorMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddRazorViewEngine(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.RazorPages.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.RazorPages.cs index 509885cda09..6c9671cc5ad 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.RazorPages.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.RazorPages.cs @@ -6,13 +6,14 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageActionEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { public void Add(System.Action convention) => throw null; + public void Finally(System.Action finalConvention) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RazorPagesEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.RazorPagesEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RazorPagesEndpointRouteBuilderExtensions { public static void MapDynamicPageRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern) where TTransformer : Microsoft.AspNetCore.Mvc.Routing.DynamicRouteValueTransformer => throw null; @@ -30,13 +31,13 @@ namespace Microsoft { namespace ApplicationModels { - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageApplicationModelConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel model); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelPartsProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelPartsProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageApplicationModelPartsProvider { Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel CreateHandlerModel(System.Reflection.MethodInfo method); @@ -45,7 +46,7 @@ namespace Microsoft bool IsHandler(System.Reflection.MethodInfo methodInfo); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageApplicationModelProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext context); @@ -53,24 +54,24 @@ namespace Microsoft int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageConvention { } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageHandlerModelConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageHandlerModelConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageHandlerModelConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel model); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageRouteModelConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel model); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageRouteModelProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext context); @@ -78,7 +79,7 @@ namespace Microsoft int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageApplicationModel { public Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor ActionDescriptor { get => throw null; } @@ -101,7 +102,7 @@ namespace Microsoft public string ViewEnginePath { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageApplicationModelProviderContext { public Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor ActionDescriptor { get => throw null; } @@ -110,7 +111,7 @@ namespace Microsoft public System.Reflection.TypeInfo PageType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageConventionCollection : System.Collections.ObjectModel.Collection { public Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelConvention AddAreaFolderApplicationModelConvention(string areaName, string folderPath, System.Action action) => throw null; @@ -127,7 +128,7 @@ namespace Microsoft public void RemoveType() where TPageConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageHandlerModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -143,7 +144,7 @@ namespace Microsoft public System.Collections.Generic.IDictionary Properties { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageParameterModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageParameterModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageParameterModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase, Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel Handler { get => throw null; set => throw null; } @@ -154,7 +155,7 @@ namespace Microsoft public string ParameterName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PagePropertyModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { System.Reflection.MemberInfo Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel.MemberInfo { get => throw null; } @@ -165,7 +166,7 @@ namespace Microsoft public string PropertyName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteMetadata` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteMetadata` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageRouteMetadata { public string PageRoute { get => throw null; } @@ -173,7 +174,7 @@ namespace Microsoft public string RouteTemplate { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageRouteModel { public string AreaName { get => throw null; } @@ -188,14 +189,14 @@ namespace Microsoft public string ViewEnginePath { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageRouteModelProviderContext { public PageRouteModelProviderContext() => throw null; public System.Collections.Generic.IList RouteModels { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteTransformerConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteTransformerConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageRouteTransformerConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention, Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelConvention { public void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel model) => throw null; @@ -206,7 +207,7 @@ namespace Microsoft } namespace Diagnostics { - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterHandlerMethodEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterHandlerMethodEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterHandlerMethodEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -220,7 +221,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerExecutedEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerExecutedEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterPageFilterOnPageHandlerExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -232,7 +233,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerExecutingEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerExecutingEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterPageFilterOnPageHandlerExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -244,7 +245,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerExecutionEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerExecutionEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterPageFilterOnPageHandlerExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -256,7 +257,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerSelectedEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerSelectedEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterPageFilterOnPageHandlerSelectedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -268,7 +269,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerSelectionEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerSelectionEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterPageFilterOnPageHandlerSelectionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -280,7 +281,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeHandlerMethodEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeHandlerMethodEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeHandlerMethodEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -293,7 +294,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerExecutedEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerExecutedEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforePageFilterOnPageHandlerExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -305,7 +306,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerExecutingEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerExecutingEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforePageFilterOnPageHandlerExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -317,7 +318,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerExecutionEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerExecutionEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforePageFilterOnPageHandlerExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -329,7 +330,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerSelectedEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerSelectedEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforePageFilterOnPageHandlerSelectedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -341,7 +342,7 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerSelectionEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerSelectionEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforePageFilterOnPageHandlerSelectionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -356,14 +357,14 @@ namespace Microsoft } namespace Filters { - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncPageFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { System.Threading.Tasks.Task OnPageHandlerExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutionDelegate next); System.Threading.Tasks.Task OnPageHandlerSelectionAsync(Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IPageFilter` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.IPageFilter` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void OnPageHandlerExecuted(Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext context); @@ -371,7 +372,7 @@ namespace Microsoft void OnPageHandlerSelected(Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageHandlerExecutedContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -385,7 +386,7 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageHandlerExecutingContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -396,10 +397,10 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutionDelegate` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutionDelegate` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task PageHandlerExecutionDelegate(); - // Generated from `Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageHandlerSelectedContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -411,7 +412,7 @@ namespace Microsoft } namespace RazorPages { - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompiledPageActionDescriptor : Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor { public CompiledPageActionDescriptor() => throw null; @@ -424,7 +425,7 @@ namespace Microsoft public System.Reflection.TypeInfo PageTypeInfo { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.IPageActivatorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.IPageActivatorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageActivatorProvider { System.Func CreateActivator(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor); @@ -432,7 +433,7 @@ namespace Microsoft System.Action CreateReleaser(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageFactoryProvider { System.Func CreateAsyncPageDisposer(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor) => throw null; @@ -440,7 +441,7 @@ namespace Microsoft System.Func CreatePageFactory(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.IPageModelActivatorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.IPageModelActivatorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageModelActivatorProvider { System.Func CreateActivator(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor); @@ -448,7 +449,7 @@ namespace Microsoft System.Action CreateReleaser(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.IPageModelFactoryProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.IPageModelFactoryProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageModelFactoryProvider { System.Func CreateAsyncModelDisposer(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor) => throw null; @@ -456,19 +457,19 @@ namespace Microsoft System.Func CreateModelFactory(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.NonHandlerAttribute` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.NonHandlerAttribute` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NonHandlerAttribute : System.Attribute { public NonHandlerAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Page` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Page` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class Page : Microsoft.AspNetCore.Mvc.RazorPages.PageBase { protected Page() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageActionDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor { public string AreaName { get => throw null; set => throw null; } @@ -479,7 +480,7 @@ namespace Microsoft public string ViewEnginePath { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageBase` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageBase` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PageBase : Microsoft.AspNetCore.Mvc.Razor.RazorPageBase { public virtual Microsoft.AspNetCore.Mvc.BadRequestResult BadRequest() => throw null; @@ -595,7 +596,7 @@ namespace Microsoft public override Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageContext : Microsoft.AspNetCore.Mvc.ActionContext { public virtual Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; set => throw null; } @@ -606,13 +607,13 @@ namespace Microsoft public virtual System.Collections.Generic.IList> ViewStartFactories { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageContextAttribute` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageContextAttribute` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageContextAttribute : System.Attribute { public PageContextAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PageModel : Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IPageFilter { public virtual Microsoft.AspNetCore.Mvc.BadRequestResult BadRequest() => throw null; @@ -735,7 +736,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageResult` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageResult` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageResult : Microsoft.AspNetCore.Mvc.ActionResult { public string ContentType { get => throw null; set => throw null; } @@ -747,7 +748,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorPagesOptions : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection Conventions { get => throw null; set => throw null; } @@ -759,7 +760,7 @@ namespace Microsoft namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.CompiledPageActionDescriptorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.CompiledPageActionDescriptorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompiledPageActionDescriptorProvider : Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider { public CompiledPageActionDescriptorProvider(System.Collections.Generic.IEnumerable pageRouteModelProviders, System.Collections.Generic.IEnumerable applicationModelProviders, Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager applicationPartManager, Microsoft.Extensions.Options.IOptions mvcOptions, Microsoft.Extensions.Options.IOptions pageOptions) => throw null; @@ -768,7 +769,7 @@ namespace Microsoft public int Order { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HandlerMethodDescriptor { public HandlerMethodDescriptor() => throw null; @@ -778,26 +779,26 @@ namespace Microsoft public System.Collections.Generic.IList Parameters { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerParameterDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerParameterDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HandlerParameterDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor, Microsoft.AspNetCore.Mvc.Infrastructure.IParameterInfoParameterDescriptor { public HandlerParameterDescriptor() => throw null; public System.Reflection.ParameterInfo ParameterInfo { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageHandlerMethodSelector { Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor Select(Microsoft.AspNetCore.Mvc.RazorPages.PageContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageLoader` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageLoader` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageLoader { Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor Load(Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor actionDescriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionDescriptorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionDescriptorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageActionDescriptorProvider : Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider { protected System.Collections.Generic.IList BuildModel() => throw null; @@ -807,7 +808,7 @@ namespace Microsoft public PageActionDescriptorProvider(System.Collections.Generic.IEnumerable pageRouteModelProviders, Microsoft.Extensions.Options.IOptions mvcOptionsAccessor, Microsoft.Extensions.Options.IOptions pagesOptionsAccessor) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageBoundPropertyDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageBoundPropertyDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageBoundPropertyDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor, Microsoft.AspNetCore.Mvc.Infrastructure.IPropertyInfoParameterDescriptor { public PageBoundPropertyDescriptor() => throw null; @@ -815,7 +816,7 @@ namespace Microsoft System.Reflection.PropertyInfo Microsoft.AspNetCore.Mvc.Infrastructure.IPropertyInfoParameterDescriptor.PropertyInfo { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoader` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoader` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PageLoader : Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageLoader { Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageLoader.Load(Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor actionDescriptor) => throw null; @@ -824,20 +825,20 @@ namespace Microsoft protected PageLoader() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageModelAttribute` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageModelAttribute` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageModelAttribute : System.Attribute { public PageModelAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.RazorPages.PageContext pageContext, Microsoft.AspNetCore.Mvc.RazorPages.PageResult result) => throw null; public PageResultExecutor(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine compositeViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine razorViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator razorPageActivator, System.Diagnostics.DiagnosticListener diagnosticListener, System.Text.Encodings.Web.HtmlEncoder htmlEncoder) : base(default(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory), default(Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine), default(System.Diagnostics.DiagnosticListener)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageViewLocationExpander` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageViewLocationExpander` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageViewLocationExpander : Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander { public System.Collections.Generic.IEnumerable ExpandViewLocations(Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context, System.Collections.Generic.IEnumerable viewLocations) => throw null; @@ -845,7 +846,7 @@ namespace Microsoft public void PopulateValues(Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAdapter` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAdapter` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorPageAdapter : Microsoft.AspNetCore.Mvc.Razor.IRazorPage { public Microsoft.AspNetCore.Html.IHtmlContent BodyContent { get => throw null; set => throw null; } @@ -860,14 +861,14 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorPageAttribute : Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute { public RazorPageAttribute(string path, System.Type viewType, string routeTemplate) : base(default(string), default(System.Type)) => throw null; public string RouteTemplate { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ServiceBasedPageModelActivatorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ServiceBasedPageModelActivatorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceBasedPageModelActivatorProvider : Microsoft.AspNetCore.Mvc.RazorPages.IPageModelActivatorProvider { public System.Func CreateActivator(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor) => throw null; @@ -883,7 +884,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcRazorPagesMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcRazorPagesMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcRazorPagesMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddRazorPagesOptions(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Action setupAction) => throw null; @@ -891,7 +892,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcBuilder WithRazorPagesRoot(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, string rootDirectory) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcRazorPagesMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcRazorPagesMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcRazorPagesMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddRazorPages(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; @@ -899,7 +900,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder WithRazorPagesRoot(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, string rootDirectory) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.PageConventionCollectionExtensions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.PageConventionCollectionExtensions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class PageConventionCollectionExtensions { public static Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection Add(this Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection conventions, Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelBaseConvention convention) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.TagHelpers.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.TagHelpers.cs index 9af16469d1c..bbdc42d88f0 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.TagHelpers.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.TagHelpers.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Rendering { - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ValidationSummary : int { All = 2, @@ -19,7 +19,7 @@ namespace Microsoft } namespace TagHelpers { - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AnchorTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public string Action { get => throw null; set => throw null; } @@ -39,7 +39,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheTagHelper : Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperBase { public static string CacheKeyPrefix; @@ -49,7 +49,7 @@ namespace Microsoft public override System.Threading.Tasks.Task ProcessAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperBase` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperBase` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class CacheTagHelperBase : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public CacheTagHelperBase(System.Text.Encodings.Web.HtmlEncoder htmlEncoder) => throw null; @@ -70,21 +70,21 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperMemoryCacheFactory` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperMemoryCacheFactory` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheTagHelperMemoryCacheFactory { public Microsoft.Extensions.Caching.Memory.IMemoryCache Cache { get => throw null; } public CacheTagHelperMemoryCacheFactory(Microsoft.Extensions.Options.IOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperOptions` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperOptions` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheTagHelperOptions { public CacheTagHelperOptions() => throw null; public System.Int64 SizeLimit { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ComponentTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ComponentTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComponentTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public ComponentTagHelper() => throw null; @@ -95,7 +95,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.DistributedCacheTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.DistributedCacheTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedCacheTagHelper : Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperBase { public static string CacheKeyPrefix; @@ -105,7 +105,7 @@ namespace Microsoft public override System.Threading.Tasks.Task ProcessAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.EnvironmentTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.EnvironmentTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnvironmentTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public EnvironmentTagHelper(Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment) => throw null; @@ -117,7 +117,7 @@ namespace Microsoft public override void Process(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormActionTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public string Action { get => throw null; set => throw null; } @@ -135,7 +135,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public string Action { get => throw null; set => throw null; } @@ -155,7 +155,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.GlobbingUrlBuilder` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.GlobbingUrlBuilder` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class GlobbingUrlBuilder { public virtual System.Collections.Generic.IReadOnlyList BuildUrlList(string staticUrl, string includePattern, string excludePattern) => throw null; @@ -165,7 +165,7 @@ namespace Microsoft public Microsoft.AspNetCore.Http.PathString RequestPathBase { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ImageTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ImageTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ImageTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper { public bool AppendVersion { get => throw null; set => throw null; } @@ -178,7 +178,7 @@ namespace Microsoft public string Src { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression For { get => throw null; set => throw null; } @@ -194,7 +194,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LabelTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression For { get => throw null; set => throw null; } @@ -205,7 +205,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.LinkTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.LinkTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LinkTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper { public bool? AppendVersion { get => throw null; set => throw null; } @@ -228,7 +228,7 @@ namespace Microsoft public bool SuppressFallbackIntegrity { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { protected Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator Generator { get => throw null; } @@ -239,7 +239,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PartialTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public string FallbackName { get => throw null; set => throw null; } @@ -253,7 +253,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.PersistComponentStateTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.PersistComponentStateTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PersistComponentStateTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public PersistComponentStateTagHelper() => throw null; @@ -262,14 +262,14 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.PersistenceMode` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.PersistenceMode` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum PersistenceMode : int { Server = 0, WebAssembly = 1, } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RenderAtEndOfFormTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public override void Init(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context) => throw null; @@ -279,7 +279,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ScriptTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ScriptTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ScriptTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper { public bool? AppendVersion { get => throw null; set => throw null; } @@ -300,7 +300,7 @@ namespace Microsoft public bool SuppressFallbackIntegrity { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.SelectTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.SelectTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SelectTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression For { get => throw null; set => throw null; } @@ -314,7 +314,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.TagHelperOutputExtensions` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.TagHelperOutputExtensions` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class TagHelperOutputExtensions { public static void AddClass(this Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput tagHelperOutput, string classValue, System.Text.Encodings.Web.HtmlEncoder htmlEncoder) => throw null; @@ -324,7 +324,7 @@ namespace Microsoft public static void RemoveRange(this Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput tagHelperOutput, System.Collections.Generic.IEnumerable attributes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.TextAreaTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.TextAreaTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TextAreaTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression For { get => throw null; set => throw null; } @@ -336,7 +336,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationMessageTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression For { get => throw null; set => throw null; } @@ -347,7 +347,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationSummaryTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { protected Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator Generator { get => throw null; } @@ -360,7 +360,7 @@ namespace Microsoft namespace Cache { - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.CacheTagKey` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.CacheTagKey` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheTagKey : System.IEquatable { public CacheTagKey(Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelper tagHelper, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context) => throw null; @@ -372,7 +372,7 @@ namespace Microsoft public override int GetHashCode() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormatter` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormatter` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedCacheTagHelperFormatter : Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter { public System.Threading.Tasks.Task DeserializeAsync(System.Byte[] value) => throw null; @@ -380,21 +380,21 @@ namespace Microsoft public System.Threading.Tasks.Task SerializeAsync(Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormattingContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormattingContext` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormattingContext` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedCacheTagHelperFormattingContext { public DistributedCacheTagHelperFormattingContext() => throw null; public Microsoft.AspNetCore.Html.HtmlString Html { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperService` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperService` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedCacheTagHelperService : Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService { public DistributedCacheTagHelperService(Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage storage, Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter formatter, System.Text.Encodings.Web.HtmlEncoder HtmlEncoder, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public System.Threading.Tasks.Task ProcessContentAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output, Microsoft.AspNetCore.Mvc.TagHelpers.Cache.CacheTagKey key, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperStorage` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperStorage` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedCacheTagHelperStorage : Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage { public DistributedCacheTagHelperStorage(Microsoft.Extensions.Caching.Distributed.IDistributedCache distributedCache) => throw null; @@ -402,20 +402,20 @@ namespace Microsoft public System.Threading.Tasks.Task SetAsync(string key, System.Byte[] value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDistributedCacheTagHelperFormatter { System.Threading.Tasks.Task DeserializeAsync(System.Byte[] value); System.Threading.Tasks.Task SerializeAsync(Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormattingContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDistributedCacheTagHelperService { System.Threading.Tasks.Task ProcessContentAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output, Microsoft.AspNetCore.Mvc.TagHelpers.Cache.CacheTagKey key, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options); } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDistributedCacheTagHelperStorage { System.Threading.Tasks.Task GetAsync(string key); @@ -430,7 +430,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.TagHelperServicesExtensions` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.TagHelperServicesExtensions` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class TagHelperServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddCacheTagHelper(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ViewFeatures.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ViewFeatures.cs index 52d495db36c..bccd72cec6d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ViewFeatures.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ViewFeatures.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Mvc { - // Generated from `Microsoft.AspNetCore.Mvc.AutoValidateAntiforgeryTokenAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.AutoValidateAntiforgeryTokenAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AutoValidateAntiforgeryTokenAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public AutoValidateAntiforgeryTokenAttribute() => throw null; @@ -15,7 +15,7 @@ namespace Microsoft public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Controller` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Controller` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class Controller : Microsoft.AspNetCore.Mvc.ControllerBase, Microsoft.AspNetCore.Mvc.Filters.IActionFilter, Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, System.IDisposable { protected Controller() => throw null; @@ -43,35 +43,35 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.CookieTempDataProviderOptions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.CookieTempDataProviderOptions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieTempDataProviderOptions { public Microsoft.AspNetCore.Http.CookieBuilder Cookie { get => throw null; set => throw null; } public CookieTempDataProviderOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.IViewComponentHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.IViewComponentHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentHelper { System.Threading.Tasks.Task InvokeAsync(System.Type componentType, object arguments); System.Threading.Tasks.Task InvokeAsync(string name, object arguments); } - // Generated from `Microsoft.AspNetCore.Mvc.IViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.IViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentResult { void Execute(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context); System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.IgnoreAntiforgeryTokenAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.IgnoreAntiforgeryTokenAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IgnoreAntiforgeryTokenAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter, Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy { public IgnoreAntiforgeryTokenAttribute() => throw null; public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.MvcViewOptions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.MvcViewOptions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MvcViewOptions : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public System.Collections.Generic.IList ClientModelValidatorProviders { get => throw null; } @@ -82,7 +82,7 @@ namespace Microsoft public System.Collections.Generic.IList ViewEngines { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.PageRemoteAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.PageRemoteAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageRemoteAttribute : Microsoft.AspNetCore.Mvc.RemoteAttributeBase { protected override string GetUrl(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context) => throw null; @@ -91,7 +91,7 @@ namespace Microsoft public PageRemoteAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.PartialViewResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.PartialViewResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PartialViewResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public string ContentType { get => throw null; set => throw null; } @@ -105,7 +105,7 @@ namespace Microsoft public string ViewName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RemoteAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RemoteAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RemoteAttribute : Microsoft.AspNetCore.Mvc.RemoteAttributeBase { protected override string GetUrl(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context) => throw null; @@ -116,7 +116,7 @@ namespace Microsoft protected string RouteName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RemoteAttributeBase` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.RemoteAttributeBase` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RemoteAttributeBase : System.ComponentModel.DataAnnotations.ValidationAttribute, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator { public virtual void AddValidation(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context) => throw null; @@ -131,22 +131,22 @@ namespace Microsoft protected Microsoft.AspNetCore.Routing.RouteValueDictionary RouteData { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.SkipStatusCodePagesAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` - public class SkipStatusCodePagesAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IResourceFilter + // Generated from `Microsoft.AspNetCore.Mvc.SkipStatusCodePagesAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class SkipStatusCodePagesAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.ISkipStatusCodePagesMetadata, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IResourceFilter { public void OnResourceExecuted(Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context) => throw null; public void OnResourceExecuting(Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext context) => throw null; public SkipStatusCodePagesAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TempDataAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.TempDataAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TempDataAttribute : System.Attribute { public string Key { get => throw null; set => throw null; } public TempDataAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ValidateAntiForgeryTokenAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ValidateAntiForgeryTokenAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateAntiForgeryTokenAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider) => throw null; @@ -155,7 +155,7 @@ namespace Microsoft public ValidateAntiForgeryTokenAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponent` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponent` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ViewComponent { public Microsoft.AspNetCore.Mvc.ViewComponents.ContentViewComponentResult Content(string content) => throw null; @@ -179,14 +179,14 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine ViewEngine { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponentAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponentAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentAttribute : System.Attribute { public string Name { get => throw null; set => throw null; } public ViewComponentAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public object Arguments { get => throw null; set => throw null; } @@ -201,14 +201,14 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewDataAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewDataAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewDataAttribute : System.Attribute { public string Key { get => throw null; set => throw null; } public ViewDataAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public string ContentType { get => throw null; set => throw null; } @@ -224,7 +224,7 @@ namespace Microsoft namespace Diagnostics { - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterViewComponentEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterViewComponentEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterViewComponentEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -237,7 +237,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IViewComponentResult ViewComponentResult { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterViewEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterViewEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterViewEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public AfterViewEventData(Microsoft.AspNetCore.Mvc.ViewEngines.IView view, Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext) => throw null; @@ -248,7 +248,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeViewComponentEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeViewComponentEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeViewComponentEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -260,7 +260,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext ViewComponentContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeViewEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeViewEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeViewEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public BeforeViewEventData(Microsoft.AspNetCore.Mvc.ViewEngines.IView view, Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext) => throw null; @@ -271,7 +271,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.ViewComponentAfterViewExecuteEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.ViewComponentAfterViewExecuteEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentAfterViewExecuteEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -283,7 +283,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext ViewComponentContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.ViewComponentBeforeViewExecuteEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.ViewComponentBeforeViewExecuteEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentBeforeViewExecuteEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -295,7 +295,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext ViewComponentContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.ViewFoundEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.ViewFoundEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewFoundEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -309,7 +309,7 @@ namespace Microsoft public string ViewName { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.ViewNotFoundEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.ViewNotFoundEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewNotFoundEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -326,7 +326,7 @@ namespace Microsoft } namespace ModelBinding { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionaryExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionaryExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelStateDictionaryExtensions { public static void AddModelError(this Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState, System.Linq.Expressions.Expression> expression, System.Exception exception, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata) => throw null; @@ -339,7 +339,7 @@ namespace Microsoft } namespace Rendering { - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.CheckBoxHiddenInputRenderMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.CheckBoxHiddenInputRenderMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum CheckBoxHiddenInputRenderMode : int { EndOfForm = 2, @@ -347,21 +347,28 @@ namespace Microsoft None = 0, } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.FormMethod` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.FormInputRenderMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public enum FormInputRenderMode : int + { + AlwaysUseCurrentCulture = 1, + DetectCultureFromInputType = 0, + } + + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.FormMethod` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum FormMethod : int { Get = 0, Post = 1, } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum Html5DateRenderingMode : int { CurrentCulture = 1, Rfc3339 = 0, } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperComponentExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperComponentExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperComponentExtensions { public static System.Threading.Tasks.Task RenderComponentAsync(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, System.Type componentType, Microsoft.AspNetCore.Mvc.Rendering.RenderMode renderMode, object parameters) => throw null; @@ -369,7 +376,7 @@ namespace Microsoft public static System.Threading.Tasks.Task RenderComponentAsync(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, Microsoft.AspNetCore.Mvc.Rendering.RenderMode renderMode, object parameters) where TComponent : Microsoft.AspNetCore.Components.IComponent => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperDisplayExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperDisplayExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperDisplayExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent Display(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -390,14 +397,14 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent DisplayForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string templateName, string htmlFieldName, object additionalViewData) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperDisplayNameExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperDisplayNameExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperDisplayNameExtensions { public static string DisplayNameFor(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper> htmlHelper, System.Linq.Expressions.Expression> expression) => throw null; public static string DisplayNameForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperEditorExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperEditorExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperEditorExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent Editor(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -418,7 +425,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent EditorForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string templateName, string htmlFieldName, object additionalViewData) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperFormExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperFormExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperFormExtensions { public static Microsoft.AspNetCore.Mvc.Rendering.MvcForm BeginForm(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper) => throw null; @@ -442,7 +449,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Mvc.Rendering.MvcForm BeginRouteForm(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string routeName, object routeValues, Microsoft.AspNetCore.Mvc.Rendering.FormMethod method) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperInputExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperInputExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperInputExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent CheckBox(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -474,7 +481,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent TextBoxFor(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, System.Linq.Expressions.Expression> expression, string format) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperLabelExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperLabelExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperLabelExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent Label(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -488,7 +495,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent LabelForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string labelText, object htmlAttributes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperLinkExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperLinkExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperLinkExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent ActionLink(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper helper, string linkText, string actionName) => throw null; @@ -504,14 +511,14 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent RouteLink(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string linkText, string routeName, object routeValues, object htmlAttributes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperNameExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperNameExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperNameExtensions { public static string IdForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper) => throw null; public static string NameForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperPartialExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperPartialExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperPartialExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent Partial(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string partialViewName) => throw null; @@ -530,7 +537,7 @@ namespace Microsoft public static System.Threading.Tasks.Task RenderPartialAsync(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string partialViewName, object model) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperSelectExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperSelectExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperSelectExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent DropDownList(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -546,7 +553,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent ListBoxFor(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, System.Linq.Expressions.Expression> expression, System.Collections.Generic.IEnumerable selectList) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperValidationExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperValidationExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperValidationExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent ValidationMessage(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -569,7 +576,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent ValidationSummary(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string message, string tag) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperValueExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperValueExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperValueExtensions { public static string Value(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -578,7 +585,7 @@ namespace Microsoft public static string ValueForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string format) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlHelper { Microsoft.AspNetCore.Html.IHtmlContent ActionLink(string linkText, string actionName, string controllerName, string protocol, string hostname, string fragment, object routeValues, object htmlAttributes); @@ -625,7 +632,7 @@ namespace Microsoft Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<>` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<>` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlHelper : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper { Microsoft.AspNetCore.Html.IHtmlContent CheckBoxFor(System.Linq.Expressions.Expression> expression, object htmlAttributes); @@ -653,13 +660,13 @@ namespace Microsoft Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJsonHelper { Microsoft.AspNetCore.Html.IHtmlContent Serialize(object value); } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.MultiSelectList` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.MultiSelectList` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MultiSelectList : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public string DataGroupField { get => throw null; } @@ -676,7 +683,7 @@ namespace Microsoft public System.Collections.IEnumerable SelectedValues { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.MvcForm` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.MvcForm` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MvcForm : System.IDisposable { public void Dispose() => throw null; @@ -685,7 +692,7 @@ namespace Microsoft public MvcForm(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, System.Text.Encodings.Web.HtmlEncoder htmlEncoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.RenderMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.RenderMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RenderMode : int { Server = 2, @@ -695,7 +702,7 @@ namespace Microsoft WebAssemblyPrerendered = 5, } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.SelectList` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.SelectList` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SelectList : Microsoft.AspNetCore.Mvc.Rendering.MultiSelectList { public SelectList(System.Collections.IEnumerable items) : base(default(System.Collections.IEnumerable)) => throw null; @@ -706,7 +713,7 @@ namespace Microsoft public object SelectedValue { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.SelectListGroup` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.SelectListGroup` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SelectListGroup { public bool Disabled { get => throw null; set => throw null; } @@ -714,7 +721,7 @@ namespace Microsoft public SelectListGroup() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.SelectListItem` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.SelectListItem` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SelectListItem { public bool Disabled { get => throw null; set => throw null; } @@ -728,7 +735,7 @@ namespace Microsoft public string Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.TagBuilder` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.TagBuilder` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagBuilder : Microsoft.AspNetCore.Html.IHtmlContent { public void AddCssClass(string value) => throw null; @@ -752,7 +759,7 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.TagRenderMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.TagRenderMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum TagRenderMode : int { EndTag = 2, @@ -761,7 +768,7 @@ namespace Microsoft StartTag = 1, } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.ViewComponentHelperExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.ViewComponentHelperExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ViewComponentHelperExtensions { public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.Mvc.IViewComponentHelper helper, System.Type componentType) => throw null; @@ -770,7 +777,7 @@ namespace Microsoft public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.Mvc.IViewComponentHelper helper, object arguments) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.ViewContext` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.Rendering.ViewContext` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewContext : Microsoft.AspNetCore.Mvc.ActionContext { public Microsoft.AspNetCore.Mvc.Rendering.CheckBoxHiddenInputRenderMode CheckBoxHiddenInputRenderMode { get => throw null; set => throw null; } @@ -794,7 +801,7 @@ namespace Microsoft } namespace ViewComponents { - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ContentViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ContentViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ContentViewComponentResult : Microsoft.AspNetCore.Mvc.IViewComponentResult { public string Content { get => throw null; } @@ -803,14 +810,14 @@ namespace Microsoft public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentDescriptorCollectionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentDescriptorCollectionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultViewComponentDescriptorCollectionProvider : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider { public DefaultViewComponentDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorProvider descriptorProvider) => throw null; public Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection ViewComponents { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentDescriptorProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentDescriptorProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultViewComponentDescriptorProvider : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorProvider { public DefaultViewComponentDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager partManager) => throw null; @@ -818,7 +825,7 @@ namespace Microsoft public virtual System.Collections.Generic.IEnumerable GetViewComponents() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultViewComponentFactory : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory { public object CreateViewComponent(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context) => throw null; @@ -827,7 +834,7 @@ namespace Microsoft public System.Threading.Tasks.ValueTask ReleaseViewComponentAsync(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context, object component) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultViewComponentHelper : Microsoft.AspNetCore.Mvc.IViewComponentHelper, Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware { public void Contextualize(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext) => throw null; @@ -836,14 +843,14 @@ namespace Microsoft public System.Threading.Tasks.Task InvokeAsync(string name, object arguments) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentSelector` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentSelector` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultViewComponentSelector : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector { public DefaultViewComponentSelector(Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider descriptorProvider) => throw null; public Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor SelectComponent(string componentName) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.HtmlContentViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.HtmlContentViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlContentViewComponentResult : Microsoft.AspNetCore.Mvc.IViewComponentResult { public Microsoft.AspNetCore.Html.IHtmlContent EncodedContent { get => throw null; } @@ -852,7 +859,7 @@ namespace Microsoft public HtmlContentViewComponentResult(Microsoft.AspNetCore.Html.IHtmlContent encodedContent) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentActivator { object Create(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context); @@ -860,19 +867,19 @@ namespace Microsoft System.Threading.Tasks.ValueTask ReleaseAsync(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context, object viewComponent) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentDescriptorCollectionProvider { Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection ViewComponents { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentDescriptorProvider { System.Collections.Generic.IEnumerable GetViewComponents(); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentFactory { object CreateViewComponent(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context); @@ -880,25 +887,25 @@ namespace Microsoft System.Threading.Tasks.ValueTask ReleaseViewComponentAsync(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context, object component) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentInvoker { System.Threading.Tasks.Task InvokeAsync(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentInvokerFactory { Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker CreateInstance(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentSelector { Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor SelectComponent(string componentName); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ServiceBasedViewComponentActivator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ServiceBasedViewComponentActivator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceBasedViewComponentActivator : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator { public object Create(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context) => throw null; @@ -906,7 +913,7 @@ namespace Microsoft public ServiceBasedViewComponentActivator() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentContext { public System.Collections.Generic.IDictionary Arguments { get => throw null; set => throw null; } @@ -920,13 +927,13 @@ namespace Microsoft public System.IO.TextWriter Writer { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContextAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContextAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentContextAttribute : System.Attribute { public ViewComponentContextAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentConventions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentConventions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ViewComponentConventions { public static string GetComponentFullName(System.Reflection.TypeInfo componentType) => throw null; @@ -935,7 +942,7 @@ namespace Microsoft public static string ViewComponentSuffix; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentDescriptor { public string DisplayName { get => throw null; set => throw null; } @@ -948,7 +955,7 @@ namespace Microsoft public ViewComponentDescriptor() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentDescriptorCollection { public System.Collections.Generic.IReadOnlyList Items { get => throw null; } @@ -956,21 +963,21 @@ namespace Microsoft public ViewComponentDescriptorCollection(System.Collections.Generic.IEnumerable items, int version) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeature` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeature` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentFeature { public ViewComponentFeature() => throw null; public System.Collections.Generic.IList ViewComponents { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeatureProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeatureProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider, Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider { public void PopulateFeature(System.Collections.Generic.IEnumerable parts, Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeature feature) => throw null; public ViewComponentFeatureProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewViewComponentResult : Microsoft.AspNetCore.Mvc.IViewComponentResult { public void Execute(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context) => throw null; @@ -985,7 +992,7 @@ namespace Microsoft } namespace ViewEngines { - // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeViewEngine : Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine, Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine { public CompositeViewEngine(Microsoft.Extensions.Options.IOptions optionsAccessor) => throw null; @@ -994,27 +1001,27 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList ViewEngines { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICompositeViewEngine : Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine { System.Collections.Generic.IReadOnlyList ViewEngines { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.IView` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.IView` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IView { string Path { get; } System.Threading.Tasks.Task RenderAsync(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewEngine { Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult FindView(Microsoft.AspNetCore.Mvc.ActionContext context, string viewName, bool isMainPage); Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult GetView(string executingFilePath, string viewPath, bool isMainPage); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewEngineResult { public Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult EnsureSuccessful(System.Collections.Generic.IEnumerable originalLocations) => throw null; @@ -1029,16 +1036,16 @@ namespace Microsoft } namespace ViewFeatures { - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.AntiforgeryExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.AntiforgeryExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AntiforgeryExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent GetHtml(this Microsoft.AspNetCore.Antiforgery.IAntiforgery antiforgery, Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AttributeDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary+Enumerator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary+Enumerator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -1073,7 +1080,7 @@ namespace Microsoft System.Collections.Generic.IEnumerable System.Collections.Generic.IReadOnlyDictionary.Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieTempDataProvider : Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider { public static string CookieName; @@ -1082,7 +1089,7 @@ namespace Microsoft public void SaveTempData(Microsoft.AspNetCore.Http.HttpContext context, System.Collections.Generic.IDictionary values) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultHtmlGenerator : Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator { protected virtual void AddMaxLengthAttribute(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, Microsoft.AspNetCore.Mvc.Rendering.TagBuilder tagBuilder, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, string expression) => throw null; @@ -1120,21 +1127,21 @@ namespace Microsoft public string IdAttributeDotReplacement { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGeneratorExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGeneratorExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DefaultHtmlGeneratorExtensions { public static Microsoft.AspNetCore.Mvc.Rendering.TagBuilder GenerateForm(this Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator generator, Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, string actionName, string controllerName, string fragment, object routeValues, string method, object htmlAttributes) => throw null; public static Microsoft.AspNetCore.Mvc.Rendering.TagBuilder GenerateRouteForm(this Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator generator, Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, string routeName, object routeValues, string fragment, string method, object htmlAttributes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultValidationHtmlAttributeProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultValidationHtmlAttributeProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultValidationHtmlAttributeProvider : Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider { public override void AddValidationAttributes(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, System.Collections.Generic.IDictionary attributes) => throw null; public DefaultValidationHtmlAttributeProvider(Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorCache clientValidatorCache) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormContext { public bool CanRenderAtEndOfForm { get => throw null; set => throw null; } @@ -1148,7 +1155,7 @@ namespace Microsoft public void RenderedField(string fieldName, bool value) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlHelper : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper, Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware { public Microsoft.AspNetCore.Html.IHtmlContent ActionLink(string linkText, string actionName, string controllerName, string protocol, string hostname, string fragment, object routeValues, object htmlAttributes) => throw null; @@ -1229,7 +1236,7 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper<>` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper<>` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlHelper : Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper, Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper, Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper { public Microsoft.AspNetCore.Html.IHtmlContent CheckBoxFor(System.Linq.Expressions.Expression> expression, object htmlAttributes) => throw null; @@ -1257,11 +1264,12 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelperOptions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelperOptions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlHelperOptions { public Microsoft.AspNetCore.Mvc.Rendering.CheckBoxHiddenInputRenderMode CheckBoxHiddenInputRenderMode { get => throw null; set => throw null; } public bool ClientValidationEnabled { get => throw null; set => throw null; } + public Microsoft.AspNetCore.Mvc.Rendering.FormInputRenderMode FormInputRenderMode { get => throw null; set => throw null; } public Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode Html5DateRenderingMode { get => throw null; set => throw null; } public HtmlHelperOptions() => throw null; public string IdAttributeDotReplacement { get => throw null; set => throw null; } @@ -1269,18 +1277,18 @@ namespace Microsoft public string ValidationSummaryMessageElement { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAntiforgeryPolicy : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IFileVersionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IFileVersionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFileVersionProvider { string AddFileVersionToPath(Microsoft.AspNetCore.Http.PathString requestPathBase, string path); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlGenerator { string Encode(object value); @@ -1310,13 +1318,13 @@ namespace Microsoft string IdAttributeDotReplacement { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelExpressionProvider { Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression CreateModelExpression(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, System.Linq.Expressions.Expression> expression); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITempDataDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { void Keep(); @@ -1326,26 +1334,26 @@ namespace Microsoft void Save(); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITempDataDictionaryFactory { Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary GetTempData(Microsoft.AspNetCore.Http.HttpContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITempDataProvider { System.Collections.Generic.IDictionary LoadTempData(Microsoft.AspNetCore.Http.HttpContext context); void SaveTempData(Microsoft.AspNetCore.Http.HttpContext context, System.Collections.Generic.IDictionary values); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewContextAware { void Contextualize(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.InputType` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.InputType` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum InputType : int { CheckBox = 0, @@ -1355,7 +1363,7 @@ namespace Microsoft Text = 4, } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelExplorer { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer Container { get => throw null; } @@ -1376,13 +1384,13 @@ namespace Microsoft public System.Collections.Generic.IEnumerable Properties { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorerExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorerExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelExplorerExtensions { public static string GetSimpleDisplayText(this Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelExpression { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata Metadata { get => throw null; } @@ -1392,7 +1400,7 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpressionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpressionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelExpressionProvider : Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression CreateModelExpression(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, System.Linq.Expressions.Expression> expression) => throw null; @@ -1401,13 +1409,13 @@ namespace Microsoft public ModelExpressionProvider(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelMetadataProviderExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelMetadataProviderExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelMetadataProviderExtensions { public static Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer GetModelExplorerForType(this Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider provider, System.Type modelType, object model) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.PartialViewResultExecutor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.PartialViewResultExecutor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PartialViewResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ViewEngines.IView view, Microsoft.AspNetCore.Mvc.PartialViewResult viewResult) => throw null; @@ -1417,7 +1425,7 @@ namespace Microsoft public PartialViewResultExecutor(Microsoft.Extensions.Options.IOptions viewOptions, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataFactory, System.Diagnostics.DiagnosticListener diagnosticListener, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider) : base(default(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory), default(Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine), default(System.Diagnostics.DiagnosticListener)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.SaveTempDataAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.SaveTempDataAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SaveTempDataAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider) => throw null; @@ -1426,7 +1434,7 @@ namespace Microsoft public SaveTempDataAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.SessionStateTempDataProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.SessionStateTempDataProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SessionStateTempDataProvider : Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider { public virtual System.Collections.Generic.IDictionary LoadTempData(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -1434,14 +1442,14 @@ namespace Microsoft public SessionStateTempDataProvider(Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer tempDataSerializer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.StringHtmlContent` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.StringHtmlContent` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringHtmlContent : Microsoft.AspNetCore.Html.IHtmlContent { public StringHtmlContent(string input) => throw null; public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionary` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionary` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TempDataDictionary : Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary, System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair keyValuePair) => throw null; @@ -1469,14 +1477,14 @@ namespace Microsoft public System.Collections.Generic.ICollection Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionaryFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionaryFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TempDataDictionaryFactory : Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory { public Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary GetTempData(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public TempDataDictionaryFactory(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider provider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TemplateInfo` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TemplateInfo` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TemplateInfo { public bool AddVisited(object value) => throw null; @@ -1489,16 +1497,16 @@ namespace Microsoft public bool Visited(Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TryGetValueDelegate` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TryGetValueDelegate` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate bool TryGetValueDelegate(object dictionary, string key, out object value); - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TryGetValueProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TryGetValueProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class TryGetValueProvider { public static Microsoft.AspNetCore.Mvc.ViewFeatures.TryGetValueDelegate CreateInstance(System.Type targetType) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ValidationHtmlAttributeProvider { public virtual void AddAndTrackValidationAttributes(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, string expression, System.Collections.Generic.IDictionary attributes) => throw null; @@ -1506,20 +1514,20 @@ namespace Microsoft protected ValidationHtmlAttributeProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewComponentResultExecutor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewComponentResultExecutor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.ViewComponentResult result) => throw null; public ViewComponentResultExecutor(Microsoft.Extensions.Options.IOptions mvcHelperOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataDictionaryFactory, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewContextAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewContextAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewContextAttribute : System.Attribute { public ViewContextAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewDataDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { public void Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -1557,7 +1565,7 @@ namespace Microsoft protected ViewDataDictionary(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary source, object model, System.Type declaredModelType) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<>` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<>` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewDataDictionary : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary { public TModel Model { get => throw null; set => throw null; } @@ -1567,13 +1575,13 @@ namespace Microsoft public ViewDataDictionary(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary source, object model) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewDataDictionaryAttribute : System.Attribute { public ViewDataDictionaryAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryControllerPropertyActivator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryControllerPropertyActivator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewDataDictionaryControllerPropertyActivator { public void Activate(Microsoft.AspNetCore.Mvc.ControllerContext actionContext, object controller) => throw null; @@ -1581,14 +1589,14 @@ namespace Microsoft public ViewDataDictionaryControllerPropertyActivator(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataEvaluator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataEvaluator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ViewDataEvaluator { public static Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo Eval(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, string expression) => throw null; public static Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo Eval(object indexableObject, string expression) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewDataInfo { public object Container { get => throw null; } @@ -1599,7 +1607,7 @@ namespace Microsoft public ViewDataInfo(object container, object value) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewExecutor { public static string DefaultContentType; @@ -1615,7 +1623,7 @@ namespace Microsoft protected Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory WriterFactory { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.ViewResult result) => throw null; @@ -1626,7 +1634,7 @@ namespace Microsoft namespace Buffers { - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.IViewBufferScope` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.IViewBufferScope` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewBufferScope { System.IO.TextWriter CreateWriter(System.IO.TextWriter writer); @@ -1634,7 +1642,7 @@ namespace Microsoft void ReturnSegment(Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue[] segment); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ViewBufferValue { public object Value { get => throw null; } @@ -1646,7 +1654,7 @@ namespace Microsoft } namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TempDataSerializer { public virtual bool CanSerializeType(System.Type type) => throw null; @@ -1663,7 +1671,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcViewFeaturesMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcViewFeaturesMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcViewFeaturesMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddCookieTempDataProvider(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder) => throw null; @@ -1673,7 +1681,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddViewOptions(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Action setupAction) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcViewFeaturesMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcViewFeaturesMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcViewFeaturesMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddCookieTempDataProvider(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.cs index 80bae914ef2..5a76a6a5524 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions` in `Microsoft.AspNetCore.Mvc, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions` in `Microsoft.AspNetCore.Mvc, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddControllers(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.OutputCaching.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.OutputCaching.cs new file mode 100644 index 00000000000..e34e8df959c --- /dev/null +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.OutputCaching.cs @@ -0,0 +1,148 @@ +// This file contains auto-generated code. + +namespace Microsoft +{ + namespace AspNetCore + { + namespace Builder + { + // Generated from `Microsoft.AspNetCore.Builder.OutputCacheApplicationBuilderExtensions` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class OutputCacheApplicationBuilderExtensions + { + public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOutputCache(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; + } + + } + namespace OutputCaching + { + // Generated from `Microsoft.AspNetCore.OutputCaching.CacheVaryByRules` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class CacheVaryByRules + { + public string CacheKeyPrefix { get => throw null; set => throw null; } + public CacheVaryByRules() => throw null; + public Microsoft.Extensions.Primitives.StringValues HeaderNames { get => throw null; set => throw null; } + public Microsoft.Extensions.Primitives.StringValues QueryKeys { get => throw null; set => throw null; } + public Microsoft.Extensions.Primitives.StringValues RouteValueNames { get => throw null; set => throw null; } + public bool VaryByHost { get => throw null; set => throw null; } + public System.Collections.Generic.IDictionary VaryByValues { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.OutputCaching.IOutputCacheFeature` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IOutputCacheFeature + { + Microsoft.AspNetCore.OutputCaching.OutputCacheContext Context { get; } + } + + // Generated from `Microsoft.AspNetCore.OutputCaching.IOutputCachePolicy` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IOutputCachePolicy + { + System.Threading.Tasks.ValueTask CacheRequestAsync(Microsoft.AspNetCore.OutputCaching.OutputCacheContext context, System.Threading.CancellationToken cancellation); + System.Threading.Tasks.ValueTask ServeFromCacheAsync(Microsoft.AspNetCore.OutputCaching.OutputCacheContext context, System.Threading.CancellationToken cancellation); + System.Threading.Tasks.ValueTask ServeResponseAsync(Microsoft.AspNetCore.OutputCaching.OutputCacheContext context, System.Threading.CancellationToken cancellation); + } + + // Generated from `Microsoft.AspNetCore.OutputCaching.IOutputCacheStore` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IOutputCacheStore + { + System.Threading.Tasks.ValueTask EvictByTagAsync(string tag, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.ValueTask GetAsync(string key, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.ValueTask SetAsync(string key, System.Byte[] value, string[] tags, System.TimeSpan validFor, System.Threading.CancellationToken cancellationToken); + } + + // Generated from `Microsoft.AspNetCore.OutputCaching.OutputCacheAttribute` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class OutputCacheAttribute : System.Attribute + { + public int Duration { get => throw null; set => throw null; } + public bool NoStore { get => throw null; set => throw null; } + public OutputCacheAttribute() => throw null; + public string PolicyName { get => throw null; set => throw null; } + public string[] VaryByHeaderNames { get => throw null; set => throw null; } + public string[] VaryByQueryKeys { get => throw null; set => throw null; } + public string[] VaryByRouteValueNames { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.OutputCaching.OutputCacheContext` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class OutputCacheContext + { + public bool AllowCacheLookup { get => throw null; set => throw null; } + public bool AllowCacheStorage { get => throw null; set => throw null; } + public bool AllowLocking { get => throw null; set => throw null; } + public Microsoft.AspNetCore.OutputCaching.CacheVaryByRules CacheVaryByRules { get => throw null; } + public bool EnableOutputCaching { get => throw null; set => throw null; } + public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; set => throw null; } + public OutputCacheContext() => throw null; + public System.TimeSpan? ResponseExpirationTimeSpan { get => throw null; set => throw null; } + public System.DateTimeOffset? ResponseTime { get => throw null; set => throw null; } + public System.Collections.Generic.HashSet Tags { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.OutputCaching.OutputCacheOptions` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class OutputCacheOptions + { + public void AddBasePolicy(System.Action build) => throw null; + public void AddBasePolicy(System.Action build, bool excludeDefaultPolicy) => throw null; + public void AddBasePolicy(Microsoft.AspNetCore.OutputCaching.IOutputCachePolicy policy) => throw null; + public void AddPolicy(string name, System.Action build) => throw null; + public void AddPolicy(string name, System.Action build, bool excludeDefaultPolicy) => throw null; + public void AddPolicy(string name, Microsoft.AspNetCore.OutputCaching.IOutputCachePolicy policy) => throw null; + public System.IServiceProvider ApplicationServices { get => throw null; set => throw null; } + public System.TimeSpan DefaultExpirationTimeSpan { get => throw null; set => throw null; } + public System.Int64 MaximumBodySize { get => throw null; set => throw null; } + public OutputCacheOptions() => throw null; + public System.Int64 SizeLimit { get => throw null; set => throw null; } + public bool UseCaseSensitivePaths { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class OutputCachePolicyBuilder + { + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder AddPolicy(System.Type policyType) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder AddPolicy() where T : Microsoft.AspNetCore.OutputCaching.IOutputCachePolicy => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder Cache() => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder Expire(System.TimeSpan expiration) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder NoCache() => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetCacheKeyPrefix(System.Func> keyPrefix) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetCacheKeyPrefix(System.Func keyPrefix) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetCacheKeyPrefix(string keyPrefix) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetLocking(bool enabled) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetVaryByHeader(string[] headerNames) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetVaryByHeader(string headerName, params string[] headerNames) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetVaryByHost(bool enabled) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetVaryByQuery(string[] queryKeys) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetVaryByQuery(string queryKey, params string[] queryKeys) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetVaryByRouteValue(string[] routeValueNames) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetVaryByRouteValue(string routeValueName, params string[] routeValueNames) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder Tag(params string[] tags) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder VaryByValue(System.Func>> varyBy) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder VaryByValue(System.Func> varyBy) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder VaryByValue(string key, string value) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder With(System.Func> predicate) => throw null; + public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder With(System.Func predicate) => throw null; + } + + } + } + namespace Extensions + { + namespace DependencyInjection + { + // Generated from `Microsoft.Extensions.DependencyInjection.OutputCacheConventionBuilderExtensions` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class OutputCacheConventionBuilderExtensions + { + public static TBuilder CacheOutput(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + public static TBuilder CacheOutput(this TBuilder builder, System.Action policy) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + public static TBuilder CacheOutput(this TBuilder builder, System.Action policy, bool excludeDefaultPolicy) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + public static TBuilder CacheOutput(this TBuilder builder, Microsoft.AspNetCore.OutputCaching.IOutputCachePolicy policy) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + public static TBuilder CacheOutput(this TBuilder builder, string policyName) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + } + + // Generated from `Microsoft.Extensions.DependencyInjection.OutputCacheServiceCollectionExtensions` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class OutputCacheServiceCollectionExtensions + { + public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddOutputCache(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; + public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddOutputCache(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; + } + + } + } +} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RateLimiting.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RateLimiting.cs new file mode 100644 index 00000000000..ee3b30abecc --- /dev/null +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RateLimiting.cs @@ -0,0 +1,84 @@ +// This file contains auto-generated code. + +namespace Microsoft +{ + namespace AspNetCore + { + namespace Builder + { + // Generated from `Microsoft.AspNetCore.Builder.RateLimiterApplicationBuilderExtensions` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class RateLimiterApplicationBuilderExtensions + { + public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRateLimiter(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; + public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRateLimiter(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.RateLimiting.RateLimiterOptions options) => throw null; + } + + // Generated from `Microsoft.AspNetCore.Builder.RateLimiterEndpointConventionBuilderExtensions` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class RateLimiterEndpointConventionBuilderExtensions + { + public static TBuilder DisableRateLimiting(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + public static TBuilder RequireRateLimiting(this TBuilder builder, Microsoft.AspNetCore.RateLimiting.IRateLimiterPolicy policy) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + public static TBuilder RequireRateLimiting(this TBuilder builder, string policyName) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + } + + // Generated from `Microsoft.AspNetCore.Builder.RateLimiterServiceCollectionExtensions` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class RateLimiterServiceCollectionExtensions + { + public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRateLimiter(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; + } + + } + namespace RateLimiting + { + // Generated from `Microsoft.AspNetCore.RateLimiting.DisableRateLimitingAttribute` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class DisableRateLimitingAttribute : System.Attribute + { + public DisableRateLimitingAttribute() => throw null; + } + + // Generated from `Microsoft.AspNetCore.RateLimiting.EnableRateLimitingAttribute` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class EnableRateLimitingAttribute : System.Attribute + { + public EnableRateLimitingAttribute(string policyName) => throw null; + public string PolicyName { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.RateLimiting.IRateLimiterPolicy<>` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IRateLimiterPolicy + { + System.Threading.RateLimiting.RateLimitPartition GetPartition(Microsoft.AspNetCore.Http.HttpContext httpContext); + System.Func OnRejected { get; } + } + + // Generated from `Microsoft.AspNetCore.RateLimiting.OnRejectedContext` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class OnRejectedContext + { + public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; set => throw null; } + public System.Threading.RateLimiting.RateLimitLease Lease { get => throw null; set => throw null; } + public OnRejectedContext() => throw null; + } + + // Generated from `Microsoft.AspNetCore.RateLimiting.RateLimiterOptions` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class RateLimiterOptions + { + public Microsoft.AspNetCore.RateLimiting.RateLimiterOptions AddPolicy(string policyName) where TPolicy : Microsoft.AspNetCore.RateLimiting.IRateLimiterPolicy => throw null; + public Microsoft.AspNetCore.RateLimiting.RateLimiterOptions AddPolicy(string policyName, System.Func> partitioner) => throw null; + public Microsoft.AspNetCore.RateLimiting.RateLimiterOptions AddPolicy(string policyName, Microsoft.AspNetCore.RateLimiting.IRateLimiterPolicy policy) => throw null; + public System.Threading.RateLimiting.PartitionedRateLimiter GlobalLimiter { get => throw null; set => throw null; } + public System.Func OnRejected { get => throw null; set => throw null; } + public RateLimiterOptions() => throw null; + public int RejectionStatusCode { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.AspNetCore.RateLimiting.RateLimiterOptionsExtensions` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class RateLimiterOptionsExtensions + { + public static Microsoft.AspNetCore.RateLimiting.RateLimiterOptions AddConcurrencyLimiter(this Microsoft.AspNetCore.RateLimiting.RateLimiterOptions options, string policyName, System.Action configureOptions) => throw null; + public static Microsoft.AspNetCore.RateLimiting.RateLimiterOptions AddFixedWindowLimiter(this Microsoft.AspNetCore.RateLimiting.RateLimiterOptions options, string policyName, System.Action configureOptions) => throw null; + public static Microsoft.AspNetCore.RateLimiting.RateLimiterOptions AddSlidingWindowLimiter(this Microsoft.AspNetCore.RateLimiting.RateLimiterOptions options, string policyName, System.Action configureOptions) => throw null; + public static Microsoft.AspNetCore.RateLimiting.RateLimiterOptions AddTokenBucketLimiter(this Microsoft.AspNetCore.RateLimiting.RateLimiterOptions options, string policyName, System.Action configureOptions) => throw null; + } + + } + } +} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.Runtime.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.Runtime.cs index 567e86bb0a2..50b18187b22 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.Runtime.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.Runtime.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Razor.Hosting.IRazorSourceChecksumMetadata` in `Microsoft.AspNetCore.Razor.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.Hosting.IRazorSourceChecksumMetadata` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRazorSourceChecksumMetadata { string Checksum { get; } @@ -16,7 +16,7 @@ namespace Microsoft string Identifier { get; } } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem` in `Microsoft.AspNetCore.Razor.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RazorCompiledItem { public abstract string Identifier { get; } @@ -26,7 +26,7 @@ namespace Microsoft public abstract System.Type Type { get; } } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorCompiledItemAttribute : System.Attribute { public string Identifier { get => throw null; } @@ -35,13 +35,13 @@ namespace Microsoft public System.Type Type { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemExtensions` in `Microsoft.AspNetCore.Razor.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemExtensions` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RazorCompiledItemExtensions { public static System.Collections.Generic.IReadOnlyList GetChecksumMetadata(this Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem item) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemLoader` in `Microsoft.AspNetCore.Razor.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemLoader` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorCompiledItemLoader { protected virtual Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem CreateItem(Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute attribute) => throw null; @@ -50,7 +50,7 @@ namespace Microsoft public RazorCompiledItemLoader() => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorCompiledItemMetadataAttribute : System.Attribute { public string Key { get => throw null; } @@ -58,14 +58,14 @@ namespace Microsoft public string Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorConfigurationNameAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorConfigurationNameAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorConfigurationNameAttribute : System.Attribute { public string ConfigurationName { get => throw null; } public RazorConfigurationNameAttribute(string configurationName) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorExtensionAssemblyNameAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorExtensionAssemblyNameAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorExtensionAssemblyNameAttribute : System.Attribute { public string AssemblyName { get => throw null; } @@ -73,14 +73,14 @@ namespace Microsoft public RazorExtensionAssemblyNameAttribute(string extensionName, string assemblyName) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorLanguageVersionAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorLanguageVersionAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorLanguageVersionAttribute : System.Attribute { public string LanguageVersion { get => throw null; } public RazorLanguageVersionAttribute(string languageVersion) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorSourceChecksumAttribute : System.Attribute, Microsoft.AspNetCore.Razor.Hosting.IRazorSourceChecksumMetadata { public string Checksum { get => throw null; } @@ -94,7 +94,7 @@ namespace Microsoft { namespace TagHelpers { - // Generated from `Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext` in `Microsoft.AspNetCore.Razor.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperExecutionContext { public void Add(Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper tagHelper) => throw null; @@ -112,14 +112,14 @@ namespace Microsoft public System.Collections.Generic.IList TagHelpers { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner` in `Microsoft.AspNetCore.Razor.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperRunner { public System.Threading.Tasks.Task RunAsync(Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext executionContext) => throw null; public TagHelperRunner() => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager` in `Microsoft.AspNetCore.Razor.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperScopeManager { public Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext Begin(string tagName, Microsoft.AspNetCore.Razor.TagHelpers.TagMode tagMode, string uniqueId, System.Func executeChildContentAsync) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.cs index e8016912666..b6e2d235273 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace TagHelpers { - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.DefaultTagHelperContent` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.DefaultTagHelperContent` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultTagHelperContent : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent { public override Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent Append(string unencoded) => throw null; @@ -26,7 +26,7 @@ namespace Microsoft public override void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNameAttribute` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNameAttribute` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlAttributeNameAttribute : System.Attribute { public string DictionaryAttributePrefix { get => throw null; set => throw null; } @@ -36,13 +36,13 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNotBoundAttribute` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNotBoundAttribute` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlAttributeNotBoundAttribute : System.Attribute { public HtmlAttributeNotBoundAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HtmlAttributeValueStyle : int { DoubleQuotes = 0, @@ -51,7 +51,7 @@ namespace Microsoft SingleQuotes = 1, } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlTargetElementAttribute : System.Attribute { public string Attributes { get => throw null; set => throw null; } @@ -63,12 +63,12 @@ namespace Microsoft public Microsoft.AspNetCore.Razor.TagHelpers.TagStructure TagStructure { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent { } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelperComponent { void Init(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context); @@ -76,7 +76,7 @@ namespace Microsoft System.Threading.Tasks.Task ProcessAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output); } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.NullHtmlEncoder` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.NullHtmlEncoder` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullHtmlEncoder : System.Text.Encodings.Web.HtmlEncoder { public static Microsoft.AspNetCore.Razor.TagHelpers.NullHtmlEncoder Default { get => throw null; } @@ -89,14 +89,14 @@ namespace Microsoft public override bool WillEncode(int unicodeScalar) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.OutputElementHintAttribute` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.OutputElementHintAttribute` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OutputElementHintAttribute : System.Attribute { public string OutputElement { get => throw null; } public OutputElementHintAttribute(string outputElement) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ReadOnlyTagHelperAttributeList : System.Collections.ObjectModel.ReadOnlyCollection { public bool ContainsName(string name) => throw null; @@ -109,14 +109,14 @@ namespace Microsoft public bool TryGetAttributes(string name, out System.Collections.Generic.IReadOnlyList attributes) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.RestrictChildrenAttribute` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.RestrictChildrenAttribute` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RestrictChildrenAttribute : System.Attribute { public System.Collections.Generic.IEnumerable ChildTags { get => throw null; } public RestrictChildrenAttribute(string childTag, params string[] childTags) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelper` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelper` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper, Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent { public virtual void Init(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context) => throw null; @@ -126,7 +126,7 @@ namespace Microsoft protected TagHelper() => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperAttribute : Microsoft.AspNetCore.Html.IHtmlContent, Microsoft.AspNetCore.Html.IHtmlContentContainer { public void CopyTo(Microsoft.AspNetCore.Html.IHtmlContentBuilder destination) => throw null; @@ -143,7 +143,7 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperAttributeList : Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList, System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.IEnumerable { public void Add(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute attribute) => throw null; @@ -162,7 +162,7 @@ namespace Microsoft public TagHelperAttributeList(System.Collections.Generic.List attributes) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperComponent` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperComponent` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TagHelperComponent : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent { public virtual void Init(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context) => throw null; @@ -172,7 +172,7 @@ namespace Microsoft protected TagHelperComponent() => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TagHelperContent : Microsoft.AspNetCore.Html.IHtmlContent, Microsoft.AspNetCore.Html.IHtmlContentBuilder, Microsoft.AspNetCore.Html.IHtmlContentContainer { public abstract Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent Append(string unencoded); @@ -199,7 +199,7 @@ namespace Microsoft public abstract void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder); } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperContext { public Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList AllAttributes { get => throw null; } @@ -212,7 +212,7 @@ namespace Microsoft public string UniqueId { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperOutput : Microsoft.AspNetCore.Html.IHtmlContent, Microsoft.AspNetCore.Html.IHtmlContentContainer { public Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList Attributes { get => throw null; } @@ -236,7 +236,7 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagMode` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagMode` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum TagMode : int { SelfClosing = 1, @@ -244,7 +244,7 @@ namespace Microsoft StartTagOnly = 2, } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagStructure` in `Microsoft.AspNetCore.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagStructure` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum TagStructure : int { NormalOrSelfClosing = 1, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RequestDecompression.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RequestDecompression.cs new file mode 100644 index 00000000000..88dd483d31c --- /dev/null +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RequestDecompression.cs @@ -0,0 +1,52 @@ +// This file contains auto-generated code. + +namespace Microsoft +{ + namespace AspNetCore + { + namespace Builder + { + // Generated from `Microsoft.AspNetCore.Builder.RequestDecompressionBuilderExtensions` in `Microsoft.AspNetCore.RequestDecompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class RequestDecompressionBuilderExtensions + { + public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRequestDecompression(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) => throw null; + } + + } + namespace RequestDecompression + { + // Generated from `Microsoft.AspNetCore.RequestDecompression.IDecompressionProvider` in `Microsoft.AspNetCore.RequestDecompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IDecompressionProvider + { + System.IO.Stream GetDecompressionStream(System.IO.Stream stream); + } + + // Generated from `Microsoft.AspNetCore.RequestDecompression.IRequestDecompressionProvider` in `Microsoft.AspNetCore.RequestDecompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface IRequestDecompressionProvider + { + System.IO.Stream GetDecompressionStream(Microsoft.AspNetCore.Http.HttpContext context); + } + + // Generated from `Microsoft.AspNetCore.RequestDecompression.RequestDecompressionOptions` in `Microsoft.AspNetCore.RequestDecompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class RequestDecompressionOptions + { + public System.Collections.Generic.IDictionary DecompressionProviders { get => throw null; } + public RequestDecompressionOptions() => throw null; + } + + } + } + namespace Extensions + { + namespace DependencyInjection + { + // Generated from `Microsoft.Extensions.DependencyInjection.RequestDecompressionServiceExtensions` in `Microsoft.AspNetCore.RequestDecompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class RequestDecompressionServiceExtensions + { + public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestDecompression(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; + public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestDecompression(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; + } + + } + } +} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.Abstractions.cs index 07df657fcf0..3eed972c534 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.Abstractions.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace ResponseCaching { - // Generated from `Microsoft.AspNetCore.ResponseCaching.IResponseCachingFeature` in `Microsoft.AspNetCore.ResponseCaching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCaching.IResponseCachingFeature` in `Microsoft.AspNetCore.ResponseCaching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResponseCachingFeature { string[] VaryByQueryKeys { get; set; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.cs index 17108514dbb..c2e93cf20af 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ResponseCachingExtensions` in `Microsoft.AspNetCore.ResponseCaching, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ResponseCachingExtensions` in `Microsoft.AspNetCore.ResponseCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ResponseCachingExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseResponseCaching(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -15,21 +15,21 @@ namespace Microsoft } namespace ResponseCaching { - // Generated from `Microsoft.AspNetCore.ResponseCaching.ResponseCachingFeature` in `Microsoft.AspNetCore.ResponseCaching, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCaching.ResponseCachingFeature` in `Microsoft.AspNetCore.ResponseCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCachingFeature : Microsoft.AspNetCore.ResponseCaching.IResponseCachingFeature { public ResponseCachingFeature() => throw null; public string[] VaryByQueryKeys { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware` in `Microsoft.AspNetCore.ResponseCaching, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware` in `Microsoft.AspNetCore.ResponseCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCachingMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; public ResponseCachingMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.ObjectPool.ObjectPoolProvider poolProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.ResponseCaching.ResponseCachingOptions` in `Microsoft.AspNetCore.ResponseCaching, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCaching.ResponseCachingOptions` in `Microsoft.AspNetCore.ResponseCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCachingOptions { public System.Int64 MaximumBodySize { get => throw null; set => throw null; } @@ -44,7 +44,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ResponseCachingServicesExtensions` in `Microsoft.AspNetCore.ResponseCaching, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ResponseCachingServicesExtensions` in `Microsoft.AspNetCore.ResponseCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ResponseCachingServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddResponseCaching(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCompression.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCompression.cs index 27e9ddfb5a7..f92168e2b4d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCompression.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCompression.cs @@ -6,13 +6,13 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ResponseCompressionBuilderExtensions` in `Microsoft.AspNetCore.ResponseCompression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ResponseCompressionBuilderExtensions` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ResponseCompressionBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseResponseCompression(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ResponseCompressionServicesExtensions` in `Microsoft.AspNetCore.ResponseCompression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ResponseCompressionServicesExtensions` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ResponseCompressionServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddResponseCompression(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -22,7 +22,7 @@ namespace Microsoft } namespace ResponseCompression { - // Generated from `Microsoft.AspNetCore.ResponseCompression.BrotliCompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCompression.BrotliCompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BrotliCompressionProvider : Microsoft.AspNetCore.ResponseCompression.ICompressionProvider { public BrotliCompressionProvider(Microsoft.Extensions.Options.IOptions options) => throw null; @@ -31,7 +31,7 @@ namespace Microsoft public bool SupportsFlush { get => throw null; } } - // Generated from `Microsoft.AspNetCore.ResponseCompression.BrotliCompressionProviderOptions` in `Microsoft.AspNetCore.ResponseCompression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCompression.BrotliCompressionProviderOptions` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BrotliCompressionProviderOptions : Microsoft.Extensions.Options.IOptions { public BrotliCompressionProviderOptions() => throw null; @@ -39,7 +39,7 @@ namespace Microsoft Microsoft.AspNetCore.ResponseCompression.BrotliCompressionProviderOptions Microsoft.Extensions.Options.IOptions.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.ResponseCompression.CompressionProviderCollection` in `Microsoft.AspNetCore.ResponseCompression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCompression.CompressionProviderCollection` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompressionProviderCollection : System.Collections.ObjectModel.Collection { public void Add(System.Type providerType) => throw null; @@ -47,7 +47,7 @@ namespace Microsoft public CompressionProviderCollection() => throw null; } - // Generated from `Microsoft.AspNetCore.ResponseCompression.GzipCompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCompression.GzipCompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class GzipCompressionProvider : Microsoft.AspNetCore.ResponseCompression.ICompressionProvider { public System.IO.Stream CreateStream(System.IO.Stream outputStream) => throw null; @@ -56,7 +56,7 @@ namespace Microsoft public bool SupportsFlush { get => throw null; } } - // Generated from `Microsoft.AspNetCore.ResponseCompression.GzipCompressionProviderOptions` in `Microsoft.AspNetCore.ResponseCompression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCompression.GzipCompressionProviderOptions` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class GzipCompressionProviderOptions : Microsoft.Extensions.Options.IOptions { public GzipCompressionProviderOptions() => throw null; @@ -64,7 +64,7 @@ namespace Microsoft Microsoft.AspNetCore.ResponseCompression.GzipCompressionProviderOptions Microsoft.Extensions.Options.IOptions.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.ResponseCompression.ICompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCompression.ICompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICompressionProvider { System.IO.Stream CreateStream(System.IO.Stream outputStream); @@ -72,7 +72,7 @@ namespace Microsoft bool SupportsFlush { get; } } - // Generated from `Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResponseCompressionProvider { bool CheckRequestAcceptsCompression(Microsoft.AspNetCore.Http.HttpContext context); @@ -80,21 +80,21 @@ namespace Microsoft bool ShouldCompressResponse(Microsoft.AspNetCore.Http.HttpContext context); } - // Generated from `Microsoft.AspNetCore.ResponseCompression.ResponseCompressionDefaults` in `Microsoft.AspNetCore.ResponseCompression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCompression.ResponseCompressionDefaults` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCompressionDefaults { public static System.Collections.Generic.IEnumerable MimeTypes; public ResponseCompressionDefaults() => throw null; } - // Generated from `Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware` in `Microsoft.AspNetCore.ResponseCompression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCompressionMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public ResponseCompressionMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider provider) => throw null; } - // Generated from `Microsoft.AspNetCore.ResponseCompression.ResponseCompressionOptions` in `Microsoft.AspNetCore.ResponseCompression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCompression.ResponseCompressionOptions` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCompressionOptions { public bool EnableForHttps { get => throw null; set => throw null; } @@ -104,7 +104,7 @@ namespace Microsoft public ResponseCompressionOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.ResponseCompression.ResponseCompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.ResponseCompression.ResponseCompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCompressionProvider : Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider { public bool CheckRequestAcceptsCompression(Microsoft.AspNetCore.Http.HttpContext context) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Rewrite.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Rewrite.cs index 65ce3962a0d..88ae6325dcb 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Rewrite.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Rewrite.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.RewriteBuilderExtensions` in `Microsoft.AspNetCore.Rewrite, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.RewriteBuilderExtensions` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RewriteBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRewriter(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -16,27 +16,27 @@ namespace Microsoft } namespace Rewrite { - // Generated from `Microsoft.AspNetCore.Rewrite.ApacheModRewriteOptionsExtensions` in `Microsoft.AspNetCore.Rewrite, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Rewrite.ApacheModRewriteOptionsExtensions` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ApacheModRewriteOptionsExtensions { public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddApacheModRewrite(this Microsoft.AspNetCore.Rewrite.RewriteOptions options, Microsoft.Extensions.FileProviders.IFileProvider fileProvider, string filePath) => throw null; public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddApacheModRewrite(this Microsoft.AspNetCore.Rewrite.RewriteOptions options, System.IO.TextReader reader) => throw null; } - // Generated from `Microsoft.AspNetCore.Rewrite.IISUrlRewriteOptionsExtensions` in `Microsoft.AspNetCore.Rewrite, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Rewrite.IISUrlRewriteOptionsExtensions` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class IISUrlRewriteOptionsExtensions { public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddIISUrlRewrite(this Microsoft.AspNetCore.Rewrite.RewriteOptions options, Microsoft.Extensions.FileProviders.IFileProvider fileProvider, string filePath, bool alwaysUseManagedServerVariables = default(bool)) => throw null; public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddIISUrlRewrite(this Microsoft.AspNetCore.Rewrite.RewriteOptions options, System.IO.TextReader reader, bool alwaysUseManagedServerVariables = default(bool)) => throw null; } - // Generated from `Microsoft.AspNetCore.Rewrite.IRule` in `Microsoft.AspNetCore.Rewrite, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Rewrite.IRule` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRule { void ApplyRule(Microsoft.AspNetCore.Rewrite.RewriteContext context); } - // Generated from `Microsoft.AspNetCore.Rewrite.RewriteContext` in `Microsoft.AspNetCore.Rewrite, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Rewrite.RewriteContext` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RewriteContext { public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; set => throw null; } @@ -46,14 +46,14 @@ namespace Microsoft public Microsoft.Extensions.FileProviders.IFileProvider StaticFileProvider { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Rewrite.RewriteMiddleware` in `Microsoft.AspNetCore.Rewrite, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Rewrite.RewriteMiddleware` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RewriteMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public RewriteMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Rewrite.RewriteOptions` in `Microsoft.AspNetCore.Rewrite, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Rewrite.RewriteOptions` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RewriteOptions { public RewriteOptions() => throw null; @@ -61,7 +61,7 @@ namespace Microsoft public Microsoft.Extensions.FileProviders.IFileProvider StaticFileProvider { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Rewrite.RewriteOptionsExtensions` in `Microsoft.AspNetCore.Rewrite, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Rewrite.RewriteOptionsExtensions` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RewriteOptionsExtensions { public static Microsoft.AspNetCore.Rewrite.RewriteOptions Add(this Microsoft.AspNetCore.Rewrite.RewriteOptions options, System.Action applyRule) => throw null; @@ -87,7 +87,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddRewrite(this Microsoft.AspNetCore.Rewrite.RewriteOptions options, string regex, string replacement, bool skipRemainingRules) => throw null; } - // Generated from `Microsoft.AspNetCore.Rewrite.RuleResult` in `Microsoft.AspNetCore.Rewrite, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Rewrite.RuleResult` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RuleResult : int { ContinueRules = 0, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.Abstractions.cs index ebe4f26ac82..f73a4be3705 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.Abstractions.cs @@ -6,43 +6,43 @@ namespace Microsoft { namespace Routing { - // Generated from `Microsoft.AspNetCore.Routing.IOutboundParameterTransformer` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IOutboundParameterTransformer` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOutboundParameterTransformer : Microsoft.AspNetCore.Routing.IParameterPolicy { string TransformOutbound(object value); } - // Generated from `Microsoft.AspNetCore.Routing.IParameterPolicy` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IParameterPolicy` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IParameterPolicy { } - // Generated from `Microsoft.AspNetCore.Routing.IRouteConstraint` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IRouteConstraint` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy { bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection); } - // Generated from `Microsoft.AspNetCore.Routing.IRouteHandler` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IRouteHandler` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteHandler { Microsoft.AspNetCore.Http.RequestDelegate GetRequestHandler(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteData routeData); } - // Generated from `Microsoft.AspNetCore.Routing.IRouter` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IRouter` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouter { Microsoft.AspNetCore.Routing.VirtualPathData GetVirtualPath(Microsoft.AspNetCore.Routing.VirtualPathContext context); System.Threading.Tasks.Task RouteAsync(Microsoft.AspNetCore.Routing.RouteContext context); } - // Generated from `Microsoft.AspNetCore.Routing.IRoutingFeature` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IRoutingFeature` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRoutingFeature { Microsoft.AspNetCore.Routing.RouteData RouteData { get; set; } } - // Generated from `Microsoft.AspNetCore.Routing.LinkGenerator` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.LinkGenerator` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class LinkGenerator { public abstract string GetPathByAddress(Microsoft.AspNetCore.Http.HttpContext httpContext, TAddress address, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteValueDictionary ambientValues = default(Microsoft.AspNetCore.Routing.RouteValueDictionary), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)); @@ -52,7 +52,7 @@ namespace Microsoft protected LinkGenerator() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.LinkOptions` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.LinkOptions` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LinkOptions { public bool? AppendTrailingSlash { get => throw null; set => throw null; } @@ -61,7 +61,7 @@ namespace Microsoft public bool? LowercaseUrls { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteContext` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteContext` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteContext { public Microsoft.AspNetCore.Http.RequestDelegate Handler { get => throw null; set => throw null; } @@ -70,10 +70,10 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteData RouteData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteData` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteData` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteData { - // Generated from `Microsoft.AspNetCore.Routing.RouteData+RouteDataSnapshot` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteData+RouteDataSnapshot` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RouteDataSnapshot { public void Restore() => throw null; @@ -91,21 +91,21 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteValueDictionary Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteDirection` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteDirection` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RouteDirection : int { IncomingRequest = 0, UrlGeneration = 1, } - // Generated from `Microsoft.AspNetCore.Routing.RoutingHttpContextExtensions` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RoutingHttpContextExtensions` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RoutingHttpContextExtensions { public static Microsoft.AspNetCore.Routing.RouteData GetRouteData(this Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; public static object GetRouteValue(this Microsoft.AspNetCore.Http.HttpContext httpContext, string key) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.VirtualPathContext` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.VirtualPathContext` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class VirtualPathContext { public Microsoft.AspNetCore.Routing.RouteValueDictionary AmbientValues { get => throw null; } @@ -116,7 +116,7 @@ namespace Microsoft public VirtualPathContext(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary ambientValues, Microsoft.AspNetCore.Routing.RouteValueDictionary values, string routeName) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.VirtualPathData` in `Microsoft.AspNetCore.Routing.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.VirtualPathData` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class VirtualPathData { public Microsoft.AspNetCore.Routing.RouteValueDictionary DataTokens { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.cs index f0d38400461..5912d2c4016 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder Map(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, Microsoft.AspNetCore.Routing.Patterns.RoutePattern pattern, System.Delegate handler) => throw null; @@ -19,22 +19,26 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder MapFallback(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, System.Delegate handler) => throw null; public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder MapGet(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, System.Delegate handler) => throw null; public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapGet(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate) => throw null; + public static Microsoft.AspNetCore.Routing.RouteGroupBuilder MapGroup(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, Microsoft.AspNetCore.Routing.Patterns.RoutePattern prefix) => throw null; + public static Microsoft.AspNetCore.Routing.RouteGroupBuilder MapGroup(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string prefix) => throw null; public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder MapMethods(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, System.Collections.Generic.IEnumerable httpMethods, System.Delegate handler) => throw null; public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapMethods(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, System.Collections.Generic.IEnumerable httpMethods, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate) => throw null; + public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder MapPatch(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, System.Delegate handler) => throw null; + public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapPatch(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate) => throw null; public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder MapPost(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, System.Delegate handler) => throw null; public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapPost(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate) => throw null; public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder MapPut(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, System.Delegate handler) => throw null; public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapPut(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.EndpointRoutingApplicationBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.EndpointRoutingApplicationBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EndpointRoutingApplicationBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseEndpoints(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, System.Action configure) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRouting(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.FallbackEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.FallbackEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class FallbackEndpointRouteBuilderExtensions { public static string DefaultPattern; @@ -42,7 +46,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallback(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.MapRouteRouteBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.MapRouteRouteBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MapRouteRouteBuilderExtensions { public static Microsoft.AspNetCore.Routing.IRouteBuilder MapRoute(this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string template) => throw null; @@ -51,28 +55,29 @@ namespace Microsoft public static Microsoft.AspNetCore.Routing.IRouteBuilder MapRoute(this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string template, object defaults, object constraints, object dataTokens) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RouteHandlerBuilder` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.RouteHandlerBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteHandlerBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { public void Add(System.Action convention) => throw null; + public void Finally(System.Action finalConvention) => throw null; public RouteHandlerBuilder(System.Collections.Generic.IEnumerable endpointConventionBuilders) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RouterMiddleware` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.RouterMiddleware` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouterMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; public RouterMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Routing.IRouter router) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RoutingBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.RoutingBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RoutingBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRouter(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, System.Action action) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRouter(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, Microsoft.AspNetCore.Routing.IRouter router) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RoutingEndpointConventionBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.RoutingEndpointConventionBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RoutingEndpointConventionBuilderExtensions { public static TBuilder RequireHost(this TBuilder builder, params string[] hosts) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; @@ -86,7 +91,18 @@ namespace Microsoft } namespace Http { - // Generated from `Microsoft.AspNetCore.Http.OpenApiRouteHandlerBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.EndpointFilterExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class EndpointFilterExtensions + { + public static TBuilder AddEndpointFilter(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder where TFilterType : Microsoft.AspNetCore.Http.IEndpointFilter => throw null; + public static TBuilder AddEndpointFilter(this TBuilder builder, System.Func> routeHandlerFilter) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + public static TBuilder AddEndpointFilter(this TBuilder builder, Microsoft.AspNetCore.Http.IEndpointFilter filter) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + public static Microsoft.AspNetCore.Routing.RouteGroupBuilder AddEndpointFilter(this Microsoft.AspNetCore.Routing.RouteGroupBuilder builder) where TFilterType : Microsoft.AspNetCore.Http.IEndpointFilter => throw null; + public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder AddEndpointFilter(this Microsoft.AspNetCore.Builder.RouteHandlerBuilder builder) where TFilterType : Microsoft.AspNetCore.Http.IEndpointFilter => throw null; + public static TBuilder AddEndpointFilterFactory(this TBuilder builder, System.Func filterFactory) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + } + + // Generated from `Microsoft.AspNetCore.Http.OpenApiRouteHandlerBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OpenApiRouteHandlerBuilderExtensions { public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder Accepts(this Microsoft.AspNetCore.Builder.RouteHandlerBuilder builder, System.Type requestType, bool isOptional, string contentType, params string[] additionalContentTypes) => throw null; @@ -94,33 +110,39 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder Accepts(this Microsoft.AspNetCore.Builder.RouteHandlerBuilder builder, bool isOptional, string contentType, params string[] additionalContentTypes) => throw null; public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder Accepts(this Microsoft.AspNetCore.Builder.RouteHandlerBuilder builder, string contentType, params string[] additionalContentTypes) => throw null; public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder ExcludeFromDescription(this Microsoft.AspNetCore.Builder.RouteHandlerBuilder builder) => throw null; + public static TBuilder ExcludeFromDescription(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder Produces(this Microsoft.AspNetCore.Builder.RouteHandlerBuilder builder, int statusCode, System.Type responseType = default(System.Type), string contentType = default(string), params string[] additionalContentTypes) => throw null; public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder Produces(this Microsoft.AspNetCore.Builder.RouteHandlerBuilder builder, int statusCode = default(int), string contentType = default(string), params string[] additionalContentTypes) => throw null; public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder ProducesProblem(this Microsoft.AspNetCore.Builder.RouteHandlerBuilder builder, int statusCode, string contentType = default(string)) => throw null; public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder ProducesValidationProblem(this Microsoft.AspNetCore.Builder.RouteHandlerBuilder builder, int statusCode = default(int), string contentType = default(string)) => throw null; + public static TBuilder WithDescription(this TBuilder builder, string description) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; + public static TBuilder WithSummary(this TBuilder builder, string summary) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder WithTags(this Microsoft.AspNetCore.Builder.RouteHandlerBuilder builder, params string[] tags) => throw null; + public static TBuilder WithTags(this TBuilder builder, params string[] tags) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; } } namespace Routing { - // Generated from `Microsoft.AspNetCore.Routing.CompositeEndpointDataSource` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` - public class CompositeEndpointDataSource : Microsoft.AspNetCore.Routing.EndpointDataSource + // Generated from `Microsoft.AspNetCore.Routing.CompositeEndpointDataSource` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class CompositeEndpointDataSource : Microsoft.AspNetCore.Routing.EndpointDataSource, System.IDisposable { public CompositeEndpointDataSource(System.Collections.Generic.IEnumerable endpointDataSources) => throw null; public System.Collections.Generic.IEnumerable DataSources { get => throw null; } + public void Dispose() => throw null; public override System.Collections.Generic.IReadOnlyList Endpoints { get => throw null; } public override Microsoft.Extensions.Primitives.IChangeToken GetChangeToken() => throw null; + public override System.Collections.Generic.IReadOnlyList GetGroupedEndpoints(Microsoft.AspNetCore.Routing.RouteGroupContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.DataTokensMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.DataTokensMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataTokensMetadata : Microsoft.AspNetCore.Routing.IDataTokensMetadata { public System.Collections.Generic.IReadOnlyDictionary DataTokens { get => throw null; } public DataTokensMetadata(System.Collections.Generic.IReadOnlyDictionary dataTokens) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.DefaultEndpointDataSource` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.DefaultEndpointDataSource` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultEndpointDataSource : Microsoft.AspNetCore.Routing.EndpointDataSource { public DefaultEndpointDataSource(System.Collections.Generic.IEnumerable endpoints) => throw null; @@ -129,50 +151,51 @@ namespace Microsoft public override Microsoft.Extensions.Primitives.IChangeToken GetChangeToken() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.DefaultInlineConstraintResolver` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.DefaultInlineConstraintResolver` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultInlineConstraintResolver : Microsoft.AspNetCore.Routing.IInlineConstraintResolver { public DefaultInlineConstraintResolver(Microsoft.Extensions.Options.IOptions routeOptions, System.IServiceProvider serviceProvider) => throw null; public virtual Microsoft.AspNetCore.Routing.IRouteConstraint ResolveConstraint(string inlineConstraint) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.EndpointDataSource` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.EndpointDataSource` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class EndpointDataSource { protected EndpointDataSource() => throw null; public abstract System.Collections.Generic.IReadOnlyList Endpoints { get; } public abstract Microsoft.Extensions.Primitives.IChangeToken GetChangeToken(); + public virtual System.Collections.Generic.IReadOnlyList GetGroupedEndpoints(Microsoft.AspNetCore.Routing.RouteGroupContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.EndpointGroupNameAttribute` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.EndpointGroupNameAttribute` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointGroupNameAttribute : System.Attribute, Microsoft.AspNetCore.Routing.IEndpointGroupNameMetadata { public string EndpointGroupName { get => throw null; } public EndpointGroupNameAttribute(string endpointGroupName) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.EndpointNameAttribute` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.EndpointNameAttribute` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointNameAttribute : System.Attribute, Microsoft.AspNetCore.Routing.IEndpointNameMetadata { public string EndpointName { get => throw null; } public EndpointNameAttribute(string endpointName) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.EndpointNameMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.EndpointNameMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointNameMetadata : Microsoft.AspNetCore.Routing.IEndpointNameMetadata { public string EndpointName { get => throw null; } public EndpointNameMetadata(string endpointName) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.ExcludeFromDescriptionAttribute` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.ExcludeFromDescriptionAttribute` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExcludeFromDescriptionAttribute : System.Attribute, Microsoft.AspNetCore.Routing.IExcludeFromDescriptionMetadata { public bool ExcludeFromDescription { get => throw null; } public ExcludeFromDescriptionAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.HostAttribute` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.HostAttribute` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostAttribute : System.Attribute, Microsoft.AspNetCore.Routing.IHostMetadata { public HostAttribute(params string[] hosts) => throw null; @@ -180,46 +203,46 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList Hosts { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.HttpMethodMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.HttpMethodMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpMethodMetadata : Microsoft.AspNetCore.Routing.IHttpMethodMetadata { - public bool AcceptCorsPreflight { get => throw null; } + public bool AcceptCorsPreflight { get => throw null; set => throw null; } public HttpMethodMetadata(System.Collections.Generic.IEnumerable httpMethods) => throw null; public HttpMethodMetadata(System.Collections.Generic.IEnumerable httpMethods, bool acceptCorsPreflight) => throw null; public System.Collections.Generic.IReadOnlyList HttpMethods { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.IDataTokensMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IDataTokensMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDataTokensMetadata { System.Collections.Generic.IReadOnlyDictionary DataTokens { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IDynamicEndpointMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IDynamicEndpointMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDynamicEndpointMetadata { bool IsDynamic { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IEndpointAddressScheme<>` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IEndpointAddressScheme<>` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointAddressScheme { System.Collections.Generic.IEnumerable FindEndpoints(TAddress address); } - // Generated from `Microsoft.AspNetCore.Routing.IEndpointGroupNameMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IEndpointGroupNameMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointGroupNameMetadata { string EndpointGroupName { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IEndpointNameMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IEndpointNameMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointNameMetadata { string EndpointName { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IEndpointRouteBuilder` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IEndpointRouteBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointRouteBuilder { Microsoft.AspNetCore.Builder.IApplicationBuilder CreateApplicationBuilder(); @@ -227,38 +250,38 @@ namespace Microsoft System.IServiceProvider ServiceProvider { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IExcludeFromDescriptionMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IExcludeFromDescriptionMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IExcludeFromDescriptionMetadata { bool ExcludeFromDescription { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IHostMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IHostMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostMetadata { System.Collections.Generic.IReadOnlyList Hosts { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IHttpMethodMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IHttpMethodMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpMethodMetadata { - bool AcceptCorsPreflight { get; } + bool AcceptCorsPreflight { get => throw null; set => throw null; } System.Collections.Generic.IReadOnlyList HttpMethods { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IInlineConstraintResolver` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IInlineConstraintResolver` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IInlineConstraintResolver { Microsoft.AspNetCore.Routing.IRouteConstraint ResolveConstraint(string inlineConstraint); } - // Generated from `Microsoft.AspNetCore.Routing.INamedRouter` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.INamedRouter` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface INamedRouter : Microsoft.AspNetCore.Routing.IRouter { string Name { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IRouteBuilder` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IRouteBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteBuilder { Microsoft.AspNetCore.Builder.IApplicationBuilder ApplicationBuilder { get; } @@ -268,68 +291,76 @@ namespace Microsoft System.IServiceProvider ServiceProvider { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IRouteCollection` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IRouteCollection` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteCollection : Microsoft.AspNetCore.Routing.IRouter { void Add(Microsoft.AspNetCore.Routing.IRouter router); } - // Generated from `Microsoft.AspNetCore.Routing.IRouteNameMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.IRouteNameMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteNameMetadata { string RouteName { get; } } - // Generated from `Microsoft.AspNetCore.Routing.ISuppressLinkGenerationMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.ISuppressLinkGenerationMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISuppressLinkGenerationMetadata { bool SuppressLinkGeneration { get; } } - // Generated from `Microsoft.AspNetCore.Routing.ISuppressMatchingMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.ISuppressMatchingMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISuppressMatchingMetadata { bool SuppressMatching { get; } } - // Generated from `Microsoft.AspNetCore.Routing.InlineRouteParameterParser` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.InlineRouteParameterParser` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class InlineRouteParameterParser { public static Microsoft.AspNetCore.Routing.Template.TemplatePart ParseRouteParameter(string routeParameter) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.LinkGeneratorEndpointNameAddressExtensions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.LinkGeneratorEndpointNameAddressExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LinkGeneratorEndpointNameAddressExtensions { + public static string GetPathByName(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string endpointName, Microsoft.AspNetCore.Routing.RouteValueDictionary values = default(Microsoft.AspNetCore.Routing.RouteValueDictionary), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; public static string GetPathByName(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string endpointName, object values, Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; + public static string GetPathByName(this Microsoft.AspNetCore.Routing.LinkGenerator generator, string endpointName, Microsoft.AspNetCore.Routing.RouteValueDictionary values = default(Microsoft.AspNetCore.Routing.RouteValueDictionary), Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; public static string GetPathByName(this Microsoft.AspNetCore.Routing.LinkGenerator generator, string endpointName, object values, Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; + public static string GetUriByName(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string endpointName, Microsoft.AspNetCore.Routing.RouteValueDictionary values = default(Microsoft.AspNetCore.Routing.RouteValueDictionary), string scheme = default(string), Microsoft.AspNetCore.Http.HostString? host = default(Microsoft.AspNetCore.Http.HostString?), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; public static string GetUriByName(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string endpointName, object values, string scheme = default(string), Microsoft.AspNetCore.Http.HostString? host = default(Microsoft.AspNetCore.Http.HostString?), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; + public static string GetUriByName(this Microsoft.AspNetCore.Routing.LinkGenerator generator, string endpointName, Microsoft.AspNetCore.Routing.RouteValueDictionary values, string scheme, Microsoft.AspNetCore.Http.HostString host, Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; public static string GetUriByName(this Microsoft.AspNetCore.Routing.LinkGenerator generator, string endpointName, object values, string scheme, Microsoft.AspNetCore.Http.HostString host, Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.LinkGeneratorRouteValuesAddressExtensions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.LinkGeneratorRouteValuesAddressExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LinkGeneratorRouteValuesAddressExtensions { + public static string GetPathByRouteValues(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string routeName, Microsoft.AspNetCore.Routing.RouteValueDictionary values = default(Microsoft.AspNetCore.Routing.RouteValueDictionary), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; public static string GetPathByRouteValues(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string routeName, object values, Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; + public static string GetPathByRouteValues(this Microsoft.AspNetCore.Routing.LinkGenerator generator, string routeName, Microsoft.AspNetCore.Routing.RouteValueDictionary values = default(Microsoft.AspNetCore.Routing.RouteValueDictionary), Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; public static string GetPathByRouteValues(this Microsoft.AspNetCore.Routing.LinkGenerator generator, string routeName, object values, Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; + public static string GetUriByRouteValues(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string routeName, Microsoft.AspNetCore.Routing.RouteValueDictionary values = default(Microsoft.AspNetCore.Routing.RouteValueDictionary), string scheme = default(string), Microsoft.AspNetCore.Http.HostString? host = default(Microsoft.AspNetCore.Http.HostString?), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; public static string GetUriByRouteValues(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string routeName, object values, string scheme = default(string), Microsoft.AspNetCore.Http.HostString? host = default(Microsoft.AspNetCore.Http.HostString?), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; + public static string GetUriByRouteValues(this Microsoft.AspNetCore.Routing.LinkGenerator generator, string routeName, Microsoft.AspNetCore.Routing.RouteValueDictionary values, string scheme, Microsoft.AspNetCore.Http.HostString host, Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; public static string GetUriByRouteValues(this Microsoft.AspNetCore.Routing.LinkGenerator generator, string routeName, object values, string scheme, Microsoft.AspNetCore.Http.HostString host, Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.LinkParser` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.LinkParser` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class LinkParser { protected LinkParser() => throw null; public abstract Microsoft.AspNetCore.Routing.RouteValueDictionary ParsePathByAddress(TAddress address, Microsoft.AspNetCore.Http.PathString path); } - // Generated from `Microsoft.AspNetCore.Routing.LinkParserEndpointNameAddressExtensions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.LinkParserEndpointNameAddressExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LinkParserEndpointNameAddressExtensions { public static Microsoft.AspNetCore.Routing.RouteValueDictionary ParsePathByEndpointName(this Microsoft.AspNetCore.Routing.LinkParser parser, string endpointName, Microsoft.AspNetCore.Http.PathString path) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.MatcherPolicy` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.MatcherPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class MatcherPolicy { protected static bool ContainsDynamicEndpoints(System.Collections.Generic.IReadOnlyList endpoints) => throw null; @@ -337,7 +368,7 @@ namespace Microsoft public abstract int Order { get; } } - // Generated from `Microsoft.AspNetCore.Routing.ParameterPolicyFactory` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.ParameterPolicyFactory` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ParameterPolicyFactory { public abstract Microsoft.AspNetCore.Routing.IParameterPolicy Create(Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart parameter, Microsoft.AspNetCore.Routing.IParameterPolicy parameterPolicy); @@ -346,7 +377,7 @@ namespace Microsoft protected ParameterPolicyFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RequestDelegateRouteBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RequestDelegateRouteBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestDelegateRouteBuilderExtensions { public static Microsoft.AspNetCore.Routing.IRouteBuilder MapDelete(this Microsoft.AspNetCore.Routing.IRouteBuilder builder, string template, System.Func handler) => throw null; @@ -368,7 +399,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Routing.IRouteBuilder MapVerb(this Microsoft.AspNetCore.Routing.IRouteBuilder builder, string verb, string template, Microsoft.AspNetCore.Http.RequestDelegate handler) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Route` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Route` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Route : Microsoft.AspNetCore.Routing.RouteBase { protected override System.Threading.Tasks.Task OnRouteMatched(Microsoft.AspNetCore.Routing.RouteContext context) => throw null; @@ -379,7 +410,7 @@ namespace Microsoft public string RouteTemplate { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteBase` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteBase` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RouteBase : Microsoft.AspNetCore.Routing.INamedRouter, Microsoft.AspNetCore.Routing.IRouter { protected virtual Microsoft.AspNetCore.Routing.IInlineConstraintResolver ConstraintResolver { get => throw null; set => throw null; } @@ -398,7 +429,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteBuilder` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteBuilder : Microsoft.AspNetCore.Routing.IRouteBuilder { public Microsoft.AspNetCore.Builder.IApplicationBuilder ApplicationBuilder { get => throw null; } @@ -410,7 +441,7 @@ namespace Microsoft public System.IServiceProvider ServiceProvider { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteCollection` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteCollection` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteCollection : Microsoft.AspNetCore.Routing.IRouteCollection, Microsoft.AspNetCore.Routing.IRouter { public void Add(Microsoft.AspNetCore.Routing.IRouter router) => throw null; @@ -421,7 +452,7 @@ namespace Microsoft public RouteCollection() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteConstraintBuilder` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteConstraintBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteConstraintBuilder { public void AddConstraint(string key, object value) => throw null; @@ -431,20 +462,20 @@ namespace Microsoft public void SetOptional(string key) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteConstraintMatcher` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteConstraintMatcher` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RouteConstraintMatcher { public static bool Match(System.Collections.Generic.IDictionary constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary routeValues, Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, Microsoft.AspNetCore.Routing.RouteDirection routeDirection, Microsoft.Extensions.Logging.ILogger logger) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteCreationException` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteCreationException` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteCreationException : System.Exception { public RouteCreationException(string message) => throw null; public RouteCreationException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteEndpoint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteEndpoint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteEndpoint : Microsoft.AspNetCore.Http.Endpoint { public int Order { get => throw null; } @@ -452,7 +483,7 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Patterns.RoutePattern RoutePattern { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteEndpointBuilder` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteEndpointBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteEndpointBuilder : Microsoft.AspNetCore.Builder.EndpointBuilder { public override Microsoft.AspNetCore.Http.Endpoint Build() => throw null; @@ -461,7 +492,27 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Patterns.RoutePattern RoutePattern { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteHandler` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteGroupBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class RouteGroupBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder, Microsoft.AspNetCore.Routing.IEndpointRouteBuilder + { + void Microsoft.AspNetCore.Builder.IEndpointConventionBuilder.Add(System.Action convention) => throw null; + Microsoft.AspNetCore.Builder.IApplicationBuilder Microsoft.AspNetCore.Routing.IEndpointRouteBuilder.CreateApplicationBuilder() => throw null; + System.Collections.Generic.ICollection Microsoft.AspNetCore.Routing.IEndpointRouteBuilder.DataSources { get => throw null; } + void Microsoft.AspNetCore.Builder.IEndpointConventionBuilder.Finally(System.Action finalConvention) => throw null; + System.IServiceProvider Microsoft.AspNetCore.Routing.IEndpointRouteBuilder.ServiceProvider { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.Routing.RouteGroupContext` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class RouteGroupContext + { + public System.IServiceProvider ApplicationServices { get => throw null; set => throw null; } + public System.Collections.Generic.IReadOnlyList> Conventions { get => throw null; set => throw null; } + public System.Collections.Generic.IReadOnlyList> FinallyConventions { get => throw null; set => throw null; } + public Microsoft.AspNetCore.Routing.Patterns.RoutePattern Prefix { get => throw null; set => throw null; } + public RouteGroupContext() => throw null; + } + + // Generated from `Microsoft.AspNetCore.Routing.RouteHandler` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteHandler : Microsoft.AspNetCore.Routing.IRouteHandler, Microsoft.AspNetCore.Routing.IRouter { public Microsoft.AspNetCore.Http.RequestDelegate GetRequestHandler(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteData routeData) => throw null; @@ -470,21 +521,21 @@ namespace Microsoft public RouteHandler(Microsoft.AspNetCore.Http.RequestDelegate requestDelegate) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteHandlerOptions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteHandlerOptions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteHandlerOptions { public RouteHandlerOptions() => throw null; public bool ThrowOnBadRequest { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteNameMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteNameMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteNameMetadata : Microsoft.AspNetCore.Routing.IRouteNameMetadata { public string RouteName { get => throw null; } public RouteNameMetadata(string routeName) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteOptions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteOptions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteOptions { public bool AppendTrailingSlash { get => throw null; set => throw null; } @@ -492,10 +543,12 @@ namespace Microsoft public bool LowercaseQueryStrings { get => throw null; set => throw null; } public bool LowercaseUrls { get => throw null; set => throw null; } public RouteOptions() => throw null; + public void SetParameterPolicy(string token, System.Type type) => throw null; + public void SetParameterPolicy(string token) where T : Microsoft.AspNetCore.Routing.IParameterPolicy => throw null; public bool SuppressCheckForUnhandledSecurityMetadata { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteValueEqualityComparer` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteValueEqualityComparer` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteValueEqualityComparer : System.Collections.Generic.IEqualityComparer { public static Microsoft.AspNetCore.Routing.RouteValueEqualityComparer Default; @@ -504,30 +557,31 @@ namespace Microsoft public RouteValueEqualityComparer() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteValuesAddress` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RouteValuesAddress` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteValuesAddress { public Microsoft.AspNetCore.Routing.RouteValueDictionary AmbientValues { get => throw null; set => throw null; } public Microsoft.AspNetCore.Routing.RouteValueDictionary ExplicitValues { get => throw null; set => throw null; } public string RouteName { get => throw null; set => throw null; } public RouteValuesAddress() => throw null; + public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RoutingFeature` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.RoutingFeature` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutingFeature : Microsoft.AspNetCore.Routing.IRoutingFeature { public Microsoft.AspNetCore.Routing.RouteData RouteData { get => throw null; set => throw null; } public RoutingFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.SuppressLinkGenerationMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.SuppressLinkGenerationMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SuppressLinkGenerationMetadata : Microsoft.AspNetCore.Routing.ISuppressLinkGenerationMetadata { public bool SuppressLinkGeneration { get => throw null; } public SuppressLinkGenerationMetadata() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.SuppressMatchingMetadata` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.SuppressMatchingMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SuppressMatchingMetadata : Microsoft.AspNetCore.Routing.ISuppressMatchingMetadata { public bool SuppressMatching { get => throw null; } @@ -536,13 +590,13 @@ namespace Microsoft namespace Constraints { - // Generated from `Microsoft.AspNetCore.Routing.Constraints.AlphaRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.AlphaRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AlphaRouteConstraint : Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint { public AlphaRouteConstraint() : base(default(System.Text.RegularExpressions.Regex)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.BoolRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.BoolRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BoolRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public BoolRouteConstraint() => throw null; @@ -550,7 +604,7 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.CompositeRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.CompositeRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public CompositeRouteConstraint(System.Collections.Generic.IEnumerable constraints) => throw null; @@ -559,7 +613,7 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.DateTimeRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.DateTimeRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DateTimeRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public DateTimeRouteConstraint() => throw null; @@ -567,7 +621,7 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.DecimalRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.DecimalRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DecimalRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public DecimalRouteConstraint() => throw null; @@ -575,7 +629,7 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.DoubleRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.DoubleRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DoubleRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public DoubleRouteConstraint() => throw null; @@ -583,7 +637,7 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.FileNameRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.FileNameRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileNameRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public FileNameRouteConstraint() => throw null; @@ -591,7 +645,7 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.FloatRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.FloatRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FloatRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public FloatRouteConstraint() => throw null; @@ -599,7 +653,7 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.GuidRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.GuidRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class GuidRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public GuidRouteConstraint() => throw null; @@ -607,7 +661,7 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.HttpMethodRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.HttpMethodRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpMethodRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint { public System.Collections.Generic.IList AllowedMethods { get => throw null; } @@ -615,7 +669,7 @@ namespace Microsoft public virtual bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.IntRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.IntRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IntRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public IntRouteConstraint() => throw null; @@ -623,7 +677,7 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.LengthRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.LengthRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LengthRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public LengthRouteConstraint(int length) => throw null; @@ -634,7 +688,7 @@ namespace Microsoft public int MinLength { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.LongRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.LongRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LongRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public LongRouteConstraint() => throw null; @@ -642,7 +696,7 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.MaxLengthRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.MaxLengthRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MaxLengthRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -651,7 +705,7 @@ namespace Microsoft public MaxLengthRouteConstraint(int maxLength) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.MaxRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.MaxRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MaxRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -660,7 +714,7 @@ namespace Microsoft public MaxRouteConstraint(System.Int64 max) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.MinLengthRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.MinLengthRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MinLengthRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -669,7 +723,7 @@ namespace Microsoft public MinLengthRouteConstraint(int minLength) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.MinRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.MinRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MinRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -678,7 +732,7 @@ namespace Microsoft public MinRouteConstraint(System.Int64 min) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.NonFileNameRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.NonFileNameRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NonFileNameRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -686,7 +740,7 @@ namespace Microsoft public NonFileNameRouteConstraint() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.OptionalRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.OptionalRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionalRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint { public Microsoft.AspNetCore.Routing.IRouteConstraint InnerConstraint { get => throw null; } @@ -694,7 +748,7 @@ namespace Microsoft public OptionalRouteConstraint(Microsoft.AspNetCore.Routing.IRouteConstraint innerConstraint) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.RangeRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.RangeRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RangeRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -704,13 +758,13 @@ namespace Microsoft public RangeRouteConstraint(System.Int64 min, System.Int64 max) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.RegexInlineRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.RegexInlineRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RegexInlineRouteConstraint : Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint { public RegexInlineRouteConstraint(string regexPattern) : base(default(System.Text.RegularExpressions.Regex)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RegexRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public System.Text.RegularExpressions.Regex Constraint { get => throw null; } @@ -720,14 +774,14 @@ namespace Microsoft public RegexRouteConstraint(string regexPattern) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.RequiredRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.RequiredRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequiredRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; public RequiredRouteConstraint() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.StringRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Constraints.StringRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -738,7 +792,7 @@ namespace Microsoft } namespace Internal { - // Generated from `Microsoft.AspNetCore.Routing.Internal.DfaGraphWriter` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Internal.DfaGraphWriter` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DfaGraphWriter { public DfaGraphWriter(System.IServiceProvider services) => throw null; @@ -748,7 +802,7 @@ namespace Microsoft } namespace Matching { - // Generated from `Microsoft.AspNetCore.Routing.Matching.CandidateSet` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.CandidateSet` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CandidateSet { public CandidateSet(Microsoft.AspNetCore.Http.Endpoint[] endpoints, Microsoft.AspNetCore.Routing.RouteValueDictionary[] values, int[] scores) => throw null; @@ -760,7 +814,7 @@ namespace Microsoft public void SetValidity(int index, bool value) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Matching.CandidateState` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.CandidateState` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct CandidateState { // Stub generator skipped constructor @@ -769,13 +823,13 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteValueDictionary Values { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Matching.EndpointMetadataComparer` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.EndpointMetadataComparer` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointMetadataComparer : System.Collections.Generic.IComparer { int System.Collections.Generic.IComparer.Compare(Microsoft.AspNetCore.Http.Endpoint x, Microsoft.AspNetCore.Http.Endpoint y) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Matching.EndpointMetadataComparer<>` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.EndpointMetadataComparer<>` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class EndpointMetadataComparer : System.Collections.Generic.IComparer where TMetadata : class { public int Compare(Microsoft.AspNetCore.Http.Endpoint x, Microsoft.AspNetCore.Http.Endpoint y) => throw null; @@ -785,14 +839,14 @@ namespace Microsoft protected virtual TMetadata GetMetadata(Microsoft.AspNetCore.Http.Endpoint endpoint) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Matching.EndpointSelector` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.EndpointSelector` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class EndpointSelector { protected EndpointSelector() => throw null; public abstract System.Threading.Tasks.Task SelectAsync(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.Matching.CandidateSet candidates); } - // Generated from `Microsoft.AspNetCore.Routing.Matching.HostMatcherPolicy` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.HostMatcherPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostMatcherPolicy : Microsoft.AspNetCore.Routing.MatcherPolicy, Microsoft.AspNetCore.Routing.Matching.IEndpointComparerPolicy, Microsoft.AspNetCore.Routing.Matching.IEndpointSelectorPolicy, Microsoft.AspNetCore.Routing.Matching.INodeBuilderPolicy { bool Microsoft.AspNetCore.Routing.Matching.IEndpointSelectorPolicy.AppliesToEndpoints(System.Collections.Generic.IReadOnlyList endpoints) => throw null; @@ -805,7 +859,7 @@ namespace Microsoft public override int Order { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Matching.HttpMethodMatcherPolicy` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.HttpMethodMatcherPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpMethodMatcherPolicy : Microsoft.AspNetCore.Routing.MatcherPolicy, Microsoft.AspNetCore.Routing.Matching.IEndpointComparerPolicy, Microsoft.AspNetCore.Routing.Matching.IEndpointSelectorPolicy, Microsoft.AspNetCore.Routing.Matching.INodeBuilderPolicy { bool Microsoft.AspNetCore.Routing.Matching.IEndpointSelectorPolicy.AppliesToEndpoints(System.Collections.Generic.IReadOnlyList endpoints) => throw null; @@ -818,20 +872,20 @@ namespace Microsoft public override int Order { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Matching.IEndpointComparerPolicy` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.IEndpointComparerPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointComparerPolicy { System.Collections.Generic.IComparer Comparer { get; } } - // Generated from `Microsoft.AspNetCore.Routing.Matching.IEndpointSelectorPolicy` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.IEndpointSelectorPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointSelectorPolicy { bool AppliesToEndpoints(System.Collections.Generic.IReadOnlyList endpoints); System.Threading.Tasks.Task ApplyAsync(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.Matching.CandidateSet candidates); } - // Generated from `Microsoft.AspNetCore.Routing.Matching.INodeBuilderPolicy` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.INodeBuilderPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface INodeBuilderPolicy { bool AppliesToEndpoints(System.Collections.Generic.IReadOnlyList endpoints); @@ -839,20 +893,20 @@ namespace Microsoft System.Collections.Generic.IReadOnlyList GetEdges(System.Collections.Generic.IReadOnlyList endpoints); } - // Generated from `Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IParameterLiteralNodeMatchingPolicy : Microsoft.AspNetCore.Routing.IParameterPolicy { bool MatchesLiteral(string parameterName, string literal); } - // Generated from `Microsoft.AspNetCore.Routing.Matching.PolicyJumpTable` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.PolicyJumpTable` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PolicyJumpTable { public abstract int GetDestination(Microsoft.AspNetCore.Http.HttpContext httpContext); protected PolicyJumpTable() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Matching.PolicyJumpTableEdge` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.PolicyJumpTableEdge` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PolicyJumpTableEdge { public int Destination { get => throw null; } @@ -861,7 +915,7 @@ namespace Microsoft public object State { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Matching.PolicyNodeEdge` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Matching.PolicyNodeEdge` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PolicyNodeEdge { public System.Collections.Generic.IReadOnlyList Endpoints { get => throw null; } @@ -873,7 +927,7 @@ namespace Microsoft } namespace Patterns { - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePattern` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePattern` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePattern { public System.Collections.Generic.IReadOnlyDictionary Defaults { get => throw null; } @@ -888,7 +942,7 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyDictionary RequiredValues { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternException` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternException` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePatternException : System.Exception { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -896,9 +950,10 @@ namespace Microsoft public RoutePatternException(string pattern, string message) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternFactory` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternFactory` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RoutePatternFactory { + public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Combine(Microsoft.AspNetCore.Routing.Patterns.RoutePattern left, Microsoft.AspNetCore.Routing.Patterns.RoutePattern right) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference Constraint(Microsoft.AspNetCore.Routing.IRouteConstraint constraint) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference Constraint(object constraint) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference Constraint(string constraint) => throw null; @@ -911,13 +966,19 @@ namespace Microsoft public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference ParameterPolicy(Microsoft.AspNetCore.Routing.IParameterPolicy parameterPolicy) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference ParameterPolicy(string parameterPolicy) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Parse(string pattern) => throw null; + public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Parse(string pattern, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, Microsoft.AspNetCore.Routing.RouteValueDictionary parameterPolicies) => throw null; + public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Parse(string pattern, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, Microsoft.AspNetCore.Routing.RouteValueDictionary parameterPolicies, Microsoft.AspNetCore.Routing.RouteValueDictionary requiredValues) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Parse(string pattern, object defaults, object parameterPolicies) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Parse(string pattern, object defaults, object parameterPolicies, object requiredValues) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern(System.Collections.Generic.IEnumerable segments) => throw null; + public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern(Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, Microsoft.AspNetCore.Routing.RouteValueDictionary parameterPolicies, System.Collections.Generic.IEnumerable segments) => throw null; + public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern(Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, Microsoft.AspNetCore.Routing.RouteValueDictionary parameterPolicies, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] segments) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern(object defaults, object parameterPolicies, System.Collections.Generic.IEnumerable segments) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern(object defaults, object parameterPolicies, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] segments) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern(params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] segments) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern(string rawText, System.Collections.Generic.IEnumerable segments) => throw null; + public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern(string rawText, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, Microsoft.AspNetCore.Routing.RouteValueDictionary parameterPolicies, System.Collections.Generic.IEnumerable segments) => throw null; + public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern(string rawText, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, Microsoft.AspNetCore.Routing.RouteValueDictionary parameterPolicies, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] segments) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern(string rawText, object defaults, object parameterPolicies, System.Collections.Generic.IEnumerable segments) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern(string rawText, object defaults, object parameterPolicies, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] segments) => throw null; public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern(string rawText, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] segments) => throw null; @@ -926,14 +987,14 @@ namespace Microsoft public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternSeparatorPart SeparatorPart(string content) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternLiteralPart` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternLiteralPart` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePatternLiteralPart : Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart { public string Content { get => throw null; } internal RoutePatternLiteralPart(string content) : base(default(Microsoft.AspNetCore.Routing.Patterns.RoutePatternPartKind)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RoutePatternParameterKind : int { CatchAll = 2, @@ -941,7 +1002,7 @@ namespace Microsoft Standard = 0, } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePatternParameterPart : Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart { public object Default { get => throw null; } @@ -955,14 +1016,14 @@ namespace Microsoft internal RoutePatternParameterPart(string parameterName, object @default, Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind parameterKind, Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference[] parameterPolicies, bool encodeSlashes) : base(default(Microsoft.AspNetCore.Routing.Patterns.RoutePatternPartKind)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePatternParameterPolicyReference { public string Content { get => throw null; } public Microsoft.AspNetCore.Routing.IParameterPolicy ParameterPolicy { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RoutePatternPart { public bool IsLiteral { get => throw null; } @@ -972,7 +1033,7 @@ namespace Microsoft protected private RoutePatternPart(Microsoft.AspNetCore.Routing.Patterns.RoutePatternPartKind partKind) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternPartKind` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternPartKind` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RoutePatternPartKind : int { Literal = 0, @@ -980,31 +1041,32 @@ namespace Microsoft Separator = 2, } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePatternPathSegment { public bool IsSimple { get => throw null; } public System.Collections.Generic.IReadOnlyList Parts { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternSeparatorPart` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternSeparatorPart` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePatternSeparatorPart : Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart { public string Content { get => throw null; } internal RoutePatternSeparatorPart(string content) : base(default(Microsoft.AspNetCore.Routing.Patterns.RoutePatternPartKind)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternTransformer` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternTransformer` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RoutePatternTransformer { protected RoutePatternTransformer() => throw null; + public virtual Microsoft.AspNetCore.Routing.Patterns.RoutePattern SubstituteRequiredValues(Microsoft.AspNetCore.Routing.Patterns.RoutePattern original, Microsoft.AspNetCore.Routing.RouteValueDictionary requiredValues) => throw null; public abstract Microsoft.AspNetCore.Routing.Patterns.RoutePattern SubstituteRequiredValues(Microsoft.AspNetCore.Routing.Patterns.RoutePattern original, object requiredValues); } } namespace Template { - // Generated from `Microsoft.AspNetCore.Routing.Template.InlineConstraint` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Template.InlineConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InlineConstraint { public string Constraint { get => throw null; } @@ -1012,14 +1074,14 @@ namespace Microsoft public InlineConstraint(string constraint) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.RoutePrecedence` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Template.RoutePrecedence` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RoutePrecedence { public static System.Decimal ComputeInbound(Microsoft.AspNetCore.Routing.Template.RouteTemplate template) => throw null; public static System.Decimal ComputeOutbound(Microsoft.AspNetCore.Routing.Template.RouteTemplate template) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.RouteTemplate` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Template.RouteTemplate` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteTemplate { public Microsoft.AspNetCore.Routing.Template.TemplatePart GetParameter(string name) => throw null; @@ -1032,7 +1094,7 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Patterns.RoutePattern ToRoutePattern() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateBinder` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateBinder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TemplateBinder { public string BindValues(Microsoft.AspNetCore.Routing.RouteValueDictionary acceptedValues) => throw null; @@ -1041,7 +1103,7 @@ namespace Microsoft public bool TryProcessConstraints(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary combinedValues, out string parameterName, out Microsoft.AspNetCore.Routing.IRouteConstraint constraint) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateBinderFactory` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateBinderFactory` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TemplateBinderFactory { public abstract Microsoft.AspNetCore.Routing.Template.TemplateBinder Create(Microsoft.AspNetCore.Routing.Patterns.RoutePattern pattern); @@ -1049,7 +1111,7 @@ namespace Microsoft protected TemplateBinderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateMatcher` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateMatcher` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TemplateMatcher { public Microsoft.AspNetCore.Routing.RouteValueDictionary Defaults { get => throw null; } @@ -1058,13 +1120,13 @@ namespace Microsoft public bool TryMatch(Microsoft.AspNetCore.Http.PathString path, Microsoft.AspNetCore.Routing.RouteValueDictionary values) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateParser` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateParser` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class TemplateParser { public static Microsoft.AspNetCore.Routing.Template.RouteTemplate Parse(string routeTemplate) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplatePart` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Template.TemplatePart` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TemplatePart { public static Microsoft.AspNetCore.Routing.Template.TemplatePart CreateLiteral(string text) => throw null; @@ -1083,7 +1145,7 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart ToRoutePatternPart() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateSegment` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateSegment` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TemplateSegment { public bool IsSimple { get => throw null; } @@ -1093,7 +1155,7 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment ToRoutePatternPathSegment() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateValuesResult` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateValuesResult` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TemplateValuesResult { public Microsoft.AspNetCore.Routing.RouteValueDictionary AcceptedValues { get => throw null; set => throw null; } @@ -1104,7 +1166,7 @@ namespace Microsoft } namespace Tree { - // Generated from `Microsoft.AspNetCore.Routing.Tree.InboundMatch` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Tree.InboundMatch` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InboundMatch { public Microsoft.AspNetCore.Routing.Tree.InboundRouteEntry Entry { get => throw null; set => throw null; } @@ -1112,7 +1174,7 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Template.TemplateMatcher TemplateMatcher { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Tree.InboundRouteEntry` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Tree.InboundRouteEntry` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InboundRouteEntry { public System.Collections.Generic.IDictionary Constraints { get => throw null; set => throw null; } @@ -1125,7 +1187,7 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Template.RouteTemplate RouteTemplate { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Tree.OutboundMatch` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Tree.OutboundMatch` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OutboundMatch { public Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry Entry { get => throw null; set => throw null; } @@ -1133,7 +1195,7 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Template.TemplateBinder TemplateBinder { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OutboundRouteEntry { public System.Collections.Generic.IDictionary Constraints { get => throw null; set => throw null; } @@ -1148,7 +1210,7 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Template.RouteTemplate RouteTemplate { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Tree.TreeRouteBuilder` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Tree.TreeRouteBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TreeRouteBuilder { public Microsoft.AspNetCore.Routing.Tree.TreeRouter Build() => throw null; @@ -1160,7 +1222,7 @@ namespace Microsoft public System.Collections.Generic.IList OutboundEntries { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Tree.TreeRouter` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Tree.TreeRouter` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TreeRouter : Microsoft.AspNetCore.Routing.IRouter { public Microsoft.AspNetCore.Routing.VirtualPathData GetVirtualPath(Microsoft.AspNetCore.Routing.VirtualPathContext context) => throw null; @@ -1169,7 +1231,7 @@ namespace Microsoft public int Version { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlMatchingNode { public Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode CatchAlls { get => throw null; set => throw null; } @@ -1183,7 +1245,7 @@ namespace Microsoft public UrlMatchingNode(int length) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Tree.UrlMatchingTree` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Routing.Tree.UrlMatchingTree` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlMatchingTree { public int Order { get => throw null; } @@ -1198,7 +1260,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.RoutingServiceCollectionExtensions` in `Microsoft.AspNetCore.Routing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.RoutingServiceCollectionExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RoutingServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRouting(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.HttpSys.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.HttpSys.cs index 027651684ad..d2c625642b4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.HttpSys.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.HttpSys.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderHttpSysExtensions` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderHttpSysExtensions` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostBuilderHttpSysExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseHttpSys(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder) => throw null; @@ -18,7 +18,7 @@ namespace Microsoft { namespace HttpSys { - // Generated from `Microsoft.AspNetCore.Server.HttpSys.AuthenticationManager` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.AuthenticationManager` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationManager { public bool AllowAnonymous { get => throw null; set => throw null; } @@ -27,7 +27,7 @@ namespace Microsoft public Microsoft.AspNetCore.Server.HttpSys.AuthenticationSchemes Schemes { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.AuthenticationSchemes` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.AuthenticationSchemes` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum AuthenticationSchemes : int { @@ -38,7 +38,7 @@ namespace Microsoft None = 0, } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.ClientCertificateMethod` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.ClientCertificateMethod` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ClientCertificateMethod : int { AllowCertificate = 1, @@ -46,7 +46,7 @@ namespace Microsoft NoCertificate = 0, } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.DelegationRule` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.DelegationRule` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DelegationRule : System.IDisposable { public void Dispose() => throw null; @@ -54,7 +54,7 @@ namespace Microsoft public string UrlPrefix { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.Http503VerbosityLevel` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.Http503VerbosityLevel` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum Http503VerbosityLevel : long { Basic = 0, @@ -62,19 +62,19 @@ namespace Microsoft Limited = 1, } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.HttpSysDefaults` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.HttpSysDefaults` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpSysDefaults { public const string AuthenticationScheme = default; } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.HttpSysException` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.HttpSysException` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpSysException : System.ComponentModel.Win32Exception { public override int ErrorCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpSysOptions { public bool AllowSynchronousIO { get => throw null; set => throw null; } @@ -96,26 +96,26 @@ namespace Microsoft public bool UseLatin1RequestHeaders { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.IHttpSysRequestDelegationFeature` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.IHttpSysRequestDelegationFeature` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpSysRequestDelegationFeature { bool CanDelegate { get; } void DelegateRequest(Microsoft.AspNetCore.Server.HttpSys.DelegationRule destination); } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.IHttpSysRequestInfoFeature` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.IHttpSysRequestInfoFeature` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpSysRequestInfoFeature { System.Collections.Generic.IReadOnlyDictionary> RequestInfo { get; } } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.IServerDelegationFeature` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.IServerDelegationFeature` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServerDelegationFeature { Microsoft.AspNetCore.Server.HttpSys.DelegationRule CreateDelegationRule(string queueName, string urlPrefix); } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.RequestQueueMode` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.RequestQueueMode` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RequestQueueMode : int { Attach = 1, @@ -123,7 +123,7 @@ namespace Microsoft CreateOrAttach = 2, } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.TimeoutManager` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.TimeoutManager` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TimeoutManager { public System.TimeSpan DrainEntityBody { get => throw null; set => throw null; } @@ -134,7 +134,7 @@ namespace Microsoft public System.TimeSpan RequestQueue { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.UrlPrefix` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.UrlPrefix` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlPrefix { public static Microsoft.AspNetCore.Server.HttpSys.UrlPrefix Create(string prefix) => throw null; @@ -152,7 +152,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.UrlPrefixCollection` in `Microsoft.AspNetCore.Server.HttpSys, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.HttpSys.UrlPrefixCollection` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlPrefixCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public void Add(Microsoft.AspNetCore.Server.HttpSys.UrlPrefix item) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IIS.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IIS.cs index 111a52e61bb..9e08e31dde3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IIS.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IIS.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.IISServerOptions` in `Microsoft.AspNetCore.Server.IIS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.IISServerOptions` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISServerOptions { public bool AllowSynchronousIO { get => throw null; set => throw null; } @@ -20,7 +20,7 @@ namespace Microsoft } namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderIISExtensions` in `Microsoft.AspNetCore.Server.IIS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.Server.IISIntegration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderIISExtensions` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.Server.IISIntegration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class WebHostBuilderIISExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseIIS(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder) => throw null; @@ -31,34 +31,34 @@ namespace Microsoft { namespace IIS { - // Generated from `Microsoft.AspNetCore.Server.IIS.BadHttpRequestException` in `Microsoft.AspNetCore.Server.IIS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.IIS.BadHttpRequestException` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BadHttpRequestException : Microsoft.AspNetCore.Http.BadHttpRequestException { internal BadHttpRequestException(string message, int statusCode, Microsoft.AspNetCore.Server.IIS.RequestRejectionReason reason) : base(default(string)) => throw null; public int StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.IIS.HttpContextExtensions` in `Microsoft.AspNetCore.Server.IIS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.IIS.HttpContextExtensions` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpContextExtensions { public static string GetIISServerVariable(this Microsoft.AspNetCore.Http.HttpContext context, string variableName) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.IIS.IISServerDefaults` in `Microsoft.AspNetCore.Server.IIS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.IIS.IISServerDefaults` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISServerDefaults { public const string AuthenticationScheme = default; public IISServerDefaults() => throw null; } - // Generated from `Microsoft.AspNetCore.Server.IIS.RequestRejectionReason` in `Microsoft.AspNetCore.Server.IIS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.IIS.RequestRejectionReason` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal enum RequestRejectionReason : int { } namespace Core { - // Generated from `Microsoft.AspNetCore.Server.IIS.Core.IISServerAuthenticationHandler` in `Microsoft.AspNetCore.Server.IIS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.IIS.Core.IISServerAuthenticationHandler` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISServerAuthenticationHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler { public System.Threading.Tasks.Task AuthenticateAsync() => throw null; @@ -68,7 +68,7 @@ namespace Microsoft public System.Threading.Tasks.Task InitializeAsync(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.IIS.Core.ThrowingWasUpgradedWriteOnlyStream` in `Microsoft.AspNetCore.Server.IIS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.IIS.Core.ThrowingWasUpgradedWriteOnlyStream` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ThrowingWasUpgradedWriteOnlyStream : Microsoft.AspNetCore.Server.IIS.Core.WriteOnlyStream { public override void Flush() => throw null; @@ -79,7 +79,7 @@ namespace Microsoft public override System.Threading.Tasks.Task WriteAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.IIS.Core.WriteOnlyStream` in `Microsoft.AspNetCore.Server.IIS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.IIS.Core.WriteOnlyStream` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class WriteOnlyStream : System.IO.Stream { public override bool CanRead { get => throw null; } @@ -89,6 +89,7 @@ namespace Microsoft public override System.Int64 Position { get => throw null; set => throw null; } public override int Read(System.Byte[] buffer, int offset, int count) => throw null; public override System.Threading.Tasks.Task ReadAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.Threading.Tasks.ValueTask ReadAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken) => throw null; public override int ReadTimeout { get => throw null; set => throw null; } public override System.Int64 Seek(System.Int64 offset, System.IO.SeekOrigin origin) => throw null; public override void SetLength(System.Int64 value) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IISIntegration.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IISIntegration.cs index 9ae689326b1..8dc081ff408 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IISIntegration.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IISIntegration.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.IISOptions` in `Microsoft.AspNetCore.Server.IISIntegration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.IISOptions` in `Microsoft.AspNetCore.Server.IISIntegration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISOptions { public string AuthenticationDisplayName { get => throw null; set => throw null; } @@ -18,7 +18,7 @@ namespace Microsoft } namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderIISExtensions` in `Microsoft.AspNetCore.Server.IIS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.Server.IISIntegration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderIISExtensions` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.Server.IISIntegration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class WebHostBuilderIISExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseIISIntegration(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder) => throw null; @@ -29,7 +29,7 @@ namespace Microsoft { namespace IISIntegration { - // Generated from `Microsoft.AspNetCore.Server.IISIntegration.IISDefaults` in `Microsoft.AspNetCore.Server.IISIntegration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.IISIntegration.IISDefaults` in `Microsoft.AspNetCore.Server.IISIntegration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISDefaults { public const string AuthenticationScheme = default; @@ -38,14 +38,14 @@ namespace Microsoft public const string Ntlm = default; } - // Generated from `Microsoft.AspNetCore.Server.IISIntegration.IISHostingStartup` in `Microsoft.AspNetCore.Server.IISIntegration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.IISIntegration.IISHostingStartup` in `Microsoft.AspNetCore.Server.IISIntegration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISHostingStartup : Microsoft.AspNetCore.Hosting.IHostingStartup { public void Configure(Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) => throw null; public IISHostingStartup() => throw null; } - // Generated from `Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware` in `Microsoft.AspNetCore.Server.IISIntegration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware` in `Microsoft.AspNetCore.Server.IISIntegration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISMiddleware { public IISMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions options, string pairingToken, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider authentication, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Core.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Core.cs index e006bf8cff6..215a751d81e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Core.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Core.cs @@ -6,21 +6,21 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.KestrelServerOptionsSystemdExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.KestrelServerOptionsSystemdExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class KestrelServerOptionsSystemdExtensions { public static Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions UseSystemd(this Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions options) => throw null; public static Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions UseSystemd(this Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions options, System.Action configure) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.ListenOptionsConnectionLoggingExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.ListenOptionsConnectionLoggingExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ListenOptionsConnectionLoggingExtensions { public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionLogging(this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions) => throw null; public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionLogging(this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, string loggerName) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ListenOptionsHttpsExtensions { public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps(this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions) => throw null; @@ -45,7 +45,7 @@ namespace Microsoft { namespace Kestrel { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.EndpointConfiguration` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.EndpointConfiguration` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointConfiguration { public Microsoft.Extensions.Configuration.IConfigurationSection ConfigSection { get => throw null; } @@ -54,7 +54,7 @@ namespace Microsoft public Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions ListenOptions { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KestrelConfigurationLoader { public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader AnyIPEndpoint(int port) => throw null; @@ -77,7 +77,7 @@ namespace Microsoft namespace Core { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BadHttpRequestException : Microsoft.AspNetCore.Http.BadHttpRequestException { internal BadHttpRequestException(string message, int statusCode, Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.RequestRejectionReason reason) : base(default(string)) => throw null; @@ -85,7 +85,7 @@ namespace Microsoft public int StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Http2Limits` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Http2Limits` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Http2Limits { public int HeaderTableSize { get => throw null; set => throw null; } @@ -99,14 +99,14 @@ namespace Microsoft public int MaxStreamsPerConnection { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Http3Limits` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Http3Limits` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Http3Limits { public Http3Limits() => throw null; public int MaxRequestHeaderFieldSize { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum HttpProtocols : int { @@ -118,7 +118,7 @@ namespace Microsoft None = 0, } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KestrelServer : Microsoft.AspNetCore.Hosting.Server.IServer, System.IDisposable { public void Dispose() => throw null; @@ -129,7 +129,7 @@ namespace Microsoft public System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerLimits` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerLimits` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KestrelServerLimits { public Microsoft.AspNetCore.Server.Kestrel.Core.Http2Limits Http2 { get => throw null; } @@ -149,7 +149,7 @@ namespace Microsoft public System.TimeSpan RequestHeadersTimeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KestrelServerOptions { public bool AddServerHeader { get => throw null; set => throw null; } @@ -185,7 +185,7 @@ namespace Microsoft public System.Func ResponseHeaderEncodingSelector { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ListenOptions : Microsoft.AspNetCore.Connections.IConnectionBuilder, Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder { public System.IServiceProvider ApplicationServices { get => throw null; } @@ -204,7 +204,7 @@ namespace Microsoft Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder.Use(System.Func middleware) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MinDataRate { public double BytesPerSecond { get => throw null; } @@ -215,7 +215,7 @@ namespace Microsoft namespace Features { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IConnectionTimeoutFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IConnectionTimeoutFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionTimeoutFeature { void CancelTimeout(); @@ -223,31 +223,31 @@ namespace Microsoft void SetTimeout(System.TimeSpan timeSpan); } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IDecrementConcurrentConnectionCountFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IDecrementConcurrentConnectionCountFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDecrementConcurrentConnectionCountFeature { void ReleaseConnection(); } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttp2StreamIdFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttp2StreamIdFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttp2StreamIdFeature { int StreamId { get; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttpMinRequestBodyDataRateFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttpMinRequestBodyDataRateFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpMinRequestBodyDataRateFeature { Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate MinDataRate { get; set; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttpMinResponseDataRateFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttpMinResponseDataRateFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpMinResponseDataRateFeature { Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate MinDataRate { get; set; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.ITlsApplicationProtocolFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.ITlsApplicationProtocolFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITlsApplicationProtocolFeature { System.ReadOnlyMemory ApplicationProtocol { get; } @@ -258,7 +258,7 @@ namespace Microsoft { namespace Http { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpMethod` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpMethod` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HttpMethod : byte { Connect = 7, @@ -274,7 +274,7 @@ namespace Microsoft Trace = 5, } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpParser<>` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpParser<>` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpParser where TRequestHandler : Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpHeadersHandler, Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpRequestLineHandler { public HttpParser() => throw null; @@ -283,7 +283,7 @@ namespace Microsoft public bool ParseRequestLine(TRequestHandler handler, ref System.Buffers.SequenceReader reader) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpScheme` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpScheme` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HttpScheme : int { Http = 0, @@ -291,7 +291,7 @@ namespace Microsoft Unknown = -1, } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpVersion` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpVersion` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HttpVersion : sbyte { Http10 = 0, @@ -301,7 +301,7 @@ namespace Microsoft Unknown = -1, } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpVersionAndMethod` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpVersionAndMethod` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct HttpVersionAndMethod { // Stub generator skipped constructor @@ -311,7 +311,7 @@ namespace Microsoft public Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpVersion Version { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpHeadersHandler` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpHeadersHandler` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpHeadersHandler { void OnHeader(System.ReadOnlySpan name, System.ReadOnlySpan value); @@ -320,23 +320,23 @@ namespace Microsoft void OnStaticIndexedHeader(int index, System.ReadOnlySpan value); } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpParser<>` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpParser<>` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IHttpParser where TRequestHandler : Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpHeadersHandler, Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpRequestLineHandler { } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpRequestLineHandler` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpRequestLineHandler` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestLineHandler { void OnStartLine(Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpVersionAndMethod versionAndMethod, Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.TargetOffsetPathLength targetPath, System.Span startLine); } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.RequestRejectionReason` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.RequestRejectionReason` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal enum RequestRejectionReason : int { } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.TargetOffsetPathLength` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.TargetOffsetPathLength` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct TargetOffsetPathLength { public bool IsEncoded { get => throw null; } @@ -351,13 +351,13 @@ namespace Microsoft } namespace Https { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.CertificateLoader` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.CertificateLoader` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CertificateLoader { public static System.Security.Cryptography.X509Certificates.X509Certificate2 LoadFromStoreCert(string subject, string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, bool allowInvalid) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.ClientCertificateMode` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.ClientCertificateMode` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ClientCertificateMode : int { AllowCertificate = 1, @@ -366,7 +366,7 @@ namespace Microsoft RequireCertificate = 2, } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpsConnectionAdapterOptions { public void AllowAnyClientCertificate() => throw null; @@ -377,11 +377,12 @@ namespace Microsoft public HttpsConnectionAdapterOptions() => throw null; public System.Action OnAuthenticate { get => throw null; set => throw null; } public System.Security.Cryptography.X509Certificates.X509Certificate2 ServerCertificate { get => throw null; set => throw null; } + public System.Security.Cryptography.X509Certificates.X509Certificate2Collection ServerCertificateChain { get => throw null; set => throw null; } public System.Func ServerCertificateSelector { get => throw null; set => throw null; } public System.Security.Authentication.SslProtocols SslProtocols { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.TlsHandshakeCallbackContext` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.TlsHandshakeCallbackContext` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TlsHandshakeCallbackContext { public bool AllowDelayedClientCertificateNegotation { get => throw null; set => throw null; } @@ -393,7 +394,7 @@ namespace Microsoft public TlsHandshakeCallbackContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.TlsHandshakeCallbackOptions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.TlsHandshakeCallbackOptions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TlsHandshakeCallbackOptions { public System.TimeSpan HandshakeTimeout { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.cs index 979ffc7221f..cc577409651 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderQuicExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Quic, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderQuicExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostBuilderQuicExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseQuic(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder) => throw null; @@ -22,14 +22,15 @@ namespace Microsoft { namespace Quic { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.QuicTransportOptions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Quic, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.QuicTransportOptions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QuicTransportOptions { public int Backlog { get => throw null; set => throw null; } - public System.TimeSpan IdleTimeout { get => throw null; set => throw null; } - public System.UInt16 MaxBidirectionalStreamCount { get => throw null; set => throw null; } + public System.Int64 DefaultCloseErrorCode { get => throw null; set => throw null; } + public System.Int64 DefaultStreamErrorCode { get => throw null; set => throw null; } + public int MaxBidirectionalStreamCount { get => throw null; set => throw null; } public System.Int64? MaxReadBufferSize { get => throw null; set => throw null; } - public System.UInt16 MaxUnidirectionalStreamCount { get => throw null; set => throw null; } + public int MaxUnidirectionalStreamCount { get => throw null; set => throw null; } public System.Int64? MaxWriteBufferSize { get => throw null; set => throw null; } public QuicTransportOptions() => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.cs index 5c3c77a5b97..1ed269647d3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderSocketExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderSocketExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostBuilderSocketExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSockets(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder) => throw null; @@ -22,7 +22,7 @@ namespace Microsoft { namespace Sockets { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionContextFactory` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionContextFactory` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SocketConnectionContextFactory : System.IDisposable { public Microsoft.AspNetCore.Connections.ConnectionContext Create(System.Net.Sockets.Socket socket) => throw null; @@ -30,7 +30,7 @@ namespace Microsoft public SocketConnectionContextFactory(Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionFactoryOptions options, Microsoft.Extensions.Logging.ILogger logger) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionFactoryOptions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionFactoryOptions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SocketConnectionFactoryOptions { public int IOQueueCount { get => throw null; set => throw null; } @@ -41,14 +41,14 @@ namespace Microsoft public bool WaitForDataBeforeAllocatingBuffer { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SocketTransportFactory : Microsoft.AspNetCore.Connections.IConnectionListenerFactory { public System.Threading.Tasks.ValueTask BindAsync(System.Net.EndPoint endpoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public SocketTransportFactory(Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SocketTransportOptions { public int Backlog { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.cs index 71b47d54f4b..795529a9f78 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderKestrelExtensions` in `Microsoft.AspNetCore.Server.Kestrel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderKestrelExtensions` in `Microsoft.AspNetCore.Server.Kestrel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostBuilderKestrelExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureKestrel(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, System.Action options) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Session.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Session.cs index 4daf5ac5360..e7b0f438346 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Session.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Session.cs @@ -6,14 +6,14 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.SessionMiddlewareExtensions` in `Microsoft.AspNetCore.Session, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.SessionMiddlewareExtensions` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SessionMiddlewareExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseSession(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseSession(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.SessionOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.SessionOptions` in `Microsoft.AspNetCore.Session, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.SessionOptions` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SessionOptions { public Microsoft.AspNetCore.Http.CookieBuilder Cookie { get => throw null; set => throw null; } @@ -25,7 +25,7 @@ namespace Microsoft } namespace Session { - // Generated from `Microsoft.AspNetCore.Session.DistributedSession` in `Microsoft.AspNetCore.Session, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Session.DistributedSession` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedSession : Microsoft.AspNetCore.Http.ISession { public void Clear() => throw null; @@ -40,34 +40,34 @@ namespace Microsoft public bool TryGetValue(string key, out System.Byte[] value) => throw null; } - // Generated from `Microsoft.AspNetCore.Session.DistributedSessionStore` in `Microsoft.AspNetCore.Session, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Session.DistributedSessionStore` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedSessionStore : Microsoft.AspNetCore.Session.ISessionStore { public Microsoft.AspNetCore.Http.ISession Create(string sessionKey, System.TimeSpan idleTimeout, System.TimeSpan ioTimeout, System.Func tryEstablishSession, bool isNewSessionKey) => throw null; public DistributedSessionStore(Microsoft.Extensions.Caching.Distributed.IDistributedCache cache, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Session.ISessionStore` in `Microsoft.AspNetCore.Session, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Session.ISessionStore` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISessionStore { Microsoft.AspNetCore.Http.ISession Create(string sessionKey, System.TimeSpan idleTimeout, System.TimeSpan ioTimeout, System.Func tryEstablishSession, bool isNewSessionKey); } - // Generated from `Microsoft.AspNetCore.Session.SessionDefaults` in `Microsoft.AspNetCore.Session, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Session.SessionDefaults` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SessionDefaults { public static string CookieName; public static string CookiePath; } - // Generated from `Microsoft.AspNetCore.Session.SessionFeature` in `Microsoft.AspNetCore.Session, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Session.SessionFeature` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SessionFeature : Microsoft.AspNetCore.Http.Features.ISessionFeature { public Microsoft.AspNetCore.Http.ISession Session { get => throw null; set => throw null; } public SessionFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Session.SessionMiddleware` in `Microsoft.AspNetCore.Session, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Session.SessionMiddleware` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SessionMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -80,7 +80,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.SessionServiceCollectionExtensions` in `Microsoft.AspNetCore.Session, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.SessionServiceCollectionExtensions` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SessionServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddSession(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Common.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Common.cs index 65af8652b83..50a8bbaccc1 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Common.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Common.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace SignalR { - // Generated from `Microsoft.AspNetCore.SignalR.HubException` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubException` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubException : System.Exception { public HubException() => throw null; @@ -15,15 +15,16 @@ namespace Microsoft public HubException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.IInvocationBinder` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.IInvocationBinder` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IInvocationBinder { System.Collections.Generic.IReadOnlyList GetParameterTypes(string methodName); System.Type GetReturnType(string invocationId); System.Type GetStreamItemType(string streamId); + string GetTarget(System.ReadOnlySpan utf8Bytes) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.ISignalRBuilder` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.ISignalRBuilder` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISignalRBuilder { Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } @@ -31,13 +32,13 @@ namespace Microsoft namespace Protocol { - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.CancelInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.CancelInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CancelInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage { public CancelInvocationMessage(string invocationId) : base(default(string)) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.CloseMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.CloseMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CloseMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public bool AllowReconnect { get => throw null; } @@ -47,7 +48,7 @@ namespace Microsoft public string Error { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompletionMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage { public CompletionMessage(string invocationId, string error, object result, bool hasResult) : base(default(string)) => throw null; @@ -60,7 +61,7 @@ namespace Microsoft public static Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage WithResult(string invocationId, object payload) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HandshakeProtocol` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HandshakeProtocol` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HandshakeProtocol { public static System.ReadOnlySpan GetSuccessfulHandshake(Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol protocol) => throw null; @@ -70,7 +71,7 @@ namespace Microsoft public static void WriteResponseMessage(Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage responseMessage, System.Buffers.IBufferWriter output) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HandshakeRequestMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HandshakeRequestMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HandshakeRequestMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public HandshakeRequestMessage(string protocol, int version) => throw null; @@ -78,7 +79,7 @@ namespace Microsoft public int Version { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HandshakeResponseMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public static Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage Empty; @@ -86,7 +87,7 @@ namespace Microsoft public HandshakeResponseMessage(string error) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HubInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public System.Collections.Generic.IDictionary Headers { get => throw null; set => throw null; } @@ -94,13 +95,13 @@ namespace Microsoft public string InvocationId { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HubMessage { protected HubMessage() => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HubMethodInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage { public object[] Arguments { get => throw null; } @@ -110,7 +111,7 @@ namespace Microsoft public string Target { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubProtocolConstants` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubProtocolConstants` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HubProtocolConstants { public const int CancelInvocationMessageType = default; @@ -122,13 +123,13 @@ namespace Microsoft public const int StreamItemMessageType = default; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubProtocolExtensions` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubProtocolExtensions` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HubProtocolExtensions { public static System.Byte[] GetMessageBytes(this Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol hubProtocol, Microsoft.AspNetCore.SignalR.Protocol.HubMessage message) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubProtocol { System.ReadOnlyMemory GetMessageBytes(Microsoft.AspNetCore.SignalR.Protocol.HubMessage message); @@ -140,7 +141,7 @@ namespace Microsoft void WriteMessage(Microsoft.AspNetCore.SignalR.Protocol.HubMessage message, System.Buffers.IBufferWriter output); } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.InvocationBindingFailureMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.InvocationBindingFailureMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InvocationBindingFailureMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage { public System.Runtime.ExceptionServices.ExceptionDispatchInfo BindingFailure { get => throw null; } @@ -148,7 +149,7 @@ namespace Microsoft public string Target { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage { public InvocationMessage(string target, object[] arguments) : base(default(string), default(string), default(object[])) => throw null; @@ -157,13 +158,20 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.PingMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.PingMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PingMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public static Microsoft.AspNetCore.SignalR.Protocol.PingMessage Instance; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.StreamBindingFailureMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.RawResult` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class RawResult + { + public RawResult(System.Buffers.ReadOnlySequence rawBytes) => throw null; + public System.Buffers.ReadOnlySequence RawSerializedData { get => throw null; } + } + + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.StreamBindingFailureMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StreamBindingFailureMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public System.Runtime.ExceptionServices.ExceptionDispatchInfo BindingFailure { get => throw null; } @@ -171,7 +179,7 @@ namespace Microsoft public StreamBindingFailureMessage(string id, System.Runtime.ExceptionServices.ExceptionDispatchInfo bindingFailure) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.StreamInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.StreamInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StreamInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage { public StreamInvocationMessage(string invocationId, string target, object[] arguments) : base(default(string), default(string), default(object[])) => throw null; @@ -179,7 +187,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.StreamItemMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.StreamItemMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StreamItemMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage { public object Item { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Core.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Core.cs index 44ffcf4361c..ce58ae1ef72 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Core.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Core.cs @@ -6,9 +6,20 @@ namespace Microsoft { namespace SignalR { - // Generated from `Microsoft.AspNetCore.SignalR.ClientProxyExtensions` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.ClientProxyExtensions` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ClientProxyExtensions { + public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, System.Threading.CancellationToken cancellationToken) => throw null; + public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object arg1, System.Threading.CancellationToken cancellationToken) => throw null; + public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object arg1, object arg2, System.Threading.CancellationToken cancellationToken) => throw null; + public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, System.Threading.CancellationToken cancellationToken) => throw null; + public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, System.Threading.CancellationToken cancellationToken) => throw null; + public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, System.Threading.CancellationToken cancellationToken) => throw null; + public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, System.Threading.CancellationToken cancellationToken) => throw null; + public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, System.Threading.CancellationToken cancellationToken) => throw null; + public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, System.Threading.CancellationToken cancellationToken) => throw null; + public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, System.Threading.CancellationToken cancellationToken) => throw null; + public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, System.Threading.CancellationToken cancellationToken) => throw null; public static System.Threading.Tasks.Task SendAsync(this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task SendAsync(this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task SendAsync(this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, object arg2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -22,11 +33,12 @@ namespace Microsoft public static System.Threading.Tasks.Task SendAsync(this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.DefaultHubLifetimeManager<>` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.DefaultHubLifetimeManager<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultHubLifetimeManager : Microsoft.AspNetCore.SignalR.HubLifetimeManager where THub : Microsoft.AspNetCore.SignalR.Hub { public override System.Threading.Tasks.Task AddToGroupAsync(string connectionId, string groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public DefaultHubLifetimeManager(Microsoft.Extensions.Logging.ILogger> logger) => throw null; + public override System.Threading.Tasks.Task InvokeConnectionAsync(string connectionId, string methodName, object[] args, System.Threading.CancellationToken cancellationToken) => throw null; public override System.Threading.Tasks.Task OnConnectedAsync(Microsoft.AspNetCore.SignalR.HubConnectionContext connection) => throw null; public override System.Threading.Tasks.Task OnDisconnectedAsync(Microsoft.AspNetCore.SignalR.HubConnectionContext connection) => throw null; public override System.Threading.Tasks.Task RemoveFromGroupAsync(string connectionId, string groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -39,23 +51,25 @@ namespace Microsoft public override System.Threading.Tasks.Task SendGroupsAsync(System.Collections.Generic.IReadOnlyList groupNames, string methodName, object[] args, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public override System.Threading.Tasks.Task SendUserAsync(string userId, string methodName, object[] args, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public override System.Threading.Tasks.Task SendUsersAsync(System.Collections.Generic.IReadOnlyList userIds, string methodName, object[] args, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task SetConnectionResultAsync(string connectionId, Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage result) => throw null; + public override bool TryGetReturnType(string invocationId, out System.Type type) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.DefaultUserIdProvider` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.DefaultUserIdProvider` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultUserIdProvider : Microsoft.AspNetCore.SignalR.IUserIdProvider { public DefaultUserIdProvider() => throw null; public virtual string GetUserId(Microsoft.AspNetCore.SignalR.HubConnectionContext connection) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.DynamicHub` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.DynamicHub` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class DynamicHub : Microsoft.AspNetCore.SignalR.Hub { public Microsoft.AspNetCore.SignalR.DynamicHubClients Clients { get => throw null; set => throw null; } protected DynamicHub() => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.DynamicHubClients` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.DynamicHubClients` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DynamicHubClients { public dynamic All { get => throw null; } @@ -73,7 +87,7 @@ namespace Microsoft public dynamic Users(System.Collections.Generic.IReadOnlyList userIds) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Hub` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Hub` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class Hub : System.IDisposable { public Microsoft.AspNetCore.SignalR.IHubCallerClients Clients { get => throw null; set => throw null; } @@ -86,14 +100,14 @@ namespace Microsoft public virtual System.Threading.Tasks.Task OnDisconnectedAsync(System.Exception exception) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Hub<>` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Hub<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class Hub : Microsoft.AspNetCore.SignalR.Hub where T : class { public Microsoft.AspNetCore.SignalR.IHubCallerClients Clients { get => throw null; set => throw null; } protected Hub() => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubCallerContext` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubCallerContext` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HubCallerContext { public abstract void Abort(); @@ -106,7 +120,7 @@ namespace Microsoft public abstract string UserIdentifier { get; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubClientsExtensions` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubClientsExtensions` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HubClientsExtensions { public static T AllExcept(this Microsoft.AspNetCore.SignalR.IHubClients hubClients, System.Collections.Generic.IEnumerable excludedConnectionIds) => throw null; @@ -156,7 +170,7 @@ namespace Microsoft public static T Users(this Microsoft.AspNetCore.SignalR.IHubClients hubClients, string user1, string user2, string user3, string user4, string user5, string user6, string user7, string user8) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionContext` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionContext` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubConnectionContext { public virtual void Abort() => throw null; @@ -172,7 +186,7 @@ namespace Microsoft public virtual System.Threading.Tasks.ValueTask WriteAsync(Microsoft.AspNetCore.SignalR.SerializedHubMessage message, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionContextOptions` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionContextOptions` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubConnectionContextOptions { public System.TimeSpan ClientTimeoutInterval { get => throw null; set => throw null; } @@ -183,17 +197,17 @@ namespace Microsoft public int StreamBufferCapacity { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionHandler<>` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionHandler<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubConnectionHandler : Microsoft.AspNetCore.Connections.ConnectionHandler where THub : Microsoft.AspNetCore.SignalR.Hub { public HubConnectionHandler(Microsoft.AspNetCore.SignalR.HubLifetimeManager lifetimeManager, Microsoft.AspNetCore.SignalR.IHubProtocolResolver protocolResolver, Microsoft.Extensions.Options.IOptions globalHubOptions, Microsoft.Extensions.Options.IOptions> hubOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.SignalR.IUserIdProvider userIdProvider, Microsoft.Extensions.DependencyInjection.IServiceScopeFactory serviceScopeFactory) => throw null; public override System.Threading.Tasks.Task OnConnectedAsync(Microsoft.AspNetCore.Connections.ConnectionContext connection) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionStore` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionStore` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubConnectionStore { - // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionStore+Enumerator` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionStore+Enumerator` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public Microsoft.AspNetCore.SignalR.HubConnectionContext Current { get => throw null; } @@ -214,7 +228,7 @@ namespace Microsoft public void Remove(Microsoft.AspNetCore.SignalR.HubConnectionContext connection) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubInvocationContext` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubInvocationContext` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubInvocationContext { public Microsoft.AspNetCore.SignalR.HubCallerContext Context { get => throw null; } @@ -226,7 +240,7 @@ namespace Microsoft public System.IServiceProvider ServiceProvider { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubLifetimeContext` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubLifetimeContext` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubLifetimeContext { public Microsoft.AspNetCore.SignalR.HubCallerContext Context { get => throw null; } @@ -235,11 +249,12 @@ namespace Microsoft public System.IServiceProvider ServiceProvider { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubLifetimeManager<>` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubLifetimeManager<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HubLifetimeManager where THub : Microsoft.AspNetCore.SignalR.Hub { public abstract System.Threading.Tasks.Task AddToGroupAsync(string connectionId, string groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); protected HubLifetimeManager() => throw null; + public virtual System.Threading.Tasks.Task InvokeConnectionAsync(string connectionId, string methodName, object[] args, System.Threading.CancellationToken cancellationToken) => throw null; public abstract System.Threading.Tasks.Task OnConnectedAsync(Microsoft.AspNetCore.SignalR.HubConnectionContext connection); public abstract System.Threading.Tasks.Task OnDisconnectedAsync(Microsoft.AspNetCore.SignalR.HubConnectionContext connection); public abstract System.Threading.Tasks.Task RemoveFromGroupAsync(string connectionId, string groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -252,26 +267,29 @@ namespace Microsoft public abstract System.Threading.Tasks.Task SendGroupsAsync(System.Collections.Generic.IReadOnlyList groupNames, string methodName, object[] args, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public abstract System.Threading.Tasks.Task SendUserAsync(string userId, string methodName, object[] args, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); public abstract System.Threading.Tasks.Task SendUsersAsync(System.Collections.Generic.IReadOnlyList userIds, string methodName, object[] args, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public virtual System.Threading.Tasks.Task SetConnectionResultAsync(string connectionId, Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage result) => throw null; + public virtual bool TryGetReturnType(string invocationId, out System.Type type) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubMetadata` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubMetadata` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubMetadata { public HubMetadata(System.Type hubType) => throw null; public System.Type HubType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubMethodNameAttribute` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubMethodNameAttribute` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubMethodNameAttribute : System.Attribute { public HubMethodNameAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubOptions` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubOptions` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubOptions { public System.TimeSpan? ClientTimeoutInterval { get => throw null; set => throw null; } + public bool DisableImplicitFromServicesParameters { get => throw null; set => throw null; } public bool? EnableDetailedErrors { get => throw null; set => throw null; } public System.TimeSpan? HandshakeTimeout { get => throw null; set => throw null; } public HubOptions() => throw null; @@ -282,13 +300,13 @@ namespace Microsoft public System.Collections.Generic.IList SupportedProtocols { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubOptions<>` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubOptions<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubOptions : Microsoft.AspNetCore.SignalR.HubOptions where THub : Microsoft.AspNetCore.SignalR.Hub { public HubOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubOptionsExtensions` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubOptionsExtensions` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HubOptionsExtensions { public static void AddFilter(this Microsoft.AspNetCore.SignalR.HubOptions options, Microsoft.AspNetCore.SignalR.IHubFilter hubFilter) => throw null; @@ -296,46 +314,48 @@ namespace Microsoft public static void AddFilter(this Microsoft.AspNetCore.SignalR.HubOptions options) where TFilter : Microsoft.AspNetCore.SignalR.IHubFilter => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubOptionsSetup` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubOptionsSetup` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions { public void Configure(Microsoft.AspNetCore.SignalR.HubOptions options) => throw null; public HubOptionsSetup(System.Collections.Generic.IEnumerable protocols) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubOptionsSetup<>` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.HubOptionsSetup<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions> where THub : Microsoft.AspNetCore.SignalR.Hub { public void Configure(Microsoft.AspNetCore.SignalR.HubOptions options) => throw null; public HubOptionsSetup(Microsoft.Extensions.Options.IOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.IClientProxy` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.IClientProxy` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IClientProxy { System.Threading.Tasks.Task SendCoreAsync(string method, object[] args, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.SignalR.IGroupManager` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.IGroupManager` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IGroupManager { System.Threading.Tasks.Task AddToGroupAsync(string connectionId, string groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task RemoveFromGroupAsync(string connectionId, string groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.SignalR.IHubActivator<>` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.IHubActivator<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubActivator where THub : Microsoft.AspNetCore.SignalR.Hub { THub Create(); void Release(THub hub); } - // Generated from `Microsoft.AspNetCore.SignalR.IHubCallerClients` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.IHubCallerClients` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubCallerClients : Microsoft.AspNetCore.SignalR.IHubCallerClients, Microsoft.AspNetCore.SignalR.IHubClients { + Microsoft.AspNetCore.SignalR.ISingleClientProxy Caller { get => throw null; } + Microsoft.AspNetCore.SignalR.ISingleClientProxy Client(string connectionId) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.IHubCallerClients<>` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.IHubCallerClients<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubCallerClients : Microsoft.AspNetCore.SignalR.IHubClients { T Caller { get; } @@ -343,12 +363,13 @@ namespace Microsoft T OthersInGroup(string groupName); } - // Generated from `Microsoft.AspNetCore.SignalR.IHubClients` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.IHubClients` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubClients : Microsoft.AspNetCore.SignalR.IHubClients { + Microsoft.AspNetCore.SignalR.ISingleClientProxy Client(string connectionId) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.IHubClients<>` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.IHubClients<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubClients { T All { get; } @@ -362,28 +383,28 @@ namespace Microsoft T Users(System.Collections.Generic.IReadOnlyList userIds); } - // Generated from `Microsoft.AspNetCore.SignalR.IHubContext` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.IHubContext` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubContext { Microsoft.AspNetCore.SignalR.IHubClients Clients { get; } Microsoft.AspNetCore.SignalR.IGroupManager Groups { get; } } - // Generated from `Microsoft.AspNetCore.SignalR.IHubContext<,>` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.IHubContext<,>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubContext where T : class where THub : Microsoft.AspNetCore.SignalR.Hub { Microsoft.AspNetCore.SignalR.IHubClients Clients { get; } Microsoft.AspNetCore.SignalR.IGroupManager Groups { get; } } - // Generated from `Microsoft.AspNetCore.SignalR.IHubContext<>` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.IHubContext<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubContext where THub : Microsoft.AspNetCore.SignalR.Hub { Microsoft.AspNetCore.SignalR.IHubClients Clients { get; } Microsoft.AspNetCore.SignalR.IGroupManager Groups { get; } } - // Generated from `Microsoft.AspNetCore.SignalR.IHubFilter` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.IHubFilter` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubFilter { System.Threading.Tasks.ValueTask InvokeMethodAsync(Microsoft.AspNetCore.SignalR.HubInvocationContext invocationContext, System.Func> next) => throw null; @@ -391,25 +412,31 @@ namespace Microsoft System.Threading.Tasks.Task OnDisconnectedAsync(Microsoft.AspNetCore.SignalR.HubLifetimeContext context, System.Exception exception, System.Func next) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.IHubProtocolResolver` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.IHubProtocolResolver` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubProtocolResolver { System.Collections.Generic.IReadOnlyList AllProtocols { get; } Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol GetProtocol(string protocolName, System.Collections.Generic.IReadOnlyList supportedProtocols); } - // Generated from `Microsoft.AspNetCore.SignalR.ISignalRServerBuilder` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.ISignalRServerBuilder` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISignalRServerBuilder : Microsoft.AspNetCore.SignalR.ISignalRBuilder { } - // Generated from `Microsoft.AspNetCore.SignalR.IUserIdProvider` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.ISingleClientProxy` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public interface ISingleClientProxy : Microsoft.AspNetCore.SignalR.IClientProxy + { + System.Threading.Tasks.Task InvokeCoreAsync(string method, object[] args, System.Threading.CancellationToken cancellationToken); + } + + // Generated from `Microsoft.AspNetCore.SignalR.IUserIdProvider` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserIdProvider { string GetUserId(Microsoft.AspNetCore.SignalR.HubConnectionContext connection); } - // Generated from `Microsoft.AspNetCore.SignalR.SerializedHubMessage` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.SerializedHubMessage` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SerializedHubMessage { public System.ReadOnlyMemory GetSerializedMessage(Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol protocol) => throw null; @@ -418,7 +445,7 @@ namespace Microsoft public SerializedHubMessage(System.Collections.Generic.IReadOnlyList messages) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.SerializedMessage` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.SerializedMessage` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct SerializedMessage { public string ProtocolName { get => throw null; } @@ -427,7 +454,7 @@ namespace Microsoft public SerializedMessage(string protocolName, System.ReadOnlyMemory serialized) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.SignalRConnectionBuilderExtensions` in `Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.SignalRConnectionBuilderExtensions` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SignalRConnectionBuilderExtensions { public static Microsoft.AspNetCore.Connections.IConnectionBuilder UseHub(this Microsoft.AspNetCore.Connections.IConnectionBuilder connectionBuilder) where THub : Microsoft.AspNetCore.SignalR.Hub => throw null; @@ -439,7 +466,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.SignalRDependencyInjectionExtensions` in `Microsoft.AspNetCore.SignalR, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.SignalRDependencyInjectionExtensions` in `Microsoft.AspNetCore.SignalR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class SignalRDependencyInjectionExtensions { public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddSignalRCore(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Protocols.Json.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Protocols.Json.cs index de932678c6a..de65141739b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Protocols.Json.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Protocols.Json.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace SignalR { - // Generated from `Microsoft.AspNetCore.SignalR.JsonHubProtocolOptions` in `Microsoft.AspNetCore.SignalR.Protocols.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.JsonHubProtocolOptions` in `Microsoft.AspNetCore.SignalR.Protocols.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonHubProtocolOptions { public JsonHubProtocolOptions() => throw null; @@ -15,7 +15,7 @@ namespace Microsoft namespace Protocol { - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol` in `Microsoft.AspNetCore.SignalR.Protocols.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol` in `Microsoft.AspNetCore.SignalR.Protocols.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonHubProtocol : Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol { public System.ReadOnlyMemory GetMessageBytes(Microsoft.AspNetCore.SignalR.Protocol.HubMessage message) => throw null; @@ -36,7 +36,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.JsonProtocolDependencyInjectionExtensions` in `Microsoft.AspNetCore.SignalR.Protocols.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.JsonProtocolDependencyInjectionExtensions` in `Microsoft.AspNetCore.SignalR.Protocols.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JsonProtocolDependencyInjectionExtensions { public static TBuilder AddJsonProtocol(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.SignalR.ISignalRBuilder => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.cs index aa92dae4ff4..c7ec4996b8d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.cs @@ -6,20 +6,21 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.HubEndpointConventionBuilder` in `Microsoft.AspNetCore.SignalR, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.HubEndpointConventionBuilder` in `Microsoft.AspNetCore.SignalR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder, Microsoft.AspNetCore.Builder.IHubEndpointConventionBuilder { public void Add(System.Action convention) => throw null; + public void Finally(System.Action finalConvention) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HubEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.SignalR, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.HubEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.SignalR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HubEndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.HubEndpointConventionBuilder MapHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern) where THub : Microsoft.AspNetCore.SignalR.Hub => throw null; public static Microsoft.AspNetCore.Builder.HubEndpointConventionBuilder MapHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, System.Action configureOptions) where THub : Microsoft.AspNetCore.SignalR.Hub => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.IHubEndpointConventionBuilder` in `Microsoft.AspNetCore.SignalR, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.IHubEndpointConventionBuilder` in `Microsoft.AspNetCore.SignalR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { } @@ -27,7 +28,7 @@ namespace Microsoft } namespace SignalR { - // Generated from `Microsoft.AspNetCore.SignalR.GetHttpContextExtensions` in `Microsoft.AspNetCore.SignalR, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.SignalR.GetHttpContextExtensions` in `Microsoft.AspNetCore.SignalR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class GetHttpContextExtensions { public static Microsoft.AspNetCore.Http.HttpContext GetHttpContext(this Microsoft.AspNetCore.SignalR.HubCallerContext connection) => throw null; @@ -40,7 +41,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.SignalRDependencyInjectionExtensions` in `Microsoft.AspNetCore.SignalR, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.SignalR.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.SignalRDependencyInjectionExtensions` in `Microsoft.AspNetCore.SignalR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class SignalRDependencyInjectionExtensions { public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddHubOptions(this Microsoft.AspNetCore.SignalR.ISignalRServerBuilder signalrBuilder, System.Action> configure) where THub : Microsoft.AspNetCore.SignalR.Hub => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.StaticFiles.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.StaticFiles.cs index 4b68bca97bf..7da150d7ebf 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.StaticFiles.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.StaticFiles.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.DefaultFilesExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.DefaultFilesExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DefaultFilesExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDefaultFiles(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -14,7 +14,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDefaultFiles(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string requestPath) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.DefaultFilesOptions` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.DefaultFilesOptions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultFilesOptions : Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase { public System.Collections.Generic.IList DefaultFileNames { get => throw null; set => throw null; } @@ -22,7 +22,7 @@ namespace Microsoft public DefaultFilesOptions(Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions sharedOptions) : base(default(Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.DirectoryBrowserExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.DirectoryBrowserExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DirectoryBrowserExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDirectoryBrowser(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -30,7 +30,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDirectoryBrowser(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string requestPath) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.DirectoryBrowserOptions` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.DirectoryBrowserOptions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DirectoryBrowserOptions : Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase { public DirectoryBrowserOptions() : base(default(Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions)) => throw null; @@ -38,7 +38,7 @@ namespace Microsoft public Microsoft.AspNetCore.StaticFiles.IDirectoryFormatter Formatter { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.FileServerExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.FileServerExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class FileServerExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseFileServer(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -47,7 +47,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseFileServer(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string requestPath) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.FileServerOptions` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.FileServerOptions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileServerOptions : Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase { public Microsoft.AspNetCore.Builder.DefaultFilesOptions DefaultFilesOptions { get => throw null; } @@ -58,7 +58,7 @@ namespace Microsoft public Microsoft.AspNetCore.Builder.StaticFileOptions StaticFileOptions { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.StaticFileExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.StaticFileExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StaticFileExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseStaticFiles(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -66,7 +66,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseStaticFiles(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string requestPath) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.StaticFileOptions` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.StaticFileOptions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StaticFileOptions : Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase { public Microsoft.AspNetCore.StaticFiles.IContentTypeProvider ContentTypeProvider { get => throw null; set => throw null; } @@ -78,7 +78,7 @@ namespace Microsoft public StaticFileOptions(Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions sharedOptions) : base(default(Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.StaticFilesEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.StaticFilesEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StaticFilesEndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToFile(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string filePath) => throw null; @@ -90,14 +90,14 @@ namespace Microsoft } namespace StaticFiles { - // Generated from `Microsoft.AspNetCore.StaticFiles.DefaultFilesMiddleware` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.StaticFiles.DefaultFilesMiddleware` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultFilesMiddleware { public DefaultFilesMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnv, Microsoft.Extensions.Options.IOptions options) => throw null; public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.StaticFiles.DirectoryBrowserMiddleware` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.StaticFiles.DirectoryBrowserMiddleware` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DirectoryBrowserMiddleware { public DirectoryBrowserMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnv, System.Text.Encodings.Web.HtmlEncoder encoder, Microsoft.Extensions.Options.IOptions options) => throw null; @@ -105,7 +105,7 @@ namespace Microsoft public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileExtensionContentTypeProvider : Microsoft.AspNetCore.StaticFiles.IContentTypeProvider { public FileExtensionContentTypeProvider() => throw null; @@ -114,33 +114,33 @@ namespace Microsoft public bool TryGetContentType(string subpath, out string contentType) => throw null; } - // Generated from `Microsoft.AspNetCore.StaticFiles.HtmlDirectoryFormatter` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.StaticFiles.HtmlDirectoryFormatter` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlDirectoryFormatter : Microsoft.AspNetCore.StaticFiles.IDirectoryFormatter { public virtual System.Threading.Tasks.Task GenerateContentAsync(Microsoft.AspNetCore.Http.HttpContext context, System.Collections.Generic.IEnumerable contents) => throw null; public HtmlDirectoryFormatter(System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.StaticFiles.IContentTypeProvider` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.StaticFiles.IContentTypeProvider` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IContentTypeProvider { bool TryGetContentType(string subpath, out string contentType); } - // Generated from `Microsoft.AspNetCore.StaticFiles.IDirectoryFormatter` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.StaticFiles.IDirectoryFormatter` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDirectoryFormatter { System.Threading.Tasks.Task GenerateContentAsync(Microsoft.AspNetCore.Http.HttpContext context, System.Collections.Generic.IEnumerable contents); } - // Generated from `Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StaticFileMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public StaticFileMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnv, Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.StaticFiles.StaticFileResponseContext` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.StaticFiles.StaticFileResponseContext` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StaticFileResponseContext { public Microsoft.AspNetCore.Http.HttpContext Context { get => throw null; } @@ -150,7 +150,7 @@ namespace Microsoft namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SharedOptions { public Microsoft.Extensions.FileProviders.IFileProvider FileProvider { get => throw null; set => throw null; } @@ -159,7 +159,7 @@ namespace Microsoft public SharedOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class SharedOptionsBase { public Microsoft.Extensions.FileProviders.IFileProvider FileProvider { get => throw null; set => throw null; } @@ -176,7 +176,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.DirectoryBrowserServiceExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.DirectoryBrowserServiceExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DirectoryBrowserServiceExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDirectoryBrowser(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebSockets.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebSockets.cs index abcc6d38188..9cded1a31b0 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebSockets.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebSockets.cs @@ -6,14 +6,14 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.WebSocketMiddlewareExtensions` in `Microsoft.AspNetCore.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.WebSocketMiddlewareExtensions` in `Microsoft.AspNetCore.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebSocketMiddlewareExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWebSockets(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWebSockets(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.WebSocketOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.WebSocketOptions` in `Microsoft.AspNetCore.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.WebSocketOptions` in `Microsoft.AspNetCore.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebSocketOptions { public System.Collections.Generic.IList AllowedOrigins { get => throw null; } @@ -25,7 +25,7 @@ namespace Microsoft } namespace WebSockets { - // Generated from `Microsoft.AspNetCore.WebSockets.ExtendedWebSocketAcceptContext` in `Microsoft.AspNetCore.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebSockets.ExtendedWebSocketAcceptContext` in `Microsoft.AspNetCore.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExtendedWebSocketAcceptContext : Microsoft.AspNetCore.Http.WebSocketAcceptContext { public ExtendedWebSocketAcceptContext() => throw null; @@ -34,14 +34,14 @@ namespace Microsoft public override string SubProtocol { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.WebSockets.WebSocketMiddleware` in `Microsoft.AspNetCore.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebSockets.WebSocketMiddleware` in `Microsoft.AspNetCore.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebSocketMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public WebSocketMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.WebSockets.WebSocketsDependencyInjectionExtensions` in `Microsoft.AspNetCore.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebSockets.WebSocketsDependencyInjectionExtensions` in `Microsoft.AspNetCore.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebSocketsDependencyInjectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddWebSockets(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configure) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebUtilities.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebUtilities.cs index 1b3b474f451..05df190e03c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebUtilities.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebUtilities.cs @@ -6,14 +6,14 @@ namespace Microsoft { namespace WebUtilities { - // Generated from `Microsoft.AspNetCore.WebUtilities.Base64UrlTextEncoder` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.Base64UrlTextEncoder` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Base64UrlTextEncoder { public static System.Byte[] Decode(string text) => throw null; public static string Encode(System.Byte[] data) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.BufferedReadStream` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.BufferedReadStream` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BufferedReadStream : System.IO.Stream { public System.ArraySegment BufferedData { get => throw null; } @@ -41,9 +41,10 @@ namespace Microsoft public override void SetLength(System.Int64 value) => throw null; public override void Write(System.Byte[] buffer, int offset, int count) => throw null; public override System.Threading.Tasks.Task WriteAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileBufferingReadStream : System.IO.Stream { public override bool CanRead { get => throw null; } @@ -71,9 +72,10 @@ namespace Microsoft public string TempFileName { get => throw null; } public override void Write(System.Byte[] buffer, int offset, int count) => throw null; public override System.Threading.Tasks.Task WriteAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.FileBufferingWriteStream` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.FileBufferingWriteStream` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileBufferingWriteStream : System.IO.Stream { public override bool CanRead { get => throw null; } @@ -91,6 +93,7 @@ namespace Microsoft public override System.Int64 Position { get => throw null; set => throw null; } public override int Read(System.Byte[] buffer, int offset, int count) => throw null; public override System.Threading.Tasks.Task ReadAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.Threading.Tasks.ValueTask ReadAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken) => throw null; public override System.Int64 Seek(System.Int64 offset, System.IO.SeekOrigin origin) => throw null; public override void SetLength(System.Int64 value) => throw null; public override void Write(System.Byte[] buffer, int offset, int count) => throw null; @@ -98,7 +101,7 @@ namespace Microsoft public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.FileMultipartSection` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.FileMultipartSection` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileMultipartSection { public FileMultipartSection(Microsoft.AspNetCore.WebUtilities.MultipartSection section) => throw null; @@ -109,17 +112,18 @@ namespace Microsoft public Microsoft.AspNetCore.WebUtilities.MultipartSection Section { get => throw null; } } - // Generated from `Microsoft.AspNetCore.WebUtilities.FormMultipartSection` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.FormMultipartSection` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormMultipartSection { public FormMultipartSection(Microsoft.AspNetCore.WebUtilities.MultipartSection section) => throw null; public FormMultipartSection(Microsoft.AspNetCore.WebUtilities.MultipartSection section, Microsoft.Net.Http.Headers.ContentDispositionHeaderValue header) => throw null; public System.Threading.Tasks.Task GetValueAsync() => throw null; + public System.Threading.Tasks.ValueTask GetValueAsync(System.Threading.CancellationToken cancellationToken) => throw null; public string Name { get => throw null; } public Microsoft.AspNetCore.WebUtilities.MultipartSection Section { get => throw null; } } - // Generated from `Microsoft.AspNetCore.WebUtilities.FormPipeReader` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.FormPipeReader` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormPipeReader { public FormPipeReader(System.IO.Pipelines.PipeReader pipeReader) => throw null; @@ -130,7 +134,7 @@ namespace Microsoft public int ValueLengthLimit { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.WebUtilities.FormReader` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.FormReader` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormReader : System.IDisposable { public const int DefaultKeyLengthLimit = default; @@ -151,7 +155,7 @@ namespace Microsoft public int ValueLengthLimit { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpRequestStreamReader : System.IO.TextReader { protected override void Dispose(bool disposing) => throw null; @@ -169,7 +173,7 @@ namespace Microsoft public override System.Threading.Tasks.Task ReadToEndAsync() => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpResponseStreamWriter : System.IO.TextWriter { protected override void Dispose(bool disposing) => throw null; @@ -189,10 +193,13 @@ namespace Microsoft public override System.Threading.Tasks.Task WriteAsync(System.Char value) => throw null; public override System.Threading.Tasks.Task WriteAsync(string value) => throw null; public override void WriteLine(System.ReadOnlySpan value) => throw null; + public override System.Threading.Tasks.Task WriteLineAsync(System.Char[] values, int index, int count) => throw null; public override System.Threading.Tasks.Task WriteLineAsync(System.ReadOnlyMemory value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task WriteLineAsync(System.Char value) => throw null; + public override System.Threading.Tasks.Task WriteLineAsync(string value) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.KeyValueAccumulator` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.KeyValueAccumulator` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct KeyValueAccumulator { public void Append(string key, string value) => throw null; @@ -203,7 +210,7 @@ namespace Microsoft public int ValueCount { get => throw null; } } - // Generated from `Microsoft.AspNetCore.WebUtilities.MultipartReader` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.MultipartReader` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MultipartReader { public System.Int64? BodyLengthLimit { get => throw null; set => throw null; } @@ -216,7 +223,7 @@ namespace Microsoft public System.Threading.Tasks.Task ReadNextSectionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.MultipartSection` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.MultipartSection` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MultipartSection { public System.Int64? BaseStreamOffset { get => throw null; set => throw null; } @@ -227,7 +234,7 @@ namespace Microsoft public MultipartSection() => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.MultipartSectionConverterExtensions` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.MultipartSectionConverterExtensions` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MultipartSectionConverterExtensions { public static Microsoft.AspNetCore.WebUtilities.FileMultipartSection AsFileSection(this Microsoft.AspNetCore.WebUtilities.MultipartSection section) => throw null; @@ -235,13 +242,14 @@ namespace Microsoft public static Microsoft.Net.Http.Headers.ContentDispositionHeaderValue GetContentDispositionHeader(this Microsoft.AspNetCore.WebUtilities.MultipartSection section) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.MultipartSectionStreamExtensions` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.MultipartSectionStreamExtensions` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MultipartSectionStreamExtensions { public static System.Threading.Tasks.Task ReadAsStringAsync(this Microsoft.AspNetCore.WebUtilities.MultipartSection section) => throw null; + public static System.Threading.Tasks.ValueTask ReadAsStringAsync(this Microsoft.AspNetCore.WebUtilities.MultipartSection section, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.QueryHelpers` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.QueryHelpers` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class QueryHelpers { public static string AddQueryString(string uri, System.Collections.Generic.IDictionary queryString) => throw null; @@ -252,10 +260,10 @@ namespace Microsoft public static System.Collections.Generic.Dictionary ParseQuery(string queryString) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct QueryStringEnumerable { - // Generated from `Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable+EncodedNameValuePair` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable+EncodedNameValuePair` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct EncodedNameValuePair { public System.ReadOnlyMemory DecodeName() => throw null; @@ -266,7 +274,7 @@ namespace Microsoft } - // Generated from `Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable+Enumerator` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable+Enumerator` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator { public Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable.EncodedNameValuePair Current { get => throw null; } @@ -281,13 +289,13 @@ namespace Microsoft public QueryStringEnumerable(string queryString) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.ReasonPhrases` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.ReasonPhrases` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ReasonPhrases { public static string GetReasonPhrase(int statusCode) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.StreamHelperExtensions` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.StreamHelperExtensions` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StreamHelperExtensions { public static System.Threading.Tasks.Task DrainAsync(this System.IO.Stream stream, System.Buffers.ArrayPool bytePool, System.Int64? limit, System.Threading.CancellationToken cancellationToken) => throw null; @@ -295,7 +303,7 @@ namespace Microsoft public static System.Threading.Tasks.Task DrainAsync(this System.IO.Stream stream, System.Int64? limit, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.WebEncoders` in `Microsoft.AspNetCore.WebUtilities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebUtilities.WebEncoders` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebEncoders { public static System.Byte[] Base64UrlDecode(string input) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.cs index c0af0af75b4..12d07586057 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.cs @@ -4,7 +4,7 @@ namespace Microsoft { namespace AspNetCore { - // Generated from `Microsoft.AspNetCore.WebHost` in `Microsoft.AspNetCore, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.WebHost` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHost { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder CreateDefaultBuilder() => throw null; @@ -20,7 +20,7 @@ namespace Microsoft namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ConfigureHostBuilder` in `Microsoft.AspNetCore, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ConfigureHostBuilder` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureHostBuilder : Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsConfigureWebHost, Microsoft.Extensions.Hosting.IHostBuilder { Microsoft.Extensions.Hosting.IHost Microsoft.Extensions.Hosting.IHostBuilder.Build() => throw null; @@ -34,7 +34,7 @@ namespace Microsoft public Microsoft.Extensions.Hosting.IHostBuilder UseServiceProviderFactory(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory factory) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ConfigureWebHostBuilder` in `Microsoft.AspNetCore, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.ConfigureWebHostBuilder` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureWebHostBuilder : Microsoft.AspNetCore.Hosting.IWebHostBuilder, Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup { Microsoft.AspNetCore.Hosting.IWebHost Microsoft.AspNetCore.Hosting.IWebHostBuilder.Build() => throw null; @@ -49,7 +49,7 @@ namespace Microsoft Microsoft.AspNetCore.Hosting.IWebHostBuilder Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.UseStartup(System.Func startupFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.WebApplication` in `Microsoft.AspNetCore, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.WebApplication` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebApplication : Microsoft.AspNetCore.Builder.IApplicationBuilder, Microsoft.AspNetCore.Routing.IEndpointRouteBuilder, Microsoft.Extensions.Hosting.IHost, System.IAsyncDisposable, System.IDisposable { System.IServiceProvider Microsoft.AspNetCore.Builder.IApplicationBuilder.ApplicationServices { get => throw null; set => throw null; } @@ -76,10 +76,10 @@ namespace Microsoft public System.Threading.Tasks.Task StartAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public System.Collections.Generic.ICollection Urls { get => throw null; } - Microsoft.AspNetCore.Builder.IApplicationBuilder Microsoft.AspNetCore.Builder.IApplicationBuilder.Use(System.Func middleware) => throw null; + public Microsoft.AspNetCore.Builder.IApplicationBuilder Use(System.Func middleware) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.WebApplicationBuilder` in `Microsoft.AspNetCore, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.WebApplicationBuilder` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebApplicationBuilder { public Microsoft.AspNetCore.Builder.WebApplication Build() => throw null; @@ -91,7 +91,7 @@ namespace Microsoft public Microsoft.AspNetCore.Builder.ConfigureWebHostBuilder WebHost { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.WebApplicationOptions` in `Microsoft.AspNetCore, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Builder.WebApplicationOptions` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebApplicationOptions { public string ApplicationName { get => throw null; set => throw null; } @@ -108,10 +108,11 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.Extensions.Hosting.GenericHostBuilderExtensions` in `Microsoft.AspNetCore, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.GenericHostBuilderExtensions` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class GenericHostBuilderExtensions { public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureWebHostDefaults(this Microsoft.Extensions.Hosting.IHostBuilder builder, System.Action configure) => throw null; + public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureWebHostDefaults(this Microsoft.Extensions.Hosting.IHostBuilder builder, System.Action configure, System.Action configureOptions) => throw null; } } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Abstractions.cs index 75b401a91e8..edaf2b6cb1c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Abstractions.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Distributed { - // Generated from `Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DistributedCacheEntryExtensions { public static Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions SetAbsoluteExpiration(this Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options, System.DateTimeOffset absolute) => throw null; @@ -16,7 +16,7 @@ namespace Microsoft public static Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions SetSlidingExpiration(this Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options, System.TimeSpan offset) => throw null; } - // Generated from `Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedCacheEntryOptions { public System.DateTimeOffset? AbsoluteExpiration { get => throw null; set => throw null; } @@ -25,7 +25,7 @@ namespace Microsoft public System.TimeSpan? SlidingExpiration { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DistributedCacheExtensions { public static string GetString(this Microsoft.Extensions.Caching.Distributed.IDistributedCache cache, string key) => throw null; @@ -38,7 +38,7 @@ namespace Microsoft public static System.Threading.Tasks.Task SetStringAsync(this Microsoft.Extensions.Caching.Distributed.IDistributedCache cache, string key, string value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options, System.Threading.CancellationToken token = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.Extensions.Caching.Distributed.IDistributedCache` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Distributed.IDistributedCache` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDistributedCache { System.Byte[] Get(string key); @@ -54,7 +54,7 @@ namespace Microsoft } namespace Memory { - // Generated from `Microsoft.Extensions.Caching.Memory.CacheEntryExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Memory.CacheEntryExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CacheEntryExtensions { public static Microsoft.Extensions.Caching.Memory.ICacheEntry AddExpirationToken(this Microsoft.Extensions.Caching.Memory.ICacheEntry entry, Microsoft.Extensions.Primitives.IChangeToken expirationToken) => throw null; @@ -69,7 +69,7 @@ namespace Microsoft public static Microsoft.Extensions.Caching.Memory.ICacheEntry SetValue(this Microsoft.Extensions.Caching.Memory.ICacheEntry entry, object value) => throw null; } - // Generated from `Microsoft.Extensions.Caching.Memory.CacheExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Memory.CacheExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CacheExtensions { public static object Get(this Microsoft.Extensions.Caching.Memory.IMemoryCache cache, object key) => throw null; @@ -84,7 +84,7 @@ namespace Microsoft public static bool TryGetValue(this Microsoft.Extensions.Caching.Memory.IMemoryCache cache, object key, out TItem value) => throw null; } - // Generated from `Microsoft.Extensions.Caching.Memory.CacheItemPriority` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Memory.CacheItemPriority` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum CacheItemPriority : int { High = 2, @@ -93,7 +93,7 @@ namespace Microsoft Normal = 1, } - // Generated from `Microsoft.Extensions.Caching.Memory.EvictionReason` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Memory.EvictionReason` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum EvictionReason : int { Capacity = 5, @@ -104,7 +104,7 @@ namespace Microsoft TokenExpired = 4, } - // Generated from `Microsoft.Extensions.Caching.Memory.ICacheEntry` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Memory.ICacheEntry` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICacheEntry : System.IDisposable { System.DateTimeOffset? AbsoluteExpiration { get; set; } @@ -118,15 +118,16 @@ namespace Microsoft object Value { get; set; } } - // Generated from `Microsoft.Extensions.Caching.Memory.IMemoryCache` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Memory.IMemoryCache` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMemoryCache : System.IDisposable { Microsoft.Extensions.Caching.Memory.ICacheEntry CreateEntry(object key); + Microsoft.Extensions.Caching.Memory.MemoryCacheStatistics GetCurrentStatistics() => throw null; void Remove(object key); bool TryGetValue(object key, out object value); } - // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCacheEntryExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCacheEntryExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MemoryCacheEntryExtensions { public static Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions AddExpirationToken(this Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions options, Microsoft.Extensions.Primitives.IChangeToken expirationToken) => throw null; @@ -139,7 +140,7 @@ namespace Microsoft public static Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions SetSlidingExpiration(this Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions options, System.TimeSpan offset) => throw null; } - // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryCacheEntryOptions { public System.DateTimeOffset? AbsoluteExpiration { get => throw null; set => throw null; } @@ -152,7 +153,17 @@ namespace Microsoft public System.TimeSpan? SlidingExpiration { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Caching.Memory.PostEvictionCallbackRegistration` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCacheStatistics` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class MemoryCacheStatistics + { + public System.Int64 CurrentEntryCount { get => throw null; set => throw null; } + public System.Int64? CurrentEstimatedSize { get => throw null; set => throw null; } + public MemoryCacheStatistics() => throw null; + public System.Int64 TotalHits { get => throw null; set => throw null; } + public System.Int64 TotalMisses { get => throw null; set => throw null; } + } + + // Generated from `Microsoft.Extensions.Caching.Memory.PostEvictionCallbackRegistration` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostEvictionCallbackRegistration { public Microsoft.Extensions.Caching.Memory.PostEvictionDelegate EvictionCallback { get => throw null; set => throw null; } @@ -160,20 +171,20 @@ namespace Microsoft public object State { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Caching.Memory.PostEvictionDelegate` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Memory.PostEvictionDelegate` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate void PostEvictionDelegate(object key, object value, Microsoft.Extensions.Caching.Memory.EvictionReason reason, object state); } } namespace Internal { - // Generated from `Microsoft.Extensions.Internal.ISystemClock` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Internal.ISystemClock` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISystemClock { System.DateTimeOffset UtcNow { get; } } - // Generated from `Microsoft.Extensions.Internal.SystemClock` in `Microsoft.Extensions.Caching.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Internal.SystemClock` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SystemClock : Microsoft.Extensions.Internal.ISystemClock { public SystemClock() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Memory.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Memory.cs index f029be7013f..d8715288181 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Memory.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Memory.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Distributed { - // Generated from `Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache` in `Microsoft.Extensions.Caching.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache` in `Microsoft.Extensions.Caching.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryDistributedCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache { public System.Byte[] Get(string key) => throw null; @@ -26,14 +26,16 @@ namespace Microsoft } namespace Memory { - // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCache` in `Microsoft.Extensions.Caching.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCache` in `Microsoft.Extensions.Caching.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryCache : Microsoft.Extensions.Caching.Memory.IMemoryCache, System.IDisposable { + public void Clear() => throw null; public void Compact(double percentage) => throw null; public int Count { get => throw null; } public Microsoft.Extensions.Caching.Memory.ICacheEntry CreateEntry(object key) => throw null; public void Dispose() => throw null; protected virtual void Dispose(bool disposing) => throw null; + public Microsoft.Extensions.Caching.Memory.MemoryCacheStatistics GetCurrentStatistics() => throw null; public MemoryCache(Microsoft.Extensions.Options.IOptions optionsAccessor) => throw null; public MemoryCache(Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public void Remove(object key) => throw null; @@ -41,7 +43,7 @@ namespace Microsoft // ERR: Stub generator didn't handle member: ~MemoryCache } - // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCacheOptions` in `Microsoft.Extensions.Caching.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCacheOptions` in `Microsoft.Extensions.Caching.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryCacheOptions : Microsoft.Extensions.Options.IOptions { public Microsoft.Extensions.Internal.ISystemClock Clock { get => throw null; set => throw null; } @@ -49,10 +51,12 @@ namespace Microsoft public System.TimeSpan ExpirationScanFrequency { get => throw null; set => throw null; } public MemoryCacheOptions() => throw null; public System.Int64? SizeLimit { get => throw null; set => throw null; } + public bool TrackLinkedCacheEntries { get => throw null; set => throw null; } + public bool TrackStatistics { get => throw null; set => throw null; } Microsoft.Extensions.Caching.Memory.MemoryCacheOptions Microsoft.Extensions.Options.IOptions.Value { get => throw null; } } - // Generated from `Microsoft.Extensions.Caching.Memory.MemoryDistributedCacheOptions` in `Microsoft.Extensions.Caching.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Caching.Memory.MemoryDistributedCacheOptions` in `Microsoft.Extensions.Caching.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryDistributedCacheOptions : Microsoft.Extensions.Caching.Memory.MemoryCacheOptions { public MemoryDistributedCacheOptions() => throw null; @@ -62,7 +66,7 @@ namespace Microsoft } namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MemoryCacheServiceCollectionExtensions` in `Microsoft.Extensions.Caching.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.MemoryCacheServiceCollectionExtensions` in `Microsoft.Extensions.Caching.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MemoryCacheServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDistributedMemoryCache(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Abstractions.cs index 3e565035cc6..6f0c32b3530 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Abstractions.cs @@ -6,7 +6,18 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.ConfigurationExtensions` in `Microsoft.Extensions.Configuration.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ConfigurationDebugViewContext` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public struct ConfigurationDebugViewContext + { + // Stub generator skipped constructor + public ConfigurationDebugViewContext(string path, string key, string value, Microsoft.Extensions.Configuration.IConfigurationProvider configurationProvider) => throw null; + public Microsoft.Extensions.Configuration.IConfigurationProvider ConfigurationProvider { get => throw null; } + public string Key { get => throw null; } + public string Path { get => throw null; } + public string Value { get => throw null; } + } + + // Generated from `Microsoft.Extensions.Configuration.ConfigurationExtensions` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConfigurationExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder Add(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action configureSource) where TSource : Microsoft.Extensions.Configuration.IConfigurationSource, new() => throw null; @@ -17,14 +28,14 @@ namespace Microsoft public static Microsoft.Extensions.Configuration.IConfigurationSection GetRequiredSection(this Microsoft.Extensions.Configuration.IConfiguration configuration, string key) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationKeyNameAttribute` in `Microsoft.Extensions.Configuration.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ConfigurationKeyNameAttribute` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationKeyNameAttribute : System.Attribute { public ConfigurationKeyNameAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationPath` in `Microsoft.Extensions.Configuration.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ConfigurationPath` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConfigurationPath { public static string Combine(System.Collections.Generic.IEnumerable pathSegments) => throw null; @@ -34,13 +45,14 @@ namespace Microsoft public static string KeyDelimiter; } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationRootExtensions` in `Microsoft.Extensions.Configuration.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ConfigurationRootExtensions` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConfigurationRootExtensions { public static string GetDebugView(this Microsoft.Extensions.Configuration.IConfigurationRoot root) => throw null; + public static string GetDebugView(this Microsoft.Extensions.Configuration.IConfigurationRoot root, System.Func processValue) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.IConfiguration` in `Microsoft.Extensions.Configuration.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.IConfiguration` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfiguration { System.Collections.Generic.IEnumerable GetChildren(); @@ -49,7 +61,7 @@ namespace Microsoft string this[string key] { get; set; } } - // Generated from `Microsoft.Extensions.Configuration.IConfigurationBuilder` in `Microsoft.Extensions.Configuration.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.IConfigurationBuilder` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigurationBuilder { Microsoft.Extensions.Configuration.IConfigurationBuilder Add(Microsoft.Extensions.Configuration.IConfigurationSource source); @@ -58,7 +70,7 @@ namespace Microsoft System.Collections.Generic.IList Sources { get; } } - // Generated from `Microsoft.Extensions.Configuration.IConfigurationProvider` in `Microsoft.Extensions.Configuration.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.IConfigurationProvider` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigurationProvider { System.Collections.Generic.IEnumerable GetChildKeys(System.Collections.Generic.IEnumerable earlierKeys, string parentPath); @@ -68,14 +80,14 @@ namespace Microsoft bool TryGet(string key, out string value); } - // Generated from `Microsoft.Extensions.Configuration.IConfigurationRoot` in `Microsoft.Extensions.Configuration.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.IConfigurationRoot` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigurationRoot : Microsoft.Extensions.Configuration.IConfiguration { System.Collections.Generic.IEnumerable Providers { get; } void Reload(); } - // Generated from `Microsoft.Extensions.Configuration.IConfigurationSection` in `Microsoft.Extensions.Configuration.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.IConfigurationSection` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigurationSection : Microsoft.Extensions.Configuration.IConfiguration { string Key { get; } @@ -83,7 +95,7 @@ namespace Microsoft string Value { get; set; } } - // Generated from `Microsoft.Extensions.Configuration.IConfigurationSource` in `Microsoft.Extensions.Configuration.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.IConfigurationSource` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigurationSource { Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Binder.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Binder.cs index 812d09413ee..3008e1925c7 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Binder.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Binder.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.BinderOptions` in `Microsoft.Extensions.Configuration.Binder, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.BinderOptions` in `Microsoft.Extensions.Configuration.Binder, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BinderOptions { public bool BindNonPublicProperties { get => throw null; set => throw null; } @@ -14,7 +14,7 @@ namespace Microsoft public bool ErrorOnUnknownConfiguration { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationBinder` in `Microsoft.Extensions.Configuration.Binder, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ConfigurationBinder` in `Microsoft.Extensions.Configuration.Binder, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConfigurationBinder { public static void Bind(this Microsoft.Extensions.Configuration.IConfiguration configuration, object instance) => throw null; @@ -33,18 +33,3 @@ namespace Microsoft } } } -namespace System -{ - namespace Diagnostics - { - namespace CodeAnalysis - { - /* Duplicate type 'DynamicallyAccessedMemberTypes' is not stubbed in this assembly 'Microsoft.Extensions.Configuration.Binder, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'DynamicallyAccessedMembersAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Configuration.Binder, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'RequiresUnreferencedCodeAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Configuration.Binder, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.CommandLine.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.CommandLine.cs index 2ef4bf5e895..8c5e0b72cc2 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.CommandLine.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.CommandLine.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.CommandLineConfigurationExtensions` in `Microsoft.Extensions.Configuration.CommandLine, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.CommandLineConfigurationExtensions` in `Microsoft.Extensions.Configuration.CommandLine, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CommandLineConfigurationExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddCommandLine(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action configureSource) => throw null; @@ -16,7 +16,7 @@ namespace Microsoft namespace CommandLine { - // Generated from `Microsoft.Extensions.Configuration.CommandLine.CommandLineConfigurationProvider` in `Microsoft.Extensions.Configuration.CommandLine, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.CommandLine.CommandLineConfigurationProvider` in `Microsoft.Extensions.Configuration.CommandLine, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CommandLineConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider { protected System.Collections.Generic.IEnumerable Args { get => throw null; } @@ -24,7 +24,7 @@ namespace Microsoft public override void Load() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.CommandLine.CommandLineConfigurationSource` in `Microsoft.Extensions.Configuration.CommandLine, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.CommandLine.CommandLineConfigurationSource` in `Microsoft.Extensions.Configuration.CommandLine, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CommandLineConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public System.Collections.Generic.IEnumerable Args { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.EnvironmentVariables.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.EnvironmentVariables.cs index fb82427659e..e665232f8ec 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.EnvironmentVariables.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.EnvironmentVariables.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.EnvironmentVariablesExtensions` in `Microsoft.Extensions.Configuration.EnvironmentVariables, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.EnvironmentVariablesExtensions` in `Microsoft.Extensions.Configuration.EnvironmentVariables, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EnvironmentVariablesExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddEnvironmentVariables(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder) => throw null; @@ -16,7 +16,7 @@ namespace Microsoft namespace EnvironmentVariables { - // Generated from `Microsoft.Extensions.Configuration.EnvironmentVariables.EnvironmentVariablesConfigurationProvider` in `Microsoft.Extensions.Configuration.EnvironmentVariables, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.EnvironmentVariables.EnvironmentVariablesConfigurationProvider` in `Microsoft.Extensions.Configuration.EnvironmentVariables, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnvironmentVariablesConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider { public EnvironmentVariablesConfigurationProvider() => throw null; @@ -25,7 +25,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.EnvironmentVariables.EnvironmentVariablesConfigurationSource` in `Microsoft.Extensions.Configuration.EnvironmentVariables, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.EnvironmentVariables.EnvironmentVariablesConfigurationSource` in `Microsoft.Extensions.Configuration.EnvironmentVariables, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnvironmentVariablesConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.FileExtensions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.FileExtensions.cs index 50b21452fc6..16285faaa42 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.FileExtensions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.FileExtensions.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.FileConfigurationExtensions` in `Microsoft.Extensions.Configuration.FileExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.FileConfigurationExtensions` in `Microsoft.Extensions.Configuration.FileExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class FileConfigurationExtensions { public static System.Action GetFileLoadExceptionHandler(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; @@ -16,7 +16,7 @@ namespace Microsoft public static Microsoft.Extensions.Configuration.IConfigurationBuilder SetFileProvider(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, Microsoft.Extensions.FileProviders.IFileProvider fileProvider) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.FileConfigurationProvider` in `Microsoft.Extensions.Configuration.FileExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.FileConfigurationProvider` in `Microsoft.Extensions.Configuration.FileExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class FileConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider, System.IDisposable { public void Dispose() => throw null; @@ -28,7 +28,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.FileConfigurationSource` in `Microsoft.Extensions.Configuration.FileExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.FileConfigurationSource` in `Microsoft.Extensions.Configuration.FileExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class FileConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public abstract Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder); @@ -43,7 +43,7 @@ namespace Microsoft public void ResolveFileProvider() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.FileLoadExceptionContext` in `Microsoft.Extensions.Configuration.FileExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.FileLoadExceptionContext` in `Microsoft.Extensions.Configuration.FileExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileLoadExceptionContext { public System.Exception Exception { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Ini.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Ini.cs index 45549101d20..f5b1965d17f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Ini.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Ini.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.IniConfigurationExtensions` in `Microsoft.Extensions.Configuration.Ini, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.IniConfigurationExtensions` in `Microsoft.Extensions.Configuration.Ini, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class IniConfigurationExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddIniFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action configureSource) => throw null; @@ -19,21 +19,21 @@ namespace Microsoft namespace Ini { - // Generated from `Microsoft.Extensions.Configuration.Ini.IniConfigurationProvider` in `Microsoft.Extensions.Configuration.Ini, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Ini.IniConfigurationProvider` in `Microsoft.Extensions.Configuration.Ini, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IniConfigurationProvider : Microsoft.Extensions.Configuration.FileConfigurationProvider { public IniConfigurationProvider(Microsoft.Extensions.Configuration.Ini.IniConfigurationSource source) : base(default(Microsoft.Extensions.Configuration.FileConfigurationSource)) => throw null; public override void Load(System.IO.Stream stream) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Ini.IniConfigurationSource` in `Microsoft.Extensions.Configuration.Ini, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Ini.IniConfigurationSource` in `Microsoft.Extensions.Configuration.Ini, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IniConfigurationSource : Microsoft.Extensions.Configuration.FileConfigurationSource { public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; public IniConfigurationSource() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Ini.IniStreamConfigurationProvider` in `Microsoft.Extensions.Configuration.Ini, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Ini.IniStreamConfigurationProvider` in `Microsoft.Extensions.Configuration.Ini, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IniStreamConfigurationProvider : Microsoft.Extensions.Configuration.StreamConfigurationProvider { public IniStreamConfigurationProvider(Microsoft.Extensions.Configuration.Ini.IniStreamConfigurationSource source) : base(default(Microsoft.Extensions.Configuration.StreamConfigurationSource)) => throw null; @@ -41,7 +41,7 @@ namespace Microsoft public static System.Collections.Generic.IDictionary Read(System.IO.Stream stream) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Ini.IniStreamConfigurationSource` in `Microsoft.Extensions.Configuration.Ini, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Ini.IniStreamConfigurationSource` in `Microsoft.Extensions.Configuration.Ini, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IniStreamConfigurationSource : Microsoft.Extensions.Configuration.StreamConfigurationSource { public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Json.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Json.cs index 732cdf75dda..817b33838d3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Json.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Json.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.JsonConfigurationExtensions` in `Microsoft.Extensions.Configuration.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.JsonConfigurationExtensions` in `Microsoft.Extensions.Configuration.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JsonConfigurationExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddJsonFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action configureSource) => throw null; @@ -19,28 +19,28 @@ namespace Microsoft namespace Json { - // Generated from `Microsoft.Extensions.Configuration.Json.JsonConfigurationProvider` in `Microsoft.Extensions.Configuration.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Json.JsonConfigurationProvider` in `Microsoft.Extensions.Configuration.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonConfigurationProvider : Microsoft.Extensions.Configuration.FileConfigurationProvider { public JsonConfigurationProvider(Microsoft.Extensions.Configuration.Json.JsonConfigurationSource source) : base(default(Microsoft.Extensions.Configuration.FileConfigurationSource)) => throw null; public override void Load(System.IO.Stream stream) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Json.JsonConfigurationSource` in `Microsoft.Extensions.Configuration.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Json.JsonConfigurationSource` in `Microsoft.Extensions.Configuration.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonConfigurationSource : Microsoft.Extensions.Configuration.FileConfigurationSource { public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; public JsonConfigurationSource() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Json.JsonStreamConfigurationProvider` in `Microsoft.Extensions.Configuration.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Json.JsonStreamConfigurationProvider` in `Microsoft.Extensions.Configuration.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonStreamConfigurationProvider : Microsoft.Extensions.Configuration.StreamConfigurationProvider { public JsonStreamConfigurationProvider(Microsoft.Extensions.Configuration.Json.JsonStreamConfigurationSource source) : base(default(Microsoft.Extensions.Configuration.StreamConfigurationSource)) => throw null; public override void Load(System.IO.Stream stream) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Json.JsonStreamConfigurationSource` in `Microsoft.Extensions.Configuration.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Json.JsonStreamConfigurationSource` in `Microsoft.Extensions.Configuration.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonStreamConfigurationSource : Microsoft.Extensions.Configuration.StreamConfigurationSource { public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.KeyPerFile.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.KeyPerFile.cs index 92c2850f211..67b2aea17b3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.KeyPerFile.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.KeyPerFile.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.KeyPerFileConfigurationBuilderExtensions` in `Microsoft.Extensions.Configuration.KeyPerFile, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.KeyPerFileConfigurationBuilderExtensions` in `Microsoft.Extensions.Configuration.KeyPerFile, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class KeyPerFileConfigurationBuilderExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddKeyPerFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action configureSource) => throw null; @@ -17,7 +17,7 @@ namespace Microsoft namespace KeyPerFile { - // Generated from `Microsoft.Extensions.Configuration.KeyPerFile.KeyPerFileConfigurationProvider` in `Microsoft.Extensions.Configuration.KeyPerFile, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.KeyPerFile.KeyPerFileConfigurationProvider` in `Microsoft.Extensions.Configuration.KeyPerFile, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KeyPerFileConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider, System.IDisposable { public void Dispose() => throw null; @@ -26,7 +26,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.KeyPerFile.KeyPerFileConfigurationSource` in `Microsoft.Extensions.Configuration.KeyPerFile, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.KeyPerFile.KeyPerFileConfigurationSource` in `Microsoft.Extensions.Configuration.KeyPerFile, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KeyPerFileConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.UserSecrets.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.UserSecrets.cs index b1c3fb8f20c..d30267d336f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.UserSecrets.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.UserSecrets.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions` in `Microsoft.Extensions.Configuration.UserSecrets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions` in `Microsoft.Extensions.Configuration.UserSecrets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UserSecretsConfigurationExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddUserSecrets(this Microsoft.Extensions.Configuration.IConfigurationBuilder configuration, System.Reflection.Assembly assembly) => throw null; @@ -21,14 +21,14 @@ namespace Microsoft namespace UserSecrets { - // Generated from `Microsoft.Extensions.Configuration.UserSecrets.PathHelper` in `Microsoft.Extensions.Configuration.UserSecrets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.UserSecrets.PathHelper` in `Microsoft.Extensions.Configuration.UserSecrets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PathHelper { public static string GetSecretsPathFromSecretsId(string userSecretsId) => throw null; public PathHelper() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute` in `Microsoft.Extensions.Configuration.UserSecrets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute` in `Microsoft.Extensions.Configuration.UserSecrets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserSecretsIdAttribute : System.Attribute { public string UserSecretsId { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Xml.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Xml.cs index 213b2d1e24e..bfb0fff98b5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Xml.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Xml.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.XmlConfigurationExtensions` in `Microsoft.Extensions.Configuration.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.XmlConfigurationExtensions` in `Microsoft.Extensions.Configuration.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class XmlConfigurationExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddXmlFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action configureSource) => throw null; @@ -19,21 +19,21 @@ namespace Microsoft namespace Xml { - // Generated from `Microsoft.Extensions.Configuration.Xml.XmlConfigurationProvider` in `Microsoft.Extensions.Configuration.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Xml.XmlConfigurationProvider` in `Microsoft.Extensions.Configuration.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlConfigurationProvider : Microsoft.Extensions.Configuration.FileConfigurationProvider { public override void Load(System.IO.Stream stream) => throw null; public XmlConfigurationProvider(Microsoft.Extensions.Configuration.Xml.XmlConfigurationSource source) : base(default(Microsoft.Extensions.Configuration.FileConfigurationSource)) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Xml.XmlConfigurationSource` in `Microsoft.Extensions.Configuration.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Xml.XmlConfigurationSource` in `Microsoft.Extensions.Configuration.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlConfigurationSource : Microsoft.Extensions.Configuration.FileConfigurationSource { public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; public XmlConfigurationSource() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Xml.XmlDocumentDecryptor` in `Microsoft.Extensions.Configuration.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Xml.XmlDocumentDecryptor` in `Microsoft.Extensions.Configuration.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlDocumentDecryptor { public System.Xml.XmlReader CreateDecryptingXmlReader(System.IO.Stream input, System.Xml.XmlReaderSettings settings) => throw null; @@ -42,7 +42,7 @@ namespace Microsoft protected XmlDocumentDecryptor() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Xml.XmlStreamConfigurationProvider` in `Microsoft.Extensions.Configuration.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Xml.XmlStreamConfigurationProvider` in `Microsoft.Extensions.Configuration.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlStreamConfigurationProvider : Microsoft.Extensions.Configuration.StreamConfigurationProvider { public override void Load(System.IO.Stream stream) => throw null; @@ -50,7 +50,7 @@ namespace Microsoft public XmlStreamConfigurationProvider(Microsoft.Extensions.Configuration.Xml.XmlStreamConfigurationSource source) : base(default(Microsoft.Extensions.Configuration.StreamConfigurationSource)) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Xml.XmlStreamConfigurationSource` in `Microsoft.Extensions.Configuration.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Xml.XmlStreamConfigurationSource` in `Microsoft.Extensions.Configuration.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlStreamConfigurationSource : Microsoft.Extensions.Configuration.StreamConfigurationSource { public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.cs index 9ccfc052940..7d980da08b2 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.cs @@ -6,17 +6,18 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.ChainedBuilderExtensions` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ChainedBuilderExtensions` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ChainedBuilderExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddConfiguration(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Microsoft.Extensions.Configuration.IConfiguration config) => throw null; public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddConfiguration(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Microsoft.Extensions.Configuration.IConfiguration config, bool shouldDisposeConfiguration) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.ChainedConfigurationProvider` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ChainedConfigurationProvider` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ChainedConfigurationProvider : Microsoft.Extensions.Configuration.IConfigurationProvider, System.IDisposable { public ChainedConfigurationProvider(Microsoft.Extensions.Configuration.ChainedConfigurationSource source) => throw null; + public Microsoft.Extensions.Configuration.IConfiguration Configuration { get => throw null; } public void Dispose() => throw null; public System.Collections.Generic.IEnumerable GetChildKeys(System.Collections.Generic.IEnumerable earlierKeys, string parentPath) => throw null; public Microsoft.Extensions.Primitives.IChangeToken GetReloadToken() => throw null; @@ -25,7 +26,7 @@ namespace Microsoft public bool TryGet(string key, out string value) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.ChainedConfigurationSource` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ChainedConfigurationSource` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ChainedConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; @@ -34,7 +35,7 @@ namespace Microsoft public bool ShouldDisposeConfiguration { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationBuilder` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ConfigurationBuilder` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationBuilder : Microsoft.Extensions.Configuration.IConfigurationBuilder { public Microsoft.Extensions.Configuration.IConfigurationBuilder Add(Microsoft.Extensions.Configuration.IConfigurationSource source) => throw null; @@ -44,7 +45,7 @@ namespace Microsoft public System.Collections.Generic.IList Sources { get => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationKeyComparer` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ConfigurationKeyComparer` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationKeyComparer : System.Collections.Generic.IComparer { public int Compare(string x, string y) => throw null; @@ -52,7 +53,7 @@ namespace Microsoft public static Microsoft.Extensions.Configuration.ConfigurationKeyComparer Instance { get => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationManager` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ConfigurationManager` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationManager : Microsoft.Extensions.Configuration.IConfiguration, Microsoft.Extensions.Configuration.IConfigurationBuilder, Microsoft.Extensions.Configuration.IConfigurationRoot, System.IDisposable { Microsoft.Extensions.Configuration.IConfigurationBuilder Microsoft.Extensions.Configuration.IConfigurationBuilder.Add(Microsoft.Extensions.Configuration.IConfigurationSource source) => throw null; @@ -66,10 +67,10 @@ namespace Microsoft System.Collections.Generic.IDictionary Microsoft.Extensions.Configuration.IConfigurationBuilder.Properties { get => throw null; } System.Collections.Generic.IEnumerable Microsoft.Extensions.Configuration.IConfigurationRoot.Providers { get => throw null; } void Microsoft.Extensions.Configuration.IConfigurationRoot.Reload() => throw null; - System.Collections.Generic.IList Microsoft.Extensions.Configuration.IConfigurationBuilder.Sources { get => throw null; } + public System.Collections.Generic.IList Sources { get => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationProvider` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ConfigurationProvider` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ConfigurationProvider : Microsoft.Extensions.Configuration.IConfigurationProvider { protected ConfigurationProvider() => throw null; @@ -83,7 +84,7 @@ namespace Microsoft public virtual bool TryGet(string key, out string value) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationReloadToken` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ConfigurationReloadToken` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationReloadToken : Microsoft.Extensions.Primitives.IChangeToken { public bool ActiveChangeCallbacks { get => throw null; } @@ -93,7 +94,7 @@ namespace Microsoft public System.IDisposable RegisterChangeCallback(System.Action callback, object state) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationRoot` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ConfigurationRoot` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationRoot : Microsoft.Extensions.Configuration.IConfiguration, Microsoft.Extensions.Configuration.IConfigurationRoot, System.IDisposable { public ConfigurationRoot(System.Collections.Generic.IList providers) => throw null; @@ -106,7 +107,7 @@ namespace Microsoft public void Reload() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationSection` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.ConfigurationSection` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationSection : Microsoft.Extensions.Configuration.IConfiguration, Microsoft.Extensions.Configuration.IConfigurationSection { public ConfigurationSection(Microsoft.Extensions.Configuration.IConfigurationRoot root, string path) => throw null; @@ -119,14 +120,14 @@ namespace Microsoft public string Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.MemoryConfigurationBuilderExtensions` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.MemoryConfigurationBuilderExtensions` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MemoryConfigurationBuilderExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddInMemoryCollection(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder) => throw null; public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddInMemoryCollection(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, System.Collections.Generic.IEnumerable> initialData) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.StreamConfigurationProvider` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.StreamConfigurationProvider` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class StreamConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider { public override void Load() => throw null; @@ -135,7 +136,7 @@ namespace Microsoft public StreamConfigurationProvider(Microsoft.Extensions.Configuration.StreamConfigurationSource source) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.StreamConfigurationSource` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.StreamConfigurationSource` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class StreamConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public abstract Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder); @@ -145,7 +146,7 @@ namespace Microsoft namespace Memory { - // Generated from `Microsoft.Extensions.Configuration.Memory.MemoryConfigurationProvider` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Memory.MemoryConfigurationProvider` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { public void Add(string key, string value) => throw null; @@ -154,7 +155,7 @@ namespace Microsoft public MemoryConfigurationProvider(Microsoft.Extensions.Configuration.Memory.MemoryConfigurationSource source) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Memory.MemoryConfigurationSource` in `Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Configuration.Memory.MemoryConfigurationSource` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.Abstractions.cs index 14241cca435..c9462b25924 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.Abstractions.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ActivatorUtilities` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ActivatorUtilities` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ActivatorUtilities { public static Microsoft.Extensions.DependencyInjection.ObjectFactory CreateFactory(System.Type instanceType, System.Type[] argumentTypes) => throw null; @@ -16,13 +16,13 @@ namespace Microsoft public static T GetServiceOrCreateInstance(System.IServiceProvider provider) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActivatorUtilitiesConstructorAttribute : System.Attribute { public ActivatorUtilitiesConstructorAttribute() => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.AsyncServiceScope` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.AsyncServiceScope` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct AsyncServiceScope : Microsoft.Extensions.DependencyInjection.IServiceScope, System.IAsyncDisposable, System.IDisposable { // Stub generator skipped constructor @@ -32,46 +32,46 @@ namespace Microsoft public System.IServiceProvider ServiceProvider { get => throw null; } } - // Generated from `Microsoft.Extensions.DependencyInjection.IServiceCollection` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.IServiceCollection` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServiceCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.IEnumerable { } - // Generated from `Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<>` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<>` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServiceProviderFactory { TContainerBuilder CreateBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection services); System.IServiceProvider CreateServiceProvider(TContainerBuilder containerBuilder); } - // Generated from `Microsoft.Extensions.DependencyInjection.IServiceProviderIsService` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.IServiceProviderIsService` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServiceProviderIsService { bool IsService(System.Type serviceType); } - // Generated from `Microsoft.Extensions.DependencyInjection.IServiceScope` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.IServiceScope` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServiceScope : System.IDisposable { System.IServiceProvider ServiceProvider { get; } } - // Generated from `Microsoft.Extensions.DependencyInjection.IServiceScopeFactory` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.IServiceScopeFactory` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServiceScopeFactory { Microsoft.Extensions.DependencyInjection.IServiceScope CreateScope(); } - // Generated from `Microsoft.Extensions.DependencyInjection.ISupportRequiredService` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ISupportRequiredService` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISupportRequiredService { object GetRequiredService(System.Type serviceType); } - // Generated from `Microsoft.Extensions.DependencyInjection.ObjectFactory` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ObjectFactory` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate object ObjectFactory(System.IServiceProvider serviceProvider, object[] arguments); - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceCollection` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ServiceCollection` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceCollection : Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.IEnumerable { void System.Collections.Generic.ICollection.Add(Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) => throw null; @@ -85,12 +85,13 @@ namespace Microsoft public void Insert(int index, Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) => throw null; public bool IsReadOnly { get => throw null; } public Microsoft.Extensions.DependencyInjection.ServiceDescriptor this[int index] { get => throw null; set => throw null; } + public void MakeReadOnly() => throw null; public bool Remove(Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) => throw null; public void RemoveAt(int index) => throw null; public ServiceCollection() => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ServiceCollectionServiceExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddScoped(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Type serviceType) => throw null; @@ -118,7 +119,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTransient(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Func implementationFactory) where TService : class => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceDescriptor` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ServiceDescriptor` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceDescriptor { public static Microsoft.Extensions.DependencyInjection.ServiceDescriptor Describe(System.Type serviceType, System.Func implementationFactory, Microsoft.Extensions.DependencyInjection.ServiceLifetime lifetime) => throw null; @@ -151,7 +152,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.ServiceDescriptor Transient(System.Func implementationFactory) where TService : class => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceLifetime` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ServiceLifetime` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ServiceLifetime : int { Scoped = 1, @@ -159,7 +160,7 @@ namespace Microsoft Transient = 2, } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ServiceProviderServiceExtensions { public static Microsoft.Extensions.DependencyInjection.AsyncServiceScope CreateAsyncScope(this System.IServiceProvider provider) => throw null; @@ -174,7 +175,7 @@ namespace Microsoft namespace Extensions { - // Generated from `Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ServiceCollectionDescriptorExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection Add(this Microsoft.Extensions.DependencyInjection.IServiceCollection collection, System.Collections.Generic.IEnumerable descriptors) => throw null; @@ -211,20 +212,3 @@ namespace Microsoft } } } -namespace System -{ - namespace Diagnostics - { - namespace CodeAnalysis - { - /* Duplicate type 'DynamicallyAccessedMemberTypes' is not stubbed in this assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'DynamicallyAccessedMembersAttribute' is not stubbed in this assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'MemberNotNullAttribute' is not stubbed in this assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'MemberNotNullWhenAttribute' is not stubbed in this assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.cs index f323c3cc0f2..b659cc3159c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory` in `Microsoft.Extensions.DependencyInjection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory` in `Microsoft.Extensions.DependencyInjection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultServiceProviderFactory : Microsoft.Extensions.DependencyInjection.IServiceProviderFactory { public Microsoft.Extensions.DependencyInjection.IServiceCollection CreateBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -15,7 +15,7 @@ namespace Microsoft public DefaultServiceProviderFactory(Microsoft.Extensions.DependencyInjection.ServiceProviderOptions options) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions` in `Microsoft.Extensions.DependencyInjection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions` in `Microsoft.Extensions.DependencyInjection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ServiceCollectionContainerBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.ServiceProvider BuildServiceProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -23,7 +23,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.ServiceProvider BuildServiceProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, bool validateScopes) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceProvider` in `Microsoft.Extensions.DependencyInjection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ServiceProvider` in `Microsoft.Extensions.DependencyInjection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceProvider : System.IAsyncDisposable, System.IDisposable, System.IServiceProvider { public void Dispose() => throw null; @@ -31,7 +31,7 @@ namespace Microsoft public object GetService(System.Type serviceType) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceProviderOptions` in `Microsoft.Extensions.DependencyInjection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ServiceProviderOptions` in `Microsoft.Extensions.DependencyInjection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceProviderOptions { public ServiceProviderOptions() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.cs index 849f0c761f7..3d4e0149876 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.cs @@ -8,14 +8,14 @@ namespace Microsoft { namespace HealthChecks { - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckContext` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckContext` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthCheckContext { public HealthCheckContext() => throw null; public Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration Registration { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthCheckRegistration { public System.Func Factory { get => throw null; set => throw null; } @@ -29,7 +29,7 @@ namespace Microsoft public System.TimeSpan Timeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct HealthCheckResult { public System.Collections.Generic.IReadOnlyDictionary Data { get => throw null; } @@ -43,7 +43,7 @@ namespace Microsoft public static Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult Unhealthy(string description = default(string), System.Exception exception = default(System.Exception), System.Collections.Generic.IReadOnlyDictionary data = default(System.Collections.Generic.IReadOnlyDictionary)) => throw null; } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthReport` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthReport` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthReport { public System.Collections.Generic.IReadOnlyDictionary Entries { get => throw null; } @@ -53,7 +53,7 @@ namespace Microsoft public System.TimeSpan TotalDuration { get => throw null; } } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthReportEntry` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthReportEntry` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct HealthReportEntry { public System.Collections.Generic.IReadOnlyDictionary Data { get => throw null; } @@ -67,7 +67,7 @@ namespace Microsoft public System.Collections.Generic.IEnumerable Tags { get => throw null; } } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HealthStatus : int { Degraded = 1, @@ -75,13 +75,13 @@ namespace Microsoft Unhealthy = 0, } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHealthCheck { System.Threading.Tasks.Task CheckHealthAsync(Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckContext context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheckPublisher` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheckPublisher` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHealthCheckPublisher { System.Threading.Tasks.Task PublishAsync(Microsoft.Extensions.Diagnostics.HealthChecks.HealthReport report, System.Threading.CancellationToken cancellationToken); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.cs index 82cc6e67f1f..e8559b0efa3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.cs @@ -6,13 +6,13 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.HealthCheckServiceCollectionExtensions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.HealthCheckServiceCollectionExtensions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HealthCheckServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddHealthChecks(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HealthChecksBuilderAddCheckExtensions { public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddCheck(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck instance, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable tags) => throw null; @@ -25,7 +25,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddTypeActivatedCheck(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, params object[] args) where T : class, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.HealthChecksBuilderDelegateExtensions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.HealthChecksBuilderDelegateExtensions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HealthChecksBuilderDelegateExtensions { public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddAsyncCheck(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, System.Func> check, System.Collections.Generic.IEnumerable tags) => throw null; @@ -38,7 +38,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddCheck(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, System.Func check, System.Collections.Generic.IEnumerable tags = default(System.Collections.Generic.IEnumerable), System.TimeSpan? timeout = default(System.TimeSpan?)) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHealthChecksBuilder { Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder Add(Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration registration); @@ -50,7 +50,7 @@ namespace Microsoft { namespace HealthChecks { - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckPublisherOptions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckPublisherOptions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthCheckPublisherOptions { public System.TimeSpan Delay { get => throw null; set => throw null; } @@ -60,7 +60,7 @@ namespace Microsoft public System.TimeSpan Timeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckService` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckService` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HealthCheckService { public System.Threading.Tasks.Task CheckHealthAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -68,7 +68,7 @@ namespace Microsoft protected HealthCheckService() => throw null; } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckServiceOptions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckServiceOptions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthCheckServiceOptions { public HealthCheckServiceOptions() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Features.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Features.cs index 4d257c86a71..fadde3ca760 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Features.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Features.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Features { - // Generated from `Microsoft.AspNetCore.Http.Features.FeatureCollection` in `Microsoft.Extensions.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.FeatureCollection` in `Microsoft.Extensions.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FeatureCollection : Microsoft.AspNetCore.Http.Features.IFeatureCollection, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { public FeatureCollection() => throw null; @@ -23,7 +23,14 @@ namespace Microsoft public void Set(TFeature instance) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.FeatureReference<>` in `Microsoft.Extensions.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.FeatureCollectionExtensions` in `Microsoft.Extensions.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public static class FeatureCollectionExtensions + { + public static object GetRequiredFeature(this Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection, System.Type key) => throw null; + public static TFeature GetRequiredFeature(this Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection) => throw null; + } + + // Generated from `Microsoft.AspNetCore.Http.Features.FeatureReference<>` in `Microsoft.Extensions.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FeatureReference { public static Microsoft.AspNetCore.Http.Features.FeatureReference Default; @@ -32,7 +39,7 @@ namespace Microsoft public T Update(Microsoft.AspNetCore.Http.Features.IFeatureCollection features, T feature) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.FeatureReferences<>` in `Microsoft.Extensions.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.FeatureReferences<>` in `Microsoft.Extensions.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FeatureReferences { public TCache Cache; @@ -46,7 +53,7 @@ namespace Microsoft public int Revision { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IFeatureCollection` in `Microsoft.Extensions.Features, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Http.Features.IFeatureCollection` in `Microsoft.Extensions.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFeatureCollection : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { TFeature Get(); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Abstractions.cs index fda24f3b741..92ab3d2dcaf 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Abstractions.cs @@ -6,13 +6,13 @@ namespace Microsoft { namespace FileProviders { - // Generated from `Microsoft.Extensions.FileProviders.IDirectoryContents` in `Microsoft.Extensions.FileProviders.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.IDirectoryContents` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDirectoryContents : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { bool Exists { get; } } - // Generated from `Microsoft.Extensions.FileProviders.IFileInfo` in `Microsoft.Extensions.FileProviders.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.IFileInfo` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFileInfo { System.IO.Stream CreateReadStream(); @@ -24,7 +24,7 @@ namespace Microsoft string PhysicalPath { get; } } - // Generated from `Microsoft.Extensions.FileProviders.IFileProvider` in `Microsoft.Extensions.FileProviders.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.IFileProvider` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFileProvider { Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string subpath); @@ -32,7 +32,7 @@ namespace Microsoft Microsoft.Extensions.Primitives.IChangeToken Watch(string filter); } - // Generated from `Microsoft.Extensions.FileProviders.NotFoundDirectoryContents` in `Microsoft.Extensions.FileProviders.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.NotFoundDirectoryContents` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NotFoundDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public bool Exists { get => throw null; } @@ -42,7 +42,7 @@ namespace Microsoft public static Microsoft.Extensions.FileProviders.NotFoundDirectoryContents Singleton { get => throw null; } } - // Generated from `Microsoft.Extensions.FileProviders.NotFoundFileInfo` in `Microsoft.Extensions.FileProviders.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.NotFoundFileInfo` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NotFoundFileInfo : Microsoft.Extensions.FileProviders.IFileInfo { public System.IO.Stream CreateReadStream() => throw null; @@ -55,7 +55,7 @@ namespace Microsoft public string PhysicalPath { get => throw null; } } - // Generated from `Microsoft.Extensions.FileProviders.NullChangeToken` in `Microsoft.Extensions.FileProviders.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.NullChangeToken` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullChangeToken : Microsoft.Extensions.Primitives.IChangeToken { public bool ActiveChangeCallbacks { get => throw null; } @@ -64,7 +64,7 @@ namespace Microsoft public static Microsoft.Extensions.FileProviders.NullChangeToken Singleton { get => throw null; } } - // Generated from `Microsoft.Extensions.FileProviders.NullFileProvider` in `Microsoft.Extensions.FileProviders.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.NullFileProvider` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullFileProvider : Microsoft.Extensions.FileProviders.IFileProvider { public Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string subpath) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Composite.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Composite.cs index bfd688aeb90..bffe7a2a01b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Composite.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Composite.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace FileProviders { - // Generated from `Microsoft.Extensions.FileProviders.CompositeFileProvider` in `Microsoft.Extensions.FileProviders.Composite, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.CompositeFileProvider` in `Microsoft.Extensions.FileProviders.Composite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeFileProvider : Microsoft.Extensions.FileProviders.IFileProvider { public CompositeFileProvider(System.Collections.Generic.IEnumerable fileProviders) => throw null; @@ -19,7 +19,7 @@ namespace Microsoft namespace Composite { - // Generated from `Microsoft.Extensions.FileProviders.Composite.CompositeDirectoryContents` in `Microsoft.Extensions.FileProviders.Composite, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.Composite.CompositeDirectoryContents` in `Microsoft.Extensions.FileProviders.Composite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public CompositeDirectoryContents(System.Collections.Generic.IList fileProviders, string subpath) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Embedded.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Embedded.cs index 45bc49754ea..ac8922d29ff 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Embedded.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Embedded.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace FileProviders { - // Generated from `Microsoft.Extensions.FileProviders.EmbeddedFileProvider` in `Microsoft.Extensions.FileProviders.Embedded, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.EmbeddedFileProvider` in `Microsoft.Extensions.FileProviders.Embedded, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EmbeddedFileProvider : Microsoft.Extensions.FileProviders.IFileProvider { public EmbeddedFileProvider(System.Reflection.Assembly assembly) => throw null; @@ -16,7 +16,7 @@ namespace Microsoft public Microsoft.Extensions.Primitives.IChangeToken Watch(string pattern) => throw null; } - // Generated from `Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider` in `Microsoft.Extensions.FileProviders.Embedded, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider` in `Microsoft.Extensions.FileProviders.Embedded, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ManifestEmbeddedFileProvider : Microsoft.Extensions.FileProviders.IFileProvider { public System.Reflection.Assembly Assembly { get => throw null; } @@ -31,7 +31,7 @@ namespace Microsoft namespace Embedded { - // Generated from `Microsoft.Extensions.FileProviders.Embedded.EmbeddedResourceFileInfo` in `Microsoft.Extensions.FileProviders.Embedded, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.Embedded.EmbeddedResourceFileInfo` in `Microsoft.Extensions.FileProviders.Embedded, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EmbeddedResourceFileInfo : Microsoft.Extensions.FileProviders.IFileInfo { public System.IO.Stream CreateReadStream() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Physical.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Physical.cs index 5e0496a7efe..938b1ed4b0b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Physical.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Physical.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace FileProviders { - // Generated from `Microsoft.Extensions.FileProviders.PhysicalFileProvider` in `Microsoft.Extensions.FileProviders.Physical, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.PhysicalFileProvider` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalFileProvider : Microsoft.Extensions.FileProviders.IFileProvider, System.IDisposable { public void Dispose() => throw null; @@ -24,7 +24,7 @@ namespace Microsoft namespace Internal { - // Generated from `Microsoft.Extensions.FileProviders.Internal.PhysicalDirectoryContents` in `Microsoft.Extensions.FileProviders.Physical, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.Internal.PhysicalDirectoryContents` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public bool Exists { get => throw null; } @@ -37,7 +37,7 @@ namespace Microsoft } namespace Physical { - // Generated from `Microsoft.Extensions.FileProviders.Physical.ExclusionFilters` in `Microsoft.Extensions.FileProviders.Physical, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.Physical.ExclusionFilters` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum ExclusionFilters : int { @@ -48,7 +48,7 @@ namespace Microsoft System = 4, } - // Generated from `Microsoft.Extensions.FileProviders.Physical.PhysicalDirectoryInfo` in `Microsoft.Extensions.FileProviders.Physical, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.Physical.PhysicalDirectoryInfo` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalDirectoryInfo : Microsoft.Extensions.FileProviders.IFileInfo { public System.IO.Stream CreateReadStream() => throw null; @@ -61,7 +61,7 @@ namespace Microsoft public string PhysicalPath { get => throw null; } } - // Generated from `Microsoft.Extensions.FileProviders.Physical.PhysicalFileInfo` in `Microsoft.Extensions.FileProviders.Physical, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.Physical.PhysicalFileInfo` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalFileInfo : Microsoft.Extensions.FileProviders.IFileInfo { public System.IO.Stream CreateReadStream() => throw null; @@ -74,7 +74,7 @@ namespace Microsoft public string PhysicalPath { get => throw null; } } - // Generated from `Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher` in `Microsoft.Extensions.FileProviders.Physical, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalFilesWatcher : System.IDisposable { public Microsoft.Extensions.Primitives.IChangeToken CreateFileChangeToken(string filter) => throw null; @@ -85,7 +85,7 @@ namespace Microsoft // ERR: Stub generator didn't handle member: ~PhysicalFilesWatcher } - // Generated from `Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken` in `Microsoft.Extensions.FileProviders.Physical, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PollingFileChangeToken : Microsoft.Extensions.Primitives.IChangeToken { public bool ActiveChangeCallbacks { get => throw null; } @@ -94,7 +94,7 @@ namespace Microsoft public System.IDisposable RegisterChangeCallback(System.Action callback, object state) => throw null; } - // Generated from `Microsoft.Extensions.FileProviders.Physical.PollingWildCardChangeToken` in `Microsoft.Extensions.FileProviders.Physical, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileProviders.Physical.PollingWildCardChangeToken` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PollingWildCardChangeToken : Microsoft.Extensions.Primitives.IChangeToken { public bool ActiveChangeCallbacks { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileSystemGlobbing.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileSystemGlobbing.cs index 7e30563d837..6661a0412cf 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileSystemGlobbing.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileSystemGlobbing.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace FileSystemGlobbing { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FilePatternMatch : System.IEquatable { public bool Equals(Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch other) => throw null; @@ -18,7 +18,7 @@ namespace Microsoft public string Stem { get => throw null; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.InMemoryDirectoryInfo` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.InMemoryDirectoryInfo` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InMemoryDirectoryInfo : Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase { public override System.Collections.Generic.IEnumerable EnumerateFileSystemInfos() => throw null; @@ -30,7 +30,7 @@ namespace Microsoft public override Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase ParentDirectory { get => throw null; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Matcher` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Matcher` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Matcher { public virtual Microsoft.Extensions.FileSystemGlobbing.Matcher AddExclude(string pattern) => throw null; @@ -40,7 +40,7 @@ namespace Microsoft public Matcher(System.StringComparison comparisonType) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.MatcherExtensions` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.MatcherExtensions` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MatcherExtensions { public static void AddExcludePatterns(this Microsoft.Extensions.FileSystemGlobbing.Matcher matcher, params System.Collections.Generic.IEnumerable[] excludePatternsGroups) => throw null; @@ -52,7 +52,7 @@ namespace Microsoft public static Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult Match(this Microsoft.Extensions.FileSystemGlobbing.Matcher matcher, string rootDir, string file) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PatternMatchingResult { public System.Collections.Generic.IEnumerable Files { get => throw null; set => throw null; } @@ -63,7 +63,7 @@ namespace Microsoft namespace Abstractions { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class DirectoryInfoBase : Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase { protected DirectoryInfoBase() => throw null; @@ -72,7 +72,7 @@ namespace Microsoft public abstract Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase GetFile(string path); } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoWrapper` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoWrapper` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DirectoryInfoWrapper : Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase { public DirectoryInfoWrapper(System.IO.DirectoryInfo directoryInfo) => throw null; @@ -84,13 +84,13 @@ namespace Microsoft public override Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase ParentDirectory { get => throw null; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class FileInfoBase : Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase { protected FileInfoBase() => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoWrapper` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoWrapper` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileInfoWrapper : Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase { public FileInfoWrapper(System.IO.FileInfo fileInfo) => throw null; @@ -99,7 +99,7 @@ namespace Microsoft public override Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase ParentDirectory { get => throw null; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class FileSystemInfoBase { protected FileSystemInfoBase() => throw null; @@ -111,27 +111,27 @@ namespace Microsoft } namespace Internal { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.ILinearPattern` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.ILinearPattern` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILinearPattern : Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern { System.Collections.Generic.IList Segments { get; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPathSegment { bool CanProduceStem { get; } bool Match(string value); } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPattern { Microsoft.Extensions.FileSystemGlobbing.Internal.IPatternContext CreatePatternContextForExclude(); Microsoft.Extensions.FileSystemGlobbing.Internal.IPatternContext CreatePatternContextForInclude(); } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.IPatternContext` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.IPatternContext` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPatternContext { void Declare(System.Action onDeclare); @@ -141,7 +141,7 @@ namespace Microsoft Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase file); } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.IRaggedPattern` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.IRaggedPattern` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRaggedPattern : Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern { System.Collections.Generic.IList> Contains { get; } @@ -150,14 +150,14 @@ namespace Microsoft System.Collections.Generic.IList StartsWith { get; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MatcherContext { public Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult Execute() => throw null; public MatcherContext(System.Collections.Generic.IEnumerable includePatterns, System.Collections.Generic.IEnumerable excludePatterns, Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase directoryInfo, System.StringComparison comparison) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PatternTestResult { public static Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult Failed; @@ -169,7 +169,7 @@ namespace Microsoft namespace PathSegments { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.CurrentPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.CurrentPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CurrentPathSegment : Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment { public bool CanProduceStem { get => throw null; } @@ -177,7 +177,7 @@ namespace Microsoft public bool Match(string value) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.LiteralPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.LiteralPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LiteralPathSegment : Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment { public bool CanProduceStem { get => throw null; } @@ -188,7 +188,7 @@ namespace Microsoft public string Value { get => throw null; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.ParentPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.ParentPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ParentPathSegment : Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment { public bool CanProduceStem { get => throw null; } @@ -196,7 +196,7 @@ namespace Microsoft public ParentPathSegment() => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.RecursiveWildcardSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.RecursiveWildcardSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RecursiveWildcardSegment : Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment { public bool CanProduceStem { get => throw null; } @@ -204,7 +204,7 @@ namespace Microsoft public RecursiveWildcardSegment() => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.WildcardPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.WildcardPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WildcardPathSegment : Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment { public string BeginsWith { get => throw null; } @@ -219,8 +219,8 @@ namespace Microsoft } namespace PatternContexts { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContext<>` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` - public abstract class PatternContext : Microsoft.Extensions.FileSystemGlobbing.Internal.IPatternContext + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContext<>` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public abstract class PatternContext : Microsoft.Extensions.FileSystemGlobbing.Internal.IPatternContext where TFrame : struct { public virtual void Declare(System.Action declare) => throw null; protected TFrame Frame; @@ -233,10 +233,10 @@ namespace Microsoft public abstract Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase file); } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinear` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinear` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PatternContextLinear : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContext { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinear+FrameData` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinear+FrameData` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FrameData { // Stub generator skipped constructor @@ -257,14 +257,14 @@ namespace Microsoft protected bool TestMatchingSegment(string value) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinearExclude` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinearExclude` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PatternContextLinearExclude : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinear { public PatternContextLinearExclude(Microsoft.Extensions.FileSystemGlobbing.Internal.ILinearPattern pattern) : base(default(Microsoft.Extensions.FileSystemGlobbing.Internal.ILinearPattern)) => throw null; public override bool Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase directory) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinearInclude` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinearInclude` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PatternContextLinearInclude : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinear { public override void Declare(System.Action onDeclare) => throw null; @@ -272,10 +272,10 @@ namespace Microsoft public override bool Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase directory) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRagged` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRagged` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PatternContextRagged : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContext { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRagged+FrameData` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRagged+FrameData` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FrameData { public int BacktrackAvailable; @@ -302,14 +302,14 @@ namespace Microsoft protected bool TestMatchingSegment(string value) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRaggedExclude` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRaggedExclude` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PatternContextRaggedExclude : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRagged { public PatternContextRaggedExclude(Microsoft.Extensions.FileSystemGlobbing.Internal.IRaggedPattern pattern) : base(default(Microsoft.Extensions.FileSystemGlobbing.Internal.IRaggedPattern)) => throw null; public override bool Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase directory) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRaggedInclude` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRaggedInclude` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PatternContextRaggedInclude : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRagged { public override void Declare(System.Action onDeclare) => throw null; @@ -320,7 +320,7 @@ namespace Microsoft } namespace Patterns { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns.PatternBuilder` in `Microsoft.Extensions.FileSystemGlobbing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns.PatternBuilder` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PatternBuilder { public Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern Build(string pattern) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.Abstractions.cs index 046a467725d..ed1aa1ed9fa 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.Abstractions.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceCollectionHostedServiceExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.ServiceCollectionHostedServiceExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ServiceCollectionHostedServiceExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHostedService(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where THostedService : class, Microsoft.Extensions.Hosting.IHostedService => throw null; @@ -16,7 +16,7 @@ namespace Microsoft } namespace Hosting { - // Generated from `Microsoft.Extensions.Hosting.BackgroundService` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.BackgroundService` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class BackgroundService : Microsoft.Extensions.Hosting.IHostedService, System.IDisposable { protected BackgroundService() => throw null; @@ -27,7 +27,7 @@ namespace Microsoft public virtual System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.EnvironmentName` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.EnvironmentName` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EnvironmentName { public static string Development; @@ -35,7 +35,7 @@ namespace Microsoft public static string Staging; } - // Generated from `Microsoft.Extensions.Hosting.Environments` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.Environments` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Environments { public static string Development; @@ -43,7 +43,15 @@ namespace Microsoft public static string Staging; } - // Generated from `Microsoft.Extensions.Hosting.HostBuilderContext` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.HostAbortedException` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class HostAbortedException : System.Exception + { + public HostAbortedException() => throw null; + public HostAbortedException(string message) => throw null; + public HostAbortedException(string message, System.Exception innerException) => throw null; + } + + // Generated from `Microsoft.Extensions.Hosting.HostBuilderContext` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostBuilderContext { public Microsoft.Extensions.Configuration.IConfiguration Configuration { get => throw null; set => throw null; } @@ -52,7 +60,7 @@ namespace Microsoft public System.Collections.Generic.IDictionary Properties { get => throw null; } } - // Generated from `Microsoft.Extensions.Hosting.HostDefaults` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.HostDefaults` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostDefaults { public static string ApplicationKey; @@ -60,7 +68,7 @@ namespace Microsoft public static string EnvironmentKey; } - // Generated from `Microsoft.Extensions.Hosting.HostEnvironmentEnvExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.HostEnvironmentEnvExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostEnvironmentEnvExtensions { public static bool IsDevelopment(this Microsoft.Extensions.Hosting.IHostEnvironment hostEnvironment) => throw null; @@ -69,14 +77,14 @@ namespace Microsoft public static bool IsStaging(this Microsoft.Extensions.Hosting.IHostEnvironment hostEnvironment) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.HostingAbstractionsHostBuilderExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.HostingAbstractionsHostBuilderExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostingAbstractionsHostBuilderExtensions { public static Microsoft.Extensions.Hosting.IHost Start(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder) => throw null; public static System.Threading.Tasks.Task StartAsync(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostingAbstractionsHostExtensions { public static void Run(this Microsoft.Extensions.Hosting.IHost host) => throw null; @@ -87,7 +95,7 @@ namespace Microsoft public static System.Threading.Tasks.Task WaitForShutdownAsync(this Microsoft.Extensions.Hosting.IHost host, System.Threading.CancellationToken token = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.HostingEnvironmentExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.HostingEnvironmentExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostingEnvironmentExtensions { public static bool IsDevelopment(this Microsoft.Extensions.Hosting.IHostingEnvironment hostingEnvironment) => throw null; @@ -96,7 +104,7 @@ namespace Microsoft public static bool IsStaging(this Microsoft.Extensions.Hosting.IHostingEnvironment hostingEnvironment) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.IApplicationLifetime` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.IApplicationLifetime` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationLifetime { System.Threading.CancellationToken ApplicationStarted { get; } @@ -105,7 +113,7 @@ namespace Microsoft void StopApplication(); } - // Generated from `Microsoft.Extensions.Hosting.IHost` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.IHost` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHost : System.IDisposable { System.IServiceProvider Services { get; } @@ -113,7 +121,7 @@ namespace Microsoft System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.Extensions.Hosting.IHostApplicationLifetime` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.IHostApplicationLifetime` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostApplicationLifetime { System.Threading.CancellationToken ApplicationStarted { get; } @@ -122,7 +130,7 @@ namespace Microsoft void StopApplication(); } - // Generated from `Microsoft.Extensions.Hosting.IHostBuilder` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.IHostBuilder` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostBuilder { Microsoft.Extensions.Hosting.IHost Build(); @@ -135,7 +143,7 @@ namespace Microsoft Microsoft.Extensions.Hosting.IHostBuilder UseServiceProviderFactory(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory factory); } - // Generated from `Microsoft.Extensions.Hosting.IHostEnvironment` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.IHostEnvironment` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostEnvironment { string ApplicationName { get; set; } @@ -144,21 +152,21 @@ namespace Microsoft string EnvironmentName { get; set; } } - // Generated from `Microsoft.Extensions.Hosting.IHostLifetime` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.IHostLifetime` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostLifetime { System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken); System.Threading.Tasks.Task WaitForStartAsync(System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.Extensions.Hosting.IHostedService` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.IHostedService` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostedService { System.Threading.Tasks.Task StartAsync(System.Threading.CancellationToken cancellationToken); System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.Extensions.Hosting.IHostingEnvironment` in `Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.IHostingEnvironment` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostingEnvironment { string ApplicationName { get; set; } @@ -170,16 +178,3 @@ namespace Microsoft } } } -namespace System -{ - namespace Diagnostics - { - namespace CodeAnalysis - { - /* Duplicate type 'DynamicallyAccessedMemberTypes' is not stubbed in this assembly 'Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'DynamicallyAccessedMembersAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.cs index 8dc9909fe94..bee227262b5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.OptionsBuilderExtensions` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.OptionsBuilderExtensions` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OptionsBuilderExtensions { public static Microsoft.Extensions.Options.OptionsBuilder ValidateOnStart(this Microsoft.Extensions.Options.OptionsBuilder optionsBuilder) where TOptions : class => throw null; @@ -15,28 +15,56 @@ namespace Microsoft } namespace Hosting { - // Generated from `Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum BackgroundServiceExceptionBehavior : int { Ignore = 1, StopHost = 0, } - // Generated from `Microsoft.Extensions.Hosting.ConsoleLifetimeOptions` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.ConsoleLifetimeOptions` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsoleLifetimeOptions { public ConsoleLifetimeOptions() => throw null; public bool SuppressStatusMessages { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Hosting.Host` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.Host` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Host { + public static Microsoft.Extensions.Hosting.HostApplicationBuilder CreateApplicationBuilder() => throw null; + public static Microsoft.Extensions.Hosting.HostApplicationBuilder CreateApplicationBuilder(string[] args) => throw null; public static Microsoft.Extensions.Hosting.IHostBuilder CreateDefaultBuilder() => throw null; public static Microsoft.Extensions.Hosting.IHostBuilder CreateDefaultBuilder(string[] args) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.HostBuilder` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.HostApplicationBuilder` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class HostApplicationBuilder + { + public Microsoft.Extensions.Hosting.IHost Build() => throw null; + public Microsoft.Extensions.Configuration.ConfigurationManager Configuration { get => throw null; } + public void ConfigureContainer(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory factory, System.Action configure = default(System.Action)) => throw null; + public Microsoft.Extensions.Hosting.IHostEnvironment Environment { get => throw null; } + public HostApplicationBuilder() => throw null; + public HostApplicationBuilder(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings settings) => throw null; + public HostApplicationBuilder(string[] args) => throw null; + public Microsoft.Extensions.Logging.ILoggingBuilder Logging { get => throw null; } + public Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get => throw null; } + } + + // Generated from `Microsoft.Extensions.Hosting.HostApplicationBuilderSettings` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public class HostApplicationBuilderSettings + { + public string ApplicationName { get => throw null; set => throw null; } + public string[] Args { get => throw null; set => throw null; } + public Microsoft.Extensions.Configuration.ConfigurationManager Configuration { get => throw null; set => throw null; } + public string ContentRootPath { get => throw null; set => throw null; } + public bool DisableDefaults { get => throw null; set => throw null; } + public string EnvironmentName { get => throw null; set => throw null; } + public HostApplicationBuilderSettings() => throw null; + } + + // Generated from `Microsoft.Extensions.Hosting.HostBuilder` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostBuilder : Microsoft.Extensions.Hosting.IHostBuilder { public Microsoft.Extensions.Hosting.IHost Build() => throw null; @@ -50,7 +78,7 @@ namespace Microsoft public Microsoft.Extensions.Hosting.IHostBuilder UseServiceProviderFactory(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory factory) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.HostOptions` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.HostOptions` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostOptions { public Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior BackgroundServiceExceptionBehavior { get => throw null; set => throw null; } @@ -58,7 +86,7 @@ namespace Microsoft public System.TimeSpan ShutdownTimeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Hosting.HostingHostBuilderExtensions` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.HostingHostBuilderExtensions` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostingHostBuilderExtensions { public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureAppConfiguration(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action configureDelegate) => throw null; @@ -81,7 +109,7 @@ namespace Microsoft namespace Internal { - // Generated from `Microsoft.Extensions.Hosting.Internal.ApplicationLifetime` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.Internal.ApplicationLifetime` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationLifetime : Microsoft.Extensions.Hosting.IApplicationLifetime, Microsoft.Extensions.Hosting.IHostApplicationLifetime { public ApplicationLifetime(Microsoft.Extensions.Logging.ILogger logger) => throw null; @@ -93,7 +121,7 @@ namespace Microsoft public void StopApplication() => throw null; } - // Generated from `Microsoft.Extensions.Hosting.Internal.ConsoleLifetime` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.Internal.ConsoleLifetime` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsoleLifetime : Microsoft.Extensions.Hosting.IHostLifetime, System.IDisposable { public ConsoleLifetime(Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Hosting.IHostEnvironment environment, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime, Microsoft.Extensions.Options.IOptions hostOptions) => throw null; @@ -103,7 +131,7 @@ namespace Microsoft public System.Threading.Tasks.Task WaitForStartAsync(System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.Internal.HostingEnvironment` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Hosting.Internal.HostingEnvironment` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostingEnvironment : Microsoft.Extensions.Hosting.IHostEnvironment, Microsoft.Extensions.Hosting.IHostingEnvironment { public string ApplicationName { get => throw null; set => throw null; } @@ -117,34 +145,3 @@ namespace Microsoft } } } -namespace System -{ - namespace Diagnostics - { - namespace CodeAnalysis - { - /* Duplicate type 'DynamicallyAccessedMemberTypes' is not stubbed in this assembly 'Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'DynamicallyAccessedMembersAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - } - } - namespace Runtime - { - namespace Versioning - { - /* Duplicate type 'OSPlatformAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'SupportedOSPlatformAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'SupportedOSPlatformGuardAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'TargetPlatformAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'UnsupportedOSPlatformAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'UnsupportedOSPlatformGuardAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Http.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Http.cs index 1129a90710b..abd4e465a59 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Http.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Http.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.HttpClientBuilderExtensions` in `Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.HttpClientBuilderExtensions` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpClientBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder AddHttpMessageHandler(this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder, System.Func configureHandler) => throw null; @@ -27,7 +27,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder SetHandlerLifetime(this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder, System.TimeSpan handlerLifetime) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.HttpClientFactoryServiceCollectionExtensions` in `Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.HttpClientFactoryServiceCollectionExtensions` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpClientFactoryServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHttpClient(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -52,7 +52,7 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder AddHttpClient(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, System.Action configureClient) where TClient : class => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.IHttpClientBuilder` in `Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.IHttpClientBuilder` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpClientBuilder { string Name { get; } @@ -62,7 +62,7 @@ namespace Microsoft } namespace Http { - // Generated from `Microsoft.Extensions.Http.HttpClientFactoryOptions` in `Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Http.HttpClientFactoryOptions` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpClientFactoryOptions { public System.TimeSpan HandlerLifetime { get => throw null; set => throw null; } @@ -73,7 +73,7 @@ namespace Microsoft public bool SuppressHandlerScope { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Http.HttpMessageHandlerBuilder` in `Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Http.HttpMessageHandlerBuilder` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HttpMessageHandlerBuilder { public abstract System.Collections.Generic.IList AdditionalHandlers { get; } @@ -85,13 +85,13 @@ namespace Microsoft public virtual System.IServiceProvider Services { get => throw null; } } - // Generated from `Microsoft.Extensions.Http.IHttpMessageHandlerBuilderFilter` in `Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Http.IHttpMessageHandlerBuilderFilter` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpMessageHandlerBuilderFilter { System.Action Configure(System.Action next); } - // Generated from `Microsoft.Extensions.Http.ITypedHttpClientFactory<>` in `Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Http.ITypedHttpClientFactory<>` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITypedHttpClientFactory { TClient CreateClient(System.Net.Http.HttpClient httpClient); @@ -99,7 +99,7 @@ namespace Microsoft namespace Logging { - // Generated from `Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler` in `Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggingHttpMessageHandler : System.Net.Http.DelegatingHandler { public LoggingHttpMessageHandler(Microsoft.Extensions.Logging.ILogger logger) => throw null; @@ -107,7 +107,7 @@ namespace Microsoft protected internal override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler` in `Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggingScopeHttpMessageHandler : System.Net.Http.DelegatingHandler { public LoggingScopeHttpMessageHandler(Microsoft.Extensions.Logging.ILogger logger) => throw null; @@ -121,39 +121,29 @@ namespace Microsoft } namespace System { - namespace Diagnostics - { - namespace CodeAnalysis - { - /* Duplicate type 'DynamicallyAccessedMemberTypes' is not stubbed in this assembly 'Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'DynamicallyAccessedMembersAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - } - } namespace Net { namespace Http { - // Generated from `System.Net.Http.HttpClientFactoryExtensions` in `Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `System.Net.Http.HttpClientFactoryExtensions` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpClientFactoryExtensions { public static System.Net.Http.HttpClient CreateClient(this System.Net.Http.IHttpClientFactory factory) => throw null; } - // Generated from `System.Net.Http.HttpMessageHandlerFactoryExtensions` in `Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `System.Net.Http.HttpMessageHandlerFactoryExtensions` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpMessageHandlerFactoryExtensions { public static System.Net.Http.HttpMessageHandler CreateHandler(this System.Net.Http.IHttpMessageHandlerFactory factory) => throw null; } - // Generated from `System.Net.Http.IHttpClientFactory` in `Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `System.Net.Http.IHttpClientFactory` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpClientFactory { System.Net.Http.HttpClient CreateClient(string name); } - // Generated from `System.Net.Http.IHttpMessageHandlerFactory` in `Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `System.Net.Http.IHttpMessageHandlerFactory` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpMessageHandlerFactory { System.Net.Http.HttpMessageHandler CreateHandler(string name); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Core.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Core.cs index ae9a9d1d87e..04d91f6d3ce 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Core.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Core.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Identity { - // Generated from `Microsoft.AspNetCore.Identity.AuthenticatorTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.AuthenticatorTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticatorTokenProvider : Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider where TUser : class { public AuthenticatorTokenProvider() => throw null; @@ -15,7 +15,7 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ValidateAsync(string purpose, string token, Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.ClaimsIdentityOptions` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.ClaimsIdentityOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClaimsIdentityOptions { public ClaimsIdentityOptions() => throw null; @@ -26,7 +26,7 @@ namespace Microsoft public string UserNameClaimType { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.DefaultPersonalDataProtector` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.DefaultPersonalDataProtector` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultPersonalDataProtector : Microsoft.AspNetCore.Identity.IPersonalDataProtector { public DefaultPersonalDataProtector(Microsoft.AspNetCore.Identity.ILookupProtectorKeyRing keyRing, Microsoft.AspNetCore.Identity.ILookupProtector protector) => throw null; @@ -34,14 +34,14 @@ namespace Microsoft public virtual string Unprotect(string data) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.DefaultUserConfirmation<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.DefaultUserConfirmation<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultUserConfirmation : Microsoft.AspNetCore.Identity.IUserConfirmation where TUser : class { public DefaultUserConfirmation() => throw null; public virtual System.Threading.Tasks.Task IsConfirmedAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.EmailTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.EmailTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EmailTokenProvider : Microsoft.AspNetCore.Identity.TotpSecurityStampBasedTokenProvider where TUser : class { public override System.Threading.Tasks.Task CanGenerateTwoFactorTokenAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; @@ -49,21 +49,21 @@ namespace Microsoft public override System.Threading.Tasks.Task GetUserModifierAsync(string purpose, Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.ILookupNormalizer` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.ILookupNormalizer` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILookupNormalizer { string NormalizeEmail(string email); string NormalizeName(string name); } - // Generated from `Microsoft.AspNetCore.Identity.ILookupProtector` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.ILookupProtector` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILookupProtector { string Protect(string keyId, string data); string Unprotect(string keyId, string data); } - // Generated from `Microsoft.AspNetCore.Identity.ILookupProtectorKeyRing` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.ILookupProtectorKeyRing` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILookupProtectorKeyRing { string CurrentKeyId { get; } @@ -71,44 +71,44 @@ namespace Microsoft string this[string keyId] { get; } } - // Generated from `Microsoft.AspNetCore.Identity.IPasswordHasher<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IPasswordHasher<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPasswordHasher where TUser : class { string HashPassword(TUser user, string password); Microsoft.AspNetCore.Identity.PasswordVerificationResult VerifyHashedPassword(TUser user, string hashedPassword, string providedPassword); } - // Generated from `Microsoft.AspNetCore.Identity.IPasswordValidator<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IPasswordValidator<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPasswordValidator where TUser : class { System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user, string password); } - // Generated from `Microsoft.AspNetCore.Identity.IPersonalDataProtector` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IPersonalDataProtector` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPersonalDataProtector { string Protect(string data); string Unprotect(string data); } - // Generated from `Microsoft.AspNetCore.Identity.IProtectedUserStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IProtectedUserStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IProtectedUserStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { } - // Generated from `Microsoft.AspNetCore.Identity.IQueryableRoleStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IQueryableRoleStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IQueryableRoleStore : Microsoft.AspNetCore.Identity.IRoleStore, System.IDisposable where TRole : class { System.Linq.IQueryable Roles { get; } } - // Generated from `Microsoft.AspNetCore.Identity.IQueryableUserStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IQueryableUserStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IQueryableUserStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Linq.IQueryable Users { get; } } - // Generated from `Microsoft.AspNetCore.Identity.IRoleClaimStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IRoleClaimStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRoleClaimStore : Microsoft.AspNetCore.Identity.IRoleStore, System.IDisposable where TRole : class { System.Threading.Tasks.Task AddClaimAsync(TRole role, System.Security.Claims.Claim claim, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -116,7 +116,7 @@ namespace Microsoft System.Threading.Tasks.Task RemoveClaimAsync(TRole role, System.Security.Claims.Claim claim, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Identity.IRoleStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IRoleStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRoleStore : System.IDisposable where TRole : class { System.Threading.Tasks.Task CreateAsync(TRole role, System.Threading.CancellationToken cancellationToken); @@ -131,13 +131,13 @@ namespace Microsoft System.Threading.Tasks.Task UpdateAsync(TRole role, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IRoleValidator<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IRoleValidator<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRoleValidator where TRole : class { System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Identity.RoleManager manager, TRole role); } - // Generated from `Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserAuthenticationTokenStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetTokenAsync(TUser user, string loginProvider, string name, System.Threading.CancellationToken cancellationToken); @@ -145,14 +145,14 @@ namespace Microsoft System.Threading.Tasks.Task SetTokenAsync(TUser user, string loginProvider, string name, string value, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserAuthenticatorKeyStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserAuthenticatorKeyStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserAuthenticatorKeyStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetAuthenticatorKeyAsync(TUser user, System.Threading.CancellationToken cancellationToken); System.Threading.Tasks.Task SetAuthenticatorKeyAsync(TUser user, string key, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserClaimStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserClaimStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserClaimStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task AddClaimsAsync(TUser user, System.Collections.Generic.IEnumerable claims, System.Threading.CancellationToken cancellationToken); @@ -162,19 +162,19 @@ namespace Microsoft System.Threading.Tasks.Task ReplaceClaimAsync(TUser user, System.Security.Claims.Claim claim, System.Security.Claims.Claim newClaim, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserClaimsPrincipalFactory where TUser : class { System.Threading.Tasks.Task CreateAsync(TUser user); } - // Generated from `Microsoft.AspNetCore.Identity.IUserConfirmation<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserConfirmation<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserConfirmation where TUser : class { System.Threading.Tasks.Task IsConfirmedAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user); } - // Generated from `Microsoft.AspNetCore.Identity.IUserEmailStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserEmailStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserEmailStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task FindByEmailAsync(string normalizedEmail, System.Threading.CancellationToken cancellationToken); @@ -186,7 +186,7 @@ namespace Microsoft System.Threading.Tasks.Task SetNormalizedEmailAsync(TUser user, string normalizedEmail, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserLockoutStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserLockoutStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserLockoutStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetAccessFailedCountAsync(TUser user, System.Threading.CancellationToken cancellationToken); @@ -198,7 +198,7 @@ namespace Microsoft System.Threading.Tasks.Task SetLockoutEndDateAsync(TUser user, System.DateTimeOffset? lockoutEnd, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserLoginStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserLoginStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserLoginStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task AddLoginAsync(TUser user, Microsoft.AspNetCore.Identity.UserLoginInfo login, System.Threading.CancellationToken cancellationToken); @@ -207,7 +207,7 @@ namespace Microsoft System.Threading.Tasks.Task RemoveLoginAsync(TUser user, string loginProvider, string providerKey, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserPasswordStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserPasswordStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserPasswordStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetPasswordHashAsync(TUser user, System.Threading.CancellationToken cancellationToken); @@ -215,7 +215,7 @@ namespace Microsoft System.Threading.Tasks.Task SetPasswordHashAsync(TUser user, string passwordHash, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserPhoneNumberStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserPhoneNumberStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserPhoneNumberStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetPhoneNumberAsync(TUser user, System.Threading.CancellationToken cancellationToken); @@ -224,7 +224,7 @@ namespace Microsoft System.Threading.Tasks.Task SetPhoneNumberConfirmedAsync(TUser user, bool confirmed, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserRoleStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserRoleStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserRoleStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task AddToRoleAsync(TUser user, string roleName, System.Threading.CancellationToken cancellationToken); @@ -234,14 +234,14 @@ namespace Microsoft System.Threading.Tasks.Task RemoveFromRoleAsync(TUser user, string roleName, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserSecurityStampStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserSecurityStampStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserSecurityStampStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetSecurityStampAsync(TUser user, System.Threading.CancellationToken cancellationToken); System.Threading.Tasks.Task SetSecurityStampAsync(TUser user, string stamp, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserStore : System.IDisposable where TUser : class { System.Threading.Tasks.Task CreateAsync(TUser user, System.Threading.CancellationToken cancellationToken); @@ -256,7 +256,7 @@ namespace Microsoft System.Threading.Tasks.Task UpdateAsync(TUser user, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserTwoFactorRecoveryCodeStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserTwoFactorRecoveryCodeStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserTwoFactorRecoveryCodeStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task CountCodesAsync(TUser user, System.Threading.CancellationToken cancellationToken); @@ -264,14 +264,14 @@ namespace Microsoft System.Threading.Tasks.Task ReplaceCodesAsync(TUser user, System.Collections.Generic.IEnumerable recoveryCodes, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserTwoFactorStore<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserTwoFactorStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserTwoFactorStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetTwoFactorEnabledAsync(TUser user, System.Threading.CancellationToken cancellationToken); System.Threading.Tasks.Task SetTwoFactorEnabledAsync(TUser user, bool enabled, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserTwoFactorTokenProvider where TUser : class { System.Threading.Tasks.Task CanGenerateTwoFactorTokenAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user); @@ -279,13 +279,13 @@ namespace Microsoft System.Threading.Tasks.Task ValidateAsync(string purpose, string token, Microsoft.AspNetCore.Identity.UserManager manager, TUser user); } - // Generated from `Microsoft.AspNetCore.Identity.IUserValidator<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IUserValidator<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserValidator where TUser : class { System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user); } - // Generated from `Microsoft.AspNetCore.Identity.IdentityBuilder` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityBuilder` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityBuilder { public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddClaimsPrincipalFactory() where TFactory : class => throw null; @@ -309,7 +309,7 @@ namespace Microsoft public System.Type UserType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.IdentityError` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityError` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityError { public string Code { get => throw null; set => throw null; } @@ -317,7 +317,7 @@ namespace Microsoft public IdentityError() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityErrorDescriber` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityErrorDescriber` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityErrorDescriber { public virtual Microsoft.AspNetCore.Identity.IdentityError ConcurrencyFailure() => throw null; @@ -345,7 +345,7 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Identity.IdentityError UserNotInRole(string role) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityOptions` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityOptions { public Microsoft.AspNetCore.Identity.ClaimsIdentityOptions ClaimsIdentity { get => throw null; set => throw null; } @@ -358,7 +358,7 @@ namespace Microsoft public Microsoft.AspNetCore.Identity.UserOptions User { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.IdentityResult` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityResult` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityResult { public System.Collections.Generic.IEnumerable Errors { get => throw null; } @@ -369,7 +369,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.LockoutOptions` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.LockoutOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LockoutOptions { public bool AllowedForNewUsers { get => throw null; set => throw null; } @@ -378,7 +378,7 @@ namespace Microsoft public int MaxFailedAccessAttempts { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.PasswordHasher<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.PasswordHasher<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PasswordHasher : Microsoft.AspNetCore.Identity.IPasswordHasher where TUser : class { public virtual string HashPassword(TUser user, string password) => throw null; @@ -386,14 +386,14 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Identity.PasswordVerificationResult VerifyHashedPassword(TUser user, string hashedPassword, string providedPassword) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum PasswordHasherCompatibilityMode : int { IdentityV2 = 0, IdentityV3 = 1, } - // Generated from `Microsoft.AspNetCore.Identity.PasswordHasherOptions` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.PasswordHasherOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PasswordHasherOptions { public Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode CompatibilityMode { get => throw null; set => throw null; } @@ -401,7 +401,7 @@ namespace Microsoft public PasswordHasherOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.PasswordOptions` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.PasswordOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PasswordOptions { public PasswordOptions() => throw null; @@ -413,7 +413,7 @@ namespace Microsoft public int RequiredUniqueChars { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.PasswordValidator<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.PasswordValidator<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PasswordValidator : Microsoft.AspNetCore.Identity.IPasswordValidator where TUser : class { public Microsoft.AspNetCore.Identity.IdentityErrorDescriber Describer { get => throw null; } @@ -425,7 +425,7 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user, string password) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.PasswordVerificationResult` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.PasswordVerificationResult` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum PasswordVerificationResult : int { Failed = 0, @@ -433,13 +433,13 @@ namespace Microsoft SuccessRehashNeeded = 2, } - // Generated from `Microsoft.AspNetCore.Identity.PersonalDataAttribute` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.PersonalDataAttribute` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PersonalDataAttribute : System.Attribute { public PersonalDataAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.PhoneNumberTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.PhoneNumberTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhoneNumberTokenProvider : Microsoft.AspNetCore.Identity.TotpSecurityStampBasedTokenProvider where TUser : class { public override System.Threading.Tasks.Task CanGenerateTwoFactorTokenAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; @@ -447,13 +447,13 @@ namespace Microsoft public PhoneNumberTokenProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.ProtectedPersonalDataAttribute` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.ProtectedPersonalDataAttribute` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProtectedPersonalDataAttribute : Microsoft.AspNetCore.Identity.PersonalDataAttribute { public ProtectedPersonalDataAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.RoleManager<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.RoleManager<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoleManager : System.IDisposable where TRole : class { public virtual System.Threading.Tasks.Task AddClaimAsync(TRole role, System.Security.Claims.Claim claim) => throw null; @@ -487,14 +487,14 @@ namespace Microsoft protected virtual System.Threading.Tasks.Task ValidateRoleAsync(TRole role) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.RoleValidator<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.RoleValidator<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoleValidator : Microsoft.AspNetCore.Identity.IRoleValidator where TRole : class { public RoleValidator(Microsoft.AspNetCore.Identity.IdentityErrorDescriber errors = default(Microsoft.AspNetCore.Identity.IdentityErrorDescriber)) => throw null; public virtual System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Identity.RoleManager manager, TRole role) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.SignInOptions` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.SignInOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SignInOptions { public bool RequireConfirmedAccount { get => throw null; set => throw null; } @@ -503,7 +503,7 @@ namespace Microsoft public SignInOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.SignInResult` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.SignInResult` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SignInResult { public static Microsoft.AspNetCore.Identity.SignInResult Failed { get => throw null; } @@ -519,7 +519,7 @@ namespace Microsoft public static Microsoft.AspNetCore.Identity.SignInResult TwoFactorRequired { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.StoreOptions` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.StoreOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StoreOptions { public int MaxLengthForKeys { get => throw null; set => throw null; } @@ -527,7 +527,7 @@ namespace Microsoft public StoreOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.TokenOptions` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.TokenOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TokenOptions { public string AuthenticatorIssuer { get => throw null; set => throw null; } @@ -544,7 +544,7 @@ namespace Microsoft public TokenOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.TokenProviderDescriptor` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.TokenProviderDescriptor` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TokenProviderDescriptor { public object ProviderInstance { get => throw null; set => throw null; } @@ -552,7 +552,7 @@ namespace Microsoft public TokenProviderDescriptor(System.Type type) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.TotpSecurityStampBasedTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.TotpSecurityStampBasedTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TotpSecurityStampBasedTokenProvider : Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider where TUser : class { public abstract System.Threading.Tasks.Task CanGenerateTwoFactorTokenAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user); @@ -562,7 +562,7 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ValidateAsync(string purpose, string token, Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UpperInvariantLookupNormalizer` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.UpperInvariantLookupNormalizer` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UpperInvariantLookupNormalizer : Microsoft.AspNetCore.Identity.ILookupNormalizer { public string NormalizeEmail(string email) => throw null; @@ -570,7 +570,7 @@ namespace Microsoft public UpperInvariantLookupNormalizer() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<,>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<,>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserClaimsPrincipalFactory : Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory where TRole : class where TUser : class { protected override System.Threading.Tasks.Task GenerateClaimsAsync(TUser user) => throw null; @@ -578,7 +578,7 @@ namespace Microsoft public UserClaimsPrincipalFactory(Microsoft.AspNetCore.Identity.UserManager userManager, Microsoft.AspNetCore.Identity.RoleManager roleManager, Microsoft.Extensions.Options.IOptions options) : base(default(Microsoft.AspNetCore.Identity.UserManager), default(Microsoft.Extensions.Options.IOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserClaimsPrincipalFactory : Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory where TUser : class { public virtual System.Threading.Tasks.Task CreateAsync(TUser user) => throw null; @@ -588,7 +588,7 @@ namespace Microsoft public Microsoft.AspNetCore.Identity.UserManager UserManager { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.UserLoginInfo` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.UserLoginInfo` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserLoginInfo { public string LoginProvider { get => throw null; set => throw null; } @@ -597,7 +597,7 @@ namespace Microsoft public UserLoginInfo(string loginProvider, string providerKey, string displayName) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UserManager<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.UserManager<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserManager : System.IDisposable where TUser : class { public virtual System.Threading.Tasks.Task AccessFailedAsync(TUser user) => throw null; @@ -723,7 +723,7 @@ namespace Microsoft public virtual System.Threading.Tasks.Task VerifyUserTokenAsync(TUser user, string tokenProvider, string purpose, string token) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UserOptions` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.UserOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserOptions { public string AllowedUserNameCharacters { get => throw null; set => throw null; } @@ -731,7 +731,7 @@ namespace Microsoft public UserOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UserValidator<>` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.UserValidator<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserValidator : Microsoft.AspNetCore.Identity.IUserValidator where TUser : class { public Microsoft.AspNetCore.Identity.IdentityErrorDescriber Describer { get => throw null; } @@ -745,7 +745,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.IdentityServiceCollectionExtensions` in `Microsoft.AspNetCore.Identity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.IdentityServiceCollectionExtensions` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class IdentityServiceCollectionExtensions { public static Microsoft.AspNetCore.Identity.IdentityBuilder AddIdentityCore(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TUser : class => throw null; @@ -761,7 +761,7 @@ namespace System { namespace Claims { - // Generated from `System.Security.Claims.PrincipalExtensions` in `Microsoft.Extensions.Identity.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `System.Security.Claims.PrincipalExtensions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class PrincipalExtensions { public static string FindFirstValue(this System.Security.Claims.ClaimsPrincipal principal, string claimType) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Stores.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Stores.cs index e6208d9b957..081159b6170 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Stores.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Stores.cs @@ -6,14 +6,14 @@ namespace Microsoft { namespace Identity { - // Generated from `Microsoft.AspNetCore.Identity.IdentityRole` in `Microsoft.Extensions.Identity.Stores, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityRole` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityRole : Microsoft.AspNetCore.Identity.IdentityRole { public IdentityRole() => throw null; public IdentityRole(string roleName) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityRole<>` in `Microsoft.Extensions.Identity.Stores, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityRole<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityRole where TKey : System.IEquatable { public virtual string ConcurrencyStamp { get => throw null; set => throw null; } @@ -25,7 +25,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityRoleClaim<>` in `Microsoft.Extensions.Identity.Stores, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityRoleClaim<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityRoleClaim where TKey : System.IEquatable { public virtual string ClaimType { get => throw null; set => throw null; } @@ -37,14 +37,14 @@ namespace Microsoft public virtual System.Security.Claims.Claim ToClaim() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityUser` in `Microsoft.Extensions.Identity.Stores, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityUser` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityUser : Microsoft.AspNetCore.Identity.IdentityUser { public IdentityUser() => throw null; public IdentityUser(string userName) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityUser<>` in `Microsoft.Extensions.Identity.Stores, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityUser<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityUser where TKey : System.IEquatable { public virtual int AccessFailedCount { get => throw null; set => throw null; } @@ -67,7 +67,7 @@ namespace Microsoft public virtual string UserName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.IdentityUserClaim<>` in `Microsoft.Extensions.Identity.Stores, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityUserClaim<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityUserClaim where TKey : System.IEquatable { public virtual string ClaimType { get => throw null; set => throw null; } @@ -79,7 +79,7 @@ namespace Microsoft public virtual TKey UserId { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.IdentityUserLogin<>` in `Microsoft.Extensions.Identity.Stores, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityUserLogin<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityUserLogin where TKey : System.IEquatable { public IdentityUserLogin() => throw null; @@ -89,7 +89,7 @@ namespace Microsoft public virtual TKey UserId { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.IdentityUserRole<>` in `Microsoft.Extensions.Identity.Stores, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityUserRole<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityUserRole where TKey : System.IEquatable { public IdentityUserRole() => throw null; @@ -97,7 +97,7 @@ namespace Microsoft public virtual TKey UserId { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.IdentityUserToken<>` in `Microsoft.Extensions.Identity.Stores, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.IdentityUserToken<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityUserToken where TKey : System.IEquatable { public IdentityUserToken() => throw null; @@ -107,7 +107,7 @@ namespace Microsoft public virtual string Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.RoleStoreBase<,,,>` in `Microsoft.Extensions.Identity.Stores, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.RoleStoreBase<,,,>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RoleStoreBase : Microsoft.AspNetCore.Identity.IQueryableRoleStore, Microsoft.AspNetCore.Identity.IRoleClaimStore, Microsoft.AspNetCore.Identity.IRoleStore, System.IDisposable where TKey : System.IEquatable where TRole : Microsoft.AspNetCore.Identity.IdentityRole where TRoleClaim : Microsoft.AspNetCore.Identity.IdentityRoleClaim, new() where TUserRole : Microsoft.AspNetCore.Identity.IdentityUserRole, new() { public abstract System.Threading.Tasks.Task AddClaimAsync(TRole role, System.Security.Claims.Claim claim, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -133,7 +133,7 @@ namespace Microsoft public abstract System.Threading.Tasks.Task UpdateAsync(TRole role, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Identity.UserStoreBase<,,,,,,,>` in `Microsoft.Extensions.Identity.Stores, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.UserStoreBase<,,,,,,,>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class UserStoreBase : Microsoft.AspNetCore.Identity.UserStoreBase, Microsoft.AspNetCore.Identity.IUserRoleStore, Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TKey : System.IEquatable where TRole : Microsoft.AspNetCore.Identity.IdentityRole where TRoleClaim : Microsoft.AspNetCore.Identity.IdentityRoleClaim, new() where TUser : Microsoft.AspNetCore.Identity.IdentityUser where TUserClaim : Microsoft.AspNetCore.Identity.IdentityUserClaim, new() where TUserLogin : Microsoft.AspNetCore.Identity.IdentityUserLogin, new() where TUserRole : Microsoft.AspNetCore.Identity.IdentityUserRole, new() where TUserToken : Microsoft.AspNetCore.Identity.IdentityUserToken, new() { public abstract System.Threading.Tasks.Task AddToRoleAsync(TUser user, string normalizedRoleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -147,7 +147,7 @@ namespace Microsoft public UserStoreBase(Microsoft.AspNetCore.Identity.IdentityErrorDescriber describer) : base(default(Microsoft.AspNetCore.Identity.IdentityErrorDescriber)) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UserStoreBase<,,,,>` in `Microsoft.Extensions.Identity.Stores, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.AspNetCore.Identity.UserStoreBase<,,,,>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class UserStoreBase : Microsoft.AspNetCore.Identity.IQueryableUserStore, Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore, Microsoft.AspNetCore.Identity.IUserAuthenticatorKeyStore, Microsoft.AspNetCore.Identity.IUserClaimStore, Microsoft.AspNetCore.Identity.IUserEmailStore, Microsoft.AspNetCore.Identity.IUserLockoutStore, Microsoft.AspNetCore.Identity.IUserLoginStore, Microsoft.AspNetCore.Identity.IUserPasswordStore, Microsoft.AspNetCore.Identity.IUserPhoneNumberStore, Microsoft.AspNetCore.Identity.IUserSecurityStampStore, Microsoft.AspNetCore.Identity.IUserStore, Microsoft.AspNetCore.Identity.IUserTwoFactorRecoveryCodeStore, Microsoft.AspNetCore.Identity.IUserTwoFactorStore, System.IDisposable where TKey : System.IEquatable where TUser : Microsoft.AspNetCore.Identity.IdentityUser where TUserClaim : Microsoft.AspNetCore.Identity.IdentityUserClaim, new() where TUserLogin : Microsoft.AspNetCore.Identity.IdentityUserLogin, new() where TUserToken : Microsoft.AspNetCore.Identity.IdentityUserToken, new() { public abstract System.Threading.Tasks.Task AddClaimsAsync(TUser user, System.Collections.Generic.IEnumerable claims, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.Abstractions.cs index 4b1dd8b8ace..6b7a4d0f8ae 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.Abstractions.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Localization { - // Generated from `Microsoft.Extensions.Localization.IStringLocalizer` in `Microsoft.Extensions.Localization.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Localization.IStringLocalizer` in `Microsoft.Extensions.Localization.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStringLocalizer { System.Collections.Generic.IEnumerable GetAllStrings(bool includeParentCultures); @@ -14,19 +14,19 @@ namespace Microsoft Microsoft.Extensions.Localization.LocalizedString this[string name] { get; } } - // Generated from `Microsoft.Extensions.Localization.IStringLocalizer<>` in `Microsoft.Extensions.Localization.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Localization.IStringLocalizer<>` in `Microsoft.Extensions.Localization.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStringLocalizer : Microsoft.Extensions.Localization.IStringLocalizer { } - // Generated from `Microsoft.Extensions.Localization.IStringLocalizerFactory` in `Microsoft.Extensions.Localization.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Localization.IStringLocalizerFactory` in `Microsoft.Extensions.Localization.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStringLocalizerFactory { Microsoft.Extensions.Localization.IStringLocalizer Create(System.Type resourceSource); Microsoft.Extensions.Localization.IStringLocalizer Create(string baseName, string location); } - // Generated from `Microsoft.Extensions.Localization.LocalizedString` in `Microsoft.Extensions.Localization.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Localization.LocalizedString` in `Microsoft.Extensions.Localization.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocalizedString { public LocalizedString(string name, string value) => throw null; @@ -40,7 +40,7 @@ namespace Microsoft public static implicit operator string(Microsoft.Extensions.Localization.LocalizedString localizedString) => throw null; } - // Generated from `Microsoft.Extensions.Localization.StringLocalizer<>` in `Microsoft.Extensions.Localization.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Localization.StringLocalizer<>` in `Microsoft.Extensions.Localization.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringLocalizer : Microsoft.Extensions.Localization.IStringLocalizer, Microsoft.Extensions.Localization.IStringLocalizer { public System.Collections.Generic.IEnumerable GetAllStrings(bool includeParentCultures) => throw null; @@ -49,7 +49,7 @@ namespace Microsoft public StringLocalizer(Microsoft.Extensions.Localization.IStringLocalizerFactory factory) => throw null; } - // Generated from `Microsoft.Extensions.Localization.StringLocalizerExtensions` in `Microsoft.Extensions.Localization.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Localization.StringLocalizerExtensions` in `Microsoft.Extensions.Localization.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StringLocalizerExtensions { public static System.Collections.Generic.IEnumerable GetAllStrings(this Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.cs index ee1d6caabdc..19e96cf644b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.LocalizationServiceCollectionExtensions` in `Microsoft.Extensions.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.LocalizationServiceCollectionExtensions` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LocalizationServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLocalization(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -16,27 +16,27 @@ namespace Microsoft } namespace Localization { - // Generated from `Microsoft.Extensions.Localization.IResourceNamesCache` in `Microsoft.Extensions.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Localization.IResourceNamesCache` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResourceNamesCache { System.Collections.Generic.IList GetOrAdd(string name, System.Func> valueFactory); } - // Generated from `Microsoft.Extensions.Localization.LocalizationOptions` in `Microsoft.Extensions.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Localization.LocalizationOptions` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocalizationOptions { public LocalizationOptions() => throw null; public string ResourcesPath { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Localization.ResourceLocationAttribute` in `Microsoft.Extensions.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Localization.ResourceLocationAttribute` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResourceLocationAttribute : System.Attribute { public string ResourceLocation { get => throw null; } public ResourceLocationAttribute(string resourceLocation) => throw null; } - // Generated from `Microsoft.Extensions.Localization.ResourceManagerStringLocalizer` in `Microsoft.Extensions.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Localization.ResourceManagerStringLocalizer` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResourceManagerStringLocalizer : Microsoft.Extensions.Localization.IStringLocalizer { public virtual System.Collections.Generic.IEnumerable GetAllStrings(bool includeParentCultures) => throw null; @@ -47,7 +47,7 @@ namespace Microsoft public ResourceManagerStringLocalizer(System.Resources.ResourceManager resourceManager, System.Reflection.Assembly resourceAssembly, string baseName, Microsoft.Extensions.Localization.IResourceNamesCache resourceNamesCache, Microsoft.Extensions.Logging.ILogger logger) => throw null; } - // Generated from `Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory` in `Microsoft.Extensions.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResourceManagerStringLocalizerFactory : Microsoft.Extensions.Localization.IStringLocalizerFactory { public Microsoft.Extensions.Localization.IStringLocalizer Create(System.Type resourceSource) => throw null; @@ -62,14 +62,14 @@ namespace Microsoft public ResourceManagerStringLocalizerFactory(Microsoft.Extensions.Options.IOptions localizationOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.Extensions.Localization.ResourceNamesCache` in `Microsoft.Extensions.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Localization.ResourceNamesCache` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResourceNamesCache : Microsoft.Extensions.Localization.IResourceNamesCache { public System.Collections.Generic.IList GetOrAdd(string name, System.Func> valueFactory) => throw null; public ResourceNamesCache() => throw null; } - // Generated from `Microsoft.Extensions.Localization.RootNamespaceAttribute` in `Microsoft.Extensions.Localization, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Localization.RootNamespaceAttribute` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RootNamespaceAttribute : System.Attribute { public string RootNamespace { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Abstractions.cs index f2d68ea9e17..ed5249fcdf7 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Abstractions.cs @@ -6,8 +6,8 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.EventId` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` - public struct EventId + // Generated from `Microsoft.Extensions.Logging.EventId` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public struct EventId : System.IEquatable { public static bool operator !=(Microsoft.Extensions.Logging.EventId left, Microsoft.Extensions.Logging.EventId right) => throw null; public static bool operator ==(Microsoft.Extensions.Logging.EventId left, Microsoft.Extensions.Logging.EventId right) => throw null; @@ -22,14 +22,14 @@ namespace Microsoft public static implicit operator Microsoft.Extensions.Logging.EventId(int i) => throw null; } - // Generated from `Microsoft.Extensions.Logging.IExternalScopeProvider` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.IExternalScopeProvider` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IExternalScopeProvider { void ForEachScope(System.Action callback, TState state); System.IDisposable Push(object state); } - // Generated from `Microsoft.Extensions.Logging.ILogger` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.ILogger` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILogger { System.IDisposable BeginScope(TState state); @@ -37,38 +37,38 @@ namespace Microsoft void Log(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception exception, System.Func formatter); } - // Generated from `Microsoft.Extensions.Logging.ILogger<>` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.ILogger<>` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILogger : Microsoft.Extensions.Logging.ILogger { } - // Generated from `Microsoft.Extensions.Logging.ILoggerFactory` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.ILoggerFactory` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILoggerFactory : System.IDisposable { void AddProvider(Microsoft.Extensions.Logging.ILoggerProvider provider); Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName); } - // Generated from `Microsoft.Extensions.Logging.ILoggerProvider` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.ILoggerProvider` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILoggerProvider : System.IDisposable { Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName); } - // Generated from `Microsoft.Extensions.Logging.ISupportExternalScope` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.ISupportExternalScope` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISupportExternalScope { void SetScopeProvider(Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider); } - // Generated from `Microsoft.Extensions.Logging.LogDefineOptions` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.LogDefineOptions` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LogDefineOptions { public LogDefineOptions() => throw null; public bool SkipEnabledCheck { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Logging.LogLevel` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.LogLevel` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum LogLevel : int { Critical = 5, @@ -80,7 +80,7 @@ namespace Microsoft Warning = 3, } - // Generated from `Microsoft.Extensions.Logging.Logger<>` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Logger<>` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Logger : Microsoft.Extensions.Logging.ILogger, Microsoft.Extensions.Logging.ILogger { System.IDisposable Microsoft.Extensions.Logging.ILogger.BeginScope(TState state) => throw null; @@ -89,7 +89,7 @@ namespace Microsoft public Logger(Microsoft.Extensions.Logging.ILoggerFactory factory) => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerExtensions` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.LoggerExtensions` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LoggerExtensions { public static System.IDisposable BeginScope(this Microsoft.Extensions.Logging.ILogger logger, string messageFormat, params object[] args) => throw null; @@ -123,7 +123,7 @@ namespace Microsoft public static void LogWarning(this Microsoft.Extensions.Logging.ILogger logger, string message, params object[] args) => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerExternalScopeProvider` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.LoggerExternalScopeProvider` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerExternalScopeProvider : Microsoft.Extensions.Logging.IExternalScopeProvider { public void ForEachScope(System.Action callback, TState state) => throw null; @@ -131,14 +131,14 @@ namespace Microsoft public System.IDisposable Push(object state) => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerFactoryExtensions` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.LoggerFactoryExtensions` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LoggerFactoryExtensions { public static Microsoft.Extensions.Logging.ILogger CreateLogger(this Microsoft.Extensions.Logging.ILoggerFactory factory, System.Type type) => throw null; public static Microsoft.Extensions.Logging.ILogger CreateLogger(this Microsoft.Extensions.Logging.ILoggerFactory factory) => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerMessage` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.LoggerMessage` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LoggerMessage { public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) => throw null; @@ -164,7 +164,7 @@ namespace Microsoft public static System.Func DefineScope(string formatString) => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerMessageAttribute` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.LoggerMessageAttribute` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerMessageAttribute : System.Attribute { public int EventId { get => throw null; set => throw null; } @@ -178,7 +178,7 @@ namespace Microsoft namespace Abstractions { - // Generated from `Microsoft.Extensions.Logging.Abstractions.LogEntry<>` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Abstractions.LogEntry<>` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct LogEntry { public string Category { get => throw null; } @@ -191,7 +191,7 @@ namespace Microsoft public TState State { get => throw null; } } - // Generated from `Microsoft.Extensions.Logging.Abstractions.NullLogger` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Abstractions.NullLogger` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullLogger : Microsoft.Extensions.Logging.ILogger { public System.IDisposable BeginScope(TState state) => throw null; @@ -200,7 +200,7 @@ namespace Microsoft public void Log(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception exception, System.Func formatter) => throw null; } - // Generated from `Microsoft.Extensions.Logging.Abstractions.NullLogger<>` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Abstractions.NullLogger<>` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullLogger : Microsoft.Extensions.Logging.ILogger, Microsoft.Extensions.Logging.ILogger { public System.IDisposable BeginScope(TState state) => throw null; @@ -210,7 +210,7 @@ namespace Microsoft public NullLogger() => throw null; } - // Generated from `Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullLoggerFactory : Microsoft.Extensions.Logging.ILoggerFactory, System.IDisposable { public void AddProvider(Microsoft.Extensions.Logging.ILoggerProvider provider) => throw null; @@ -220,7 +220,7 @@ namespace Microsoft public NullLoggerFactory() => throw null; } - // Generated from `Microsoft.Extensions.Logging.Abstractions.NullLoggerProvider` in `Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Abstractions.NullLoggerProvider` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable { public Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Configuration.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Configuration.cs index f787be48cd3..887ead7ed08 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Configuration.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Configuration.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.LoggingBuilderExtensions` in `Microsoft.Extensions.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Logging.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.LoggingBuilderExtensions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class LoggingBuilderExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddConfiguration(this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Configuration.IConfiguration configuration) => throw null; @@ -14,31 +14,31 @@ namespace Microsoft namespace Configuration { - // Generated from `Microsoft.Extensions.Logging.Configuration.ILoggerProviderConfiguration<>` in `Microsoft.Extensions.Logging.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Configuration.ILoggerProviderConfiguration<>` in `Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILoggerProviderConfiguration { Microsoft.Extensions.Configuration.IConfiguration Configuration { get; } } - // Generated from `Microsoft.Extensions.Logging.Configuration.ILoggerProviderConfigurationFactory` in `Microsoft.Extensions.Logging.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Configuration.ILoggerProviderConfigurationFactory` in `Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILoggerProviderConfigurationFactory { Microsoft.Extensions.Configuration.IConfiguration GetConfiguration(System.Type providerType); } - // Generated from `Microsoft.Extensions.Logging.Configuration.LoggerProviderOptions` in `Microsoft.Extensions.Logging.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Configuration.LoggerProviderOptions` in `Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LoggerProviderOptions { public static void RegisterProviderOptions(Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TOptions : class => throw null; } - // Generated from `Microsoft.Extensions.Logging.Configuration.LoggerProviderOptionsChangeTokenSource<,>` in `Microsoft.Extensions.Logging.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Configuration.LoggerProviderOptionsChangeTokenSource<,>` in `Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerProviderOptionsChangeTokenSource : Microsoft.Extensions.Options.ConfigurationChangeTokenSource { public LoggerProviderOptionsChangeTokenSource(Microsoft.Extensions.Logging.Configuration.ILoggerProviderConfiguration providerConfiguration) : base(default(Microsoft.Extensions.Configuration.IConfiguration)) => throw null; } - // Generated from `Microsoft.Extensions.Logging.Configuration.LoggingBuilderConfigurationExtensions` in `Microsoft.Extensions.Logging.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Configuration.LoggingBuilderConfigurationExtensions` in `Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LoggingBuilderConfigurationExtensions { public static void AddConfiguration(this Microsoft.Extensions.Logging.ILoggingBuilder builder) => throw null; @@ -48,18 +48,3 @@ namespace Microsoft } } } -namespace System -{ - namespace Diagnostics - { - namespace CodeAnalysis - { - /* Duplicate type 'DynamicallyAccessedMemberTypes' is not stubbed in this assembly 'Microsoft.Extensions.Logging.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'DynamicallyAccessedMembersAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Logging.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'RequiresUnreferencedCodeAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Logging.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Console.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Console.cs index 91af05c07d5..52fa7c31e35 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Console.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Console.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.ConsoleLoggerExtensions` in `Microsoft.Extensions.Logging.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.ConsoleLoggerExtensions` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConsoleLoggerExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddConsole(this Microsoft.Extensions.Logging.ILoggingBuilder builder) => throw null; @@ -23,7 +23,7 @@ namespace Microsoft namespace Console { - // Generated from `Microsoft.Extensions.Logging.Console.ConsoleFormatter` in `Microsoft.Extensions.Logging.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Console.ConsoleFormatter` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ConsoleFormatter { protected ConsoleFormatter(string name) => throw null; @@ -31,7 +31,7 @@ namespace Microsoft public abstract void Write(Microsoft.Extensions.Logging.Abstractions.LogEntry logEntry, Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider, System.IO.TextWriter textWriter); } - // Generated from `Microsoft.Extensions.Logging.Console.ConsoleFormatterNames` in `Microsoft.Extensions.Logging.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Console.ConsoleFormatterNames` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConsoleFormatterNames { public const string Json = default; @@ -39,7 +39,7 @@ namespace Microsoft public const string Systemd = default; } - // Generated from `Microsoft.Extensions.Logging.Console.ConsoleFormatterOptions` in `Microsoft.Extensions.Logging.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Console.ConsoleFormatterOptions` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsoleFormatterOptions { public ConsoleFormatterOptions() => throw null; @@ -48,14 +48,14 @@ namespace Microsoft public bool UseUtcTimestamp { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Logging.Console.ConsoleLoggerFormat` in `Microsoft.Extensions.Logging.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Console.ConsoleLoggerFormat` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ConsoleLoggerFormat : int { Default = 0, Systemd = 1, } - // Generated from `Microsoft.Extensions.Logging.Console.ConsoleLoggerOptions` in `Microsoft.Extensions.Logging.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Console.ConsoleLoggerOptions` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsoleLoggerOptions { public ConsoleLoggerOptions() => throw null; @@ -64,11 +64,13 @@ namespace Microsoft public string FormatterName { get => throw null; set => throw null; } public bool IncludeScopes { get => throw null; set => throw null; } public Microsoft.Extensions.Logging.LogLevel LogToStandardErrorThreshold { get => throw null; set => throw null; } + public int MaxQueueLength { get => throw null; set => throw null; } + public Microsoft.Extensions.Logging.Console.ConsoleLoggerQueueFullMode QueueFullMode { get => throw null; set => throw null; } public string TimestampFormat { get => throw null; set => throw null; } public bool UseUtcTimestamp { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider` in `Microsoft.Extensions.Logging.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsoleLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, Microsoft.Extensions.Logging.ISupportExternalScope, System.IDisposable { public ConsoleLoggerProvider(Microsoft.Extensions.Options.IOptionsMonitor options) => throw null; @@ -78,14 +80,21 @@ namespace Microsoft public void SetScopeProvider(Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider) => throw null; } - // Generated from `Microsoft.Extensions.Logging.Console.JsonConsoleFormatterOptions` in `Microsoft.Extensions.Logging.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Console.ConsoleLoggerQueueFullMode` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + public enum ConsoleLoggerQueueFullMode : int + { + DropWrite = 1, + Wait = 0, + } + + // Generated from `Microsoft.Extensions.Logging.Console.JsonConsoleFormatterOptions` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonConsoleFormatterOptions : Microsoft.Extensions.Logging.Console.ConsoleFormatterOptions { public JsonConsoleFormatterOptions() => throw null; public System.Text.Json.JsonWriterOptions JsonWriterOptions { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Logging.Console.LoggerColorBehavior` in `Microsoft.Extensions.Logging.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Console.LoggerColorBehavior` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum LoggerColorBehavior : int { Default = 0, @@ -93,7 +102,7 @@ namespace Microsoft Enabled = 1, } - // Generated from `Microsoft.Extensions.Logging.Console.SimpleConsoleFormatterOptions` in `Microsoft.Extensions.Logging.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Console.SimpleConsoleFormatterOptions` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SimpleConsoleFormatterOptions : Microsoft.Extensions.Logging.Console.ConsoleFormatterOptions { public Microsoft.Extensions.Logging.Console.LoggerColorBehavior ColorBehavior { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Debug.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Debug.cs index 62ee5e82901..f70f131b0b5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Debug.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Debug.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.DebugLoggerFactoryExtensions` in `Microsoft.Extensions.Logging.Debug, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.DebugLoggerFactoryExtensions` in `Microsoft.Extensions.Logging.Debug, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DebugLoggerFactoryExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddDebug(this Microsoft.Extensions.Logging.ILoggingBuilder builder) => throw null; @@ -14,7 +14,7 @@ namespace Microsoft namespace Debug { - // Generated from `Microsoft.Extensions.Logging.Debug.DebugLoggerProvider` in `Microsoft.Extensions.Logging.Debug, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.Debug.DebugLoggerProvider` in `Microsoft.Extensions.Logging.Debug, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DebugLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable { public Microsoft.Extensions.Logging.ILogger CreateLogger(string name) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventLog.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventLog.cs index fdd0828fb02..cfe04a87a9d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventLog.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventLog.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.EventLoggerFactoryExtensions` in `Microsoft.Extensions.Logging.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.EventLoggerFactoryExtensions` in `Microsoft.Extensions.Logging.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EventLoggerFactoryExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddEventLog(this Microsoft.Extensions.Logging.ILoggingBuilder builder) => throw null; @@ -16,7 +16,7 @@ namespace Microsoft namespace EventLog { - // Generated from `Microsoft.Extensions.Logging.EventLog.EventLogLoggerProvider` in `Microsoft.Extensions.Logging.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.EventLog.EventLogLoggerProvider` in `Microsoft.Extensions.Logging.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EventLogLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, Microsoft.Extensions.Logging.ISupportExternalScope, System.IDisposable { public Microsoft.Extensions.Logging.ILogger CreateLogger(string name) => throw null; @@ -27,7 +27,7 @@ namespace Microsoft public void SetScopeProvider(Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider) => throw null; } - // Generated from `Microsoft.Extensions.Logging.EventLog.EventLogSettings` in `Microsoft.Extensions.Logging.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.EventLog.EventLogSettings` in `Microsoft.Extensions.Logging.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EventLogSettings { public EventLogSettings() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventSource.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventSource.cs index d9fb94eac95..5bf824575e7 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventSource.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventSource.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.EventSourceLoggerFactoryExtensions` in `Microsoft.Extensions.Logging.EventSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.EventSourceLoggerFactoryExtensions` in `Microsoft.Extensions.Logging.EventSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EventSourceLoggerFactoryExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddEventSourceLogger(this Microsoft.Extensions.Logging.ILoggingBuilder builder) => throw null; @@ -14,7 +14,7 @@ namespace Microsoft namespace EventSource { - // Generated from `Microsoft.Extensions.Logging.EventSource.EventSourceLoggerProvider` in `Microsoft.Extensions.Logging.EventSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.EventSource.EventSourceLoggerProvider` in `Microsoft.Extensions.Logging.EventSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EventSourceLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable { public Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName) => throw null; @@ -22,10 +22,10 @@ namespace Microsoft public EventSourceLoggerProvider(Microsoft.Extensions.Logging.EventSource.LoggingEventSource eventSource) => throw null; } - // Generated from `Microsoft.Extensions.Logging.EventSource.LoggingEventSource` in `Microsoft.Extensions.Logging.EventSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.EventSource.LoggingEventSource` in `Microsoft.Extensions.Logging.EventSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggingEventSource : System.Diagnostics.Tracing.EventSource { - // Generated from `Microsoft.Extensions.Logging.EventSource.LoggingEventSource+Keywords` in `Microsoft.Extensions.Logging.EventSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.EventSource.LoggingEventSource+Keywords` in `Microsoft.Extensions.Logging.EventSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Keywords { public const System.Diagnostics.Tracing.EventKeywords FormattedMessage = default; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.TraceSource.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.TraceSource.cs index dd9a6315114..a429f029556 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.TraceSource.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.TraceSource.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.TraceSourceFactoryExtensions` in `Microsoft.Extensions.Logging.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.TraceSourceFactoryExtensions` in `Microsoft.Extensions.Logging.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class TraceSourceFactoryExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddTraceSource(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Diagnostics.SourceSwitch sourceSwitch) => throw null; @@ -17,7 +17,7 @@ namespace Microsoft namespace TraceSource { - // Generated from `Microsoft.Extensions.Logging.TraceSource.TraceSourceLoggerProvider` in `Microsoft.Extensions.Logging.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.TraceSource.TraceSourceLoggerProvider` in `Microsoft.Extensions.Logging.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TraceSourceLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable { public Microsoft.Extensions.Logging.ILogger CreateLogger(string name) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.cs index 14b5405680d..961ee8b7420 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions` in `Microsoft.Extensions.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LoggingServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLogging(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -16,7 +16,7 @@ namespace Microsoft } namespace Logging { - // Generated from `Microsoft.Extensions.Logging.ActivityTrackingOptions` in `Microsoft.Extensions.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.ActivityTrackingOptions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum ActivityTrackingOptions : int { @@ -30,7 +30,7 @@ namespace Microsoft TraceState = 8, } - // Generated from `Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions` in `Microsoft.Extensions.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class FilterLoggingBuilderExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Func levelFilter) => throw null; @@ -53,13 +53,13 @@ namespace Microsoft public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter(this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string category, Microsoft.Extensions.Logging.LogLevel level) where T : Microsoft.Extensions.Logging.ILoggerProvider => throw null; } - // Generated from `Microsoft.Extensions.Logging.ILoggingBuilder` in `Microsoft.Extensions.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.ILoggingBuilder` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILoggingBuilder { Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } } - // Generated from `Microsoft.Extensions.Logging.LoggerFactory` in `Microsoft.Extensions.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.LoggerFactory` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerFactory : Microsoft.Extensions.Logging.ILoggerFactory, System.IDisposable { public void AddProvider(Microsoft.Extensions.Logging.ILoggerProvider provider) => throw null; @@ -70,18 +70,19 @@ namespace Microsoft public LoggerFactory() => throw null; public LoggerFactory(System.Collections.Generic.IEnumerable providers) => throw null; public LoggerFactory(System.Collections.Generic.IEnumerable providers, Microsoft.Extensions.Options.IOptionsMonitor filterOption) => throw null; - public LoggerFactory(System.Collections.Generic.IEnumerable providers, Microsoft.Extensions.Options.IOptionsMonitor filterOption, Microsoft.Extensions.Options.IOptions options = default(Microsoft.Extensions.Options.IOptions)) => throw null; + public LoggerFactory(System.Collections.Generic.IEnumerable providers, Microsoft.Extensions.Options.IOptionsMonitor filterOption, Microsoft.Extensions.Options.IOptions options) => throw null; + public LoggerFactory(System.Collections.Generic.IEnumerable providers, Microsoft.Extensions.Options.IOptionsMonitor filterOption, Microsoft.Extensions.Options.IOptions options = default(Microsoft.Extensions.Options.IOptions), Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider = default(Microsoft.Extensions.Logging.IExternalScopeProvider)) => throw null; public LoggerFactory(System.Collections.Generic.IEnumerable providers, Microsoft.Extensions.Logging.LoggerFilterOptions filterOptions) => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerFactoryOptions` in `Microsoft.Extensions.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.LoggerFactoryOptions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerFactoryOptions { public Microsoft.Extensions.Logging.ActivityTrackingOptions ActivityTrackingOptions { get => throw null; set => throw null; } public LoggerFactoryOptions() => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerFilterOptions` in `Microsoft.Extensions.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.LoggerFilterOptions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerFilterOptions { public bool CaptureScopes { get => throw null; set => throw null; } @@ -90,7 +91,7 @@ namespace Microsoft public System.Collections.Generic.IList Rules { get => throw null; } } - // Generated from `Microsoft.Extensions.Logging.LoggerFilterRule` in `Microsoft.Extensions.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.LoggerFilterRule` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerFilterRule { public string CategoryName { get => throw null; } @@ -101,7 +102,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggingBuilderExtensions` in `Microsoft.Extensions.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Logging.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.LoggingBuilderExtensions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class LoggingBuilderExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddProvider(this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Logging.ILoggerProvider provider) => throw null; @@ -110,7 +111,7 @@ namespace Microsoft public static Microsoft.Extensions.Logging.ILoggingBuilder SetMinimumLevel(this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Logging.LogLevel level) => throw null; } - // Generated from `Microsoft.Extensions.Logging.ProviderAliasAttribute` in `Microsoft.Extensions.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Logging.ProviderAliasAttribute` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProviderAliasAttribute : System.Attribute { public string Alias { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.ObjectPool.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.ObjectPool.cs index 073ff3ccfcd..23a52be23d1 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.ObjectPool.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.ObjectPool.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace ObjectPool { - // Generated from `Microsoft.Extensions.ObjectPool.DefaultObjectPool<>` in `Microsoft.Extensions.ObjectPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.ObjectPool.DefaultObjectPool<>` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultObjectPool : Microsoft.Extensions.ObjectPool.ObjectPool where T : class { public DefaultObjectPool(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) => throw null; @@ -15,7 +15,7 @@ namespace Microsoft public override void Return(T obj) => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.DefaultObjectPoolProvider` in `Microsoft.Extensions.ObjectPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.ObjectPool.DefaultObjectPoolProvider` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultObjectPoolProvider : Microsoft.Extensions.ObjectPool.ObjectPoolProvider { public override Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) where T : class => throw null; @@ -23,7 +23,7 @@ namespace Microsoft public int MaximumRetained { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.ObjectPool.DefaultPooledObjectPolicy<>` in `Microsoft.Extensions.ObjectPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.ObjectPool.DefaultPooledObjectPolicy<>` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultPooledObjectPolicy : Microsoft.Extensions.ObjectPool.PooledObjectPolicy where T : class, new() { public override T Create() => throw null; @@ -31,14 +31,14 @@ namespace Microsoft public override bool Return(T obj) => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.IPooledObjectPolicy<>` in `Microsoft.Extensions.ObjectPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.ObjectPool.IPooledObjectPolicy<>` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPooledObjectPolicy { T Create(); bool Return(T obj); } - // Generated from `Microsoft.Extensions.ObjectPool.LeakTrackingObjectPool<>` in `Microsoft.Extensions.ObjectPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.ObjectPool.LeakTrackingObjectPool<>` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LeakTrackingObjectPool : Microsoft.Extensions.ObjectPool.ObjectPool where T : class { public override T Get() => throw null; @@ -46,20 +46,20 @@ namespace Microsoft public override void Return(T obj) => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.LeakTrackingObjectPoolProvider` in `Microsoft.Extensions.ObjectPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.ObjectPool.LeakTrackingObjectPoolProvider` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LeakTrackingObjectPoolProvider : Microsoft.Extensions.ObjectPool.ObjectPoolProvider { public override Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) where T : class => throw null; public LeakTrackingObjectPoolProvider(Microsoft.Extensions.ObjectPool.ObjectPoolProvider inner) => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.ObjectPool` in `Microsoft.Extensions.ObjectPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.ObjectPool.ObjectPool` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ObjectPool { public static Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy = default(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy)) where T : class, new() => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.ObjectPool<>` in `Microsoft.Extensions.ObjectPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.ObjectPool.ObjectPool<>` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ObjectPool where T : class { public abstract T Get(); @@ -67,7 +67,7 @@ namespace Microsoft public abstract void Return(T obj); } - // Generated from `Microsoft.Extensions.ObjectPool.ObjectPoolProvider` in `Microsoft.Extensions.ObjectPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.ObjectPool.ObjectPoolProvider` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ObjectPoolProvider { public Microsoft.Extensions.ObjectPool.ObjectPool Create() where T : class, new() => throw null; @@ -75,14 +75,14 @@ namespace Microsoft protected ObjectPoolProvider() => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.ObjectPoolProviderExtensions` in `Microsoft.Extensions.ObjectPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.ObjectPool.ObjectPoolProviderExtensions` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ObjectPoolProviderExtensions { public static Microsoft.Extensions.ObjectPool.ObjectPool CreateStringBuilderPool(this Microsoft.Extensions.ObjectPool.ObjectPoolProvider provider) => throw null; public static Microsoft.Extensions.ObjectPool.ObjectPool CreateStringBuilderPool(this Microsoft.Extensions.ObjectPool.ObjectPoolProvider provider, int initialCapacity, int maximumRetainedCapacity) => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.PooledObjectPolicy<>` in `Microsoft.Extensions.ObjectPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.ObjectPool.PooledObjectPolicy<>` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PooledObjectPolicy : Microsoft.Extensions.ObjectPool.IPooledObjectPolicy { public abstract T Create(); @@ -90,7 +90,7 @@ namespace Microsoft public abstract bool Return(T obj); } - // Generated from `Microsoft.Extensions.ObjectPool.StringBuilderPooledObjectPolicy` in `Microsoft.Extensions.ObjectPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.ObjectPool.StringBuilderPooledObjectPolicy` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringBuilderPooledObjectPolicy : Microsoft.Extensions.ObjectPool.PooledObjectPolicy { public override System.Text.StringBuilder Create() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.ConfigurationExtensions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.ConfigurationExtensions.cs index a6b39c41759..cdd3632981c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.ConfigurationExtensions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.ConfigurationExtensions.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OptionsBuilderConfigurationExtensions { public static Microsoft.Extensions.Options.OptionsBuilder Bind(this Microsoft.Extensions.Options.OptionsBuilder optionsBuilder, Microsoft.Extensions.Configuration.IConfiguration config) where TOptions : class => throw null; @@ -14,7 +14,7 @@ namespace Microsoft public static Microsoft.Extensions.Options.OptionsBuilder BindConfiguration(this Microsoft.Extensions.Options.OptionsBuilder optionsBuilder, string configSectionPath, System.Action configureBinder = default(System.Action)) where TOptions : class => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.OptionsConfigurationServiceCollectionExtensions` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.OptionsConfigurationServiceCollectionExtensions` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OptionsConfigurationServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection Configure(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfiguration config) where TOptions : class => throw null; @@ -26,7 +26,7 @@ namespace Microsoft } namespace Options { - // Generated from `Microsoft.Extensions.Options.ConfigurationChangeTokenSource<>` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ConfigurationChangeTokenSource<>` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationChangeTokenSource : Microsoft.Extensions.Options.IOptionsChangeTokenSource { public ConfigurationChangeTokenSource(Microsoft.Extensions.Configuration.IConfiguration config) => throw null; @@ -35,13 +35,13 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureFromConfigurationOptions<>` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ConfigureFromConfigurationOptions<>` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureFromConfigurationOptions : Microsoft.Extensions.Options.ConfigureOptions where TOptions : class { public ConfigureFromConfigurationOptions(Microsoft.Extensions.Configuration.IConfiguration config) : base(default(System.Action)) => throw null; } - // Generated from `Microsoft.Extensions.Options.NamedConfigureFromConfigurationOptions<>` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.NamedConfigureFromConfigurationOptions<>` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NamedConfigureFromConfigurationOptions : Microsoft.Extensions.Options.ConfigureNamedOptions where TOptions : class { public NamedConfigureFromConfigurationOptions(string name, Microsoft.Extensions.Configuration.IConfiguration config) : base(default(string), default(System.Action)) => throw null; @@ -51,18 +51,3 @@ namespace Microsoft } } } -namespace System -{ - namespace Diagnostics - { - namespace CodeAnalysis - { - /* Duplicate type 'DynamicallyAccessedMemberTypes' is not stubbed in this assembly 'Microsoft.Extensions.Options.ConfigurationExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'DynamicallyAccessedMembersAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Options.ConfigurationExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'RequiresUnreferencedCodeAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Options.ConfigurationExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.DataAnnotations.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.DataAnnotations.cs index 7ac61567360..aad428f678e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.DataAnnotations.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.DataAnnotations.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions` in `Microsoft.Extensions.Options.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions` in `Microsoft.Extensions.Options.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OptionsBuilderDataAnnotationsExtensions { public static Microsoft.Extensions.Options.OptionsBuilder ValidateDataAnnotations(this Microsoft.Extensions.Options.OptionsBuilder optionsBuilder) where TOptions : class => throw null; @@ -15,7 +15,7 @@ namespace Microsoft } namespace Options { - // Generated from `Microsoft.Extensions.Options.DataAnnotationValidateOptions<>` in `Microsoft.Extensions.Options.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.DataAnnotationValidateOptions<>` in `Microsoft.Extensions.Options.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataAnnotationValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public DataAnnotationValidateOptions(string name) => throw null; @@ -26,18 +26,3 @@ namespace Microsoft } } } -namespace System -{ - namespace Diagnostics - { - namespace CodeAnalysis - { - /* Duplicate type 'DynamicallyAccessedMemberTypes' is not stubbed in this assembly 'Microsoft.Extensions.Options.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'DynamicallyAccessedMembersAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Options.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'RequiresUnreferencedCodeAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Options.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.cs index 88cc420093b..2b36d812152 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.OptionsServiceCollectionExtensions` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.OptionsServiceCollectionExtensions` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OptionsServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddOptions(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -26,7 +26,7 @@ namespace Microsoft } namespace Options { - // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,,,,,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,,,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureNamedOptions, Microsoft.Extensions.Options.IConfigureOptions where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TDep5 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -41,7 +41,7 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,,,,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureNamedOptions, Microsoft.Extensions.Options.IConfigureOptions where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -55,7 +55,7 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,,,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureNamedOptions, Microsoft.Extensions.Options.IConfigureOptions where TDep1 : class where TDep2 : class where TDep3 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -68,7 +68,7 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureNamedOptions, Microsoft.Extensions.Options.IConfigureOptions where TDep1 : class where TDep2 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -80,7 +80,7 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureNamedOptions, Microsoft.Extensions.Options.IConfigureOptions where TDep : class where TOptions : class { public System.Action Action { get => throw null; } @@ -91,7 +91,7 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureNamedOptions, Microsoft.Extensions.Options.IConfigureOptions where TOptions : class { public System.Action Action { get => throw null; } @@ -101,7 +101,7 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureOptions<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ConfigureOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureOptions : Microsoft.Extensions.Options.IConfigureOptions where TOptions : class { public System.Action Action { get => throw null; } @@ -109,38 +109,38 @@ namespace Microsoft public ConfigureOptions(System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.IConfigureNamedOptions<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.IConfigureNamedOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureOptions where TOptions : class { void Configure(string name, TOptions options); } - // Generated from `Microsoft.Extensions.Options.IConfigureOptions<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.IConfigureOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigureOptions where TOptions : class { void Configure(TOptions options); } - // Generated from `Microsoft.Extensions.Options.IOptions<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.IOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOptions where TOptions : class { TOptions Value { get; } } - // Generated from `Microsoft.Extensions.Options.IOptionsChangeTokenSource<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.IOptionsChangeTokenSource<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOptionsChangeTokenSource { Microsoft.Extensions.Primitives.IChangeToken GetChangeToken(); string Name { get; } } - // Generated from `Microsoft.Extensions.Options.IOptionsFactory<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.IOptionsFactory<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOptionsFactory where TOptions : class { TOptions Create(string name); } - // Generated from `Microsoft.Extensions.Options.IOptionsMonitor<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.IOptionsMonitor<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOptionsMonitor { TOptions CurrentValue { get; } @@ -148,7 +148,7 @@ namespace Microsoft System.IDisposable OnChange(System.Action listener); } - // Generated from `Microsoft.Extensions.Options.IOptionsMonitorCache<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.IOptionsMonitorCache<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOptionsMonitorCache where TOptions : class { void Clear(); @@ -157,32 +157,32 @@ namespace Microsoft bool TryRemove(string name); } - // Generated from `Microsoft.Extensions.Options.IOptionsSnapshot<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.IOptionsSnapshot<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOptionsSnapshot : Microsoft.Extensions.Options.IOptions where TOptions : class { TOptions Get(string name); } - // Generated from `Microsoft.Extensions.Options.IPostConfigureOptions<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.IPostConfigureOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPostConfigureOptions where TOptions : class { void PostConfigure(string name, TOptions options); } - // Generated from `Microsoft.Extensions.Options.IValidateOptions<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.IValidateOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValidateOptions where TOptions : class { Microsoft.Extensions.Options.ValidateOptionsResult Validate(string name, TOptions options); } - // Generated from `Microsoft.Extensions.Options.Options` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.Options` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Options { public static Microsoft.Extensions.Options.IOptions Create(TOptions options) where TOptions : class => throw null; public static string DefaultName; } - // Generated from `Microsoft.Extensions.Options.OptionsBuilder<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.OptionsBuilder<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsBuilder where TOptions : class { public virtual Microsoft.Extensions.Options.OptionsBuilder Configure(System.Action configureOptions) => throw null; @@ -214,7 +214,7 @@ namespace Microsoft public virtual Microsoft.Extensions.Options.OptionsBuilder Validate(System.Func validation, string failureMessage) => throw null; } - // Generated from `Microsoft.Extensions.Options.OptionsCache<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.OptionsCache<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsCache : Microsoft.Extensions.Options.IOptionsMonitorCache where TOptions : class { public void Clear() => throw null; @@ -224,7 +224,7 @@ namespace Microsoft public virtual bool TryRemove(string name) => throw null; } - // Generated from `Microsoft.Extensions.Options.OptionsFactory<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.OptionsFactory<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsFactory : Microsoft.Extensions.Options.IOptionsFactory where TOptions : class { public TOptions Create(string name) => throw null; @@ -233,7 +233,7 @@ namespace Microsoft public OptionsFactory(System.Collections.Generic.IEnumerable> setups, System.Collections.Generic.IEnumerable> postConfigures, System.Collections.Generic.IEnumerable> validations) => throw null; } - // Generated from `Microsoft.Extensions.Options.OptionsManager<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.OptionsManager<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsManager : Microsoft.Extensions.Options.IOptions, Microsoft.Extensions.Options.IOptionsSnapshot where TOptions : class { public virtual TOptions Get(string name) => throw null; @@ -241,7 +241,7 @@ namespace Microsoft public TOptions Value { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.OptionsMonitor<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.OptionsMonitor<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsMonitor : Microsoft.Extensions.Options.IOptionsMonitor, System.IDisposable where TOptions : class { public TOptions CurrentValue { get => throw null; } @@ -251,13 +251,13 @@ namespace Microsoft public OptionsMonitor(Microsoft.Extensions.Options.IOptionsFactory factory, System.Collections.Generic.IEnumerable> sources, Microsoft.Extensions.Options.IOptionsMonitorCache cache) => throw null; } - // Generated from `Microsoft.Extensions.Options.OptionsMonitorExtensions` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.OptionsMonitorExtensions` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OptionsMonitorExtensions { public static System.IDisposable OnChange(this Microsoft.Extensions.Options.IOptionsMonitor monitor, System.Action listener) => throw null; } - // Generated from `Microsoft.Extensions.Options.OptionsValidationException` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.OptionsValidationException` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsValidationException : System.Exception { public System.Collections.Generic.IEnumerable Failures { get => throw null; } @@ -267,14 +267,14 @@ namespace Microsoft public OptionsValidationException(string optionsName, System.Type optionsType, System.Collections.Generic.IEnumerable failureMessages) => throw null; } - // Generated from `Microsoft.Extensions.Options.OptionsWrapper<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.OptionsWrapper<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsWrapper : Microsoft.Extensions.Options.IOptions where TOptions : class { public OptionsWrapper(TOptions options) => throw null; public TOptions Value { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,,,,,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,,,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TDep5 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -289,7 +289,7 @@ namespace Microsoft public PostConfigureOptions(string name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, TDep5 dependency5, System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,,,,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -303,7 +303,7 @@ namespace Microsoft public PostConfigureOptions(string name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,,,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TDep1 : class where TDep2 : class where TDep3 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -316,7 +316,7 @@ namespace Microsoft public PostConfigureOptions(string name, TDep1 dependency, TDep2 dependency2, TDep3 dependency3, System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TDep1 : class where TDep2 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -328,7 +328,7 @@ namespace Microsoft public PostConfigureOptions(string name, TDep1 dependency, TDep2 dependency2, System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TDep : class where TOptions : class { public System.Action Action { get => throw null; } @@ -339,7 +339,7 @@ namespace Microsoft public PostConfigureOptions(string name, TDep dependency, System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TOptions : class { public System.Action Action { get => throw null; } @@ -348,7 +348,7 @@ namespace Microsoft public PostConfigureOptions(string name, System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.ValidateOptions<,,,,,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ValidateOptions<,,,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public TDep1 Dependency1 { get => throw null; } @@ -363,7 +363,7 @@ namespace Microsoft public System.Func Validation { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ValidateOptions<,,,,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ValidateOptions<,,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public TDep1 Dependency1 { get => throw null; } @@ -377,7 +377,7 @@ namespace Microsoft public System.Func Validation { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ValidateOptions<,,,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ValidateOptions<,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public TDep1 Dependency1 { get => throw null; } @@ -390,7 +390,7 @@ namespace Microsoft public System.Func Validation { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ValidateOptions<,,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ValidateOptions<,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public TDep1 Dependency1 { get => throw null; } @@ -402,7 +402,7 @@ namespace Microsoft public System.Func Validation { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ValidateOptions<,>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ValidateOptions<,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public TDep Dependency { get => throw null; } @@ -413,7 +413,7 @@ namespace Microsoft public System.Func Validation { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ValidateOptions<>` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ValidateOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public string FailureMessage { get => throw null; } @@ -423,7 +423,7 @@ namespace Microsoft public System.Func Validation { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ValidateOptionsResult` in `Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Options.ValidateOptionsResult` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptionsResult { public static Microsoft.Extensions.Options.ValidateOptionsResult Fail(System.Collections.Generic.IEnumerable failures) => throw null; @@ -441,16 +441,3 @@ namespace Microsoft } } } -namespace System -{ - namespace Diagnostics - { - namespace CodeAnalysis - { - /* Duplicate type 'DynamicallyAccessedMemberTypes' is not stubbed in this assembly 'Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - /* Duplicate type 'DynamicallyAccessedMembersAttribute' is not stubbed in this assembly 'Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. */ - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Primitives.cs index eb4385c2764..8a29965d5a6 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Primitives.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace Primitives { - // Generated from `Microsoft.Extensions.Primitives.CancellationChangeToken` in `Microsoft.Extensions.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Primitives.CancellationChangeToken` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CancellationChangeToken : Microsoft.Extensions.Primitives.IChangeToken { public bool ActiveChangeCallbacks { get => throw null; } @@ -15,14 +15,14 @@ namespace Microsoft public System.IDisposable RegisterChangeCallback(System.Action callback, object state) => throw null; } - // Generated from `Microsoft.Extensions.Primitives.ChangeToken` in `Microsoft.Extensions.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Primitives.ChangeToken` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ChangeToken { public static System.IDisposable OnChange(System.Func changeTokenProducer, System.Action changeTokenConsumer) => throw null; public static System.IDisposable OnChange(System.Func changeTokenProducer, System.Action changeTokenConsumer, TState state) => throw null; } - // Generated from `Microsoft.Extensions.Primitives.CompositeChangeToken` in `Microsoft.Extensions.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Primitives.CompositeChangeToken` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeChangeToken : Microsoft.Extensions.Primitives.IChangeToken { public bool ActiveChangeCallbacks { get => throw null; } @@ -32,13 +32,13 @@ namespace Microsoft public System.IDisposable RegisterChangeCallback(System.Action callback, object state) => throw null; } - // Generated from `Microsoft.Extensions.Primitives.Extensions` in `Microsoft.Extensions.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Primitives.Extensions` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Extensions { public static System.Text.StringBuilder Append(this System.Text.StringBuilder builder, Microsoft.Extensions.Primitives.StringSegment segment) => throw null; } - // Generated from `Microsoft.Extensions.Primitives.IChangeToken` in `Microsoft.Extensions.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Primitives.IChangeToken` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IChangeToken { bool ActiveChangeCallbacks { get; } @@ -46,7 +46,7 @@ namespace Microsoft System.IDisposable RegisterChangeCallback(System.Action callback, object state); } - // Generated from `Microsoft.Extensions.Primitives.StringSegment` in `Microsoft.Extensions.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Primitives.StringSegment` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct StringSegment : System.IEquatable, System.IEquatable { public static bool operator !=(Microsoft.Extensions.Primitives.StringSegment left, Microsoft.Extensions.Primitives.StringSegment right) => throw null; @@ -97,7 +97,7 @@ namespace Microsoft public static implicit operator Microsoft.Extensions.Primitives.StringSegment(string value) => throw null; } - // Generated from `Microsoft.Extensions.Primitives.StringSegmentComparer` in `Microsoft.Extensions.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Primitives.StringSegmentComparer` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringSegmentComparer : System.Collections.Generic.IComparer, System.Collections.Generic.IEqualityComparer { public int Compare(Microsoft.Extensions.Primitives.StringSegment x, Microsoft.Extensions.Primitives.StringSegment y) => throw null; @@ -107,10 +107,10 @@ namespace Microsoft public static Microsoft.Extensions.Primitives.StringSegmentComparer OrdinalIgnoreCase { get => throw null; } } - // Generated from `Microsoft.Extensions.Primitives.StringTokenizer` in `Microsoft.Extensions.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Primitives.StringTokenizer` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct StringTokenizer : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { - // Generated from `Microsoft.Extensions.Primitives.StringTokenizer+Enumerator` in `Microsoft.Extensions.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Primitives.StringTokenizer+Enumerator` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public Microsoft.Extensions.Primitives.StringSegment Current { get => throw null; } @@ -131,10 +131,10 @@ namespace Microsoft public StringTokenizer(string value, System.Char[] separators) => throw null; } - // Generated from `Microsoft.Extensions.Primitives.StringValues` in `Microsoft.Extensions.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Primitives.StringValues` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct StringValues : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable, System.IEquatable, System.IEquatable, System.IEquatable { - // Generated from `Microsoft.Extensions.Primitives.StringValues+Enumerator` in `Microsoft.Extensions.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.Primitives.StringValues+Enumerator` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public string Current { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.WebEncoders.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.WebEncoders.cs index bc8e332b8f7..d24413e22e8 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.WebEncoders.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.WebEncoders.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.EncoderServiceCollectionExtensions` in `Microsoft.Extensions.WebEncoders, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.DependencyInjection.EncoderServiceCollectionExtensions` in `Microsoft.Extensions.WebEncoders, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EncoderServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddWebEncoders(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -16,7 +16,7 @@ namespace Microsoft } namespace WebEncoders { - // Generated from `Microsoft.Extensions.WebEncoders.WebEncoderOptions` in `Microsoft.Extensions.WebEncoders, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.WebEncoders.WebEncoderOptions` in `Microsoft.Extensions.WebEncoders, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebEncoderOptions { public System.Text.Encodings.Web.TextEncoderSettings TextEncoderSettings { get => throw null; set => throw null; } @@ -25,7 +25,7 @@ namespace Microsoft namespace Testing { - // Generated from `Microsoft.Extensions.WebEncoders.Testing.HtmlTestEncoder` in `Microsoft.Extensions.WebEncoders, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.WebEncoders.Testing.HtmlTestEncoder` in `Microsoft.Extensions.WebEncoders, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlTestEncoder : System.Text.Encodings.Web.HtmlEncoder { public override void Encode(System.IO.TextWriter output, System.Char[] value, int startIndex, int characterCount) => throw null; @@ -38,7 +38,7 @@ namespace Microsoft public override bool WillEncode(int unicodeScalar) => throw null; } - // Generated from `Microsoft.Extensions.WebEncoders.Testing.JavaScriptTestEncoder` in `Microsoft.Extensions.WebEncoders, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.WebEncoders.Testing.JavaScriptTestEncoder` in `Microsoft.Extensions.WebEncoders, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JavaScriptTestEncoder : System.Text.Encodings.Web.JavaScriptEncoder { public override void Encode(System.IO.TextWriter output, System.Char[] value, int startIndex, int characterCount) => throw null; @@ -51,7 +51,7 @@ namespace Microsoft public override bool WillEncode(int unicodeScalar) => throw null; } - // Generated from `Microsoft.Extensions.WebEncoders.Testing.UrlTestEncoder` in `Microsoft.Extensions.WebEncoders, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Extensions.WebEncoders.Testing.UrlTestEncoder` in `Microsoft.Extensions.WebEncoders, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlTestEncoder : System.Text.Encodings.Web.UrlEncoder { public override void Encode(System.IO.TextWriter output, System.Char[] value, int startIndex, int characterCount) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.JSInterop.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.JSInterop.cs index 3f052a6a8db..236be85f289 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.JSInterop.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.JSInterop.cs @@ -4,20 +4,20 @@ namespace Microsoft { namespace JSInterop { - // Generated from `Microsoft.JSInterop.DotNetObjectReference` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.DotNetObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DotNetObjectReference { public static Microsoft.JSInterop.DotNetObjectReference Create(TValue value) where TValue : class => throw null; } - // Generated from `Microsoft.JSInterop.DotNetObjectReference<>` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.DotNetObjectReference<>` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DotNetObjectReference : System.IDisposable where TValue : class { public void Dispose() => throw null; public TValue Value { get => throw null; } } - // Generated from `Microsoft.JSInterop.DotNetStreamReference` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.DotNetStreamReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DotNetStreamReference : System.IDisposable { public void Dispose() => throw null; @@ -26,40 +26,40 @@ namespace Microsoft public System.IO.Stream Stream { get => throw null; } } - // Generated from `Microsoft.JSInterop.IJSInProcessObjectReference` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.IJSInProcessObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSInProcessObjectReference : Microsoft.JSInterop.IJSObjectReference, System.IAsyncDisposable, System.IDisposable { TValue Invoke(string identifier, params object[] args); } - // Generated from `Microsoft.JSInterop.IJSInProcessRuntime` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.IJSInProcessRuntime` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSInProcessRuntime : Microsoft.JSInterop.IJSRuntime { TResult Invoke(string identifier, params object[] args); } - // Generated from `Microsoft.JSInterop.IJSObjectReference` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.IJSObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSObjectReference : System.IAsyncDisposable { System.Threading.Tasks.ValueTask InvokeAsync(string identifier, System.Threading.CancellationToken cancellationToken, object[] args); System.Threading.Tasks.ValueTask InvokeAsync(string identifier, object[] args); } - // Generated from `Microsoft.JSInterop.IJSRuntime` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.IJSRuntime` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSRuntime { System.Threading.Tasks.ValueTask InvokeAsync(string identifier, System.Threading.CancellationToken cancellationToken, object[] args); System.Threading.Tasks.ValueTask InvokeAsync(string identifier, object[] args); } - // Generated from `Microsoft.JSInterop.IJSStreamReference` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.IJSStreamReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSStreamReference : System.IAsyncDisposable { System.Int64 Length { get; } System.Threading.Tasks.ValueTask OpenReadStreamAsync(System.Int64 maxAllowedSize = default(System.Int64), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.JSInterop.IJSUnmarshalledObjectReference` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.IJSUnmarshalledObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSUnmarshalledObjectReference : Microsoft.JSInterop.IJSInProcessObjectReference, Microsoft.JSInterop.IJSObjectReference, System.IAsyncDisposable, System.IDisposable { TResult InvokeUnmarshalled(string identifier, T0 arg0, T1 arg1, T2 arg2); @@ -68,7 +68,7 @@ namespace Microsoft TResult InvokeUnmarshalled(string identifier); } - // Generated from `Microsoft.JSInterop.IJSUnmarshalledRuntime` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.IJSUnmarshalledRuntime` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSUnmarshalledRuntime { TResult InvokeUnmarshalled(string identifier, T0 arg0, T1 arg1, T2 arg2); @@ -77,7 +77,7 @@ namespace Microsoft TResult InvokeUnmarshalled(string identifier); } - // Generated from `Microsoft.JSInterop.JSCallResultType` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.JSCallResultType` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum JSCallResultType : int { Default = 0, @@ -86,26 +86,26 @@ namespace Microsoft JSVoidResult = 3, } - // Generated from `Microsoft.JSInterop.JSDisconnectedException` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.JSDisconnectedException` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSDisconnectedException : System.Exception { public JSDisconnectedException(string message) => throw null; } - // Generated from `Microsoft.JSInterop.JSException` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.JSException` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSException : System.Exception { public JSException(string message) => throw null; public JSException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.JSInterop.JSInProcessObjectReferenceExtensions` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.JSInProcessObjectReferenceExtensions` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JSInProcessObjectReferenceExtensions { public static void InvokeVoid(this Microsoft.JSInterop.IJSInProcessObjectReference jsObjectReference, string identifier, params object[] args) => throw null; } - // Generated from `Microsoft.JSInterop.JSInProcessRuntime` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.JSInProcessRuntime` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class JSInProcessRuntime : Microsoft.JSInterop.JSRuntime, Microsoft.JSInterop.IJSInProcessRuntime, Microsoft.JSInterop.IJSRuntime { public TValue Invoke(string identifier, params object[] args) => throw null; @@ -114,13 +114,13 @@ namespace Microsoft protected JSInProcessRuntime() => throw null; } - // Generated from `Microsoft.JSInterop.JSInProcessRuntimeExtensions` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.JSInProcessRuntimeExtensions` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JSInProcessRuntimeExtensions { public static void InvokeVoid(this Microsoft.JSInterop.IJSInProcessRuntime jsRuntime, string identifier, params object[] args) => throw null; } - // Generated from `Microsoft.JSInterop.JSInvokableAttribute` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.JSInvokableAttribute` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSInvokableAttribute : System.Attribute { public string Identifier { get => throw null; } @@ -128,7 +128,7 @@ namespace Microsoft public JSInvokableAttribute(string identifier) => throw null; } - // Generated from `Microsoft.JSInterop.JSObjectReferenceExtensions` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.JSObjectReferenceExtensions` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JSObjectReferenceExtensions { public static System.Threading.Tasks.ValueTask InvokeAsync(this Microsoft.JSInterop.IJSObjectReference jsObjectReference, string identifier, System.Threading.CancellationToken cancellationToken, params object[] args) => throw null; @@ -139,7 +139,7 @@ namespace Microsoft public static System.Threading.Tasks.ValueTask InvokeVoidAsync(this Microsoft.JSInterop.IJSObjectReference jsObjectReference, string identifier, params object[] args) => throw null; } - // Generated from `Microsoft.JSInterop.JSRuntime` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.JSRuntime` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class JSRuntime : Microsoft.JSInterop.IJSRuntime, System.IDisposable { protected virtual void BeginInvokeJS(System.Int64 taskId, string identifier, string argsJson) => throw null; @@ -157,7 +157,7 @@ namespace Microsoft protected internal virtual System.Threading.Tasks.Task TransmitStreamAsync(System.Int64 streamId, Microsoft.JSInterop.DotNetStreamReference dotNetStreamReference) => throw null; } - // Generated from `Microsoft.JSInterop.JSRuntimeExtensions` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.JSRuntimeExtensions` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JSRuntimeExtensions { public static System.Threading.Tasks.ValueTask InvokeAsync(this Microsoft.JSInterop.IJSRuntime jsRuntime, string identifier, System.Threading.CancellationToken cancellationToken, params object[] args) => throw null; @@ -170,7 +170,7 @@ namespace Microsoft namespace Implementation { - // Generated from `Microsoft.JSInterop.Implementation.JSInProcessObjectReference` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.Implementation.JSInProcessObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSInProcessObjectReference : Microsoft.JSInterop.Implementation.JSObjectReference, Microsoft.JSInterop.IJSInProcessObjectReference, Microsoft.JSInterop.IJSObjectReference, System.IAsyncDisposable, System.IDisposable { public void Dispose() => throw null; @@ -178,7 +178,7 @@ namespace Microsoft protected internal JSInProcessObjectReference(Microsoft.JSInterop.JSInProcessRuntime jsRuntime, System.Int64 id) : base(default(Microsoft.JSInterop.JSRuntime), default(System.Int64)) => throw null; } - // Generated from `Microsoft.JSInterop.Implementation.JSObjectReference` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.Implementation.JSObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSObjectReference : Microsoft.JSInterop.IJSObjectReference, System.IAsyncDisposable { public System.Threading.Tasks.ValueTask DisposeAsync() => throw null; @@ -189,14 +189,14 @@ namespace Microsoft protected void ThrowIfDisposed() => throw null; } - // Generated from `Microsoft.JSInterop.Implementation.JSObjectReferenceJsonWorker` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.Implementation.JSObjectReferenceJsonWorker` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JSObjectReferenceJsonWorker { public static System.Int64 ReadJSObjectReferenceIdentifier(ref System.Text.Json.Utf8JsonReader reader) => throw null; public static void WriteJSObjectReference(System.Text.Json.Utf8JsonWriter writer, Microsoft.JSInterop.Implementation.JSObjectReference objectReference) => throw null; } - // Generated from `Microsoft.JSInterop.Implementation.JSStreamReference` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.Implementation.JSStreamReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSStreamReference : Microsoft.JSInterop.Implementation.JSObjectReference, Microsoft.JSInterop.IJSStreamReference, System.IAsyncDisposable { internal JSStreamReference(Microsoft.JSInterop.JSRuntime jsRuntime, System.Int64 id, System.Int64 totalLength) : base(default(Microsoft.JSInterop.JSRuntime), default(System.Int64)) => throw null; @@ -207,7 +207,7 @@ namespace Microsoft } namespace Infrastructure { - // Generated from `Microsoft.JSInterop.Infrastructure.DotNetDispatcher` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.Infrastructure.DotNetDispatcher` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DotNetDispatcher { public static void BeginInvokeDotNet(Microsoft.JSInterop.JSRuntime jsRuntime, Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo invocationInfo, string argsJson) => throw null; @@ -216,7 +216,7 @@ namespace Microsoft public static void ReceiveByteArray(Microsoft.JSInterop.JSRuntime jsRuntime, int id, System.Byte[] data) => throw null; } - // Generated from `Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct DotNetInvocationInfo { public string AssemblyName { get => throw null; } @@ -227,7 +227,7 @@ namespace Microsoft public string MethodIdentifier { get => throw null; } } - // Generated from `Microsoft.JSInterop.Infrastructure.DotNetInvocationResult` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.Infrastructure.DotNetInvocationResult` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct DotNetInvocationResult { // Stub generator skipped constructor @@ -237,12 +237,12 @@ namespace Microsoft public bool Success { get => throw null; } } - // Generated from `Microsoft.JSInterop.Infrastructure.IDotNetObjectReference` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.Infrastructure.IDotNetObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IDotNetObjectReference : System.IDisposable { } - // Generated from `Microsoft.JSInterop.Infrastructure.IJSVoidResult` in `Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.JSInterop.Infrastructure.IJSVoidResult` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSVoidResult { } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Net.Http.Headers.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Net.Http.Headers.cs index 4ea5349a8a5..e6a51899675 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Net.Http.Headers.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Net.Http.Headers.cs @@ -8,7 +8,7 @@ namespace Microsoft { namespace Headers { - // Generated from `Microsoft.Net.Http.Headers.CacheControlHeaderValue` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.CacheControlHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheControlHeaderValue { public CacheControlHeaderValue() => throw null; @@ -47,7 +47,7 @@ namespace Microsoft public static bool TryParse(Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.CacheControlHeaderValue parsedValue) => throw null; } - // Generated from `Microsoft.Net.Http.Headers.ContentDispositionHeaderValue` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.ContentDispositionHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ContentDispositionHeaderValue { public ContentDispositionHeaderValue(Microsoft.Extensions.Primitives.StringSegment dispositionType) => throw null; @@ -69,14 +69,14 @@ namespace Microsoft public static bool TryParse(Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.ContentDispositionHeaderValue parsedValue) => throw null; } - // Generated from `Microsoft.Net.Http.Headers.ContentDispositionHeaderValueIdentityExtensions` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.ContentDispositionHeaderValueIdentityExtensions` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ContentDispositionHeaderValueIdentityExtensions { public static bool IsFileDisposition(this Microsoft.Net.Http.Headers.ContentDispositionHeaderValue header) => throw null; public static bool IsFormDisposition(this Microsoft.Net.Http.Headers.ContentDispositionHeaderValue header) => throw null; } - // Generated from `Microsoft.Net.Http.Headers.ContentRangeHeaderValue` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.ContentRangeHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ContentRangeHeaderValue { public ContentRangeHeaderValue(System.Int64 length) => throw null; @@ -95,7 +95,7 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Unit { get => throw null; set => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.CookieHeaderValue` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.CookieHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieHeaderValue { public CookieHeaderValue(Microsoft.Extensions.Primitives.StringSegment name) => throw null; @@ -113,7 +113,7 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.EntityTagHeaderValue` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.EntityTagHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EntityTagHeaderValue { public static Microsoft.Net.Http.Headers.EntityTagHeaderValue Any { get => throw null; } @@ -133,7 +133,7 @@ namespace Microsoft public static bool TryParseStrictList(System.Collections.Generic.IList inputs, out System.Collections.Generic.IList parsedValues) => throw null; } - // Generated from `Microsoft.Net.Http.Headers.HeaderNames` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.HeaderNames` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HeaderNames { public static string Accept; @@ -234,14 +234,14 @@ namespace Microsoft public static string XXSSProtection; } - // Generated from `Microsoft.Net.Http.Headers.HeaderQuality` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.HeaderQuality` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HeaderQuality { public const double Match = default; public const double NoMatch = default; } - // Generated from `Microsoft.Net.Http.Headers.HeaderUtilities` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.HeaderUtilities` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HeaderUtilities { public static bool ContainsCacheDirective(Microsoft.Extensions.Primitives.StringValues cacheControlDirectives, string targetDirectives) => throw null; @@ -258,7 +258,7 @@ namespace Microsoft public static Microsoft.Extensions.Primitives.StringSegment UnescapeAsQuotedString(Microsoft.Extensions.Primitives.StringSegment input) => throw null; } - // Generated from `Microsoft.Net.Http.Headers.MediaTypeHeaderValue` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.MediaTypeHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MediaTypeHeaderValue { public Microsoft.Extensions.Primitives.StringSegment Boundary { get => throw null; set => throw null; } @@ -293,14 +293,14 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Type { get => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.MediaTypeHeaderValueComparer` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.MediaTypeHeaderValueComparer` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MediaTypeHeaderValueComparer : System.Collections.Generic.IComparer { public int Compare(Microsoft.Net.Http.Headers.MediaTypeHeaderValue mediaType1, Microsoft.Net.Http.Headers.MediaTypeHeaderValue mediaType2) => throw null; public static Microsoft.Net.Http.Headers.MediaTypeHeaderValueComparer QualityComparer { get => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.NameValueHeaderValue` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.NameValueHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NameValueHeaderValue { public Microsoft.Net.Http.Headers.NameValueHeaderValue Copy() => throw null; @@ -324,7 +324,7 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.RangeConditionHeaderValue` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.RangeConditionHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RangeConditionHeaderValue { public Microsoft.Net.Http.Headers.EntityTagHeaderValue EntityTag { get => throw null; } @@ -339,7 +339,7 @@ namespace Microsoft public static bool TryParse(Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.RangeConditionHeaderValue parsedValue) => throw null; } - // Generated from `Microsoft.Net.Http.Headers.RangeHeaderValue` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.RangeHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RangeHeaderValue { public override bool Equals(object obj) => throw null; @@ -353,7 +353,7 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Unit { get => throw null; set => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.RangeItemHeaderValue` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.RangeItemHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RangeItemHeaderValue { public override bool Equals(object obj) => throw null; @@ -364,7 +364,7 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.Net.Http.Headers.SameSiteMode` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.SameSiteMode` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum SameSiteMode : int { Lax = 1, @@ -373,7 +373,7 @@ namespace Microsoft Unspecified = -1, } - // Generated from `Microsoft.Net.Http.Headers.SetCookieHeaderValue` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.SetCookieHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SetCookieHeaderValue { public void AppendToStringBuilder(System.Text.StringBuilder builder) => throw null; @@ -400,7 +400,7 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.StringWithQualityHeaderValue` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.StringWithQualityHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringWithQualityHeaderValue { public override bool Equals(object obj) => throw null; @@ -418,7 +418,7 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Value { get => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.StringWithQualityHeaderValueComparer` in `Microsoft.Net.Http.Headers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` + // Generated from `Microsoft.Net.Http.Headers.StringWithQualityHeaderValueComparer` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringWithQualityHeaderValueComparer : System.Collections.Generic.IComparer { public int Compare(Microsoft.Net.Http.Headers.StringWithQualityHeaderValue stringWithQuality1, Microsoft.Net.Http.Headers.StringWithQualityHeaderValue stringWithQuality2) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Diagnostics.EventLog.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Diagnostics.EventLog.cs index 18c944f39dd..1a8c6a873e6 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Diagnostics.EventLog.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Diagnostics.EventLog.cs @@ -4,7 +4,7 @@ namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.EntryWrittenEventArgs` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.EntryWrittenEventArgs` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EntryWrittenEventArgs : System.EventArgs { public System.Diagnostics.EventLogEntry Entry { get => throw null; } @@ -12,10 +12,10 @@ namespace System public EntryWrittenEventArgs(System.Diagnostics.EventLogEntry entry) => throw null; } - // Generated from `System.Diagnostics.EntryWrittenEventHandler` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.EntryWrittenEventHandler` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void EntryWrittenEventHandler(object sender, System.Diagnostics.EntryWrittenEventArgs e); - // Generated from `System.Diagnostics.EventInstance` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.EventInstance` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventInstance { public int CategoryId { get => throw null; set => throw null; } @@ -25,7 +25,7 @@ namespace System public System.Int64 InstanceId { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.EventLog` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.EventLog` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLog : System.ComponentModel.Component, System.ComponentModel.ISupportInitialize { public void BeginInit() => throw null; @@ -80,7 +80,7 @@ namespace System public static void WriteEvent(string source, System.Diagnostics.EventInstance instance, params object[] values) => throw null; } - // Generated from `System.Diagnostics.EventLogEntry` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.EventLogEntry` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogEntry : System.ComponentModel.Component, System.Runtime.Serialization.ISerializable { public string Category { get => throw null; } @@ -101,7 +101,7 @@ namespace System public string UserName { get => throw null; } } - // Generated from `System.Diagnostics.EventLogEntryCollection` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.EventLogEntryCollection` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogEntryCollection : System.Collections.ICollection, System.Collections.IEnumerable { void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; @@ -113,7 +113,7 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Diagnostics.EventLogEntryType` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.EventLogEntryType` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum EventLogEntryType : int { Error = 1, @@ -123,7 +123,7 @@ namespace System Warning = 2, } - // Generated from `System.Diagnostics.EventLogTraceListener` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.EventLogTraceListener` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogTraceListener : System.Diagnostics.TraceListener { public override void Close() => throw null; @@ -141,7 +141,7 @@ namespace System public override void WriteLine(string message) => throw null; } - // Generated from `System.Diagnostics.EventSourceCreationData` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.EventSourceCreationData` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventSourceCreationData { public int CategoryCount { get => throw null; set => throw null; } @@ -154,7 +154,7 @@ namespace System public string Source { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.OverflowAction` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.OverflowAction` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum OverflowAction : int { DoNotOverwrite = -1, @@ -166,12 +166,14 @@ namespace System { namespace Reader { - // Generated from `System.Diagnostics.Eventing.Reader.EventBookmark` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventBookmark` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventBookmark { + public string BookmarkXml { get => throw null; } + public EventBookmark(string bookmarkXml) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventKeyword` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventKeyword` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventKeyword { public string DisplayName { get => throw null; } @@ -179,7 +181,7 @@ namespace System public System.Int64 Value { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLevel` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLevel` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLevel { public string DisplayName { get => throw null; } @@ -187,7 +189,7 @@ namespace System public int Value { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogConfiguration` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogConfiguration` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogConfiguration : System.IDisposable { public void Dispose() => throw null; @@ -215,7 +217,7 @@ namespace System public string SecurityDescriptor { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogException` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogException` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogException : System.Exception { public EventLogException() => throw null; @@ -227,7 +229,7 @@ namespace System public override string Message { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogInformation` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogInformation` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogInformation { public int? Attributes { get => throw null; } @@ -240,7 +242,7 @@ namespace System public System.Int64? RecordCount { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogInvalidDataException` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogInvalidDataException` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogInvalidDataException : System.Diagnostics.Eventing.Reader.EventLogException { public EventLogInvalidDataException() => throw null; @@ -249,7 +251,7 @@ namespace System public EventLogInvalidDataException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogIsolation` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogIsolation` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum EventLogIsolation : int { Application = 0, @@ -257,7 +259,7 @@ namespace System System = 1, } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogLink` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogLink` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogLink { public string DisplayName { get => throw null; } @@ -265,7 +267,7 @@ namespace System public string LogName { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogMode` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogMode` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum EventLogMode : int { AutoBackup = 1, @@ -273,7 +275,7 @@ namespace System Retain = 2, } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogNotFoundException` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogNotFoundException` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogNotFoundException : System.Diagnostics.Eventing.Reader.EventLogException { public EventLogNotFoundException() => throw null; @@ -282,7 +284,7 @@ namespace System public EventLogNotFoundException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogPropertySelector` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogPropertySelector` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogPropertySelector : System.IDisposable { public void Dispose() => throw null; @@ -290,7 +292,7 @@ namespace System public EventLogPropertySelector(System.Collections.Generic.IEnumerable propertyQueries) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogProviderDisabledException : System.Diagnostics.Eventing.Reader.EventLogException { public EventLogProviderDisabledException() => throw null; @@ -299,7 +301,7 @@ namespace System public EventLogProviderDisabledException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogQuery` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogQuery` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogQuery { public EventLogQuery(string path, System.Diagnostics.Eventing.Reader.PathType pathType) => throw null; @@ -309,7 +311,7 @@ namespace System public bool TolerateQueryErrors { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogReader` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogReader` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogReader : System.IDisposable { public int BatchSize { get => throw null; set => throw null; } @@ -328,7 +330,7 @@ namespace System public void Seek(System.IO.SeekOrigin origin, System.Int64 offset) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogReadingException` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogReadingException` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogReadingException : System.Diagnostics.Eventing.Reader.EventLogException { public EventLogReadingException() => throw null; @@ -337,7 +339,7 @@ namespace System public EventLogReadingException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogRecord` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogRecord` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogRecord : System.Diagnostics.Eventing.Reader.EventRecord { public override System.Guid? ActivityId { get => throw null; } @@ -373,7 +375,7 @@ namespace System public override System.Byte? Version { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogSession` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogSession` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogSession : System.IDisposable { public void CancelCurrentOperations() => throw null; @@ -394,14 +396,14 @@ namespace System public static System.Diagnostics.Eventing.Reader.EventLogSession GlobalSession { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogStatus` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogStatus` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogStatus { public string LogName { get => throw null; } public int StatusCode { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogType` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogType` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum EventLogType : int { Administrative = 0, @@ -410,7 +412,7 @@ namespace System Operational = 1, } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogWatcher` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventLogWatcher` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogWatcher : System.IDisposable { public void Dispose() => throw null; @@ -423,7 +425,7 @@ namespace System public event System.EventHandler EventRecordWritten; } - // Generated from `System.Diagnostics.Eventing.Reader.EventMetadata` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventMetadata` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventMetadata { public string Description { get => throw null; } @@ -437,7 +439,7 @@ namespace System public System.Byte Version { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventOpcode` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventOpcode` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventOpcode { public string DisplayName { get => throw null; } @@ -445,13 +447,13 @@ namespace System public int Value { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventProperty` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventProperty` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventProperty { public object Value { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventRecord` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventRecord` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class EventRecord : System.IDisposable { public abstract System.Guid? ActivityId { get; } @@ -486,14 +488,14 @@ namespace System public abstract System.Byte? Version { get; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventRecordWrittenEventArgs` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventRecordWrittenEventArgs` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventRecordWrittenEventArgs : System.EventArgs { public System.Exception EventException { get => throw null; } public System.Diagnostics.Eventing.Reader.EventRecord EventRecord { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventTask` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.EventTask` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventTask { public string DisplayName { get => throw null; } @@ -502,14 +504,14 @@ namespace System public int Value { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.PathType` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.PathType` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum PathType : int { FilePath = 2, LogName = 1, } - // Generated from `System.Diagnostics.Eventing.Reader.ProviderMetadata` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.ProviderMetadata` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ProviderMetadata : System.IDisposable { public string DisplayName { get => throw null; } @@ -531,7 +533,7 @@ namespace System public System.Collections.Generic.IList Tasks { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.SessionAuthentication` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.SessionAuthentication` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum SessionAuthentication : int { Default = 0, @@ -540,7 +542,7 @@ namespace System Ntlm = 3, } - // Generated from `System.Diagnostics.Eventing.Reader.StandardEventKeywords` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.StandardEventKeywords` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum StandardEventKeywords : long { @@ -556,7 +558,7 @@ namespace System WdiDiagnostic = 1125899906842624, } - // Generated from `System.Diagnostics.Eventing.Reader.StandardEventLevel` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.StandardEventLevel` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum StandardEventLevel : int { Critical = 1, @@ -567,7 +569,7 @@ namespace System Warning = 3, } - // Generated from `System.Diagnostics.Eventing.Reader.StandardEventOpcode` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.StandardEventOpcode` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum StandardEventOpcode : int { DataCollectionStart = 3, @@ -583,7 +585,7 @@ namespace System Suspend = 8, } - // Generated from `System.Diagnostics.Eventing.Reader.StandardEventTask` in `System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Eventing.Reader.StandardEventTask` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum StandardEventTask : int { None = 0, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.IO.Pipelines.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.IO.Pipelines.cs index b6ac93159af..efe0f516df0 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.IO.Pipelines.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.IO.Pipelines.cs @@ -6,7 +6,7 @@ namespace System { namespace Pipelines { - // Generated from `System.IO.Pipelines.FlushResult` in `System.IO.Pipelines, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.IO.Pipelines.FlushResult` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct FlushResult { // Stub generator skipped constructor @@ -15,14 +15,14 @@ namespace System public bool IsCompleted { get => throw null; } } - // Generated from `System.IO.Pipelines.IDuplexPipe` in `System.IO.Pipelines, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.IO.Pipelines.IDuplexPipe` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IDuplexPipe { System.IO.Pipelines.PipeReader Input { get; } System.IO.Pipelines.PipeWriter Output { get; } } - // Generated from `System.IO.Pipelines.Pipe` in `System.IO.Pipelines, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.IO.Pipelines.Pipe` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Pipe { public Pipe() => throw null; @@ -32,7 +32,7 @@ namespace System public System.IO.Pipelines.PipeWriter Writer { get => throw null; } } - // Generated from `System.IO.Pipelines.PipeOptions` in `System.IO.Pipelines, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.IO.Pipelines.PipeOptions` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class PipeOptions { public static System.IO.Pipelines.PipeOptions Default { get => throw null; } @@ -46,7 +46,7 @@ namespace System public System.IO.Pipelines.PipeScheduler WriterScheduler { get => throw null; } } - // Generated from `System.IO.Pipelines.PipeReader` in `System.IO.Pipelines, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.IO.Pipelines.PipeReader` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class PipeReader { public abstract void AdvanceTo(System.SequencePosition consumed); @@ -67,7 +67,7 @@ namespace System public abstract bool TryRead(out System.IO.Pipelines.ReadResult result); } - // Generated from `System.IO.Pipelines.PipeScheduler` in `System.IO.Pipelines, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.IO.Pipelines.PipeScheduler` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class PipeScheduler { public static System.IO.Pipelines.PipeScheduler Inline { get => throw null; } @@ -76,7 +76,7 @@ namespace System public static System.IO.Pipelines.PipeScheduler ThreadPool { get => throw null; } } - // Generated from `System.IO.Pipelines.PipeWriter` in `System.IO.Pipelines, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.IO.Pipelines.PipeWriter` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class PipeWriter : System.Buffers.IBufferWriter { public abstract void Advance(int bytes); @@ -96,7 +96,7 @@ namespace System public virtual System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.IO.Pipelines.ReadResult` in `System.IO.Pipelines, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.IO.Pipelines.ReadResult` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ReadResult { public System.Buffers.ReadOnlySequence Buffer { get => throw null; } @@ -106,13 +106,13 @@ namespace System public ReadResult(System.Buffers.ReadOnlySequence buffer, bool isCanceled, bool isCompleted) => throw null; } - // Generated from `System.IO.Pipelines.StreamPipeExtensions` in `System.IO.Pipelines, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.IO.Pipelines.StreamPipeExtensions` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class StreamPipeExtensions { public static System.Threading.Tasks.Task CopyToAsync(this System.IO.Stream source, System.IO.Pipelines.PipeWriter destination, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.IO.Pipelines.StreamPipeReaderOptions` in `System.IO.Pipelines, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.IO.Pipelines.StreamPipeReaderOptions` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class StreamPipeReaderOptions { public int BufferSize { get => throw null; } @@ -124,7 +124,7 @@ namespace System public bool UseZeroByteReads { get => throw null; } } - // Generated from `System.IO.Pipelines.StreamPipeWriterOptions` in `System.IO.Pipelines, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.IO.Pipelines.StreamPipeWriterOptions` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class StreamPipeWriterOptions { public bool LeaveOpen { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Security.Cryptography.Xml.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Security.Cryptography.Xml.cs index d8e56df70fb..99fd55bb131 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Security.Cryptography.Xml.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Security.Cryptography.Xml.cs @@ -8,7 +8,7 @@ namespace System { namespace Xml { - // Generated from `System.Security.Cryptography.Xml.CipherData` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.CipherData` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class CipherData { public CipherData() => throw null; @@ -20,7 +20,7 @@ namespace System public void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.CipherReference` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.CipherReference` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class CipherReference : System.Security.Cryptography.Xml.EncryptedReference { public CipherReference() => throw null; @@ -30,7 +30,7 @@ namespace System public override void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.DSAKeyValue` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.DSAKeyValue` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DSAKeyValue : System.Security.Cryptography.Xml.KeyInfoClause { public DSAKeyValue() => throw null; @@ -40,7 +40,7 @@ namespace System public override void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.DataObject` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.DataObject` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DataObject { public System.Xml.XmlNodeList Data { get => throw null; set => throw null; } @@ -53,7 +53,7 @@ namespace System public string MimeType { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.DataReference` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.DataReference` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DataReference : System.Security.Cryptography.Xml.EncryptedReference { public DataReference() => throw null; @@ -61,7 +61,7 @@ namespace System public DataReference(string uri, System.Security.Cryptography.Xml.TransformChain transformChain) => throw null; } - // Generated from `System.Security.Cryptography.Xml.EncryptedData` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.EncryptedData` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EncryptedData : System.Security.Cryptography.Xml.EncryptedType { public EncryptedData() => throw null; @@ -69,7 +69,7 @@ namespace System public override void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.EncryptedKey` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.EncryptedKey` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EncryptedKey : System.Security.Cryptography.Xml.EncryptedType { public void AddReference(System.Security.Cryptography.Xml.DataReference dataReference) => throw null; @@ -82,7 +82,7 @@ namespace System public System.Security.Cryptography.Xml.ReferenceList ReferenceList { get => throw null; } } - // Generated from `System.Security.Cryptography.Xml.EncryptedReference` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.EncryptedReference` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class EncryptedReference { public void AddTransform(System.Security.Cryptography.Xml.Transform transform) => throw null; @@ -97,7 +97,7 @@ namespace System public string Uri { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.EncryptedType` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.EncryptedType` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class EncryptedType { public void AddProperty(System.Security.Cryptography.Xml.EncryptionProperty ep) => throw null; @@ -114,7 +114,7 @@ namespace System public virtual string Type { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.EncryptedXml` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.EncryptedXml` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EncryptedXml { public void AddKeyNameMapping(string keyName, object keyObject) => throw null; @@ -164,7 +164,7 @@ namespace System public const string XmlEncTripleDESUrl = default; } - // Generated from `System.Security.Cryptography.Xml.EncryptionMethod` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.EncryptionMethod` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EncryptionMethod { public EncryptionMethod() => throw null; @@ -175,7 +175,7 @@ namespace System public void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.EncryptionProperty` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.EncryptionProperty` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EncryptionProperty { public EncryptionProperty() => throw null; @@ -187,7 +187,7 @@ namespace System public string Target { get => throw null; } } - // Generated from `System.Security.Cryptography.Xml.EncryptionPropertyCollection` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.EncryptionPropertyCollection` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EncryptionPropertyCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public int Add(System.Security.Cryptography.Xml.EncryptionProperty value) => throw null; @@ -217,13 +217,13 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Security.Cryptography.Xml.IRelDecryptor` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.IRelDecryptor` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IRelDecryptor { System.IO.Stream Decrypt(System.Security.Cryptography.Xml.EncryptionMethod encryptionMethod, System.Security.Cryptography.Xml.KeyInfo keyInfo, System.IO.Stream toDecrypt); } - // Generated from `System.Security.Cryptography.Xml.KeyInfo` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.KeyInfo` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyInfo : System.Collections.IEnumerable { public void AddClause(System.Security.Cryptography.Xml.KeyInfoClause clause) => throw null; @@ -236,7 +236,7 @@ namespace System public void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.KeyInfoClause` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.KeyInfoClause` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class KeyInfoClause { public abstract System.Xml.XmlElement GetXml(); @@ -244,7 +244,7 @@ namespace System public abstract void LoadXml(System.Xml.XmlElement element); } - // Generated from `System.Security.Cryptography.Xml.KeyInfoEncryptedKey` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.KeyInfoEncryptedKey` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyInfoEncryptedKey : System.Security.Cryptography.Xml.KeyInfoClause { public System.Security.Cryptography.Xml.EncryptedKey EncryptedKey { get => throw null; set => throw null; } @@ -254,7 +254,7 @@ namespace System public override void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.KeyInfoName` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.KeyInfoName` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyInfoName : System.Security.Cryptography.Xml.KeyInfoClause { public override System.Xml.XmlElement GetXml() => throw null; @@ -264,7 +264,7 @@ namespace System public string Value { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.KeyInfoNode` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.KeyInfoNode` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyInfoNode : System.Security.Cryptography.Xml.KeyInfoClause { public override System.Xml.XmlElement GetXml() => throw null; @@ -274,7 +274,7 @@ namespace System public System.Xml.XmlElement Value { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.KeyInfoRetrievalMethod` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.KeyInfoRetrievalMethod` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyInfoRetrievalMethod : System.Security.Cryptography.Xml.KeyInfoClause { public override System.Xml.XmlElement GetXml() => throw null; @@ -286,7 +286,7 @@ namespace System public string Uri { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.KeyInfoX509Data` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.KeyInfoX509Data` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyInfoX509Data : System.Security.Cryptography.Xml.KeyInfoClause { public void AddCertificate(System.Security.Cryptography.X509Certificates.X509Certificate certificate) => throw null; @@ -307,7 +307,7 @@ namespace System public System.Collections.ArrayList SubjectNames { get => throw null; } } - // Generated from `System.Security.Cryptography.Xml.KeyReference` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.KeyReference` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyReference : System.Security.Cryptography.Xml.EncryptedReference { public KeyReference() => throw null; @@ -315,7 +315,7 @@ namespace System public KeyReference(string uri, System.Security.Cryptography.Xml.TransformChain transformChain) => throw null; } - // Generated from `System.Security.Cryptography.Xml.RSAKeyValue` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.RSAKeyValue` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class RSAKeyValue : System.Security.Cryptography.Xml.KeyInfoClause { public override System.Xml.XmlElement GetXml() => throw null; @@ -325,7 +325,7 @@ namespace System public RSAKeyValue(System.Security.Cryptography.RSA key) => throw null; } - // Generated from `System.Security.Cryptography.Xml.Reference` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.Reference` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Reference { public void AddTransform(System.Security.Cryptography.Xml.Transform transform) => throw null; @@ -342,7 +342,7 @@ namespace System public string Uri { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.ReferenceList` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.ReferenceList` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ReferenceList : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public int Add(object value) => throw null; @@ -366,7 +366,7 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Security.Cryptography.Xml.Signature` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.Signature` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Signature { public void AddObject(System.Security.Cryptography.Xml.DataObject dataObject) => throw null; @@ -380,7 +380,7 @@ namespace System public System.Security.Cryptography.Xml.SignedInfo SignedInfo { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.SignedInfo` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.SignedInfo` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SignedInfo : System.Collections.ICollection, System.Collections.IEnumerable { public void AddReference(System.Security.Cryptography.Xml.Reference reference) => throw null; @@ -401,7 +401,7 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Security.Cryptography.Xml.SignedXml` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.SignedXml` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SignedXml { public void AddObject(System.Security.Cryptography.Xml.DataObject dataObject) => throw null; @@ -460,7 +460,7 @@ namespace System protected string m_strSigningKeyName; } - // Generated from `System.Security.Cryptography.Xml.Transform` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.Transform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Transform { public string Algorithm { get => throw null; set => throw null; } @@ -479,7 +479,7 @@ namespace System protected Transform() => throw null; } - // Generated from `System.Security.Cryptography.Xml.TransformChain` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.TransformChain` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransformChain { public void Add(System.Security.Cryptography.Xml.Transform transform) => throw null; @@ -489,7 +489,7 @@ namespace System public TransformChain() => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDecryptionTransform` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.XmlDecryptionTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDecryptionTransform : System.Security.Cryptography.Xml.Transform { public void AddExceptUri(string uri) => throw null; @@ -505,7 +505,7 @@ namespace System public XmlDecryptionTransform() => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigBase64Transform` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.XmlDsigBase64Transform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigBase64Transform : System.Security.Cryptography.Xml.Transform { protected override System.Xml.XmlNodeList GetInnerXml() => throw null; @@ -518,7 +518,7 @@ namespace System public XmlDsigBase64Transform() => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigC14NTransform` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.XmlDsigC14NTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigC14NTransform : System.Security.Cryptography.Xml.Transform { public override System.Byte[] GetDigestedOutput(System.Security.Cryptography.HashAlgorithm hash) => throw null; @@ -533,13 +533,13 @@ namespace System public XmlDsigC14NTransform(bool includeComments) => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigC14NWithCommentsTransform` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.XmlDsigC14NWithCommentsTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigC14NWithCommentsTransform : System.Security.Cryptography.Xml.XmlDsigC14NTransform { public XmlDsigC14NWithCommentsTransform() => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigEnvelopedSignatureTransform : System.Security.Cryptography.Xml.Transform { protected override System.Xml.XmlNodeList GetInnerXml() => throw null; @@ -553,7 +553,7 @@ namespace System public XmlDsigEnvelopedSignatureTransform(bool includeComments) => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigExcC14NTransform` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.XmlDsigExcC14NTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigExcC14NTransform : System.Security.Cryptography.Xml.Transform { public override System.Byte[] GetDigestedOutput(System.Security.Cryptography.HashAlgorithm hash) => throw null; @@ -571,14 +571,14 @@ namespace System public XmlDsigExcC14NTransform(string inclusiveNamespacesPrefixList) => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigExcC14NWithCommentsTransform` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.XmlDsigExcC14NWithCommentsTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigExcC14NWithCommentsTransform : System.Security.Cryptography.Xml.XmlDsigExcC14NTransform { public XmlDsigExcC14NWithCommentsTransform() => throw null; public XmlDsigExcC14NWithCommentsTransform(string inclusiveNamespacesPrefixList) => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigXPathTransform` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.XmlDsigXPathTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigXPathTransform : System.Security.Cryptography.Xml.Transform { protected override System.Xml.XmlNodeList GetInnerXml() => throw null; @@ -591,7 +591,7 @@ namespace System public XmlDsigXPathTransform() => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigXsltTransform` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.XmlDsigXsltTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigXsltTransform : System.Security.Cryptography.Xml.Transform { protected override System.Xml.XmlNodeList GetInnerXml() => throw null; @@ -605,7 +605,7 @@ namespace System public XmlDsigXsltTransform(bool includeComments) => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlLicenseTransform` in `System.Security.Cryptography.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Security.Cryptography.Xml.XmlLicenseTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlLicenseTransform : System.Security.Cryptography.Xml.Transform { public System.Security.Cryptography.Xml.IRelDecryptor Decryptor { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Threading.RateLimiting.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Threading.RateLimiting.cs new file mode 100644 index 00000000000..9973a360f34 --- /dev/null +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Threading.RateLimiting.cs @@ -0,0 +1,231 @@ +// This file contains auto-generated code. + +namespace System +{ + namespace Threading + { + namespace RateLimiting + { + // Generated from `System.Threading.RateLimiting.ConcurrencyLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class ConcurrencyLimiter : System.Threading.RateLimiting.RateLimiter + { + protected override System.Threading.Tasks.ValueTask AcquireAsyncCore(int permitCount, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected override System.Threading.RateLimiting.RateLimitLease AttemptAcquireCore(int permitCount) => throw null; + public ConcurrencyLimiter(System.Threading.RateLimiting.ConcurrencyLimiterOptions options) => throw null; + protected override void Dispose(bool disposing) => throw null; + protected override System.Threading.Tasks.ValueTask DisposeAsyncCore() => throw null; + public override System.Threading.RateLimiting.RateLimiterStatistics GetStatistics() => throw null; + public override System.TimeSpan? IdleDuration { get => throw null; } + } + + // Generated from `System.Threading.RateLimiting.ConcurrencyLimiterOptions` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class ConcurrencyLimiterOptions + { + public ConcurrencyLimiterOptions() => throw null; + public int PermitLimit { get => throw null; set => throw null; } + public int QueueLimit { get => throw null; set => throw null; } + public System.Threading.RateLimiting.QueueProcessingOrder QueueProcessingOrder { get => throw null; set => throw null; } + } + + // Generated from `System.Threading.RateLimiting.FixedWindowRateLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class FixedWindowRateLimiter : System.Threading.RateLimiting.ReplenishingRateLimiter + { + protected override System.Threading.Tasks.ValueTask AcquireAsyncCore(int permitCount, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected override System.Threading.RateLimiting.RateLimitLease AttemptAcquireCore(int permitCount) => throw null; + protected override void Dispose(bool disposing) => throw null; + protected override System.Threading.Tasks.ValueTask DisposeAsyncCore() => throw null; + public FixedWindowRateLimiter(System.Threading.RateLimiting.FixedWindowRateLimiterOptions options) => throw null; + public override System.Threading.RateLimiting.RateLimiterStatistics GetStatistics() => throw null; + public override System.TimeSpan? IdleDuration { get => throw null; } + public override bool IsAutoReplenishing { get => throw null; } + public override System.TimeSpan ReplenishmentPeriod { get => throw null; } + public override bool TryReplenish() => throw null; + } + + // Generated from `System.Threading.RateLimiting.FixedWindowRateLimiterOptions` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class FixedWindowRateLimiterOptions + { + public bool AutoReplenishment { get => throw null; set => throw null; } + public FixedWindowRateLimiterOptions() => throw null; + public int PermitLimit { get => throw null; set => throw null; } + public int QueueLimit { get => throw null; set => throw null; } + public System.Threading.RateLimiting.QueueProcessingOrder QueueProcessingOrder { get => throw null; set => throw null; } + public System.TimeSpan Window { get => throw null; set => throw null; } + } + + // Generated from `System.Threading.RateLimiting.MetadataName` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public static class MetadataName + { + public static System.Threading.RateLimiting.MetadataName Create(string name) => throw null; + public static System.Threading.RateLimiting.MetadataName ReasonPhrase { get => throw null; } + public static System.Threading.RateLimiting.MetadataName RetryAfter { get => throw null; } + } + + // Generated from `System.Threading.RateLimiting.MetadataName<>` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class MetadataName : System.IEquatable> + { + public static bool operator !=(System.Threading.RateLimiting.MetadataName left, System.Threading.RateLimiting.MetadataName right) => throw null; + public static bool operator ==(System.Threading.RateLimiting.MetadataName left, System.Threading.RateLimiting.MetadataName right) => throw null; + public bool Equals(System.Threading.RateLimiting.MetadataName other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public MetadataName(string name) => throw null; + public string Name { get => throw null; } + public override string ToString() => throw null; + } + + // Generated from `System.Threading.RateLimiting.PartitionedRateLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public static class PartitionedRateLimiter + { + public static System.Threading.RateLimiting.PartitionedRateLimiter Create(System.Func> partitioner, System.Collections.Generic.IEqualityComparer equalityComparer = default(System.Collections.Generic.IEqualityComparer)) => throw null; + public static System.Threading.RateLimiting.PartitionedRateLimiter CreateChained(params System.Threading.RateLimiting.PartitionedRateLimiter[] limiters) => throw null; + } + + // Generated from `System.Threading.RateLimiting.PartitionedRateLimiter<>` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public abstract class PartitionedRateLimiter : System.IAsyncDisposable, System.IDisposable + { + public System.Threading.Tasks.ValueTask AcquireAsync(TResource resource, int permitCount = default(int), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected abstract System.Threading.Tasks.ValueTask AcquireAsyncCore(TResource resource, int permitCount, System.Threading.CancellationToken cancellationToken); + public System.Threading.RateLimiting.RateLimitLease AttemptAcquire(TResource resource, int permitCount = default(int)) => throw null; + protected abstract System.Threading.RateLimiting.RateLimitLease AttemptAcquireCore(TResource resource, int permitCount); + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + public System.Threading.Tasks.ValueTask DisposeAsync() => throw null; + protected virtual System.Threading.Tasks.ValueTask DisposeAsyncCore() => throw null; + public abstract System.Threading.RateLimiting.RateLimiterStatistics GetStatistics(TResource resource); + protected PartitionedRateLimiter() => throw null; + public System.Threading.RateLimiting.PartitionedRateLimiter WithTranslatedKey(System.Func keyAdapter, bool leaveOpen) => throw null; + } + + // Generated from `System.Threading.RateLimiting.QueueProcessingOrder` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public enum QueueProcessingOrder : int + { + NewestFirst = 1, + OldestFirst = 0, + } + + // Generated from `System.Threading.RateLimiting.RateLimitLease` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public abstract class RateLimitLease : System.IDisposable + { + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + public virtual System.Collections.Generic.IEnumerable> GetAllMetadata() => throw null; + public abstract bool IsAcquired { get; } + public abstract System.Collections.Generic.IEnumerable MetadataNames { get; } + protected RateLimitLease() => throw null; + public abstract bool TryGetMetadata(string metadataName, out object metadata); + public bool TryGetMetadata(System.Threading.RateLimiting.MetadataName metadataName, out T metadata) => throw null; + } + + // Generated from `System.Threading.RateLimiting.RateLimitPartition` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public static class RateLimitPartition + { + public static System.Threading.RateLimiting.RateLimitPartition Get(TKey partitionKey, System.Func factory) => throw null; + public static System.Threading.RateLimiting.RateLimitPartition GetConcurrencyLimiter(TKey partitionKey, System.Func factory) => throw null; + public static System.Threading.RateLimiting.RateLimitPartition GetFixedWindowLimiter(TKey partitionKey, System.Func factory) => throw null; + public static System.Threading.RateLimiting.RateLimitPartition GetNoLimiter(TKey partitionKey) => throw null; + public static System.Threading.RateLimiting.RateLimitPartition GetSlidingWindowLimiter(TKey partitionKey, System.Func factory) => throw null; + public static System.Threading.RateLimiting.RateLimitPartition GetTokenBucketLimiter(TKey partitionKey, System.Func factory) => throw null; + } + + // Generated from `System.Threading.RateLimiting.RateLimitPartition<>` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public struct RateLimitPartition + { + public System.Func Factory { get => throw null; } + public TKey PartitionKey { get => throw null; } + // Stub generator skipped constructor + public RateLimitPartition(TKey partitionKey, System.Func factory) => throw null; + } + + // Generated from `System.Threading.RateLimiting.RateLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public abstract class RateLimiter : System.IAsyncDisposable, System.IDisposable + { + public System.Threading.Tasks.ValueTask AcquireAsync(int permitCount = default(int), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected abstract System.Threading.Tasks.ValueTask AcquireAsyncCore(int permitCount, System.Threading.CancellationToken cancellationToken); + public System.Threading.RateLimiting.RateLimitLease AttemptAcquire(int permitCount = default(int)) => throw null; + protected abstract System.Threading.RateLimiting.RateLimitLease AttemptAcquireCore(int permitCount); + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + public System.Threading.Tasks.ValueTask DisposeAsync() => throw null; + protected virtual System.Threading.Tasks.ValueTask DisposeAsyncCore() => throw null; + public abstract System.Threading.RateLimiting.RateLimiterStatistics GetStatistics(); + public abstract System.TimeSpan? IdleDuration { get; } + protected RateLimiter() => throw null; + } + + // Generated from `System.Threading.RateLimiting.RateLimiterStatistics` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class RateLimiterStatistics + { + public System.Int64 CurrentAvailablePermits { get => throw null; set => throw null; } + public System.Int64 CurrentQueuedCount { get => throw null; set => throw null; } + public RateLimiterStatistics() => throw null; + public System.Int64 TotalFailedLeases { get => throw null; set => throw null; } + public System.Int64 TotalSuccessfulLeases { get => throw null; set => throw null; } + } + + // Generated from `System.Threading.RateLimiting.ReplenishingRateLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public abstract class ReplenishingRateLimiter : System.Threading.RateLimiting.RateLimiter + { + public abstract bool IsAutoReplenishing { get; } + protected ReplenishingRateLimiter() => throw null; + public abstract System.TimeSpan ReplenishmentPeriod { get; } + public abstract bool TryReplenish(); + } + + // Generated from `System.Threading.RateLimiting.SlidingWindowRateLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class SlidingWindowRateLimiter : System.Threading.RateLimiting.ReplenishingRateLimiter + { + protected override System.Threading.Tasks.ValueTask AcquireAsyncCore(int permitCount, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected override System.Threading.RateLimiting.RateLimitLease AttemptAcquireCore(int permitCount) => throw null; + protected override void Dispose(bool disposing) => throw null; + protected override System.Threading.Tasks.ValueTask DisposeAsyncCore() => throw null; + public override System.Threading.RateLimiting.RateLimiterStatistics GetStatistics() => throw null; + public override System.TimeSpan? IdleDuration { get => throw null; } + public override bool IsAutoReplenishing { get => throw null; } + public override System.TimeSpan ReplenishmentPeriod { get => throw null; } + public SlidingWindowRateLimiter(System.Threading.RateLimiting.SlidingWindowRateLimiterOptions options) => throw null; + public override bool TryReplenish() => throw null; + } + + // Generated from `System.Threading.RateLimiting.SlidingWindowRateLimiterOptions` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class SlidingWindowRateLimiterOptions + { + public bool AutoReplenishment { get => throw null; set => throw null; } + public int PermitLimit { get => throw null; set => throw null; } + public int QueueLimit { get => throw null; set => throw null; } + public System.Threading.RateLimiting.QueueProcessingOrder QueueProcessingOrder { get => throw null; set => throw null; } + public int SegmentsPerWindow { get => throw null; set => throw null; } + public SlidingWindowRateLimiterOptions() => throw null; + public System.TimeSpan Window { get => throw null; set => throw null; } + } + + // Generated from `System.Threading.RateLimiting.TokenBucketRateLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class TokenBucketRateLimiter : System.Threading.RateLimiting.ReplenishingRateLimiter + { + protected override System.Threading.Tasks.ValueTask AcquireAsyncCore(int tokenCount, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected override System.Threading.RateLimiting.RateLimitLease AttemptAcquireCore(int tokenCount) => throw null; + protected override void Dispose(bool disposing) => throw null; + protected override System.Threading.Tasks.ValueTask DisposeAsyncCore() => throw null; + public override System.Threading.RateLimiting.RateLimiterStatistics GetStatistics() => throw null; + public override System.TimeSpan? IdleDuration { get => throw null; } + public override bool IsAutoReplenishing { get => throw null; } + public override System.TimeSpan ReplenishmentPeriod { get => throw null; } + public TokenBucketRateLimiter(System.Threading.RateLimiting.TokenBucketRateLimiterOptions options) => throw null; + public override bool TryReplenish() => throw null; + } + + // Generated from `System.Threading.RateLimiting.TokenBucketRateLimiterOptions` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class TokenBucketRateLimiterOptions + { + public bool AutoReplenishment { get => throw null; set => throw null; } + public int QueueLimit { get => throw null; set => throw null; } + public System.Threading.RateLimiting.QueueProcessingOrder QueueProcessingOrder { get => throw null; set => throw null; } + public System.TimeSpan ReplenishmentPeriod { get => throw null; set => throw null; } + public TokenBucketRateLimiterOptions() => throw null; + public int TokenLimit { get => throw null; set => throw null; } + public int TokensPerPeriod { get => throw null; set => throw null; } + } + + } + } +} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.CSharp.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.CSharp.cs index 641de33695d..cb01dafa400 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.CSharp.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.CSharp.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace RuntimeBinder { - // Generated from `Microsoft.CSharp.RuntimeBinder.Binder` in `Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.CSharp.RuntimeBinder.Binder` in `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Binder { public static System.Runtime.CompilerServices.CallSiteBinder BinaryOperation(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Linq.Expressions.ExpressionType operation, System.Type context, System.Collections.Generic.IEnumerable argumentInfo) => throw null; @@ -22,13 +22,13 @@ namespace Microsoft public static System.Runtime.CompilerServices.CallSiteBinder UnaryOperation(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Linq.Expressions.ExpressionType operation, System.Type context, System.Collections.Generic.IEnumerable argumentInfo) => throw null; } - // Generated from `Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo` in `Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo` in `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CSharpArgumentInfo { public static Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo Create(Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags flags, string name) => throw null; } - // Generated from `Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags` in `Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags` in `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CSharpArgumentInfoFlags : int { @@ -41,7 +41,7 @@ namespace Microsoft UseCompileTimeType = 1, } - // Generated from `Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags` in `Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags` in `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CSharpBinderFlags : int { @@ -57,7 +57,7 @@ namespace Microsoft ValueFromCompoundAssignment = 128, } - // Generated from `Microsoft.CSharp.RuntimeBinder.RuntimeBinderException` in `Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.CSharp.RuntimeBinder.RuntimeBinderException` in `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RuntimeBinderException : System.Exception { public RuntimeBinderException() => throw null; @@ -66,7 +66,7 @@ namespace Microsoft public RuntimeBinderException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException` in `Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException` in `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RuntimeBinderInternalCompilerException : System.Exception { public RuntimeBinderInternalCompilerException() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.VisualBasic.Core.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.VisualBasic.Core.cs index 6082fb69ca1..cb76864c722 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.VisualBasic.Core.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.VisualBasic.Core.cs @@ -4,7 +4,7 @@ namespace Microsoft { namespace VisualBasic { - // Generated from `Microsoft.VisualBasic.AppWinStyle` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.AppWinStyle` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AppWinStyle : short { Hide = 0, @@ -15,7 +15,7 @@ namespace Microsoft NormalNoFocus = 4, } - // Generated from `Microsoft.VisualBasic.CallType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CallType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CallType : int { Get = 2, @@ -24,7 +24,7 @@ namespace Microsoft Set = 8, } - // Generated from `Microsoft.VisualBasic.Collection` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.Collection` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Collection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { int System.Collections.IList.Add(object value) => throw null; @@ -55,7 +55,7 @@ namespace Microsoft object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `Microsoft.VisualBasic.ComClassAttribute` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.ComClassAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComClassAttribute : System.Attribute { public string ClassID { get => throw null; } @@ -68,14 +68,14 @@ namespace Microsoft public bool InterfaceShadows { get => throw null; set => throw null; } } - // Generated from `Microsoft.VisualBasic.CompareMethod` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompareMethod` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CompareMethod : int { Binary = 0, Text = 1, } - // Generated from `Microsoft.VisualBasic.Constants` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.Constants` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Constants { public const Microsoft.VisualBasic.MsgBoxResult vbAbort = default; @@ -182,7 +182,7 @@ namespace Microsoft public const Microsoft.VisualBasic.MsgBoxStyle vbYesNoCancel = default; } - // Generated from `Microsoft.VisualBasic.ControlChars` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.ControlChars` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ControlChars { public const System.Char Back = default; @@ -198,7 +198,7 @@ namespace Microsoft public const System.Char VerticalTab = default; } - // Generated from `Microsoft.VisualBasic.Conversion` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.Conversion` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Conversion { public static object CTypeDynamic(object Expression, System.Type TargetType) => throw null; @@ -243,7 +243,7 @@ namespace Microsoft public static double Val(string InputStr) => throw null; } - // Generated from `Microsoft.VisualBasic.DateAndTime` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.DateAndTime` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateAndTime { public static System.DateTime DateAdd(Microsoft.VisualBasic.DateInterval Interval, double Number, System.DateTime DateValue) => throw null; @@ -273,7 +273,7 @@ namespace Microsoft public static int Year(System.DateTime DateValue) => throw null; } - // Generated from `Microsoft.VisualBasic.DateFormat` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.DateFormat` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DateFormat : int { GeneralDate = 0, @@ -283,7 +283,7 @@ namespace Microsoft ShortTime = 4, } - // Generated from `Microsoft.VisualBasic.DateInterval` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.DateInterval` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DateInterval : int { Day = 4, @@ -298,14 +298,14 @@ namespace Microsoft Year = 0, } - // Generated from `Microsoft.VisualBasic.DueDate` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.DueDate` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DueDate : int { BegOfPeriod = 1, EndOfPeriod = 0, } - // Generated from `Microsoft.VisualBasic.ErrObject` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.ErrObject` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ErrObject { public void Clear() => throw null; @@ -320,7 +320,7 @@ namespace Microsoft public string Source { get => throw null; set => throw null; } } - // Generated from `Microsoft.VisualBasic.FileAttribute` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FileAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FileAttribute : int { @@ -333,7 +333,7 @@ namespace Microsoft Volume = 8, } - // Generated from `Microsoft.VisualBasic.FileSystem` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FileSystem` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystem { public static void ChDir(string Path) => throw null; @@ -421,7 +421,7 @@ namespace Microsoft public static void WriteLine(int FileNumber, params object[] Output) => throw null; } - // Generated from `Microsoft.VisualBasic.Financial` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.Financial` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Financial { public static double DDB(double Cost, double Salvage, double Life, double Period, double Factor = default(double)) => throw null; @@ -439,7 +439,7 @@ namespace Microsoft public static double SYD(double Cost, double Salvage, double Life, double Period) => throw null; } - // Generated from `Microsoft.VisualBasic.FirstDayOfWeek` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FirstDayOfWeek` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FirstDayOfWeek : int { Friday = 6, @@ -452,7 +452,7 @@ namespace Microsoft Wednesday = 4, } - // Generated from `Microsoft.VisualBasic.FirstWeekOfYear` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FirstWeekOfYear` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FirstWeekOfYear : int { FirstFourDays = 2, @@ -461,13 +461,13 @@ namespace Microsoft System = 0, } - // Generated from `Microsoft.VisualBasic.HideModuleNameAttribute` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.HideModuleNameAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HideModuleNameAttribute : System.Attribute { public HideModuleNameAttribute() => throw null; } - // Generated from `Microsoft.VisualBasic.Information` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.Information` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Information { public static int Erl() => throw null; @@ -489,7 +489,7 @@ namespace Microsoft public static string VbTypeName(string UrtName) => throw null; } - // Generated from `Microsoft.VisualBasic.Interaction` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.Interaction` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Interaction { public static void AppActivate(int ProcessId) => throw null; @@ -514,7 +514,7 @@ namespace Microsoft public static object Switch(params object[] VarExpr) => throw null; } - // Generated from `Microsoft.VisualBasic.MsgBoxResult` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.MsgBoxResult` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MsgBoxResult : int { Abort = 3, @@ -526,7 +526,7 @@ namespace Microsoft Yes = 6, } - // Generated from `Microsoft.VisualBasic.MsgBoxStyle` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.MsgBoxStyle` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MsgBoxStyle : int { @@ -551,7 +551,7 @@ namespace Microsoft YesNoCancel = 3, } - // Generated from `Microsoft.VisualBasic.MyGroupCollectionAttribute` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.MyGroupCollectionAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MyGroupCollectionAttribute : System.Attribute { public string CreateMethod { get => throw null; } @@ -561,7 +561,7 @@ namespace Microsoft public string MyGroupName { get => throw null; } } - // Generated from `Microsoft.VisualBasic.OpenAccess` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.OpenAccess` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OpenAccess : int { Default = -1, @@ -570,7 +570,7 @@ namespace Microsoft Write = 2, } - // Generated from `Microsoft.VisualBasic.OpenMode` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.OpenMode` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OpenMode : int { Append = 8, @@ -580,7 +580,7 @@ namespace Microsoft Random = 4, } - // Generated from `Microsoft.VisualBasic.OpenShare` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.OpenShare` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OpenShare : int { Default = -1, @@ -590,14 +590,14 @@ namespace Microsoft Shared = 3, } - // Generated from `Microsoft.VisualBasic.SpcInfo` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.SpcInfo` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SpcInfo { public System.Int16 Count; // Stub generator skipped constructor } - // Generated from `Microsoft.VisualBasic.Strings` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.Strings` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Strings { public static int Asc(System.Char String) => throw null; @@ -659,14 +659,14 @@ namespace Microsoft public static string UCase(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.TabInfo` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.TabInfo` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TabInfo { public System.Int16 Column; // Stub generator skipped constructor } - // Generated from `Microsoft.VisualBasic.TriState` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.TriState` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TriState : int { False = 0, @@ -674,7 +674,7 @@ namespace Microsoft UseDefault = -2, } - // Generated from `Microsoft.VisualBasic.VBFixedArrayAttribute` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.VBFixedArrayAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VBFixedArrayAttribute : System.Attribute { public int[] Bounds { get => throw null; } @@ -683,14 +683,14 @@ namespace Microsoft public VBFixedArrayAttribute(int UpperBound1, int UpperBound2) => throw null; } - // Generated from `Microsoft.VisualBasic.VBFixedStringAttribute` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.VBFixedStringAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VBFixedStringAttribute : System.Attribute { public int Length { get => throw null; } public VBFixedStringAttribute(int Length) => throw null; } - // Generated from `Microsoft.VisualBasic.VBMath` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.VBMath` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VBMath { public static void Randomize() => throw null; @@ -699,7 +699,7 @@ namespace Microsoft public static float Rnd(float Number) => throw null; } - // Generated from `Microsoft.VisualBasic.VariantType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.VariantType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum VariantType : int { Array = 8192, @@ -724,7 +724,7 @@ namespace Microsoft Variant = 12, } - // Generated from `Microsoft.VisualBasic.VbStrConv` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.VbStrConv` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum VbStrConv : int { @@ -743,35 +743,35 @@ namespace Microsoft namespace CompilerServices { - // Generated from `Microsoft.VisualBasic.CompilerServices.BooleanType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.BooleanType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BooleanType { public static bool FromObject(object Value) => throw null; public static bool FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.ByteType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.ByteType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ByteType { public static System.Byte FromObject(object Value) => throw null; public static System.Byte FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.CharArrayType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.CharArrayType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CharArrayType { public static System.Char[] FromObject(object Value) => throw null; public static System.Char[] FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.CharType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.CharType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CharType { public static System.Char FromObject(object Value) => throw null; public static System.Char FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.Conversions` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.Conversions` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Conversions { public static object ChangeType(object Expression, System.Type TargetType) => throw null; @@ -829,7 +829,7 @@ namespace Microsoft public static System.UInt16 ToUShort(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.DateType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.DateType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateType { public static System.DateTime FromObject(object Value) => throw null; @@ -837,7 +837,7 @@ namespace Microsoft public static System.DateTime FromString(string Value, System.Globalization.CultureInfo culture) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.DecimalType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.DecimalType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecimalType { public static System.Decimal FromBoolean(bool Value) => throw null; @@ -848,13 +848,13 @@ namespace Microsoft public static System.Decimal Parse(string Value, System.Globalization.NumberFormatInfo NumberFormat) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.DesignerGeneratedAttribute` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.DesignerGeneratedAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerGeneratedAttribute : System.Attribute { public DesignerGeneratedAttribute() => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.DoubleType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.DoubleType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DoubleType { public static double FromObject(object Value) => throw null; @@ -865,20 +865,20 @@ namespace Microsoft public static double Parse(string Value, System.Globalization.NumberFormatInfo NumberFormat) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.IncompleteInitialization` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.IncompleteInitialization` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IncompleteInitialization : System.Exception { public IncompleteInitialization() => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.IntegerType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.IntegerType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IntegerType { public static int FromObject(object Value) => throw null; public static int FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.LateBinding` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.LateBinding` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LateBinding { public static void LateCall(object o, System.Type objType, string name, object[] args, string[] paramnames, bool[] CopyBack) => throw null; @@ -890,21 +890,21 @@ namespace Microsoft public static void LateSetComplex(object o, System.Type objType, string name, object[] args, string[] paramnames, bool OptimisticSet, bool RValueBase) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.LikeOperator` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.LikeOperator` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LikeOperator { public static object LikeObject(object Source, object Pattern, Microsoft.VisualBasic.CompareMethod CompareOption) => throw null; public static bool LikeString(string Source, string Pattern, Microsoft.VisualBasic.CompareMethod CompareOption) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.LongType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.LongType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LongType { public static System.Int64 FromObject(object Value) => throw null; public static System.Int64 FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.NewLateBinding` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.NewLateBinding` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NewLateBinding { public static object FallbackCall(object Instance, string MemberName, object[] Arguments, string[] ArgumentNames, bool IgnoreReturn) => throw null; @@ -927,10 +927,10 @@ namespace Microsoft public static void LateSetComplex(object Instance, System.Type Type, string MemberName, object[] Arguments, string[] ArgumentNames, System.Type[] TypeArguments, bool OptimisticSet, bool RValueBase) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.ObjectFlowControl` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.ObjectFlowControl` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectFlowControl { - // Generated from `Microsoft.VisualBasic.CompilerServices.ObjectFlowControl+ForLoopControl` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.ObjectFlowControl+ForLoopControl` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ForLoopControl { public static bool ForLoopInitObj(object Counter, object Start, object Limit, object StepValue, ref object LoopForResult, ref object CounterResult) => throw null; @@ -944,7 +944,7 @@ namespace Microsoft public static void CheckForSyncLockOnValueType(object Expression) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.ObjectType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.ObjectType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectType { public static object AddObj(object o1, object o2) => throw null; @@ -970,7 +970,7 @@ namespace Microsoft public static object XorObj(object obj1, object obj2) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.Operators` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.Operators` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Operators { public static object AddObject(object Left, object Right) => throw null; @@ -1005,19 +1005,19 @@ namespace Microsoft public static object XorObject(object Left, object Right) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.OptionCompareAttribute` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.OptionCompareAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OptionCompareAttribute : System.Attribute { public OptionCompareAttribute() => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.OptionTextAttribute` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.OptionTextAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OptionTextAttribute : System.Attribute { public OptionTextAttribute() => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.ProjectData` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.ProjectData` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProjectData { public static void ClearProjectError() => throw null; @@ -1027,14 +1027,14 @@ namespace Microsoft public static void SetProjectError(System.Exception ex, int lErl) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.ShortType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.ShortType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ShortType { public static System.Int16 FromObject(object Value) => throw null; public static System.Int16 FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.SingleType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.SingleType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SingleType { public static float FromObject(object Value) => throw null; @@ -1043,20 +1043,20 @@ namespace Microsoft public static float FromString(string Value, System.Globalization.NumberFormatInfo NumberFormat) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StandardModuleAttribute : System.Attribute { public StandardModuleAttribute() => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.StaticLocalInitFlag` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.StaticLocalInitFlag` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StaticLocalInitFlag { public System.Int16 State; public StaticLocalInitFlag() => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.StringType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.StringType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringType { public static string FromBoolean(bool Value) => throw null; @@ -1080,14 +1080,14 @@ namespace Microsoft public static bool StrLikeText(string Source, string Pattern) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.Utils` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.Utils` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Utils { public static System.Array CopyArray(System.Array arySrc, System.Array aryDest) => throw null; public static string GetResourceString(string ResourceKey, params string[] Args) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.Versioned` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.CompilerServices.Versioned` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Versioned { public static object CallByName(object Instance, string MethodName, Microsoft.VisualBasic.CallType UseCallType, params object[] Arguments) => throw null; @@ -1100,21 +1100,21 @@ namespace Microsoft } namespace FileIO { - // Generated from `Microsoft.VisualBasic.FileIO.DeleteDirectoryOption` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FileIO.DeleteDirectoryOption` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DeleteDirectoryOption : int { DeleteAllContents = 5, ThrowIfDirectoryNonEmpty = 4, } - // Generated from `Microsoft.VisualBasic.FileIO.FieldType` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FileIO.FieldType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FieldType : int { Delimited = 0, FixedWidth = 1, } - // Generated from `Microsoft.VisualBasic.FileIO.FileSystem` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FileIO.FileSystem` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystem { public static string CombinePath(string baseDirectory, string relativePath) => throw null; @@ -1175,7 +1175,7 @@ namespace Microsoft public static void WriteAllText(string file, string text, bool append, System.Text.Encoding encoding) => throw null; } - // Generated from `Microsoft.VisualBasic.FileIO.MalformedLineException` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FileIO.MalformedLineException` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MalformedLineException : System.Exception { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -1189,21 +1189,21 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.VisualBasic.FileIO.RecycleOption` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FileIO.RecycleOption` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RecycleOption : int { DeletePermanently = 2, SendToRecycleBin = 3, } - // Generated from `Microsoft.VisualBasic.FileIO.SearchOption` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FileIO.SearchOption` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SearchOption : int { SearchAllSubDirectories = 3, SearchTopLevelOnly = 2, } - // Generated from `Microsoft.VisualBasic.FileIO.SpecialDirectories` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FileIO.SpecialDirectories` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SpecialDirectories { public static string AllUsersApplicationData { get => throw null; } @@ -1218,7 +1218,7 @@ namespace Microsoft public static string Temp { get => throw null; } } - // Generated from `Microsoft.VisualBasic.FileIO.TextFieldParser` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FileIO.TextFieldParser` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TextFieldParser : System.IDisposable { public void Close() => throw null; @@ -1251,14 +1251,14 @@ namespace Microsoft // ERR: Stub generator didn't handle member: ~TextFieldParser } - // Generated from `Microsoft.VisualBasic.FileIO.UICancelOption` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FileIO.UICancelOption` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UICancelOption : int { DoNothing = 2, ThrowException = 3, } - // Generated from `Microsoft.VisualBasic.FileIO.UIOption` in `Microsoft.VisualBasic.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.VisualBasic.FileIO.UIOption` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UIOption : int { AllDialogs = 3, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Primitives.cs index df4170b8153..953d43d0225 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Primitives.cs @@ -4,7 +4,7 @@ namespace System { namespace ComponentModel { - // Generated from `System.ComponentModel.Win32Exception` in `Microsoft.Win32.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Win32Exception` in `Microsoft.Win32.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Win32Exception : System.Runtime.InteropServices.ExternalException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Registry.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Registry.cs index f30a2dff24b..5dcfd6c37d7 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Registry.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Registry.cs @@ -4,7 +4,7 @@ namespace Microsoft { namespace Win32 { - // Generated from `Microsoft.Win32.Registry` in `Microsoft.Win32.Registry, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.Registry` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Registry { public static Microsoft.Win32.RegistryKey ClassesRoot; @@ -18,7 +18,7 @@ namespace Microsoft public static Microsoft.Win32.RegistryKey Users; } - // Generated from `Microsoft.Win32.RegistryHive` in `Microsoft.Win32.Registry, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.RegistryHive` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RegistryHive : int { ClassesRoot = -2147483648, @@ -29,7 +29,7 @@ namespace Microsoft Users = -2147483645, } - // Generated from `Microsoft.Win32.RegistryKey` in `Microsoft.Win32.Registry, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.RegistryKey` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegistryKey : System.MarshalByRefObject, System.IDisposable { public void Close() => throw null; @@ -77,7 +77,7 @@ namespace Microsoft public Microsoft.Win32.RegistryView View { get => throw null; } } - // Generated from `Microsoft.Win32.RegistryKeyPermissionCheck` in `Microsoft.Win32.Registry, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.RegistryKeyPermissionCheck` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RegistryKeyPermissionCheck : int { Default = 0, @@ -85,7 +85,7 @@ namespace Microsoft ReadWriteSubTree = 2, } - // Generated from `Microsoft.Win32.RegistryOptions` in `Microsoft.Win32.Registry, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.RegistryOptions` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum RegistryOptions : int { @@ -93,7 +93,7 @@ namespace Microsoft Volatile = 1, } - // Generated from `Microsoft.Win32.RegistryValueKind` in `Microsoft.Win32.Registry, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.RegistryValueKind` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RegistryValueKind : int { Binary = 3, @@ -106,7 +106,7 @@ namespace Microsoft Unknown = 0, } - // Generated from `Microsoft.Win32.RegistryValueOptions` in `Microsoft.Win32.Registry, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.RegistryValueOptions` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum RegistryValueOptions : int { @@ -114,7 +114,7 @@ namespace Microsoft None = 0, } - // Generated from `Microsoft.Win32.RegistryView` in `Microsoft.Win32.Registry, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.RegistryView` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RegistryView : int { Default = 0, @@ -124,7 +124,7 @@ namespace Microsoft namespace SafeHandles { - // Generated from `Microsoft.Win32.SafeHandles.SafeRegistryHandle` in `Microsoft.Win32.Registry, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.SafeHandles.SafeRegistryHandle` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeRegistryHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { protected override bool ReleaseHandle() => throw null; @@ -141,7 +141,7 @@ namespace System { namespace AccessControl { - // Generated from `System.Security.AccessControl.RegistryAccessRule` in `Microsoft.Win32.Registry, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.RegistryAccessRule` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegistryAccessRule : System.Security.AccessControl.AccessRule { public RegistryAccessRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.RegistryRights registryRights, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AccessControlType)) => throw null; @@ -151,7 +151,7 @@ namespace System public System.Security.AccessControl.RegistryRights RegistryRights { get => throw null; } } - // Generated from `System.Security.AccessControl.RegistryAuditRule` in `Microsoft.Win32.Registry, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.RegistryAuditRule` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegistryAuditRule : System.Security.AccessControl.AuditRule { public RegistryAuditRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.RegistryRights registryRights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AuditFlags)) => throw null; @@ -159,7 +159,7 @@ namespace System public System.Security.AccessControl.RegistryRights RegistryRights { get => throw null; } } - // Generated from `System.Security.AccessControl.RegistryRights` in `Microsoft.Win32.Registry, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.RegistryRights` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum RegistryRights : int { @@ -179,7 +179,7 @@ namespace System WriteKey = 131078, } - // Generated from `System.Security.AccessControl.RegistrySecurity` in `Microsoft.Win32.Registry, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.RegistrySecurity` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegistrySecurity : System.Security.AccessControl.NativeObjectSecurity { public override System.Type AccessRightType { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Concurrent.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Concurrent.cs index 183a876e248..fdf6bc78e7a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Concurrent.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Concurrent.cs @@ -6,7 +6,7 @@ namespace System { namespace Concurrent { - // Generated from `System.Collections.Concurrent.BlockingCollection<>` in `System.Collections.Concurrent, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Concurrent.BlockingCollection<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BlockingCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.IDisposable { public void Add(T item) => throw null; @@ -55,7 +55,7 @@ namespace System public static int TryTakeFromAny(System.Collections.Concurrent.BlockingCollection[] collections, out T item, int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Collections.Concurrent.ConcurrentBag<>` in `System.Collections.Concurrent, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Concurrent.ConcurrentBag<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConcurrentBag : System.Collections.Concurrent.IProducerConsumerCollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { public void Add(T item) => throw null; @@ -76,7 +76,7 @@ namespace System public bool TryTake(out T result) => throw null; } - // Generated from `System.Collections.Concurrent.ConcurrentDictionary<,>` in `System.Collections.Concurrent, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Concurrent.ConcurrentDictionary<,>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConcurrentDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair keyValuePair) => throw null; @@ -131,7 +131,7 @@ namespace System System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } } - // Generated from `System.Collections.Concurrent.ConcurrentQueue<>` in `System.Collections.Concurrent, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Concurrent.ConcurrentQueue<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConcurrentQueue : System.Collections.Concurrent.IProducerConsumerCollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { public void Clear() => throw null; @@ -153,7 +153,7 @@ namespace System bool System.Collections.Concurrent.IProducerConsumerCollection.TryTake(out T item) => throw null; } - // Generated from `System.Collections.Concurrent.ConcurrentStack<>` in `System.Collections.Concurrent, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Concurrent.ConcurrentStack<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConcurrentStack : System.Collections.Concurrent.IProducerConsumerCollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { public void Clear() => throw null; @@ -179,7 +179,7 @@ namespace System bool System.Collections.Concurrent.IProducerConsumerCollection.TryTake(out T item) => throw null; } - // Generated from `System.Collections.Concurrent.EnumerablePartitionerOptions` in `System.Collections.Concurrent, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Concurrent.EnumerablePartitionerOptions` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EnumerablePartitionerOptions : int { @@ -187,7 +187,7 @@ namespace System None = 0, } - // Generated from `System.Collections.Concurrent.IProducerConsumerCollection<>` in `System.Collections.Concurrent, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Concurrent.IProducerConsumerCollection<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IProducerConsumerCollection : System.Collections.Generic.IEnumerable, System.Collections.ICollection, System.Collections.IEnumerable { void CopyTo(T[] array, int index); @@ -196,7 +196,7 @@ namespace System bool TryTake(out T item); } - // Generated from `System.Collections.Concurrent.OrderablePartitioner<>` in `System.Collections.Concurrent, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Concurrent.OrderablePartitioner<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class OrderablePartitioner : System.Collections.Concurrent.Partitioner { public override System.Collections.Generic.IEnumerable GetDynamicPartitions() => throw null; @@ -209,7 +209,7 @@ namespace System protected OrderablePartitioner(bool keysOrderedInEachPartition, bool keysOrderedAcrossPartitions, bool keysNormalized) => throw null; } - // Generated from `System.Collections.Concurrent.Partitioner` in `System.Collections.Concurrent, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Concurrent.Partitioner` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Partitioner { public static System.Collections.Concurrent.OrderablePartitioner> Create(int fromInclusive, int toExclusive) => throw null; @@ -222,7 +222,7 @@ namespace System public static System.Collections.Concurrent.OrderablePartitioner Create(TSource[] array, bool loadBalance) => throw null; } - // Generated from `System.Collections.Concurrent.Partitioner<>` in `System.Collections.Concurrent, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Concurrent.Partitioner<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Partitioner { public virtual System.Collections.Generic.IEnumerable GetDynamicPartitions() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Immutable.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Immutable.cs index 61ca6586565..93ec683d68e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Immutable.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Immutable.cs @@ -6,7 +6,7 @@ namespace System { namespace Immutable { - // Generated from `System.Collections.Immutable.IImmutableDictionary<,>` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.IImmutableDictionary<,>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IImmutableDictionary : System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.IEnumerable { System.Collections.Immutable.IImmutableDictionary Add(TKey key, TValue value); @@ -20,7 +20,7 @@ namespace System bool TryGetKey(TKey equalKey, out TKey actualKey); } - // Generated from `System.Collections.Immutable.IImmutableList<>` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.IImmutableList<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IImmutableList : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { System.Collections.Immutable.IImmutableList Add(T value); @@ -39,7 +39,7 @@ namespace System System.Collections.Immutable.IImmutableList SetItem(int index, T value); } - // Generated from `System.Collections.Immutable.IImmutableQueue<>` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.IImmutableQueue<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IImmutableQueue : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { System.Collections.Immutable.IImmutableQueue Clear(); @@ -49,7 +49,7 @@ namespace System T Peek(); } - // Generated from `System.Collections.Immutable.IImmutableSet<>` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.IImmutableSet<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IImmutableSet : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { System.Collections.Immutable.IImmutableSet Add(T value); @@ -69,7 +69,7 @@ namespace System System.Collections.Immutable.IImmutableSet Union(System.Collections.Generic.IEnumerable other); } - // Generated from `System.Collections.Immutable.IImmutableStack<>` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.IImmutableStack<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IImmutableStack : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { System.Collections.Immutable.IImmutableStack Clear(); @@ -79,7 +79,7 @@ namespace System System.Collections.Immutable.IImmutableStack Push(T value); } - // Generated from `System.Collections.Immutable.ImmutableArray` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableArray` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableArray { public static int BinarySearch(this System.Collections.Immutable.ImmutableArray array, T value) => throw null; @@ -88,6 +88,8 @@ namespace System public static int BinarySearch(this System.Collections.Immutable.ImmutableArray array, int index, int length, T value, System.Collections.Generic.IComparer comparer) => throw null; public static System.Collections.Immutable.ImmutableArray Create() => throw null; public static System.Collections.Immutable.ImmutableArray Create(System.Collections.Immutable.ImmutableArray items, int start, int length) => throw null; + public static System.Collections.Immutable.ImmutableArray Create(System.ReadOnlySpan items) => throw null; + public static System.Collections.Immutable.ImmutableArray Create(System.Span items) => throw null; public static System.Collections.Immutable.ImmutableArray Create(T item) => throw null; public static System.Collections.Immutable.ImmutableArray Create(T item1, T item2) => throw null; public static System.Collections.Immutable.ImmutableArray Create(T item1, T item2, T item3) => throw null; @@ -101,14 +103,16 @@ namespace System public static System.Collections.Immutable.ImmutableArray CreateRange(System.Collections.Immutable.ImmutableArray items, int start, int length, System.Func selector, TArg arg) => throw null; public static System.Collections.Immutable.ImmutableArray CreateRange(System.Collections.Immutable.ImmutableArray items, System.Func selector) => throw null; public static System.Collections.Immutable.ImmutableArray CreateRange(System.Collections.Immutable.ImmutableArray items, int start, int length, System.Func selector) => throw null; + public static System.Collections.Immutable.ImmutableArray ToImmutableArray(this System.ReadOnlySpan items) => throw null; + public static System.Collections.Immutable.ImmutableArray ToImmutableArray(this System.Span items) => throw null; public static System.Collections.Immutable.ImmutableArray ToImmutableArray(this System.Collections.Immutable.ImmutableArray.Builder builder) => throw null; public static System.Collections.Immutable.ImmutableArray ToImmutableArray(this System.Collections.Generic.IEnumerable items) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableArray<>` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableArray<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ImmutableArray : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.Collections.Immutable.IImmutableList, System.IEquatable> { - // Generated from `System.Collections.Immutable.ImmutableArray<>+Builder` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableArray<>+Builder` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Builder : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { public void Add(T item) => throw null; @@ -116,24 +120,32 @@ namespace System public void AddRange(System.Collections.Generic.IEnumerable items) => throw null; public void AddRange(System.Collections.Immutable.ImmutableArray items) => throw null; public void AddRange(System.Collections.Immutable.ImmutableArray items, int length) => throw null; + public void AddRange(System.ReadOnlySpan items) => throw null; public void AddRange(T[] items, int length) => throw null; public void AddRange(params T[] items) => throw null; public void AddRange(System.Collections.Immutable.ImmutableArray.Builder items) where TDerived : T => throw null; public void AddRange(System.Collections.Immutable.ImmutableArray items) where TDerived : T => throw null; + public void AddRange(System.ReadOnlySpan items) where TDerived : T => throw null; public void AddRange(TDerived[] items) where TDerived : T => throw null; public int Capacity { get => throw null; set => throw null; } public void Clear() => throw null; public bool Contains(T item) => throw null; + public void CopyTo(System.Span destination) => throw null; + public void CopyTo(T[] destination) => throw null; public void CopyTo(T[] array, int index) => throw null; + public void CopyTo(int sourceIndex, T[] destination, int destinationIndex, int length) => throw null; public int Count { get => throw null; set => throw null; } public System.Collections.Generic.IEnumerator GetEnumerator() => throw null; System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null; System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; public int IndexOf(T item) => throw null; public int IndexOf(T item, int startIndex) => throw null; + public int IndexOf(T item, int startIndex, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; public int IndexOf(T item, int startIndex, int count) => throw null; public int IndexOf(T item, int startIndex, int count, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; public void Insert(int index, T item) => throw null; + public void InsertRange(int index, System.Collections.Generic.IEnumerable items) => throw null; + public void InsertRange(int index, System.Collections.Immutable.ImmutableArray items) => throw null; bool System.Collections.Generic.ICollection.IsReadOnly { get => throw null; } public T ItemRef(int index) => throw null; public T this[int index] { get => throw null; set => throw null; } @@ -143,7 +155,14 @@ namespace System public int LastIndexOf(T item, int startIndex, int count, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; public System.Collections.Immutable.ImmutableArray MoveToImmutable() => throw null; public bool Remove(T element) => throw null; + public bool Remove(T element, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; + public void RemoveAll(System.Predicate match) => throw null; public void RemoveAt(int index) => throw null; + public void RemoveRange(System.Collections.Generic.IEnumerable items) => throw null; + public void RemoveRange(System.Collections.Generic.IEnumerable items, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; + public void RemoveRange(int index, int length) => throw null; + public void Replace(T oldValue, T newValue) => throw null; + public void Replace(T oldValue, T newValue, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; public void Reverse() => throw null; public void Sort() => throw null; public void Sort(System.Comparison comparison) => throw null; @@ -154,7 +173,7 @@ namespace System } - // Generated from `System.Collections.Immutable.ImmutableArray<>+Enumerator` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableArray<>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator { public T Current { get => throw null; } @@ -174,9 +193,17 @@ namespace System public System.Collections.Immutable.ImmutableArray AddRange(System.Collections.Generic.IEnumerable items) => throw null; System.Collections.Immutable.IImmutableList System.Collections.Immutable.IImmutableList.AddRange(System.Collections.Generic.IEnumerable items) => throw null; public System.Collections.Immutable.ImmutableArray AddRange(System.Collections.Immutable.ImmutableArray items) => throw null; + public System.Collections.Immutable.ImmutableArray AddRange(System.Collections.Immutable.ImmutableArray items, int length) => throw null; + public System.Collections.Immutable.ImmutableArray AddRange(System.ReadOnlySpan items) => throw null; + public System.Collections.Immutable.ImmutableArray AddRange(T[] items, int length) => throw null; + public System.Collections.Immutable.ImmutableArray AddRange(params T[] items) => throw null; + public System.Collections.Immutable.ImmutableArray AddRange(System.Collections.Immutable.ImmutableArray items) where TDerived : T => throw null; + public System.Collections.Immutable.ImmutableArray AddRange(TDerived[] items) where TDerived : T => throw null; public System.Collections.Immutable.ImmutableArray As() where TOther : class => throw null; public System.ReadOnlyMemory AsMemory() => throw null; public System.ReadOnlySpan AsSpan() => throw null; + public System.ReadOnlySpan AsSpan(System.Range range) => throw null; + public System.ReadOnlySpan AsSpan(int start, int length) => throw null; public System.Collections.Immutable.ImmutableArray CastArray() where TOther : class => throw null; public static System.Collections.Immutable.ImmutableArray CastUp(System.Collections.Immutable.ImmutableArray items) where TDerived : class, T => throw null; public System.Collections.Immutable.ImmutableArray Clear() => throw null; @@ -187,6 +214,7 @@ namespace System public bool Contains(T item) => throw null; bool System.Collections.IList.Contains(object value) => throw null; void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; + public void CopyTo(System.Span destination) => throw null; public void CopyTo(T[] destination) => throw null; public void CopyTo(T[] destination, int destinationIndex) => throw null; public void CopyTo(int sourceIndex, T[] destination, int destinationIndex, int length) => throw null; @@ -216,6 +244,8 @@ namespace System public System.Collections.Immutable.ImmutableArray InsertRange(int index, System.Collections.Generic.IEnumerable items) => throw null; System.Collections.Immutable.IImmutableList System.Collections.Immutable.IImmutableList.InsertRange(int index, System.Collections.Generic.IEnumerable items) => throw null; public System.Collections.Immutable.ImmutableArray InsertRange(int index, System.Collections.Immutable.ImmutableArray items) => throw null; + public System.Collections.Immutable.ImmutableArray InsertRange(int index, System.ReadOnlySpan items) => throw null; + public System.Collections.Immutable.ImmutableArray InsertRange(int index, T[] items) => throw null; public bool IsDefault { get => throw null; } public bool IsDefaultOrEmpty { get => throw null; } public bool IsEmpty { get => throw null; } @@ -250,6 +280,8 @@ namespace System System.Collections.Immutable.IImmutableList System.Collections.Immutable.IImmutableList.RemoveRange(System.Collections.Generic.IEnumerable items, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; public System.Collections.Immutable.ImmutableArray RemoveRange(System.Collections.Immutable.ImmutableArray items) => throw null; public System.Collections.Immutable.ImmutableArray RemoveRange(System.Collections.Immutable.ImmutableArray items, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; + public System.Collections.Immutable.ImmutableArray RemoveRange(System.ReadOnlySpan items, System.Collections.Generic.IEqualityComparer equalityComparer = default(System.Collections.Generic.IEqualityComparer)) => throw null; + public System.Collections.Immutable.ImmutableArray RemoveRange(T[] items, System.Collections.Generic.IEqualityComparer equalityComparer = default(System.Collections.Generic.IEqualityComparer)) => throw null; public System.Collections.Immutable.ImmutableArray RemoveRange(int index, int length) => throw null; System.Collections.Immutable.IImmutableList System.Collections.Immutable.IImmutableList.RemoveRange(int index, int count) => throw null; public System.Collections.Immutable.ImmutableArray Replace(T oldValue, T newValue) => throw null; @@ -257,6 +289,7 @@ namespace System System.Collections.Immutable.IImmutableList System.Collections.Immutable.IImmutableList.Replace(T oldValue, T newValue, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; public System.Collections.Immutable.ImmutableArray SetItem(int index, T item) => throw null; System.Collections.Immutable.IImmutableList System.Collections.Immutable.IImmutableList.SetItem(int index, T value) => throw null; + public System.Collections.Immutable.ImmutableArray Slice(int start, int length) => throw null; public System.Collections.Immutable.ImmutableArray Sort() => throw null; public System.Collections.Immutable.ImmutableArray Sort(System.Comparison comparison) => throw null; public System.Collections.Immutable.ImmutableArray Sort(System.Collections.Generic.IComparer comparer) => throw null; @@ -265,7 +298,7 @@ namespace System public System.Collections.Immutable.ImmutableArray.Builder ToBuilder() => throw null; } - // Generated from `System.Collections.Immutable.ImmutableDictionary` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableDictionary` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableDictionary { public static bool Contains(this System.Collections.Immutable.IImmutableDictionary map, TKey key, TValue value) => throw null; @@ -291,10 +324,10 @@ namespace System public static System.Collections.Immutable.ImmutableDictionary ToImmutableDictionary(this System.Collections.Generic.IEnumerable source, System.Func keySelector, System.Collections.Generic.IEqualityComparer keyComparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableDictionary<,>` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableDictionary<,>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Collections.Immutable.IImmutableDictionary { - // Generated from `System.Collections.Immutable.ImmutableDictionary<,>+Builder` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableDictionary<,>+Builder` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Builder : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { public void Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -340,7 +373,7 @@ namespace System } - // Generated from `System.Collections.Immutable.ImmutableDictionary<,>+Enumerator` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableDictionary<,>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -410,7 +443,7 @@ namespace System public System.Collections.Immutable.ImmutableDictionary WithComparers(System.Collections.Generic.IEqualityComparer keyComparer, System.Collections.Generic.IEqualityComparer valueComparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableHashSet` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableHashSet` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableHashSet { public static System.Collections.Immutable.ImmutableHashSet Create() => throw null; @@ -428,10 +461,10 @@ namespace System public static System.Collections.Immutable.ImmutableHashSet ToImmutableHashSet(this System.Collections.Generic.IEnumerable source, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableHashSet<>` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableHashSet<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableHashSet : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlySet, System.Collections.Generic.ISet, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.Immutable.IImmutableSet { - // Generated from `System.Collections.Immutable.ImmutableHashSet<>+Builder` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableHashSet<>+Builder` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Builder : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.ISet, System.Collections.IEnumerable { public bool Add(T item) => throw null; @@ -461,7 +494,7 @@ namespace System } - // Generated from `System.Collections.Immutable.ImmutableHashSet<>+Enumerator` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableHashSet<>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -519,7 +552,7 @@ namespace System public System.Collections.Immutable.ImmutableHashSet WithComparer(System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableInterlocked` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableInterlocked` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableInterlocked { public static TValue AddOrUpdate(ref System.Collections.Immutable.ImmutableDictionary location, TKey key, System.Func addValueFactory, System.Func updateValueFactory) => throw null; @@ -543,7 +576,7 @@ namespace System public static bool Update(ref T location, System.Func transformer) where T : class => throw null; } - // Generated from `System.Collections.Immutable.ImmutableList` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableList` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableList { public static System.Collections.Immutable.ImmutableList Create() => throw null; @@ -566,10 +599,10 @@ namespace System public static System.Collections.Immutable.ImmutableList ToImmutableList(this System.Collections.Generic.IEnumerable source) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableList<>` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableList<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableList : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Collections.Immutable.IImmutableList { - // Generated from `System.Collections.Immutable.ImmutableList<>+Builder` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableList<>+Builder` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Builder : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public void Add(T item) => throw null; @@ -623,9 +656,15 @@ namespace System public int LastIndexOf(T item, int startIndex, int count) => throw null; public int LastIndexOf(T item, int startIndex, int count, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; public bool Remove(T item) => throw null; + public bool Remove(T item, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; void System.Collections.IList.Remove(object value) => throw null; public int RemoveAll(System.Predicate match) => throw null; public void RemoveAt(int index) => throw null; + public void RemoveRange(System.Collections.Generic.IEnumerable items) => throw null; + public void RemoveRange(System.Collections.Generic.IEnumerable items, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; + public void RemoveRange(int index, int count) => throw null; + public void Replace(T oldValue, T newValue) => throw null; + public void Replace(T oldValue, T newValue, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; public void Reverse() => throw null; public void Reverse(int index, int count) => throw null; public void Sort() => throw null; @@ -638,7 +677,7 @@ namespace System } - // Generated from `System.Collections.Immutable.ImmutableList<>+Enumerator` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableList<>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -738,7 +777,7 @@ namespace System public bool TrueForAll(System.Predicate match) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableQueue` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableQueue` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableQueue { public static System.Collections.Immutable.ImmutableQueue Create() => throw null; @@ -748,10 +787,10 @@ namespace System public static System.Collections.Immutable.IImmutableQueue Dequeue(this System.Collections.Immutable.IImmutableQueue queue, out T value) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableQueue<>` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableQueue<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableQueue : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Collections.Immutable.IImmutableQueue { - // Generated from `System.Collections.Immutable.ImmutableQueue<>+Enumerator` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableQueue<>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator { public T Current { get => throw null; } @@ -776,7 +815,7 @@ namespace System public T PeekRef() => throw null; } - // Generated from `System.Collections.Immutable.ImmutableSortedDictionary` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableSortedDictionary` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableSortedDictionary { public static System.Collections.Immutable.ImmutableSortedDictionary Create() => throw null; @@ -797,10 +836,10 @@ namespace System public static System.Collections.Immutable.ImmutableSortedDictionary ToImmutableSortedDictionary(this System.Collections.Generic.IEnumerable source, System.Func keySelector, System.Func elementSelector, System.Collections.Generic.IComparer keyComparer, System.Collections.Generic.IEqualityComparer valueComparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableSortedDictionary<,>` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableSortedDictionary<,>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableSortedDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Collections.Immutable.IImmutableDictionary { - // Generated from `System.Collections.Immutable.ImmutableSortedDictionary<,>+Builder` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableSortedDictionary<,>+Builder` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Builder : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { public void Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -847,7 +886,7 @@ namespace System } - // Generated from `System.Collections.Immutable.ImmutableSortedDictionary<,>+Enumerator` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableSortedDictionary<,>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -918,7 +957,7 @@ namespace System public System.Collections.Immutable.ImmutableSortedDictionary WithComparers(System.Collections.Generic.IComparer keyComparer, System.Collections.Generic.IEqualityComparer valueComparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableSortedSet` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableSortedSet` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableSortedSet { public static System.Collections.Immutable.ImmutableSortedSet Create() => throw null; @@ -936,10 +975,10 @@ namespace System public static System.Collections.Immutable.ImmutableSortedSet ToImmutableSortedSet(this System.Collections.Generic.IEnumerable source, System.Collections.Generic.IComparer comparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableSortedSet<>` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableSortedSet<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableSortedSet : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.Generic.IReadOnlySet, System.Collections.Generic.ISet, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Collections.Immutable.IImmutableSet { - // Generated from `System.Collections.Immutable.ImmutableSortedSet<>+Builder` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableSortedSet<>+Builder` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Builder : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.ISet, System.Collections.ICollection, System.Collections.IEnumerable { public bool Add(T item) => throw null; @@ -953,6 +992,7 @@ namespace System public System.Collections.Immutable.ImmutableSortedSet.Enumerator GetEnumerator() => throw null; System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null; System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public int IndexOf(T item) => throw null; public void IntersectWith(System.Collections.Generic.IEnumerable other) => throw null; public bool IsProperSubsetOf(System.Collections.Generic.IEnumerable other) => throw null; public bool IsProperSupersetOf(System.Collections.Generic.IEnumerable other) => throw null; @@ -977,7 +1017,7 @@ namespace System } - // Generated from `System.Collections.Immutable.ImmutableSortedSet<>+Enumerator` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableSortedSet<>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -1054,7 +1094,7 @@ namespace System public System.Collections.Immutable.ImmutableSortedSet WithComparer(System.Collections.Generic.IComparer comparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableStack` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableStack` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableStack { public static System.Collections.Immutable.ImmutableStack Create() => throw null; @@ -1064,10 +1104,10 @@ namespace System public static System.Collections.Immutable.IImmutableStack Pop(this System.Collections.Immutable.IImmutableStack stack, out T value) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableStack<>` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableStack<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableStack : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Collections.Immutable.IImmutableStack { - // Generated from `System.Collections.Immutable.ImmutableStack<>+Enumerator` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Immutable.ImmutableStack<>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator { public T Current { get => throw null; } @@ -1096,7 +1136,7 @@ namespace System } namespace Linq { - // Generated from `System.Linq.ImmutableArrayExtensions` in `System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.ImmutableArrayExtensions` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableArrayExtensions { public static T Aggregate(this System.Collections.Immutable.ImmutableArray immutableArray, System.Func func) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.NonGeneric.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.NonGeneric.cs index 6311d99099f..dae3c944ab3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.NonGeneric.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.NonGeneric.cs @@ -4,7 +4,7 @@ namespace System { namespace Collections { - // Generated from `System.Collections.CaseInsensitiveComparer` in `System.Collections.NonGeneric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.CaseInsensitiveComparer` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CaseInsensitiveComparer : System.Collections.IComparer { public CaseInsensitiveComparer() => throw null; @@ -14,7 +14,7 @@ namespace System public static System.Collections.CaseInsensitiveComparer DefaultInvariant { get => throw null; } } - // Generated from `System.Collections.CaseInsensitiveHashCodeProvider` in `System.Collections.NonGeneric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.CaseInsensitiveHashCodeProvider` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CaseInsensitiveHashCodeProvider : System.Collections.IHashCodeProvider { public CaseInsensitiveHashCodeProvider() => throw null; @@ -24,7 +24,7 @@ namespace System public int GetHashCode(object obj) => throw null; } - // Generated from `System.Collections.CollectionBase` in `System.Collections.NonGeneric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.CollectionBase` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CollectionBase : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { int System.Collections.IList.Add(object value) => throw null; @@ -58,7 +58,7 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Collections.DictionaryBase` in `System.Collections.NonGeneric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.DictionaryBase` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DictionaryBase : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { void System.Collections.IDictionary.Add(object key, object value) => throw null; @@ -91,7 +91,7 @@ namespace System System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } } - // Generated from `System.Collections.Queue` in `System.Collections.NonGeneric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Queue` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Queue : System.Collections.ICollection, System.Collections.IEnumerable, System.ICloneable { public virtual void Clear() => throw null; @@ -114,7 +114,7 @@ namespace System public virtual void TrimToSize() => throw null; } - // Generated from `System.Collections.ReadOnlyCollectionBase` in `System.Collections.NonGeneric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.ReadOnlyCollectionBase` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ReadOnlyCollectionBase : System.Collections.ICollection, System.Collections.IEnumerable { void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; @@ -126,7 +126,7 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Collections.SortedList` in `System.Collections.NonGeneric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.SortedList` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SortedList : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.ICloneable { public virtual void Add(object key, object value) => throw null; @@ -166,7 +166,7 @@ namespace System public virtual System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Collections.Stack` in `System.Collections.NonGeneric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Stack` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Stack : System.Collections.ICollection, System.Collections.IEnumerable, System.ICloneable { public virtual void Clear() => throw null; @@ -189,7 +189,7 @@ namespace System namespace Specialized { - // Generated from `System.Collections.Specialized.CollectionsUtil` in `System.Collections.NonGeneric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.CollectionsUtil` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CollectionsUtil { public CollectionsUtil() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Specialized.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Specialized.cs index 7f1ebf51687..cd32801fc51 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Specialized.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Specialized.cs @@ -6,11 +6,11 @@ namespace System { namespace Specialized { - // Generated from `System.Collections.Specialized.BitVector32` in `System.Collections.Specialized, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct BitVector32 + // Generated from `System.Collections.Specialized.BitVector32` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct BitVector32 : System.IEquatable { - // Generated from `System.Collections.Specialized.BitVector32+Section` in `System.Collections.Specialized, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct Section + // Generated from `System.Collections.Specialized.BitVector32+Section` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct Section : System.IEquatable { public static bool operator !=(System.Collections.Specialized.BitVector32.Section a, System.Collections.Specialized.BitVector32.Section b) => throw null; public static bool operator ==(System.Collections.Specialized.BitVector32.Section a, System.Collections.Specialized.BitVector32.Section b) => throw null; @@ -33,6 +33,7 @@ namespace System public static System.Collections.Specialized.BitVector32.Section CreateSection(System.Int16 maxValue) => throw null; public static System.Collections.Specialized.BitVector32.Section CreateSection(System.Int16 maxValue, System.Collections.Specialized.BitVector32.Section previous) => throw null; public int Data { get => throw null; } + public bool Equals(System.Collections.Specialized.BitVector32 other) => throw null; public override bool Equals(object o) => throw null; public override int GetHashCode() => throw null; public int this[System.Collections.Specialized.BitVector32.Section section] { get => throw null; set => throw null; } @@ -41,7 +42,7 @@ namespace System public static string ToString(System.Collections.Specialized.BitVector32 value) => throw null; } - // Generated from `System.Collections.Specialized.HybridDictionary` in `System.Collections.Specialized, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.HybridDictionary` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HybridDictionary : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { public void Add(object key, object value) => throw null; @@ -65,7 +66,7 @@ namespace System public System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Collections.Specialized.IOrderedDictionary` in `System.Collections.Specialized, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.IOrderedDictionary` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IOrderedDictionary : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { System.Collections.IDictionaryEnumerator GetEnumerator(); @@ -74,7 +75,7 @@ namespace System void RemoveAt(int index); } - // Generated from `System.Collections.Specialized.ListDictionary` in `System.Collections.Specialized, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.ListDictionary` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ListDictionary : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { public void Add(object key, object value) => throw null; @@ -96,10 +97,10 @@ namespace System public System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Collections.Specialized.NameObjectCollectionBase` in `System.Collections.Specialized, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.NameObjectCollectionBase` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class NameObjectCollectionBase : System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { - // Generated from `System.Collections.Specialized.NameObjectCollectionBase+KeysCollection` in `System.Collections.Specialized, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.NameObjectCollectionBase+KeysCollection` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KeysCollection : System.Collections.ICollection, System.Collections.IEnumerable { void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; @@ -143,7 +144,7 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Collections.Specialized.NameValueCollection` in `System.Collections.Specialized, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.NameValueCollection` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NameValueCollection : System.Collections.Specialized.NameObjectCollectionBase { public void Add(System.Collections.Specialized.NameValueCollection c) => throw null; @@ -173,7 +174,7 @@ namespace System public virtual void Set(string name, string value) => throw null; } - // Generated from `System.Collections.Specialized.OrderedDictionary` in `System.Collections.Specialized, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.OrderedDictionary` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OrderedDictionary : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Collections.Specialized.IOrderedDictionary, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public void Add(object key, object value) => throw null; @@ -205,7 +206,7 @@ namespace System public System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Collections.Specialized.StringCollection` in `System.Collections.Specialized, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.StringCollection` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { int System.Collections.IList.Add(object value) => throw null; @@ -236,7 +237,7 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Collections.Specialized.StringDictionary` in `System.Collections.Specialized, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.StringDictionary` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringDictionary : System.Collections.IEnumerable { public virtual void Add(string key, string value) => throw null; @@ -255,7 +256,7 @@ namespace System public virtual System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Collections.Specialized.StringEnumerator` in `System.Collections.Specialized, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.StringEnumerator` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringEnumerator { public string Current { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.cs index 0a19a5ad326..621ea14790c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.cs @@ -4,7 +4,7 @@ namespace System { namespace Collections { - // Generated from `System.Collections.BitArray` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.BitArray` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BitArray : System.Collections.ICollection, System.Collections.IEnumerable, System.ICloneable { public System.Collections.BitArray And(System.Collections.BitArray value) => throw null; @@ -33,7 +33,7 @@ namespace System public System.Collections.BitArray Xor(System.Collections.BitArray value) => throw null; } - // Generated from `System.Collections.StructuralComparisons` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.StructuralComparisons` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class StructuralComparisons { public static System.Collections.IComparer StructuralComparer { get => throw null; } @@ -42,16 +42,18 @@ namespace System namespace Generic { - // Generated from `System.Collections.Generic.CollectionExtensions` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.CollectionExtensions` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CollectionExtensions { + public static System.Collections.ObjectModel.ReadOnlyCollection AsReadOnly(this System.Collections.Generic.IList list) => throw null; + public static System.Collections.ObjectModel.ReadOnlyDictionary AsReadOnly(this System.Collections.Generic.IDictionary dictionary) => throw null; public static TValue GetValueOrDefault(this System.Collections.Generic.IReadOnlyDictionary dictionary, TKey key) => throw null; public static TValue GetValueOrDefault(this System.Collections.Generic.IReadOnlyDictionary dictionary, TKey key, TValue defaultValue) => throw null; public static bool Remove(this System.Collections.Generic.IDictionary dictionary, TKey key, out TValue value) => throw null; public static bool TryAdd(this System.Collections.Generic.IDictionary dictionary, TKey key, TValue value) => throw null; } - // Generated from `System.Collections.Generic.Comparer<>` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.Comparer<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Comparer : System.Collections.Generic.IComparer, System.Collections.IComparer { public abstract int Compare(T x, T y); @@ -61,10 +63,10 @@ namespace System public static System.Collections.Generic.Comparer Default { get => throw null; } } - // Generated from `System.Collections.Generic.Dictionary<,>` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.Dictionary<,>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Dictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { - // Generated from `System.Collections.Generic.Dictionary<,>+Enumerator` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.Dictionary<,>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IDictionaryEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -79,10 +81,10 @@ namespace System } - // Generated from `System.Collections.Generic.Dictionary<,>+KeyCollection` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.Dictionary<,>+KeyCollection` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KeyCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.Dictionary<,>+KeyCollection+Enumerator` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.Dictionary<,>+KeyCollection+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public TKey Current { get => throw null; } @@ -111,10 +113,10 @@ namespace System } - // Generated from `System.Collections.Generic.Dictionary<,>+ValueCollection` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.Dictionary<,>+ValueCollection` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValueCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.Dictionary<,>+ValueCollection+Enumerator` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.Dictionary<,>+ValueCollection+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public TValue Current { get => throw null; } @@ -196,7 +198,7 @@ namespace System System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } } - // Generated from `System.Collections.Generic.EqualityComparer<>` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.EqualityComparer<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EqualityComparer : System.Collections.Generic.IEqualityComparer, System.Collections.IEqualityComparer { public static System.Collections.Generic.EqualityComparer Default { get => throw null; } @@ -207,10 +209,10 @@ namespace System int System.Collections.IEqualityComparer.GetHashCode(object obj) => throw null; } - // Generated from `System.Collections.Generic.HashSet<>` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.HashSet<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HashSet : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlySet, System.Collections.Generic.ISet, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { - // Generated from `System.Collections.Generic.HashSet<>+Enumerator` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.HashSet<>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -262,10 +264,10 @@ namespace System public void UnionWith(System.Collections.Generic.IEnumerable other) => throw null; } - // Generated from `System.Collections.Generic.LinkedList<>` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.LinkedList<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LinkedList : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { - // Generated from `System.Collections.Generic.LinkedList<>+Enumerator` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.LinkedList<>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public T Current { get => throw null; } @@ -314,7 +316,7 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Collections.Generic.LinkedListNode<>` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.LinkedListNode<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LinkedListNode { public LinkedListNode(T value) => throw null; @@ -325,10 +327,10 @@ namespace System public T ValueRef { get => throw null; } } - // Generated from `System.Collections.Generic.List<>` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.List<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class List : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { - // Generated from `System.Collections.Generic.List<>+Enumerator` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.List<>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -409,13 +411,13 @@ namespace System public bool TrueForAll(System.Predicate match) => throw null; } - // Generated from `System.Collections.Generic.PriorityQueue<,>` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.PriorityQueue<,>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PriorityQueue { - // Generated from `System.Collections.Generic.PriorityQueue<,>+UnorderedItemsCollection` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.PriorityQueue<,>+UnorderedItemsCollection` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnorderedItemsCollection : System.Collections.Generic.IEnumerable<(TElement, TPriority)>, System.Collections.Generic.IReadOnlyCollection<(TElement, TPriority)>, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.PriorityQueue<,>+UnorderedItemsCollection+Enumerator` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.PriorityQueue<,>+UnorderedItemsCollection+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator<(TElement, TPriority)>, System.Collections.IEnumerator, System.IDisposable { public (TElement, TPriority) Current { get => throw null; } @@ -460,10 +462,10 @@ namespace System public System.Collections.Generic.PriorityQueue.UnorderedItemsCollection UnorderedItems { get => throw null; } } - // Generated from `System.Collections.Generic.Queue<>` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.Queue<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Queue : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.Queue<>+Enumerator` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.Queue<>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -498,7 +500,7 @@ namespace System public bool TryPeek(out T result) => throw null; } - // Generated from `System.Collections.Generic.ReferenceEqualityComparer` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.ReferenceEqualityComparer` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReferenceEqualityComparer : System.Collections.Generic.IEqualityComparer, System.Collections.IEqualityComparer { public bool Equals(object x, object y) => throw null; @@ -506,10 +508,10 @@ namespace System public static System.Collections.Generic.ReferenceEqualityComparer Instance { get => throw null; } } - // Generated from `System.Collections.Generic.SortedDictionary<,>` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.SortedDictionary<,>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SortedDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.SortedDictionary<,>+Enumerator` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.SortedDictionary<,>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IDictionaryEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -524,10 +526,10 @@ namespace System } - // Generated from `System.Collections.Generic.SortedDictionary<,>+KeyCollection` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.SortedDictionary<,>+KeyCollection` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KeyCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.SortedDictionary<,>+KeyCollection+Enumerator` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.SortedDictionary<,>+KeyCollection+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public TKey Current { get => throw null; } @@ -556,10 +558,10 @@ namespace System } - // Generated from `System.Collections.Generic.SortedDictionary<,>+ValueCollection` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.SortedDictionary<,>+ValueCollection` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValueCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.SortedDictionary<,>+ValueCollection+Enumerator` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.SortedDictionary<,>+ValueCollection+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public TValue Current { get => throw null; } @@ -629,7 +631,7 @@ namespace System System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } } - // Generated from `System.Collections.Generic.SortedList<,>` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.SortedList<,>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SortedList : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair keyValuePair) => throw null; @@ -649,6 +651,8 @@ namespace System System.Collections.Generic.IEnumerator> System.Collections.Generic.IEnumerable>.GetEnumerator() => throw null; System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator() => throw null; System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public TKey GetKeyAtIndex(int index) => throw null; + public TValue GetValueAtIndex(int index) => throw null; public int IndexOfKey(TKey key) => throw null; public int IndexOfValue(TValue value) => throw null; bool System.Collections.IDictionary.IsFixedSize { get => throw null; } @@ -665,6 +669,7 @@ namespace System public bool Remove(TKey key) => throw null; void System.Collections.IDictionary.Remove(object key) => throw null; public void RemoveAt(int index) => throw null; + public void SetValueAtIndex(int index, TValue value) => throw null; public SortedList() => throw null; public SortedList(System.Collections.Generic.IComparer comparer) => throw null; public SortedList(System.Collections.Generic.IDictionary dictionary) => throw null; @@ -680,10 +685,10 @@ namespace System System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } } - // Generated from `System.Collections.Generic.SortedSet<>` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.SortedSet<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SortedSet : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlySet, System.Collections.Generic.ISet, System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { - // Generated from `System.Collections.Generic.SortedSet<>+Enumerator` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.SortedSet<>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public T Current { get => throw null; } @@ -743,10 +748,10 @@ namespace System public void UnionWith(System.Collections.Generic.IEnumerable other) => throw null; } - // Generated from `System.Collections.Generic.Stack<>` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.Stack<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Stack : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.Stack<>+Enumerator` in `System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.Stack<>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Annotations.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Annotations.cs index 0f2d0ef2581..3af00c4ab66 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Annotations.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Annotations.cs @@ -6,7 +6,7 @@ namespace System { namespace DataAnnotations { - // Generated from `System.ComponentModel.DataAnnotations.AssociatedMetadataTypeTypeDescriptionProvider` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.AssociatedMetadataTypeTypeDescriptionProvider` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssociatedMetadataTypeTypeDescriptionProvider : System.ComponentModel.TypeDescriptionProvider { public AssociatedMetadataTypeTypeDescriptionProvider(System.Type type) => throw null; @@ -14,7 +14,7 @@ namespace System public override System.ComponentModel.ICustomTypeDescriptor GetTypeDescriptor(System.Type objectType, object instance) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.AssociationAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.AssociationAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssociationAttribute : System.Attribute { public AssociationAttribute(string name, string thisKey, string otherKey) => throw null; @@ -26,7 +26,7 @@ namespace System public System.Collections.Generic.IEnumerable ThisKeyMembers { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.CompareAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.CompareAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompareAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public CompareAttribute(string otherProperty) => throw null; @@ -37,20 +37,20 @@ namespace System public override bool RequiresValidationContext { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.ConcurrencyCheckAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.ConcurrencyCheckAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConcurrencyCheckAttribute : System.Attribute { public ConcurrencyCheckAttribute() => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.CreditCardAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.CreditCardAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CreditCardAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute { public CreditCardAttribute() : base(default(System.ComponentModel.DataAnnotations.DataType)) => throw null; public override bool IsValid(object value) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.CustomValidationAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.CustomValidationAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CustomValidationAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public CustomValidationAttribute(System.Type validatorType, string method) => throw null; @@ -60,7 +60,7 @@ namespace System public System.Type ValidatorType { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.DataType` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.DataType` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DataType : int { CreditCard = 14, @@ -82,7 +82,7 @@ namespace System Url = 12, } - // Generated from `System.ComponentModel.DataAnnotations.DataTypeAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.DataTypeAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTypeAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public string CustomDataType { get => throw null; } @@ -94,7 +94,7 @@ namespace System public override bool IsValid(object value) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.DisplayAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.DisplayAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DisplayAttribute : System.Attribute { public bool AutoGenerateField { get => throw null; set => throw null; } @@ -117,7 +117,7 @@ namespace System public string ShortName { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.DisplayColumnAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.DisplayColumnAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DisplayColumnAttribute : System.Attribute { public string DisplayColumn { get => throw null; } @@ -128,7 +128,7 @@ namespace System public bool SortDescending { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.DisplayFormatAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.DisplayFormatAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DisplayFormatAttribute : System.Attribute { public bool ApplyFormatInEditMode { get => throw null; set => throw null; } @@ -141,7 +141,7 @@ namespace System public System.Type NullDisplayTextResourceType { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.EditableAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.EditableAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EditableAttribute : System.Attribute { public bool AllowEdit { get => throw null; } @@ -149,14 +149,14 @@ namespace System public EditableAttribute(bool allowEdit) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.EmailAddressAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.EmailAddressAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EmailAddressAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute { public EmailAddressAttribute() : base(default(System.ComponentModel.DataAnnotations.DataType)) => throw null; public override bool IsValid(object value) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.EnumDataTypeAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.EnumDataTypeAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumDataTypeAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute { public EnumDataTypeAttribute(System.Type enumType) : base(default(System.ComponentModel.DataAnnotations.DataType)) => throw null; @@ -164,7 +164,7 @@ namespace System public override bool IsValid(object value) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.FileExtensionsAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.FileExtensionsAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileExtensionsAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute { public string Extensions { get => throw null; set => throw null; } @@ -173,7 +173,7 @@ namespace System public override bool IsValid(object value) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.FilterUIHintAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.FilterUIHintAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FilterUIHintAttribute : System.Attribute { public System.Collections.Generic.IDictionary ControlParameters { get => throw null; } @@ -186,19 +186,19 @@ namespace System public string PresentationLayer { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.IValidatableObject` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.IValidatableObject` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IValidatableObject { System.Collections.Generic.IEnumerable Validate(System.ComponentModel.DataAnnotations.ValidationContext validationContext); } - // Generated from `System.ComponentModel.DataAnnotations.KeyAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.KeyAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KeyAttribute : System.Attribute { public KeyAttribute() => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.MaxLengthAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.MaxLengthAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MaxLengthAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public override string FormatErrorMessage(string name) => throw null; @@ -208,14 +208,14 @@ namespace System public MaxLengthAttribute(int length) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.MetadataTypeAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.MetadataTypeAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataTypeAttribute : System.Attribute { public System.Type MetadataClassType { get => throw null; } public MetadataTypeAttribute(System.Type metadataClassType) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.MinLengthAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.MinLengthAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MinLengthAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public override string FormatErrorMessage(string name) => throw null; @@ -224,14 +224,14 @@ namespace System public MinLengthAttribute(int length) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.PhoneAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.PhoneAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PhoneAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute { public override bool IsValid(object value) => throw null; public PhoneAttribute() : base(default(System.ComponentModel.DataAnnotations.DataType)) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.RangeAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.RangeAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RangeAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public bool ConvertValueInInvariantCulture { get => throw null; set => throw null; } @@ -246,17 +246,18 @@ namespace System public RangeAttribute(int minimum, int maximum) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.RegularExpressionAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.RegularExpressionAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegularExpressionAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public override string FormatErrorMessage(string name) => throw null; public override bool IsValid(object value) => throw null; + public System.TimeSpan MatchTimeout { get => throw null; } public int MatchTimeoutInMilliseconds { get => throw null; set => throw null; } public string Pattern { get => throw null; } public RegularExpressionAttribute(string pattern) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.RequiredAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.RequiredAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RequiredAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public bool AllowEmptyStrings { get => throw null; set => throw null; } @@ -264,14 +265,14 @@ namespace System public RequiredAttribute() => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.ScaffoldColumnAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.ScaffoldColumnAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ScaffoldColumnAttribute : System.Attribute { public bool Scaffold { get => throw null; } public ScaffoldColumnAttribute(bool scaffold) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.StringLengthAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.StringLengthAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringLengthAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public override string FormatErrorMessage(string name) => throw null; @@ -281,13 +282,13 @@ namespace System public StringLengthAttribute(int maximumLength) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.TimestampAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.TimestampAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TimestampAttribute : System.Attribute { public TimestampAttribute() => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.UIHintAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.UIHintAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UIHintAttribute : System.Attribute { public System.Collections.Generic.IDictionary ControlParameters { get => throw null; } @@ -300,14 +301,14 @@ namespace System public UIHintAttribute(string uiHint, string presentationLayer, params object[] controlParameters) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.UrlAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.UrlAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UrlAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute { public override bool IsValid(object value) => throw null; public UrlAttribute() : base(default(System.ComponentModel.DataAnnotations.DataType)) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.ValidationAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.ValidationAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ValidationAttribute : System.Attribute { public string ErrorMessage { get => throw null; set => throw null; } @@ -326,7 +327,7 @@ namespace System protected ValidationAttribute(string errorMessage) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.ValidationContext` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.ValidationContext` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValidationContext : System.IServiceProvider { public string DisplayName { get => throw null; set => throw null; } @@ -341,7 +342,7 @@ namespace System public ValidationContext(object instance, System.IServiceProvider serviceProvider, System.Collections.Generic.IDictionary items) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.ValidationException` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.ValidationException` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValidationException : System.Exception { public System.ComponentModel.DataAnnotations.ValidationAttribute ValidationAttribute { get => throw null; } @@ -355,7 +356,7 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.ValidationResult` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.ValidationResult` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValidationResult { public string ErrorMessage { get => throw null; set => throw null; } @@ -367,7 +368,7 @@ namespace System public ValidationResult(string errorMessage, System.Collections.Generic.IEnumerable memberNames) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.Validator` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.Validator` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Validator { public static bool TryValidateObject(object instance, System.ComponentModel.DataAnnotations.ValidationContext validationContext, System.Collections.Generic.ICollection validationResults) => throw null; @@ -382,7 +383,7 @@ namespace System namespace Schema { - // Generated from `System.ComponentModel.DataAnnotations.Schema.ColumnAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.Schema.ColumnAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ColumnAttribute : System.Attribute { public ColumnAttribute() => throw null; @@ -392,20 +393,20 @@ namespace System public string TypeName { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.Schema.ComplexTypeAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.Schema.ComplexTypeAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComplexTypeAttribute : System.Attribute { public ComplexTypeAttribute() => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DatabaseGeneratedAttribute : System.Attribute { public DatabaseGeneratedAttribute(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption databaseGeneratedOption) => throw null; public System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption DatabaseGeneratedOption { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DatabaseGeneratedOption : int { Computed = 2, @@ -413,27 +414,27 @@ namespace System None = 0, } - // Generated from `System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ForeignKeyAttribute : System.Attribute { public ForeignKeyAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InversePropertyAttribute : System.Attribute { public InversePropertyAttribute(string property) => throw null; public string Property { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotMappedAttribute : System.Attribute { public NotMappedAttribute() => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.Schema.TableAttribute` in `System.ComponentModel.Annotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataAnnotations.Schema.TableAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TableAttribute : System.Attribute { public string Name { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.EventBasedAsync.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.EventBasedAsync.cs index d7b34b9d2e3..ba82842ae91 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.EventBasedAsync.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.EventBasedAsync.cs @@ -4,7 +4,7 @@ namespace System { namespace ComponentModel { - // Generated from `System.ComponentModel.AsyncCompletedEventArgs` in `System.ComponentModel.EventBasedAsync, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.AsyncCompletedEventArgs` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsyncCompletedEventArgs : System.EventArgs { public AsyncCompletedEventArgs(System.Exception error, bool cancelled, object userState) => throw null; @@ -14,10 +14,10 @@ namespace System public object UserState { get => throw null; } } - // Generated from `System.ComponentModel.AsyncCompletedEventHandler` in `System.ComponentModel.EventBasedAsync, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.AsyncCompletedEventHandler` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void AsyncCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - // Generated from `System.ComponentModel.AsyncOperation` in `System.ComponentModel.EventBasedAsync, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.AsyncOperation` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsyncOperation { public void OperationCompleted() => throw null; @@ -28,14 +28,14 @@ namespace System // ERR: Stub generator didn't handle member: ~AsyncOperation } - // Generated from `System.ComponentModel.AsyncOperationManager` in `System.ComponentModel.EventBasedAsync, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.AsyncOperationManager` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class AsyncOperationManager { public static System.ComponentModel.AsyncOperation CreateOperation(object userSuppliedState) => throw null; public static System.Threading.SynchronizationContext SynchronizationContext { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.BackgroundWorker` in `System.ComponentModel.EventBasedAsync, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.BackgroundWorker` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BackgroundWorker : System.ComponentModel.Component { public BackgroundWorker() => throw null; @@ -57,7 +57,7 @@ namespace System public bool WorkerSupportsCancellation { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.DoWorkEventArgs` in `System.ComponentModel.EventBasedAsync, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DoWorkEventArgs` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DoWorkEventArgs : System.ComponentModel.CancelEventArgs { public object Argument { get => throw null; } @@ -65,10 +65,10 @@ namespace System public object Result { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.DoWorkEventHandler` in `System.ComponentModel.EventBasedAsync, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DoWorkEventHandler` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DoWorkEventHandler(object sender, System.ComponentModel.DoWorkEventArgs e); - // Generated from `System.ComponentModel.ProgressChangedEventArgs` in `System.ComponentModel.EventBasedAsync, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ProgressChangedEventArgs` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProgressChangedEventArgs : System.EventArgs { public ProgressChangedEventArgs(int progressPercentage, object userState) => throw null; @@ -76,10 +76,10 @@ namespace System public object UserState { get => throw null; } } - // Generated from `System.ComponentModel.ProgressChangedEventHandler` in `System.ComponentModel.EventBasedAsync, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ProgressChangedEventHandler` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ProgressChangedEventHandler(object sender, System.ComponentModel.ProgressChangedEventArgs e); - // Generated from `System.ComponentModel.RunWorkerCompletedEventArgs` in `System.ComponentModel.EventBasedAsync, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.RunWorkerCompletedEventArgs` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RunWorkerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { public object Result { get => throw null; } @@ -87,7 +87,7 @@ namespace System public object UserState { get => throw null; } } - // Generated from `System.ComponentModel.RunWorkerCompletedEventHandler` in `System.ComponentModel.EventBasedAsync, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.RunWorkerCompletedEventHandler` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void RunWorkerCompletedEventHandler(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e); } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Primitives.cs index e87d1083838..76ec4f609e8 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Primitives.cs @@ -4,7 +4,7 @@ namespace System { namespace ComponentModel { - // Generated from `System.ComponentModel.BrowsableAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.BrowsableAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BrowsableAttribute : System.Attribute { public bool Browsable { get => throw null; } @@ -17,7 +17,7 @@ namespace System public static System.ComponentModel.BrowsableAttribute Yes; } - // Generated from `System.ComponentModel.CategoryAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.CategoryAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CategoryAttribute : System.Attribute { public static System.ComponentModel.CategoryAttribute Action { get => throw null; } @@ -43,7 +43,7 @@ namespace System public static System.ComponentModel.CategoryAttribute WindowStyle { get => throw null; } } - // Generated from `System.ComponentModel.Component` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Component` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Component : System.MarshalByRefObject, System.ComponentModel.IComponent, System.IDisposable { protected virtual bool CanRaiseEvents { get => throw null; } @@ -60,7 +60,7 @@ namespace System // ERR: Stub generator didn't handle member: ~Component } - // Generated from `System.ComponentModel.ComponentCollection` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ComponentCollection` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentCollection : System.Collections.ReadOnlyCollectionBase { public ComponentCollection(System.ComponentModel.IComponent[] components) => throw null; @@ -69,7 +69,7 @@ namespace System public virtual System.ComponentModel.IComponent this[string name] { get => throw null; } } - // Generated from `System.ComponentModel.DescriptionAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DescriptionAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DescriptionAttribute : System.Attribute { public static System.ComponentModel.DescriptionAttribute Default; @@ -82,7 +82,7 @@ namespace System public override bool IsDefaultAttribute() => throw null; } - // Generated from `System.ComponentModel.DesignOnlyAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DesignOnlyAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignOnlyAttribute : System.Attribute { public static System.ComponentModel.DesignOnlyAttribute Default; @@ -95,7 +95,7 @@ namespace System public static System.ComponentModel.DesignOnlyAttribute Yes; } - // Generated from `System.ComponentModel.DesignerAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DesignerAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerAttribute : System.Attribute { public DesignerAttribute(System.Type designerType) => throw null; @@ -110,7 +110,7 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.DesignerCategoryAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DesignerCategoryAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerCategoryAttribute : System.Attribute { public string Category { get => throw null; } @@ -126,7 +126,7 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.DesignerSerializationVisibility` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DesignerSerializationVisibility` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DesignerSerializationVisibility : int { Content = 2, @@ -134,7 +134,7 @@ namespace System Visible = 1, } - // Generated from `System.ComponentModel.DesignerSerializationVisibilityAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DesignerSerializationVisibilityAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerSerializationVisibilityAttribute : System.Attribute { public static System.ComponentModel.DesignerSerializationVisibilityAttribute Content; @@ -148,7 +148,7 @@ namespace System public static System.ComponentModel.DesignerSerializationVisibilityAttribute Visible; } - // Generated from `System.ComponentModel.DisplayNameAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DisplayNameAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DisplayNameAttribute : System.Attribute { public static System.ComponentModel.DisplayNameAttribute Default; @@ -161,7 +161,7 @@ namespace System public override bool IsDefaultAttribute() => throw null; } - // Generated from `System.ComponentModel.EditorAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.EditorAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EditorAttribute : System.Attribute { public EditorAttribute() => throw null; @@ -175,7 +175,7 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.EventHandlerList` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.EventHandlerList` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventHandlerList : System.IDisposable { public void AddHandler(object key, System.Delegate value) => throw null; @@ -186,14 +186,14 @@ namespace System public void RemoveHandler(object key, System.Delegate value) => throw null; } - // Generated from `System.ComponentModel.IComponent` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.IComponent` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComponent : System.IDisposable { event System.EventHandler Disposed; System.ComponentModel.ISite Site { get; set; } } - // Generated from `System.ComponentModel.IContainer` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.IContainer` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IContainer : System.IDisposable { void Add(System.ComponentModel.IComponent component); @@ -202,7 +202,7 @@ namespace System void Remove(System.ComponentModel.IComponent component); } - // Generated from `System.ComponentModel.ISite` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ISite` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISite : System.IServiceProvider { System.ComponentModel.IComponent Component { get; } @@ -211,14 +211,14 @@ namespace System string Name { get; set; } } - // Generated from `System.ComponentModel.ISupportInitialize` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ISupportInitialize` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISupportInitialize { void BeginInit(); void EndInit(); } - // Generated from `System.ComponentModel.ISynchronizeInvoke` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ISynchronizeInvoke` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISynchronizeInvoke { System.IAsyncResult BeginInvoke(System.Delegate method, object[] args); @@ -227,7 +227,7 @@ namespace System bool InvokeRequired { get; } } - // Generated from `System.ComponentModel.ImmutableObjectAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ImmutableObjectAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableObjectAttribute : System.Attribute { public static System.ComponentModel.ImmutableObjectAttribute Default; @@ -240,14 +240,14 @@ namespace System public static System.ComponentModel.ImmutableObjectAttribute Yes; } - // Generated from `System.ComponentModel.InitializationEventAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.InitializationEventAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InitializationEventAttribute : System.Attribute { public string EventName { get => throw null; } public InitializationEventAttribute(string eventName) => throw null; } - // Generated from `System.ComponentModel.InvalidAsynchronousStateException` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.InvalidAsynchronousStateException` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidAsynchronousStateException : System.ArgumentException { public InvalidAsynchronousStateException() => throw null; @@ -256,7 +256,7 @@ namespace System public InvalidAsynchronousStateException(string message, System.Exception innerException) => throw null; } - // Generated from `System.ComponentModel.InvalidEnumArgumentException` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.InvalidEnumArgumentException` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidEnumArgumentException : System.ArgumentException { public InvalidEnumArgumentException() => throw null; @@ -266,7 +266,7 @@ namespace System public InvalidEnumArgumentException(string argumentName, int invalidValue, System.Type enumClass) => throw null; } - // Generated from `System.ComponentModel.LocalizableAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.LocalizableAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LocalizableAttribute : System.Attribute { public static System.ComponentModel.LocalizableAttribute Default; @@ -279,7 +279,7 @@ namespace System public static System.ComponentModel.LocalizableAttribute Yes; } - // Generated from `System.ComponentModel.MergablePropertyAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.MergablePropertyAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MergablePropertyAttribute : System.Attribute { public bool AllowMerge { get => throw null; } @@ -292,7 +292,7 @@ namespace System public static System.ComponentModel.MergablePropertyAttribute Yes; } - // Generated from `System.ComponentModel.NotifyParentPropertyAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.NotifyParentPropertyAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotifyParentPropertyAttribute : System.Attribute { public static System.ComponentModel.NotifyParentPropertyAttribute Default; @@ -305,7 +305,7 @@ namespace System public static System.ComponentModel.NotifyParentPropertyAttribute Yes; } - // Generated from `System.ComponentModel.ParenthesizePropertyNameAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ParenthesizePropertyNameAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParenthesizePropertyNameAttribute : System.Attribute { public static System.ComponentModel.ParenthesizePropertyNameAttribute Default; @@ -317,7 +317,7 @@ namespace System public ParenthesizePropertyNameAttribute(bool needParenthesis) => throw null; } - // Generated from `System.ComponentModel.ReadOnlyAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ReadOnlyAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReadOnlyAttribute : System.Attribute { public static System.ComponentModel.ReadOnlyAttribute Default; @@ -330,7 +330,7 @@ namespace System public static System.ComponentModel.ReadOnlyAttribute Yes; } - // Generated from `System.ComponentModel.RefreshProperties` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.RefreshProperties` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RefreshProperties : int { All = 1, @@ -338,7 +338,7 @@ namespace System Repaint = 2, } - // Generated from `System.ComponentModel.RefreshPropertiesAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.RefreshPropertiesAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RefreshPropertiesAttribute : System.Attribute { public static System.ComponentModel.RefreshPropertiesAttribute All; @@ -355,7 +355,7 @@ namespace System { namespace Serialization { - // Generated from `System.ComponentModel.Design.Serialization.DesignerSerializerAttribute` in `System.ComponentModel.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.DesignerSerializerAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerSerializerAttribute : System.Attribute { public DesignerSerializerAttribute(System.Type serializerType, System.Type baseSerializerType) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.TypeConverter.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.TypeConverter.cs index 33883e650cc..f6c3e0cd721 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.TypeConverter.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.TypeConverter.cs @@ -2,7 +2,7 @@ namespace System { - // Generated from `System.UriTypeConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.UriTypeConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UriTypeConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -15,7 +15,7 @@ namespace System namespace ComponentModel { - // Generated from `System.ComponentModel.AddingNewEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.AddingNewEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AddingNewEventArgs : System.EventArgs { public AddingNewEventArgs() => throw null; @@ -23,10 +23,10 @@ namespace System public object NewObject { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.AddingNewEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.AddingNewEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void AddingNewEventHandler(object sender, System.ComponentModel.AddingNewEventArgs e); - // Generated from `System.ComponentModel.AmbientValueAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.AmbientValueAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AmbientValueAttribute : System.Attribute { public AmbientValueAttribute(System.Type type, string value) => throw null; @@ -45,7 +45,7 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.ComponentModel.ArrayConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ArrayConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArrayConverter : System.ComponentModel.CollectionConverter { public ArrayConverter() => throw null; @@ -54,7 +54,7 @@ namespace System public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) => throw null; } - // Generated from `System.ComponentModel.AttributeCollection` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.AttributeCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AttributeCollection : System.Collections.ICollection, System.Collections.IEnumerable { protected AttributeCollection() => throw null; @@ -78,7 +78,7 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.ComponentModel.AttributeProviderAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.AttributeProviderAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AttributeProviderAttribute : System.Attribute { public AttributeProviderAttribute(System.Type type) => throw null; @@ -88,7 +88,7 @@ namespace System public string TypeName { get => throw null; } } - // Generated from `System.ComponentModel.BaseNumberConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.BaseNumberConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class BaseNumberConverter : System.ComponentModel.TypeConverter { internal BaseNumberConverter() => throw null; @@ -98,7 +98,7 @@ namespace System public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) => throw null; } - // Generated from `System.ComponentModel.BindableAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.BindableAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BindableAttribute : System.Attribute { public bool Bindable { get => throw null; } @@ -115,7 +115,7 @@ namespace System public static System.ComponentModel.BindableAttribute Yes; } - // Generated from `System.ComponentModel.BindableSupport` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.BindableSupport` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum BindableSupport : int { Default = 2, @@ -123,14 +123,14 @@ namespace System Yes = 1, } - // Generated from `System.ComponentModel.BindingDirection` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.BindingDirection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum BindingDirection : int { OneWay = 0, TwoWay = 1, } - // Generated from `System.ComponentModel.BindingList<>` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.BindingList<>` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BindingList : System.Collections.ObjectModel.Collection, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.ICancelAddNew, System.ComponentModel.IRaiseItemChangedEvents { void System.ComponentModel.IBindingList.AddIndex(System.ComponentModel.PropertyDescriptor prop) => throw null; @@ -180,7 +180,7 @@ namespace System protected virtual bool SupportsSortingCore { get => throw null; } } - // Generated from `System.ComponentModel.BooleanConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.BooleanConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BooleanConverter : System.ComponentModel.TypeConverter { public BooleanConverter() => throw null; @@ -191,16 +191,16 @@ namespace System public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext context) => throw null; } - // Generated from `System.ComponentModel.ByteConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ByteConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ByteConverter : System.ComponentModel.BaseNumberConverter { public ByteConverter() => throw null; } - // Generated from `System.ComponentModel.CancelEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.CancelEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void CancelEventHandler(object sender, System.ComponentModel.CancelEventArgs e); - // Generated from `System.ComponentModel.CharConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.CharConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CharConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -209,7 +209,7 @@ namespace System public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) => throw null; } - // Generated from `System.ComponentModel.CollectionChangeAction` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.CollectionChangeAction` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CollectionChangeAction : int { Add = 1, @@ -217,7 +217,7 @@ namespace System Remove = 2, } - // Generated from `System.ComponentModel.CollectionChangeEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.CollectionChangeEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CollectionChangeEventArgs : System.EventArgs { public virtual System.ComponentModel.CollectionChangeAction Action { get => throw null; } @@ -225,10 +225,10 @@ namespace System public virtual object Element { get => throw null; } } - // Generated from `System.ComponentModel.CollectionChangeEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.CollectionChangeEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void CollectionChangeEventHandler(object sender, System.ComponentModel.CollectionChangeEventArgs e); - // Generated from `System.ComponentModel.CollectionConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.CollectionConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CollectionConverter : System.ComponentModel.TypeConverter { public CollectionConverter() => throw null; @@ -236,7 +236,7 @@ namespace System public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object value, System.Attribute[] attributes) => throw null; } - // Generated from `System.ComponentModel.ComplexBindingPropertiesAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ComplexBindingPropertiesAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComplexBindingPropertiesAttribute : System.Attribute { public ComplexBindingPropertiesAttribute() => throw null; @@ -249,7 +249,7 @@ namespace System public override int GetHashCode() => throw null; } - // Generated from `System.ComponentModel.ComponentConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ComponentConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentConverter : System.ComponentModel.ReferenceConverter { public ComponentConverter(System.Type type) : base(default(System.Type)) => throw null; @@ -257,7 +257,7 @@ namespace System public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) => throw null; } - // Generated from `System.ComponentModel.ComponentEditor` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ComponentEditor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ComponentEditor { protected ComponentEditor() => throw null; @@ -265,7 +265,7 @@ namespace System public bool EditComponent(object component) => throw null; } - // Generated from `System.ComponentModel.ComponentResourceManager` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ComponentResourceManager` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentResourceManager : System.Resources.ResourceManager { public void ApplyResources(object value, string objectName) => throw null; @@ -274,7 +274,7 @@ namespace System public ComponentResourceManager(System.Type t) => throw null; } - // Generated from `System.ComponentModel.Container` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Container` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Container : System.ComponentModel.IContainer, System.IDisposable { public virtual void Add(System.ComponentModel.IComponent component) => throw null; @@ -291,14 +291,14 @@ namespace System // ERR: Stub generator didn't handle member: ~Container } - // Generated from `System.ComponentModel.ContainerFilterService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ContainerFilterService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ContainerFilterService { protected ContainerFilterService() => throw null; public virtual System.ComponentModel.ComponentCollection FilterComponents(System.ComponentModel.ComponentCollection components) => throw null; } - // Generated from `System.ComponentModel.CultureInfoConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.CultureInfoConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CultureInfoConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -312,7 +312,7 @@ namespace System public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext context) => throw null; } - // Generated from `System.ComponentModel.CustomTypeDescriptor` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.CustomTypeDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor { protected CustomTypeDescriptor() => throw null; @@ -331,7 +331,7 @@ namespace System public virtual object GetPropertyOwner(System.ComponentModel.PropertyDescriptor pd) => throw null; } - // Generated from `System.ComponentModel.DataObjectAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataObjectAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataObjectAttribute : System.Attribute { public static System.ComponentModel.DataObjectAttribute DataObject; @@ -345,7 +345,7 @@ namespace System public static System.ComponentModel.DataObjectAttribute NonDataObject; } - // Generated from `System.ComponentModel.DataObjectFieldAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataObjectFieldAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataObjectFieldAttribute : System.Attribute { public DataObjectFieldAttribute(bool primaryKey) => throw null; @@ -360,7 +360,7 @@ namespace System public bool PrimaryKey { get => throw null; } } - // Generated from `System.ComponentModel.DataObjectMethodAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataObjectMethodAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataObjectMethodAttribute : System.Attribute { public DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType methodType) => throw null; @@ -372,7 +372,7 @@ namespace System public System.ComponentModel.DataObjectMethodType MethodType { get => throw null; } } - // Generated from `System.ComponentModel.DataObjectMethodType` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataObjectMethodType` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DataObjectMethodType : int { Delete = 4, @@ -382,7 +382,17 @@ namespace System Update = 2, } - // Generated from `System.ComponentModel.DateTimeConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DateOnlyConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class DateOnlyConverter : System.ComponentModel.TypeConverter + { + public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; + public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) => throw null; + public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) => throw null; + public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) => throw null; + public DateOnlyConverter() => throw null; + } + + // Generated from `System.ComponentModel.DateTimeConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateTimeConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -392,7 +402,7 @@ namespace System public DateTimeConverter() => throw null; } - // Generated from `System.ComponentModel.DateTimeOffsetConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DateTimeOffsetConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateTimeOffsetConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -402,7 +412,7 @@ namespace System public DateTimeOffsetConverter() => throw null; } - // Generated from `System.ComponentModel.DecimalConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DecimalConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecimalConverter : System.ComponentModel.BaseNumberConverter { public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) => throw null; @@ -410,7 +420,7 @@ namespace System public DecimalConverter() => throw null; } - // Generated from `System.ComponentModel.DefaultBindingPropertyAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DefaultBindingPropertyAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultBindingPropertyAttribute : System.Attribute { public static System.ComponentModel.DefaultBindingPropertyAttribute Default; @@ -421,7 +431,7 @@ namespace System public string Name { get => throw null; } } - // Generated from `System.ComponentModel.DefaultEventAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DefaultEventAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultEventAttribute : System.Attribute { public static System.ComponentModel.DefaultEventAttribute Default; @@ -431,7 +441,7 @@ namespace System public string Name { get => throw null; } } - // Generated from `System.ComponentModel.DefaultPropertyAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DefaultPropertyAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultPropertyAttribute : System.Attribute { public static System.ComponentModel.DefaultPropertyAttribute Default; @@ -441,7 +451,7 @@ namespace System public string Name { get => throw null; } } - // Generated from `System.ComponentModel.DesignTimeVisibleAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DesignTimeVisibleAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignTimeVisibleAttribute : System.Attribute { public static System.ComponentModel.DesignTimeVisibleAttribute Default; @@ -455,13 +465,13 @@ namespace System public static System.ComponentModel.DesignTimeVisibleAttribute Yes; } - // Generated from `System.ComponentModel.DoubleConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DoubleConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DoubleConverter : System.ComponentModel.BaseNumberConverter { public DoubleConverter() => throw null; } - // Generated from `System.ComponentModel.EnumConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.EnumConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -478,7 +488,7 @@ namespace System protected System.ComponentModel.TypeConverter.StandardValuesCollection Values { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.EventDescriptor` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.EventDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EventDescriptor : System.ComponentModel.MemberDescriptor { public abstract void AddEventHandler(object component, System.Delegate value); @@ -491,7 +501,7 @@ namespace System public abstract void RemoveEventHandler(object component, System.Delegate value); } - // Generated from `System.ComponentModel.EventDescriptorCollection` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.EventDescriptorCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventDescriptorCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public int Add(System.ComponentModel.EventDescriptor value) => throw null; @@ -532,7 +542,7 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.ComponentModel.ExpandableObjectConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ExpandableObjectConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExpandableObjectConverter : System.ComponentModel.TypeConverter { public ExpandableObjectConverter() => throw null; @@ -540,7 +550,7 @@ namespace System public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) => throw null; } - // Generated from `System.ComponentModel.ExtenderProvidedPropertyAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ExtenderProvidedPropertyAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExtenderProvidedPropertyAttribute : System.Attribute { public override bool Equals(object obj) => throw null; @@ -552,7 +562,7 @@ namespace System public System.Type ReceiverType { get => throw null; } } - // Generated from `System.ComponentModel.GuidConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.GuidConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GuidConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -562,7 +572,13 @@ namespace System public GuidConverter() => throw null; } - // Generated from `System.ComponentModel.HandledEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.HalfConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class HalfConverter : System.ComponentModel.BaseNumberConverter + { + public HalfConverter() => throw null; + } + + // Generated from `System.ComponentModel.HandledEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HandledEventArgs : System.EventArgs { public bool Handled { get => throw null; set => throw null; } @@ -570,10 +586,10 @@ namespace System public HandledEventArgs(bool defaultHandledValue) => throw null; } - // Generated from `System.ComponentModel.HandledEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.HandledEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void HandledEventHandler(object sender, System.ComponentModel.HandledEventArgs e); - // Generated from `System.ComponentModel.IBindingList` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.IBindingList` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IBindingList : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { void AddIndex(System.ComponentModel.PropertyDescriptor property); @@ -594,7 +610,7 @@ namespace System bool SupportsSorting { get; } } - // Generated from `System.ComponentModel.IBindingListView` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.IBindingListView` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IBindingListView : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList { void ApplySort(System.ComponentModel.ListSortDescriptionCollection sorts); @@ -605,14 +621,14 @@ namespace System bool SupportsFiltering { get; } } - // Generated from `System.ComponentModel.ICancelAddNew` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ICancelAddNew` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICancelAddNew { void CancelNew(int itemIndex); void EndNew(int itemIndex); } - // Generated from `System.ComponentModel.IComNativeDescriptorHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.IComNativeDescriptorHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComNativeDescriptorHandler { System.ComponentModel.AttributeCollection GetAttributes(object component); @@ -629,7 +645,7 @@ namespace System object GetPropertyValue(object component, string propertyName, ref bool success); } - // Generated from `System.ComponentModel.ICustomTypeDescriptor` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ICustomTypeDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomTypeDescriptor { System.ComponentModel.AttributeCollection GetAttributes(); @@ -646,59 +662,59 @@ namespace System object GetPropertyOwner(System.ComponentModel.PropertyDescriptor pd); } - // Generated from `System.ComponentModel.IDataErrorInfo` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.IDataErrorInfo` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataErrorInfo { string Error { get; } string this[string columnName] { get; } } - // Generated from `System.ComponentModel.IExtenderProvider` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.IExtenderProvider` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IExtenderProvider { bool CanExtend(object extendee); } - // Generated from `System.ComponentModel.IIntellisenseBuilder` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.IIntellisenseBuilder` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IIntellisenseBuilder { string Name { get; } bool Show(string language, string value, ref string newValue); } - // Generated from `System.ComponentModel.IListSource` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.IListSource` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IListSource { bool ContainsListCollection { get; } System.Collections.IList GetList(); } - // Generated from `System.ComponentModel.INestedContainer` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.INestedContainer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INestedContainer : System.ComponentModel.IContainer, System.IDisposable { System.ComponentModel.IComponent Owner { get; } } - // Generated from `System.ComponentModel.INestedSite` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.INestedSite` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INestedSite : System.ComponentModel.ISite, System.IServiceProvider { string FullName { get; } } - // Generated from `System.ComponentModel.IRaiseItemChangedEvents` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.IRaiseItemChangedEvents` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IRaiseItemChangedEvents { bool RaisesItemChangedEvents { get; } } - // Generated from `System.ComponentModel.ISupportInitializeNotification` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ISupportInitializeNotification` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISupportInitializeNotification : System.ComponentModel.ISupportInitialize { event System.EventHandler Initialized; bool IsInitialized { get; } } - // Generated from `System.ComponentModel.ITypeDescriptorContext` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ITypeDescriptorContext` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeDescriptorContext : System.IServiceProvider { System.ComponentModel.IContainer Container { get; } @@ -708,14 +724,14 @@ namespace System System.ComponentModel.PropertyDescriptor PropertyDescriptor { get; } } - // Generated from `System.ComponentModel.ITypedList` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ITypedList` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypedList { System.ComponentModel.PropertyDescriptorCollection GetItemProperties(System.ComponentModel.PropertyDescriptor[] listAccessors); string GetListName(System.ComponentModel.PropertyDescriptor[] listAccessors); } - // Generated from `System.ComponentModel.InheritanceAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.InheritanceAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InheritanceAttribute : System.Attribute { public static System.ComponentModel.InheritanceAttribute Default; @@ -731,7 +747,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.ComponentModel.InheritanceLevel` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.InheritanceLevel` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum InheritanceLevel : int { Inherited = 1, @@ -739,7 +755,7 @@ namespace System NotInherited = 3, } - // Generated from `System.ComponentModel.InstallerTypeAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.InstallerTypeAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InstallerTypeAttribute : System.Attribute { public override bool Equals(object obj) => throw null; @@ -749,7 +765,7 @@ namespace System public InstallerTypeAttribute(string typeName) => throw null; } - // Generated from `System.ComponentModel.InstanceCreationEditor` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.InstanceCreationEditor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class InstanceCreationEditor { public abstract object CreateInstance(System.ComponentModel.ITypeDescriptorContext context, System.Type instanceType); @@ -757,25 +773,31 @@ namespace System public virtual string Text { get => throw null; } } - // Generated from `System.ComponentModel.Int16Converter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Int128Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Int128Converter : System.ComponentModel.BaseNumberConverter + { + public Int128Converter() => throw null; + } + + // Generated from `System.ComponentModel.Int16Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Int16Converter : System.ComponentModel.BaseNumberConverter { public Int16Converter() => throw null; } - // Generated from `System.ComponentModel.Int32Converter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Int32Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Int32Converter : System.ComponentModel.BaseNumberConverter { public Int32Converter() => throw null; } - // Generated from `System.ComponentModel.Int64Converter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Int64Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Int64Converter : System.ComponentModel.BaseNumberConverter { public Int64Converter() => throw null; } - // Generated from `System.ComponentModel.LicFileLicenseProvider` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.LicFileLicenseProvider` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LicFileLicenseProvider : System.ComponentModel.LicenseProvider { protected virtual string GetKey(System.Type type) => throw null; @@ -784,7 +806,7 @@ namespace System public LicFileLicenseProvider() => throw null; } - // Generated from `System.ComponentModel.License` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.License` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class License : System.IDisposable { public abstract void Dispose(); @@ -792,7 +814,7 @@ namespace System public abstract string LicenseKey { get; } } - // Generated from `System.ComponentModel.LicenseContext` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.LicenseContext` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LicenseContext : System.IServiceProvider { public virtual string GetSavedLicenseKey(System.Type type, System.Reflection.Assembly resourceAssembly) => throw null; @@ -802,7 +824,7 @@ namespace System public virtual System.ComponentModel.LicenseUsageMode UsageMode { get => throw null; } } - // Generated from `System.ComponentModel.LicenseException` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.LicenseException` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LicenseException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -814,7 +836,7 @@ namespace System public System.Type LicensedType { get => throw null; } } - // Generated from `System.ComponentModel.LicenseManager` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.LicenseManager` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LicenseManager { public static object CreateWithContext(System.Type type, System.ComponentModel.LicenseContext creationContext) => throw null; @@ -830,14 +852,14 @@ namespace System public static System.ComponentModel.License Validate(System.Type type, object instance) => throw null; } - // Generated from `System.ComponentModel.LicenseProvider` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.LicenseProvider` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class LicenseProvider { public abstract System.ComponentModel.License GetLicense(System.ComponentModel.LicenseContext context, System.Type type, object instance, bool allowExceptions); protected LicenseProvider() => throw null; } - // Generated from `System.ComponentModel.LicenseProviderAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.LicenseProviderAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LicenseProviderAttribute : System.Attribute { public static System.ComponentModel.LicenseProviderAttribute Default; @@ -850,14 +872,14 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.LicenseUsageMode` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.LicenseUsageMode` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LicenseUsageMode : int { Designtime = 1, Runtime = 0, } - // Generated from `System.ComponentModel.ListBindableAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ListBindableAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ListBindableAttribute : System.Attribute { public static System.ComponentModel.ListBindableAttribute Default; @@ -871,7 +893,7 @@ namespace System public static System.ComponentModel.ListBindableAttribute Yes; } - // Generated from `System.ComponentModel.ListChangedEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ListChangedEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ListChangedEventArgs : System.EventArgs { public ListChangedEventArgs(System.ComponentModel.ListChangedType listChangedType, System.ComponentModel.PropertyDescriptor propDesc) => throw null; @@ -884,10 +906,10 @@ namespace System public System.ComponentModel.PropertyDescriptor PropertyDescriptor { get => throw null; } } - // Generated from `System.ComponentModel.ListChangedEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ListChangedEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ListChangedEventHandler(object sender, System.ComponentModel.ListChangedEventArgs e); - // Generated from `System.ComponentModel.ListChangedType` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ListChangedType` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ListChangedType : int { ItemAdded = 1, @@ -900,7 +922,7 @@ namespace System Reset = 0, } - // Generated from `System.ComponentModel.ListSortDescription` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ListSortDescription` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ListSortDescription { public ListSortDescription(System.ComponentModel.PropertyDescriptor property, System.ComponentModel.ListSortDirection direction) => throw null; @@ -908,7 +930,7 @@ namespace System public System.ComponentModel.ListSortDirection SortDirection { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.ListSortDescriptionCollection` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ListSortDescriptionCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ListSortDescriptionCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { int System.Collections.IList.Add(object value) => throw null; @@ -931,14 +953,14 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.ComponentModel.ListSortDirection` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ListSortDirection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ListSortDirection : int { Ascending = 0, Descending = 1, } - // Generated from `System.ComponentModel.LookupBindingPropertiesAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.LookupBindingPropertiesAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LookupBindingPropertiesAttribute : System.Attribute { public string DataSource { get => throw null; } @@ -952,7 +974,7 @@ namespace System public string ValueMember { get => throw null; } } - // Generated from `System.ComponentModel.MarshalByValueComponent` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.MarshalByValueComponent` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MarshalByValueComponent : System.ComponentModel.IComponent, System.IDisposable, System.IServiceProvider { public virtual System.ComponentModel.IContainer Container { get => throw null; } @@ -968,7 +990,7 @@ namespace System // ERR: Stub generator didn't handle member: ~MarshalByValueComponent } - // Generated from `System.ComponentModel.MaskedTextProvider` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.MaskedTextProvider` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MaskedTextProvider : System.ICloneable { public bool Add(System.Char input) => throw null; @@ -1053,7 +1075,7 @@ namespace System public bool VerifyString(string input, out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) => throw null; } - // Generated from `System.ComponentModel.MaskedTextResultHint` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.MaskedTextResultHint` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MaskedTextResultHint : int { AlphanumericCharacterExpected = -2, @@ -1073,7 +1095,7 @@ namespace System Unknown = 0, } - // Generated from `System.ComponentModel.MemberDescriptor` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.MemberDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MemberDescriptor { protected virtual System.Attribute[] AttributeArray { get => throw null; set => throw null; } @@ -1100,7 +1122,7 @@ namespace System protected virtual int NameHashCode { get => throw null; } } - // Generated from `System.ComponentModel.MultilineStringConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.MultilineStringConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MultilineStringConverter : System.ComponentModel.TypeConverter { public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) => throw null; @@ -1109,7 +1131,7 @@ namespace System public MultilineStringConverter() => throw null; } - // Generated from `System.ComponentModel.NestedContainer` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.NestedContainer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NestedContainer : System.ComponentModel.Container, System.ComponentModel.IContainer, System.ComponentModel.INestedContainer, System.IDisposable { protected override System.ComponentModel.ISite CreateSite(System.ComponentModel.IComponent component, string name) => throw null; @@ -1120,7 +1142,7 @@ namespace System protected virtual string OwnerName { get => throw null; } } - // Generated from `System.ComponentModel.NullableConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.NullableConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NullableConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -1141,7 +1163,7 @@ namespace System public System.ComponentModel.TypeConverter UnderlyingTypeConverter { get => throw null; } } - // Generated from `System.ComponentModel.PasswordPropertyTextAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.PasswordPropertyTextAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PasswordPropertyTextAttribute : System.Attribute { public static System.ComponentModel.PasswordPropertyTextAttribute Default; @@ -1155,7 +1177,7 @@ namespace System public static System.ComponentModel.PasswordPropertyTextAttribute Yes; } - // Generated from `System.ComponentModel.PropertyDescriptor` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.PropertyDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class PropertyDescriptor : System.ComponentModel.MemberDescriptor { public virtual void AddValueChanged(object component, System.EventHandler handler) => throw null; @@ -1190,7 +1212,7 @@ namespace System public virtual bool SupportsChangeEvents { get => throw null; } } - // Generated from `System.ComponentModel.PropertyDescriptorCollection` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.PropertyDescriptorCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PropertyDescriptorCollection : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Collections.IList { public int Add(System.ComponentModel.PropertyDescriptor value) => throw null; @@ -1241,7 +1263,7 @@ namespace System System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } } - // Generated from `System.ComponentModel.PropertyTabAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.PropertyTabAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PropertyTabAttribute : System.Attribute { public bool Equals(System.ComponentModel.PropertyTabAttribute other) => throw null; @@ -1259,7 +1281,7 @@ namespace System public System.ComponentModel.PropertyTabScope[] TabScopes { get => throw null; } } - // Generated from `System.ComponentModel.PropertyTabScope` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.PropertyTabScope` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PropertyTabScope : int { Component = 3, @@ -1268,7 +1290,7 @@ namespace System Static = 0, } - // Generated from `System.ComponentModel.ProvidePropertyAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ProvidePropertyAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProvidePropertyAttribute : System.Attribute { public override bool Equals(object obj) => throw null; @@ -1280,7 +1302,7 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.RecommendedAsConfigurableAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.RecommendedAsConfigurableAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RecommendedAsConfigurableAttribute : System.Attribute { public static System.ComponentModel.RecommendedAsConfigurableAttribute Default; @@ -1293,7 +1315,7 @@ namespace System public static System.ComponentModel.RecommendedAsConfigurableAttribute Yes; } - // Generated from `System.ComponentModel.ReferenceConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ReferenceConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReferenceConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -1306,7 +1328,7 @@ namespace System public ReferenceConverter(System.Type type) => throw null; } - // Generated from `System.ComponentModel.RefreshEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.RefreshEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RefreshEventArgs : System.EventArgs { public object ComponentChanged { get => throw null; } @@ -1315,10 +1337,10 @@ namespace System public System.Type TypeChanged { get => throw null; } } - // Generated from `System.ComponentModel.RefreshEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.RefreshEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void RefreshEventHandler(System.ComponentModel.RefreshEventArgs e); - // Generated from `System.ComponentModel.RunInstallerAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.RunInstallerAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RunInstallerAttribute : System.Attribute { public static System.ComponentModel.RunInstallerAttribute Default; @@ -1331,13 +1353,13 @@ namespace System public static System.ComponentModel.RunInstallerAttribute Yes; } - // Generated from `System.ComponentModel.SByteConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.SByteConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SByteConverter : System.ComponentModel.BaseNumberConverter { public SByteConverter() => throw null; } - // Generated from `System.ComponentModel.SettingsBindableAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.SettingsBindableAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SettingsBindableAttribute : System.Attribute { public bool Bindable { get => throw null; } @@ -1348,13 +1370,13 @@ namespace System public static System.ComponentModel.SettingsBindableAttribute Yes; } - // Generated from `System.ComponentModel.SingleConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.SingleConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SingleConverter : System.ComponentModel.BaseNumberConverter { public SingleConverter() => throw null; } - // Generated from `System.ComponentModel.StringConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.StringConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -1362,7 +1384,7 @@ namespace System public StringConverter() => throw null; } - // Generated from `System.ComponentModel.SyntaxCheck` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.SyntaxCheck` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class SyntaxCheck { public static bool CheckMachineName(string value) => throw null; @@ -1370,7 +1392,17 @@ namespace System public static bool CheckRootedPath(string value) => throw null; } - // Generated from `System.ComponentModel.TimeSpanConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.TimeOnlyConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class TimeOnlyConverter : System.ComponentModel.TypeConverter + { + public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; + public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) => throw null; + public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) => throw null; + public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) => throw null; + public TimeOnlyConverter() => throw null; + } + + // Generated from `System.ComponentModel.TimeSpanConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TimeSpanConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -1380,7 +1412,7 @@ namespace System public TimeSpanConverter() => throw null; } - // Generated from `System.ComponentModel.ToolboxItemAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ToolboxItemAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ToolboxItemAttribute : System.Attribute { public static System.ComponentModel.ToolboxItemAttribute Default; @@ -1395,7 +1427,7 @@ namespace System public string ToolboxItemTypeName { get => throw null; } } - // Generated from `System.ComponentModel.ToolboxItemFilterAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ToolboxItemFilterAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ToolboxItemFilterAttribute : System.Attribute { public override bool Equals(object obj) => throw null; @@ -1409,7 +1441,7 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.ToolboxItemFilterType` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.ToolboxItemFilterType` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ToolboxItemFilterType : int { Allow = 0, @@ -1418,10 +1450,10 @@ namespace System Require = 3, } - // Generated from `System.ComponentModel.TypeConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.TypeConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeConverter { - // Generated from `System.ComponentModel.TypeConverter+SimplePropertyDescriptor` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.TypeConverter+SimplePropertyDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` protected abstract class SimplePropertyDescriptor : System.ComponentModel.PropertyDescriptor { public override bool CanResetValue(object component) => throw null; @@ -1435,7 +1467,7 @@ namespace System } - // Generated from `System.ComponentModel.TypeConverter+StandardValuesCollection` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.TypeConverter+StandardValuesCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StandardValuesCollection : System.Collections.ICollection, System.Collections.IEnumerable { public void CopyTo(System.Array array, int index) => throw null; @@ -1489,7 +1521,7 @@ namespace System public TypeConverter() => throw null; } - // Generated from `System.ComponentModel.TypeDescriptionProvider` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.TypeDescriptionProvider` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TypeDescriptionProvider { public virtual object CreateInstance(System.IServiceProvider provider, System.Type objectType, System.Type[] argTypes, object[] args) => throw null; @@ -1509,7 +1541,7 @@ namespace System protected TypeDescriptionProvider(System.ComponentModel.TypeDescriptionProvider parent) => throw null; } - // Generated from `System.ComponentModel.TypeDescriptor` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.TypeDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeDescriptor { public static System.ComponentModel.TypeDescriptionProvider AddAttributes(System.Type type, params System.Attribute[] attributes) => throw null; @@ -1581,7 +1613,7 @@ namespace System public static void SortDescriptorArray(System.Collections.IList infos) => throw null; } - // Generated from `System.ComponentModel.TypeListConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.TypeListConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TypeListConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -1594,25 +1626,31 @@ namespace System protected TypeListConverter(System.Type[] types) => throw null; } - // Generated from `System.ComponentModel.UInt16Converter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.UInt128Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class UInt128Converter : System.ComponentModel.BaseNumberConverter + { + public UInt128Converter() => throw null; + } + + // Generated from `System.ComponentModel.UInt16Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UInt16Converter : System.ComponentModel.BaseNumberConverter { public UInt16Converter() => throw null; } - // Generated from `System.ComponentModel.UInt32Converter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.UInt32Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UInt32Converter : System.ComponentModel.BaseNumberConverter { public UInt32Converter() => throw null; } - // Generated from `System.ComponentModel.UInt64Converter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.UInt64Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UInt64Converter : System.ComponentModel.BaseNumberConverter { public UInt64Converter() => throw null; } - // Generated from `System.ComponentModel.VersionConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.VersionConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VersionConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -1623,7 +1661,7 @@ namespace System public VersionConverter() => throw null; } - // Generated from `System.ComponentModel.WarningException` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.WarningException` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WarningException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -1639,7 +1677,7 @@ namespace System namespace Design { - // Generated from `System.ComponentModel.Design.ActiveDesignerEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ActiveDesignerEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ActiveDesignerEventArgs : System.EventArgs { public ActiveDesignerEventArgs(System.ComponentModel.Design.IDesignerHost oldDesigner, System.ComponentModel.Design.IDesignerHost newDesigner) => throw null; @@ -1647,10 +1685,10 @@ namespace System public System.ComponentModel.Design.IDesignerHost OldDesigner { get => throw null; } } - // Generated from `System.ComponentModel.Design.ActiveDesignerEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ActiveDesignerEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ActiveDesignerEventHandler(object sender, System.ComponentModel.Design.ActiveDesignerEventArgs e); - // Generated from `System.ComponentModel.Design.CheckoutException` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.CheckoutException` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CheckoutException : System.Runtime.InteropServices.ExternalException { public static System.ComponentModel.Design.CheckoutException Canceled; @@ -1661,7 +1699,7 @@ namespace System public CheckoutException(string message, int errorCode) => throw null; } - // Generated from `System.ComponentModel.Design.CommandID` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.CommandID` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CommandID { public CommandID(System.Guid menuGroup, int commandID) => throw null; @@ -1672,7 +1710,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.ComponentModel.Design.ComponentChangedEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ComponentChangedEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentChangedEventArgs : System.EventArgs { public object Component { get => throw null; } @@ -1682,10 +1720,10 @@ namespace System public object OldValue { get => throw null; } } - // Generated from `System.ComponentModel.Design.ComponentChangedEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ComponentChangedEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ComponentChangedEventHandler(object sender, System.ComponentModel.Design.ComponentChangedEventArgs e); - // Generated from `System.ComponentModel.Design.ComponentChangingEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ComponentChangingEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentChangingEventArgs : System.EventArgs { public object Component { get => throw null; } @@ -1693,20 +1731,20 @@ namespace System public System.ComponentModel.MemberDescriptor Member { get => throw null; } } - // Generated from `System.ComponentModel.Design.ComponentChangingEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ComponentChangingEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ComponentChangingEventHandler(object sender, System.ComponentModel.Design.ComponentChangingEventArgs e); - // Generated from `System.ComponentModel.Design.ComponentEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ComponentEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentEventArgs : System.EventArgs { public virtual System.ComponentModel.IComponent Component { get => throw null; } public ComponentEventArgs(System.ComponentModel.IComponent component) => throw null; } - // Generated from `System.ComponentModel.Design.ComponentEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ComponentEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ComponentEventHandler(object sender, System.ComponentModel.Design.ComponentEventArgs e); - // Generated from `System.ComponentModel.Design.ComponentRenameEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ComponentRenameEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentRenameEventArgs : System.EventArgs { public object Component { get => throw null; } @@ -1715,10 +1753,10 @@ namespace System public virtual string OldName { get => throw null; } } - // Generated from `System.ComponentModel.Design.ComponentRenameEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ComponentRenameEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ComponentRenameEventHandler(object sender, System.ComponentModel.Design.ComponentRenameEventArgs e); - // Generated from `System.ComponentModel.Design.DesignerCollection` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.DesignerCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerCollection : System.Collections.ICollection, System.Collections.IEnumerable { void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; @@ -1733,20 +1771,20 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.ComponentModel.Design.DesignerEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.DesignerEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerEventArgs : System.EventArgs { public System.ComponentModel.Design.IDesignerHost Designer { get => throw null; } public DesignerEventArgs(System.ComponentModel.Design.IDesignerHost host) => throw null; } - // Generated from `System.ComponentModel.Design.DesignerEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.DesignerEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DesignerEventHandler(object sender, System.ComponentModel.Design.DesignerEventArgs e); - // Generated from `System.ComponentModel.Design.DesignerOptionService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.DesignerOptionService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DesignerOptionService : System.ComponentModel.Design.IDesignerOptionService { - // Generated from `System.ComponentModel.Design.DesignerOptionService+DesignerOptionCollection` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.DesignerOptionService+DesignerOptionCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerOptionCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { int System.Collections.IList.Add(object value) => throw null; @@ -1783,7 +1821,7 @@ namespace System protected virtual bool ShowDialog(System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection options, object optionObject) => throw null; } - // Generated from `System.ComponentModel.Design.DesignerTransaction` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.DesignerTransaction` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DesignerTransaction : System.IDisposable { public void Cancel() => throw null; @@ -1800,7 +1838,7 @@ namespace System // ERR: Stub generator didn't handle member: ~DesignerTransaction } - // Generated from `System.ComponentModel.Design.DesignerTransactionCloseEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.DesignerTransactionCloseEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerTransactionCloseEventArgs : System.EventArgs { public DesignerTransactionCloseEventArgs(bool commit) => throw null; @@ -1809,10 +1847,10 @@ namespace System public bool TransactionCommitted { get => throw null; } } - // Generated from `System.ComponentModel.Design.DesignerTransactionCloseEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.DesignerTransactionCloseEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DesignerTransactionCloseEventHandler(object sender, System.ComponentModel.Design.DesignerTransactionCloseEventArgs e); - // Generated from `System.ComponentModel.Design.DesignerVerb` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.DesignerVerb` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerVerb : System.ComponentModel.Design.MenuCommand { public string Description { get => throw null; set => throw null; } @@ -1822,7 +1860,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.ComponentModel.Design.DesignerVerbCollection` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.DesignerVerbCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerVerbCollection : System.Collections.CollectionBase { public int Add(System.ComponentModel.Design.DesignerVerb value) => throw null; @@ -1839,7 +1877,7 @@ namespace System public void Remove(System.ComponentModel.Design.DesignerVerb value) => throw null; } - // Generated from `System.ComponentModel.Design.DesigntimeLicenseContext` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.DesigntimeLicenseContext` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesigntimeLicenseContext : System.ComponentModel.LicenseContext { public DesigntimeLicenseContext() => throw null; @@ -1848,13 +1886,13 @@ namespace System public override System.ComponentModel.LicenseUsageMode UsageMode { get => throw null; } } - // Generated from `System.ComponentModel.Design.DesigntimeLicenseContextSerializer` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.DesigntimeLicenseContextSerializer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesigntimeLicenseContextSerializer { public static void Serialize(System.IO.Stream o, string cryptoKey, System.ComponentModel.Design.DesigntimeLicenseContext context) => throw null; } - // Generated from `System.ComponentModel.Design.HelpContextType` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.HelpContextType` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HelpContextType : int { Ambient = 0, @@ -1863,7 +1901,7 @@ namespace System Window = 1, } - // Generated from `System.ComponentModel.Design.HelpKeywordAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.HelpKeywordAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HelpKeywordAttribute : System.Attribute { public static System.ComponentModel.Design.HelpKeywordAttribute Default; @@ -1876,7 +1914,7 @@ namespace System public override bool IsDefaultAttribute() => throw null; } - // Generated from `System.ComponentModel.Design.HelpKeywordType` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.HelpKeywordType` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HelpKeywordType : int { F1Keyword = 0, @@ -1884,7 +1922,7 @@ namespace System GeneralKeyword = 1, } - // Generated from `System.ComponentModel.Design.IComponentChangeService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IComponentChangeService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComponentChangeService { event System.ComponentModel.Design.ComponentEventHandler ComponentAdded; @@ -1898,20 +1936,20 @@ namespace System void OnComponentChanging(object component, System.ComponentModel.MemberDescriptor member); } - // Generated from `System.ComponentModel.Design.IComponentDiscoveryService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IComponentDiscoveryService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComponentDiscoveryService { System.Collections.ICollection GetComponentTypes(System.ComponentModel.Design.IDesignerHost designerHost, System.Type baseType); } - // Generated from `System.ComponentModel.Design.IComponentInitializer` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IComponentInitializer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComponentInitializer { void InitializeExistingComponent(System.Collections.IDictionary defaultValues); void InitializeNewComponent(System.Collections.IDictionary defaultValues); } - // Generated from `System.ComponentModel.Design.IDesigner` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IDesigner` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesigner : System.IDisposable { System.ComponentModel.IComponent Component { get; } @@ -1920,7 +1958,7 @@ namespace System System.ComponentModel.Design.DesignerVerbCollection Verbs { get; } } - // Generated from `System.ComponentModel.Design.IDesignerEventService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IDesignerEventService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerEventService { System.ComponentModel.Design.IDesignerHost ActiveDesigner { get; } @@ -1931,7 +1969,7 @@ namespace System event System.EventHandler SelectionChanged; } - // Generated from `System.ComponentModel.Design.IDesignerFilter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IDesignerFilter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerFilter { void PostFilterAttributes(System.Collections.IDictionary attributes); @@ -1942,7 +1980,7 @@ namespace System void PreFilterProperties(System.Collections.IDictionary properties); } - // Generated from `System.ComponentModel.Design.IDesignerHost` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IDesignerHost` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerHost : System.ComponentModel.Design.IServiceContainer, System.IServiceProvider { void Activate(); @@ -1968,20 +2006,20 @@ namespace System event System.EventHandler TransactionOpening; } - // Generated from `System.ComponentModel.Design.IDesignerHostTransactionState` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IDesignerHostTransactionState` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerHostTransactionState { bool IsClosingTransaction { get; } } - // Generated from `System.ComponentModel.Design.IDesignerOptionService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IDesignerOptionService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerOptionService { object GetOptionValue(string pageName, string valueName); void SetOptionValue(string pageName, string valueName, object value); } - // Generated from `System.ComponentModel.Design.IDictionaryService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IDictionaryService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDictionaryService { object GetKey(object value); @@ -1989,7 +2027,7 @@ namespace System void SetValue(object key, object value); } - // Generated from `System.ComponentModel.Design.IEventBindingService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IEventBindingService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEventBindingService { string CreateUniqueMethodName(System.ComponentModel.IComponent component, System.ComponentModel.EventDescriptor e); @@ -2002,20 +2040,20 @@ namespace System bool ShowCode(int lineNumber); } - // Generated from `System.ComponentModel.Design.IExtenderListService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IExtenderListService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IExtenderListService { System.ComponentModel.IExtenderProvider[] GetExtenderProviders(); } - // Generated from `System.ComponentModel.Design.IExtenderProviderService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IExtenderProviderService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IExtenderProviderService { void AddExtenderProvider(System.ComponentModel.IExtenderProvider provider); void RemoveExtenderProvider(System.ComponentModel.IExtenderProvider provider); } - // Generated from `System.ComponentModel.Design.IHelpService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IHelpService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IHelpService { void AddContextAttribute(string name, string value, System.ComponentModel.Design.HelpKeywordType keywordType); @@ -2027,14 +2065,14 @@ namespace System void ShowHelpFromUrl(string helpUrl); } - // Generated from `System.ComponentModel.Design.IInheritanceService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IInheritanceService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IInheritanceService { void AddInheritedComponents(System.ComponentModel.IComponent component, System.ComponentModel.IContainer container); System.ComponentModel.InheritanceAttribute GetInheritanceAttribute(System.ComponentModel.IComponent component); } - // Generated from `System.ComponentModel.Design.IMenuCommandService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IMenuCommandService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IMenuCommandService { void AddCommand(System.ComponentModel.Design.MenuCommand command); @@ -2047,7 +2085,7 @@ namespace System System.ComponentModel.Design.DesignerVerbCollection Verbs { get; } } - // Generated from `System.ComponentModel.Design.IReferenceService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IReferenceService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReferenceService { System.ComponentModel.IComponent GetComponent(object reference); @@ -2057,21 +2095,21 @@ namespace System object[] GetReferences(System.Type baseType); } - // Generated from `System.ComponentModel.Design.IResourceService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IResourceService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IResourceService { System.Resources.IResourceReader GetResourceReader(System.Globalization.CultureInfo info); System.Resources.IResourceWriter GetResourceWriter(System.Globalization.CultureInfo info); } - // Generated from `System.ComponentModel.Design.IRootDesigner` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IRootDesigner` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IRootDesigner : System.ComponentModel.Design.IDesigner, System.IDisposable { object GetView(System.ComponentModel.Design.ViewTechnology technology); System.ComponentModel.Design.ViewTechnology[] SupportedTechnologies { get; } } - // Generated from `System.ComponentModel.Design.ISelectionService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ISelectionService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISelectionService { bool GetComponentSelected(object component); @@ -2084,7 +2122,7 @@ namespace System void SetSelectedComponents(System.Collections.ICollection components, System.ComponentModel.Design.SelectionTypes selectionType); } - // Generated from `System.ComponentModel.Design.IServiceContainer` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.IServiceContainer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IServiceContainer : System.IServiceProvider { void AddService(System.Type serviceType, System.ComponentModel.Design.ServiceCreatorCallback callback); @@ -2095,14 +2133,14 @@ namespace System void RemoveService(System.Type serviceType, bool promote); } - // Generated from `System.ComponentModel.Design.ITreeDesigner` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ITreeDesigner` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITreeDesigner : System.ComponentModel.Design.IDesigner, System.IDisposable { System.Collections.ICollection Children { get; } System.ComponentModel.Design.IDesigner Parent { get; } } - // Generated from `System.ComponentModel.Design.ITypeDescriptorFilterService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ITypeDescriptorFilterService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeDescriptorFilterService { bool FilterAttributes(System.ComponentModel.IComponent component, System.Collections.IDictionary attributes); @@ -2110,13 +2148,13 @@ namespace System bool FilterProperties(System.ComponentModel.IComponent component, System.Collections.IDictionary properties); } - // Generated from `System.ComponentModel.Design.ITypeDiscoveryService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ITypeDiscoveryService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeDiscoveryService { System.Collections.ICollection GetTypes(System.Type baseType, bool excludeGlobalTypes); } - // Generated from `System.ComponentModel.Design.ITypeResolutionService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ITypeResolutionService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeResolutionService { System.Reflection.Assembly GetAssembly(System.Reflection.AssemblyName name); @@ -2128,7 +2166,7 @@ namespace System void ReferenceAssembly(System.Reflection.AssemblyName name); } - // Generated from `System.ComponentModel.Design.MenuCommand` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.MenuCommand` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MenuCommand { public virtual bool Checked { get => throw null; set => throw null; } @@ -2146,7 +2184,7 @@ namespace System public virtual bool Visible { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.Design.SelectionTypes` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.SelectionTypes` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SelectionTypes : int { @@ -2163,7 +2201,7 @@ namespace System Valid = 31, } - // Generated from `System.ComponentModel.Design.ServiceContainer` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ServiceContainer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ServiceContainer : System.ComponentModel.Design.IServiceContainer, System.IDisposable, System.IServiceProvider { public void AddService(System.Type serviceType, System.ComponentModel.Design.ServiceCreatorCallback callback) => throw null; @@ -2180,10 +2218,10 @@ namespace System public ServiceContainer(System.IServiceProvider parentProvider) => throw null; } - // Generated from `System.ComponentModel.Design.ServiceCreatorCallback` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ServiceCreatorCallback` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate object ServiceCreatorCallback(System.ComponentModel.Design.IServiceContainer container, System.Type serviceType); - // Generated from `System.ComponentModel.Design.StandardCommands` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.StandardCommands` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StandardCommands { public static System.ComponentModel.Design.CommandID AlignBottom; @@ -2244,7 +2282,7 @@ namespace System public static System.ComponentModel.Design.CommandID ViewGrid; } - // Generated from `System.ComponentModel.Design.StandardToolWindows` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.StandardToolWindows` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StandardToolWindows { public static System.Guid ObjectBrowser; @@ -2258,7 +2296,7 @@ namespace System public static System.Guid Toolbox; } - // Generated from `System.ComponentModel.Design.TypeDescriptionProviderService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.TypeDescriptionProviderService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TypeDescriptionProviderService { public abstract System.ComponentModel.TypeDescriptionProvider GetProvider(System.Type type); @@ -2266,7 +2304,7 @@ namespace System protected TypeDescriptionProviderService() => throw null; } - // Generated from `System.ComponentModel.Design.ViewTechnology` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.ViewTechnology` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ViewTechnology : int { Default = 2, @@ -2276,7 +2314,7 @@ namespace System namespace Serialization { - // Generated from `System.ComponentModel.Design.Serialization.ComponentSerializationService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.ComponentSerializationService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ComponentSerializationService { protected ComponentSerializationService() => throw null; @@ -2293,7 +2331,7 @@ namespace System public abstract void SerializeMemberAbsolute(System.ComponentModel.Design.Serialization.SerializationStore store, object owningObject, System.ComponentModel.MemberDescriptor member); } - // Generated from `System.ComponentModel.Design.Serialization.ContextStack` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.ContextStack` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContextStack { public void Append(object context) => throw null; @@ -2305,7 +2343,7 @@ namespace System public void Push(object context) => throw null; } - // Generated from `System.ComponentModel.Design.Serialization.DefaultSerializationProviderAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.DefaultSerializationProviderAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultSerializationProviderAttribute : System.Attribute { public DefaultSerializationProviderAttribute(System.Type providerType) => throw null; @@ -2313,7 +2351,7 @@ namespace System public string ProviderTypeName { get => throw null; } } - // Generated from `System.ComponentModel.Design.Serialization.DesignerLoader` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.DesignerLoader` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DesignerLoader { public abstract void BeginLoad(System.ComponentModel.Design.Serialization.IDesignerLoaderHost host); @@ -2323,21 +2361,21 @@ namespace System public virtual bool Loading { get => throw null; } } - // Generated from `System.ComponentModel.Design.Serialization.IDesignerLoaderHost` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.IDesignerLoaderHost` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerLoaderHost : System.ComponentModel.Design.IDesignerHost, System.ComponentModel.Design.IServiceContainer, System.IServiceProvider { void EndLoad(string baseClassName, bool successful, System.Collections.ICollection errorCollection); void Reload(); } - // Generated from `System.ComponentModel.Design.Serialization.IDesignerLoaderHost2` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.IDesignerLoaderHost2` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerLoaderHost2 : System.ComponentModel.Design.IDesignerHost, System.ComponentModel.Design.IServiceContainer, System.ComponentModel.Design.Serialization.IDesignerLoaderHost, System.IServiceProvider { bool CanReloadWithErrors { get; set; } bool IgnoreErrorsDuringReload { get; set; } } - // Generated from `System.ComponentModel.Design.Serialization.IDesignerLoaderService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.IDesignerLoaderService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerLoaderService { void AddLoadDependency(); @@ -2345,7 +2383,7 @@ namespace System bool Reload(); } - // Generated from `System.ComponentModel.Design.Serialization.IDesignerSerializationManager` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.IDesignerSerializationManager` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerSerializationManager : System.IServiceProvider { void AddSerializationProvider(System.ComponentModel.Design.Serialization.IDesignerSerializationProvider provider); @@ -2363,20 +2401,20 @@ namespace System void SetName(object instance, string name); } - // Generated from `System.ComponentModel.Design.Serialization.IDesignerSerializationProvider` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.IDesignerSerializationProvider` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerSerializationProvider { object GetSerializer(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object currentSerializer, System.Type objectType, System.Type serializerType); } - // Generated from `System.ComponentModel.Design.Serialization.IDesignerSerializationService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.IDesignerSerializationService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerSerializationService { System.Collections.ICollection Deserialize(object serializationData); object Serialize(System.Collections.ICollection objects); } - // Generated from `System.ComponentModel.Design.Serialization.INameCreationService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.INameCreationService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INameCreationService { string CreateName(System.ComponentModel.IContainer container, System.Type dataType); @@ -2384,7 +2422,7 @@ namespace System void ValidateName(string name); } - // Generated from `System.ComponentModel.Design.Serialization.InstanceDescriptor` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.InstanceDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InstanceDescriptor { public System.Collections.ICollection Arguments { get => throw null; } @@ -2395,12 +2433,13 @@ namespace System public System.Reflection.MemberInfo MemberInfo { get => throw null; } } - // Generated from `System.ComponentModel.Design.Serialization.MemberRelationship` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct MemberRelationship + // Generated from `System.ComponentModel.Design.Serialization.MemberRelationship` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct MemberRelationship : System.IEquatable { public static bool operator !=(System.ComponentModel.Design.Serialization.MemberRelationship left, System.ComponentModel.Design.Serialization.MemberRelationship right) => throw null; public static bool operator ==(System.ComponentModel.Design.Serialization.MemberRelationship left, System.ComponentModel.Design.Serialization.MemberRelationship right) => throw null; public static System.ComponentModel.Design.Serialization.MemberRelationship Empty; + public bool Equals(System.ComponentModel.Design.Serialization.MemberRelationship other) => throw null; public override bool Equals(object obj) => throw null; public override int GetHashCode() => throw null; public bool IsEmpty { get => throw null; } @@ -2410,7 +2449,7 @@ namespace System public object Owner { get => throw null; } } - // Generated from `System.ComponentModel.Design.Serialization.MemberRelationshipService` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.MemberRelationshipService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MemberRelationshipService { protected virtual System.ComponentModel.Design.Serialization.MemberRelationship GetRelationship(System.ComponentModel.Design.Serialization.MemberRelationship source) => throw null; @@ -2421,7 +2460,7 @@ namespace System public abstract bool SupportsRelationship(System.ComponentModel.Design.Serialization.MemberRelationship source, System.ComponentModel.Design.Serialization.MemberRelationship relationship); } - // Generated from `System.ComponentModel.Design.Serialization.ResolveNameEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.ResolveNameEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResolveNameEventArgs : System.EventArgs { public string Name { get => throw null; } @@ -2429,10 +2468,10 @@ namespace System public object Value { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.Design.Serialization.ResolveNameEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.ResolveNameEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ResolveNameEventHandler(object sender, System.ComponentModel.Design.Serialization.ResolveNameEventArgs e); - // Generated from `System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RootDesignerSerializerAttribute : System.Attribute { public bool Reloadable { get => throw null; } @@ -2444,7 +2483,7 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.Design.Serialization.SerializationStore` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.Design.Serialization.SerializationStore` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SerializationStore : System.IDisposable { public abstract void Close(); @@ -2460,7 +2499,7 @@ namespace System } namespace Drawing { - // Generated from `System.Drawing.ColorConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.ColorConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ColorConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -2472,7 +2511,7 @@ namespace System public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext context) => throw null; } - // Generated from `System.Drawing.PointConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.PointConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PointConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -2486,7 +2525,7 @@ namespace System public PointConverter() => throw null; } - // Generated from `System.Drawing.RectangleConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.RectangleConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RectangleConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -2500,7 +2539,7 @@ namespace System public RectangleConverter() => throw null; } - // Generated from `System.Drawing.SizeConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.SizeConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SizeConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -2514,7 +2553,7 @@ namespace System public SizeConverter() => throw null; } - // Generated from `System.Drawing.SizeFConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.SizeFConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SizeFConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -2535,7 +2574,7 @@ namespace System { namespace ExtendedProtection { - // Generated from `System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicyTypeConverter` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicyTypeConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExtendedProtectionPolicyTypeConverter : System.ComponentModel.TypeConverter { public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) => throw null; @@ -2548,16 +2587,16 @@ namespace System } namespace Timers { - // Generated from `System.Timers.ElapsedEventArgs` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Timers.ElapsedEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ElapsedEventArgs : System.EventArgs { public System.DateTime SignalTime { get => throw null; } } - // Generated from `System.Timers.ElapsedEventHandler` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Timers.ElapsedEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ElapsedEventHandler(object sender, System.Timers.ElapsedEventArgs e); - // Generated from `System.Timers.Timer` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Timers.Timer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Timer : System.ComponentModel.Component, System.ComponentModel.ISupportInitialize { public bool AutoReset { get => throw null; set => throw null; } @@ -2573,10 +2612,11 @@ namespace System public void Stop() => throw null; public System.ComponentModel.ISynchronizeInvoke SynchronizingObject { get => throw null; set => throw null; } public Timer() => throw null; + public Timer(System.TimeSpan interval) => throw null; public Timer(double interval) => throw null; } - // Generated from `System.Timers.TimersDescriptionAttribute` in `System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Timers.TimersDescriptionAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TimersDescriptionAttribute : System.ComponentModel.DescriptionAttribute { public override string Description { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.cs index 39e22fba8d0..efddff58477 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.cs @@ -2,7 +2,7 @@ namespace System { - // Generated from `System.IServiceProvider` in `System.ComponentModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IServiceProvider` in `System.ComponentModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IServiceProvider { object GetService(System.Type serviceType); @@ -10,7 +10,7 @@ namespace System namespace ComponentModel { - // Generated from `System.ComponentModel.CancelEventArgs` in `System.ComponentModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.CancelEventArgs` in `System.ComponentModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CancelEventArgs : System.EventArgs { public bool Cancel { get => throw null; set => throw null; } @@ -18,14 +18,14 @@ namespace System public CancelEventArgs(bool cancel) => throw null; } - // Generated from `System.ComponentModel.IChangeTracking` in `System.ComponentModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.IChangeTracking` in `System.ComponentModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IChangeTracking { void AcceptChanges(); bool IsChanged { get; } } - // Generated from `System.ComponentModel.IEditableObject` in `System.ComponentModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.IEditableObject` in `System.ComponentModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEditableObject { void BeginEdit(); @@ -33,7 +33,7 @@ namespace System void EndEdit(); } - // Generated from `System.ComponentModel.IRevertibleChangeTracking` in `System.ComponentModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.IRevertibleChangeTracking` in `System.ComponentModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IRevertibleChangeTracking : System.ComponentModel.IChangeTracking { void RejectChanges(); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Console.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Console.cs index 08eedc69809..280fb9734bb 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Console.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Console.cs @@ -2,7 +2,7 @@ namespace System { - // Generated from `System.Console` in `System.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Console` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Console { public static System.ConsoleColor BackgroundColor { get => throw null; set => throw null; } @@ -94,17 +94,17 @@ namespace System public static void WriteLine(System.UInt64 value) => throw null; } - // Generated from `System.ConsoleCancelEventArgs` in `System.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ConsoleCancelEventArgs` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConsoleCancelEventArgs : System.EventArgs { public bool Cancel { get => throw null; set => throw null; } public System.ConsoleSpecialKey SpecialKey { get => throw null; } } - // Generated from `System.ConsoleCancelEventHandler` in `System.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ConsoleCancelEventHandler` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ConsoleCancelEventHandler(object sender, System.ConsoleCancelEventArgs e); - // Generated from `System.ConsoleColor` in `System.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ConsoleColor` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ConsoleColor : int { Black = 0, @@ -125,7 +125,7 @@ namespace System Yellow = 14, } - // Generated from `System.ConsoleKey` in `System.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ConsoleKey` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ConsoleKey : int { A = 65, @@ -274,7 +274,7 @@ namespace System Zoom = 251, } - // Generated from `System.ConsoleKeyInfo` in `System.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ConsoleKeyInfo` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConsoleKeyInfo : System.IEquatable { public static bool operator !=(System.ConsoleKeyInfo a, System.ConsoleKeyInfo b) => throw null; @@ -289,7 +289,7 @@ namespace System public System.ConsoleModifiers Modifiers { get => throw null; } } - // Generated from `System.ConsoleModifiers` in `System.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ConsoleModifiers` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ConsoleModifiers : int { @@ -298,7 +298,7 @@ namespace System Shift = 2, } - // Generated from `System.ConsoleSpecialKey` in `System.Console, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ConsoleSpecialKey` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ConsoleSpecialKey : int { ControlBreak = 1, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Data.Common.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Data.Common.cs index 077da794bc0..0e850b9fbeb 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Data.Common.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Data.Common.cs @@ -4,14 +4,14 @@ namespace System { namespace Data { - // Generated from `System.Data.AcceptRejectRule` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.AcceptRejectRule` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AcceptRejectRule : int { Cascade = 1, None = 0, } - // Generated from `System.Data.CommandBehavior` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.CommandBehavior` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CommandBehavior : int { @@ -24,7 +24,7 @@ namespace System SingleRow = 8, } - // Generated from `System.Data.CommandType` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.CommandType` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CommandType : int { StoredProcedure = 4, @@ -32,7 +32,7 @@ namespace System Text = 1, } - // Generated from `System.Data.ConflictOption` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.ConflictOption` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ConflictOption : int { CompareAllSearchableValues = 1, @@ -40,7 +40,7 @@ namespace System OverwriteChanges = 3, } - // Generated from `System.Data.ConnectionState` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.ConnectionState` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ConnectionState : int { @@ -52,7 +52,7 @@ namespace System Open = 1, } - // Generated from `System.Data.Constraint` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Constraint` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Constraint { protected void CheckStateForProperty() => throw null; @@ -65,7 +65,7 @@ namespace System protected virtual System.Data.DataSet _DataSet { get => throw null; } } - // Generated from `System.Data.ConstraintCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.ConstraintCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConstraintCollection : System.Data.InternalDataCollectionBase { public void Add(System.Data.Constraint constraint) => throw null; @@ -89,7 +89,7 @@ namespace System public void RemoveAt(int index) => throw null; } - // Generated from `System.Data.ConstraintException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.ConstraintException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConstraintException : System.Data.DataException { public ConstraintException() => throw null; @@ -98,7 +98,7 @@ namespace System public ConstraintException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.DBConcurrencyException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DBConcurrencyException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DBConcurrencyException : System.SystemException { public void CopyToRows(System.Data.DataRow[] array) => throw null; @@ -112,7 +112,7 @@ namespace System public int RowCount { get => throw null; } } - // Generated from `System.Data.DataColumn` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataColumn` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataColumn : System.ComponentModel.MarshalByValueComponent { public bool AllowDBNull { get => throw null; set => throw null; } @@ -147,7 +147,7 @@ namespace System public bool Unique { get => throw null; set => throw null; } } - // Generated from `System.Data.DataColumnChangeEventArgs` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataColumnChangeEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataColumnChangeEventArgs : System.EventArgs { public System.Data.DataColumn Column { get => throw null; } @@ -156,10 +156,10 @@ namespace System public System.Data.DataRow Row { get => throw null; } } - // Generated from `System.Data.DataColumnChangeEventHandler` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataColumnChangeEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DataColumnChangeEventHandler(object sender, System.Data.DataColumnChangeEventArgs e); - // Generated from `System.Data.DataColumnCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataColumnCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataColumnCollection : System.Data.InternalDataCollectionBase { public System.Data.DataColumn Add() => throw null; @@ -183,7 +183,7 @@ namespace System public void RemoveAt(int index) => throw null; } - // Generated from `System.Data.DataException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataException : System.SystemException { public DataException() => throw null; @@ -192,7 +192,7 @@ namespace System public DataException(string s, System.Exception innerException) => throw null; } - // Generated from `System.Data.DataReaderExtensions` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataReaderExtensions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DataReaderExtensions { public static bool GetBoolean(this System.Data.Common.DbDataReader reader, string name) => throw null; @@ -223,7 +223,7 @@ namespace System public static System.Threading.Tasks.Task IsDBNullAsync(this System.Data.Common.DbDataReader reader, string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.Data.DataRelation` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRelation` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRelation { protected void CheckStateForProperty() => throw null; @@ -248,7 +248,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Data.DataRelationCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRelationCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DataRelationCollection : System.Data.InternalDataCollectionBase { public virtual System.Data.DataRelation Add(System.Data.DataColumn parentColumn, System.Data.DataColumn childColumn) => throw null; @@ -279,7 +279,7 @@ namespace System protected virtual void RemoveCore(System.Data.DataRelation relation) => throw null; } - // Generated from `System.Data.DataRow` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRow` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRow { public void AcceptChanges() => throw null; @@ -332,7 +332,7 @@ namespace System public System.Data.DataTable Table { get => throw null; } } - // Generated from `System.Data.DataRowAction` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRowAction` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DataRowAction : int { @@ -346,12 +346,12 @@ namespace System Rollback = 4, } - // Generated from `System.Data.DataRowBuilder` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRowBuilder` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRowBuilder { } - // Generated from `System.Data.DataRowChangeEventArgs` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRowChangeEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRowChangeEventArgs : System.EventArgs { public System.Data.DataRowAction Action { get => throw null; } @@ -359,10 +359,10 @@ namespace System public System.Data.DataRow Row { get => throw null; } } - // Generated from `System.Data.DataRowChangeEventHandler` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRowChangeEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DataRowChangeEventHandler(object sender, System.Data.DataRowChangeEventArgs e); - // Generated from `System.Data.DataRowCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRowCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRowCollection : System.Data.InternalDataCollectionBase { public void Add(System.Data.DataRow row) => throw null; @@ -383,13 +383,13 @@ namespace System public void RemoveAt(int index) => throw null; } - // Generated from `System.Data.DataRowComparer` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRowComparer` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DataRowComparer { public static System.Data.DataRowComparer Default { get => throw null; } } - // Generated from `System.Data.DataRowComparer<>` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRowComparer<>` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRowComparer : System.Collections.Generic.IEqualityComparer where TRow : System.Data.DataRow { public static System.Data.DataRowComparer Default { get => throw null; } @@ -397,7 +397,7 @@ namespace System public int GetHashCode(TRow row) => throw null; } - // Generated from `System.Data.DataRowExtensions` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRowExtensions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DataRowExtensions { public static T Field(this System.Data.DataRow row, System.Data.DataColumn column) => throw null; @@ -411,7 +411,7 @@ namespace System public static void SetField(this System.Data.DataRow row, string columnName, T value) => throw null; } - // Generated from `System.Data.DataRowState` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRowState` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DataRowState : int { @@ -422,7 +422,7 @@ namespace System Unchanged = 2, } - // Generated from `System.Data.DataRowVersion` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRowVersion` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DataRowVersion : int { Current = 512, @@ -431,7 +431,7 @@ namespace System Proposed = 1024, } - // Generated from `System.Data.DataRowView` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataRowView` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRowView : System.ComponentModel.ICustomTypeDescriptor, System.ComponentModel.IDataErrorInfo, System.ComponentModel.IEditableObject, System.ComponentModel.INotifyPropertyChanged { public void BeginEdit() => throw null; @@ -468,7 +468,7 @@ namespace System public System.Data.DataRowVersion RowVersion { get => throw null; } } - // Generated from `System.Data.DataSet` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataSet` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataSet : System.ComponentModel.MarshalByValueComponent, System.ComponentModel.IListSource, System.ComponentModel.ISupportInitialize, System.ComponentModel.ISupportInitializeNotification, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable { public void AcceptChanges() => throw null; @@ -572,7 +572,7 @@ namespace System public void WriteXmlSchema(string fileName, System.Converter multipleTargetConverter) => throw null; } - // Generated from `System.Data.DataSetDateTime` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataSetDateTime` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DataSetDateTime : int { Local = 1, @@ -581,14 +581,14 @@ namespace System Utc = 4, } - // Generated from `System.Data.DataSysDescriptionAttribute` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataSysDescriptionAttribute` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataSysDescriptionAttribute : System.ComponentModel.DescriptionAttribute { public DataSysDescriptionAttribute(string description) => throw null; public override string Description { get => throw null; } } - // Generated from `System.Data.DataTable` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataTable` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTable : System.ComponentModel.MarshalByValueComponent, System.ComponentModel.IListSource, System.ComponentModel.ISupportInitialize, System.ComponentModel.ISupportInitializeNotification, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable { public void AcceptChanges() => throw null; @@ -714,7 +714,7 @@ namespace System protected internal bool fInitInProgress; } - // Generated from `System.Data.DataTableClearEventArgs` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataTableClearEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTableClearEventArgs : System.EventArgs { public DataTableClearEventArgs(System.Data.DataTable dataTable) => throw null; @@ -723,10 +723,10 @@ namespace System public string TableNamespace { get => throw null; } } - // Generated from `System.Data.DataTableClearEventHandler` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataTableClearEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DataTableClearEventHandler(object sender, System.Data.DataTableClearEventArgs e); - // Generated from `System.Data.DataTableCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataTableCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTableCollection : System.Data.InternalDataCollectionBase { public System.Data.DataTable Add() => throw null; @@ -754,7 +754,7 @@ namespace System public void RemoveAt(int index) => throw null; } - // Generated from `System.Data.DataTableExtensions` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataTableExtensions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DataTableExtensions { public static System.Data.DataView AsDataView(this System.Data.DataTable table) => throw null; @@ -765,17 +765,17 @@ namespace System public static void CopyToDataTable(this System.Collections.Generic.IEnumerable source, System.Data.DataTable table, System.Data.LoadOption options, System.Data.FillErrorEventHandler errorHandler) where T : System.Data.DataRow => throw null; } - // Generated from `System.Data.DataTableNewRowEventArgs` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataTableNewRowEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTableNewRowEventArgs : System.EventArgs { public DataTableNewRowEventArgs(System.Data.DataRow dataRow) => throw null; public System.Data.DataRow Row { get => throw null; } } - // Generated from `System.Data.DataTableNewRowEventHandler` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataTableNewRowEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DataTableNewRowEventHandler(object sender, System.Data.DataTableNewRowEventArgs e); - // Generated from `System.Data.DataTableReader` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataTableReader` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTableReader : System.Data.Common.DbDataReader { public override void Close() => throw null; @@ -818,7 +818,7 @@ namespace System public override int RecordsAffected { get => throw null; } } - // Generated from `System.Data.DataView` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataView` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataView : System.ComponentModel.MarshalByValueComponent, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.IBindingListView, System.ComponentModel.ISupportInitialize, System.ComponentModel.ISupportInitializeNotification, System.ComponentModel.ITypedList { int System.Collections.IList.Add(object value) => throw null; @@ -900,7 +900,7 @@ namespace System protected virtual void UpdateIndex(bool force) => throw null; } - // Generated from `System.Data.DataViewManager` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataViewManager` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataViewManager : System.ComponentModel.MarshalByValueComponent, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.ITypedList { int System.Collections.IList.Add(object value) => throw null; @@ -947,7 +947,7 @@ namespace System protected virtual void TableCollectionChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) => throw null; } - // Generated from `System.Data.DataViewRowState` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataViewRowState` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DataViewRowState : int { @@ -961,7 +961,7 @@ namespace System Unchanged = 2, } - // Generated from `System.Data.DataViewSetting` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataViewSetting` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataViewSetting { public bool ApplyDefaultSort { get => throw null; set => throw null; } @@ -972,7 +972,7 @@ namespace System public System.Data.DataTable Table { get => throw null; } } - // Generated from `System.Data.DataViewSettingCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DataViewSettingCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataViewSettingCollection : System.Collections.ICollection, System.Collections.IEnumerable { public void CopyTo(System.Array ar, int index) => throw null; @@ -987,7 +987,7 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Data.DbType` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DbType` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DbType : int { AnsiString = 0, @@ -1019,7 +1019,7 @@ namespace System Xml = 25, } - // Generated from `System.Data.DeletedRowInaccessibleException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DeletedRowInaccessibleException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DeletedRowInaccessibleException : System.Data.DataException { public DeletedRowInaccessibleException() => throw null; @@ -1028,7 +1028,7 @@ namespace System public DeletedRowInaccessibleException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.DuplicateNameException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.DuplicateNameException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DuplicateNameException : System.Data.DataException { public DuplicateNameException() => throw null; @@ -1037,14 +1037,14 @@ namespace System public DuplicateNameException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.EnumerableRowCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.EnumerableRowCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EnumerableRowCollection : System.Collections.IEnumerable { internal EnumerableRowCollection() => throw null; System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Data.EnumerableRowCollection<>` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.EnumerableRowCollection<>` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumerableRowCollection : System.Data.EnumerableRowCollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { internal EnumerableRowCollection() => throw null; @@ -1052,7 +1052,7 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Data.EnumerableRowCollectionExtensions` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.EnumerableRowCollectionExtensions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class EnumerableRowCollectionExtensions { public static System.Data.EnumerableRowCollection Cast(this System.Data.EnumerableRowCollection source) => throw null; @@ -1068,7 +1068,7 @@ namespace System public static System.Data.EnumerableRowCollection Where(this System.Data.EnumerableRowCollection source, System.Func predicate) => throw null; } - // Generated from `System.Data.EvaluateException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.EvaluateException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EvaluateException : System.Data.InvalidExpressionException { public EvaluateException() => throw null; @@ -1077,7 +1077,7 @@ namespace System public EvaluateException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.FillErrorEventArgs` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.FillErrorEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FillErrorEventArgs : System.EventArgs { public bool Continue { get => throw null; set => throw null; } @@ -1087,10 +1087,10 @@ namespace System public object[] Values { get => throw null; } } - // Generated from `System.Data.FillErrorEventHandler` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.FillErrorEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void FillErrorEventHandler(object sender, System.Data.FillErrorEventArgs e); - // Generated from `System.Data.ForeignKeyConstraint` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.ForeignKeyConstraint` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ForeignKeyConstraint : System.Data.Constraint { public virtual System.Data.AcceptRejectRule AcceptRejectRule { get => throw null; set => throw null; } @@ -1110,14 +1110,14 @@ namespace System public virtual System.Data.Rule UpdateRule { get => throw null; set => throw null; } } - // Generated from `System.Data.IColumnMapping` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.IColumnMapping` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IColumnMapping { string DataSetColumn { get; set; } string SourceColumn { get; set; } } - // Generated from `System.Data.IColumnMappingCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.IColumnMappingCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IColumnMappingCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { System.Data.IColumnMapping Add(string sourceColumnName, string dataSetColumnName); @@ -1128,7 +1128,7 @@ namespace System void RemoveAt(string sourceColumnName); } - // Generated from `System.Data.IDataAdapter` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.IDataAdapter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataAdapter { int Fill(System.Data.DataSet dataSet); @@ -1140,7 +1140,7 @@ namespace System int Update(System.Data.DataSet dataSet); } - // Generated from `System.Data.IDataParameter` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.IDataParameter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataParameter { System.Data.DbType DbType { get; set; } @@ -1152,7 +1152,7 @@ namespace System object Value { get; set; } } - // Generated from `System.Data.IDataParameterCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.IDataParameterCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataParameterCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { bool Contains(string parameterName); @@ -1161,7 +1161,7 @@ namespace System void RemoveAt(string parameterName); } - // Generated from `System.Data.IDataReader` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.IDataReader` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataReader : System.Data.IDataRecord, System.IDisposable { void Close(); @@ -1173,7 +1173,7 @@ namespace System int RecordsAffected { get; } } - // Generated from `System.Data.IDataRecord` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.IDataRecord` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataRecord { int FieldCount { get; } @@ -1203,7 +1203,7 @@ namespace System object this[string name] { get; } } - // Generated from `System.Data.IDbCommand` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.IDbCommand` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDbCommand : System.IDisposable { void Cancel(); @@ -1222,7 +1222,7 @@ namespace System System.Data.UpdateRowSource UpdatedRowSource { get; set; } } - // Generated from `System.Data.IDbConnection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.IDbConnection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDbConnection : System.IDisposable { System.Data.IDbTransaction BeginTransaction(); @@ -1237,7 +1237,7 @@ namespace System System.Data.ConnectionState State { get; } } - // Generated from `System.Data.IDbDataAdapter` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.IDbDataAdapter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDbDataAdapter : System.Data.IDataAdapter { System.Data.IDbCommand DeleteCommand { get; set; } @@ -1246,7 +1246,7 @@ namespace System System.Data.IDbCommand UpdateCommand { get; set; } } - // Generated from `System.Data.IDbDataParameter` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.IDbDataParameter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDbDataParameter : System.Data.IDataParameter { System.Byte Precision { get; set; } @@ -1254,7 +1254,7 @@ namespace System int Size { get; set; } } - // Generated from `System.Data.IDbTransaction` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.IDbTransaction` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDbTransaction : System.IDisposable { void Commit(); @@ -1263,7 +1263,7 @@ namespace System void Rollback(); } - // Generated from `System.Data.ITableMapping` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.ITableMapping` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITableMapping { System.Data.IColumnMappingCollection ColumnMappings { get; } @@ -1271,7 +1271,7 @@ namespace System string SourceTable { get; set; } } - // Generated from `System.Data.ITableMappingCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.ITableMappingCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITableMappingCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { System.Data.ITableMapping Add(string sourceTableName, string dataSetTableName); @@ -1282,7 +1282,7 @@ namespace System void RemoveAt(string sourceTableName); } - // Generated from `System.Data.InRowChangingEventException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.InRowChangingEventException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InRowChangingEventException : System.Data.DataException { public InRowChangingEventException() => throw null; @@ -1291,7 +1291,7 @@ namespace System public InRowChangingEventException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.InternalDataCollectionBase` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.InternalDataCollectionBase` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InternalDataCollectionBase : System.Collections.ICollection, System.Collections.IEnumerable { public virtual void CopyTo(System.Array ar, int index) => throw null; @@ -1304,7 +1304,7 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Data.InvalidConstraintException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.InvalidConstraintException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidConstraintException : System.Data.DataException { public InvalidConstraintException() => throw null; @@ -1313,7 +1313,7 @@ namespace System public InvalidConstraintException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.InvalidExpressionException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.InvalidExpressionException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidExpressionException : System.Data.DataException { public InvalidExpressionException() => throw null; @@ -1322,7 +1322,7 @@ namespace System public InvalidExpressionException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.IsolationLevel` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.IsolationLevel` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum IsolationLevel : int { Chaos = 16, @@ -1334,14 +1334,14 @@ namespace System Unspecified = -1, } - // Generated from `System.Data.KeyRestrictionBehavior` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.KeyRestrictionBehavior` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum KeyRestrictionBehavior : int { AllowOnly = 0, PreventUsage = 1, } - // Generated from `System.Data.LoadOption` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.LoadOption` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LoadOption : int { OverwriteChanges = 1, @@ -1349,7 +1349,7 @@ namespace System Upsert = 3, } - // Generated from `System.Data.MappingType` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.MappingType` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MappingType : int { Attribute = 2, @@ -1358,7 +1358,7 @@ namespace System SimpleContent = 3, } - // Generated from `System.Data.MergeFailedEventArgs` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.MergeFailedEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MergeFailedEventArgs : System.EventArgs { public string Conflict { get => throw null; } @@ -1366,10 +1366,10 @@ namespace System public System.Data.DataTable Table { get => throw null; } } - // Generated from `System.Data.MergeFailedEventHandler` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.MergeFailedEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void MergeFailedEventHandler(object sender, System.Data.MergeFailedEventArgs e); - // Generated from `System.Data.MissingMappingAction` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.MissingMappingAction` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MissingMappingAction : int { Error = 3, @@ -1377,7 +1377,7 @@ namespace System Passthrough = 1, } - // Generated from `System.Data.MissingPrimaryKeyException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.MissingPrimaryKeyException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MissingPrimaryKeyException : System.Data.DataException { public MissingPrimaryKeyException() => throw null; @@ -1386,7 +1386,7 @@ namespace System public MissingPrimaryKeyException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.MissingSchemaAction` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.MissingSchemaAction` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MissingSchemaAction : int { Add = 1, @@ -1395,7 +1395,7 @@ namespace System Ignore = 2, } - // Generated from `System.Data.NoNullAllowedException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.NoNullAllowedException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NoNullAllowedException : System.Data.DataException { public NoNullAllowedException() => throw null; @@ -1404,12 +1404,12 @@ namespace System public NoNullAllowedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.OrderedEnumerableRowCollection<>` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.OrderedEnumerableRowCollection<>` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OrderedEnumerableRowCollection : System.Data.EnumerableRowCollection { } - // Generated from `System.Data.ParameterDirection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.ParameterDirection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ParameterDirection : int { Input = 1, @@ -1418,7 +1418,7 @@ namespace System ReturnValue = 6, } - // Generated from `System.Data.PropertyCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.PropertyCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PropertyCollection : System.Collections.Hashtable, System.ICloneable { public override object Clone() => throw null; @@ -1426,7 +1426,7 @@ namespace System protected PropertyCollection(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; } - // Generated from `System.Data.ReadOnlyException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.ReadOnlyException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReadOnlyException : System.Data.DataException { public ReadOnlyException() => throw null; @@ -1435,7 +1435,7 @@ namespace System public ReadOnlyException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.RowNotInTableException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.RowNotInTableException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RowNotInTableException : System.Data.DataException { public RowNotInTableException() => throw null; @@ -1444,7 +1444,7 @@ namespace System public RowNotInTableException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.Rule` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Rule` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum Rule : int { Cascade = 1, @@ -1453,28 +1453,28 @@ namespace System SetNull = 2, } - // Generated from `System.Data.SchemaSerializationMode` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SchemaSerializationMode` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SchemaSerializationMode : int { ExcludeSchema = 2, IncludeSchema = 1, } - // Generated from `System.Data.SchemaType` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SchemaType` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SchemaType : int { Mapped = 2, Source = 1, } - // Generated from `System.Data.SerializationFormat` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SerializationFormat` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SerializationFormat : int { Binary = 1, Xml = 0, } - // Generated from `System.Data.SqlDbType` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SqlDbType` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SqlDbType : int { BigInt = 0, @@ -1510,7 +1510,7 @@ namespace System Xml = 25, } - // Generated from `System.Data.StateChangeEventArgs` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.StateChangeEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StateChangeEventArgs : System.EventArgs { public System.Data.ConnectionState CurrentState { get => throw null; } @@ -1518,20 +1518,20 @@ namespace System public StateChangeEventArgs(System.Data.ConnectionState originalState, System.Data.ConnectionState currentState) => throw null; } - // Generated from `System.Data.StateChangeEventHandler` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.StateChangeEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void StateChangeEventHandler(object sender, System.Data.StateChangeEventArgs e); - // Generated from `System.Data.StatementCompletedEventArgs` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.StatementCompletedEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StatementCompletedEventArgs : System.EventArgs { public int RecordCount { get => throw null; } public StatementCompletedEventArgs(int recordCount) => throw null; } - // Generated from `System.Data.StatementCompletedEventHandler` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.StatementCompletedEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void StatementCompletedEventHandler(object sender, System.Data.StatementCompletedEventArgs e); - // Generated from `System.Data.StatementType` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.StatementType` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum StatementType : int { Batch = 4, @@ -1541,7 +1541,7 @@ namespace System Update = 2, } - // Generated from `System.Data.StrongTypingException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.StrongTypingException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StrongTypingException : System.Data.DataException { public StrongTypingException() => throw null; @@ -1550,7 +1550,7 @@ namespace System public StrongTypingException(string s, System.Exception innerException) => throw null; } - // Generated from `System.Data.SyntaxErrorException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SyntaxErrorException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SyntaxErrorException : System.Data.InvalidExpressionException { public SyntaxErrorException() => throw null; @@ -1559,7 +1559,7 @@ namespace System public SyntaxErrorException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.TypedTableBase<>` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.TypedTableBase<>` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TypedTableBase : System.Data.DataTable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable where T : System.Data.DataRow { public System.Data.EnumerableRowCollection Cast() => throw null; @@ -1569,7 +1569,7 @@ namespace System protected TypedTableBase(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; } - // Generated from `System.Data.TypedTableBaseExtensions` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.TypedTableBaseExtensions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class TypedTableBaseExtensions { public static System.Data.EnumerableRowCollection AsEnumerable(this System.Data.TypedTableBase source) where TRow : System.Data.DataRow => throw null; @@ -1582,7 +1582,7 @@ namespace System public static System.Data.EnumerableRowCollection Where(this System.Data.TypedTableBase source, System.Func predicate) where TRow : System.Data.DataRow => throw null; } - // Generated from `System.Data.UniqueConstraint` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.UniqueConstraint` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UniqueConstraint : System.Data.Constraint { public virtual System.Data.DataColumn[] Columns { get => throw null; } @@ -1601,7 +1601,7 @@ namespace System public UniqueConstraint(string name, string[] columnNames, bool isPrimaryKey) => throw null; } - // Generated from `System.Data.UpdateRowSource` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.UpdateRowSource` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UpdateRowSource : int { Both = 3, @@ -1610,7 +1610,7 @@ namespace System OutputParameters = 1, } - // Generated from `System.Data.UpdateStatus` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.UpdateStatus` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UpdateStatus : int { Continue = 0, @@ -1619,7 +1619,7 @@ namespace System SkipCurrentRow = 2, } - // Generated from `System.Data.VersionNotFoundException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.VersionNotFoundException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VersionNotFoundException : System.Data.DataException { public VersionNotFoundException() => throw null; @@ -1628,7 +1628,7 @@ namespace System public VersionNotFoundException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.XmlReadMode` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.XmlReadMode` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlReadMode : int { Auto = 0, @@ -1640,7 +1640,7 @@ namespace System ReadSchema = 1, } - // Generated from `System.Data.XmlWriteMode` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.XmlWriteMode` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlWriteMode : int { DiffGram = 2, @@ -1650,14 +1650,14 @@ namespace System namespace Common { - // Generated from `System.Data.Common.CatalogLocation` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.CatalogLocation` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CatalogLocation : int { End = 2, Start = 1, } - // Generated from `System.Data.Common.DataAdapter` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DataAdapter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataAdapter : System.ComponentModel.Component, System.Data.IDataAdapter { public bool AcceptChangesDuringFill { get => throw null; set => throw null; } @@ -1692,7 +1692,7 @@ namespace System public virtual int Update(System.Data.DataSet dataSet) => throw null; } - // Generated from `System.Data.Common.DataColumnMapping` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DataColumnMapping` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataColumnMapping : System.MarshalByRefObject, System.Data.IColumnMapping, System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -1705,7 +1705,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Data.Common.DataColumnMappingCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DataColumnMappingCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataColumnMappingCollection : System.MarshalByRefObject, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Data.IColumnMappingCollection { public int Add(object value) => throw null; @@ -1744,7 +1744,7 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Data.Common.DataTableMapping` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DataTableMapping` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTableMapping : System.MarshalByRefObject, System.Data.ITableMapping, System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -1761,7 +1761,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Data.Common.DataTableMappingCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DataTableMappingCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTableMappingCollection : System.MarshalByRefObject, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Data.ITableMappingCollection { public int Add(object value) => throw null; @@ -1799,7 +1799,7 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Data.Common.DbBatch` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbBatch` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbBatch : System.IAsyncDisposable, System.IDisposable { public System.Data.Common.DbBatchCommandCollection BatchCommands { get => throw null; } @@ -1828,7 +1828,7 @@ namespace System public System.Data.Common.DbTransaction Transaction { get => throw null; set => throw null; } } - // Generated from `System.Data.Common.DbBatchCommand` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbBatchCommand` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbBatchCommand { public abstract string CommandText { get; set; } @@ -1839,7 +1839,7 @@ namespace System public abstract int RecordsAffected { get; } } - // Generated from `System.Data.Common.DbBatchCommandCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbBatchCommandCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbBatchCommandCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.IEnumerable { public abstract void Add(System.Data.Common.DbBatchCommand item); @@ -1860,7 +1860,7 @@ namespace System protected abstract void SetBatchCommand(int index, System.Data.Common.DbBatchCommand batchCommand); } - // Generated from `System.Data.Common.DbColumn` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbColumn` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbColumn { public bool? AllowDBNull { get => throw null; set => throw null; } @@ -1890,7 +1890,7 @@ namespace System public string UdtAssemblyQualifiedName { get => throw null; set => throw null; } } - // Generated from `System.Data.Common.DbCommand` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbCommand` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbCommand : System.ComponentModel.Component, System.Data.IDbCommand, System.IAsyncDisposable, System.IDisposable { public abstract void Cancel(); @@ -1933,7 +1933,7 @@ namespace System public abstract System.Data.UpdateRowSource UpdatedRowSource { get; set; } } - // Generated from `System.Data.Common.DbCommandBuilder` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbCommandBuilder` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbCommandBuilder : System.ComponentModel.Component { protected abstract void ApplyParameterInfo(System.Data.Common.DbParameter parameter, System.Data.DataRow row, System.Data.StatementType statementType, bool whereClause); @@ -1965,7 +1965,7 @@ namespace System public virtual string UnquoteIdentifier(string quotedIdentifier) => throw null; } - // Generated from `System.Data.Common.DbConnection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbConnection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbConnection : System.ComponentModel.Component, System.Data.IDbConnection, System.IAsyncDisposable, System.IDisposable { protected abstract System.Data.Common.DbTransaction BeginDbTransaction(System.Data.IsolationLevel isolationLevel); @@ -2009,7 +2009,7 @@ namespace System public virtual event System.Data.StateChangeEventHandler StateChange; } - // Generated from `System.Data.Common.DbConnectionStringBuilder` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbConnectionStringBuilder` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DbConnectionStringBuilder : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.ComponentModel.ICustomTypeDescriptor { void System.Collections.IDictionary.Add(object keyword, object value) => throw null; @@ -2057,7 +2057,7 @@ namespace System public virtual System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Data.Common.DbDataAdapter` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbDataAdapter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbDataAdapter : System.Data.Common.DataAdapter, System.Data.IDataAdapter, System.Data.IDbDataAdapter, System.ICloneable { protected virtual int AddToBatch(System.Data.IDbCommand command) => throw null; @@ -2107,7 +2107,7 @@ namespace System System.Data.IDbCommand System.Data.IDbDataAdapter.UpdateCommand { get => throw null; set => throw null; } } - // Generated from `System.Data.Common.DbDataReader` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbDataReader` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbDataReader : System.MarshalByRefObject, System.Collections.IEnumerable, System.Data.IDataReader, System.Data.IDataRecord, System.IAsyncDisposable, System.IDisposable { public virtual void Close() => throw null; @@ -2170,14 +2170,14 @@ namespace System public virtual int VisibleFieldCount { get => throw null; } } - // Generated from `System.Data.Common.DbDataReaderExtensions` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbDataReaderExtensions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DbDataReaderExtensions { public static bool CanGetColumnSchema(this System.Data.Common.DbDataReader reader) => throw null; public static System.Collections.ObjectModel.ReadOnlyCollection GetColumnSchema(this System.Data.Common.DbDataReader reader) => throw null; } - // Generated from `System.Data.Common.DbDataRecord` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbDataRecord` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbDataRecord : System.ComponentModel.ICustomTypeDescriptor, System.Data.IDataRecord { protected DbDataRecord() => throw null; @@ -2221,14 +2221,35 @@ namespace System public abstract object this[string name] { get; } } - // Generated from `System.Data.Common.DbDataSourceEnumerator` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbDataSource` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class DbDataSource : System.IAsyncDisposable, System.IDisposable + { + public abstract string ConnectionString { get; } + public System.Data.Common.DbBatch CreateBatch() => throw null; + public System.Data.Common.DbCommand CreateCommand(string commandText = default(string)) => throw null; + public System.Data.Common.DbConnection CreateConnection() => throw null; + protected virtual System.Data.Common.DbBatch CreateDbBatch() => throw null; + protected virtual System.Data.Common.DbCommand CreateDbCommand(string commandText = default(string)) => throw null; + protected abstract System.Data.Common.DbConnection CreateDbConnection(); + protected DbDataSource() => throw null; + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + public System.Threading.Tasks.ValueTask DisposeAsync() => throw null; + protected virtual System.Threading.Tasks.ValueTask DisposeAsyncCore() => throw null; + public System.Data.Common.DbConnection OpenConnection() => throw null; + public System.Threading.Tasks.ValueTask OpenConnectionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected virtual System.Data.Common.DbConnection OpenDbConnection() => throw null; + protected virtual System.Threading.Tasks.ValueTask OpenDbConnectionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + + // Generated from `System.Data.Common.DbDataSourceEnumerator` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbDataSourceEnumerator { protected DbDataSourceEnumerator() => throw null; public abstract System.Data.DataTable GetDataSources(); } - // Generated from `System.Data.Common.DbEnumerator` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbEnumerator` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DbEnumerator : System.Collections.IEnumerator { public object Current { get => throw null; } @@ -2240,7 +2261,7 @@ namespace System public void Reset() => throw null; } - // Generated from `System.Data.Common.DbException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbException : System.Runtime.InteropServices.ExternalException { public System.Data.Common.DbBatchCommand BatchCommand { get => throw null; } @@ -2254,7 +2275,7 @@ namespace System public virtual string SqlState { get => throw null; } } - // Generated from `System.Data.Common.DbMetaDataCollectionNames` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbMetaDataCollectionNames` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DbMetaDataCollectionNames { public static string DataSourceInformation; @@ -2264,7 +2285,7 @@ namespace System public static string Restrictions; } - // Generated from `System.Data.Common.DbMetaDataColumnNames` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbMetaDataColumnNames` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DbMetaDataColumnNames { public static string CollectionName; @@ -2312,7 +2333,7 @@ namespace System public static string TypeName; } - // Generated from `System.Data.Common.DbParameter` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbParameter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbParameter : System.MarshalByRefObject, System.Data.IDataParameter, System.Data.IDbDataParameter { protected DbParameter() => throw null; @@ -2332,7 +2353,7 @@ namespace System public abstract object Value { get; set; } } - // Generated from `System.Data.Common.DbParameterCollection` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbParameterCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbParameterCollection : System.MarshalByRefObject, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Data.IDataParameterCollection { public abstract int Add(object value); @@ -2369,7 +2390,7 @@ namespace System public abstract object SyncRoot { get; } } - // Generated from `System.Data.Common.DbProviderFactories` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbProviderFactories` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DbProviderFactories { public static System.Data.Common.DbProviderFactory GetFactory(System.Data.DataRow providerRow) => throw null; @@ -2384,7 +2405,7 @@ namespace System public static bool UnregisterFactory(string providerInvariantName) => throw null; } - // Generated from `System.Data.Common.DbProviderFactory` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbProviderFactory` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbProviderFactory { public virtual bool CanCreateBatch { get => throw null; } @@ -2398,19 +2419,20 @@ namespace System public virtual System.Data.Common.DbConnection CreateConnection() => throw null; public virtual System.Data.Common.DbConnectionStringBuilder CreateConnectionStringBuilder() => throw null; public virtual System.Data.Common.DbDataAdapter CreateDataAdapter() => throw null; + public virtual System.Data.Common.DbDataSource CreateDataSource(string connectionString) => throw null; public virtual System.Data.Common.DbDataSourceEnumerator CreateDataSourceEnumerator() => throw null; public virtual System.Data.Common.DbParameter CreateParameter() => throw null; protected DbProviderFactory() => throw null; } - // Generated from `System.Data.Common.DbProviderSpecificTypePropertyAttribute` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbProviderSpecificTypePropertyAttribute` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DbProviderSpecificTypePropertyAttribute : System.Attribute { public DbProviderSpecificTypePropertyAttribute(bool isProviderSpecificTypeProperty) => throw null; public bool IsProviderSpecificTypeProperty { get => throw null; } } - // Generated from `System.Data.Common.DbTransaction` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.DbTransaction` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbTransaction : System.MarshalByRefObject, System.Data.IDbTransaction, System.IAsyncDisposable, System.IDisposable { public abstract void Commit(); @@ -2434,7 +2456,7 @@ namespace System public virtual bool SupportsSavepoints { get => throw null; } } - // Generated from `System.Data.Common.GroupByBehavior` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.GroupByBehavior` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GroupByBehavior : int { ExactMatch = 4, @@ -2444,13 +2466,13 @@ namespace System Unrelated = 2, } - // Generated from `System.Data.Common.IDbColumnSchemaGenerator` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.IDbColumnSchemaGenerator` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDbColumnSchemaGenerator { System.Collections.ObjectModel.ReadOnlyCollection GetColumnSchema(); } - // Generated from `System.Data.Common.IdentifierCase` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.IdentifierCase` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum IdentifierCase : int { Insensitive = 1, @@ -2458,7 +2480,7 @@ namespace System Unknown = 0, } - // Generated from `System.Data.Common.RowUpdatedEventArgs` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.RowUpdatedEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RowUpdatedEventArgs : System.EventArgs { public System.Data.IDbCommand Command { get => throw null; } @@ -2474,7 +2496,7 @@ namespace System public System.Data.Common.DataTableMapping TableMapping { get => throw null; } } - // Generated from `System.Data.Common.RowUpdatingEventArgs` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.RowUpdatingEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RowUpdatingEventArgs : System.EventArgs { protected virtual System.Data.IDbCommand BaseCommand { get => throw null; set => throw null; } @@ -2487,7 +2509,7 @@ namespace System public System.Data.Common.DataTableMapping TableMapping { get => throw null; } } - // Generated from `System.Data.Common.SchemaTableColumn` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.SchemaTableColumn` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class SchemaTableColumn { public static string AllowDBNull; @@ -2509,7 +2531,7 @@ namespace System public static string ProviderType; } - // Generated from `System.Data.Common.SchemaTableOptionalColumn` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.SchemaTableOptionalColumn` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class SchemaTableOptionalColumn { public static string AutoIncrementSeed; @@ -2528,7 +2550,7 @@ namespace System public static string ProviderSpecificDataType; } - // Generated from `System.Data.Common.SupportedJoinOperators` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.Common.SupportedJoinOperators` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SupportedJoinOperators : int { @@ -2542,13 +2564,13 @@ namespace System } namespace SqlTypes { - // Generated from `System.Data.SqlTypes.INullable` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SqlTypes.INullable` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INullable { bool IsNull { get; } } - // Generated from `System.Data.SqlTypes.SqlAlreadyFilledException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SqlTypes.SqlAlreadyFilledException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlAlreadyFilledException : System.Data.SqlTypes.SqlTypeException { public SqlAlreadyFilledException() => throw null; @@ -2556,8 +2578,8 @@ namespace System public SqlAlreadyFilledException(string message, System.Exception e) => throw null; } - // Generated from `System.Data.SqlTypes.SqlBinary` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SqlBinary : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable + // Generated from `System.Data.SqlTypes.SqlBinary` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SqlBinary : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y) => throw null; public static System.Data.SqlTypes.SqlBinary operator +(System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y) => throw null; @@ -2570,6 +2592,7 @@ namespace System public int CompareTo(System.Data.SqlTypes.SqlBinary value) => throw null; public int CompareTo(object value) => throw null; public static System.Data.SqlTypes.SqlBinary Concat(System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y) => throw null; + public bool Equals(System.Data.SqlTypes.SqlBinary other) => throw null; public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y) => throw null; public override bool Equals(object value) => throw null; public override int GetHashCode() => throw null; @@ -2590,14 +2613,15 @@ namespace System public System.Data.SqlTypes.SqlGuid ToSqlGuid() => throw null; public override string ToString() => throw null; public System.Byte[] Value { get => throw null; } + public static System.Data.SqlTypes.SqlBinary WrapBytes(System.Byte[] bytes) => throw null; void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter writer) => throw null; public static explicit operator System.Byte[](System.Data.SqlTypes.SqlBinary x) => throw null; public static explicit operator System.Data.SqlTypes.SqlBinary(System.Data.SqlTypes.SqlGuid x) => throw null; public static implicit operator System.Data.SqlTypes.SqlBinary(System.Byte[] x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlBoolean` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SqlBoolean : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable + // Generated from `System.Data.SqlTypes.SqlBoolean` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SqlBoolean : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !(System.Data.SqlTypes.SqlBoolean x) => throw null; public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y) => throw null; @@ -2611,6 +2635,7 @@ namespace System public System.Byte ByteValue { get => throw null; } public int CompareTo(System.Data.SqlTypes.SqlBoolean value) => throw null; public int CompareTo(object value) => throw null; + public bool Equals(System.Data.SqlTypes.SqlBoolean other) => throw null; public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y) => throw null; public override bool Equals(object value) => throw null; public static System.Data.SqlTypes.SqlBoolean False; @@ -2667,8 +2692,8 @@ namespace System public static System.Data.SqlTypes.SqlBoolean operator ~(System.Data.SqlTypes.SqlBoolean x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlByte` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SqlByte : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable + // Generated from `System.Data.SqlTypes.SqlByte` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SqlByte : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y) => throw null; public static System.Data.SqlTypes.SqlByte operator %(System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y) => throw null; @@ -2688,6 +2713,7 @@ namespace System public int CompareTo(System.Data.SqlTypes.SqlByte value) => throw null; public int CompareTo(object value) => throw null; public static System.Data.SqlTypes.SqlByte Divide(System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y) => throw null; + public bool Equals(System.Data.SqlTypes.SqlByte other) => throw null; public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y) => throw null; public override bool Equals(object value) => throw null; public override int GetHashCode() => throw null; @@ -2741,7 +2767,7 @@ namespace System public static System.Data.SqlTypes.SqlByte operator ~(System.Data.SqlTypes.SqlByte x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlBytes` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SqlTypes.SqlBytes` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlBytes : System.Data.SqlTypes.INullable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable { public System.Byte[] Buffer { get => throw null; } @@ -2771,7 +2797,7 @@ namespace System public static explicit operator System.Data.SqlTypes.SqlBinary(System.Data.SqlTypes.SqlBytes value) => throw null; } - // Generated from `System.Data.SqlTypes.SqlChars` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SqlTypes.SqlChars` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlChars : System.Data.SqlTypes.INullable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable { public System.Char[] Buffer { get => throw null; } @@ -2799,7 +2825,7 @@ namespace System public static explicit operator System.Data.SqlTypes.SqlChars(System.Data.SqlTypes.SqlString value) => throw null; } - // Generated from `System.Data.SqlTypes.SqlCompareOptions` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SqlTypes.SqlCompareOptions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SqlCompareOptions : int { @@ -2812,8 +2838,8 @@ namespace System None = 0, } - // Generated from `System.Data.SqlTypes.SqlDateTime` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SqlDateTime : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable + // Generated from `System.Data.SqlTypes.SqlDateTime` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SqlDateTime : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlDateTime x, System.Data.SqlTypes.SqlDateTime y) => throw null; public static System.Data.SqlTypes.SqlDateTime operator +(System.Data.SqlTypes.SqlDateTime x, System.TimeSpan t) => throw null; @@ -2827,6 +2853,7 @@ namespace System public int CompareTo(System.Data.SqlTypes.SqlDateTime value) => throw null; public int CompareTo(object value) => throw null; public int DayTicks { get => throw null; } + public bool Equals(System.Data.SqlTypes.SqlDateTime other) => throw null; public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlDateTime x, System.Data.SqlTypes.SqlDateTime y) => throw null; public override bool Equals(object value) => throw null; public override int GetHashCode() => throw null; @@ -2864,8 +2891,8 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlDateTime(System.DateTime value) => throw null; } - // Generated from `System.Data.SqlTypes.SqlDecimal` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SqlDecimal : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable + // Generated from `System.Data.SqlTypes.SqlDecimal` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SqlDecimal : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) => throw null; public static System.Data.SqlTypes.SqlDecimal operator *(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) => throw null; @@ -2888,6 +2915,7 @@ namespace System public static System.Data.SqlTypes.SqlDecimal ConvertToPrecScale(System.Data.SqlTypes.SqlDecimal n, int precision, int scale) => throw null; public int[] Data { get => throw null; } public static System.Data.SqlTypes.SqlDecimal Divide(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) => throw null; + public bool Equals(System.Data.SqlTypes.SqlDecimal other) => throw null; public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) => throw null; public override bool Equals(object value) => throw null; public static System.Data.SqlTypes.SqlDecimal Floor(System.Data.SqlTypes.SqlDecimal n) => throw null; @@ -2935,6 +2963,7 @@ namespace System public override string ToString() => throw null; public static System.Data.SqlTypes.SqlDecimal Truncate(System.Data.SqlTypes.SqlDecimal n, int position) => throw null; public System.Decimal Value { get => throw null; } + public int WriteTdsValue(System.Span destination) => throw null; void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter writer) => throw null; public static explicit operator System.Data.SqlTypes.SqlDecimal(System.Data.SqlTypes.SqlBoolean x) => throw null; public static explicit operator System.Decimal(System.Data.SqlTypes.SqlDecimal x) => throw null; @@ -2951,8 +2980,8 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlDecimal(System.Int64 x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlDouble` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SqlDouble : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable + // Generated from `System.Data.SqlTypes.SqlDouble` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SqlDouble : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlDouble x, System.Data.SqlTypes.SqlDouble y) => throw null; public static System.Data.SqlTypes.SqlDouble operator *(System.Data.SqlTypes.SqlDouble x, System.Data.SqlTypes.SqlDouble y) => throw null; @@ -2969,6 +2998,7 @@ namespace System public int CompareTo(System.Data.SqlTypes.SqlDouble value) => throw null; public int CompareTo(object value) => throw null; public static System.Data.SqlTypes.SqlDouble Divide(System.Data.SqlTypes.SqlDouble x, System.Data.SqlTypes.SqlDouble y) => throw null; + public bool Equals(System.Data.SqlTypes.SqlDouble other) => throw null; public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlDouble x, System.Data.SqlTypes.SqlDouble y) => throw null; public override bool Equals(object value) => throw null; public override int GetHashCode() => throw null; @@ -3015,8 +3045,8 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlDouble(double x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlGuid` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SqlGuid : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable + // Generated from `System.Data.SqlTypes.SqlGuid` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SqlGuid : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y) => throw null; public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y) => throw null; @@ -3026,6 +3056,7 @@ namespace System public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y) => throw null; public int CompareTo(System.Data.SqlTypes.SqlGuid value) => throw null; public int CompareTo(object value) => throw null; + public bool Equals(System.Data.SqlTypes.SqlGuid other) => throw null; public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y) => throw null; public override bool Equals(object value) => throw null; public override int GetHashCode() => throw null; @@ -3057,8 +3088,8 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlGuid(System.Guid x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlInt16` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SqlInt16 : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable + // Generated from `System.Data.SqlTypes.SqlInt16` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SqlInt16 : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) => throw null; public static System.Data.SqlTypes.SqlInt16 operator %(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) => throw null; @@ -3079,6 +3110,7 @@ namespace System public int CompareTo(System.Data.SqlTypes.SqlInt16 value) => throw null; public int CompareTo(object value) => throw null; public static System.Data.SqlTypes.SqlInt16 Divide(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) => throw null; + public bool Equals(System.Data.SqlTypes.SqlInt16 other) => throw null; public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) => throw null; public override bool Equals(object value) => throw null; public override int GetHashCode() => throw null; @@ -3132,8 +3164,8 @@ namespace System public static System.Data.SqlTypes.SqlInt16 operator ~(System.Data.SqlTypes.SqlInt16 x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlInt32` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SqlInt32 : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable + // Generated from `System.Data.SqlTypes.SqlInt32` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SqlInt32 : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) => throw null; public static System.Data.SqlTypes.SqlInt32 operator %(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) => throw null; @@ -3154,6 +3186,7 @@ namespace System public int CompareTo(System.Data.SqlTypes.SqlInt32 value) => throw null; public int CompareTo(object value) => throw null; public static System.Data.SqlTypes.SqlInt32 Divide(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) => throw null; + public bool Equals(System.Data.SqlTypes.SqlInt32 other) => throw null; public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) => throw null; public override bool Equals(object value) => throw null; public override int GetHashCode() => throw null; @@ -3207,8 +3240,8 @@ namespace System public static System.Data.SqlTypes.SqlInt32 operator ~(System.Data.SqlTypes.SqlInt32 x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlInt64` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SqlInt64 : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable + // Generated from `System.Data.SqlTypes.SqlInt64` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SqlInt64 : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) => throw null; public static System.Data.SqlTypes.SqlInt64 operator %(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) => throw null; @@ -3229,6 +3262,7 @@ namespace System public int CompareTo(System.Data.SqlTypes.SqlInt64 value) => throw null; public int CompareTo(object value) => throw null; public static System.Data.SqlTypes.SqlInt64 Divide(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) => throw null; + public bool Equals(System.Data.SqlTypes.SqlInt64 other) => throw null; public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) => throw null; public override bool Equals(object value) => throw null; public override int GetHashCode() => throw null; @@ -3282,8 +3316,8 @@ namespace System public static System.Data.SqlTypes.SqlInt64 operator ~(System.Data.SqlTypes.SqlInt64 x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlMoney` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SqlMoney : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable + // Generated from `System.Data.SqlTypes.SqlMoney` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SqlMoney : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) => throw null; public static System.Data.SqlTypes.SqlMoney operator *(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) => throw null; @@ -3300,10 +3334,13 @@ namespace System public int CompareTo(System.Data.SqlTypes.SqlMoney value) => throw null; public int CompareTo(object value) => throw null; public static System.Data.SqlTypes.SqlMoney Divide(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) => throw null; + public bool Equals(System.Data.SqlTypes.SqlMoney other) => throw null; public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) => throw null; public override bool Equals(object value) => throw null; + public static System.Data.SqlTypes.SqlMoney FromTdsValue(System.Int64 value) => throw null; public override int GetHashCode() => throw null; System.Xml.Schema.XmlSchema System.Xml.Serialization.IXmlSerializable.GetSchema() => throw null; + public System.Int64 GetTdsValue() => throw null; public static System.Xml.XmlQualifiedName GetXsdType(System.Xml.Schema.XmlSchemaSet schemaSet) => throw null; public static System.Data.SqlTypes.SqlBoolean GreaterThan(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) => throw null; public static System.Data.SqlTypes.SqlBoolean GreaterThanOrEqual(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) => throw null; @@ -3355,7 +3392,7 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlMoney(System.Int64 x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlNotFilledException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SqlTypes.SqlNotFilledException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlNotFilledException : System.Data.SqlTypes.SqlTypeException { public SqlNotFilledException() => throw null; @@ -3363,7 +3400,7 @@ namespace System public SqlNotFilledException(string message, System.Exception e) => throw null; } - // Generated from `System.Data.SqlTypes.SqlNullValueException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SqlTypes.SqlNullValueException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlNullValueException : System.Data.SqlTypes.SqlTypeException { public SqlNullValueException() => throw null; @@ -3371,8 +3408,8 @@ namespace System public SqlNullValueException(string message, System.Exception e) => throw null; } - // Generated from `System.Data.SqlTypes.SqlSingle` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SqlSingle : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable + // Generated from `System.Data.SqlTypes.SqlSingle` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SqlSingle : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y) => throw null; public static System.Data.SqlTypes.SqlSingle operator *(System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y) => throw null; @@ -3389,6 +3426,7 @@ namespace System public int CompareTo(System.Data.SqlTypes.SqlSingle value) => throw null; public int CompareTo(object value) => throw null; public static System.Data.SqlTypes.SqlSingle Divide(System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y) => throw null; + public bool Equals(System.Data.SqlTypes.SqlSingle other) => throw null; public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y) => throw null; public override bool Equals(object value) => throw null; public override int GetHashCode() => throw null; @@ -3436,8 +3474,8 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlSingle(float x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlString` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SqlString : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable + // Generated from `System.Data.SqlTypes.SqlString` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SqlString : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y) => throw null; public static System.Data.SqlTypes.SqlString operator +(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y) => throw null; @@ -3456,6 +3494,7 @@ namespace System public int CompareTo(object value) => throw null; public static System.Data.SqlTypes.SqlString Concat(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y) => throw null; public System.Globalization.CultureInfo CultureInfo { get => throw null; } + public bool Equals(System.Data.SqlTypes.SqlString other) => throw null; public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y) => throw null; public override bool Equals(object value) => throw null; public override int GetHashCode() => throw null; @@ -3514,7 +3553,7 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlString(string x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlTruncateException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SqlTypes.SqlTruncateException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlTruncateException : System.Data.SqlTypes.SqlTypeException { public SqlTruncateException() => throw null; @@ -3522,7 +3561,7 @@ namespace System public SqlTruncateException(string message, System.Exception e) => throw null; } - // Generated from `System.Data.SqlTypes.SqlTypeException` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SqlTypes.SqlTypeException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlTypeException : System.SystemException { public SqlTypeException() => throw null; @@ -3531,7 +3570,7 @@ namespace System public SqlTypeException(string message, System.Exception e) => throw null; } - // Generated from `System.Data.SqlTypes.SqlXml` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SqlTypes.SqlXml` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlXml : System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable { public System.Xml.XmlReader CreateReader() => throw null; @@ -3547,7 +3586,7 @@ namespace System void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter writer) => throw null; } - // Generated from `System.Data.SqlTypes.StorageState` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Data.SqlTypes.StorageState` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum StorageState : int { Buffer = 0, @@ -3559,7 +3598,7 @@ namespace System } namespace Xml { - // Generated from `System.Xml.XmlDataDocument` in `System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlDataDocument` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDataDocument : System.Xml.XmlDocument { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Contracts.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Contracts.cs index 183c669d9ba..7ab0a87477e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Contracts.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Contracts.cs @@ -6,7 +6,7 @@ namespace System { namespace Contracts { - // Generated from `System.Diagnostics.Contracts.Contract` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.Contract` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Contract { public static void Assert(bool condition) => throw null; @@ -34,33 +34,33 @@ namespace System public static T ValueAtReturn(out T value) => throw null; } - // Generated from `System.Diagnostics.Contracts.ContractAbbreviatorAttribute` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.ContractAbbreviatorAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractAbbreviatorAttribute : System.Attribute { public ContractAbbreviatorAttribute() => throw null; } - // Generated from `System.Diagnostics.Contracts.ContractArgumentValidatorAttribute` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.ContractArgumentValidatorAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractArgumentValidatorAttribute : System.Attribute { public ContractArgumentValidatorAttribute() => throw null; } - // Generated from `System.Diagnostics.Contracts.ContractClassAttribute` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.ContractClassAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractClassAttribute : System.Attribute { public ContractClassAttribute(System.Type typeContainingContracts) => throw null; public System.Type TypeContainingContracts { get => throw null; } } - // Generated from `System.Diagnostics.Contracts.ContractClassForAttribute` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.ContractClassForAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractClassForAttribute : System.Attribute { public ContractClassForAttribute(System.Type typeContractsAreFor) => throw null; public System.Type TypeContractsAreFor { get => throw null; } } - // Generated from `System.Diagnostics.Contracts.ContractFailedEventArgs` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.ContractFailedEventArgs` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractFailedEventArgs : System.EventArgs { public string Condition { get => throw null; } @@ -74,7 +74,7 @@ namespace System public bool Unwind { get => throw null; } } - // Generated from `System.Diagnostics.Contracts.ContractFailureKind` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.ContractFailureKind` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ContractFailureKind : int { Assert = 4, @@ -85,13 +85,13 @@ namespace System Precondition = 0, } - // Generated from `System.Diagnostics.Contracts.ContractInvariantMethodAttribute` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.ContractInvariantMethodAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractInvariantMethodAttribute : System.Attribute { public ContractInvariantMethodAttribute() => throw null; } - // Generated from `System.Diagnostics.Contracts.ContractOptionAttribute` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.ContractOptionAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractOptionAttribute : System.Attribute { public string Category { get => throw null; } @@ -102,33 +102,33 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Diagnostics.Contracts.ContractPublicPropertyNameAttribute` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.ContractPublicPropertyNameAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractPublicPropertyNameAttribute : System.Attribute { public ContractPublicPropertyNameAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `System.Diagnostics.Contracts.ContractReferenceAssemblyAttribute` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.ContractReferenceAssemblyAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractReferenceAssemblyAttribute : System.Attribute { public ContractReferenceAssemblyAttribute() => throw null; } - // Generated from `System.Diagnostics.Contracts.ContractRuntimeIgnoredAttribute` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.ContractRuntimeIgnoredAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractRuntimeIgnoredAttribute : System.Attribute { public ContractRuntimeIgnoredAttribute() => throw null; } - // Generated from `System.Diagnostics.Contracts.ContractVerificationAttribute` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.ContractVerificationAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractVerificationAttribute : System.Attribute { public ContractVerificationAttribute(bool value) => throw null; public bool Value { get => throw null; } } - // Generated from `System.Diagnostics.Contracts.PureAttribute` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Contracts.PureAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PureAttribute : System.Attribute { public PureAttribute() => throw null; @@ -140,7 +140,7 @@ namespace System { namespace CompilerServices { - // Generated from `System.Runtime.CompilerServices.ContractHelper` in `System.Diagnostics.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ContractHelper` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ContractHelper { public static string RaiseContractFailedEvent(System.Diagnostics.Contracts.ContractFailureKind failureKind, string userMessage, string conditionText, System.Exception innerException) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.DiagnosticSource.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.DiagnosticSource.cs index b63e2e1e27d..b918799d1bb 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.DiagnosticSource.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.DiagnosticSource.cs @@ -4,9 +4,19 @@ namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.Activity` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Activity` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Activity : System.IDisposable { + // Generated from `System.Diagnostics.Activity+Enumerator<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public struct Enumerator + { + public T Current { get => throw null; } + // Stub generator skipped constructor + public System.Diagnostics.Activity.Enumerator GetEnumerator() => throw null; + public bool MoveNext() => throw null; + } + + public Activity(string operationName) => throw null; public System.Diagnostics.ActivityTraceFlags ActivityTraceFlags { get => throw null; set => throw null; } public System.Diagnostics.Activity AddBaggage(string key, string value) => throw null; @@ -16,19 +26,25 @@ namespace System public System.Collections.Generic.IEnumerable> Baggage { get => throw null; } public System.Diagnostics.ActivityContext Context { get => throw null; } public static System.Diagnostics.Activity Current { get => throw null; set => throw null; } + public static event System.EventHandler CurrentChanged; public static System.Diagnostics.ActivityIdFormat DefaultIdFormat { get => throw null; set => throw null; } public string DisplayName { get => throw null; set => throw null; } public void Dispose() => throw null; protected virtual void Dispose(bool disposing) => throw null; public System.TimeSpan Duration { get => throw null; } + public System.Diagnostics.Activity.Enumerator EnumerateEvents() => throw null; + public System.Diagnostics.Activity.Enumerator EnumerateLinks() => throw null; + public System.Diagnostics.Activity.Enumerator> EnumerateTagObjects() => throw null; public System.Collections.Generic.IEnumerable Events { get => throw null; } public static bool ForceDefaultIdFormat { get => throw null; set => throw null; } public string GetBaggageItem(string key) => throw null; public object GetCustomProperty(string propertyName) => throw null; public object GetTagItem(string key) => throw null; + public bool HasRemoteParent { get => throw null; } public string Id { get => throw null; } public System.Diagnostics.ActivityIdFormat IdFormat { get => throw null; } public bool IsAllDataRequested { get => throw null; set => throw null; } + public bool IsStopped { get => throw null; } public System.Diagnostics.ActivityKind Kind { get => throw null; } public System.Collections.Generic.IEnumerable Links { get => throw null; } public string OperationName { get => throw null; } @@ -60,7 +76,15 @@ namespace System public string TraceStateString { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.ActivityContext` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivityChangedEventArgs` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public struct ActivityChangedEventArgs + { + // Stub generator skipped constructor + public System.Diagnostics.Activity Current { get => throw null; set => throw null; } + public System.Diagnostics.Activity Previous { get => throw null; set => throw null; } + } + + // Generated from `System.Diagnostics.ActivityContext` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ActivityContext : System.IEquatable { public static bool operator !=(System.Diagnostics.ActivityContext left, System.Diagnostics.ActivityContext right) => throw null; @@ -76,10 +100,11 @@ namespace System public System.Diagnostics.ActivityTraceFlags TraceFlags { get => throw null; } public System.Diagnostics.ActivityTraceId TraceId { get => throw null; } public string TraceState { get => throw null; } + public static bool TryParse(string traceParent, string traceState, bool isRemote, out System.Diagnostics.ActivityContext context) => throw null; public static bool TryParse(string traceParent, string traceState, out System.Diagnostics.ActivityContext context) => throw null; } - // Generated from `System.Diagnostics.ActivityCreationOptions<>` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivityCreationOptions<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ActivityCreationOptions { // Stub generator skipped constructor @@ -91,20 +116,22 @@ namespace System public System.Diagnostics.ActivitySource Source { get => throw null; } public System.Collections.Generic.IEnumerable> Tags { get => throw null; } public System.Diagnostics.ActivityTraceId TraceId { get => throw null; } + public string TraceState { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.ActivityEvent` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivityEvent` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ActivityEvent { // Stub generator skipped constructor public ActivityEvent(string name) => throw null; public ActivityEvent(string name, System.DateTimeOffset timestamp = default(System.DateTimeOffset), System.Diagnostics.ActivityTagsCollection tags = default(System.Diagnostics.ActivityTagsCollection)) => throw null; + public System.Diagnostics.Activity.Enumerator> EnumerateTagObjects() => throw null; public string Name { get => throw null; } public System.Collections.Generic.IEnumerable> Tags { get => throw null; } public System.DateTimeOffset Timestamp { get => throw null; } } - // Generated from `System.Diagnostics.ActivityIdFormat` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivityIdFormat` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum ActivityIdFormat : int { Hierarchical = 1, @@ -112,7 +139,7 @@ namespace System W3C = 2, } - // Generated from `System.Diagnostics.ActivityKind` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivityKind` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum ActivityKind : int { Client = 2, @@ -122,7 +149,7 @@ namespace System Server = 1, } - // Generated from `System.Diagnostics.ActivityLink` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivityLink` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ActivityLink : System.IEquatable { public static bool operator !=(System.Diagnostics.ActivityLink left, System.Diagnostics.ActivityLink right) => throw null; @@ -130,13 +157,14 @@ namespace System // Stub generator skipped constructor public ActivityLink(System.Diagnostics.ActivityContext context, System.Diagnostics.ActivityTagsCollection tags = default(System.Diagnostics.ActivityTagsCollection)) => throw null; public System.Diagnostics.ActivityContext Context { get => throw null; } + public System.Diagnostics.Activity.Enumerator> EnumerateTagObjects() => throw null; public bool Equals(System.Diagnostics.ActivityLink value) => throw null; public override bool Equals(object obj) => throw null; public override int GetHashCode() => throw null; public System.Collections.Generic.IEnumerable> Tags { get => throw null; } } - // Generated from `System.Diagnostics.ActivityListener` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivityListener` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ActivityListener : System.IDisposable { public ActivityListener() => throw null; @@ -148,7 +176,7 @@ namespace System public System.Func ShouldListenTo { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.ActivitySamplingResult` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivitySamplingResult` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum ActivitySamplingResult : int { AllData = 2, @@ -157,7 +185,7 @@ namespace System PropagationData = 1, } - // Generated from `System.Diagnostics.ActivitySource` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivitySource` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ActivitySource : System.IDisposable { public ActivitySource(string name, string version = default(string)) => throw null; @@ -175,7 +203,7 @@ namespace System public string Version { get => throw null; } } - // Generated from `System.Diagnostics.ActivitySpanId` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivitySpanId` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ActivitySpanId : System.IEquatable { public static bool operator !=(System.Diagnostics.ActivitySpanId spanId1, System.Diagnostics.ActivitySpanId spandId2) => throw null; @@ -193,7 +221,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Diagnostics.ActivityStatusCode` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivityStatusCode` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum ActivityStatusCode : int { Error = 2, @@ -201,10 +229,10 @@ namespace System Unset = 0, } - // Generated from `System.Diagnostics.ActivityTagsCollection` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivityTagsCollection` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ActivityTagsCollection : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { - // Generated from `System.Diagnostics.ActivityTagsCollection+Enumerator` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivityTagsCollection+Enumerator` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -237,7 +265,7 @@ namespace System public System.Collections.Generic.ICollection Values { get => throw null; } } - // Generated from `System.Diagnostics.ActivityTraceFlags` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivityTraceFlags` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum ActivityTraceFlags : int { @@ -245,7 +273,7 @@ namespace System Recorded = 1, } - // Generated from `System.Diagnostics.ActivityTraceId` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.ActivityTraceId` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ActivityTraceId : System.IEquatable { public static bool operator !=(System.Diagnostics.ActivityTraceId traceId1, System.Diagnostics.ActivityTraceId traceId2) => throw null; @@ -263,7 +291,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Diagnostics.DiagnosticListener` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.DiagnosticListener` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DiagnosticListener : System.Diagnostics.DiagnosticSource, System.IDisposable, System.IObservable> { public static System.IObservable AllListeners { get => throw null; } @@ -283,7 +311,7 @@ namespace System public override void Write(string name, object value) => throw null; } - // Generated from `System.Diagnostics.DiagnosticSource` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.DiagnosticSource` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class DiagnosticSource { protected DiagnosticSource() => throw null; @@ -296,14 +324,14 @@ namespace System public abstract void Write(string name, object value); } - // Generated from `System.Diagnostics.DistributedContextPropagator` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.DistributedContextPropagator` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class DistributedContextPropagator { - // Generated from `System.Diagnostics.DistributedContextPropagator+PropagatorGetterCallback` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.DistributedContextPropagator+PropagatorGetterCallback` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void PropagatorGetterCallback(object carrier, string fieldName, out string fieldValue, out System.Collections.Generic.IEnumerable fieldValues); - // Generated from `System.Diagnostics.DistributedContextPropagator+PropagatorSetterCallback` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.DistributedContextPropagator+PropagatorSetterCallback` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void PropagatorSetterCallback(object carrier, string fieldName, string fieldValue); @@ -318,13 +346,13 @@ namespace System public abstract void Inject(System.Diagnostics.Activity activity, object carrier, System.Diagnostics.DistributedContextPropagator.PropagatorSetterCallback setter); } - // Generated from `System.Diagnostics.SampleActivity<>` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.SampleActivity<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate System.Diagnostics.ActivitySamplingResult SampleActivity(ref System.Diagnostics.ActivityCreationOptions options); - // Generated from `System.Diagnostics.TagList` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.TagList` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct TagList : System.Collections.Generic.ICollection>, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IList>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyList>, System.Collections.IEnumerable { - // Generated from `System.Diagnostics.TagList+Enumerator` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.TagList+Enumerator` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -357,7 +385,7 @@ namespace System namespace Metrics { - // Generated from `System.Diagnostics.Metrics.Counter<>` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Metrics.Counter<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Counter : System.Diagnostics.Metrics.Instrument where T : struct { public void Add(T delta) => throw null; @@ -370,7 +398,7 @@ namespace System internal Counter(System.Diagnostics.Metrics.Meter meter, string name, string unit, string description) : base(default(System.Diagnostics.Metrics.Meter), default(string), default(string), default(string)) => throw null; } - // Generated from `System.Diagnostics.Metrics.Histogram<>` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Metrics.Histogram<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Histogram : System.Diagnostics.Metrics.Instrument where T : struct { internal Histogram(System.Diagnostics.Metrics.Meter meter, string name, string unit, string description) : base(default(System.Diagnostics.Metrics.Meter), default(string), default(string), default(string)) => throw null; @@ -383,7 +411,7 @@ namespace System public void Record(T value, params System.Collections.Generic.KeyValuePair[] tags) => throw null; } - // Generated from `System.Diagnostics.Metrics.Instrument` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Metrics.Instrument` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Instrument { public string Description { get => throw null; } @@ -396,7 +424,7 @@ namespace System public string Unit { get => throw null; } } - // Generated from `System.Diagnostics.Metrics.Instrument<>` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Metrics.Instrument<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Instrument : System.Diagnostics.Metrics.Instrument where T : struct { protected Instrument(System.Diagnostics.Metrics.Meter meter, string name, string unit, string description) : base(default(System.Diagnostics.Metrics.Meter), default(string), default(string), default(string)) => throw null; @@ -408,7 +436,7 @@ namespace System protected void RecordMeasurement(T measurement, System.Diagnostics.TagList tagList) => throw null; } - // Generated from `System.Diagnostics.Metrics.Measurement<>` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Metrics.Measurement<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Measurement where T : struct { // Stub generator skipped constructor @@ -420,10 +448,10 @@ namespace System public T Value { get => throw null; } } - // Generated from `System.Diagnostics.Metrics.MeasurementCallback<>` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Metrics.MeasurementCallback<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void MeasurementCallback(System.Diagnostics.Metrics.Instrument instrument, T measurement, System.ReadOnlySpan> tags, object state); - // Generated from `System.Diagnostics.Metrics.Meter` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Metrics.Meter` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Meter : System.IDisposable { public System.Diagnostics.Metrics.Counter CreateCounter(string name, string unit = default(string), string description = default(string)) where T : struct => throw null; @@ -434,6 +462,10 @@ namespace System public System.Diagnostics.Metrics.ObservableGauge CreateObservableGauge(string name, System.Func>> observeValues, string unit = default(string), string description = default(string)) where T : struct => throw null; public System.Diagnostics.Metrics.ObservableGauge CreateObservableGauge(string name, System.Func> observeValue, string unit = default(string), string description = default(string)) where T : struct => throw null; public System.Diagnostics.Metrics.ObservableGauge CreateObservableGauge(string name, System.Func observeValue, string unit = default(string), string description = default(string)) where T : struct => throw null; + public System.Diagnostics.Metrics.ObservableUpDownCounter CreateObservableUpDownCounter(string name, System.Func>> observeValues, string unit = default(string), string description = default(string)) where T : struct => throw null; + public System.Diagnostics.Metrics.ObservableUpDownCounter CreateObservableUpDownCounter(string name, System.Func> observeValue, string unit = default(string), string description = default(string)) where T : struct => throw null; + public System.Diagnostics.Metrics.ObservableUpDownCounter CreateObservableUpDownCounter(string name, System.Func observeValue, string unit = default(string), string description = default(string)) where T : struct => throw null; + public System.Diagnostics.Metrics.UpDownCounter CreateUpDownCounter(string name, string unit = default(string), string description = default(string)) where T : struct => throw null; public void Dispose() => throw null; public Meter(string name) => throw null; public Meter(string name, string version) => throw null; @@ -441,7 +473,7 @@ namespace System public string Version { get => throw null; } } - // Generated from `System.Diagnostics.Metrics.MeterListener` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Metrics.MeterListener` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class MeterListener : System.IDisposable { public object DisableMeasurementEvents(System.Diagnostics.Metrics.Instrument instrument) => throw null; @@ -455,21 +487,21 @@ namespace System public void Start() => throw null; } - // Generated from `System.Diagnostics.Metrics.ObservableCounter<>` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Metrics.ObservableCounter<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ObservableCounter : System.Diagnostics.Metrics.ObservableInstrument where T : struct { internal ObservableCounter(System.Diagnostics.Metrics.Meter meter, string name, string unit, string description) : base(default(System.Diagnostics.Metrics.Meter), default(string), default(string), default(string)) => throw null; protected override System.Collections.Generic.IEnumerable> Observe() => throw null; } - // Generated from `System.Diagnostics.Metrics.ObservableGauge<>` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Metrics.ObservableGauge<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ObservableGauge : System.Diagnostics.Metrics.ObservableInstrument where T : struct { internal ObservableGauge(System.Diagnostics.Metrics.Meter meter, string name, string unit, string description) : base(default(System.Diagnostics.Metrics.Meter), default(string), default(string), default(string)) => throw null; protected override System.Collections.Generic.IEnumerable> Observe() => throw null; } - // Generated from `System.Diagnostics.Metrics.ObservableInstrument<>` in `System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Diagnostics.Metrics.ObservableInstrument<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ObservableInstrument : System.Diagnostics.Metrics.Instrument where T : struct { public override bool IsObservable { get => throw null; } @@ -477,6 +509,26 @@ namespace System protected abstract System.Collections.Generic.IEnumerable> Observe(); } + // Generated from `System.Diagnostics.Metrics.ObservableUpDownCounter<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class ObservableUpDownCounter : System.Diagnostics.Metrics.ObservableInstrument where T : struct + { + internal ObservableUpDownCounter(System.Diagnostics.Metrics.Meter meter, string name, string unit, string description) : base(default(System.Diagnostics.Metrics.Meter), default(string), default(string), default(string)) => throw null; + protected override System.Collections.Generic.IEnumerable> Observe() => throw null; + } + + // Generated from `System.Diagnostics.Metrics.UpDownCounter<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class UpDownCounter : System.Diagnostics.Metrics.Instrument where T : struct + { + public void Add(T delta) => throw null; + public void Add(T delta, System.Collections.Generic.KeyValuePair tag) => throw null; + public void Add(T delta, System.Collections.Generic.KeyValuePair tag1, System.Collections.Generic.KeyValuePair tag2) => throw null; + public void Add(T delta, System.Collections.Generic.KeyValuePair tag1, System.Collections.Generic.KeyValuePair tag2, System.Collections.Generic.KeyValuePair tag3) => throw null; + public void Add(T delta, System.ReadOnlySpan> tags) => throw null; + public void Add(T delta, System.Diagnostics.TagList tagList) => throw null; + public void Add(T delta, params System.Collections.Generic.KeyValuePair[] tags) => throw null; + internal UpDownCounter(System.Diagnostics.Metrics.Meter meter, string name, string unit, string description) : base(default(System.Diagnostics.Metrics.Meter), default(string), default(string), default(string)) => throw null; + } + } } } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.FileVersionInfo.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.FileVersionInfo.cs index d0f799c5037..ebb40eb42c9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.FileVersionInfo.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.FileVersionInfo.cs @@ -4,7 +4,7 @@ namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.FileVersionInfo` in `System.Diagnostics.FileVersionInfo, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.FileVersionInfo` in `System.Diagnostics.FileVersionInfo, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileVersionInfo { public string Comments { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Process.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Process.cs index 1160ea59cd7..31607bb7784 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Process.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Process.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace SafeHandles { - // Generated from `Microsoft.Win32.SafeHandles.SafeProcessHandle` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.SafeHandles.SafeProcessHandle` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeProcessHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { protected override bool ReleaseHandle() => throw null; @@ -21,23 +21,23 @@ namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.DataReceivedEventArgs` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DataReceivedEventArgs` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataReceivedEventArgs : System.EventArgs { public string Data { get => throw null; } } - // Generated from `System.Diagnostics.DataReceivedEventHandler` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DataReceivedEventHandler` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DataReceivedEventHandler(object sender, System.Diagnostics.DataReceivedEventArgs e); - // Generated from `System.Diagnostics.MonitoringDescriptionAttribute` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.MonitoringDescriptionAttribute` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MonitoringDescriptionAttribute : System.ComponentModel.DescriptionAttribute { public override string Description { get => throw null; } public MonitoringDescriptionAttribute(string description) => throw null; } - // Generated from `System.Diagnostics.Process` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Process` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Process : System.ComponentModel.Component, System.IDisposable { public int BasePriority { get => throw null; } @@ -121,15 +121,17 @@ namespace System public int VirtualMemorySize { get => throw null; } public System.Int64 VirtualMemorySize64 { get => throw null; } public void WaitForExit() => throw null; + public bool WaitForExit(System.TimeSpan timeout) => throw null; public bool WaitForExit(int milliseconds) => throw null; public System.Threading.Tasks.Task WaitForExitAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public bool WaitForInputIdle() => throw null; + public bool WaitForInputIdle(System.TimeSpan timeout) => throw null; public bool WaitForInputIdle(int milliseconds) => throw null; public int WorkingSet { get => throw null; } public System.Int64 WorkingSet64 { get => throw null; } } - // Generated from `System.Diagnostics.ProcessModule` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.ProcessModule` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProcessModule : System.ComponentModel.Component { public System.IntPtr BaseAddress { get => throw null; } @@ -141,7 +143,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Diagnostics.ProcessModuleCollection` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.ProcessModuleCollection` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProcessModuleCollection : System.Collections.ReadOnlyCollectionBase { public bool Contains(System.Diagnostics.ProcessModule module) => throw null; @@ -152,7 +154,7 @@ namespace System public ProcessModuleCollection(System.Diagnostics.ProcessModule[] processModules) => throw null; } - // Generated from `System.Diagnostics.ProcessPriorityClass` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.ProcessPriorityClass` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProcessPriorityClass : int { AboveNormal = 32768, @@ -163,7 +165,7 @@ namespace System RealTime = 256, } - // Generated from `System.Diagnostics.ProcessStartInfo` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.ProcessStartInfo` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProcessStartInfo { public System.Collections.ObjectModel.Collection ArgumentList { get => throw null; } @@ -195,7 +197,7 @@ namespace System public string WorkingDirectory { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.ProcessThread` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.ProcessThread` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProcessThread : System.ComponentModel.Component { public int BasePriority { get => throw null; } @@ -215,7 +217,7 @@ namespace System public System.Diagnostics.ThreadWaitReason WaitReason { get => throw null; } } - // Generated from `System.Diagnostics.ProcessThreadCollection` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.ProcessThreadCollection` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProcessThreadCollection : System.Collections.ReadOnlyCollectionBase { public int Add(System.Diagnostics.ProcessThread thread) => throw null; @@ -229,7 +231,7 @@ namespace System public void Remove(System.Diagnostics.ProcessThread thread) => throw null; } - // Generated from `System.Diagnostics.ProcessWindowStyle` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.ProcessWindowStyle` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProcessWindowStyle : int { Hidden = 1, @@ -238,7 +240,7 @@ namespace System Normal = 0, } - // Generated from `System.Diagnostics.ThreadPriorityLevel` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.ThreadPriorityLevel` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ThreadPriorityLevel : int { AboveNormal = 1, @@ -250,7 +252,7 @@ namespace System TimeCritical = 15, } - // Generated from `System.Diagnostics.ThreadState` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.ThreadState` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ThreadState : int { Initialized = 0, @@ -263,7 +265,7 @@ namespace System Wait = 5, } - // Generated from `System.Diagnostics.ThreadWaitReason` in `System.Diagnostics.Process, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.ThreadWaitReason` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ThreadWaitReason : int { EventPairHigh = 7, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.StackTrace.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.StackTrace.cs index 53bbc36673e..2328d06cac5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.StackTrace.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.StackTrace.cs @@ -4,7 +4,7 @@ namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.StackFrame` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.StackFrame` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StackFrame { public virtual int GetFileColumnNumber() => throw null; @@ -23,7 +23,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Diagnostics.StackFrameExtensions` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.StackFrameExtensions` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class StackFrameExtensions { public static System.IntPtr GetNativeIP(this System.Diagnostics.StackFrame stackFrame) => throw null; @@ -34,7 +34,7 @@ namespace System public static bool HasSource(this System.Diagnostics.StackFrame stackFrame) => throw null; } - // Generated from `System.Diagnostics.StackTrace` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.StackTrace` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StackTrace { public virtual int FrameCount { get => throw null; } @@ -55,19 +55,19 @@ namespace System namespace SymbolStore { - // Generated from `System.Diagnostics.SymbolStore.ISymbolBinder` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.ISymbolBinder` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolBinder { System.Diagnostics.SymbolStore.ISymbolReader GetReader(int importer, string filename, string searchPath); } - // Generated from `System.Diagnostics.SymbolStore.ISymbolBinder1` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.ISymbolBinder1` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolBinder1 { System.Diagnostics.SymbolStore.ISymbolReader GetReader(System.IntPtr importer, string filename, string searchPath); } - // Generated from `System.Diagnostics.SymbolStore.ISymbolDocument` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.ISymbolDocument` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolDocument { System.Guid CheckSumAlgorithmId { get; } @@ -82,14 +82,14 @@ namespace System string URL { get; } } - // Generated from `System.Diagnostics.SymbolStore.ISymbolDocumentWriter` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.ISymbolDocumentWriter` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolDocumentWriter { void SetCheckSum(System.Guid algorithmId, System.Byte[] checkSum); void SetSource(System.Byte[] source); } - // Generated from `System.Diagnostics.SymbolStore.ISymbolMethod` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.ISymbolMethod` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolMethod { System.Diagnostics.SymbolStore.ISymbolNamespace GetNamespace(); @@ -104,7 +104,7 @@ namespace System System.Diagnostics.SymbolStore.SymbolToken Token { get; } } - // Generated from `System.Diagnostics.SymbolStore.ISymbolNamespace` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.ISymbolNamespace` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolNamespace { System.Diagnostics.SymbolStore.ISymbolNamespace[] GetNamespaces(); @@ -112,7 +112,7 @@ namespace System string Name { get; } } - // Generated from `System.Diagnostics.SymbolStore.ISymbolReader` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.ISymbolReader` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolReader { System.Diagnostics.SymbolStore.ISymbolDocument GetDocument(string url, System.Guid language, System.Guid languageVendor, System.Guid documentType); @@ -127,7 +127,7 @@ namespace System System.Diagnostics.SymbolStore.SymbolToken UserEntryPoint { get; } } - // Generated from `System.Diagnostics.SymbolStore.ISymbolScope` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.ISymbolScope` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolScope { int EndOffset { get; } @@ -139,7 +139,7 @@ namespace System int StartOffset { get; } } - // Generated from `System.Diagnostics.SymbolStore.ISymbolVariable` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.ISymbolVariable` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolVariable { int AddressField1 { get; } @@ -153,7 +153,7 @@ namespace System int StartOffset { get; } } - // Generated from `System.Diagnostics.SymbolStore.ISymbolWriter` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.ISymbolWriter` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolWriter { void Close(); @@ -178,7 +178,7 @@ namespace System void UsingNamespace(string fullName); } - // Generated from `System.Diagnostics.SymbolStore.SymAddressKind` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.SymAddressKind` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SymAddressKind : int { BitField = 9, @@ -193,14 +193,14 @@ namespace System NativeStackRegister = 8, } - // Generated from `System.Diagnostics.SymbolStore.SymDocumentType` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.SymDocumentType` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SymDocumentType { public SymDocumentType() => throw null; public static System.Guid Text; } - // Generated from `System.Diagnostics.SymbolStore.SymLanguageType` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.SymLanguageType` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SymLanguageType { public static System.Guid Basic; @@ -217,15 +217,15 @@ namespace System public SymLanguageType() => throw null; } - // Generated from `System.Diagnostics.SymbolStore.SymLanguageVendor` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SymbolStore.SymLanguageVendor` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SymLanguageVendor { public static System.Guid Microsoft; public SymLanguageVendor() => throw null; } - // Generated from `System.Diagnostics.SymbolStore.SymbolToken` in `System.Diagnostics.StackTrace, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SymbolToken + // Generated from `System.Diagnostics.SymbolStore.SymbolToken` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SymbolToken : System.IEquatable { public static bool operator !=(System.Diagnostics.SymbolStore.SymbolToken a, System.Diagnostics.SymbolStore.SymbolToken b) => throw null; public static bool operator ==(System.Diagnostics.SymbolStore.SymbolToken a, System.Diagnostics.SymbolStore.SymbolToken b) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TextWriterTraceListener.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TextWriterTraceListener.cs index a4761361190..2e3cd5d6628 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TextWriterTraceListener.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TextWriterTraceListener.cs @@ -4,7 +4,7 @@ namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.ConsoleTraceListener` in `System.Diagnostics.TextWriterTraceListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.ConsoleTraceListener` in `System.Diagnostics.TextWriterTraceListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConsoleTraceListener : System.Diagnostics.TextWriterTraceListener { public override void Close() => throw null; @@ -12,7 +12,7 @@ namespace System public ConsoleTraceListener(bool useErrorStream) => throw null; } - // Generated from `System.Diagnostics.DelimitedListTraceListener` in `System.Diagnostics.TextWriterTraceListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DelimitedListTraceListener` in `System.Diagnostics.TextWriterTraceListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DelimitedListTraceListener : System.Diagnostics.TextWriterTraceListener { public DelimitedListTraceListener(System.IO.Stream stream) => throw null; @@ -29,7 +29,7 @@ namespace System public override void TraceEvent(System.Diagnostics.TraceEventCache eventCache, string source, System.Diagnostics.TraceEventType eventType, int id, string format, params object[] args) => throw null; } - // Generated from `System.Diagnostics.TextWriterTraceListener` in `System.Diagnostics.TextWriterTraceListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.TextWriterTraceListener` in `System.Diagnostics.TextWriterTraceListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TextWriterTraceListener : System.Diagnostics.TraceListener { public override void Close() => throw null; @@ -47,7 +47,7 @@ namespace System public System.IO.TextWriter Writer { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.XmlWriterTraceListener` in `System.Diagnostics.TextWriterTraceListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.XmlWriterTraceListener` in `System.Diagnostics.TextWriterTraceListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlWriterTraceListener : System.Diagnostics.TextWriterTraceListener { public override void Close() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TraceSource.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TraceSource.cs index 81ef7fd8e9d..3b6776e246e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TraceSource.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TraceSource.cs @@ -4,7 +4,7 @@ namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.BooleanSwitch` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.BooleanSwitch` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BooleanSwitch : System.Diagnostics.Switch { public BooleanSwitch(string displayName, string description) : base(default(string), default(string)) => throw null; @@ -13,7 +13,7 @@ namespace System protected override void OnValueChanged() => throw null; } - // Generated from `System.Diagnostics.CorrelationManager` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.CorrelationManager` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CorrelationManager { public System.Guid ActivityId { get => throw null; set => throw null; } @@ -23,7 +23,7 @@ namespace System public void StopLogicalOperation() => throw null; } - // Generated from `System.Diagnostics.DefaultTraceListener` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DefaultTraceListener` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultTraceListener : System.Diagnostics.TraceListener { public bool AssertUiEnabled { get => throw null; set => throw null; } @@ -35,7 +35,7 @@ namespace System public override void WriteLine(string message) => throw null; } - // Generated from `System.Diagnostics.EventTypeFilter` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.EventTypeFilter` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventTypeFilter : System.Diagnostics.TraceFilter { public System.Diagnostics.SourceLevels EventType { get => throw null; set => throw null; } @@ -43,7 +43,22 @@ namespace System public override bool ShouldTrace(System.Diagnostics.TraceEventCache cache, string source, System.Diagnostics.TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1, object[] data) => throw null; } - // Generated from `System.Diagnostics.SourceFilter` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.InitializingSwitchEventArgs` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class InitializingSwitchEventArgs : System.EventArgs + { + public InitializingSwitchEventArgs(System.Diagnostics.Switch @switch) => throw null; + public System.Diagnostics.Switch Switch { get => throw null; } + } + + // Generated from `System.Diagnostics.InitializingTraceSourceEventArgs` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class InitializingTraceSourceEventArgs : System.EventArgs + { + public InitializingTraceSourceEventArgs(System.Diagnostics.TraceSource traceSource) => throw null; + public System.Diagnostics.TraceSource TraceSource { get => throw null; } + public bool WasInitialized { get => throw null; set => throw null; } + } + + // Generated from `System.Diagnostics.SourceFilter` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SourceFilter : System.Diagnostics.TraceFilter { public override bool ShouldTrace(System.Diagnostics.TraceEventCache cache, string source, System.Diagnostics.TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1, object[] data) => throw null; @@ -51,7 +66,7 @@ namespace System public SourceFilter(string source) => throw null; } - // Generated from `System.Diagnostics.SourceLevels` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SourceLevels` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SourceLevels : int { @@ -65,7 +80,7 @@ namespace System Warning = 7, } - // Generated from `System.Diagnostics.SourceSwitch` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SourceSwitch` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SourceSwitch : System.Diagnostics.Switch { public System.Diagnostics.SourceLevels Level { get => throw null; set => throw null; } @@ -75,22 +90,25 @@ namespace System public SourceSwitch(string displayName, string defaultSwitchValue) : base(default(string), default(string)) => throw null; } - // Generated from `System.Diagnostics.Switch` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Switch` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Switch { public System.Collections.Specialized.StringDictionary Attributes { get => throw null; } + public string DefaultValue { get => throw null; } public string Description { get => throw null; } public string DisplayName { get => throw null; } protected virtual string[] GetSupportedAttributes() => throw null; + public static event System.EventHandler Initializing; protected virtual void OnSwitchSettingChanged() => throw null; protected virtual void OnValueChanged() => throw null; + public void Refresh() => throw null; protected Switch(string displayName, string description) => throw null; protected Switch(string displayName, string description, string defaultSwitchValue) => throw null; protected int SwitchSetting { get => throw null; set => throw null; } - protected string Value { get => throw null; set => throw null; } + public string Value { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.SwitchAttribute` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SwitchAttribute` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SwitchAttribute : System.Attribute { public static System.Diagnostics.SwitchAttribute[] GetAll(System.Reflection.Assembly assembly) => throw null; @@ -100,14 +118,14 @@ namespace System public System.Type SwitchType { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.SwitchLevelAttribute` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.SwitchLevelAttribute` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SwitchLevelAttribute : System.Attribute { public SwitchLevelAttribute(System.Type switchLevelType) => throw null; public System.Type SwitchLevelType { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Trace` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Trace` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Trace { public static void Assert(bool condition) => throw null; @@ -124,6 +142,7 @@ namespace System public static int IndentSize { get => throw null; set => throw null; } public static System.Diagnostics.TraceListenerCollection Listeners { get => throw null; } public static void Refresh() => throw null; + public static event System.EventHandler Refreshing; public static void TraceError(string message) => throw null; public static void TraceError(string format, params object[] args) => throw null; public static void TraceInformation(string message) => throw null; @@ -150,7 +169,7 @@ namespace System public static void WriteLineIf(bool condition, string message, string category) => throw null; } - // Generated from `System.Diagnostics.TraceEventCache` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.TraceEventCache` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TraceEventCache { public string Callstack { get => throw null; } @@ -162,7 +181,7 @@ namespace System public TraceEventCache() => throw null; } - // Generated from `System.Diagnostics.TraceEventType` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.TraceEventType` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TraceEventType : int { Critical = 1, @@ -177,14 +196,14 @@ namespace System Warning = 4, } - // Generated from `System.Diagnostics.TraceFilter` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.TraceFilter` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TraceFilter { public abstract bool ShouldTrace(System.Diagnostics.TraceEventCache cache, string source, System.Diagnostics.TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1, object[] data); protected TraceFilter() => throw null; } - // Generated from `System.Diagnostics.TraceLevel` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.TraceLevel` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TraceLevel : int { Error = 1, @@ -194,7 +213,7 @@ namespace System Warning = 2, } - // Generated from `System.Diagnostics.TraceListener` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.TraceListener` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TraceListener : System.MarshalByRefObject, System.IDisposable { public System.Collections.Specialized.StringDictionary Attributes { get => throw null; } @@ -231,7 +250,7 @@ namespace System public virtual void WriteLine(string message, string category) => throw null; } - // Generated from `System.Diagnostics.TraceListenerCollection` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.TraceListenerCollection` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TraceListenerCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public int Add(System.Diagnostics.TraceListener listener) => throw null; @@ -262,7 +281,7 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Diagnostics.TraceOptions` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.TraceOptions` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TraceOptions : int { @@ -275,13 +294,15 @@ namespace System Timestamp = 4, } - // Generated from `System.Diagnostics.TraceSource` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.TraceSource` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TraceSource { public System.Collections.Specialized.StringDictionary Attributes { get => throw null; } public void Close() => throw null; + public System.Diagnostics.SourceLevels DefaultLevel { get => throw null; } public void Flush() => throw null; protected virtual string[] GetSupportedAttributes() => throw null; + public static event System.EventHandler Initializing; public System.Diagnostics.TraceListenerCollection Listeners { get => throw null; } public string Name { get => throw null; } public System.Diagnostics.SourceSwitch Switch { get => throw null; set => throw null; } @@ -297,7 +318,7 @@ namespace System public void TraceTransfer(int id, string message, System.Guid relatedActivityId) => throw null; } - // Generated from `System.Diagnostics.TraceSwitch` in `System.Diagnostics.TraceSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.TraceSwitch` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TraceSwitch : System.Diagnostics.Switch { public System.Diagnostics.TraceLevel Level { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Tracing.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Tracing.cs index 9d97c8e31cb..21fa49b223c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Tracing.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Tracing.cs @@ -6,7 +6,7 @@ namespace System { namespace Tracing { - // Generated from `System.Diagnostics.Tracing.DiagnosticCounter` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.DiagnosticCounter` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DiagnosticCounter : System.IDisposable { public void AddMetadata(string key, string value) => throw null; @@ -18,7 +18,7 @@ namespace System public string Name { get => throw null; } } - // Generated from `System.Diagnostics.Tracing.EventActivityOptions` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventActivityOptions` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventActivityOptions : int { @@ -28,7 +28,7 @@ namespace System Recursive = 4, } - // Generated from `System.Diagnostics.Tracing.EventAttribute` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventAttribute` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventAttribute : System.Attribute { public System.Diagnostics.Tracing.EventActivityOptions ActivityOptions { get => throw null; set => throw null; } @@ -44,7 +44,7 @@ namespace System public System.Byte Version { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Tracing.EventChannel` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventChannel` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventChannel : byte { Admin = 16, @@ -54,7 +54,7 @@ namespace System Operational = 17, } - // Generated from `System.Diagnostics.Tracing.EventCommand` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventCommand` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventCommand : int { Disable = -3, @@ -63,7 +63,7 @@ namespace System Update = 0, } - // Generated from `System.Diagnostics.Tracing.EventCommandEventArgs` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventCommandEventArgs` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventCommandEventArgs : System.EventArgs { public System.Collections.Generic.IDictionary Arguments { get => throw null; } @@ -72,7 +72,7 @@ namespace System public bool EnableEvent(int eventId) => throw null; } - // Generated from `System.Diagnostics.Tracing.EventCounter` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventCounter` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventCounter : System.Diagnostics.Tracing.DiagnosticCounter { public EventCounter(string name, System.Diagnostics.Tracing.EventSource eventSource) => throw null; @@ -81,14 +81,14 @@ namespace System public void WriteMetric(float value) => throw null; } - // Generated from `System.Diagnostics.Tracing.EventDataAttribute` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventDataAttribute` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventDataAttribute : System.Attribute { public EventDataAttribute() => throw null; public string Name { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Tracing.EventFieldAttribute` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventFieldAttribute` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventFieldAttribute : System.Attribute { public EventFieldAttribute() => throw null; @@ -96,7 +96,7 @@ namespace System public System.Diagnostics.Tracing.EventFieldTags Tags { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Tracing.EventFieldFormat` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventFieldFormat` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventFieldFormat : int { Boolean = 3, @@ -108,20 +108,20 @@ namespace System Xml = 11, } - // Generated from `System.Diagnostics.Tracing.EventFieldTags` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventFieldTags` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventFieldTags : int { None = 0, } - // Generated from `System.Diagnostics.Tracing.EventIgnoreAttribute` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventIgnoreAttribute` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventIgnoreAttribute : System.Attribute { public EventIgnoreAttribute() => throw null; } - // Generated from `System.Diagnostics.Tracing.EventKeywords` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventKeywords` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventKeywords : long { @@ -137,7 +137,7 @@ namespace System WdiDiagnostic = 1125899906842624, } - // Generated from `System.Diagnostics.Tracing.EventLevel` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventLevel` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventLevel : int { Critical = 1, @@ -148,7 +148,7 @@ namespace System Warning = 3, } - // Generated from `System.Diagnostics.Tracing.EventListener` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventListener` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EventListener : System.IDisposable { public void DisableEvents(System.Diagnostics.Tracing.EventSource eventSource) => throw null; @@ -164,7 +164,7 @@ namespace System protected internal virtual void OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs eventData) => throw null; } - // Generated from `System.Diagnostics.Tracing.EventManifestOptions` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventManifestOptions` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventManifestOptions : int { @@ -175,7 +175,7 @@ namespace System Strict = 1, } - // Generated from `System.Diagnostics.Tracing.EventOpcode` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventOpcode` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventOpcode : int { DataCollectionStart = 3, @@ -191,10 +191,10 @@ namespace System Suspend = 8, } - // Generated from `System.Diagnostics.Tracing.EventSource` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventSource` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventSource : System.IDisposable { - // Generated from `System.Diagnostics.Tracing.EventSource+EventData` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventSource+EventData` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` protected internal struct EventData { public System.IntPtr DataPointer { get => throw null; set => throw null; } @@ -262,7 +262,7 @@ namespace System // ERR: Stub generator didn't handle member: ~EventSource } - // Generated from `System.Diagnostics.Tracing.EventSourceAttribute` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventSourceAttribute` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventSourceAttribute : System.Attribute { public EventSourceAttribute() => throw null; @@ -271,14 +271,14 @@ namespace System public string Name { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Tracing.EventSourceCreatedEventArgs` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventSourceCreatedEventArgs` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventSourceCreatedEventArgs : System.EventArgs { public System.Diagnostics.Tracing.EventSource EventSource { get => throw null; } public EventSourceCreatedEventArgs() => throw null; } - // Generated from `System.Diagnostics.Tracing.EventSourceException` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventSourceException` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventSourceException : System.Exception { public EventSourceException() => throw null; @@ -287,7 +287,7 @@ namespace System public EventSourceException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Diagnostics.Tracing.EventSourceOptions` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventSourceOptions` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EventSourceOptions { public System.Diagnostics.Tracing.EventActivityOptions ActivityOptions { get => throw null; set => throw null; } @@ -298,7 +298,7 @@ namespace System public System.Diagnostics.Tracing.EventTags Tags { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Tracing.EventSourceSettings` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventSourceSettings` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventSourceSettings : int { @@ -308,20 +308,20 @@ namespace System ThrowOnEventWriteErrors = 1, } - // Generated from `System.Diagnostics.Tracing.EventTags` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventTags` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventTags : int { None = 0, } - // Generated from `System.Diagnostics.Tracing.EventTask` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventTask` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventTask : int { None = 0, } - // Generated from `System.Diagnostics.Tracing.EventWrittenEventArgs` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.EventWrittenEventArgs` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventWrittenEventArgs : System.EventArgs { public System.Guid ActivityId { get => throw null; } @@ -343,7 +343,7 @@ namespace System public System.Byte Version { get => throw null; } } - // Generated from `System.Diagnostics.Tracing.IncrementingEventCounter` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.IncrementingEventCounter` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IncrementingEventCounter : System.Diagnostics.Tracing.DiagnosticCounter { public System.TimeSpan DisplayRateTimeScale { get => throw null; set => throw null; } @@ -352,7 +352,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Diagnostics.Tracing.IncrementingPollingCounter` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.IncrementingPollingCounter` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IncrementingPollingCounter : System.Diagnostics.Tracing.DiagnosticCounter { public System.TimeSpan DisplayRateTimeScale { get => throw null; set => throw null; } @@ -360,13 +360,13 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Diagnostics.Tracing.NonEventAttribute` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.NonEventAttribute` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NonEventAttribute : System.Attribute { public NonEventAttribute() => throw null; } - // Generated from `System.Diagnostics.Tracing.PollingCounter` in `System.Diagnostics.Tracing, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Tracing.PollingCounter` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PollingCounter : System.Diagnostics.Tracing.DiagnosticCounter { public PollingCounter(string name, System.Diagnostics.Tracing.EventSource eventSource, System.Func metricProvider) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Drawing.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Drawing.Primitives.cs index 6fe715a2059..78314cb9c89 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Drawing.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Drawing.Primitives.cs @@ -4,7 +4,7 @@ namespace System { namespace Drawing { - // Generated from `System.Drawing.Color` in `System.Drawing.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.Color` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Color : System.IEquatable { public static bool operator !=(System.Drawing.Color left, System.Drawing.Color right) => throw null; @@ -179,7 +179,7 @@ namespace System public static System.Drawing.Color YellowGreen { get => throw null; } } - // Generated from `System.Drawing.ColorTranslator` in `System.Drawing.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.ColorTranslator` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ColorTranslator { public static System.Drawing.Color FromHtml(string htmlColor) => throw null; @@ -190,7 +190,7 @@ namespace System public static int ToWin32(System.Drawing.Color c) => throw null; } - // Generated from `System.Drawing.KnownColor` in `System.Drawing.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.KnownColor` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum KnownColor : int { ActiveBorder = 1, @@ -370,7 +370,7 @@ namespace System YellowGreen = 167, } - // Generated from `System.Drawing.Point` in `System.Drawing.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.Point` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Point : System.IEquatable { public static bool operator !=(System.Drawing.Point left, System.Drawing.Point right) => throw null; @@ -400,7 +400,7 @@ namespace System public static implicit operator System.Drawing.PointF(System.Drawing.Point p) => throw null; } - // Generated from `System.Drawing.PointF` in `System.Drawing.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.PointF` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PointF : System.IEquatable { public static bool operator !=(System.Drawing.PointF left, System.Drawing.PointF right) => throw null; @@ -429,7 +429,7 @@ namespace System public static explicit operator System.Drawing.PointF(System.Numerics.Vector2 vector) => throw null; } - // Generated from `System.Drawing.Rectangle` in `System.Drawing.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.Rectangle` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Rectangle : System.IEquatable { public static bool operator !=(System.Drawing.Rectangle left, System.Drawing.Rectangle right) => throw null; @@ -471,7 +471,7 @@ namespace System public int Y { get => throw null; set => throw null; } } - // Generated from `System.Drawing.RectangleF` in `System.Drawing.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.RectangleF` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct RectangleF : System.IEquatable { public static bool operator !=(System.Drawing.RectangleF left, System.Drawing.RectangleF right) => throw null; @@ -515,7 +515,7 @@ namespace System public static implicit operator System.Drawing.RectangleF(System.Drawing.Rectangle r) => throw null; } - // Generated from `System.Drawing.Size` in `System.Drawing.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.Size` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Size : System.IEquatable { public static bool operator !=(System.Drawing.Size sz1, System.Drawing.Size sz2) => throw null; @@ -548,7 +548,7 @@ namespace System public static implicit operator System.Drawing.SizeF(System.Drawing.Size p) => throw null; } - // Generated from `System.Drawing.SizeF` in `System.Drawing.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.SizeF` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SizeF : System.IEquatable { public static bool operator !=(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) => throw null; @@ -581,7 +581,7 @@ namespace System public static explicit operator System.Drawing.SizeF(System.Numerics.Vector2 vector) => throw null; } - // Generated from `System.Drawing.SystemColors` in `System.Drawing.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Drawing.SystemColors` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class SystemColors { public static System.Drawing.Color ActiveBorder { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Asn1.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Asn1.cs index 2c48ec46956..47c7cba9b26 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Asn1.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Asn1.cs @@ -6,7 +6,7 @@ namespace System { namespace Asn1 { - // Generated from `System.Formats.Asn1.Asn1Tag` in `System.Formats.Asn1, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Formats.Asn1.Asn1Tag` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Asn1Tag : System.IEquatable { public static bool operator !=(System.Formats.Asn1.Asn1Tag left, System.Formats.Asn1.Asn1Tag right) => throw null; @@ -44,7 +44,7 @@ namespace System public static System.Formats.Asn1.Asn1Tag UtcTime; } - // Generated from `System.Formats.Asn1.AsnContentException` in `System.Formats.Asn1, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Formats.Asn1.AsnContentException` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class AsnContentException : System.Exception { public AsnContentException() => throw null; @@ -53,7 +53,7 @@ namespace System public AsnContentException(string message, System.Exception inner) => throw null; } - // Generated from `System.Formats.Asn1.AsnDecoder` in `System.Formats.Asn1, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Formats.Asn1.AsnDecoder` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class AsnDecoder { public static System.Byte[] ReadBitString(System.ReadOnlySpan source, System.Formats.Asn1.AsnEncodingRules ruleSet, out int unusedBitCount, out int bytesConsumed, System.Formats.Asn1.Asn1Tag? expectedTag = default(System.Formats.Asn1.Asn1Tag?)) => throw null; @@ -89,7 +89,7 @@ namespace System public static bool TryReadUInt64(System.ReadOnlySpan source, System.Formats.Asn1.AsnEncodingRules ruleSet, out System.UInt64 value, out int bytesConsumed, System.Formats.Asn1.Asn1Tag? expectedTag = default(System.Formats.Asn1.Asn1Tag?)) => throw null; } - // Generated from `System.Formats.Asn1.AsnEncodingRules` in `System.Formats.Asn1, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Formats.Asn1.AsnEncodingRules` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum AsnEncodingRules : int { BER = 0, @@ -97,7 +97,7 @@ namespace System DER = 2, } - // Generated from `System.Formats.Asn1.AsnReader` in `System.Formats.Asn1, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Formats.Asn1.AsnReader` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class AsnReader { public AsnReader(System.ReadOnlyMemory data, System.Formats.Asn1.AsnEncodingRules ruleSet, System.Formats.Asn1.AsnReaderOptions options = default(System.Formats.Asn1.AsnReaderOptions)) => throw null; @@ -141,7 +141,7 @@ namespace System public bool TryReadUInt64(out System.UInt64 value, System.Formats.Asn1.Asn1Tag? expectedTag = default(System.Formats.Asn1.Asn1Tag?)) => throw null; } - // Generated from `System.Formats.Asn1.AsnReaderOptions` in `System.Formats.Asn1, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Formats.Asn1.AsnReaderOptions` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct AsnReaderOptions { // Stub generator skipped constructor @@ -149,10 +149,10 @@ namespace System public int UtcTimeTwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Formats.Asn1.AsnWriter` in `System.Formats.Asn1, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Formats.Asn1.AsnWriter` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class AsnWriter { - // Generated from `System.Formats.Asn1.AsnWriter+Scope` in `System.Formats.Asn1, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Formats.Asn1.AsnWriter+Scope` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Scope : System.IDisposable { public void Dispose() => throw null; @@ -161,6 +161,7 @@ namespace System public AsnWriter(System.Formats.Asn1.AsnEncodingRules ruleSet) => throw null; + public AsnWriter(System.Formats.Asn1.AsnEncodingRules ruleSet, int initialCapacity) => throw null; public void CopyTo(System.Formats.Asn1.AsnWriter destination) => throw null; public System.Byte[] Encode() => throw null; public int Encode(System.Span destination) => throw null; @@ -200,7 +201,7 @@ namespace System public void WriteUtcTime(System.DateTimeOffset value, int twoDigitYearMax, System.Formats.Asn1.Asn1Tag? tag = default(System.Formats.Asn1.Asn1Tag?)) => throw null; } - // Generated from `System.Formats.Asn1.TagClass` in `System.Formats.Asn1, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Formats.Asn1.TagClass` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum TagClass : int { Application = 64, @@ -209,7 +210,7 @@ namespace System Universal = 0, } - // Generated from `System.Formats.Asn1.UniversalTagNumber` in `System.Formats.Asn1, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Formats.Asn1.UniversalTagNumber` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum UniversalTagNumber : int { BMPString = 30, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Tar.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Tar.cs new file mode 100644 index 00000000000..6c4f145b94b --- /dev/null +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Tar.cs @@ -0,0 +1,151 @@ +// This file contains auto-generated code. + +namespace System +{ + namespace Formats + { + namespace Tar + { + // Generated from `System.Formats.Tar.GnuTarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class GnuTarEntry : System.Formats.Tar.PosixTarEntry + { + public System.DateTimeOffset AccessTime { get => throw null; set => throw null; } + public System.DateTimeOffset ChangeTime { get => throw null; set => throw null; } + public GnuTarEntry(System.Formats.Tar.TarEntry other) => throw null; + public GnuTarEntry(System.Formats.Tar.TarEntryType entryType, string entryName) => throw null; + } + + // Generated from `System.Formats.Tar.PaxGlobalExtendedAttributesTarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class PaxGlobalExtendedAttributesTarEntry : System.Formats.Tar.PosixTarEntry + { + public System.Collections.Generic.IReadOnlyDictionary GlobalExtendedAttributes { get => throw null; } + public PaxGlobalExtendedAttributesTarEntry(System.Collections.Generic.IEnumerable> globalExtendedAttributes) => throw null; + } + + // Generated from `System.Formats.Tar.PaxTarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class PaxTarEntry : System.Formats.Tar.PosixTarEntry + { + public System.Collections.Generic.IReadOnlyDictionary ExtendedAttributes { get => throw null; } + public PaxTarEntry(System.Formats.Tar.TarEntry other) => throw null; + public PaxTarEntry(System.Formats.Tar.TarEntryType entryType, string entryName) => throw null; + public PaxTarEntry(System.Formats.Tar.TarEntryType entryType, string entryName, System.Collections.Generic.IEnumerable> extendedAttributes) => throw null; + } + + // Generated from `System.Formats.Tar.PosixTarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public abstract class PosixTarEntry : System.Formats.Tar.TarEntry + { + public int DeviceMajor { get => throw null; set => throw null; } + public int DeviceMinor { get => throw null; set => throw null; } + public string GroupName { get => throw null; set => throw null; } + internal PosixTarEntry() => throw null; + public string UserName { get => throw null; set => throw null; } + } + + // Generated from `System.Formats.Tar.TarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public abstract class TarEntry + { + public int Checksum { get => throw null; } + public System.IO.Stream DataStream { get => throw null; set => throw null; } + public System.Formats.Tar.TarEntryType EntryType { get => throw null; } + public void ExtractToFile(string destinationFileName, bool overwrite) => throw null; + public System.Threading.Tasks.Task ExtractToFileAsync(string destinationFileName, bool overwrite, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Formats.Tar.TarEntryFormat Format { get => throw null; } + public int Gid { get => throw null; set => throw null; } + public System.Int64 Length { get => throw null; } + public string LinkName { get => throw null; set => throw null; } + public System.IO.UnixFileMode Mode { get => throw null; set => throw null; } + public System.DateTimeOffset ModificationTime { get => throw null; set => throw null; } + public string Name { get => throw null; set => throw null; } + internal TarEntry() => throw null; + public override string ToString() => throw null; + public int Uid { get => throw null; set => throw null; } + } + + // Generated from `System.Formats.Tar.TarEntryFormat` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public enum TarEntryFormat : int + { + Gnu = 4, + Pax = 3, + Unknown = 0, + Ustar = 2, + V7 = 1, + } + + // Generated from `System.Formats.Tar.TarEntryType` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public enum TarEntryType : byte + { + BlockDevice = 52, + CharacterDevice = 51, + ContiguousFile = 55, + Directory = 53, + DirectoryList = 68, + ExtendedAttributes = 120, + Fifo = 54, + GlobalExtendedAttributes = 103, + HardLink = 49, + LongLink = 75, + LongPath = 76, + MultiVolume = 77, + RegularFile = 48, + RenamedOrSymlinked = 78, + SparseFile = 83, + SymbolicLink = 50, + TapeVolume = 86, + V7RegularFile = 0, + } + + // Generated from `System.Formats.Tar.TarFile` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public static class TarFile + { + public static void CreateFromDirectory(string sourceDirectoryName, System.IO.Stream destination, bool includeBaseDirectory) => throw null; + public static void CreateFromDirectory(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory) => throw null; + public static System.Threading.Tasks.Task CreateFromDirectoryAsync(string sourceDirectoryName, System.IO.Stream destination, bool includeBaseDirectory, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task CreateFromDirectoryAsync(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static void ExtractToDirectory(System.IO.Stream source, string destinationDirectoryName, bool overwriteFiles) => throw null; + public static void ExtractToDirectory(string sourceFileName, string destinationDirectoryName, bool overwriteFiles) => throw null; + public static System.Threading.Tasks.Task ExtractToDirectoryAsync(System.IO.Stream source, string destinationDirectoryName, bool overwriteFiles, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task ExtractToDirectoryAsync(string sourceFileName, string destinationDirectoryName, bool overwriteFiles, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + + // Generated from `System.Formats.Tar.TarReader` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class TarReader : System.IAsyncDisposable, System.IDisposable + { + public void Dispose() => throw null; + public System.Threading.Tasks.ValueTask DisposeAsync() => throw null; + public System.Formats.Tar.TarEntry GetNextEntry(bool copyData = default(bool)) => throw null; + public System.Threading.Tasks.ValueTask GetNextEntryAsync(bool copyData = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public TarReader(System.IO.Stream archiveStream, bool leaveOpen = default(bool)) => throw null; + } + + // Generated from `System.Formats.Tar.TarWriter` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class TarWriter : System.IAsyncDisposable, System.IDisposable + { + public void Dispose() => throw null; + public System.Threading.Tasks.ValueTask DisposeAsync() => throw null; + public System.Formats.Tar.TarEntryFormat Format { get => throw null; } + public TarWriter(System.IO.Stream archiveStream) => throw null; + public TarWriter(System.IO.Stream archiveStream, System.Formats.Tar.TarEntryFormat format = default(System.Formats.Tar.TarEntryFormat), bool leaveOpen = default(bool)) => throw null; + public TarWriter(System.IO.Stream archiveStream, bool leaveOpen = default(bool)) => throw null; + public void WriteEntry(System.Formats.Tar.TarEntry entry) => throw null; + public void WriteEntry(string fileName, string entryName) => throw null; + public System.Threading.Tasks.Task WriteEntryAsync(System.Formats.Tar.TarEntry entry, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Threading.Tasks.Task WriteEntryAsync(string fileName, string entryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + + // Generated from `System.Formats.Tar.UstarTarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class UstarTarEntry : System.Formats.Tar.PosixTarEntry + { + public UstarTarEntry(System.Formats.Tar.TarEntry other) => throw null; + public UstarTarEntry(System.Formats.Tar.TarEntryType entryType, string entryName) => throw null; + } + + // Generated from `System.Formats.Tar.V7TarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class V7TarEntry : System.Formats.Tar.TarEntry + { + public V7TarEntry(System.Formats.Tar.TarEntry other) => throw null; + public V7TarEntry(System.Formats.Tar.TarEntryType entryType, string entryName) => throw null; + } + + } + } +} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.Brotli.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.Brotli.cs index e33f82838c0..c9a47f6c80d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.Brotli.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.Brotli.cs @@ -6,7 +6,7 @@ namespace System { namespace Compression { - // Generated from `System.IO.Compression.BrotliDecoder` in `System.IO.Compression.Brotli, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` + // Generated from `System.IO.Compression.BrotliDecoder` in `System.IO.Compression.Brotli, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public struct BrotliDecoder : System.IDisposable { // Stub generator skipped constructor @@ -15,7 +15,7 @@ namespace System public static bool TryDecompress(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.IO.Compression.BrotliEncoder` in `System.IO.Compression.Brotli, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` + // Generated from `System.IO.Compression.BrotliEncoder` in `System.IO.Compression.Brotli, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public struct BrotliEncoder : System.IDisposable { // Stub generator skipped constructor @@ -28,7 +28,7 @@ namespace System public static bool TryCompress(System.ReadOnlySpan source, System.Span destination, out int bytesWritten, int quality, int window) => throw null; } - // Generated from `System.IO.Compression.BrotliStream` in `System.IO.Compression.Brotli, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` + // Generated from `System.IO.Compression.BrotliStream` in `System.IO.Compression.Brotli, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public class BrotliStream : System.IO.Stream { public System.IO.Stream BaseStream { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.ZipFile.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.ZipFile.cs index e1b983b8182..1a8b3033c5a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.ZipFile.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.ZipFile.cs @@ -6,7 +6,7 @@ namespace System { namespace Compression { - // Generated from `System.IO.Compression.ZipFile` in `System.IO.Compression.ZipFile, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` + // Generated from `System.IO.Compression.ZipFile` in `System.IO.Compression.ZipFile, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public static class ZipFile { public static void CreateFromDirectory(string sourceDirectoryName, string destinationArchiveFileName) => throw null; @@ -21,7 +21,7 @@ namespace System public static System.IO.Compression.ZipArchive OpenRead(string archiveFileName) => throw null; } - // Generated from `System.IO.Compression.ZipFileExtensions` in `System.IO.Compression.ZipFile, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` + // Generated from `System.IO.Compression.ZipFileExtensions` in `System.IO.Compression.ZipFile, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public static class ZipFileExtensions { public static System.IO.Compression.ZipArchiveEntry CreateEntryFromFile(this System.IO.Compression.ZipArchive destination, string sourceFileName, string entryName) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.cs index 5d7bca00fc6..16fcf638b55 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.cs @@ -6,7 +6,7 @@ namespace System { namespace Compression { - // Generated from `System.IO.Compression.CompressionLevel` in `System.IO.Compression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` + // Generated from `System.IO.Compression.CompressionLevel` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public enum CompressionLevel : int { Fastest = 1, @@ -15,14 +15,14 @@ namespace System SmallestSize = 3, } - // Generated from `System.IO.Compression.CompressionMode` in `System.IO.Compression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` + // Generated from `System.IO.Compression.CompressionMode` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public enum CompressionMode : int { Compress = 1, Decompress = 0, } - // Generated from `System.IO.Compression.DeflateStream` in `System.IO.Compression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` + // Generated from `System.IO.Compression.DeflateStream` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public class DeflateStream : System.IO.Stream { public System.IO.Stream BaseStream { get => throw null; } @@ -56,9 +56,10 @@ namespace System public override void Write(System.ReadOnlySpan buffer) => throw null; public override System.Threading.Tasks.Task WriteAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) => throw null; public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override void WriteByte(System.Byte value) => throw null; } - // Generated from `System.IO.Compression.GZipStream` in `System.IO.Compression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` + // Generated from `System.IO.Compression.GZipStream` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public class GZipStream : System.IO.Stream { public System.IO.Stream BaseStream { get => throw null; } @@ -92,9 +93,10 @@ namespace System public override void Write(System.ReadOnlySpan buffer) => throw null; public override System.Threading.Tasks.Task WriteAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) => throw null; public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override void WriteByte(System.Byte value) => throw null; } - // Generated from `System.IO.Compression.ZLibStream` in `System.IO.Compression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` + // Generated from `System.IO.Compression.ZLibStream` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public class ZLibStream : System.IO.Stream { public System.IO.Stream BaseStream { get => throw null; } @@ -131,9 +133,10 @@ namespace System public ZLibStream(System.IO.Stream stream, System.IO.Compression.CompressionMode mode, bool leaveOpen) => throw null; } - // Generated from `System.IO.Compression.ZipArchive` in `System.IO.Compression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` + // Generated from `System.IO.Compression.ZipArchive` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public class ZipArchive : System.IDisposable { + public string Comment { get => throw null; set => throw null; } public System.IO.Compression.ZipArchiveEntry CreateEntry(string entryName) => throw null; public System.IO.Compression.ZipArchiveEntry CreateEntry(string entryName, System.IO.Compression.CompressionLevel compressionLevel) => throw null; public void Dispose() => throw null; @@ -147,15 +150,17 @@ namespace System public ZipArchive(System.IO.Stream stream, System.IO.Compression.ZipArchiveMode mode, bool leaveOpen, System.Text.Encoding entryNameEncoding) => throw null; } - // Generated from `System.IO.Compression.ZipArchiveEntry` in `System.IO.Compression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` + // Generated from `System.IO.Compression.ZipArchiveEntry` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public class ZipArchiveEntry { public System.IO.Compression.ZipArchive Archive { get => throw null; } + public string Comment { get => throw null; set => throw null; } public System.Int64 CompressedLength { get => throw null; } public System.UInt32 Crc32 { get => throw null; } public void Delete() => throw null; public int ExternalAttributes { get => throw null; set => throw null; } public string FullName { get => throw null; } + public bool IsEncrypted { get => throw null; } public System.DateTimeOffset LastWriteTime { get => throw null; set => throw null; } public System.Int64 Length { get => throw null; } public string Name { get => throw null; } @@ -163,7 +168,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.IO.Compression.ZipArchiveMode` in `System.IO.Compression, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` + // Generated from `System.IO.Compression.ZipArchiveMode` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public enum ZipArchiveMode : int { Create = 1, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.AccessControl.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.AccessControl.cs index 9c4becadf63..51853647bdc 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.AccessControl.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.AccessControl.cs @@ -4,7 +4,7 @@ namespace System { namespace IO { - // Generated from `System.IO.FileSystemAclExtensions` in `System.IO.FileSystem.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileSystemAclExtensions` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class FileSystemAclExtensions { public static void Create(this System.IO.DirectoryInfo directoryInfo, System.Security.AccessControl.DirectorySecurity directorySecurity) => throw null; @@ -25,7 +25,7 @@ namespace System { namespace AccessControl { - // Generated from `System.Security.AccessControl.DirectoryObjectSecurity` in `System.IO.FileSystem.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.DirectoryObjectSecurity` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DirectoryObjectSecurity : System.Security.AccessControl.ObjectSecurity { public virtual System.Security.AccessControl.AccessRule AccessRuleFactory(System.Security.Principal.IdentityReference identityReference, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type, System.Guid objectType, System.Guid inheritedObjectType) => throw null; @@ -49,21 +49,21 @@ namespace System protected void SetAuditRule(System.Security.AccessControl.ObjectAuditRule rule) => throw null; } - // Generated from `System.Security.AccessControl.DirectorySecurity` in `System.IO.FileSystem.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.DirectorySecurity` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DirectorySecurity : System.Security.AccessControl.FileSystemSecurity { public DirectorySecurity() => throw null; public DirectorySecurity(string name, System.Security.AccessControl.AccessControlSections includeSections) => throw null; } - // Generated from `System.Security.AccessControl.FileSecurity` in `System.IO.FileSystem.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.FileSecurity` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSecurity : System.Security.AccessControl.FileSystemSecurity { public FileSecurity() => throw null; public FileSecurity(string fileName, System.Security.AccessControl.AccessControlSections includeSections) => throw null; } - // Generated from `System.Security.AccessControl.FileSystemAccessRule` in `System.IO.FileSystem.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.FileSystemAccessRule` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystemAccessRule : System.Security.AccessControl.AccessRule { public FileSystemAccessRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.FileSystemRights fileSystemRights, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AccessControlType)) => throw null; @@ -73,7 +73,7 @@ namespace System public System.Security.AccessControl.FileSystemRights FileSystemRights { get => throw null; } } - // Generated from `System.Security.AccessControl.FileSystemAuditRule` in `System.IO.FileSystem.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.FileSystemAuditRule` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystemAuditRule : System.Security.AccessControl.AuditRule { public FileSystemAuditRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.FileSystemRights fileSystemRights, System.Security.AccessControl.AuditFlags flags) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AuditFlags)) => throw null; @@ -83,7 +83,7 @@ namespace System public System.Security.AccessControl.FileSystemRights FileSystemRights { get => throw null; } } - // Generated from `System.Security.AccessControl.FileSystemRights` in `System.IO.FileSystem.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.FileSystemRights` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FileSystemRights : int { @@ -112,7 +112,7 @@ namespace System WriteExtendedAttributes = 16, } - // Generated from `System.Security.AccessControl.FileSystemSecurity` in `System.IO.FileSystem.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.FileSystemSecurity` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class FileSystemSecurity : System.Security.AccessControl.NativeObjectSecurity { public override System.Type AccessRightType { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.DriveInfo.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.DriveInfo.cs index df4b006e111..3be648e388b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.DriveInfo.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.DriveInfo.cs @@ -4,7 +4,7 @@ namespace System { namespace IO { - // Generated from `System.IO.DriveInfo` in `System.IO.FileSystem.DriveInfo, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.DriveInfo` in `System.IO.FileSystem.DriveInfo, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DriveInfo : System.Runtime.Serialization.ISerializable { public System.Int64 AvailableFreeSpace { get => throw null; } @@ -22,7 +22,7 @@ namespace System public string VolumeLabel { get => throw null; set => throw null; } } - // Generated from `System.IO.DriveNotFoundException` in `System.IO.FileSystem.DriveInfo, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.DriveNotFoundException` in `System.IO.FileSystem.DriveInfo, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DriveNotFoundException : System.IO.IOException { public DriveNotFoundException() => throw null; @@ -31,7 +31,7 @@ namespace System public DriveNotFoundException(string message, System.Exception innerException) => throw null; } - // Generated from `System.IO.DriveType` in `System.IO.FileSystem.DriveInfo, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.DriveType` in `System.IO.FileSystem.DriveInfo, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DriveType : int { CDRom = 5, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.Watcher.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.Watcher.cs index 298ab86edfa..e48bfe2c701 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.Watcher.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.Watcher.cs @@ -4,17 +4,17 @@ namespace System { namespace IO { - // Generated from `System.IO.ErrorEventArgs` in `System.IO.FileSystem.Watcher, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.ErrorEventArgs` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ErrorEventArgs : System.EventArgs { public ErrorEventArgs(System.Exception exception) => throw null; public virtual System.Exception GetException() => throw null; } - // Generated from `System.IO.ErrorEventHandler` in `System.IO.FileSystem.Watcher, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.ErrorEventHandler` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ErrorEventHandler(object sender, System.IO.ErrorEventArgs e); - // Generated from `System.IO.FileSystemEventArgs` in `System.IO.FileSystem.Watcher, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileSystemEventArgs` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystemEventArgs : System.EventArgs { public System.IO.WatcherChangeTypes ChangeType { get => throw null; } @@ -23,10 +23,10 @@ namespace System public string Name { get => throw null; } } - // Generated from `System.IO.FileSystemEventHandler` in `System.IO.FileSystem.Watcher, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileSystemEventHandler` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void FileSystemEventHandler(object sender, System.IO.FileSystemEventArgs e); - // Generated from `System.IO.FileSystemWatcher` in `System.IO.FileSystem.Watcher, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileSystemWatcher` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystemWatcher : System.ComponentModel.Component, System.ComponentModel.ISupportInitialize { public void BeginInit() => throw null; @@ -55,10 +55,11 @@ namespace System public override System.ComponentModel.ISite Site { get => throw null; set => throw null; } public System.ComponentModel.ISynchronizeInvoke SynchronizingObject { get => throw null; set => throw null; } public System.IO.WaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType) => throw null; + public System.IO.WaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType, System.TimeSpan timeout) => throw null; public System.IO.WaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType, int timeout) => throw null; } - // Generated from `System.IO.InternalBufferOverflowException` in `System.IO.FileSystem.Watcher, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.InternalBufferOverflowException` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InternalBufferOverflowException : System.SystemException { public InternalBufferOverflowException() => throw null; @@ -67,7 +68,7 @@ namespace System public InternalBufferOverflowException(string message, System.Exception inner) => throw null; } - // Generated from `System.IO.NotifyFilters` in `System.IO.FileSystem.Watcher, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.NotifyFilters` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum NotifyFilters : int { @@ -81,7 +82,7 @@ namespace System Size = 8, } - // Generated from `System.IO.RenamedEventArgs` in `System.IO.FileSystem.Watcher, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.RenamedEventArgs` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RenamedEventArgs : System.IO.FileSystemEventArgs { public string OldFullPath { get => throw null; } @@ -89,10 +90,10 @@ namespace System public RenamedEventArgs(System.IO.WatcherChangeTypes changeType, string directory, string name, string oldName) : base(default(System.IO.WatcherChangeTypes), default(string), default(string)) => throw null; } - // Generated from `System.IO.RenamedEventHandler` in `System.IO.FileSystem.Watcher, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.RenamedEventHandler` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void RenamedEventHandler(object sender, System.IO.RenamedEventArgs e); - // Generated from `System.IO.WaitForChangedResult` in `System.IO.FileSystem.Watcher, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.WaitForChangedResult` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct WaitForChangedResult { public System.IO.WatcherChangeTypes ChangeType { get => throw null; set => throw null; } @@ -102,7 +103,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.IO.WatcherChangeTypes` in `System.IO.FileSystem.Watcher, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.WatcherChangeTypes` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum WatcherChangeTypes : int { diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.IsolatedStorage.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.IsolatedStorage.cs index bf01af848e9..0aa275b0f22 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.IsolatedStorage.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.IsolatedStorage.cs @@ -6,13 +6,13 @@ namespace System { namespace IsolatedStorage { - // Generated from `System.IO.IsolatedStorage.INormalizeForIsolatedStorage` in `System.IO.IsolatedStorage, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.IsolatedStorage.INormalizeForIsolatedStorage` in `System.IO.IsolatedStorage, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INormalizeForIsolatedStorage { object Normalize(); } - // Generated from `System.IO.IsolatedStorage.IsolatedStorage` in `System.IO.IsolatedStorage, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.IsolatedStorage.IsolatedStorage` in `System.IO.IsolatedStorage, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IsolatedStorage : System.MarshalByRefObject { public object ApplicationIdentity { get => throw null; } @@ -33,7 +33,7 @@ namespace System public virtual System.Int64 UsedSize { get => throw null; } } - // Generated from `System.IO.IsolatedStorage.IsolatedStorageException` in `System.IO.IsolatedStorage, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.IsolatedStorage.IsolatedStorageException` in `System.IO.IsolatedStorage, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IsolatedStorageException : System.Exception { public IsolatedStorageException() => throw null; @@ -42,7 +42,7 @@ namespace System public IsolatedStorageException(string message, System.Exception inner) => throw null; } - // Generated from `System.IO.IsolatedStorage.IsolatedStorageFile` in `System.IO.IsolatedStorage, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.IsolatedStorage.IsolatedStorageFile` in `System.IO.IsolatedStorage, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IsolatedStorageFile : System.IO.IsolatedStorage.IsolatedStorage, System.IDisposable { public override System.Int64 AvailableFreeSpace { get => throw null; } @@ -90,7 +90,7 @@ namespace System public override System.Int64 UsedSize { get => throw null; } } - // Generated from `System.IO.IsolatedStorage.IsolatedStorageFileStream` in `System.IO.IsolatedStorage, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.IsolatedStorage.IsolatedStorageFileStream` in `System.IO.IsolatedStorage, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IsolatedStorageFileStream : System.IO.FileStream { public override System.IAsyncResult BeginRead(System.Byte[] array, int offset, int numBytes, System.AsyncCallback userCallback, object stateObject) => throw null; @@ -134,7 +134,7 @@ namespace System public override void WriteByte(System.Byte value) => throw null; } - // Generated from `System.IO.IsolatedStorage.IsolatedStorageScope` in `System.IO.IsolatedStorage, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.IsolatedStorage.IsolatedStorageScope` in `System.IO.IsolatedStorage, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum IsolatedStorageScope : int { diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.MemoryMappedFiles.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.MemoryMappedFiles.cs index f0c049e01b3..30f085e55ff 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.MemoryMappedFiles.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.MemoryMappedFiles.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace SafeHandles { - // Generated from `Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle` in `System.IO.MemoryMappedFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeMemoryMappedFileHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { public override bool IsInvalid { get => throw null; } @@ -14,7 +14,7 @@ namespace Microsoft public SafeMemoryMappedFileHandle() : base(default(bool)) => throw null; } - // Generated from `Microsoft.Win32.SafeHandles.SafeMemoryMappedViewHandle` in `System.IO.MemoryMappedFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.SafeHandles.SafeMemoryMappedViewHandle` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeMemoryMappedViewHandle : System.Runtime.InteropServices.SafeBuffer { protected override bool ReleaseHandle() => throw null; @@ -30,7 +30,7 @@ namespace System { namespace MemoryMappedFiles { - // Generated from `System.IO.MemoryMappedFiles.MemoryMappedFile` in `System.IO.MemoryMappedFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.MemoryMappedFiles.MemoryMappedFile` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemoryMappedFile : System.IDisposable { public static System.IO.MemoryMappedFiles.MemoryMappedFile CreateFromFile(System.IO.FileStream fileStream, string mapName, System.Int64 capacity, System.IO.MemoryMappedFiles.MemoryMappedFileAccess access, System.IO.HandleInheritability inheritability, bool leaveOpen) => throw null; @@ -59,7 +59,7 @@ namespace System public Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle SafeMemoryMappedFileHandle { get => throw null; } } - // Generated from `System.IO.MemoryMappedFiles.MemoryMappedFileAccess` in `System.IO.MemoryMappedFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.MemoryMappedFiles.MemoryMappedFileAccess` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MemoryMappedFileAccess : int { CopyOnWrite = 3, @@ -70,7 +70,7 @@ namespace System Write = 2, } - // Generated from `System.IO.MemoryMappedFiles.MemoryMappedFileOptions` in `System.IO.MemoryMappedFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.MemoryMappedFiles.MemoryMappedFileOptions` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MemoryMappedFileOptions : int { @@ -78,7 +78,7 @@ namespace System None = 0, } - // Generated from `System.IO.MemoryMappedFiles.MemoryMappedFileRights` in `System.IO.MemoryMappedFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.MemoryMappedFiles.MemoryMappedFileRights` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MemoryMappedFileRights : int { @@ -97,7 +97,7 @@ namespace System Write = 2, } - // Generated from `System.IO.MemoryMappedFiles.MemoryMappedViewAccessor` in `System.IO.MemoryMappedFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.MemoryMappedFiles.MemoryMappedViewAccessor` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemoryMappedViewAccessor : System.IO.UnmanagedMemoryAccessor { protected override void Dispose(bool disposing) => throw null; @@ -106,7 +106,7 @@ namespace System public Microsoft.Win32.SafeHandles.SafeMemoryMappedViewHandle SafeMemoryMappedViewHandle { get => throw null; } } - // Generated from `System.IO.MemoryMappedFiles.MemoryMappedViewStream` in `System.IO.MemoryMappedFiles, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.MemoryMappedFiles.MemoryMappedViewStream` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemoryMappedViewStream : System.IO.UnmanagedMemoryStream { protected override void Dispose(bool disposing) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.AccessControl.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.AccessControl.cs index 1e2e39ca8cf..482281da8ff 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.AccessControl.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.AccessControl.cs @@ -6,19 +6,19 @@ namespace System { namespace Pipes { - // Generated from `System.IO.Pipes.AnonymousPipeServerStreamAcl` in `System.IO.Pipes.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.AnonymousPipeServerStreamAcl` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class AnonymousPipeServerStreamAcl { public static System.IO.Pipes.AnonymousPipeServerStream Create(System.IO.Pipes.PipeDirection direction, System.IO.HandleInheritability inheritability, int bufferSize, System.IO.Pipes.PipeSecurity pipeSecurity) => throw null; } - // Generated from `System.IO.Pipes.NamedPipeServerStreamAcl` in `System.IO.Pipes.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.NamedPipeServerStreamAcl` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class NamedPipeServerStreamAcl { public static System.IO.Pipes.NamedPipeServerStream Create(string pipeName, System.IO.Pipes.PipeDirection direction, int maxNumberOfServerInstances, System.IO.Pipes.PipeTransmissionMode transmissionMode, System.IO.Pipes.PipeOptions options, int inBufferSize, int outBufferSize, System.IO.Pipes.PipeSecurity pipeSecurity, System.IO.HandleInheritability inheritability = default(System.IO.HandleInheritability), System.IO.Pipes.PipeAccessRights additionalAccessRights = default(System.IO.Pipes.PipeAccessRights)) => throw null; } - // Generated from `System.IO.Pipes.PipeAccessRights` in `System.IO.Pipes.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.PipeAccessRights` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PipeAccessRights : int { @@ -41,7 +41,7 @@ namespace System WriteExtendedAttributes = 16, } - // Generated from `System.IO.Pipes.PipeAccessRule` in `System.IO.Pipes.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.PipeAccessRule` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PipeAccessRule : System.Security.AccessControl.AccessRule { public System.IO.Pipes.PipeAccessRights PipeAccessRights { get => throw null; } @@ -49,7 +49,7 @@ namespace System public PipeAccessRule(string identity, System.IO.Pipes.PipeAccessRights rights, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AccessControlType)) => throw null; } - // Generated from `System.IO.Pipes.PipeAuditRule` in `System.IO.Pipes.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.PipeAuditRule` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PipeAuditRule : System.Security.AccessControl.AuditRule { public System.IO.Pipes.PipeAccessRights PipeAccessRights { get => throw null; } @@ -57,7 +57,7 @@ namespace System public PipeAuditRule(string identity, System.IO.Pipes.PipeAccessRights rights, System.Security.AccessControl.AuditFlags flags) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AuditFlags)) => throw null; } - // Generated from `System.IO.Pipes.PipeSecurity` in `System.IO.Pipes.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.PipeSecurity` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PipeSecurity : System.Security.AccessControl.NativeObjectSecurity { public override System.Type AccessRightType { get => throw null; } @@ -80,7 +80,7 @@ namespace System public void SetAuditRule(System.IO.Pipes.PipeAuditRule rule) => throw null; } - // Generated from `System.IO.Pipes.PipesAclExtensions` in `System.IO.Pipes.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.PipesAclExtensions` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class PipesAclExtensions { public static System.IO.Pipes.PipeSecurity GetAccessControl(this System.IO.Pipes.PipeStream stream) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.cs index 221d01852a5..479bf8a0de3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace SafeHandles { - // Generated from `Microsoft.Win32.SafeHandles.SafePipeHandle` in `System.IO.Pipes, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.SafeHandles.SafePipeHandle` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafePipeHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { public override bool IsInvalid { get => throw null; } @@ -24,7 +24,7 @@ namespace System { namespace Pipes { - // Generated from `System.IO.Pipes.AnonymousPipeClientStream` in `System.IO.Pipes, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.AnonymousPipeClientStream` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AnonymousPipeClientStream : System.IO.Pipes.PipeStream { public AnonymousPipeClientStream(System.IO.Pipes.PipeDirection direction, Microsoft.Win32.SafeHandles.SafePipeHandle safePipeHandle) : base(default(System.IO.Pipes.PipeDirection), default(int)) => throw null; @@ -35,7 +35,7 @@ namespace System // ERR: Stub generator didn't handle member: ~AnonymousPipeClientStream } - // Generated from `System.IO.Pipes.AnonymousPipeServerStream` in `System.IO.Pipes, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.AnonymousPipeServerStream` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AnonymousPipeServerStream : System.IO.Pipes.PipeStream { public AnonymousPipeServerStream() : base(default(System.IO.Pipes.PipeDirection), default(int)) => throw null; @@ -52,14 +52,16 @@ namespace System // ERR: Stub generator didn't handle member: ~AnonymousPipeServerStream } - // Generated from `System.IO.Pipes.NamedPipeClientStream` in `System.IO.Pipes, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.NamedPipeClientStream` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NamedPipeClientStream : System.IO.Pipes.PipeStream { protected internal override void CheckPipePropertyOperations() => throw null; public void Connect() => throw null; + public void Connect(System.TimeSpan timeout) => throw null; public void Connect(int timeout) => throw null; public System.Threading.Tasks.Task ConnectAsync() => throw null; public System.Threading.Tasks.Task ConnectAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public System.Threading.Tasks.Task ConnectAsync(System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) => throw null; public System.Threading.Tasks.Task ConnectAsync(int timeout) => throw null; public System.Threading.Tasks.Task ConnectAsync(int timeout, System.Threading.CancellationToken cancellationToken) => throw null; public NamedPipeClientStream(System.IO.Pipes.PipeDirection direction, bool isAsync, bool isConnected, Microsoft.Win32.SafeHandles.SafePipeHandle safePipeHandle) : base(default(System.IO.Pipes.PipeDirection), default(int)) => throw null; @@ -73,7 +75,7 @@ namespace System // ERR: Stub generator didn't handle member: ~NamedPipeClientStream } - // Generated from `System.IO.Pipes.NamedPipeServerStream` in `System.IO.Pipes, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.NamedPipeServerStream` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NamedPipeServerStream : System.IO.Pipes.PipeStream { public System.IAsyncResult BeginWaitForConnection(System.AsyncCallback callback, object state) => throw null; @@ -95,7 +97,7 @@ namespace System // ERR: Stub generator didn't handle member: ~NamedPipeServerStream } - // Generated from `System.IO.Pipes.PipeDirection` in `System.IO.Pipes, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.PipeDirection` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PipeDirection : int { In = 1, @@ -103,7 +105,7 @@ namespace System Out = 2, } - // Generated from `System.IO.Pipes.PipeOptions` in `System.IO.Pipes, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.PipeOptions` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PipeOptions : int { @@ -113,7 +115,7 @@ namespace System WriteThrough = -2147483648, } - // Generated from `System.IO.Pipes.PipeStream` in `System.IO.Pipes, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.PipeStream` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class PipeStream : System.IO.Stream { public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; @@ -158,10 +160,10 @@ namespace System public override void WriteByte(System.Byte value) => throw null; } - // Generated from `System.IO.Pipes.PipeStreamImpersonationWorker` in `System.IO.Pipes, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.PipeStreamImpersonationWorker` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void PipeStreamImpersonationWorker(); - // Generated from `System.IO.Pipes.PipeTransmissionMode` in `System.IO.Pipes, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Pipes.PipeTransmissionMode` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PipeTransmissionMode : int { Byte = 0, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Expressions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Expressions.cs index 7f1e3c12426..17e349d7cd5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Expressions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Expressions.cs @@ -4,7 +4,7 @@ namespace System { namespace Dynamic { - // Generated from `System.Dynamic.BinaryOperationBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.BinaryOperationBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class BinaryOperationBinder : System.Dynamic.DynamicMetaObjectBinder { protected BinaryOperationBinder(System.Linq.Expressions.ExpressionType operation) => throw null; @@ -15,7 +15,7 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.BindingRestrictions` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.BindingRestrictions` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class BindingRestrictions { public static System.Dynamic.BindingRestrictions Combine(System.Collections.Generic.IList contributingObjects) => throw null; @@ -27,7 +27,7 @@ namespace System public System.Linq.Expressions.Expression ToExpression() => throw null; } - // Generated from `System.Dynamic.CallInfo` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.CallInfo` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallInfo { public int ArgumentCount { get => throw null; } @@ -38,7 +38,7 @@ namespace System public override int GetHashCode() => throw null; } - // Generated from `System.Dynamic.ConvertBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.ConvertBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ConvertBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -50,7 +50,7 @@ namespace System public System.Type Type { get => throw null; } } - // Generated from `System.Dynamic.CreateInstanceBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.CreateInstanceBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CreateInstanceBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -61,7 +61,7 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.DeleteIndexBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.DeleteIndexBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DeleteIndexBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -72,7 +72,7 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.DeleteMemberBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.DeleteMemberBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DeleteMemberBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -84,7 +84,7 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.DynamicMetaObject` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.DynamicMetaObject` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicMetaObject { public virtual System.Dynamic.DynamicMetaObject BindBinaryOperation(System.Dynamic.BinaryOperationBinder binder, System.Dynamic.DynamicMetaObject arg) => throw null; @@ -112,7 +112,7 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.Dynamic.DynamicMetaObjectBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.DynamicMetaObjectBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DynamicMetaObjectBinder : System.Runtime.CompilerServices.CallSiteBinder { public abstract System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args); @@ -124,7 +124,7 @@ namespace System public virtual System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.DynamicObject` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.DynamicObject` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicObject : System.Dynamic.IDynamicMetaObjectProvider { protected DynamicObject() => throw null; @@ -144,7 +144,7 @@ namespace System public virtual bool TryUnaryOperation(System.Dynamic.UnaryOperationBinder binder, out object result) => throw null; } - // Generated from `System.Dynamic.ExpandoObject` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.ExpandoObject` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExpandoObject : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable, System.ComponentModel.INotifyPropertyChanged, System.Dynamic.IDynamicMetaObjectProvider { void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -168,7 +168,7 @@ namespace System System.Collections.Generic.ICollection System.Collections.Generic.IDictionary.Values { get => throw null; } } - // Generated from `System.Dynamic.GetIndexBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.GetIndexBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class GetIndexBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -179,7 +179,7 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.GetMemberBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.GetMemberBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class GetMemberBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -191,19 +191,19 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.IDynamicMetaObjectProvider` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.IDynamicMetaObjectProvider` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDynamicMetaObjectProvider { System.Dynamic.DynamicMetaObject GetMetaObject(System.Linq.Expressions.Expression parameter); } - // Generated from `System.Dynamic.IInvokeOnGetBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.IInvokeOnGetBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IInvokeOnGetBinder { bool InvokeOnGet { get; } } - // Generated from `System.Dynamic.InvokeBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.InvokeBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class InvokeBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -214,7 +214,7 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.InvokeMemberBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.InvokeMemberBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class InvokeMemberBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -228,7 +228,7 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.SetIndexBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.SetIndexBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SetIndexBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -239,7 +239,7 @@ namespace System protected SetIndexBinder(System.Dynamic.CallInfo callInfo) => throw null; } - // Generated from `System.Dynamic.SetMemberBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.SetMemberBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SetMemberBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -251,7 +251,7 @@ namespace System protected SetMemberBinder(string name, bool ignoreCase) => throw null; } - // Generated from `System.Dynamic.UnaryOperationBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Dynamic.UnaryOperationBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class UnaryOperationBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -265,17 +265,17 @@ namespace System } namespace Linq { - // Generated from `System.Linq.IOrderedQueryable` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.IOrderedQueryable` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IOrderedQueryable : System.Collections.IEnumerable, System.Linq.IQueryable { } - // Generated from `System.Linq.IOrderedQueryable<>` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.IOrderedQueryable<>` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IOrderedQueryable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Linq.IOrderedQueryable, System.Linq.IQueryable, System.Linq.IQueryable { } - // Generated from `System.Linq.IQueryProvider` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.IQueryProvider` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IQueryProvider { System.Linq.IQueryable CreateQuery(System.Linq.Expressions.Expression expression); @@ -284,7 +284,7 @@ namespace System TResult Execute(System.Linq.Expressions.Expression expression); } - // Generated from `System.Linq.IQueryable` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.IQueryable` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IQueryable : System.Collections.IEnumerable { System.Type ElementType { get; } @@ -292,14 +292,14 @@ namespace System System.Linq.IQueryProvider Provider { get; } } - // Generated from `System.Linq.IQueryable<>` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.IQueryable<>` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IQueryable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Linq.IQueryable { } namespace Expressions { - // Generated from `System.Linq.Expressions.BinaryExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.BinaryExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BinaryExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -314,7 +314,7 @@ namespace System public System.Linq.Expressions.BinaryExpression Update(System.Linq.Expressions.Expression left, System.Linq.Expressions.LambdaExpression conversion, System.Linq.Expressions.Expression right) => throw null; } - // Generated from `System.Linq.Expressions.BlockExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.BlockExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BlockExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -326,7 +326,7 @@ namespace System public System.Collections.ObjectModel.ReadOnlyCollection Variables { get => throw null; } } - // Generated from `System.Linq.Expressions.CatchBlock` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.CatchBlock` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CatchBlock { public System.Linq.Expressions.Expression Body { get => throw null; } @@ -337,7 +337,7 @@ namespace System public System.Linq.Expressions.ParameterExpression Variable { get => throw null; } } - // Generated from `System.Linq.Expressions.ConditionalExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.ConditionalExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConditionalExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -349,7 +349,7 @@ namespace System public System.Linq.Expressions.ConditionalExpression Update(System.Linq.Expressions.Expression test, System.Linq.Expressions.Expression ifTrue, System.Linq.Expressions.Expression ifFalse) => throw null; } - // Generated from `System.Linq.Expressions.ConstantExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.ConstantExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConstantExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -358,7 +358,7 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.Linq.Expressions.DebugInfoExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.DebugInfoExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebugInfoExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -372,7 +372,7 @@ namespace System public override System.Type Type { get => throw null; } } - // Generated from `System.Linq.Expressions.DefaultExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.DefaultExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -380,7 +380,7 @@ namespace System public override System.Type Type { get => throw null; } } - // Generated from `System.Linq.Expressions.DynamicExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.DynamicExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicExpression : System.Linq.Expressions.Expression, System.Linq.Expressions.IArgumentProvider, System.Linq.Expressions.IDynamicExpression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -408,14 +408,14 @@ namespace System public System.Linq.Expressions.DynamicExpression Update(System.Collections.Generic.IEnumerable arguments) => throw null; } - // Generated from `System.Linq.Expressions.DynamicExpressionVisitor` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.DynamicExpressionVisitor` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DynamicExpressionVisitor : System.Linq.Expressions.ExpressionVisitor { protected DynamicExpressionVisitor() => throw null; protected internal override System.Linq.Expressions.Expression VisitDynamic(System.Linq.Expressions.DynamicExpression node) => throw null; } - // Generated from `System.Linq.Expressions.ElementInit` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.ElementInit` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ElementInit : System.Linq.Expressions.IArgumentProvider { public System.Reflection.MethodInfo AddMethod { get => throw null; } @@ -426,7 +426,7 @@ namespace System public System.Linq.Expressions.ElementInit Update(System.Collections.Generic.IEnumerable arguments) => throw null; } - // Generated from `System.Linq.Expressions.Expression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.Expression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Expression { protected internal virtual System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -751,7 +751,7 @@ namespace System protected internal virtual System.Linq.Expressions.Expression VisitChildren(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; } - // Generated from `System.Linq.Expressions.Expression<>` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.Expression<>` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Expression : System.Linq.Expressions.LambdaExpression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -761,7 +761,7 @@ namespace System public System.Linq.Expressions.Expression Update(System.Linq.Expressions.Expression body, System.Collections.Generic.IEnumerable parameters) => throw null; } - // Generated from `System.Linq.Expressions.ExpressionType` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.ExpressionType` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ExpressionType : int { Add = 0, @@ -851,7 +851,7 @@ namespace System Unbox = 62, } - // Generated from `System.Linq.Expressions.ExpressionVisitor` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.ExpressionVisitor` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ExpressionVisitor { protected ExpressionVisitor() => throw null; @@ -896,7 +896,7 @@ namespace System protected internal virtual System.Linq.Expressions.Expression VisitUnary(System.Linq.Expressions.UnaryExpression node) => throw null; } - // Generated from `System.Linq.Expressions.GotoExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.GotoExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GotoExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -908,7 +908,7 @@ namespace System public System.Linq.Expressions.Expression Value { get => throw null; } } - // Generated from `System.Linq.Expressions.GotoExpressionKind` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.GotoExpressionKind` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GotoExpressionKind : int { Break = 2, @@ -917,14 +917,14 @@ namespace System Return = 1, } - // Generated from `System.Linq.Expressions.IArgumentProvider` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.IArgumentProvider` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IArgumentProvider { int ArgumentCount { get; } System.Linq.Expressions.Expression GetArgument(int index); } - // Generated from `System.Linq.Expressions.IDynamicExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.IDynamicExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDynamicExpression : System.Linq.Expressions.IArgumentProvider { object CreateCallSite(); @@ -932,7 +932,7 @@ namespace System System.Linq.Expressions.Expression Rewrite(System.Linq.Expressions.Expression[] args); } - // Generated from `System.Linq.Expressions.IndexExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.IndexExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IndexExpression : System.Linq.Expressions.Expression, System.Linq.Expressions.IArgumentProvider { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -946,7 +946,7 @@ namespace System public System.Linq.Expressions.IndexExpression Update(System.Linq.Expressions.Expression @object, System.Collections.Generic.IEnumerable arguments) => throw null; } - // Generated from `System.Linq.Expressions.InvocationExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.InvocationExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvocationExpression : System.Linq.Expressions.Expression, System.Linq.Expressions.IArgumentProvider { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -959,7 +959,7 @@ namespace System public System.Linq.Expressions.InvocationExpression Update(System.Linq.Expressions.Expression expression, System.Collections.Generic.IEnumerable arguments) => throw null; } - // Generated from `System.Linq.Expressions.LabelExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.LabelExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LabelExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -970,7 +970,7 @@ namespace System public System.Linq.Expressions.LabelExpression Update(System.Linq.Expressions.LabelTarget target, System.Linq.Expressions.Expression defaultValue) => throw null; } - // Generated from `System.Linq.Expressions.LabelTarget` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.LabelTarget` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LabelTarget { public string Name { get => throw null; } @@ -978,7 +978,7 @@ namespace System public System.Type Type { get => throw null; } } - // Generated from `System.Linq.Expressions.LambdaExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.LambdaExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class LambdaExpression : System.Linq.Expressions.Expression { public System.Linq.Expressions.Expression Body { get => throw null; } @@ -994,7 +994,7 @@ namespace System public override System.Type Type { get => throw null; } } - // Generated from `System.Linq.Expressions.ListInitExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.ListInitExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ListInitExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1007,7 +1007,7 @@ namespace System public System.Linq.Expressions.ListInitExpression Update(System.Linq.Expressions.NewExpression newExpression, System.Collections.Generic.IEnumerable initializers) => throw null; } - // Generated from `System.Linq.Expressions.LoopExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.LoopExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LoopExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1019,7 +1019,7 @@ namespace System public System.Linq.Expressions.LoopExpression Update(System.Linq.Expressions.LabelTarget breakLabel, System.Linq.Expressions.LabelTarget continueLabel, System.Linq.Expressions.Expression body) => throw null; } - // Generated from `System.Linq.Expressions.MemberAssignment` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.MemberAssignment` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberAssignment : System.Linq.Expressions.MemberBinding { public System.Linq.Expressions.Expression Expression { get => throw null; } @@ -1027,7 +1027,7 @@ namespace System public System.Linq.Expressions.MemberAssignment Update(System.Linq.Expressions.Expression expression) => throw null; } - // Generated from `System.Linq.Expressions.MemberBinding` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.MemberBinding` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MemberBinding { public System.Linq.Expressions.MemberBindingType BindingType { get => throw null; } @@ -1036,7 +1036,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Linq.Expressions.MemberBindingType` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.MemberBindingType` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MemberBindingType : int { Assignment = 0, @@ -1044,7 +1044,7 @@ namespace System MemberBinding = 1, } - // Generated from `System.Linq.Expressions.MemberExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.MemberExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1054,7 +1054,7 @@ namespace System public System.Linq.Expressions.MemberExpression Update(System.Linq.Expressions.Expression expression) => throw null; } - // Generated from `System.Linq.Expressions.MemberInitExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.MemberInitExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberInitExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1067,7 +1067,7 @@ namespace System public System.Linq.Expressions.MemberInitExpression Update(System.Linq.Expressions.NewExpression newExpression, System.Collections.Generic.IEnumerable bindings) => throw null; } - // Generated from `System.Linq.Expressions.MemberListBinding` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.MemberListBinding` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberListBinding : System.Linq.Expressions.MemberBinding { public System.Collections.ObjectModel.ReadOnlyCollection Initializers { get => throw null; } @@ -1075,7 +1075,7 @@ namespace System public System.Linq.Expressions.MemberListBinding Update(System.Collections.Generic.IEnumerable initializers) => throw null; } - // Generated from `System.Linq.Expressions.MemberMemberBinding` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.MemberMemberBinding` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberMemberBinding : System.Linq.Expressions.MemberBinding { public System.Collections.ObjectModel.ReadOnlyCollection Bindings { get => throw null; } @@ -1083,7 +1083,7 @@ namespace System public System.Linq.Expressions.MemberMemberBinding Update(System.Collections.Generic.IEnumerable bindings) => throw null; } - // Generated from `System.Linq.Expressions.MethodCallExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.MethodCallExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MethodCallExpression : System.Linq.Expressions.Expression, System.Linq.Expressions.IArgumentProvider { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1097,7 +1097,7 @@ namespace System public System.Linq.Expressions.MethodCallExpression Update(System.Linq.Expressions.Expression @object, System.Collections.Generic.IEnumerable arguments) => throw null; } - // Generated from `System.Linq.Expressions.NewArrayExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.NewArrayExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NewArrayExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1106,7 +1106,7 @@ namespace System public System.Linq.Expressions.NewArrayExpression Update(System.Collections.Generic.IEnumerable expressions) => throw null; } - // Generated from `System.Linq.Expressions.NewExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.NewExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NewExpression : System.Linq.Expressions.Expression, System.Linq.Expressions.IArgumentProvider { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1120,7 +1120,7 @@ namespace System public System.Linq.Expressions.NewExpression Update(System.Collections.Generic.IEnumerable arguments) => throw null; } - // Generated from `System.Linq.Expressions.ParameterExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.ParameterExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParameterExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1130,7 +1130,7 @@ namespace System public override System.Type Type { get => throw null; } } - // Generated from `System.Linq.Expressions.RuntimeVariablesExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.RuntimeVariablesExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RuntimeVariablesExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1140,7 +1140,7 @@ namespace System public System.Collections.ObjectModel.ReadOnlyCollection Variables { get => throw null; } } - // Generated from `System.Linq.Expressions.SwitchCase` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.SwitchCase` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SwitchCase { public System.Linq.Expressions.Expression Body { get => throw null; } @@ -1149,7 +1149,7 @@ namespace System public System.Linq.Expressions.SwitchCase Update(System.Collections.Generic.IEnumerable testValues, System.Linq.Expressions.Expression body) => throw null; } - // Generated from `System.Linq.Expressions.SwitchExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.SwitchExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SwitchExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1162,7 +1162,7 @@ namespace System public System.Linq.Expressions.SwitchExpression Update(System.Linq.Expressions.Expression switchValue, System.Collections.Generic.IEnumerable cases, System.Linq.Expressions.Expression defaultBody) => throw null; } - // Generated from `System.Linq.Expressions.SymbolDocumentInfo` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.SymbolDocumentInfo` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SymbolDocumentInfo { public virtual System.Guid DocumentType { get => throw null; } @@ -1171,7 +1171,7 @@ namespace System public virtual System.Guid LanguageVendor { get => throw null; } } - // Generated from `System.Linq.Expressions.TryExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.TryExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TryExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1184,7 +1184,7 @@ namespace System public System.Linq.Expressions.TryExpression Update(System.Linq.Expressions.Expression body, System.Collections.Generic.IEnumerable handlers, System.Linq.Expressions.Expression @finally, System.Linq.Expressions.Expression fault) => throw null; } - // Generated from `System.Linq.Expressions.TypeBinaryExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.TypeBinaryExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeBinaryExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1195,7 +1195,7 @@ namespace System public System.Linq.Expressions.TypeBinaryExpression Update(System.Linq.Expressions.Expression expression) => throw null; } - // Generated from `System.Linq.Expressions.UnaryExpression` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Expressions.UnaryExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnaryExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1216,7 +1216,7 @@ namespace System { namespace CompilerServices { - // Generated from `System.Runtime.CompilerServices.CallSite` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallSite` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallSite { public System.Runtime.CompilerServices.CallSiteBinder Binder { get => throw null; } @@ -1224,7 +1224,7 @@ namespace System public static System.Runtime.CompilerServices.CallSite Create(System.Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder) => throw null; } - // Generated from `System.Runtime.CompilerServices.CallSite<>` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallSite<>` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallSite : System.Runtime.CompilerServices.CallSite where T : class { public static System.Runtime.CompilerServices.CallSite Create(System.Runtime.CompilerServices.CallSiteBinder binder) => throw null; @@ -1232,7 +1232,7 @@ namespace System public T Update { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.CallSiteBinder` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallSiteBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CallSiteBinder { public abstract System.Linq.Expressions.Expression Bind(object[] args, System.Collections.ObjectModel.ReadOnlyCollection parameters, System.Linq.Expressions.LabelTarget returnLabel); @@ -1242,13 +1242,13 @@ namespace System public static System.Linq.Expressions.LabelTarget UpdateLabel { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.CallSiteHelpers` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallSiteHelpers` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CallSiteHelpers { public static bool IsInternalFrame(System.Reflection.MethodBase mb) => throw null; } - // Generated from `System.Runtime.CompilerServices.DebugInfoGenerator` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.DebugInfoGenerator` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DebugInfoGenerator { public static System.Runtime.CompilerServices.DebugInfoGenerator CreatePdbGenerator() => throw null; @@ -1256,7 +1256,7 @@ namespace System public abstract void MarkSequencePoint(System.Linq.Expressions.LambdaExpression method, int ilOffset, System.Linq.Expressions.DebugInfoExpression sequencePoint); } - // Generated from `System.Runtime.CompilerServices.DynamicAttribute` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.DynamicAttribute` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicAttribute : System.Attribute { public DynamicAttribute() => throw null; @@ -1264,14 +1264,14 @@ namespace System public System.Collections.Generic.IList TransformFlags { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.IRuntimeVariables` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IRuntimeVariables` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IRuntimeVariables { int Count { get; } object this[int index] { get; set; } } - // Generated from `System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<>` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<>` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReadOnlyCollectionBuilder : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public void Add(T item) => throw null; @@ -1308,7 +1308,7 @@ namespace System public System.Collections.ObjectModel.ReadOnlyCollection ToReadOnlyCollection() => throw null; } - // Generated from `System.Runtime.CompilerServices.RuleCache<>` in `System.Linq.Expressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.RuleCache<>` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RuleCache where T : class { } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Parallel.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Parallel.cs index 8cca385f2bf..ed33a404a33 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Parallel.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Parallel.cs @@ -4,13 +4,13 @@ namespace System { namespace Linq { - // Generated from `System.Linq.OrderedParallelQuery<>` in `System.Linq.Parallel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.OrderedParallelQuery<>` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OrderedParallelQuery : System.Linq.ParallelQuery { public override System.Collections.Generic.IEnumerator GetEnumerator() => throw null; } - // Generated from `System.Linq.ParallelEnumerable` in `System.Linq.Parallel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.ParallelEnumerable` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ParallelEnumerable { public static TResult Aggregate(this System.Linq.ParallelQuery source, System.Func seedFactory, System.Func updateAccumulatorFunc, System.Func combineAccumulatorsFunc, System.Func resultSelector) => throw null; @@ -218,14 +218,14 @@ namespace System public static System.Linq.ParallelQuery Zip(this System.Linq.ParallelQuery first, System.Linq.ParallelQuery second, System.Func resultSelector) => throw null; } - // Generated from `System.Linq.ParallelExecutionMode` in `System.Linq.Parallel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.ParallelExecutionMode` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ParallelExecutionMode : int { Default = 0, ForceParallelism = 1, } - // Generated from `System.Linq.ParallelMergeOptions` in `System.Linq.Parallel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.ParallelMergeOptions` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ParallelMergeOptions : int { AutoBuffered = 2, @@ -234,14 +234,14 @@ namespace System NotBuffered = 1, } - // Generated from `System.Linq.ParallelQuery` in `System.Linq.Parallel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.ParallelQuery` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParallelQuery : System.Collections.IEnumerable { System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; internal ParallelQuery() => throw null; } - // Generated from `System.Linq.ParallelQuery<>` in `System.Linq.Parallel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.ParallelQuery<>` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParallelQuery : System.Linq.ParallelQuery, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual System.Collections.Generic.IEnumerator GetEnumerator() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Queryable.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Queryable.cs index ba1896a4172..21a68113c0c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Queryable.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Queryable.cs @@ -4,25 +4,25 @@ namespace System { namespace Linq { - // Generated from `System.Linq.EnumerableExecutor` in `System.Linq.Queryable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.EnumerableExecutor` in `System.Linq.Queryable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EnumerableExecutor { internal EnumerableExecutor() => throw null; } - // Generated from `System.Linq.EnumerableExecutor<>` in `System.Linq.Queryable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.EnumerableExecutor<>` in `System.Linq.Queryable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumerableExecutor : System.Linq.EnumerableExecutor { public EnumerableExecutor(System.Linq.Expressions.Expression expression) => throw null; } - // Generated from `System.Linq.EnumerableQuery` in `System.Linq.Queryable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.EnumerableQuery` in `System.Linq.Queryable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EnumerableQuery { internal EnumerableQuery() => throw null; } - // Generated from `System.Linq.EnumerableQuery<>` in `System.Linq.Queryable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.EnumerableQuery<>` in `System.Linq.Queryable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumerableQuery : System.Linq.EnumerableQuery, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Linq.IOrderedQueryable, System.Linq.IOrderedQueryable, System.Linq.IQueryProvider, System.Linq.IQueryable, System.Linq.IQueryable { System.Linq.IQueryable System.Linq.IQueryProvider.CreateQuery(System.Linq.Expressions.Expression expression) => throw null; @@ -39,7 +39,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Linq.Queryable` in `System.Linq.Queryable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Queryable` in `System.Linq.Queryable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Queryable { public static TResult Aggregate(this System.Linq.IQueryable source, TAccumulate seed, System.Linq.Expressions.Expression> func, System.Linq.Expressions.Expression> selector) => throw null; @@ -133,10 +133,14 @@ namespace System public static TSource MinBy(this System.Linq.IQueryable source, System.Linq.Expressions.Expression> keySelector) => throw null; public static TSource MinBy(this System.Linq.IQueryable source, System.Linq.Expressions.Expression> keySelector, System.Collections.Generic.IComparer comparer) => throw null; public static System.Linq.IQueryable OfType(this System.Linq.IQueryable source) => throw null; + public static System.Linq.IOrderedQueryable Order(this System.Linq.IQueryable source) => throw null; + public static System.Linq.IOrderedQueryable Order(this System.Linq.IQueryable source, System.Collections.Generic.IComparer comparer) => throw null; public static System.Linq.IOrderedQueryable OrderBy(this System.Linq.IQueryable source, System.Linq.Expressions.Expression> keySelector) => throw null; public static System.Linq.IOrderedQueryable OrderBy(this System.Linq.IQueryable source, System.Linq.Expressions.Expression> keySelector, System.Collections.Generic.IComparer comparer) => throw null; public static System.Linq.IOrderedQueryable OrderByDescending(this System.Linq.IQueryable source, System.Linq.Expressions.Expression> keySelector) => throw null; public static System.Linq.IOrderedQueryable OrderByDescending(this System.Linq.IQueryable source, System.Linq.Expressions.Expression> keySelector, System.Collections.Generic.IComparer comparer) => throw null; + public static System.Linq.IOrderedQueryable OrderDescending(this System.Linq.IQueryable source) => throw null; + public static System.Linq.IOrderedQueryable OrderDescending(this System.Linq.IQueryable source, System.Collections.Generic.IComparer comparer) => throw null; public static System.Linq.IQueryable Prepend(this System.Linq.IQueryable source, TSource element) => throw null; public static System.Linq.IQueryable Reverse(this System.Linq.IQueryable source) => throw null; public static System.Linq.IQueryable Select(this System.Linq.IQueryable source, System.Linq.Expressions.Expression> selector) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.cs index f83bf76f605..9da9140659f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.cs @@ -4,7 +4,7 @@ namespace System { namespace Linq { - // Generated from `System.Linq.Enumerable` in `System.Linq, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Enumerable` in `System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Enumerable { public static TResult Aggregate(this System.Collections.Generic.IEnumerable source, TAccumulate seed, System.Func func, System.Func resultSelector) => throw null; @@ -138,10 +138,14 @@ namespace System public static TSource MinBy(this System.Collections.Generic.IEnumerable source, System.Func keySelector) => throw null; public static TSource MinBy(this System.Collections.Generic.IEnumerable source, System.Func keySelector, System.Collections.Generic.IComparer comparer) => throw null; public static System.Collections.Generic.IEnumerable OfType(this System.Collections.IEnumerable source) => throw null; + public static System.Linq.IOrderedEnumerable Order(this System.Collections.Generic.IEnumerable source) => throw null; + public static System.Linq.IOrderedEnumerable Order(this System.Collections.Generic.IEnumerable source, System.Collections.Generic.IComparer comparer) => throw null; public static System.Linq.IOrderedEnumerable OrderBy(this System.Collections.Generic.IEnumerable source, System.Func keySelector) => throw null; public static System.Linq.IOrderedEnumerable OrderBy(this System.Collections.Generic.IEnumerable source, System.Func keySelector, System.Collections.Generic.IComparer comparer) => throw null; public static System.Linq.IOrderedEnumerable OrderByDescending(this System.Collections.Generic.IEnumerable source, System.Func keySelector) => throw null; public static System.Linq.IOrderedEnumerable OrderByDescending(this System.Collections.Generic.IEnumerable source, System.Func keySelector, System.Collections.Generic.IComparer comparer) => throw null; + public static System.Linq.IOrderedEnumerable OrderDescending(this System.Collections.Generic.IEnumerable source) => throw null; + public static System.Linq.IOrderedEnumerable OrderDescending(this System.Collections.Generic.IEnumerable source, System.Collections.Generic.IComparer comparer) => throw null; public static System.Collections.Generic.IEnumerable Prepend(this System.Collections.Generic.IEnumerable source, TSource element) => throw null; public static System.Collections.Generic.IEnumerable Range(int start, int count) => throw null; public static System.Collections.Generic.IEnumerable Repeat(TResult element, int count) => throw null; @@ -217,13 +221,13 @@ namespace System public static System.Collections.Generic.IEnumerable<(TFirst, TSecond)> Zip(this System.Collections.Generic.IEnumerable first, System.Collections.Generic.IEnumerable second) => throw null; } - // Generated from `System.Linq.IGrouping<,>` in `System.Linq, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.IGrouping<,>` in `System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IGrouping : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { TKey Key { get; } } - // Generated from `System.Linq.ILookup<,>` in `System.Linq, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.ILookup<,>` in `System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ILookup : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { bool Contains(TKey key); @@ -231,13 +235,13 @@ namespace System System.Collections.Generic.IEnumerable this[TKey key] { get; } } - // Generated from `System.Linq.IOrderedEnumerable<>` in `System.Linq, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.IOrderedEnumerable<>` in `System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IOrderedEnumerable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { System.Linq.IOrderedEnumerable CreateOrderedEnumerable(System.Func keySelector, System.Collections.Generic.IComparer comparer, bool descending); } - // Generated from `System.Linq.Lookup<,>` in `System.Linq, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Linq.Lookup<,>` in `System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Lookup : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable, System.Linq.ILookup { public System.Collections.Generic.IEnumerable ApplyResultSelector(System.Func, TResult> resultSelector) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Memory.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Memory.cs index 0b1f6aaaa4a..f48d07bb8d0 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Memory.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Memory.cs @@ -2,10 +2,10 @@ namespace System { - // Generated from `System.MemoryExtensions` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.MemoryExtensions` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class MemoryExtensions { - // Generated from `System.MemoryExtensions+TryWriteInterpolatedStringHandler` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.MemoryExtensions+TryWriteInterpolatedStringHandler` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct TryWriteInterpolatedStringHandler { public bool AppendFormatted(System.ReadOnlySpan value) => throw null; @@ -56,6 +56,10 @@ namespace System public static int BinarySearch(this System.Span span, T value, TComparer comparer) where TComparer : System.Collections.Generic.IComparer => throw null; public static int BinarySearch(this System.ReadOnlySpan span, System.IComparable comparable) => throw null; public static int BinarySearch(this System.Span span, System.IComparable comparable) => throw null; + public static int CommonPrefixLength(this System.ReadOnlySpan span, System.ReadOnlySpan other) => throw null; + public static int CommonPrefixLength(this System.ReadOnlySpan span, System.ReadOnlySpan other, System.Collections.Generic.IEqualityComparer comparer) => throw null; + public static int CommonPrefixLength(this System.Span span, System.ReadOnlySpan other) => throw null; + public static int CommonPrefixLength(this System.Span span, System.ReadOnlySpan other, System.Collections.Generic.IEqualityComparer comparer) => throw null; public static int CompareTo(this System.ReadOnlySpan span, System.ReadOnlySpan other, System.StringComparison comparisonType) => throw null; public static bool Contains(this System.ReadOnlySpan span, System.ReadOnlySpan value, System.StringComparison comparisonType) => throw null; public static bool Contains(this System.ReadOnlySpan span, T value) where T : System.IEquatable => throw null; @@ -81,6 +85,14 @@ namespace System public static int IndexOfAny(this System.Span span, System.ReadOnlySpan values) where T : System.IEquatable => throw null; public static int IndexOfAny(this System.Span span, T value0, T value1) where T : System.IEquatable => throw null; public static int IndexOfAny(this System.Span span, T value0, T value1, T value2) where T : System.IEquatable => throw null; + public static int IndexOfAnyExcept(this System.ReadOnlySpan span, System.ReadOnlySpan values) where T : System.IEquatable => throw null; + public static int IndexOfAnyExcept(this System.ReadOnlySpan span, T value) where T : System.IEquatable => throw null; + public static int IndexOfAnyExcept(this System.ReadOnlySpan span, T value0, T value1) where T : System.IEquatable => throw null; + public static int IndexOfAnyExcept(this System.ReadOnlySpan span, T value0, T value1, T value2) where T : System.IEquatable => throw null; + public static int IndexOfAnyExcept(this System.Span span, System.ReadOnlySpan values) where T : System.IEquatable => throw null; + public static int IndexOfAnyExcept(this System.Span span, T value) where T : System.IEquatable => throw null; + public static int IndexOfAnyExcept(this System.Span span, T value0, T value1) where T : System.IEquatable => throw null; + public static int IndexOfAnyExcept(this System.Span span, T value0, T value1, T value2) where T : System.IEquatable => throw null; public static bool IsWhiteSpace(this System.ReadOnlySpan span) => throw null; public static int LastIndexOf(this System.ReadOnlySpan span, System.ReadOnlySpan value, System.StringComparison comparisonType) => throw null; public static int LastIndexOf(this System.ReadOnlySpan span, System.ReadOnlySpan value) where T : System.IEquatable => throw null; @@ -93,6 +105,14 @@ namespace System public static int LastIndexOfAny(this System.Span span, System.ReadOnlySpan values) where T : System.IEquatable => throw null; public static int LastIndexOfAny(this System.Span span, T value0, T value1) where T : System.IEquatable => throw null; public static int LastIndexOfAny(this System.Span span, T value0, T value1, T value2) where T : System.IEquatable => throw null; + public static int LastIndexOfAnyExcept(this System.ReadOnlySpan span, System.ReadOnlySpan values) where T : System.IEquatable => throw null; + public static int LastIndexOfAnyExcept(this System.ReadOnlySpan span, T value) where T : System.IEquatable => throw null; + public static int LastIndexOfAnyExcept(this System.ReadOnlySpan span, T value0, T value1) where T : System.IEquatable => throw null; + public static int LastIndexOfAnyExcept(this System.ReadOnlySpan span, T value0, T value1, T value2) where T : System.IEquatable => throw null; + public static int LastIndexOfAnyExcept(this System.Span span, System.ReadOnlySpan values) where T : System.IEquatable => throw null; + public static int LastIndexOfAnyExcept(this System.Span span, T value) where T : System.IEquatable => throw null; + public static int LastIndexOfAnyExcept(this System.Span span, T value0, T value1) where T : System.IEquatable => throw null; + public static int LastIndexOfAnyExcept(this System.Span span, T value0, T value1, T value2) where T : System.IEquatable => throw null; public static bool Overlaps(this System.ReadOnlySpan span, System.ReadOnlySpan other) => throw null; public static bool Overlaps(this System.ReadOnlySpan span, System.ReadOnlySpan other, out int elementOffset) => throw null; public static bool Overlaps(this System.Span span, System.ReadOnlySpan other) => throw null; @@ -163,7 +183,7 @@ namespace System public static bool TryWrite(this System.Span destination, ref System.MemoryExtensions.TryWriteInterpolatedStringHandler handler, out int charsWritten) => throw null; } - // Generated from `System.SequencePosition` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.SequencePosition` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct SequencePosition : System.IEquatable { public bool Equals(System.SequencePosition other) => throw null; @@ -177,7 +197,7 @@ namespace System namespace Buffers { - // Generated from `System.Buffers.ArrayBufferWriter<>` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Buffers.ArrayBufferWriter<>` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ArrayBufferWriter : System.Buffers.IBufferWriter { public void Advance(int count) => throw null; @@ -193,7 +213,7 @@ namespace System public System.ReadOnlySpan WrittenSpan { get => throw null; } } - // Generated from `System.Buffers.BuffersExtensions` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Buffers.BuffersExtensions` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class BuffersExtensions { public static void CopyTo(System.Buffers.ReadOnlySequence source, System.Span destination) => throw null; @@ -202,7 +222,7 @@ namespace System public static void Write(this System.Buffers.IBufferWriter writer, System.ReadOnlySpan value) => throw null; } - // Generated from `System.Buffers.IBufferWriter<>` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Buffers.IBufferWriter<>` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IBufferWriter { void Advance(int count); @@ -210,7 +230,7 @@ namespace System System.Span GetSpan(int sizeHint = default(int)); } - // Generated from `System.Buffers.MemoryPool<>` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Buffers.MemoryPool<>` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class MemoryPool : System.IDisposable { public void Dispose() => throw null; @@ -221,10 +241,10 @@ namespace System public static System.Buffers.MemoryPool Shared { get => throw null; } } - // Generated from `System.Buffers.ReadOnlySequence<>` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Buffers.ReadOnlySequence<>` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ReadOnlySequence { - // Generated from `System.Buffers.ReadOnlySequence<>+Enumerator` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Buffers.ReadOnlySequence<>+Enumerator` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Enumerator { public System.ReadOnlyMemory Current { get => throw null; } @@ -264,7 +284,7 @@ namespace System public bool TryGet(ref System.SequencePosition position, out System.ReadOnlyMemory memory, bool advance = default(bool)) => throw null; } - // Generated from `System.Buffers.ReadOnlySequenceSegment<>` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Buffers.ReadOnlySequenceSegment<>` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ReadOnlySequenceSegment { public System.ReadOnlyMemory Memory { get => throw null; set => throw null; } @@ -273,7 +293,7 @@ namespace System public System.Int64 RunningIndex { get => throw null; set => throw null; } } - // Generated from `System.Buffers.SequenceReader<>` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Buffers.SequenceReader<>` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct SequenceReader where T : unmanaged, System.IEquatable { public void Advance(System.Int64 count) => throw null; @@ -302,6 +322,7 @@ namespace System public bool TryPeek(System.Int64 offset, out T value) => throw null; public bool TryPeek(out T value) => throw null; public bool TryRead(out T value) => throw null; + public bool TryReadExact(int count, out System.Buffers.ReadOnlySequence sequence) => throw null; public bool TryReadTo(out System.Buffers.ReadOnlySequence sequence, System.ReadOnlySpan delimiter, bool advancePastDelimiter = default(bool)) => throw null; public bool TryReadTo(out System.Buffers.ReadOnlySequence sequence, T delimiter, T delimiterEscape, bool advancePastDelimiter = default(bool)) => throw null; public bool TryReadTo(out System.Buffers.ReadOnlySequence sequence, T delimiter, bool advancePastDelimiter = default(bool)) => throw null; @@ -314,7 +335,7 @@ namespace System public System.ReadOnlySpan UnreadSpan { get => throw null; } } - // Generated from `System.Buffers.SequenceReaderExtensions` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Buffers.SequenceReaderExtensions` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class SequenceReaderExtensions { public static bool TryReadBigEndian(ref System.Buffers.SequenceReader reader, out int value) => throw null; @@ -325,7 +346,7 @@ namespace System public static bool TryReadLittleEndian(ref System.Buffers.SequenceReader reader, out System.Int16 value) => throw null; } - // Generated from `System.Buffers.StandardFormat` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Buffers.StandardFormat` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct StandardFormat : System.IEquatable { public static bool operator !=(System.Buffers.StandardFormat left, System.Buffers.StandardFormat right) => throw null; @@ -350,7 +371,7 @@ namespace System namespace Binary { - // Generated from `System.Buffers.Binary.BinaryPrimitives` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Buffers.Binary.BinaryPrimitives` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class BinaryPrimitives { public static double ReadDoubleBigEndian(System.ReadOnlySpan source) => throw null; @@ -438,18 +459,7 @@ namespace System } namespace Text { - // Generated from `System.Buffers.Text.Base64` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` - public static class Base64 - { - public static System.Buffers.OperationStatus DecodeFromUtf8(System.ReadOnlySpan utf8, System.Span bytes, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = default(bool)) => throw null; - public static System.Buffers.OperationStatus DecodeFromUtf8InPlace(System.Span buffer, out int bytesWritten) => throw null; - public static System.Buffers.OperationStatus EncodeToUtf8(System.ReadOnlySpan bytes, System.Span utf8, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = default(bool)) => throw null; - public static System.Buffers.OperationStatus EncodeToUtf8InPlace(System.Span buffer, int dataLength, out int bytesWritten) => throw null; - public static int GetMaxDecodedFromUtf8Length(int length) => throw null; - public static int GetMaxEncodedToUtf8Length(int length) => throw null; - } - - // Generated from `System.Buffers.Text.Utf8Formatter` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Buffers.Text.Utf8Formatter` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Utf8Formatter { public static bool TryFormat(System.DateTime value, System.Span destination, out int bytesWritten, System.Buffers.StandardFormat format = default(System.Buffers.StandardFormat)) => throw null; @@ -470,7 +480,7 @@ namespace System public static bool TryFormat(System.UInt16 value, System.Span destination, out int bytesWritten, System.Buffers.StandardFormat format = default(System.Buffers.StandardFormat)) => throw null; } - // Generated from `System.Buffers.Text.Utf8Parser` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Buffers.Text.Utf8Parser` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Utf8Parser { public static bool TryParse(System.ReadOnlySpan source, out System.DateTime value, out int bytesConsumed, System.Char standardFormat = default(System.Char)) => throw null; @@ -497,7 +507,7 @@ namespace System { namespace InteropServices { - // Generated from `System.Runtime.InteropServices.MemoryMarshal` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.InteropServices.MemoryMarshal` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class MemoryMarshal { public static System.ReadOnlySpan AsBytes(System.ReadOnlySpan span) where T : struct => throw null; @@ -527,7 +537,7 @@ namespace System public static void Write(System.Span destination, ref T value) where T : struct => throw null; } - // Generated from `System.Runtime.InteropServices.SequenceMarshal` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.InteropServices.SequenceMarshal` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class SequenceMarshal { public static bool TryGetArray(System.Buffers.ReadOnlySequence sequence, out System.ArraySegment segment) => throw null; @@ -540,7 +550,7 @@ namespace System } namespace Text { - // Generated from `System.Text.EncodingExtensions` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.EncodingExtensions` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class EncodingExtensions { public static void Convert(this System.Text.Decoder decoder, System.Buffers.ReadOnlySequence bytes, System.Buffers.IBufferWriter writer, bool flush, out System.Int64 charsUsed, out bool completed) => throw null; @@ -557,7 +567,7 @@ namespace System public static string GetString(this System.Text.Encoding encoding, System.Buffers.ReadOnlySequence bytes) => throw null; } - // Generated from `System.Text.SpanLineEnumerator` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.SpanLineEnumerator` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct SpanLineEnumerator { public System.ReadOnlySpan Current { get => throw null; } @@ -566,7 +576,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Text.SpanRuneEnumerator` in `System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.SpanRuneEnumerator` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct SpanRuneEnumerator { public System.Text.Rune Current { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.Json.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.Json.cs index b9d7e73fdce..e08f3cb25bf 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.Json.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.Json.cs @@ -8,9 +8,21 @@ namespace System { namespace Json { - // Generated from `System.Net.Http.Json.HttpClientJsonExtensions` in `System.Net.Http.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Http.Json.HttpClientJsonExtensions` in `System.Net.Http.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class HttpClientJsonExtensions { + public static System.Threading.Tasks.Task DeleteFromJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, System.Type type, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task DeleteFromJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, System.Type type, System.Text.Json.Serialization.JsonSerializerContext context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task DeleteFromJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, System.Type type, System.Text.Json.JsonSerializerOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task DeleteFromJsonAsync(this System.Net.Http.HttpClient client, string requestUri, System.Type type, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task DeleteFromJsonAsync(this System.Net.Http.HttpClient client, string requestUri, System.Type type, System.Text.Json.Serialization.JsonSerializerContext context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task DeleteFromJsonAsync(this System.Net.Http.HttpClient client, string requestUri, System.Type type, System.Text.Json.JsonSerializerOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task DeleteFromJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task DeleteFromJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, System.Text.Json.JsonSerializerOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task DeleteFromJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task DeleteFromJsonAsync(this System.Net.Http.HttpClient client, string requestUri, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task DeleteFromJsonAsync(this System.Net.Http.HttpClient client, string requestUri, System.Text.Json.JsonSerializerOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task DeleteFromJsonAsync(this System.Net.Http.HttpClient client, string requestUri, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task GetFromJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, System.Type type, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task GetFromJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, System.Type type, System.Text.Json.Serialization.JsonSerializerContext context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task GetFromJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, System.Type type, System.Text.Json.JsonSerializerOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -23,6 +35,12 @@ namespace System public static System.Threading.Tasks.Task GetFromJsonAsync(this System.Net.Http.HttpClient client, string requestUri, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task GetFromJsonAsync(this System.Net.Http.HttpClient client, string requestUri, System.Text.Json.JsonSerializerOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task GetFromJsonAsync(this System.Net.Http.HttpClient client, string requestUri, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task PatchAsJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, TValue value, System.Threading.CancellationToken cancellationToken) => throw null; + public static System.Threading.Tasks.Task PatchAsJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, TValue value, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task PatchAsJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, TValue value, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task PatchAsJsonAsync(this System.Net.Http.HttpClient client, string requestUri, TValue value, System.Threading.CancellationToken cancellationToken) => throw null; + public static System.Threading.Tasks.Task PatchAsJsonAsync(this System.Net.Http.HttpClient client, string requestUri, TValue value, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task PatchAsJsonAsync(this System.Net.Http.HttpClient client, string requestUri, TValue value, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task PostAsJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, TValue value, System.Threading.CancellationToken cancellationToken) => throw null; public static System.Threading.Tasks.Task PostAsJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, TValue value, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task PostAsJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, TValue value, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -37,7 +55,7 @@ namespace System public static System.Threading.Tasks.Task PutAsJsonAsync(this System.Net.Http.HttpClient client, string requestUri, TValue value, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.Net.Http.Json.HttpContentJsonExtensions` in `System.Net.Http.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Http.Json.HttpContentJsonExtensions` in `System.Net.Http.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class HttpContentJsonExtensions { public static System.Threading.Tasks.Task ReadFromJsonAsync(this System.Net.Http.HttpContent content, System.Type type, System.Text.Json.Serialization.JsonSerializerContext context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -46,7 +64,7 @@ namespace System public static System.Threading.Tasks.Task ReadFromJsonAsync(this System.Net.Http.HttpContent content, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.Net.Http.Json.JsonContent` in `System.Net.Http.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Http.Json.JsonContent` in `System.Net.Http.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonContent : System.Net.Http.HttpContent { public static System.Net.Http.Json.JsonContent Create(object inputValue, System.Type inputType, System.Net.Http.Headers.MediaTypeHeaderValue mediaType = default(System.Net.Http.Headers.MediaTypeHeaderValue), System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions)) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.cs index 320e4ceec59..b205db37aff 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.cs @@ -6,7 +6,7 @@ namespace System { namespace Http { - // Generated from `System.Net.Http.ByteArrayContent` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.ByteArrayContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ByteArrayContent : System.Net.Http.HttpContent { public ByteArrayContent(System.Byte[] content) => throw null; @@ -19,14 +19,14 @@ namespace System protected internal override bool TryComputeLength(out System.Int64 length) => throw null; } - // Generated from `System.Net.Http.ClientCertificateOption` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.ClientCertificateOption` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ClientCertificateOption : int { Automatic = 1, Manual = 0, } - // Generated from `System.Net.Http.DelegatingHandler` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.DelegatingHandler` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DelegatingHandler : System.Net.Http.HttpMessageHandler { protected DelegatingHandler() => throw null; @@ -37,17 +37,17 @@ namespace System protected internal override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Net.Http.FormUrlEncodedContent` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.FormUrlEncodedContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FormUrlEncodedContent : System.Net.Http.ByteArrayContent { public FormUrlEncodedContent(System.Collections.Generic.IEnumerable> nameValueCollection) : base(default(System.Byte[])) => throw null; protected override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Net.Http.HeaderEncodingSelector<>` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HeaderEncodingSelector<>` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.Text.Encoding HeaderEncodingSelector(string headerName, TContext context); - // Generated from `System.Net.Http.HttpClient` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpClient` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpClient : System.Net.Http.HttpMessageInvoker { public System.Uri BaseAddress { get => throw null; set => throw null; } @@ -108,7 +108,7 @@ namespace System public System.TimeSpan Timeout { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.HttpClientHandler` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpClientHandler` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpClientHandler : System.Net.Http.HttpMessageHandler { public bool AllowAutoRedirect { get => throw null; set => throw null; } @@ -141,14 +141,14 @@ namespace System public bool UseProxy { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.HttpCompletionOption` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpCompletionOption` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpCompletionOption : int { ResponseContentRead = 0, ResponseHeadersRead = 1, } - // Generated from `System.Net.Http.HttpContent` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class HttpContent : System.IDisposable { public void CopyTo(System.IO.Stream stream, System.Net.TransportContext context, System.Threading.CancellationToken cancellationToken) => throw null; @@ -179,14 +179,14 @@ namespace System protected internal abstract bool TryComputeLength(out System.Int64 length); } - // Generated from `System.Net.Http.HttpKeepAlivePingPolicy` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpKeepAlivePingPolicy` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpKeepAlivePingPolicy : int { Always = 1, WithActiveRequests = 0, } - // Generated from `System.Net.Http.HttpMessageHandler` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpMessageHandler` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class HttpMessageHandler : System.IDisposable { public void Dispose() => throw null; @@ -196,7 +196,7 @@ namespace System protected internal abstract System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken); } - // Generated from `System.Net.Http.HttpMessageInvoker` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpMessageInvoker` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpMessageInvoker : System.IDisposable { public void Dispose() => throw null; @@ -207,11 +207,12 @@ namespace System public virtual System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Net.Http.HttpMethod` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpMethod` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpMethod : System.IEquatable { public static bool operator !=(System.Net.Http.HttpMethod left, System.Net.Http.HttpMethod right) => throw null; public static bool operator ==(System.Net.Http.HttpMethod left, System.Net.Http.HttpMethod right) => throw null; + public static System.Net.Http.HttpMethod Connect { get => throw null; } public static System.Net.Http.HttpMethod Delete { get => throw null; } public bool Equals(System.Net.Http.HttpMethod other) => throw null; public override bool Equals(object obj) => throw null; @@ -228,7 +229,14 @@ namespace System public static System.Net.Http.HttpMethod Trace { get => throw null; } } - // Generated from `System.Net.Http.HttpRequestException` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpProtocolException` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class HttpProtocolException : System.IO.IOException + { + public System.Int64 ErrorCode { get => throw null; } + public HttpProtocolException(System.Int64 errorCode, string message, System.Exception innerException) => throw null; + } + + // Generated from `System.Net.Http.HttpRequestException` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpRequestException : System.Exception { public HttpRequestException() => throw null; @@ -238,7 +246,7 @@ namespace System public System.Net.HttpStatusCode? StatusCode { get => throw null; } } - // Generated from `System.Net.Http.HttpRequestMessage` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpRequestMessage` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpRequestMessage : System.IDisposable { public System.Net.Http.HttpContent Content { get => throw null; set => throw null; } @@ -257,7 +265,7 @@ namespace System public System.Net.Http.HttpVersionPolicy VersionPolicy { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.HttpRequestOptions` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpRequestOptions` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpRequestOptions : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -281,7 +289,7 @@ namespace System System.Collections.Generic.ICollection System.Collections.Generic.IDictionary.Values { get => throw null; } } - // Generated from `System.Net.Http.HttpRequestOptionsKey<>` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpRequestOptionsKey<>` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct HttpRequestOptionsKey { // Stub generator skipped constructor @@ -289,7 +297,7 @@ namespace System public string Key { get => throw null; } } - // Generated from `System.Net.Http.HttpResponseMessage` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpResponseMessage` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpResponseMessage : System.IDisposable { public System.Net.Http.HttpContent Content { get => throw null; set => throw null; } @@ -308,7 +316,7 @@ namespace System public System.Version Version { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.HttpVersionPolicy` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.HttpVersionPolicy` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpVersionPolicy : int { RequestVersionExact = 2, @@ -316,7 +324,7 @@ namespace System RequestVersionOrLower = 0, } - // Generated from `System.Net.Http.MessageProcessingHandler` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.MessageProcessingHandler` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MessageProcessingHandler : System.Net.Http.DelegatingHandler { protected MessageProcessingHandler() => throw null; @@ -327,7 +335,7 @@ namespace System protected internal override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Net.Http.MultipartContent` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.MultipartContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MultipartContent : System.Net.Http.HttpContent, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual void Add(System.Net.Http.HttpContent content) => throw null; @@ -347,7 +355,7 @@ namespace System protected internal override bool TryComputeLength(out System.Int64 length) => throw null; } - // Generated from `System.Net.Http.MultipartFormDataContent` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.MultipartFormDataContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MultipartFormDataContent : System.Net.Http.MultipartContent { public override void Add(System.Net.Http.HttpContent content) => throw null; @@ -358,7 +366,7 @@ namespace System protected override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Net.Http.ReadOnlyMemoryContent` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.ReadOnlyMemoryContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReadOnlyMemoryContent : System.Net.Http.HttpContent { protected override System.IO.Stream CreateContentReadStream(System.Threading.CancellationToken cancellationToken) => throw null; @@ -370,14 +378,14 @@ namespace System protected internal override bool TryComputeLength(out System.Int64 length) => throw null; } - // Generated from `System.Net.Http.SocketsHttpConnectionContext` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.SocketsHttpConnectionContext` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SocketsHttpConnectionContext { public System.Net.DnsEndPoint DnsEndPoint { get => throw null; } public System.Net.Http.HttpRequestMessage InitialRequestMessage { get => throw null; } } - // Generated from `System.Net.Http.SocketsHttpHandler` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.SocketsHttpHandler` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SocketsHttpHandler : System.Net.Http.HttpMessageHandler { public System.Diagnostics.DistributedContextPropagator ActivityHeadersPropagator { get => throw null; set => throw null; } @@ -417,7 +425,7 @@ namespace System public bool UseProxy { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.SocketsHttpPlaintextStreamFilterContext` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.SocketsHttpPlaintextStreamFilterContext` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SocketsHttpPlaintextStreamFilterContext { public System.Net.Http.HttpRequestMessage InitialRequestMessage { get => throw null; } @@ -425,7 +433,7 @@ namespace System public System.IO.Stream PlaintextStream { get => throw null; } } - // Generated from `System.Net.Http.StreamContent` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.StreamContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StreamContent : System.Net.Http.HttpContent { protected override System.IO.Stream CreateContentReadStream(System.Threading.CancellationToken cancellationToken) => throw null; @@ -439,18 +447,20 @@ namespace System protected internal override bool TryComputeLength(out System.Int64 length) => throw null; } - // Generated from `System.Net.Http.StringContent` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.StringContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringContent : System.Net.Http.ByteArrayContent { protected override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context, System.Threading.CancellationToken cancellationToken) => throw null; public StringContent(string content) : base(default(System.Byte[])) => throw null; public StringContent(string content, System.Text.Encoding encoding) : base(default(System.Byte[])) => throw null; + public StringContent(string content, System.Text.Encoding encoding, System.Net.Http.Headers.MediaTypeHeaderValue mediaType) : base(default(System.Byte[])) => throw null; public StringContent(string content, System.Text.Encoding encoding, string mediaType) : base(default(System.Byte[])) => throw null; + public StringContent(string content, System.Net.Http.Headers.MediaTypeHeaderValue mediaType) : base(default(System.Byte[])) => throw null; } namespace Headers { - // Generated from `System.Net.Http.Headers.AuthenticationHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.AuthenticationHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AuthenticationHeaderValue : System.ICloneable { public AuthenticationHeaderValue(string scheme) => throw null; @@ -465,7 +475,7 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.AuthenticationHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.CacheControlHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.CacheControlHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CacheControlHeaderValue : System.ICloneable { public CacheControlHeaderValue() => throw null; @@ -493,7 +503,7 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.CacheControlHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.ContentDispositionHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.ContentDispositionHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContentDispositionHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -515,7 +525,7 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.ContentDispositionHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.ContentRangeHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.ContentRangeHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContentRangeHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -535,7 +545,7 @@ namespace System public string Unit { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.Headers.EntityTagHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.EntityTagHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EntityTagHeaderValue : System.ICloneable { public static System.Net.Http.Headers.EntityTagHeaderValue Any { get => throw null; } @@ -551,10 +561,10 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.EntityTagHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.HeaderStringValues` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.HeaderStringValues` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct HeaderStringValues : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Net.Http.Headers.HeaderStringValues+Enumerator` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.HeaderStringValues+Enumerator` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public string Current { get => throw null; } @@ -574,7 +584,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Http.Headers.HttpContentHeaders` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.HttpContentHeaders` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpContentHeaders : System.Net.Http.Headers.HttpHeaders { public System.Collections.Generic.ICollection Allow { get => throw null; } @@ -590,7 +600,7 @@ namespace System public System.DateTimeOffset? LastModified { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.Headers.HttpHeaderValueCollection<>` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.HttpHeaderValueCollection<>` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpHeaderValueCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable where T : class { public void Add(T item) => throw null; @@ -607,7 +617,7 @@ namespace System public bool TryParseAdd(string input) => throw null; } - // Generated from `System.Net.Http.Headers.HttpHeaders` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.HttpHeaders` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class HttpHeaders : System.Collections.Generic.IEnumerable>>, System.Collections.IEnumerable { public void Add(string name, System.Collections.Generic.IEnumerable values) => throw null; @@ -626,10 +636,10 @@ namespace System public bool TryGetValues(string name, out System.Collections.Generic.IEnumerable values) => throw null; } - // Generated from `System.Net.Http.Headers.HttpHeadersNonValidated` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.HttpHeadersNonValidated` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct HttpHeadersNonValidated : System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.IEnumerable { - // Generated from `System.Net.Http.Headers.HttpHeadersNonValidated+Enumerator` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.HttpHeadersNonValidated+Enumerator` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -655,7 +665,7 @@ namespace System System.Collections.Generic.IEnumerable System.Collections.Generic.IReadOnlyDictionary.Values { get => throw null; } } - // Generated from `System.Net.Http.Headers.HttpRequestHeaders` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.HttpRequestHeaders` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpRequestHeaders : System.Net.Http.Headers.HttpHeaders { public System.Net.Http.Headers.HttpHeaderValueCollection Accept { get => throw null; } @@ -678,6 +688,7 @@ namespace System public System.DateTimeOffset? IfUnmodifiedSince { get => throw null; set => throw null; } public int? MaxForwards { get => throw null; set => throw null; } public System.Net.Http.Headers.HttpHeaderValueCollection Pragma { get => throw null; } + public string Protocol { get => throw null; set => throw null; } public System.Net.Http.Headers.AuthenticationHeaderValue ProxyAuthorization { get => throw null; set => throw null; } public System.Net.Http.Headers.RangeHeaderValue Range { get => throw null; set => throw null; } public System.Uri Referrer { get => throw null; set => throw null; } @@ -691,7 +702,7 @@ namespace System public System.Net.Http.Headers.HttpHeaderValueCollection Warning { get => throw null; } } - // Generated from `System.Net.Http.Headers.HttpResponseHeaders` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.HttpResponseHeaders` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpResponseHeaders : System.Net.Http.Headers.HttpHeaders { public System.Net.Http.Headers.HttpHeaderValueCollection AcceptRanges { get => throw null; } @@ -716,7 +727,7 @@ namespace System public System.Net.Http.Headers.HttpHeaderValueCollection WwwAuthenticate { get => throw null; } } - // Generated from `System.Net.Http.Headers.MediaTypeHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.MediaTypeHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MediaTypeHeaderValue : System.ICloneable { public string CharSet { get => throw null; set => throw null; } @@ -726,13 +737,14 @@ namespace System public string MediaType { get => throw null; set => throw null; } protected MediaTypeHeaderValue(System.Net.Http.Headers.MediaTypeHeaderValue source) => throw null; public MediaTypeHeaderValue(string mediaType) => throw null; + public MediaTypeHeaderValue(string mediaType, string charSet) => throw null; public System.Collections.Generic.ICollection Parameters { get => throw null; } public static System.Net.Http.Headers.MediaTypeHeaderValue Parse(string input) => throw null; public override string ToString() => throw null; public static bool TryParse(string input, out System.Net.Http.Headers.MediaTypeHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.MediaTypeWithQualityHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.MediaTypeWithQualityHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MediaTypeWithQualityHeaderValue : System.Net.Http.Headers.MediaTypeHeaderValue, System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -743,7 +755,7 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.MediaTypeWithQualityHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.NameValueHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.NameValueHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NameValueHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -759,7 +771,7 @@ namespace System public string Value { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.Headers.NameValueWithParametersHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.NameValueWithParametersHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NameValueWithParametersHeaderValue : System.Net.Http.Headers.NameValueHeaderValue, System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -774,7 +786,7 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.NameValueWithParametersHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.ProductHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.ProductHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProductHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -789,7 +801,7 @@ namespace System public string Version { get => throw null; } } - // Generated from `System.Net.Http.Headers.ProductInfoHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.ProductInfoHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProductInfoHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -805,7 +817,7 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.ProductInfoHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.RangeConditionHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.RangeConditionHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RangeConditionHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -821,7 +833,7 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.RangeConditionHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.RangeHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.RangeHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RangeHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -836,7 +848,7 @@ namespace System public string Unit { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.Headers.RangeItemHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.RangeItemHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RangeItemHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -848,7 +860,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Http.Headers.RetryConditionHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.RetryConditionHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RetryConditionHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -863,7 +875,7 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.RetryConditionHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.StringWithQualityHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.StringWithQualityHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringWithQualityHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -878,7 +890,7 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Net.Http.Headers.TransferCodingHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.TransferCodingHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TransferCodingHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -893,7 +905,7 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Net.Http.Headers.TransferCodingWithQualityHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.TransferCodingWithQualityHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TransferCodingWithQualityHeaderValue : System.Net.Http.Headers.TransferCodingHeaderValue, System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -904,7 +916,7 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.TransferCodingWithQualityHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.ViaHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.ViaHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ViaHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -922,7 +934,7 @@ namespace System public ViaHeaderValue(string protocolVersion, string receivedBy, string protocolName, string comment) => throw null; } - // Generated from `System.Net.Http.Headers.WarningHeaderValue` in `System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Http.Headers.WarningHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WarningHeaderValue : System.ICloneable { public string Agent { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.HttpListener.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.HttpListener.cs index c1642a72074..c5ee384896c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.HttpListener.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.HttpListener.cs @@ -4,13 +4,13 @@ namespace System { namespace Net { - // Generated from `System.Net.AuthenticationSchemeSelector` in `System.Net.HttpListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.AuthenticationSchemeSelector` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate System.Net.AuthenticationSchemes AuthenticationSchemeSelector(System.Net.HttpListenerRequest httpRequest); - // Generated from `System.Net.HttpListener` in `System.Net.HttpListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.HttpListener` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListener : System.IDisposable { - // Generated from `System.Net.HttpListener+ExtendedProtectionSelector` in `System.Net.HttpListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.HttpListener+ExtendedProtectionSelector` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy ExtendedProtectionSelector(System.Net.HttpListenerRequest request); @@ -38,14 +38,14 @@ namespace System public bool UnsafeConnectionNtlmAuthentication { get => throw null; set => throw null; } } - // Generated from `System.Net.HttpListenerBasicIdentity` in `System.Net.HttpListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.HttpListenerBasicIdentity` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerBasicIdentity : System.Security.Principal.GenericIdentity { public HttpListenerBasicIdentity(string username, string password) : base(default(System.Security.Principal.GenericIdentity)) => throw null; public virtual string Password { get => throw null; } } - // Generated from `System.Net.HttpListenerContext` in `System.Net.HttpListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.HttpListenerContext` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerContext { public System.Threading.Tasks.Task AcceptWebSocketAsync(string subProtocol) => throw null; @@ -57,7 +57,7 @@ namespace System public System.Security.Principal.IPrincipal User { get => throw null; } } - // Generated from `System.Net.HttpListenerException` in `System.Net.HttpListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.HttpListenerException` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerException : System.ComponentModel.Win32Exception { public override int ErrorCode { get => throw null; } @@ -67,7 +67,7 @@ namespace System public HttpListenerException(int errorCode, string message) => throw null; } - // Generated from `System.Net.HttpListenerPrefixCollection` in `System.Net.HttpListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.HttpListenerPrefixCollection` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerPrefixCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public void Add(string uriPrefix) => throw null; @@ -83,7 +83,7 @@ namespace System public bool Remove(string uriPrefix) => throw null; } - // Generated from `System.Net.HttpListenerRequest` in `System.Net.HttpListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.HttpListenerRequest` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerRequest { public string[] AcceptTypes { get => throw null; } @@ -121,7 +121,7 @@ namespace System public string[] UserLanguages { get => throw null; } } - // Generated from `System.Net.HttpListenerResponse` in `System.Net.HttpListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.HttpListenerResponse` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerResponse : System.IDisposable { public void Abort() => throw null; @@ -148,7 +148,7 @@ namespace System public string StatusDescription { get => throw null; set => throw null; } } - // Generated from `System.Net.HttpListenerTimeoutManager` in `System.Net.HttpListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.HttpListenerTimeoutManager` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerTimeoutManager { public System.TimeSpan DrainEntityBody { get => throw null; set => throw null; } @@ -161,7 +161,7 @@ namespace System namespace WebSockets { - // Generated from `System.Net.WebSockets.HttpListenerWebSocketContext` in `System.Net.HttpListener, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.WebSockets.HttpListenerWebSocketContext` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerWebSocketContext : System.Net.WebSockets.WebSocketContext { public override System.Net.CookieCollection CookieCollection { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Mail.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Mail.cs index abab9ff0953..92ac877e71c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Mail.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Mail.cs @@ -6,7 +6,7 @@ namespace System { namespace Mail { - // Generated from `System.Net.Mail.AlternateView` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.AlternateView` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class AlternateView : System.Net.Mail.AttachmentBase { public AlternateView(System.IO.Stream contentStream) : base(default(System.IO.Stream)) => throw null; @@ -23,7 +23,7 @@ namespace System public System.Net.Mail.LinkedResourceCollection LinkedResources { get => throw null; } } - // Generated from `System.Net.Mail.AlternateViewCollection` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.AlternateViewCollection` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class AlternateViewCollection : System.Collections.ObjectModel.Collection, System.IDisposable { protected override void ClearItems() => throw null; @@ -33,7 +33,7 @@ namespace System protected override void SetItem(int index, System.Net.Mail.AlternateView item) => throw null; } - // Generated from `System.Net.Mail.Attachment` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.Attachment` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Attachment : System.Net.Mail.AttachmentBase { public Attachment(System.IO.Stream contentStream, System.Net.Mime.ContentType contentType) : base(default(System.IO.Stream)) => throw null; @@ -50,7 +50,7 @@ namespace System public System.Text.Encoding NameEncoding { get => throw null; set => throw null; } } - // Generated from `System.Net.Mail.AttachmentBase` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.AttachmentBase` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class AttachmentBase : System.IDisposable { protected AttachmentBase(System.IO.Stream contentStream) => throw null; @@ -67,7 +67,7 @@ namespace System public System.Net.Mime.TransferEncoding TransferEncoding { get => throw null; set => throw null; } } - // Generated from `System.Net.Mail.AttachmentCollection` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.AttachmentCollection` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class AttachmentCollection : System.Collections.ObjectModel.Collection, System.IDisposable { protected override void ClearItems() => throw null; @@ -77,7 +77,7 @@ namespace System protected override void SetItem(int index, System.Net.Mail.Attachment item) => throw null; } - // Generated from `System.Net.Mail.DeliveryNotificationOptions` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.DeliveryNotificationOptions` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum DeliveryNotificationOptions : int { @@ -88,7 +88,7 @@ namespace System OnSuccess = 1, } - // Generated from `System.Net.Mail.LinkedResource` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.LinkedResource` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class LinkedResource : System.Net.Mail.AttachmentBase { public System.Uri ContentLink { get => throw null; set => throw null; } @@ -103,7 +103,7 @@ namespace System public LinkedResource(string fileName, string mediaType) : base(default(System.IO.Stream)) => throw null; } - // Generated from `System.Net.Mail.LinkedResourceCollection` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.LinkedResourceCollection` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class LinkedResourceCollection : System.Collections.ObjectModel.Collection, System.IDisposable { protected override void ClearItems() => throw null; @@ -113,7 +113,7 @@ namespace System protected override void SetItem(int index, System.Net.Mail.LinkedResource item) => throw null; } - // Generated from `System.Net.Mail.MailAddress` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.MailAddress` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class MailAddress { public string Address { get => throw null; } @@ -131,7 +131,7 @@ namespace System public string User { get => throw null; } } - // Generated from `System.Net.Mail.MailAddressCollection` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.MailAddressCollection` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class MailAddressCollection : System.Collections.ObjectModel.Collection { public void Add(string addresses) => throw null; @@ -141,7 +141,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Mail.MailMessage` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.MailMessage` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class MailMessage : System.IDisposable { public System.Net.Mail.AlternateViewCollection AlternateViews { get => throw null; } @@ -171,7 +171,7 @@ namespace System public System.Net.Mail.MailAddressCollection To { get => throw null; } } - // Generated from `System.Net.Mail.MailPriority` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.MailPriority` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum MailPriority : int { High = 2, @@ -179,10 +179,10 @@ namespace System Normal = 0, } - // Generated from `System.Net.Mail.SendCompletedEventHandler` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.SendCompletedEventHandler` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void SendCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - // Generated from `System.Net.Mail.SmtpClient` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.SmtpClient` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SmtpClient : System.IDisposable { public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get => throw null; } @@ -215,14 +215,14 @@ namespace System public bool UseDefaultCredentials { get => throw null; set => throw null; } } - // Generated from `System.Net.Mail.SmtpDeliveryFormat` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.SmtpDeliveryFormat` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum SmtpDeliveryFormat : int { International = 1, SevenBit = 0, } - // Generated from `System.Net.Mail.SmtpDeliveryMethod` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.SmtpDeliveryMethod` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum SmtpDeliveryMethod : int { Network = 0, @@ -230,7 +230,7 @@ namespace System SpecifiedPickupDirectory = 1, } - // Generated from `System.Net.Mail.SmtpException` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.SmtpException` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SmtpException : System.Exception, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -244,7 +244,7 @@ namespace System public System.Net.Mail.SmtpStatusCode StatusCode { get => throw null; set => throw null; } } - // Generated from `System.Net.Mail.SmtpFailedRecipientException` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.SmtpFailedRecipientException` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SmtpFailedRecipientException : System.Net.Mail.SmtpException, System.Runtime.Serialization.ISerializable { public string FailedRecipient { get => throw null; } @@ -259,7 +259,7 @@ namespace System public SmtpFailedRecipientException(string message, string failedRecipient, System.Exception innerException) => throw null; } - // Generated from `System.Net.Mail.SmtpFailedRecipientsException` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.SmtpFailedRecipientsException` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SmtpFailedRecipientsException : System.Net.Mail.SmtpFailedRecipientException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -272,7 +272,7 @@ namespace System public SmtpFailedRecipientsException(string message, System.Net.Mail.SmtpFailedRecipientException[] innerExceptions) => throw null; } - // Generated from `System.Net.Mail.SmtpStatusCode` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mail.SmtpStatusCode` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum SmtpStatusCode : int { BadCommandSequence = 503, @@ -305,7 +305,7 @@ namespace System } namespace Mime { - // Generated from `System.Net.Mime.ContentDisposition` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mime.ContentDisposition` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ContentDisposition { public ContentDisposition() => throw null; @@ -323,7 +323,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Mime.ContentType` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mime.ContentType` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ContentType { public string Boundary { get => throw null; set => throw null; } @@ -338,17 +338,17 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Mime.DispositionTypeNames` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mime.DispositionTypeNames` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class DispositionTypeNames { public const string Attachment = default; public const string Inline = default; } - // Generated from `System.Net.Mime.MediaTypeNames` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mime.MediaTypeNames` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class MediaTypeNames { - // Generated from `System.Net.Mime.MediaTypeNames+Application` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mime.MediaTypeNames+Application` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Application { public const string Json = default; @@ -361,7 +361,7 @@ namespace System } - // Generated from `System.Net.Mime.MediaTypeNames+Image` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mime.MediaTypeNames+Image` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Image { public const string Gif = default; @@ -370,7 +370,7 @@ namespace System } - // Generated from `System.Net.Mime.MediaTypeNames+Text` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mime.MediaTypeNames+Text` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Text { public const string Html = default; @@ -382,7 +382,7 @@ namespace System } - // Generated from `System.Net.Mime.TransferEncoding` in `System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.Mime.TransferEncoding` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum TransferEncoding : int { Base64 = 1, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NameResolution.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NameResolution.cs index 3685fa6656c..0ef4e72b2e3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NameResolution.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NameResolution.cs @@ -4,7 +4,7 @@ namespace System { namespace Net { - // Generated from `System.Net.Dns` in `System.Net.NameResolution, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Dns` in `System.Net.NameResolution, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Dns { public static System.IAsyncResult BeginGetHostAddresses(string hostNameOrAddress, System.AsyncCallback requestCallback, object state) => throw null; @@ -35,7 +35,7 @@ namespace System public static System.Net.IPHostEntry Resolve(string hostName) => throw null; } - // Generated from `System.Net.IPHostEntry` in `System.Net.NameResolution, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.IPHostEntry` in `System.Net.NameResolution, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IPHostEntry { public System.Net.IPAddress[] AddressList { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NetworkInformation.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NetworkInformation.cs index e0bd215f663..c911dc44551 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NetworkInformation.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NetworkInformation.cs @@ -6,7 +6,7 @@ namespace System { namespace NetworkInformation { - // Generated from `System.Net.NetworkInformation.DuplicateAddressDetectionState` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.DuplicateAddressDetectionState` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DuplicateAddressDetectionState : int { Deprecated = 3, @@ -16,14 +16,14 @@ namespace System Tentative = 1, } - // Generated from `System.Net.NetworkInformation.GatewayIPAddressInformation` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.GatewayIPAddressInformation` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class GatewayIPAddressInformation { public abstract System.Net.IPAddress Address { get; } protected GatewayIPAddressInformation() => throw null; } - // Generated from `System.Net.NetworkInformation.GatewayIPAddressInformationCollection` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.GatewayIPAddressInformationCollection` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GatewayIPAddressInformationCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual void Add(System.Net.NetworkInformation.GatewayIPAddressInformation address) => throw null; @@ -39,7 +39,7 @@ namespace System public virtual bool Remove(System.Net.NetworkInformation.GatewayIPAddressInformation address) => throw null; } - // Generated from `System.Net.NetworkInformation.IPAddressInformation` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.IPAddressInformation` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPAddressInformation { public abstract System.Net.IPAddress Address { get; } @@ -48,7 +48,7 @@ namespace System public abstract bool IsTransient { get; } } - // Generated from `System.Net.NetworkInformation.IPAddressInformationCollection` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.IPAddressInformationCollection` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IPAddressInformationCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual void Add(System.Net.NetworkInformation.IPAddressInformation address) => throw null; @@ -63,7 +63,7 @@ namespace System public virtual bool Remove(System.Net.NetworkInformation.IPAddressInformation address) => throw null; } - // Generated from `System.Net.NetworkInformation.IPGlobalProperties` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.IPGlobalProperties` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPGlobalProperties { public virtual System.IAsyncResult BeginGetUnicastAddresses(System.AsyncCallback callback, object state) => throw null; @@ -90,7 +90,7 @@ namespace System public abstract System.Net.NetworkInformation.NetBiosNodeType NodeType { get; } } - // Generated from `System.Net.NetworkInformation.IPGlobalStatistics` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.IPGlobalStatistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPGlobalStatistics { public abstract int DefaultTtl { get; } @@ -118,7 +118,7 @@ namespace System public abstract System.Int64 ReceivedPacketsWithUnknownProtocol { get; } } - // Generated from `System.Net.NetworkInformation.IPInterfaceProperties` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.IPInterfaceProperties` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPInterfaceProperties { public abstract System.Net.NetworkInformation.IPAddressInformationCollection AnycastAddresses { get; } @@ -136,7 +136,7 @@ namespace System public abstract System.Net.NetworkInformation.IPAddressCollection WinsServersAddresses { get; } } - // Generated from `System.Net.NetworkInformation.IPInterfaceStatistics` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.IPInterfaceStatistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPInterfaceStatistics { public abstract System.Int64 BytesReceived { get; } @@ -154,7 +154,7 @@ namespace System public abstract System.Int64 UnicastPacketsSent { get; } } - // Generated from `System.Net.NetworkInformation.IPv4InterfaceProperties` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.IPv4InterfaceProperties` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPv4InterfaceProperties { protected IPv4InterfaceProperties() => throw null; @@ -167,7 +167,7 @@ namespace System public abstract bool UsesWins { get; } } - // Generated from `System.Net.NetworkInformation.IPv4InterfaceStatistics` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.IPv4InterfaceStatistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPv4InterfaceStatistics { public abstract System.Int64 BytesReceived { get; } @@ -185,7 +185,7 @@ namespace System public abstract System.Int64 UnicastPacketsSent { get; } } - // Generated from `System.Net.NetworkInformation.IPv6InterfaceProperties` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.IPv6InterfaceProperties` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPv6InterfaceProperties { public virtual System.Int64 GetScopeId(System.Net.NetworkInformation.ScopeLevel scopeLevel) => throw null; @@ -194,7 +194,7 @@ namespace System public abstract int Mtu { get; } } - // Generated from `System.Net.NetworkInformation.IcmpV4Statistics` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.IcmpV4Statistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IcmpV4Statistics { public abstract System.Int64 AddressMaskRepliesReceived { get; } @@ -226,7 +226,7 @@ namespace System public abstract System.Int64 TimestampRequestsSent { get; } } - // Generated from `System.Net.NetworkInformation.IcmpV6Statistics` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.IcmpV6Statistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IcmpV6Statistics { public abstract System.Int64 DestinationUnreachableMessagesReceived { get; } @@ -264,7 +264,7 @@ namespace System public abstract System.Int64 TimeExceededMessagesSent { get; } } - // Generated from `System.Net.NetworkInformation.MulticastIPAddressInformation` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.MulticastIPAddressInformation` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MulticastIPAddressInformation : System.Net.NetworkInformation.IPAddressInformation { public abstract System.Int64 AddressPreferredLifetime { get; } @@ -276,7 +276,7 @@ namespace System public abstract System.Net.NetworkInformation.SuffixOrigin SuffixOrigin { get; } } - // Generated from `System.Net.NetworkInformation.MulticastIPAddressInformationCollection` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.MulticastIPAddressInformationCollection` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MulticastIPAddressInformationCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual void Add(System.Net.NetworkInformation.MulticastIPAddressInformation address) => throw null; @@ -292,7 +292,7 @@ namespace System public virtual bool Remove(System.Net.NetworkInformation.MulticastIPAddressInformation address) => throw null; } - // Generated from `System.Net.NetworkInformation.NetBiosNodeType` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.NetBiosNodeType` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NetBiosNodeType : int { Broadcast = 1, @@ -302,19 +302,19 @@ namespace System Unknown = 0, } - // Generated from `System.Net.NetworkInformation.NetworkAddressChangedEventHandler` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.NetworkAddressChangedEventHandler` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void NetworkAddressChangedEventHandler(object sender, System.EventArgs e); - // Generated from `System.Net.NetworkInformation.NetworkAvailabilityChangedEventHandler` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.NetworkAvailabilityChangedEventHandler` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void NetworkAvailabilityChangedEventHandler(object sender, System.Net.NetworkInformation.NetworkAvailabilityEventArgs e); - // Generated from `System.Net.NetworkInformation.NetworkAvailabilityEventArgs` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.NetworkAvailabilityEventArgs` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetworkAvailabilityEventArgs : System.EventArgs { public bool IsAvailable { get => throw null; } } - // Generated from `System.Net.NetworkInformation.NetworkChange` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.NetworkChange` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetworkChange { public static event System.Net.NetworkInformation.NetworkAddressChangedEventHandler NetworkAddressChanged; @@ -323,7 +323,7 @@ namespace System public static void RegisterNetworkChange(System.Net.NetworkInformation.NetworkChange nc) => throw null; } - // Generated from `System.Net.NetworkInformation.NetworkInformationException` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.NetworkInformationException` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetworkInformationException : System.ComponentModel.Win32Exception { public override int ErrorCode { get => throw null; } @@ -332,7 +332,7 @@ namespace System public NetworkInformationException(int errorCode) => throw null; } - // Generated from `System.Net.NetworkInformation.NetworkInterface` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.NetworkInterface` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class NetworkInterface { public virtual string Description { get => throw null; } @@ -355,14 +355,14 @@ namespace System public virtual bool SupportsMulticast { get => throw null; } } - // Generated from `System.Net.NetworkInformation.NetworkInterfaceComponent` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.NetworkInterfaceComponent` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NetworkInterfaceComponent : int { IPv4 = 0, IPv6 = 1, } - // Generated from `System.Net.NetworkInformation.NetworkInterfaceType` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.NetworkInterfaceType` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NetworkInterfaceType : int { AsymmetricDsl = 94, @@ -395,7 +395,7 @@ namespace System Wwanpp2 = 244, } - // Generated from `System.Net.NetworkInformation.OperationalStatus` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.OperationalStatus` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OperationalStatus : int { Dormant = 5, @@ -407,7 +407,7 @@ namespace System Up = 1, } - // Generated from `System.Net.NetworkInformation.PhysicalAddress` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.PhysicalAddress` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PhysicalAddress { public override bool Equals(object comparand) => throw null; @@ -422,7 +422,7 @@ namespace System public static bool TryParse(string address, out System.Net.NetworkInformation.PhysicalAddress value) => throw null; } - // Generated from `System.Net.NetworkInformation.PrefixOrigin` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.PrefixOrigin` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PrefixOrigin : int { Dhcp = 3, @@ -432,7 +432,7 @@ namespace System WellKnown = 2, } - // Generated from `System.Net.NetworkInformation.ScopeLevel` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.ScopeLevel` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ScopeLevel : int { Admin = 4, @@ -445,7 +445,7 @@ namespace System Subnet = 3, } - // Generated from `System.Net.NetworkInformation.SuffixOrigin` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.SuffixOrigin` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SuffixOrigin : int { LinkLayerAddress = 4, @@ -456,7 +456,7 @@ namespace System WellKnown = 2, } - // Generated from `System.Net.NetworkInformation.TcpConnectionInformation` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.TcpConnectionInformation` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TcpConnectionInformation { public abstract System.Net.IPEndPoint LocalEndPoint { get; } @@ -465,7 +465,7 @@ namespace System protected TcpConnectionInformation() => throw null; } - // Generated from `System.Net.NetworkInformation.TcpState` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.TcpState` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TcpState : int { CloseWait = 8, @@ -483,7 +483,7 @@ namespace System Unknown = 0, } - // Generated from `System.Net.NetworkInformation.TcpStatistics` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.TcpStatistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TcpStatistics { public abstract System.Int64 ConnectionsAccepted { get; } @@ -503,7 +503,7 @@ namespace System protected TcpStatistics() => throw null; } - // Generated from `System.Net.NetworkInformation.UdpStatistics` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.UdpStatistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class UdpStatistics { public abstract System.Int64 DatagramsReceived { get; } @@ -514,7 +514,7 @@ namespace System protected UdpStatistics() => throw null; } - // Generated from `System.Net.NetworkInformation.UnicastIPAddressInformation` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.UnicastIPAddressInformation` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class UnicastIPAddressInformation : System.Net.NetworkInformation.IPAddressInformation { public abstract System.Int64 AddressPreferredLifetime { get; } @@ -528,7 +528,7 @@ namespace System protected UnicastIPAddressInformation() => throw null; } - // Generated from `System.Net.NetworkInformation.UnicastIPAddressInformationCollection` in `System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.UnicastIPAddressInformationCollection` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnicastIPAddressInformationCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual void Add(System.Net.NetworkInformation.UnicastIPAddressInformation address) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Ping.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Ping.cs index 6452d156200..a92a800c303 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Ping.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Ping.cs @@ -6,7 +6,7 @@ namespace System { namespace NetworkInformation { - // Generated from `System.Net.NetworkInformation.IPStatus` in `System.Net.Ping, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.IPStatus` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum IPStatus : int { BadDestination = 11018, @@ -35,7 +35,7 @@ namespace System UnrecognizedNextHeader = 11043, } - // Generated from `System.Net.NetworkInformation.Ping` in `System.Net.Ping, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.Ping` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Ping : System.ComponentModel.Component { protected override void Dispose(bool disposing) => throw null; @@ -43,10 +43,12 @@ namespace System public Ping() => throw null; public event System.Net.NetworkInformation.PingCompletedEventHandler PingCompleted; public System.Net.NetworkInformation.PingReply Send(System.Net.IPAddress address) => throw null; + public System.Net.NetworkInformation.PingReply Send(System.Net.IPAddress address, System.TimeSpan timeout, System.Byte[] buffer, System.Net.NetworkInformation.PingOptions options) => throw null; public System.Net.NetworkInformation.PingReply Send(System.Net.IPAddress address, int timeout) => throw null; public System.Net.NetworkInformation.PingReply Send(System.Net.IPAddress address, int timeout, System.Byte[] buffer) => throw null; public System.Net.NetworkInformation.PingReply Send(System.Net.IPAddress address, int timeout, System.Byte[] buffer, System.Net.NetworkInformation.PingOptions options) => throw null; public System.Net.NetworkInformation.PingReply Send(string hostNameOrAddress) => throw null; + public System.Net.NetworkInformation.PingReply Send(string hostNameOrAddress, System.TimeSpan timeout, System.Byte[] buffer, System.Net.NetworkInformation.PingOptions options) => throw null; public System.Net.NetworkInformation.PingReply Send(string hostNameOrAddress, int timeout) => throw null; public System.Net.NetworkInformation.PingReply Send(string hostNameOrAddress, int timeout, System.Byte[] buffer) => throw null; public System.Net.NetworkInformation.PingReply Send(string hostNameOrAddress, int timeout, System.Byte[] buffer, System.Net.NetworkInformation.PingOptions options) => throw null; @@ -69,17 +71,17 @@ namespace System public System.Threading.Tasks.Task SendPingAsync(string hostNameOrAddress, int timeout, System.Byte[] buffer, System.Net.NetworkInformation.PingOptions options) => throw null; } - // Generated from `System.Net.NetworkInformation.PingCompletedEventArgs` in `System.Net.Ping, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.PingCompletedEventArgs` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PingCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { internal PingCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; public System.Net.NetworkInformation.PingReply Reply { get => throw null; } } - // Generated from `System.Net.NetworkInformation.PingCompletedEventHandler` in `System.Net.Ping, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.PingCompletedEventHandler` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void PingCompletedEventHandler(object sender, System.Net.NetworkInformation.PingCompletedEventArgs e); - // Generated from `System.Net.NetworkInformation.PingException` in `System.Net.Ping, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.PingException` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PingException : System.InvalidOperationException { protected PingException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -87,7 +89,7 @@ namespace System public PingException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Net.NetworkInformation.PingOptions` in `System.Net.Ping, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.PingOptions` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PingOptions { public bool DontFragment { get => throw null; set => throw null; } @@ -96,7 +98,7 @@ namespace System public int Ttl { get => throw null; set => throw null; } } - // Generated from `System.Net.NetworkInformation.PingReply` in `System.Net.Ping, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.PingReply` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PingReply { public System.Net.IPAddress Address { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Primitives.cs index 8cb4c49a179..4206defea35 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Primitives.cs @@ -4,7 +4,7 @@ namespace System { namespace Net { - // Generated from `System.Net.AuthenticationSchemes` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.AuthenticationSchemes` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AuthenticationSchemes : int { @@ -17,7 +17,7 @@ namespace System Ntlm = 4, } - // Generated from `System.Net.Cookie` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Cookie` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Cookie { public string Comment { get => throw null; set => throw null; } @@ -43,7 +43,7 @@ namespace System public int Version { get => throw null; set => throw null; } } - // Generated from `System.Net.CookieCollection` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.CookieCollection` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CookieCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { public void Add(System.Net.Cookie cookie) => throw null; @@ -64,7 +64,7 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Net.CookieContainer` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.CookieContainer` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CookieContainer { public void Add(System.Net.Cookie cookie) => throw null; @@ -87,7 +87,7 @@ namespace System public void SetCookies(System.Uri uri, string cookieHeader) => throw null; } - // Generated from `System.Net.CookieException` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.CookieException` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CookieException : System.FormatException, System.Runtime.Serialization.ISerializable { public CookieException() => throw null; @@ -96,7 +96,7 @@ namespace System void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; } - // Generated from `System.Net.CredentialCache` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.CredentialCache` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CredentialCache : System.Collections.IEnumerable, System.Net.ICredentials, System.Net.ICredentialsByHost { public void Add(System.Uri uriPrefix, string authType, System.Net.NetworkCredential cred) => throw null; @@ -111,7 +111,7 @@ namespace System public void Remove(string host, int port, string authenticationType) => throw null; } - // Generated from `System.Net.DecompressionMethods` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.DecompressionMethods` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DecompressionMethods : int { @@ -122,7 +122,7 @@ namespace System None = 0, } - // Generated from `System.Net.DnsEndPoint` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.DnsEndPoint` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DnsEndPoint : System.Net.EndPoint { public override System.Net.Sockets.AddressFamily AddressFamily { get => throw null; } @@ -135,7 +135,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.EndPoint` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.EndPoint` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EndPoint { public virtual System.Net.Sockets.AddressFamily AddressFamily { get => throw null; } @@ -144,7 +144,7 @@ namespace System public virtual System.Net.SocketAddress Serialize() => throw null; } - // Generated from `System.Net.HttpStatusCode` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.HttpStatusCode` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpStatusCode : int { Accepted = 202, @@ -215,7 +215,7 @@ namespace System VariantAlsoNegotiates = 506, } - // Generated from `System.Net.HttpVersion` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.HttpVersion` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class HttpVersion { public static System.Version Unknown; @@ -225,19 +225,19 @@ namespace System public static System.Version Version30; } - // Generated from `System.Net.ICredentials` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.ICredentials` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICredentials { System.Net.NetworkCredential GetCredential(System.Uri uri, string authType); } - // Generated from `System.Net.ICredentialsByHost` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.ICredentialsByHost` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICredentialsByHost { System.Net.NetworkCredential GetCredential(string host, int port, string authenticationType); } - // Generated from `System.Net.IPAddress` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.IPAddress` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IPAddress { public System.Int64 Address { get => throw null; set => throw null; } @@ -282,7 +282,7 @@ namespace System public bool TryWriteBytes(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Net.IPEndPoint` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.IPEndPoint` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IPEndPoint : System.Net.EndPoint { public System.Net.IPAddress Address { get => throw null; set => throw null; } @@ -303,7 +303,7 @@ namespace System public static bool TryParse(string s, out System.Net.IPEndPoint result) => throw null; } - // Generated from `System.Net.IWebProxy` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.IWebProxy` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IWebProxy { System.Net.ICredentials Credentials { get; set; } @@ -311,7 +311,7 @@ namespace System bool IsBypassed(System.Uri host); } - // Generated from `System.Net.NetworkCredential` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkCredential` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetworkCredential : System.Net.ICredentials, System.Net.ICredentialsByHost { public string Domain { get => throw null; set => throw null; } @@ -327,7 +327,7 @@ namespace System public string UserName { get => throw null; set => throw null; } } - // Generated from `System.Net.SocketAddress` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.SocketAddress` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SocketAddress { public override bool Equals(object comparand) => throw null; @@ -340,7 +340,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.TransportContext` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.TransportContext` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TransportContext { public abstract System.Security.Authentication.ExtendedProtection.ChannelBinding GetChannelBinding(System.Security.Authentication.ExtendedProtection.ChannelBindingKind kind); @@ -349,7 +349,7 @@ namespace System namespace Cache { - // Generated from `System.Net.Cache.RequestCacheLevel` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Cache.RequestCacheLevel` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RequestCacheLevel : int { BypassCache = 1, @@ -361,7 +361,7 @@ namespace System Revalidate = 4, } - // Generated from `System.Net.Cache.RequestCachePolicy` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Cache.RequestCachePolicy` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RequestCachePolicy { public System.Net.Cache.RequestCacheLevel Level { get => throw null; } @@ -373,7 +373,7 @@ namespace System } namespace NetworkInformation { - // Generated from `System.Net.NetworkInformation.IPAddressCollection` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.NetworkInformation.IPAddressCollection` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IPAddressCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual void Add(System.Net.IPAddress address) => throw null; @@ -392,7 +392,7 @@ namespace System } namespace Security { - // Generated from `System.Net.Security.AuthenticationLevel` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.AuthenticationLevel` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AuthenticationLevel : int { MutualAuthRequested = 1, @@ -400,7 +400,7 @@ namespace System None = 0, } - // Generated from `System.Net.Security.SslPolicyErrors` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.SslPolicyErrors` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SslPolicyErrors : int { @@ -413,7 +413,7 @@ namespace System } namespace Sockets { - // Generated from `System.Net.Sockets.AddressFamily` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.AddressFamily` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AddressFamily : int { AppleTalk = 16, @@ -451,7 +451,7 @@ namespace System VoiceView = 18, } - // Generated from `System.Net.Sockets.SocketError` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketError` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SocketError : int { AccessDenied = 10013, @@ -503,7 +503,7 @@ namespace System WouldBlock = 10035, } - // Generated from `System.Net.Sockets.SocketException` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketException` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SocketException : System.ComponentModel.Win32Exception { public override int ErrorCode { get => throw null; } @@ -520,7 +520,7 @@ namespace System { namespace Authentication { - // Generated from `System.Security.Authentication.CipherAlgorithmType` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Authentication.CipherAlgorithmType` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CipherAlgorithmType : int { Aes = 26129, @@ -535,7 +535,7 @@ namespace System TripleDes = 26115, } - // Generated from `System.Security.Authentication.ExchangeAlgorithmType` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Authentication.ExchangeAlgorithmType` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ExchangeAlgorithmType : int { DiffieHellman = 43522, @@ -544,7 +544,7 @@ namespace System RsaSign = 9216, } - // Generated from `System.Security.Authentication.HashAlgorithmType` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Authentication.HashAlgorithmType` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HashAlgorithmType : int { Md5 = 32771, @@ -555,7 +555,7 @@ namespace System Sha512 = 32782, } - // Generated from `System.Security.Authentication.SslProtocols` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Authentication.SslProtocols` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SslProtocols : int { @@ -571,7 +571,7 @@ namespace System namespace ExtendedProtection { - // Generated from `System.Security.Authentication.ExtendedProtection.ChannelBinding` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Authentication.ExtendedProtection.ChannelBinding` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ChannelBinding : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { protected ChannelBinding() : base(default(bool)) => throw null; @@ -579,7 +579,7 @@ namespace System public abstract int Size { get; } } - // Generated from `System.Security.Authentication.ExtendedProtection.ChannelBindingKind` in `System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Authentication.ExtendedProtection.ChannelBindingKind` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ChannelBindingKind : int { Endpoint = 26, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Quic.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Quic.cs new file mode 100644 index 00000000000..2aff7d0f279 --- /dev/null +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Quic.cs @@ -0,0 +1,157 @@ +// This file contains auto-generated code. + +namespace System +{ + namespace Net + { + namespace Quic + { + // Generated from `System.Net.Quic.QuicAbortDirection` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum QuicAbortDirection : int + { + Both = 3, + Read = 1, + Write = 2, + } + + // Generated from `System.Net.Quic.QuicClientConnectionOptions` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class QuicClientConnectionOptions : System.Net.Quic.QuicConnectionOptions + { + public System.Net.Security.SslClientAuthenticationOptions ClientAuthenticationOptions { get => throw null; set => throw null; } + public System.Net.IPEndPoint LocalEndPoint { get => throw null; set => throw null; } + public QuicClientConnectionOptions() => throw null; + public System.Net.EndPoint RemoteEndPoint { get => throw null; set => throw null; } + } + + // Generated from `System.Net.Quic.QuicConnection` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class QuicConnection : System.IAsyncDisposable + { + public System.Threading.Tasks.ValueTask AcceptInboundStreamAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Threading.Tasks.ValueTask CloseAsync(System.Int64 errorCode, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask ConnectAsync(System.Net.Quic.QuicClientConnectionOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Threading.Tasks.ValueTask DisposeAsync() => throw null; + public static bool IsSupported { get => throw null; } + public System.Net.IPEndPoint LocalEndPoint { get => throw null; } + public System.Net.Security.SslApplicationProtocol NegotiatedApplicationProtocol { get => throw null; } + public System.Threading.Tasks.ValueTask OpenOutboundStreamAsync(System.Net.Quic.QuicStreamType type, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Security.Cryptography.X509Certificates.X509Certificate RemoteCertificate { get => throw null; } + public System.Net.IPEndPoint RemoteEndPoint { get => throw null; } + public override string ToString() => throw null; + } + + // Generated from `System.Net.Quic.QuicConnectionOptions` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class QuicConnectionOptions + { + public System.Int64 DefaultCloseErrorCode { get => throw null; set => throw null; } + public System.Int64 DefaultStreamErrorCode { get => throw null; set => throw null; } + public System.TimeSpan IdleTimeout { get => throw null; set => throw null; } + public int MaxInboundBidirectionalStreams { get => throw null; set => throw null; } + public int MaxInboundUnidirectionalStreams { get => throw null; set => throw null; } + internal QuicConnectionOptions() => throw null; + } + + // Generated from `System.Net.Quic.QuicError` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum QuicError : int + { + AddressInUse = 4, + ConnectionAborted = 2, + ConnectionIdle = 10, + ConnectionRefused = 8, + ConnectionTimeout = 6, + HostUnreachable = 7, + InternalError = 1, + InvalidAddress = 5, + OperationAborted = 12, + ProtocolError = 11, + StreamAborted = 3, + Success = 0, + VersionNegotiationError = 9, + } + + // Generated from `System.Net.Quic.QuicException` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class QuicException : System.IO.IOException + { + public System.Int64? ApplicationErrorCode { get => throw null; } + public System.Net.Quic.QuicError QuicError { get => throw null; } + public QuicException(System.Net.Quic.QuicError error, System.Int64? applicationErrorCode, string message) => throw null; + } + + // Generated from `System.Net.Quic.QuicListener` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class QuicListener : System.IAsyncDisposable + { + public System.Threading.Tasks.ValueTask AcceptConnectionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Threading.Tasks.ValueTask DisposeAsync() => throw null; + public static bool IsSupported { get => throw null; } + public static System.Threading.Tasks.ValueTask ListenAsync(System.Net.Quic.QuicListenerOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Net.IPEndPoint LocalEndPoint { get => throw null; } + public override string ToString() => throw null; + } + + // Generated from `System.Net.Quic.QuicListenerOptions` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class QuicListenerOptions + { + public System.Collections.Generic.List ApplicationProtocols { get => throw null; set => throw null; } + public System.Func> ConnectionOptionsCallback { get => throw null; set => throw null; } + public int ListenBacklog { get => throw null; set => throw null; } + public System.Net.IPEndPoint ListenEndPoint { get => throw null; set => throw null; } + public QuicListenerOptions() => throw null; + } + + // Generated from `System.Net.Quic.QuicServerConnectionOptions` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class QuicServerConnectionOptions : System.Net.Quic.QuicConnectionOptions + { + public QuicServerConnectionOptions() => throw null; + public System.Net.Security.SslServerAuthenticationOptions ServerAuthenticationOptions { get => throw null; set => throw null; } + } + + // Generated from `System.Net.Quic.QuicStream` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class QuicStream : System.IO.Stream + { + public void Abort(System.Net.Quic.QuicAbortDirection abortDirection, System.Int64 errorCode) => throw null; + public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; + public override System.IAsyncResult BeginWrite(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; + public override bool CanRead { get => throw null; } + public override bool CanSeek { get => throw null; } + public override bool CanTimeout { get => throw null; } + public override bool CanWrite { get => throw null; } + public void CompleteWrites() => throw null; + protected override void Dispose(bool disposing) => throw null; + public override System.Threading.Tasks.ValueTask DisposeAsync() => throw null; + public override int EndRead(System.IAsyncResult asyncResult) => throw null; + public override void EndWrite(System.IAsyncResult asyncResult) => throw null; + public override void Flush() => throw null; + public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Int64 Id { get => throw null; } + public override System.Int64 Length { get => throw null; } + public override System.Int64 Position { get => throw null; set => throw null; } + public override int Read(System.Byte[] buffer, int offset, int count) => throw null; + public override int Read(System.Span buffer) => throw null; + public override System.Threading.Tasks.Task ReadAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask ReadAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override int ReadByte() => throw null; + public override int ReadTimeout { get => throw null; set => throw null; } + public System.Threading.Tasks.Task ReadsClosed { get => throw null; } + public override System.Int64 Seek(System.Int64 offset, System.IO.SeekOrigin origin) => throw null; + public override void SetLength(System.Int64 value) => throw null; + public System.Net.Quic.QuicStreamType Type { get => throw null; } + public override void Write(System.Byte[] buffer, int offset, int count) => throw null; + public override void Write(System.ReadOnlySpan buffer) => throw null; + public override System.Threading.Tasks.Task WriteAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory buffer, bool completeWrites, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override void WriteByte(System.Byte value) => throw null; + public override int WriteTimeout { get => throw null; set => throw null; } + public System.Threading.Tasks.Task WritesClosed { get => throw null; } + } + + // Generated from `System.Net.Quic.QuicStreamType` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum QuicStreamType : int + { + Bidirectional = 1, + Unidirectional = 0, + } + + } + } +} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Requests.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Requests.cs index 8d80ebcfaee..781e37ba2cf 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Requests.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Requests.cs @@ -4,7 +4,7 @@ namespace System { namespace Net { - // Generated from `System.Net.AuthenticationManager` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.AuthenticationManager` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AuthenticationManager { public static System.Net.Authorization Authenticate(string challenge, System.Net.WebRequest request, System.Net.ICredentials credentials) => throw null; @@ -17,7 +17,7 @@ namespace System public static void Unregister(string authenticationScheme) => throw null; } - // Generated from `System.Net.Authorization` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Authorization` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Authorization { public Authorization(string token) => throw null; @@ -30,7 +30,7 @@ namespace System public string[] ProtectionRealm { get => throw null; set => throw null; } } - // Generated from `System.Net.FileWebRequest` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.FileWebRequest` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileWebRequest : System.Net.WebRequest, System.Runtime.Serialization.ISerializable { public override void Abort() => throw null; @@ -58,7 +58,7 @@ namespace System public override bool UseDefaultCredentials { get => throw null; set => throw null; } } - // Generated from `System.Net.FileWebResponse` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.FileWebResponse` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileWebResponse : System.Net.WebResponse, System.Runtime.Serialization.ISerializable { public override void Close() => throw null; @@ -73,7 +73,7 @@ namespace System public override bool SupportsHeaders { get => throw null; } } - // Generated from `System.Net.FtpStatusCode` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.FtpStatusCode` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FtpStatusCode : int { AccountNeeded = 532, @@ -115,7 +115,7 @@ namespace System Undefined = 0, } - // Generated from `System.Net.FtpWebRequest` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.FtpWebRequest` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FtpWebRequest : System.Net.WebRequest { public override void Abort() => throw null; @@ -148,7 +148,7 @@ namespace System public bool UsePassive { get => throw null; set => throw null; } } - // Generated from `System.Net.FtpWebResponse` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.FtpWebResponse` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FtpWebResponse : System.Net.WebResponse, System.IDisposable { public string BannerMessage { get => throw null; } @@ -165,7 +165,7 @@ namespace System public string WelcomeMessage { get => throw null; } } - // Generated from `System.Net.GlobalProxySelection` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.GlobalProxySelection` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GlobalProxySelection { public static System.Net.IWebProxy GetEmptyWebProxy() => throw null; @@ -173,10 +173,10 @@ namespace System public static System.Net.IWebProxy Select { get => throw null; set => throw null; } } - // Generated from `System.Net.HttpContinueDelegate` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.HttpContinueDelegate` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void HttpContinueDelegate(int StatusCode, System.Net.WebHeaderCollection httpHeaders); - // Generated from `System.Net.HttpWebRequest` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.HttpWebRequest` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpWebRequest : System.Net.WebRequest, System.Runtime.Serialization.ISerializable { public override void Abort() => throw null; @@ -246,7 +246,7 @@ namespace System public string UserAgent { get => throw null; set => throw null; } } - // Generated from `System.Net.HttpWebResponse` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.HttpWebResponse` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpWebResponse : System.Net.WebResponse, System.Runtime.Serialization.ISerializable { public string CharacterSet { get => throw null; } @@ -274,7 +274,7 @@ namespace System public override bool SupportsHeaders { get => throw null; } } - // Generated from `System.Net.IAuthenticationModule` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.IAuthenticationModule` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAuthenticationModule { System.Net.Authorization Authenticate(string challenge, System.Net.WebRequest request, System.Net.ICredentials credentials); @@ -283,19 +283,19 @@ namespace System System.Net.Authorization PreAuthenticate(System.Net.WebRequest request, System.Net.ICredentials credentials); } - // Generated from `System.Net.ICredentialPolicy` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.ICredentialPolicy` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICredentialPolicy { bool ShouldSendCredential(System.Uri challengeUri, System.Net.WebRequest request, System.Net.NetworkCredential credential, System.Net.IAuthenticationModule authenticationModule); } - // Generated from `System.Net.IWebRequestCreate` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.IWebRequestCreate` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IWebRequestCreate { System.Net.WebRequest Create(System.Uri uri); } - // Generated from `System.Net.ProtocolViolationException` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.ProtocolViolationException` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProtocolViolationException : System.InvalidOperationException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -305,7 +305,7 @@ namespace System public ProtocolViolationException(string message) => throw null; } - // Generated from `System.Net.WebException` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebException` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WebException : System.InvalidOperationException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -320,7 +320,7 @@ namespace System public WebException(string message, System.Net.WebExceptionStatus status) => throw null; } - // Generated from `System.Net.WebExceptionStatus` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebExceptionStatus` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WebExceptionStatus : int { CacheEntryNotFound = 18, @@ -346,7 +346,7 @@ namespace System UnknownError = 16, } - // Generated from `System.Net.WebRequest` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebRequest` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class WebRequest : System.MarshalByRefObject, System.Runtime.Serialization.ISerializable { public virtual void Abort() => throw null; @@ -387,10 +387,10 @@ namespace System protected WebRequest(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; } - // Generated from `System.Net.WebRequestMethods` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebRequestMethods` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class WebRequestMethods { - // Generated from `System.Net.WebRequestMethods+File` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebRequestMethods+File` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class File { public const string DownloadFile = default; @@ -398,7 +398,7 @@ namespace System } - // Generated from `System.Net.WebRequestMethods+Ftp` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebRequestMethods+Ftp` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Ftp { public const string AppendFile = default; @@ -417,7 +417,7 @@ namespace System } - // Generated from `System.Net.WebRequestMethods+Http` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebRequestMethods+Http` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Http { public const string Connect = default; @@ -431,7 +431,7 @@ namespace System } - // Generated from `System.Net.WebResponse` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebResponse` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class WebResponse : System.MarshalByRefObject, System.IDisposable, System.Runtime.Serialization.ISerializable { public virtual void Close() => throw null; @@ -453,7 +453,7 @@ namespace System namespace Cache { - // Generated from `System.Net.Cache.HttpCacheAgeControl` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Cache.HttpCacheAgeControl` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpCacheAgeControl : int { MaxAge = 2, @@ -464,7 +464,7 @@ namespace System None = 0, } - // Generated from `System.Net.Cache.HttpRequestCacheLevel` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Cache.HttpRequestCacheLevel` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpRequestCacheLevel : int { BypassCache = 1, @@ -478,7 +478,7 @@ namespace System Revalidate = 4, } - // Generated from `System.Net.Cache.HttpRequestCachePolicy` in `System.Net.Requests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Cache.HttpRequestCachePolicy` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpRequestCachePolicy : System.Net.Cache.RequestCachePolicy { public System.DateTime CacheSyncDate { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Security.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Security.cs index 11af687997c..8d6b982e5a6 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Security.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Security.cs @@ -6,7 +6,7 @@ namespace System { namespace Security { - // Generated from `System.Net.Security.AuthenticatedStream` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.AuthenticatedStream` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class AuthenticatedStream : System.IO.Stream { protected AuthenticatedStream(System.IO.Stream innerStream, bool leaveInnerStreamOpen) => throw null; @@ -21,14 +21,14 @@ namespace System public bool LeaveInnerStreamOpen { get => throw null; } } - // Generated from `System.Net.Security.CipherSuitesPolicy` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.CipherSuitesPolicy` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CipherSuitesPolicy { public System.Collections.Generic.IEnumerable AllowedCipherSuites { get => throw null; } public CipherSuitesPolicy(System.Collections.Generic.IEnumerable allowedCipherSuites) => throw null; } - // Generated from `System.Net.Security.EncryptionPolicy` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.EncryptionPolicy` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EncryptionPolicy : int { AllowNoEncryption = 1, @@ -36,10 +36,79 @@ namespace System RequireEncryption = 0, } - // Generated from `System.Net.Security.LocalCertificateSelectionCallback` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.LocalCertificateSelectionCallback` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.Security.Cryptography.X509Certificates.X509Certificate LocalCertificateSelectionCallback(object sender, string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection localCertificates, System.Security.Cryptography.X509Certificates.X509Certificate remoteCertificate, string[] acceptableIssuers); - // Generated from `System.Net.Security.NegotiateStream` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.NegotiateAuthentication` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class NegotiateAuthentication : System.IDisposable + { + public void Dispose() => throw null; + public System.Byte[] GetOutgoingBlob(System.ReadOnlySpan incomingBlob, out System.Net.Security.NegotiateAuthenticationStatusCode statusCode) => throw null; + public string GetOutgoingBlob(string incomingBlob, out System.Net.Security.NegotiateAuthenticationStatusCode statusCode) => throw null; + public System.Security.Principal.TokenImpersonationLevel ImpersonationLevel { get => throw null; } + public bool IsAuthenticated { get => throw null; } + public bool IsEncrypted { get => throw null; } + public bool IsMutuallyAuthenticated { get => throw null; } + public bool IsServer { get => throw null; } + public bool IsSigned { get => throw null; } + public NegotiateAuthentication(System.Net.Security.NegotiateAuthenticationClientOptions clientOptions) => throw null; + public NegotiateAuthentication(System.Net.Security.NegotiateAuthenticationServerOptions serverOptions) => throw null; + public string Package { get => throw null; } + public System.Net.Security.ProtectionLevel ProtectionLevel { get => throw null; } + public System.Security.Principal.IIdentity RemoteIdentity { get => throw null; } + public string TargetName { get => throw null; } + public System.Net.Security.NegotiateAuthenticationStatusCode Unwrap(System.ReadOnlySpan input, System.Buffers.IBufferWriter outputWriter, out bool wasEncrypted) => throw null; + public System.Net.Security.NegotiateAuthenticationStatusCode UnwrapInPlace(System.Span input, out int unwrappedOffset, out int unwrappedLength, out bool wasEncrypted) => throw null; + public System.Net.Security.NegotiateAuthenticationStatusCode Wrap(System.ReadOnlySpan input, System.Buffers.IBufferWriter outputWriter, bool requestEncryption, out bool isEncrypted) => throw null; + } + + // Generated from `System.Net.Security.NegotiateAuthenticationClientOptions` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class NegotiateAuthenticationClientOptions + { + public System.Security.Principal.TokenImpersonationLevel AllowedImpersonationLevel { get => throw null; set => throw null; } + public System.Security.Authentication.ExtendedProtection.ChannelBinding Binding { get => throw null; set => throw null; } + public System.Net.NetworkCredential Credential { get => throw null; set => throw null; } + public NegotiateAuthenticationClientOptions() => throw null; + public string Package { get => throw null; set => throw null; } + public bool RequireMutualAuthentication { get => throw null; set => throw null; } + public System.Net.Security.ProtectionLevel RequiredProtectionLevel { get => throw null; set => throw null; } + public string TargetName { get => throw null; set => throw null; } + } + + // Generated from `System.Net.Security.NegotiateAuthenticationServerOptions` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class NegotiateAuthenticationServerOptions + { + public System.Security.Authentication.ExtendedProtection.ChannelBinding Binding { get => throw null; set => throw null; } + public System.Net.NetworkCredential Credential { get => throw null; set => throw null; } + public NegotiateAuthenticationServerOptions() => throw null; + public string Package { get => throw null; set => throw null; } + public System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy Policy { get => throw null; set => throw null; } + public System.Security.Principal.TokenImpersonationLevel RequiredImpersonationLevel { get => throw null; set => throw null; } + public System.Net.Security.ProtectionLevel RequiredProtectionLevel { get => throw null; set => throw null; } + } + + // Generated from `System.Net.Security.NegotiateAuthenticationStatusCode` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum NegotiateAuthenticationStatusCode : int + { + BadBinding = 3, + Completed = 0, + ContextExpired = 6, + ContinueNeeded = 1, + CredentialsExpired = 7, + GenericFailure = 2, + ImpersonationValidationFailed = 15, + InvalidCredentials = 8, + InvalidToken = 9, + MessageAltered = 5, + OutOfSequence = 12, + QopNotSupported = 11, + SecurityQosFailed = 13, + TargetUnknown = 14, + UnknownCredentials = 10, + Unsupported = 4, + } + + // Generated from `System.Net.Security.NegotiateStream` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NegotiateStream : System.Net.Security.AuthenticatedStream { public virtual void AuthenticateAsClient() => throw null; @@ -106,7 +175,7 @@ namespace System public override int WriteTimeout { get => throw null; set => throw null; } } - // Generated from `System.Net.Security.ProtectionLevel` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.ProtectionLevel` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProtectionLevel : int { EncryptAndSign = 2, @@ -114,16 +183,16 @@ namespace System Sign = 1, } - // Generated from `System.Net.Security.RemoteCertificateValidationCallback` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.RemoteCertificateValidationCallback` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate bool RemoteCertificateValidationCallback(object sender, System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Security.Cryptography.X509Certificates.X509Chain chain, System.Net.Security.SslPolicyErrors sslPolicyErrors); - // Generated from `System.Net.Security.ServerCertificateSelectionCallback` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.ServerCertificateSelectionCallback` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.Security.Cryptography.X509Certificates.X509Certificate ServerCertificateSelectionCallback(object sender, string hostName); - // Generated from `System.Net.Security.ServerOptionsSelectionCallback` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.ServerOptionsSelectionCallback` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.Threading.Tasks.ValueTask ServerOptionsSelectionCallback(System.Net.Security.SslStream stream, System.Net.Security.SslClientHelloInfo clientHelloInfo, object state, System.Threading.CancellationToken cancellationToken); - // Generated from `System.Net.Security.SslApplicationProtocol` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.SslApplicationProtocol` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SslApplicationProtocol : System.IEquatable { public static bool operator !=(System.Net.Security.SslApplicationProtocol left, System.Net.Security.SslApplicationProtocol right) => throw null; @@ -141,18 +210,19 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Security.SslCertificateTrust` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.SslCertificateTrust` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SslCertificateTrust { public static System.Net.Security.SslCertificateTrust CreateForX509Collection(System.Security.Cryptography.X509Certificates.X509Certificate2Collection trustList, bool sendTrustInHandshake = default(bool)) => throw null; public static System.Net.Security.SslCertificateTrust CreateForX509Store(System.Security.Cryptography.X509Certificates.X509Store store, bool sendTrustInHandshake = default(bool)) => throw null; } - // Generated from `System.Net.Security.SslClientAuthenticationOptions` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.SslClientAuthenticationOptions` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SslClientAuthenticationOptions { public bool AllowRenegotiation { get => throw null; set => throw null; } public System.Collections.Generic.List ApplicationProtocols { get => throw null; set => throw null; } + public System.Security.Cryptography.X509Certificates.X509ChainPolicy CertificateChainPolicy { get => throw null; set => throw null; } public System.Security.Cryptography.X509Certificates.X509RevocationMode CertificateRevocationCheckMode { get => throw null; set => throw null; } public System.Net.Security.CipherSuitesPolicy CipherSuitesPolicy { get => throw null; set => throw null; } public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get => throw null; set => throw null; } @@ -164,7 +234,7 @@ namespace System public string TargetHost { get => throw null; set => throw null; } } - // Generated from `System.Net.Security.SslClientHelloInfo` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.SslClientHelloInfo` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SslClientHelloInfo { public string ServerName { get => throw null; } @@ -172,11 +242,12 @@ namespace System public System.Security.Authentication.SslProtocols SslProtocols { get => throw null; } } - // Generated from `System.Net.Security.SslServerAuthenticationOptions` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.SslServerAuthenticationOptions` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SslServerAuthenticationOptions { public bool AllowRenegotiation { get => throw null; set => throw null; } public System.Collections.Generic.List ApplicationProtocols { get => throw null; set => throw null; } + public System.Security.Cryptography.X509Certificates.X509ChainPolicy CertificateChainPolicy { get => throw null; set => throw null; } public System.Security.Cryptography.X509Certificates.X509RevocationMode CertificateRevocationCheckMode { get => throw null; set => throw null; } public System.Net.Security.CipherSuitesPolicy CipherSuitesPolicy { get => throw null; set => throw null; } public bool ClientCertificateRequired { get => throw null; set => throw null; } @@ -189,7 +260,7 @@ namespace System public SslServerAuthenticationOptions() => throw null; } - // Generated from `System.Net.Security.SslStream` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.SslStream` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SslStream : System.Net.Security.AuthenticatedStream { public void AuthenticateAsClient(System.Net.Security.SslClientAuthenticationOptions sslClientAuthenticationOptions) => throw null; @@ -272,14 +343,14 @@ namespace System // ERR: Stub generator didn't handle member: ~SslStream } - // Generated from `System.Net.Security.SslStreamCertificateContext` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.SslStreamCertificateContext` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SslStreamCertificateContext { public static System.Net.Security.SslStreamCertificateContext Create(System.Security.Cryptography.X509Certificates.X509Certificate2 target, System.Security.Cryptography.X509Certificates.X509Certificate2Collection additionalCertificates, bool offline) => throw null; public static System.Net.Security.SslStreamCertificateContext Create(System.Security.Cryptography.X509Certificates.X509Certificate2 target, System.Security.Cryptography.X509Certificates.X509Certificate2Collection additionalCertificates, bool offline = default(bool), System.Net.Security.SslCertificateTrust trust = default(System.Net.Security.SslCertificateTrust)) => throw null; } - // Generated from `System.Net.Security.TlsCipherSuite` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Security.TlsCipherSuite` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TlsCipherSuite : ushort { TLS_AES_128_CCM_8_SHA256 = 4869, @@ -627,7 +698,7 @@ namespace System { namespace Authentication { - // Generated from `System.Security.Authentication.AuthenticationException` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Authentication.AuthenticationException` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AuthenticationException : System.SystemException { public AuthenticationException() => throw null; @@ -636,7 +707,7 @@ namespace System public AuthenticationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Security.Authentication.InvalidCredentialException` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Authentication.InvalidCredentialException` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidCredentialException : System.Security.Authentication.AuthenticationException { public InvalidCredentialException() => throw null; @@ -647,7 +718,7 @@ namespace System namespace ExtendedProtection { - // Generated from `System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExtendedProtectionPolicy : System.Runtime.Serialization.ISerializable { public System.Security.Authentication.ExtendedProtection.ChannelBinding CustomChannelBinding { get => throw null; } @@ -664,7 +735,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Security.Authentication.ExtendedProtection.PolicyEnforcement` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Authentication.ExtendedProtection.PolicyEnforcement` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PolicyEnforcement : int { Always = 2, @@ -672,14 +743,14 @@ namespace System WhenSupported = 1, } - // Generated from `System.Security.Authentication.ExtendedProtection.ProtectionScenario` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Authentication.ExtendedProtection.ProtectionScenario` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProtectionScenario : int { TransportSelected = 0, TrustedProxy = 1, } - // Generated from `System.Security.Authentication.ExtendedProtection.ServiceNameCollection` in `System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Authentication.ExtendedProtection.ServiceNameCollection` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ServiceNameCollection : System.Collections.ReadOnlyCollectionBase { public bool Contains(string searchServiceName) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.ServicePoint.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.ServicePoint.cs index 68edda2ada3..4a700f7c884 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.ServicePoint.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.ServicePoint.cs @@ -4,10 +4,10 @@ namespace System { namespace Net { - // Generated from `System.Net.BindIPEndPoint` in `System.Net.ServicePoint, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.BindIPEndPoint` in `System.Net.ServicePoint, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate System.Net.IPEndPoint BindIPEndPoint(System.Net.ServicePoint servicePoint, System.Net.IPEndPoint remoteEndPoint, int retryCount); - // Generated from `System.Net.SecurityProtocolType` in `System.Net.ServicePoint, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.SecurityProtocolType` in `System.Net.ServicePoint, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum SecurityProtocolType : int { @@ -19,7 +19,7 @@ namespace System Tls13 = 12288, } - // Generated from `System.Net.ServicePoint` in `System.Net.ServicePoint, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.ServicePoint` in `System.Net.ServicePoint, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ServicePoint { public System.Uri Address { get => throw null; } @@ -41,7 +41,7 @@ namespace System public bool UseNagleAlgorithm { get => throw null; set => throw null; } } - // Generated from `System.Net.ServicePointManager` in `System.Net.ServicePoint, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.ServicePointManager` in `System.Net.ServicePoint, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ServicePointManager { public static bool CheckCertificateRevocationList { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Sockets.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Sockets.cs index 21bd2e0b278..e54cd71530c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Sockets.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Sockets.cs @@ -6,7 +6,7 @@ namespace System { namespace Sockets { - // Generated from `System.Net.Sockets.IOControlCode` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.IOControlCode` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum IOControlCode : long { AbsorbRouterAlert = 2550136837, @@ -45,19 +45,20 @@ namespace System UnicastInterface = 2550136838, } - // Generated from `System.Net.Sockets.IPPacketInformation` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct IPPacketInformation + // Generated from `System.Net.Sockets.IPPacketInformation` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct IPPacketInformation : System.IEquatable { public static bool operator !=(System.Net.Sockets.IPPacketInformation packetInformation1, System.Net.Sockets.IPPacketInformation packetInformation2) => throw null; public static bool operator ==(System.Net.Sockets.IPPacketInformation packetInformation1, System.Net.Sockets.IPPacketInformation packetInformation2) => throw null; public System.Net.IPAddress Address { get => throw null; } + public bool Equals(System.Net.Sockets.IPPacketInformation other) => throw null; public override bool Equals(object comparand) => throw null; public override int GetHashCode() => throw null; // Stub generator skipped constructor public int Interface { get => throw null; } } - // Generated from `System.Net.Sockets.IPProtectionLevel` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.IPProtectionLevel` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum IPProtectionLevel : int { EdgeRestricted = 20, @@ -66,7 +67,7 @@ namespace System Unspecified = -1, } - // Generated from `System.Net.Sockets.IPv6MulticastOption` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.IPv6MulticastOption` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IPv6MulticastOption { public System.Net.IPAddress Group { get => throw null; set => throw null; } @@ -75,7 +76,7 @@ namespace System public System.Int64 InterfaceIndex { get => throw null; set => throw null; } } - // Generated from `System.Net.Sockets.LingerOption` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.LingerOption` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LingerOption { public bool Enabled { get => throw null; set => throw null; } @@ -83,7 +84,7 @@ namespace System public int LingerTime { get => throw null; set => throw null; } } - // Generated from `System.Net.Sockets.MulticastOption` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.MulticastOption` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MulticastOption { public System.Net.IPAddress Group { get => throw null; set => throw null; } @@ -94,7 +95,7 @@ namespace System public MulticastOption(System.Net.IPAddress group, int interfaceIndex) => throw null; } - // Generated from `System.Net.Sockets.NetworkStream` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.NetworkStream` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetworkStream : System.IO.Stream { public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; @@ -103,6 +104,7 @@ namespace System public override bool CanSeek { get => throw null; } public override bool CanTimeout { get => throw null; } public override bool CanWrite { get => throw null; } + public void Close(System.TimeSpan timeout) => throw null; public void Close(int timeout) => throw null; public virtual bool DataAvailable { get => throw null; } protected override void Dispose(bool disposing) => throw null; @@ -136,7 +138,7 @@ namespace System // ERR: Stub generator didn't handle member: ~NetworkStream } - // Generated from `System.Net.Sockets.ProtocolFamily` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.ProtocolFamily` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProtocolFamily : int { AppleTalk = 16, @@ -174,7 +176,7 @@ namespace System VoiceView = 18, } - // Generated from `System.Net.Sockets.ProtocolType` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.ProtocolType` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProtocolType : int { Ggp = 3, @@ -204,15 +206,16 @@ namespace System Unspecified = 0, } - // Generated from `System.Net.Sockets.SafeSocketHandle` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SafeSocketHandle` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeSocketHandle : Microsoft.Win32.SafeHandles.SafeHandleMinusOneIsInvalid { + public override bool IsInvalid { get => throw null; } protected override bool ReleaseHandle() => throw null; public SafeSocketHandle() : base(default(bool)) => throw null; public SafeSocketHandle(System.IntPtr preexistingHandle, bool ownsHandle) : base(default(bool)) => throw null; } - // Generated from `System.Net.Sockets.SelectMode` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SelectMode` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SelectMode : int { SelectError = 2, @@ -220,7 +223,7 @@ namespace System SelectWrite = 1, } - // Generated from `System.Net.Sockets.SendPacketsElement` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SendPacketsElement` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SendPacketsElement { public System.Byte[] Buffer { get => throw null; } @@ -246,7 +249,7 @@ namespace System public SendPacketsElement(string filepath, System.Int64 offset, int count, bool endOfPacket) => throw null; } - // Generated from `System.Net.Sockets.Socket` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.Socket` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Socket : System.IDisposable { public System.Net.Sockets.Socket Accept() => throw null; @@ -338,6 +341,7 @@ namespace System public static bool OSSupportsIPv4 { get => throw null; } public static bool OSSupportsIPv6 { get => throw null; } public static bool OSSupportsUnixDomainSockets { get => throw null; } + public bool Poll(System.TimeSpan timeout, System.Net.Sockets.SelectMode mode) => throw null; public bool Poll(int microSeconds, System.Net.Sockets.SelectMode mode) => throw null; public System.Net.Sockets.ProtocolType ProtocolType { get => throw null; } public int Receive(System.Byte[] buffer) => throw null; @@ -351,8 +355,11 @@ namespace System public int Receive(System.Span buffer) => throw null; public int Receive(System.Span buffer, System.Net.Sockets.SocketFlags socketFlags) => throw null; public int Receive(System.Span buffer, System.Net.Sockets.SocketFlags socketFlags, out System.Net.Sockets.SocketError errorCode) => throw null; + public System.Threading.Tasks.Task ReceiveAsync(System.ArraySegment buffer) => throw null; public System.Threading.Tasks.Task ReceiveAsync(System.ArraySegment buffer, System.Net.Sockets.SocketFlags socketFlags) => throw null; + public System.Threading.Tasks.Task ReceiveAsync(System.Collections.Generic.IList> buffers) => throw null; public System.Threading.Tasks.Task ReceiveAsync(System.Collections.Generic.IList> buffers, System.Net.Sockets.SocketFlags socketFlags) => throw null; + public System.Threading.Tasks.ValueTask ReceiveAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public System.Threading.Tasks.ValueTask ReceiveAsync(System.Memory buffer, System.Net.Sockets.SocketFlags socketFlags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public bool ReceiveAsync(System.Net.Sockets.SocketAsyncEventArgs e) => throw null; public int ReceiveBufferSize { get => throw null; set => throw null; } @@ -362,17 +369,22 @@ namespace System public int ReceiveFrom(System.Byte[] buffer, ref System.Net.EndPoint remoteEP) => throw null; public int ReceiveFrom(System.Span buffer, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP) => throw null; public int ReceiveFrom(System.Span buffer, ref System.Net.EndPoint remoteEP) => throw null; + public System.Threading.Tasks.Task ReceiveFromAsync(System.ArraySegment buffer, System.Net.EndPoint remoteEndPoint) => throw null; public System.Threading.Tasks.Task ReceiveFromAsync(System.ArraySegment buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint) => throw null; + public System.Threading.Tasks.ValueTask ReceiveFromAsync(System.Memory buffer, System.Net.EndPoint remoteEndPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public System.Threading.Tasks.ValueTask ReceiveFromAsync(System.Memory buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public bool ReceiveFromAsync(System.Net.Sockets.SocketAsyncEventArgs e) => throw null; public int ReceiveMessageFrom(System.Byte[] buffer, int offset, int size, ref System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP, out System.Net.Sockets.IPPacketInformation ipPacketInformation) => throw null; public int ReceiveMessageFrom(System.Span buffer, ref System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP, out System.Net.Sockets.IPPacketInformation ipPacketInformation) => throw null; + public System.Threading.Tasks.Task ReceiveMessageFromAsync(System.ArraySegment buffer, System.Net.EndPoint remoteEndPoint) => throw null; public System.Threading.Tasks.Task ReceiveMessageFromAsync(System.ArraySegment buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint) => throw null; + public System.Threading.Tasks.ValueTask ReceiveMessageFromAsync(System.Memory buffer, System.Net.EndPoint remoteEndPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public System.Threading.Tasks.ValueTask ReceiveMessageFromAsync(System.Memory buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public bool ReceiveMessageFromAsync(System.Net.Sockets.SocketAsyncEventArgs e) => throw null; public int ReceiveTimeout { get => throw null; set => throw null; } public System.Net.EndPoint RemoteEndPoint { get => throw null; } public System.Net.Sockets.SafeSocketHandle SafeHandle { get => throw null; } + public static void Select(System.Collections.IList checkRead, System.Collections.IList checkWrite, System.Collections.IList checkError, System.TimeSpan timeout) => throw null; public static void Select(System.Collections.IList checkRead, System.Collections.IList checkWrite, System.Collections.IList checkError, int microSeconds) => throw null; public int Send(System.Byte[] buffer) => throw null; public int Send(System.Byte[] buffer, System.Net.Sockets.SocketFlags socketFlags) => throw null; @@ -385,8 +397,11 @@ namespace System public int Send(System.ReadOnlySpan buffer) => throw null; public int Send(System.ReadOnlySpan buffer, System.Net.Sockets.SocketFlags socketFlags) => throw null; public int Send(System.ReadOnlySpan buffer, System.Net.Sockets.SocketFlags socketFlags, out System.Net.Sockets.SocketError errorCode) => throw null; + public System.Threading.Tasks.Task SendAsync(System.ArraySegment buffer) => throw null; public System.Threading.Tasks.Task SendAsync(System.ArraySegment buffer, System.Net.Sockets.SocketFlags socketFlags) => throw null; + public System.Threading.Tasks.Task SendAsync(System.Collections.Generic.IList> buffers) => throw null; public System.Threading.Tasks.Task SendAsync(System.Collections.Generic.IList> buffers, System.Net.Sockets.SocketFlags socketFlags) => throw null; + public System.Threading.Tasks.ValueTask SendAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public System.Threading.Tasks.ValueTask SendAsync(System.ReadOnlyMemory buffer, System.Net.Sockets.SocketFlags socketFlags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public bool SendAsync(System.Net.Sockets.SocketAsyncEventArgs e) => throw null; public int SendBufferSize { get => throw null; set => throw null; } @@ -403,7 +418,9 @@ namespace System public int SendTo(System.Byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) => throw null; public int SendTo(System.ReadOnlySpan buffer, System.Net.EndPoint remoteEP) => throw null; public int SendTo(System.ReadOnlySpan buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) => throw null; + public System.Threading.Tasks.Task SendToAsync(System.ArraySegment buffer, System.Net.EndPoint remoteEP) => throw null; public System.Threading.Tasks.Task SendToAsync(System.ArraySegment buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) => throw null; + public System.Threading.Tasks.ValueTask SendToAsync(System.ReadOnlyMemory buffer, System.Net.EndPoint remoteEP, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public System.Threading.Tasks.ValueTask SendToAsync(System.ReadOnlyMemory buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public bool SendToAsync(System.Net.Sockets.SocketAsyncEventArgs e) => throw null; public void SetIPProtectionLevel(System.Net.Sockets.IPProtectionLevel level) => throw null; @@ -425,7 +442,7 @@ namespace System // ERR: Stub generator didn't handle member: ~Socket } - // Generated from `System.Net.Sockets.SocketAsyncEventArgs` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketAsyncEventArgs` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SocketAsyncEventArgs : System.EventArgs, System.IDisposable { public System.Net.Sockets.Socket AcceptSocket { get => throw null; set => throw null; } @@ -458,7 +475,7 @@ namespace System // ERR: Stub generator didn't handle member: ~SocketAsyncEventArgs } - // Generated from `System.Net.Sockets.SocketAsyncOperation` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketAsyncOperation` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SocketAsyncOperation : int { Accept = 1, @@ -473,7 +490,7 @@ namespace System SendTo = 9, } - // Generated from `System.Net.Sockets.SocketFlags` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketFlags` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SocketFlags : int { @@ -488,7 +505,7 @@ namespace System Truncated = 256, } - // Generated from `System.Net.Sockets.SocketInformation` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketInformation` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SocketInformation { public System.Net.Sockets.SocketInformationOptions Options { get => throw null; set => throw null; } @@ -496,7 +513,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Net.Sockets.SocketInformationOptions` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketInformationOptions` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SocketInformationOptions : int { @@ -506,7 +523,7 @@ namespace System UseOnlyOverlappedIO = 8, } - // Generated from `System.Net.Sockets.SocketOptionLevel` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketOptionLevel` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SocketOptionLevel : int { IP = 0, @@ -516,7 +533,7 @@ namespace System Udp = 17, } - // Generated from `System.Net.Sockets.SocketOptionName` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketOptionName` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SocketOptionName : int { AcceptConnection = 2, @@ -570,7 +587,7 @@ namespace System UseLoopback = 64, } - // Generated from `System.Net.Sockets.SocketReceiveFromResult` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketReceiveFromResult` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SocketReceiveFromResult { public int ReceivedBytes; @@ -578,7 +595,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Net.Sockets.SocketReceiveMessageFromResult` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketReceiveMessageFromResult` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SocketReceiveMessageFromResult { public System.Net.Sockets.IPPacketInformation PacketInformation; @@ -588,7 +605,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Net.Sockets.SocketShutdown` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketShutdown` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SocketShutdown : int { Both = 2, @@ -596,7 +613,7 @@ namespace System Send = 1, } - // Generated from `System.Net.Sockets.SocketTaskExtensions` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketTaskExtensions` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class SocketTaskExtensions { public static System.Threading.Tasks.Task AcceptAsync(this System.Net.Sockets.Socket socket) => throw null; @@ -620,7 +637,7 @@ namespace System public static System.Threading.Tasks.Task SendToAsync(this System.Net.Sockets.Socket socket, System.ArraySegment buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) => throw null; } - // Generated from `System.Net.Sockets.SocketType` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.SocketType` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SocketType : int { Dgram = 2, @@ -631,7 +648,7 @@ namespace System Unknown = -1, } - // Generated from `System.Net.Sockets.TcpClient` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.TcpClient` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TcpClient : System.IDisposable { protected bool Active { get => throw null; set => throw null; } @@ -672,7 +689,7 @@ namespace System // ERR: Stub generator didn't handle member: ~TcpClient } - // Generated from `System.Net.Sockets.TcpListener` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.TcpListener` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TcpListener { public System.Net.Sockets.Socket AcceptSocket() => throw null; @@ -700,7 +717,7 @@ namespace System public TcpListener(int port) => throw null; } - // Generated from `System.Net.Sockets.TransmitFileOptions` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.TransmitFileOptions` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TransmitFileOptions : int { @@ -712,7 +729,7 @@ namespace System WriteBehind = 4, } - // Generated from `System.Net.Sockets.UdpClient` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.UdpClient` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UdpClient : System.IDisposable { protected bool Active { get => throw null; set => throw null; } @@ -765,7 +782,7 @@ namespace System public UdpClient(string hostname, int port) => throw null; } - // Generated from `System.Net.Sockets.UdpReceiveResult` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.UdpReceiveResult` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct UdpReceiveResult : System.IEquatable { public static bool operator !=(System.Net.Sockets.UdpReceiveResult left, System.Net.Sockets.UdpReceiveResult right) => throw null; @@ -779,9 +796,13 @@ namespace System public UdpReceiveResult(System.Byte[] buffer, System.Net.IPEndPoint remoteEndPoint) => throw null; } - // Generated from `System.Net.Sockets.UnixDomainSocketEndPoint` in `System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.Sockets.UnixDomainSocketEndPoint` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnixDomainSocketEndPoint : System.Net.EndPoint { + public override System.Net.Sockets.AddressFamily AddressFamily { get => throw null; } + public override System.Net.EndPoint Create(System.Net.SocketAddress socketAddress) => throw null; + public override System.Net.SocketAddress Serialize() => throw null; + public override string ToString() => throw null; public UnixDomainSocketEndPoint(string path) => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebClient.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebClient.cs index d0e1d3f02d2..29e1977324b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebClient.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebClient.cs @@ -4,17 +4,17 @@ namespace System { namespace Net { - // Generated from `System.Net.DownloadDataCompletedEventArgs` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.DownloadDataCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DownloadDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { internal DownloadDataCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; public System.Byte[] Result { get => throw null; } } - // Generated from `System.Net.DownloadDataCompletedEventHandler` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.DownloadDataCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void DownloadDataCompletedEventHandler(object sender, System.Net.DownloadDataCompletedEventArgs e); - // Generated from `System.Net.DownloadProgressChangedEventArgs` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.DownloadProgressChangedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DownloadProgressChangedEventArgs : System.ComponentModel.ProgressChangedEventArgs { public System.Int64 BytesReceived { get => throw null; } @@ -22,60 +22,60 @@ namespace System public System.Int64 TotalBytesToReceive { get => throw null; } } - // Generated from `System.Net.DownloadProgressChangedEventHandler` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.DownloadProgressChangedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void DownloadProgressChangedEventHandler(object sender, System.Net.DownloadProgressChangedEventArgs e); - // Generated from `System.Net.DownloadStringCompletedEventArgs` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.DownloadStringCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DownloadStringCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { internal DownloadStringCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; public string Result { get => throw null; } } - // Generated from `System.Net.DownloadStringCompletedEventHandler` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.DownloadStringCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void DownloadStringCompletedEventHandler(object sender, System.Net.DownloadStringCompletedEventArgs e); - // Generated from `System.Net.OpenReadCompletedEventArgs` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.OpenReadCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class OpenReadCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { internal OpenReadCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; public System.IO.Stream Result { get => throw null; } } - // Generated from `System.Net.OpenReadCompletedEventHandler` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.OpenReadCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void OpenReadCompletedEventHandler(object sender, System.Net.OpenReadCompletedEventArgs e); - // Generated from `System.Net.OpenWriteCompletedEventArgs` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.OpenWriteCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class OpenWriteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { internal OpenWriteCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; public System.IO.Stream Result { get => throw null; } } - // Generated from `System.Net.OpenWriteCompletedEventHandler` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.OpenWriteCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void OpenWriteCompletedEventHandler(object sender, System.Net.OpenWriteCompletedEventArgs e); - // Generated from `System.Net.UploadDataCompletedEventArgs` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.UploadDataCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UploadDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { public System.Byte[] Result { get => throw null; } internal UploadDataCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; } - // Generated from `System.Net.UploadDataCompletedEventHandler` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.UploadDataCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void UploadDataCompletedEventHandler(object sender, System.Net.UploadDataCompletedEventArgs e); - // Generated from `System.Net.UploadFileCompletedEventArgs` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.UploadFileCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UploadFileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { public System.Byte[] Result { get => throw null; } internal UploadFileCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; } - // Generated from `System.Net.UploadFileCompletedEventHandler` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.UploadFileCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void UploadFileCompletedEventHandler(object sender, System.Net.UploadFileCompletedEventArgs e); - // Generated from `System.Net.UploadProgressChangedEventArgs` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.UploadProgressChangedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UploadProgressChangedEventArgs : System.ComponentModel.ProgressChangedEventArgs { public System.Int64 BytesReceived { get => throw null; } @@ -85,30 +85,30 @@ namespace System internal UploadProgressChangedEventArgs() : base(default(int), default(object)) => throw null; } - // Generated from `System.Net.UploadProgressChangedEventHandler` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.UploadProgressChangedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void UploadProgressChangedEventHandler(object sender, System.Net.UploadProgressChangedEventArgs e); - // Generated from `System.Net.UploadStringCompletedEventArgs` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.UploadStringCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UploadStringCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { public string Result { get => throw null; } internal UploadStringCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; } - // Generated from `System.Net.UploadStringCompletedEventHandler` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.UploadStringCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void UploadStringCompletedEventHandler(object sender, System.Net.UploadStringCompletedEventArgs e); - // Generated from `System.Net.UploadValuesCompletedEventArgs` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.UploadValuesCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UploadValuesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { public System.Byte[] Result { get => throw null; } internal UploadValuesCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; } - // Generated from `System.Net.UploadValuesCompletedEventHandler` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.UploadValuesCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void UploadValuesCompletedEventHandler(object sender, System.Net.UploadValuesCompletedEventArgs e); - // Generated from `System.Net.WebClient` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.WebClient` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class WebClient : System.ComponentModel.Component { public bool AllowReadStreamBuffering { get => throw null; set => throw null; } @@ -233,14 +233,14 @@ namespace System public event System.Net.WriteStreamClosedEventHandler WriteStreamClosed; } - // Generated from `System.Net.WriteStreamClosedEventArgs` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.WriteStreamClosedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class WriteStreamClosedEventArgs : System.EventArgs { public System.Exception Error { get => throw null; } public WriteStreamClosedEventArgs() => throw null; } - // Generated from `System.Net.WriteStreamClosedEventHandler` in `System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.WriteStreamClosedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void WriteStreamClosedEventHandler(object sender, System.Net.WriteStreamClosedEventArgs e); } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebHeaderCollection.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebHeaderCollection.cs index 1eccbd9c0e3..42faf5eb8a1 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebHeaderCollection.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebHeaderCollection.cs @@ -4,7 +4,7 @@ namespace System { namespace Net { - // Generated from `System.Net.HttpRequestHeader` in `System.Net.WebHeaderCollection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.HttpRequestHeader` in `System.Net.WebHeaderCollection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpRequestHeader : int { Accept = 20, @@ -50,7 +50,7 @@ namespace System Warning = 9, } - // Generated from `System.Net.HttpResponseHeader` in `System.Net.WebHeaderCollection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.HttpResponseHeader` in `System.Net.WebHeaderCollection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpResponseHeader : int { AcceptRanges = 20, @@ -85,7 +85,7 @@ namespace System WwwAuthenticate = 29, } - // Generated from `System.Net.WebHeaderCollection` in `System.Net.WebHeaderCollection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebHeaderCollection` in `System.Net.WebHeaderCollection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WebHeaderCollection : System.Collections.Specialized.NameValueCollection, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable { public void Add(System.Net.HttpRequestHeader header, string value) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebProxy.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebProxy.cs index c271011f461..68cac788088 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebProxy.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebProxy.cs @@ -4,7 +4,7 @@ namespace System { namespace Net { - // Generated from `System.Net.IWebProxyScript` in `System.Net.WebProxy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.IWebProxyScript` in `System.Net.WebProxy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IWebProxyScript { void Close(); @@ -12,7 +12,7 @@ namespace System string Run(string url, string host); } - // Generated from `System.Net.WebProxy` in `System.Net.WebProxy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Net.WebProxy` in `System.Net.WebProxy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class WebProxy : System.Net.IWebProxy, System.Runtime.Serialization.ISerializable { public System.Uri Address { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.Client.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.Client.cs index 773f0951c18..51edf59cefd 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.Client.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.Client.cs @@ -6,7 +6,7 @@ namespace System { namespace WebSockets { - // Generated from `System.Net.WebSockets.ClientWebSocket` in `System.Net.WebSockets.Client, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.ClientWebSocket` in `System.Net.WebSockets.Client, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ClientWebSocket : System.Net.WebSockets.WebSocket { public override void Abort() => throw null; @@ -16,7 +16,10 @@ namespace System public override System.Net.WebSockets.WebSocketCloseStatus? CloseStatus { get => throw null; } public override string CloseStatusDescription { get => throw null; } public System.Threading.Tasks.Task ConnectAsync(System.Uri uri, System.Threading.CancellationToken cancellationToken) => throw null; + public System.Threading.Tasks.Task ConnectAsync(System.Uri uri, System.Net.Http.HttpMessageInvoker invoker, System.Threading.CancellationToken cancellationToken) => throw null; public override void Dispose() => throw null; + public System.Collections.Generic.IReadOnlyDictionary> HttpResponseHeaders { get => throw null; set => throw null; } + public System.Net.HttpStatusCode HttpStatusCode { get => throw null; } public System.Net.WebSockets.ClientWebSocketOptions Options { get => throw null; } public override System.Threading.Tasks.Task ReceiveAsync(System.ArraySegment buffer, System.Threading.CancellationToken cancellationToken) => throw null; public override System.Threading.Tasks.ValueTask ReceiveAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken) => throw null; @@ -26,14 +29,17 @@ namespace System public override string SubProtocol { get => throw null; } } - // Generated from `System.Net.WebSockets.ClientWebSocketOptions` in `System.Net.WebSockets.Client, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.ClientWebSocketOptions` in `System.Net.WebSockets.Client, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ClientWebSocketOptions { public void AddSubProtocol(string subProtocol) => throw null; public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get => throw null; set => throw null; } + public bool CollectHttpResponseDetails { get => throw null; set => throw null; } public System.Net.CookieContainer Cookies { get => throw null; set => throw null; } public System.Net.ICredentials Credentials { get => throw null; set => throw null; } public System.Net.WebSockets.WebSocketDeflateOptions DangerousDeflateOptions { get => throw null; set => throw null; } + public System.Version HttpVersion { get => throw null; set => throw null; } + public System.Net.Http.HttpVersionPolicy HttpVersionPolicy { get => throw null; set => throw null; } public System.TimeSpan KeepAliveInterval { get => throw null; set => throw null; } public System.Net.IWebProxy Proxy { get => throw null; set => throw null; } public System.Net.Security.RemoteCertificateValidationCallback RemoteCertificateValidationCallback { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.cs index f2fb33af811..fb1aa81c592 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.cs @@ -6,7 +6,7 @@ namespace System { namespace WebSockets { - // Generated from `System.Net.WebSockets.ValueWebSocketReceiveResult` in `System.Net.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.ValueWebSocketReceiveResult` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueWebSocketReceiveResult { public int Count { get => throw null; } @@ -16,7 +16,7 @@ namespace System public ValueWebSocketReceiveResult(int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage) => throw null; } - // Generated from `System.Net.WebSockets.WebSocket` in `System.Net.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.WebSocket` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class WebSocket : System.IDisposable { public abstract void Abort(); @@ -45,7 +45,7 @@ namespace System protected WebSocket() => throw null; } - // Generated from `System.Net.WebSockets.WebSocketCloseStatus` in `System.Net.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.WebSocketCloseStatus` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WebSocketCloseStatus : int { Empty = 1005, @@ -60,7 +60,7 @@ namespace System ProtocolError = 1002, } - // Generated from `System.Net.WebSockets.WebSocketContext` in `System.Net.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.WebSocketContext` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class WebSocketContext { public abstract System.Net.CookieCollection CookieCollection { get; } @@ -78,7 +78,7 @@ namespace System protected WebSocketContext() => throw null; } - // Generated from `System.Net.WebSockets.WebSocketCreationOptions` in `System.Net.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.WebSocketCreationOptions` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WebSocketCreationOptions { public System.Net.WebSockets.WebSocketDeflateOptions DangerousDeflateOptions { get => throw null; set => throw null; } @@ -88,7 +88,7 @@ namespace System public WebSocketCreationOptions() => throw null; } - // Generated from `System.Net.WebSockets.WebSocketDeflateOptions` in `System.Net.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.WebSocketDeflateOptions` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WebSocketDeflateOptions { public bool ClientContextTakeover { get => throw null; set => throw null; } @@ -98,7 +98,7 @@ namespace System public WebSocketDeflateOptions() => throw null; } - // Generated from `System.Net.WebSockets.WebSocketError` in `System.Net.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.WebSocketError` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WebSocketError : int { ConnectionClosedPrematurely = 8, @@ -113,7 +113,7 @@ namespace System UnsupportedVersion = 5, } - // Generated from `System.Net.WebSockets.WebSocketException` in `System.Net.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.WebSocketException` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WebSocketException : System.ComponentModel.Win32Exception { public override int ErrorCode { get => throw null; } @@ -135,7 +135,7 @@ namespace System public WebSocketException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Net.WebSockets.WebSocketMessageFlags` in `System.Net.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.WebSocketMessageFlags` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum WebSocketMessageFlags : int { @@ -144,7 +144,7 @@ namespace System None = 0, } - // Generated from `System.Net.WebSockets.WebSocketMessageType` in `System.Net.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.WebSocketMessageType` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WebSocketMessageType : int { Binary = 1, @@ -152,7 +152,7 @@ namespace System Text = 0, } - // Generated from `System.Net.WebSockets.WebSocketReceiveResult` in `System.Net.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.WebSocketReceiveResult` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WebSocketReceiveResult { public System.Net.WebSockets.WebSocketCloseStatus? CloseStatus { get => throw null; } @@ -164,7 +164,7 @@ namespace System public WebSocketReceiveResult(int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage, System.Net.WebSockets.WebSocketCloseStatus? closeStatus, string closeStatusDescription) => throw null; } - // Generated from `System.Net.WebSockets.WebSocketState` in `System.Net.WebSockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebSockets.WebSocketState` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WebSocketState : int { Aborted = 6, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Numerics.Vectors.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Numerics.Vectors.cs index 471b9950d40..ca976fb5d78 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Numerics.Vectors.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Numerics.Vectors.cs @@ -4,7 +4,7 @@ namespace System { namespace Numerics { - // Generated from `System.Numerics.Matrix3x2` in `System.Numerics.Vectors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Numerics.Matrix3x2` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Matrix3x2 : System.IEquatable { public static bool operator !=(System.Numerics.Matrix3x2 value1, System.Numerics.Matrix3x2 value2) => throw null; @@ -34,6 +34,7 @@ namespace System public static System.Numerics.Matrix3x2 Identity { get => throw null; } public static bool Invert(System.Numerics.Matrix3x2 matrix, out System.Numerics.Matrix3x2 result) => throw null; public bool IsIdentity { get => throw null; } + public float this[int row, int column] { get => throw null; set => throw null; } public static System.Numerics.Matrix3x2 Lerp(System.Numerics.Matrix3x2 matrix1, System.Numerics.Matrix3x2 matrix2, float amount) => throw null; public float M11; public float M12; @@ -51,7 +52,7 @@ namespace System public System.Numerics.Vector2 Translation { get => throw null; set => throw null; } } - // Generated from `System.Numerics.Matrix4x4` in `System.Numerics.Vectors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Numerics.Matrix4x4` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Matrix4x4 : System.IEquatable { public static bool operator !=(System.Numerics.Matrix4x4 value1, System.Numerics.Matrix4x4 value2) => throw null; @@ -98,6 +99,7 @@ namespace System public static System.Numerics.Matrix4x4 Identity { get => throw null; } public static bool Invert(System.Numerics.Matrix4x4 matrix, out System.Numerics.Matrix4x4 result) => throw null; public bool IsIdentity { get => throw null; } + public float this[int row, int column] { get => throw null; set => throw null; } public static System.Numerics.Matrix4x4 Lerp(System.Numerics.Matrix4x4 matrix1, System.Numerics.Matrix4x4 matrix2, float amount) => throw null; public float M11; public float M12; @@ -128,7 +130,7 @@ namespace System public static System.Numerics.Matrix4x4 Transpose(System.Numerics.Matrix4x4 matrix) => throw null; } - // Generated from `System.Numerics.Plane` in `System.Numerics.Vectors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Numerics.Plane` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Plane : System.IEquatable { public static bool operator !=(System.Numerics.Plane value1, System.Numerics.Plane value2) => throw null; @@ -152,7 +154,7 @@ namespace System public static System.Numerics.Plane Transform(System.Numerics.Plane plane, System.Numerics.Quaternion rotation) => throw null; } - // Generated from `System.Numerics.Quaternion` in `System.Numerics.Vectors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Numerics.Quaternion` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Quaternion : System.IEquatable { public static bool operator !=(System.Numerics.Quaternion value1, System.Numerics.Quaternion value2) => throw null; @@ -177,6 +179,7 @@ namespace System public static System.Numerics.Quaternion Identity { get => throw null; } public static System.Numerics.Quaternion Inverse(System.Numerics.Quaternion value) => throw null; public bool IsIdentity { get => throw null; } + public float this[int index] { get => throw null; set => throw null; } public float Length() => throw null; public float LengthSquared() => throw null; public static System.Numerics.Quaternion Lerp(System.Numerics.Quaternion quaternion1, System.Numerics.Quaternion quaternion2, float amount) => throw null; @@ -194,9 +197,10 @@ namespace System public float X; public float Y; public float Z; + public static System.Numerics.Quaternion Zero { get => throw null; } } - // Generated from `System.Numerics.Vector` in `System.Numerics.Vectors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Numerics.Vector` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Vector { public static System.Numerics.Vector Abs(System.Numerics.Vector value) where T : struct => throw null; @@ -284,6 +288,31 @@ namespace System public static System.Numerics.Vector Narrow(System.Numerics.Vector low, System.Numerics.Vector high) => throw null; public static System.Numerics.Vector Negate(System.Numerics.Vector value) where T : struct => throw null; public static System.Numerics.Vector OnesComplement(System.Numerics.Vector value) where T : struct => throw null; + public static System.Numerics.Vector ShiftLeft(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftLeft(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftLeft(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftLeft(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftLeft(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftLeft(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftLeft(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftLeft(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftLeft(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftLeft(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightArithmetic(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightArithmetic(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightArithmetic(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightArithmetic(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightArithmetic(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightLogical(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightLogical(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightLogical(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightLogical(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightLogical(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightLogical(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightLogical(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightLogical(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightLogical(System.Numerics.Vector value, int shiftCount) => throw null; + public static System.Numerics.Vector ShiftRightLogical(System.Numerics.Vector value, int shiftCount) => throw null; public static System.Numerics.Vector SquareRoot(System.Numerics.Vector value) where T : struct => throw null; public static System.Numerics.Vector Subtract(System.Numerics.Vector left, System.Numerics.Vector right) where T : struct => throw null; public static T Sum(System.Numerics.Vector value) where T : struct => throw null; @@ -297,7 +326,7 @@ namespace System public static System.Numerics.Vector Xor(System.Numerics.Vector left, System.Numerics.Vector right) where T : struct => throw null; } - // Generated from `System.Numerics.Vector2` in `System.Numerics.Vectors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Numerics.Vector2` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Vector2 : System.IEquatable, System.IFormattable { public static bool operator !=(System.Numerics.Vector2 left, System.Numerics.Vector2 right) => throw null; @@ -324,6 +353,7 @@ namespace System public bool Equals(System.Numerics.Vector2 other) => throw null; public override bool Equals(object obj) => throw null; public override int GetHashCode() => throw null; + public float this[int index] { get => throw null; set => throw null; } public float Length() => throw null; public float LengthSquared() => throw null; public static System.Numerics.Vector2 Lerp(System.Numerics.Vector2 value1, System.Numerics.Vector2 value2, float amount) => throw null; @@ -358,7 +388,7 @@ namespace System public static System.Numerics.Vector2 Zero { get => throw null; } } - // Generated from `System.Numerics.Vector3` in `System.Numerics.Vectors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Numerics.Vector3` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Vector3 : System.IEquatable, System.IFormattable { public static bool operator !=(System.Numerics.Vector3 left, System.Numerics.Vector3 right) => throw null; @@ -386,6 +416,7 @@ namespace System public bool Equals(System.Numerics.Vector3 other) => throw null; public override bool Equals(object obj) => throw null; public override int GetHashCode() => throw null; + public float this[int index] { get => throw null; set => throw null; } public float Length() => throw null; public float LengthSquared() => throw null; public static System.Numerics.Vector3 Lerp(System.Numerics.Vector3 value1, System.Numerics.Vector3 value2, float amount) => throw null; @@ -421,7 +452,7 @@ namespace System public static System.Numerics.Vector3 Zero { get => throw null; } } - // Generated from `System.Numerics.Vector4` in `System.Numerics.Vectors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Numerics.Vector4` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Vector4 : System.IEquatable, System.IFormattable { public static bool operator !=(System.Numerics.Vector4 left, System.Numerics.Vector4 right) => throw null; @@ -448,6 +479,7 @@ namespace System public bool Equals(System.Numerics.Vector4 other) => throw null; public override bool Equals(object obj) => throw null; public override int GetHashCode() => throw null; + public float this[int index] { get => throw null; set => throw null; } public float Length() => throw null; public float LengthSquared() => throw null; public static System.Numerics.Vector4 Lerp(System.Numerics.Vector4 value1, System.Numerics.Vector4 value2, float amount) => throw null; @@ -488,7 +520,7 @@ namespace System public static System.Numerics.Vector4 Zero { get => throw null; } } - // Generated from `System.Numerics.Vector<>` in `System.Numerics.Vectors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Numerics.Vector<>` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Vector : System.IEquatable>, System.IFormattable where T : struct { public static bool operator !=(System.Numerics.Vector left, System.Numerics.Vector right) => throw null; @@ -509,6 +541,7 @@ namespace System public bool Equals(System.Numerics.Vector other) => throw null; public override bool Equals(object obj) => throw null; public override int GetHashCode() => throw null; + public static bool IsSupported { get => throw null; } public T this[int index] { get => throw null; } public static System.Numerics.Vector One { get => throw null; } public override string ToString() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ObjectModel.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ObjectModel.cs index 72da9bbf4c0..606d485cd9f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ObjectModel.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ObjectModel.cs @@ -6,7 +6,7 @@ namespace System { namespace ObjectModel { - // Generated from `System.Collections.ObjectModel.KeyedCollection<,>` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.ObjectModel.KeyedCollection<,>` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class KeyedCollection : System.Collections.ObjectModel.Collection { protected void ChangeItemKey(TItem item, TKey newKey) => throw null; @@ -26,7 +26,7 @@ namespace System public bool TryGetValue(TKey key, out TItem item) => throw null; } - // Generated from `System.Collections.ObjectModel.ObservableCollection<>` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.ObjectModel.ObservableCollection<>` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObservableCollection : System.Collections.ObjectModel.Collection, System.Collections.Specialized.INotifyCollectionChanged, System.ComponentModel.INotifyPropertyChanged { protected System.IDisposable BlockReentrancy() => throw null; @@ -47,84 +47,7 @@ namespace System protected override void SetItem(int index, T item) => throw null; } - // Generated from `System.Collections.ObjectModel.ReadOnlyDictionary<,>` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class ReadOnlyDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable - { - // Generated from `System.Collections.ObjectModel.ReadOnlyDictionary<,>+KeyCollection` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class KeyCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable - { - void System.Collections.Generic.ICollection.Add(TKey item) => throw null; - void System.Collections.Generic.ICollection.Clear() => throw null; - bool System.Collections.Generic.ICollection.Contains(TKey item) => throw null; - void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; - public void CopyTo(TKey[] array, int arrayIndex) => throw null; - public int Count { get => throw null; } - public System.Collections.Generic.IEnumerator GetEnumerator() => throw null; - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; - bool System.Collections.Generic.ICollection.IsReadOnly { get => throw null; } - bool System.Collections.ICollection.IsSynchronized { get => throw null; } - bool System.Collections.Generic.ICollection.Remove(TKey item) => throw null; - object System.Collections.ICollection.SyncRoot { get => throw null; } - } - - - // Generated from `System.Collections.ObjectModel.ReadOnlyDictionary<,>+ValueCollection` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class ValueCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable - { - void System.Collections.Generic.ICollection.Add(TValue item) => throw null; - void System.Collections.Generic.ICollection.Clear() => throw null; - bool System.Collections.Generic.ICollection.Contains(TValue item) => throw null; - void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; - public void CopyTo(TValue[] array, int arrayIndex) => throw null; - public int Count { get => throw null; } - public System.Collections.Generic.IEnumerator GetEnumerator() => throw null; - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; - bool System.Collections.Generic.ICollection.IsReadOnly { get => throw null; } - bool System.Collections.ICollection.IsSynchronized { get => throw null; } - bool System.Collections.Generic.ICollection.Remove(TValue item) => throw null; - object System.Collections.ICollection.SyncRoot { get => throw null; } - } - - - void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair item) => throw null; - void System.Collections.Generic.IDictionary.Add(TKey key, TValue value) => throw null; - void System.Collections.IDictionary.Add(object key, object value) => throw null; - void System.Collections.Generic.ICollection>.Clear() => throw null; - void System.Collections.IDictionary.Clear() => throw null; - bool System.Collections.Generic.ICollection>.Contains(System.Collections.Generic.KeyValuePair item) => throw null; - bool System.Collections.IDictionary.Contains(object key) => throw null; - public bool ContainsKey(TKey key) => throw null; - void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; - void System.Collections.Generic.ICollection>.CopyTo(System.Collections.Generic.KeyValuePair[] array, int arrayIndex) => throw null; - public int Count { get => throw null; } - protected System.Collections.Generic.IDictionary Dictionary { get => throw null; } - public System.Collections.Generic.IEnumerator> GetEnumerator() => throw null; - System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator() => throw null; - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; - bool System.Collections.IDictionary.IsFixedSize { get => throw null; } - bool System.Collections.Generic.ICollection>.IsReadOnly { get => throw null; } - bool System.Collections.IDictionary.IsReadOnly { get => throw null; } - bool System.Collections.ICollection.IsSynchronized { get => throw null; } - public TValue this[TKey key] { get => throw null; } - TValue System.Collections.Generic.IDictionary.this[TKey key] { get => throw null; set => throw null; } - object System.Collections.IDictionary.this[object key] { get => throw null; set => throw null; } - public System.Collections.ObjectModel.ReadOnlyDictionary.KeyCollection Keys { get => throw null; } - System.Collections.Generic.ICollection System.Collections.Generic.IDictionary.Keys { get => throw null; } - System.Collections.Generic.IEnumerable System.Collections.Generic.IReadOnlyDictionary.Keys { get => throw null; } - System.Collections.ICollection System.Collections.IDictionary.Keys { get => throw null; } - public ReadOnlyDictionary(System.Collections.Generic.IDictionary dictionary) => throw null; - bool System.Collections.Generic.ICollection>.Remove(System.Collections.Generic.KeyValuePair item) => throw null; - bool System.Collections.Generic.IDictionary.Remove(TKey key) => throw null; - void System.Collections.IDictionary.Remove(object key) => throw null; - object System.Collections.ICollection.SyncRoot { get => throw null; } - public bool TryGetValue(TKey key, out TValue value) => throw null; - public System.Collections.ObjectModel.ReadOnlyDictionary.ValueCollection Values { get => throw null; } - System.Collections.Generic.ICollection System.Collections.Generic.IDictionary.Values { get => throw null; } - System.Collections.Generic.IEnumerable System.Collections.Generic.IReadOnlyDictionary.Values { get => throw null; } - System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } - } - - // Generated from `System.Collections.ObjectModel.ReadOnlyObservableCollection<>` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.ObjectModel.ReadOnlyObservableCollection<>` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReadOnlyObservableCollection : System.Collections.ObjectModel.ReadOnlyCollection, System.Collections.Specialized.INotifyCollectionChanged, System.ComponentModel.INotifyPropertyChanged { protected virtual event System.Collections.Specialized.NotifyCollectionChangedEventHandler CollectionChanged; @@ -139,13 +62,13 @@ namespace System } namespace Specialized { - // Generated from `System.Collections.Specialized.INotifyCollectionChanged` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.INotifyCollectionChanged` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INotifyCollectionChanged { event System.Collections.Specialized.NotifyCollectionChangedEventHandler CollectionChanged; } - // Generated from `System.Collections.Specialized.NotifyCollectionChangedAction` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.NotifyCollectionChangedAction` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NotifyCollectionChangedAction : int { Add = 0, @@ -155,7 +78,7 @@ namespace System Reset = 4, } - // Generated from `System.Collections.Specialized.NotifyCollectionChangedEventArgs` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.NotifyCollectionChangedEventArgs` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotifyCollectionChangedEventArgs : System.EventArgs { public System.Collections.Specialized.NotifyCollectionChangedAction Action { get => throw null; } @@ -176,21 +99,21 @@ namespace System public int OldStartingIndex { get => throw null; } } - // Generated from `System.Collections.Specialized.NotifyCollectionChangedEventHandler` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Specialized.NotifyCollectionChangedEventHandler` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void NotifyCollectionChangedEventHandler(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e); } } namespace ComponentModel { - // Generated from `System.ComponentModel.DataErrorsChangedEventArgs` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DataErrorsChangedEventArgs` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataErrorsChangedEventArgs : System.EventArgs { public DataErrorsChangedEventArgs(string propertyName) => throw null; public virtual string PropertyName { get => throw null; } } - // Generated from `System.ComponentModel.INotifyDataErrorInfo` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.INotifyDataErrorInfo` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INotifyDataErrorInfo { event System.EventHandler ErrorsChanged; @@ -198,39 +121,39 @@ namespace System bool HasErrors { get; } } - // Generated from `System.ComponentModel.INotifyPropertyChanged` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.INotifyPropertyChanged` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INotifyPropertyChanged { event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; } - // Generated from `System.ComponentModel.INotifyPropertyChanging` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.INotifyPropertyChanging` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INotifyPropertyChanging { event System.ComponentModel.PropertyChangingEventHandler PropertyChanging; } - // Generated from `System.ComponentModel.PropertyChangedEventArgs` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.PropertyChangedEventArgs` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PropertyChangedEventArgs : System.EventArgs { public PropertyChangedEventArgs(string propertyName) => throw null; public virtual string PropertyName { get => throw null; } } - // Generated from `System.ComponentModel.PropertyChangedEventHandler` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.PropertyChangedEventHandler` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void PropertyChangedEventHandler(object sender, System.ComponentModel.PropertyChangedEventArgs e); - // Generated from `System.ComponentModel.PropertyChangingEventArgs` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.PropertyChangingEventArgs` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PropertyChangingEventArgs : System.EventArgs { public PropertyChangingEventArgs(string propertyName) => throw null; public virtual string PropertyName { get => throw null; } } - // Generated from `System.ComponentModel.PropertyChangingEventHandler` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.PropertyChangingEventHandler` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void PropertyChangingEventHandler(object sender, System.ComponentModel.PropertyChangingEventArgs e); - // Generated from `System.ComponentModel.TypeConverterAttribute` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.TypeConverterAttribute` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeConverterAttribute : System.Attribute { public string ConverterTypeName { get => throw null; } @@ -242,7 +165,7 @@ namespace System public TypeConverterAttribute(string typeName) => throw null; } - // Generated from `System.ComponentModel.TypeDescriptionProviderAttribute` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.TypeDescriptionProviderAttribute` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeDescriptionProviderAttribute : System.Attribute { public TypeDescriptionProviderAttribute(System.Type type) => throw null; @@ -253,7 +176,7 @@ namespace System } namespace Reflection { - // Generated from `System.Reflection.ICustomTypeProvider` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ICustomTypeProvider` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomTypeProvider { System.Type GetCustomType(); @@ -264,7 +187,7 @@ namespace System { namespace Input { - // Generated from `System.Windows.Input.ICommand` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Windows.Input.ICommand` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICommand { bool CanExecute(object parameter); @@ -275,7 +198,7 @@ namespace System } namespace Markup { - // Generated from `System.Windows.Markup.ValueSerializerAttribute` in `System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Windows.Markup.ValueSerializerAttribute` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValueSerializerAttribute : System.Attribute { public ValueSerializerAttribute(System.Type valueSerializerType) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.DispatchProxy.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.DispatchProxy.cs index f4c2140fe5d..7c4cac537a1 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.DispatchProxy.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.DispatchProxy.cs @@ -4,7 +4,7 @@ namespace System { namespace Reflection { - // Generated from `System.Reflection.DispatchProxy` in `System.Reflection.DispatchProxy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.DispatchProxy` in `System.Reflection.DispatchProxy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DispatchProxy { public static T Create() where TProxy : System.Reflection.DispatchProxy => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.ILGeneration.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.ILGeneration.cs index d6812f924d0..f4834738599 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.ILGeneration.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.ILGeneration.cs @@ -6,7 +6,7 @@ namespace System { namespace Emit { - // Generated from `System.Reflection.Emit.CustomAttributeBuilder` in `System.Reflection.Emit.ILGeneration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.CustomAttributeBuilder` in `System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CustomAttributeBuilder { public CustomAttributeBuilder(System.Reflection.ConstructorInfo con, object[] constructorArgs) => throw null; @@ -15,7 +15,7 @@ namespace System public CustomAttributeBuilder(System.Reflection.ConstructorInfo con, object[] constructorArgs, System.Reflection.PropertyInfo[] namedProperties, object[] propertyValues, System.Reflection.FieldInfo[] namedFields, object[] fieldValues) => throw null; } - // Generated from `System.Reflection.Emit.ILGenerator` in `System.Reflection.Emit.ILGeneration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.ILGenerator` in `System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ILGenerator { public virtual void BeginCatchBlock(System.Type exceptionType) => throw null; @@ -58,7 +58,7 @@ namespace System public virtual void UsingNamespace(string usingNamespace) => throw null; } - // Generated from `System.Reflection.Emit.Label` in `System.Reflection.Emit.ILGeneration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.Label` in `System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Label : System.IEquatable { public static bool operator !=(System.Reflection.Emit.Label a, System.Reflection.Emit.Label b) => throw null; @@ -69,7 +69,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Emit.LocalBuilder` in `System.Reflection.Emit.ILGeneration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.LocalBuilder` in `System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LocalBuilder : System.Reflection.LocalVariableInfo { public override bool IsPinned { get => throw null; } @@ -77,7 +77,7 @@ namespace System public override System.Type LocalType { get => throw null; } } - // Generated from `System.Reflection.Emit.ParameterBuilder` in `System.Reflection.Emit.ILGeneration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.ParameterBuilder` in `System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParameterBuilder { public virtual int Attributes { get => throw null; } @@ -91,7 +91,7 @@ namespace System public void SetCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder customBuilder) => throw null; } - // Generated from `System.Reflection.Emit.SignatureHelper` in `System.Reflection.Emit.ILGeneration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.SignatureHelper` in `System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SignatureHelper { public void AddArgument(System.Type clsArgument) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.Lightweight.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.Lightweight.cs index e696e84576d..c8e9c9d52de 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.Lightweight.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.Lightweight.cs @@ -6,7 +6,7 @@ namespace System { namespace Emit { - // Generated from `System.Reflection.Emit.DynamicILInfo` in `System.Reflection.Emit.Lightweight, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.DynamicILInfo` in `System.Reflection.Emit.Lightweight, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicILInfo { public System.Reflection.Emit.DynamicMethod DynamicMethod { get => throw null; } @@ -26,7 +26,7 @@ namespace System unsafe public void SetLocalSignature(System.Byte* localSignature, int signatureSize) => throw null; } - // Generated from `System.Reflection.Emit.DynamicMethod` in `System.Reflection.Emit.Lightweight, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.DynamicMethod` in `System.Reflection.Emit.Lightweight, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicMethod : System.Reflection.MethodInfo { public override System.Reflection.MethodAttributes Attributes { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.cs index 7849ca4750f..692af451e47 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.cs @@ -6,7 +6,7 @@ namespace System { namespace Emit { - // Generated from `System.Reflection.Emit.AssemblyBuilder` in `System.Reflection.Emit, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.AssemblyBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyBuilder : System.Reflection.Assembly { public override string CodeBase { get => throw null; } @@ -47,7 +47,7 @@ namespace System public void SetCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder customBuilder) => throw null; } - // Generated from `System.Reflection.Emit.AssemblyBuilderAccess` in `System.Reflection.Emit, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.AssemblyBuilderAccess` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AssemblyBuilderAccess : int { @@ -55,7 +55,7 @@ namespace System RunAndCollect = 9, } - // Generated from `System.Reflection.Emit.ConstructorBuilder` in `System.Reflection.Emit, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.ConstructorBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConstructorBuilder : System.Reflection.ConstructorInfo { public override System.Reflection.MethodAttributes Attributes { get => throw null; } @@ -83,7 +83,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.Emit.EnumBuilder` in `System.Reflection.Emit, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.EnumBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumBuilder : System.Reflection.TypeInfo { public override System.Reflection.Assembly Assembly { get => throw null; } @@ -147,7 +147,7 @@ namespace System public override System.Type UnderlyingSystemType { get => throw null; } } - // Generated from `System.Reflection.Emit.EventBuilder` in `System.Reflection.Emit, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.EventBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventBuilder { public void AddOtherMethod(System.Reflection.Emit.MethodBuilder mdBuilder) => throw null; @@ -158,7 +158,7 @@ namespace System public void SetRemoveOnMethod(System.Reflection.Emit.MethodBuilder mdBuilder) => throw null; } - // Generated from `System.Reflection.Emit.FieldBuilder` in `System.Reflection.Emit, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.FieldBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FieldBuilder : System.Reflection.FieldInfo { public override System.Reflection.FieldAttributes Attributes { get => throw null; } @@ -180,7 +180,7 @@ namespace System public override void SetValue(object obj, object val, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture) => throw null; } - // Generated from `System.Reflection.Emit.GenericTypeParameterBuilder` in `System.Reflection.Emit, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.GenericTypeParameterBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GenericTypeParameterBuilder : System.Reflection.TypeInfo { public override System.Reflection.Assembly Assembly { get => throw null; } @@ -258,7 +258,7 @@ namespace System public override System.Type UnderlyingSystemType { get => throw null; } } - // Generated from `System.Reflection.Emit.MethodBuilder` in `System.Reflection.Emit, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.MethodBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MethodBuilder : System.Reflection.MethodInfo { public override System.Reflection.MethodAttributes Attributes { get => throw null; } @@ -304,7 +304,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.Emit.ModuleBuilder` in `System.Reflection.Emit, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.ModuleBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ModuleBuilder : System.Reflection.Module { public override System.Reflection.Assembly Assembly { get => throw null; } @@ -357,7 +357,7 @@ namespace System public void SetCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder customBuilder) => throw null; } - // Generated from `System.Reflection.Emit.PropertyBuilder` in `System.Reflection.Emit, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.PropertyBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PropertyBuilder : System.Reflection.PropertyInfo { public void AddOtherMethod(System.Reflection.Emit.MethodBuilder mdBuilder) => throw null; @@ -387,7 +387,7 @@ namespace System public override void SetValue(object obj, object value, object[] index) => throw null; } - // Generated from `System.Reflection.Emit.TypeBuilder` in `System.Reflection.Emit, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.TypeBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeBuilder : System.Reflection.TypeInfo { public void AddInterfaceImplementation(System.Type interfaceType) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Metadata.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Metadata.cs index 6f33defb3ab..9e951048a39 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Metadata.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Metadata.cs @@ -4,7 +4,7 @@ namespace System { namespace Reflection { - // Generated from `System.Reflection.AssemblyFlags` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyFlags` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AssemblyFlags : int { @@ -16,7 +16,7 @@ namespace System WindowsRuntime = 512, } - // Generated from `System.Reflection.AssemblyHashAlgorithm` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyHashAlgorithm` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AssemblyHashAlgorithm : int { MD5 = 32771, @@ -27,7 +27,7 @@ namespace System Sha512 = 32782, } - // Generated from `System.Reflection.DeclarativeSecurityAction` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.DeclarativeSecurityAction` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DeclarativeSecurityAction : short { Assert = 3, @@ -42,7 +42,7 @@ namespace System RequestRefuse = 10, } - // Generated from `System.Reflection.ManifestResourceAttributes` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ManifestResourceAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ManifestResourceAttributes : int { @@ -51,7 +51,7 @@ namespace System VisibilityMask = 7, } - // Generated from `System.Reflection.MethodImportAttributes` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.MethodImportAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MethodImportAttributes : short { @@ -76,7 +76,7 @@ namespace System ThrowOnUnmappableCharMask = 12288, } - // Generated from `System.Reflection.MethodSemanticsAttributes` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.MethodSemanticsAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MethodSemanticsAttributes : int { @@ -90,7 +90,7 @@ namespace System namespace Metadata { - // Generated from `System.Reflection.Metadata.ArrayShape` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ArrayShape` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ArrayShape { // Stub generator skipped constructor @@ -100,7 +100,7 @@ namespace System public System.Collections.Immutable.ImmutableArray Sizes { get => throw null; } } - // Generated from `System.Reflection.Metadata.AssemblyDefinition` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.AssemblyDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyDefinition { // Stub generator skipped constructor @@ -115,7 +115,7 @@ namespace System public System.Version Version { get => throw null; } } - // Generated from `System.Reflection.Metadata.AssemblyDefinitionHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.AssemblyDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.AssemblyDefinitionHandle left, System.Reflection.Metadata.AssemblyDefinitionHandle right) => throw null; @@ -131,7 +131,7 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.AssemblyDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.AssemblyFile` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.AssemblyFile` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyFile { // Stub generator skipped constructor @@ -141,7 +141,7 @@ namespace System public System.Reflection.Metadata.StringHandle Name { get => throw null; } } - // Generated from `System.Reflection.Metadata.AssemblyFileHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.AssemblyFileHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyFileHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.AssemblyFileHandle left, System.Reflection.Metadata.AssemblyFileHandle right) => throw null; @@ -157,10 +157,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.AssemblyFileHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.AssemblyFileHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.AssemblyFileHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyFileHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.AssemblyFileHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.AssemblyFileHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.AssemblyFileHandle Current { get => throw null; } @@ -179,7 +179,7 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.AssemblyReference` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.AssemblyReference` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyReference { // Stub generator skipped constructor @@ -193,7 +193,7 @@ namespace System public System.Version Version { get => throw null; } } - // Generated from `System.Reflection.Metadata.AssemblyReferenceHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.AssemblyReferenceHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyReferenceHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.AssemblyReferenceHandle left, System.Reflection.Metadata.AssemblyReferenceHandle right) => throw null; @@ -209,10 +209,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.AssemblyReferenceHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.AssemblyReferenceHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.AssemblyReferenceHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyReferenceHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.AssemblyReferenceHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.AssemblyReferenceHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.AssemblyReferenceHandle Current { get => throw null; } @@ -231,7 +231,7 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.Blob` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Blob` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Blob { // Stub generator skipped constructor @@ -240,10 +240,10 @@ namespace System public int Length { get => throw null; } } - // Generated from `System.Reflection.Metadata.BlobBuilder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.BlobBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BlobBuilder { - // Generated from `System.Reflection.Metadata.BlobBuilder+Blobs` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.BlobBuilder+Blobs` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Blobs : System.Collections.Generic.IEnumerable, System.Collections.Generic.IEnumerator, System.Collections.IEnumerable, System.Collections.IEnumerator, System.IDisposable { // Stub generator skipped constructor @@ -316,7 +316,7 @@ namespace System public void WriteUserString(string value) => throw null; } - // Generated from `System.Reflection.Metadata.BlobContentId` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.BlobContentId` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BlobContentId : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.BlobContentId left, System.Reflection.Metadata.BlobContentId right) => throw null; @@ -336,7 +336,7 @@ namespace System public System.UInt32 Stamp { get => throw null; } } - // Generated from `System.Reflection.Metadata.BlobHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.BlobHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BlobHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.BlobHandle left, System.Reflection.Metadata.BlobHandle right) => throw null; @@ -350,7 +350,7 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.BlobHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.BlobReader` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.BlobReader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BlobReader { public void Align(System.Byte alignment) => throw null; @@ -395,7 +395,7 @@ namespace System public bool TryReadCompressedSignedInteger(out int value) => throw null; } - // Generated from `System.Reflection.Metadata.BlobWriter` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.BlobWriter` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BlobWriter { public void Align(int alignment) => throw null; @@ -452,7 +452,7 @@ namespace System public void WriteUserString(string value) => throw null; } - // Generated from `System.Reflection.Metadata.Constant` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Constant` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Constant { // Stub generator skipped constructor @@ -461,7 +461,7 @@ namespace System public System.Reflection.Metadata.BlobHandle Value { get => throw null; } } - // Generated from `System.Reflection.Metadata.ConstantHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ConstantHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConstantHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ConstantHandle left, System.Reflection.Metadata.ConstantHandle right) => throw null; @@ -477,7 +477,7 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ConstantHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.ConstantTypeCode` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ConstantTypeCode` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ConstantTypeCode : byte { Boolean = 2, @@ -497,7 +497,7 @@ namespace System UInt64 = 11, } - // Generated from `System.Reflection.Metadata.CustomAttribute` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.CustomAttribute` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttribute { public System.Reflection.Metadata.EntityHandle Constructor { get => throw null; } @@ -507,7 +507,7 @@ namespace System public System.Reflection.Metadata.BlobHandle Value { get => throw null; } } - // Generated from `System.Reflection.Metadata.CustomAttributeHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.CustomAttributeHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.CustomAttributeHandle left, System.Reflection.Metadata.CustomAttributeHandle right) => throw null; @@ -523,10 +523,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.CustomAttributeHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.CustomAttributeHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.CustomAttributeHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.CustomAttributeHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.CustomAttributeHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.CustomAttributeHandle Current { get => throw null; } @@ -545,7 +545,7 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.CustomAttributeNamedArgument<>` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.CustomAttributeNamedArgument<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeNamedArgument { // Stub generator skipped constructor @@ -556,14 +556,14 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.Reflection.Metadata.CustomAttributeNamedArgumentKind` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.CustomAttributeNamedArgumentKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CustomAttributeNamedArgumentKind : byte { Field = 83, Property = 84, } - // Generated from `System.Reflection.Metadata.CustomAttributeTypedArgument<>` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.CustomAttributeTypedArgument<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeTypedArgument { // Stub generator skipped constructor @@ -572,7 +572,7 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.Reflection.Metadata.CustomAttributeValue<>` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.CustomAttributeValue<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeValue { // Stub generator skipped constructor @@ -581,7 +581,7 @@ namespace System public System.Collections.Immutable.ImmutableArray> NamedArguments { get => throw null; } } - // Generated from `System.Reflection.Metadata.CustomDebugInformation` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.CustomDebugInformation` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomDebugInformation { // Stub generator skipped constructor @@ -590,7 +590,7 @@ namespace System public System.Reflection.Metadata.BlobHandle Value { get => throw null; } } - // Generated from `System.Reflection.Metadata.CustomDebugInformationHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.CustomDebugInformationHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomDebugInformationHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.CustomDebugInformationHandle left, System.Reflection.Metadata.CustomDebugInformationHandle right) => throw null; @@ -606,10 +606,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.CustomDebugInformationHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.CustomDebugInformationHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.CustomDebugInformationHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomDebugInformationHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.CustomDebugInformationHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.CustomDebugInformationHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.CustomDebugInformationHandle Current { get => throw null; } @@ -628,7 +628,7 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.DebugMetadataHeader` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.DebugMetadataHeader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebugMetadataHeader { public System.Reflection.Metadata.MethodDefinitionHandle EntryPoint { get => throw null; } @@ -636,7 +636,7 @@ namespace System public int IdStartOffset { get => throw null; } } - // Generated from `System.Reflection.Metadata.DeclarativeSecurityAttribute` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.DeclarativeSecurityAttribute` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DeclarativeSecurityAttribute { public System.Reflection.DeclarativeSecurityAction Action { get => throw null; } @@ -645,7 +645,7 @@ namespace System public System.Reflection.Metadata.BlobHandle PermissionSet { get => throw null; } } - // Generated from `System.Reflection.Metadata.DeclarativeSecurityAttributeHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.DeclarativeSecurityAttributeHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DeclarativeSecurityAttributeHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.DeclarativeSecurityAttributeHandle left, System.Reflection.Metadata.DeclarativeSecurityAttributeHandle right) => throw null; @@ -661,10 +661,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.DeclarativeSecurityAttributeHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.DeclarativeSecurityAttributeHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.DeclarativeSecurityAttributeHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DeclarativeSecurityAttributeHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.DeclarativeSecurityAttributeHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.DeclarativeSecurityAttributeHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.DeclarativeSecurityAttributeHandle Current { get => throw null; } @@ -683,7 +683,7 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.Document` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Document` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Document { // Stub generator skipped constructor @@ -693,7 +693,7 @@ namespace System public System.Reflection.Metadata.DocumentNameBlobHandle Name { get => throw null; } } - // Generated from `System.Reflection.Metadata.DocumentHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.DocumentHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DocumentHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.DocumentHandle left, System.Reflection.Metadata.DocumentHandle right) => throw null; @@ -709,10 +709,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.DocumentHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.DocumentHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.DocumentHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DocumentHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.DocumentHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.DocumentHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.DocumentHandle Current { get => throw null; } @@ -731,7 +731,7 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.DocumentNameBlobHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.DocumentNameBlobHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DocumentNameBlobHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.DocumentNameBlobHandle left, System.Reflection.Metadata.DocumentNameBlobHandle right) => throw null; @@ -745,7 +745,7 @@ namespace System public static implicit operator System.Reflection.Metadata.BlobHandle(System.Reflection.Metadata.DocumentNameBlobHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.EntityHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.EntityHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EntityHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.EntityHandle left, System.Reflection.Metadata.EntityHandle right) => throw null; @@ -762,7 +762,7 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.EntityHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.EventAccessors` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.EventAccessors` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EventAccessors { public System.Reflection.Metadata.MethodDefinitionHandle Adder { get => throw null; } @@ -772,7 +772,7 @@ namespace System public System.Reflection.Metadata.MethodDefinitionHandle Remover { get => throw null; } } - // Generated from `System.Reflection.Metadata.EventDefinition` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.EventDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EventDefinition { public System.Reflection.EventAttributes Attributes { get => throw null; } @@ -783,7 +783,7 @@ namespace System public System.Reflection.Metadata.EntityHandle Type { get => throw null; } } - // Generated from `System.Reflection.Metadata.EventDefinitionHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.EventDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EventDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.EventDefinitionHandle left, System.Reflection.Metadata.EventDefinitionHandle right) => throw null; @@ -799,10 +799,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.EventDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.EventDefinitionHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.EventDefinitionHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EventDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.EventDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.EventDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.EventDefinitionHandle Current { get => throw null; } @@ -821,7 +821,7 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.ExceptionRegion` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ExceptionRegion` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ExceptionRegion { public System.Reflection.Metadata.EntityHandle CatchType { get => throw null; } @@ -834,7 +834,7 @@ namespace System public int TryOffset { get => throw null; } } - // Generated from `System.Reflection.Metadata.ExceptionRegionKind` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ExceptionRegionKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ExceptionRegionKind : ushort { Catch = 0, @@ -843,7 +843,7 @@ namespace System Finally = 2, } - // Generated from `System.Reflection.Metadata.ExportedType` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ExportedType` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ExportedType { public System.Reflection.TypeAttributes Attributes { get => throw null; } @@ -856,7 +856,7 @@ namespace System public System.Reflection.Metadata.NamespaceDefinitionHandle NamespaceDefinition { get => throw null; } } - // Generated from `System.Reflection.Metadata.ExportedTypeHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ExportedTypeHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ExportedTypeHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ExportedTypeHandle left, System.Reflection.Metadata.ExportedTypeHandle right) => throw null; @@ -872,10 +872,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ExportedTypeHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.ExportedTypeHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ExportedTypeHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ExportedTypeHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.ExportedTypeHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ExportedTypeHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.ExportedTypeHandle Current { get => throw null; } @@ -894,7 +894,7 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.FieldDefinition` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.FieldDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FieldDefinition { public System.Reflection.FieldAttributes Attributes { get => throw null; } @@ -910,7 +910,7 @@ namespace System public System.Reflection.Metadata.BlobHandle Signature { get => throw null; } } - // Generated from `System.Reflection.Metadata.FieldDefinitionHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.FieldDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FieldDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.FieldDefinitionHandle left, System.Reflection.Metadata.FieldDefinitionHandle right) => throw null; @@ -926,10 +926,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.FieldDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.FieldDefinitionHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.FieldDefinitionHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FieldDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.FieldDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.FieldDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.FieldDefinitionHandle Current { get => throw null; } @@ -948,7 +948,7 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.GenericParameter` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.GenericParameter` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericParameter { public System.Reflection.GenericParameterAttributes Attributes { get => throw null; } @@ -960,7 +960,7 @@ namespace System public System.Reflection.Metadata.EntityHandle Parent { get => throw null; } } - // Generated from `System.Reflection.Metadata.GenericParameterConstraint` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.GenericParameterConstraint` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericParameterConstraint { // Stub generator skipped constructor @@ -969,7 +969,7 @@ namespace System public System.Reflection.Metadata.EntityHandle Type { get => throw null; } } - // Generated from `System.Reflection.Metadata.GenericParameterConstraintHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.GenericParameterConstraintHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericParameterConstraintHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.GenericParameterConstraintHandle left, System.Reflection.Metadata.GenericParameterConstraintHandle right) => throw null; @@ -985,10 +985,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.GenericParameterConstraintHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.GenericParameterConstraintHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.GenericParameterConstraintHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericParameterConstraintHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.GenericParameterConstraintHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.GenericParameterConstraintHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.GenericParameterConstraintHandle Current { get => throw null; } @@ -1008,7 +1008,7 @@ namespace System public System.Reflection.Metadata.GenericParameterConstraintHandle this[int index] { get => throw null; } } - // Generated from `System.Reflection.Metadata.GenericParameterHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.GenericParameterHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericParameterHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.GenericParameterHandle left, System.Reflection.Metadata.GenericParameterHandle right) => throw null; @@ -1024,10 +1024,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.GenericParameterHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.GenericParameterHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.GenericParameterHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericParameterHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.GenericParameterHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.GenericParameterHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.GenericParameterHandle Current { get => throw null; } @@ -1047,7 +1047,7 @@ namespace System public System.Reflection.Metadata.GenericParameterHandle this[int index] { get => throw null; } } - // Generated from `System.Reflection.Metadata.GuidHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.GuidHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GuidHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.GuidHandle left, System.Reflection.Metadata.GuidHandle right) => throw null; @@ -1061,7 +1061,7 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.GuidHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.Handle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Handle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Handle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.Handle left, System.Reflection.Metadata.Handle right) => throw null; @@ -1076,7 +1076,7 @@ namespace System public static System.Reflection.Metadata.ModuleDefinitionHandle ModuleDefinition; } - // Generated from `System.Reflection.Metadata.HandleComparer` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.HandleComparer` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HandleComparer : System.Collections.Generic.IComparer, System.Collections.Generic.IComparer, System.Collections.Generic.IEqualityComparer, System.Collections.Generic.IEqualityComparer { public int Compare(System.Reflection.Metadata.EntityHandle x, System.Reflection.Metadata.EntityHandle y) => throw null; @@ -1088,7 +1088,7 @@ namespace System public int GetHashCode(System.Reflection.Metadata.Handle obj) => throw null; } - // Generated from `System.Reflection.Metadata.HandleKind` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.HandleKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HandleKind : byte { AssemblyDefinition = 32, @@ -1130,7 +1130,7 @@ namespace System UserString = 112, } - // Generated from `System.Reflection.Metadata.IConstructedTypeProvider<>` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.IConstructedTypeProvider<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IConstructedTypeProvider : System.Reflection.Metadata.ISZArrayTypeProvider { TType GetArrayType(TType elementType, System.Reflection.Metadata.ArrayShape shape); @@ -1139,7 +1139,7 @@ namespace System TType GetPointerType(TType elementType); } - // Generated from `System.Reflection.Metadata.ICustomAttributeTypeProvider<>` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ICustomAttributeTypeProvider<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomAttributeTypeProvider : System.Reflection.Metadata.ISZArrayTypeProvider, System.Reflection.Metadata.ISimpleTypeProvider { TType GetSystemType(); @@ -1148,7 +1148,7 @@ namespace System bool IsSystemType(TType type); } - // Generated from `System.Reflection.Metadata.ILOpCode` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ILOpCode` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ILOpCode : ushort { Add = 88, @@ -1371,7 +1371,7 @@ namespace System Xor = 97, } - // Generated from `System.Reflection.Metadata.ILOpCodeExtensions` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ILOpCodeExtensions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ILOpCodeExtensions { public static int GetBranchOperandSize(this System.Reflection.Metadata.ILOpCode opCode) => throw null; @@ -1380,13 +1380,13 @@ namespace System public static bool IsBranch(this System.Reflection.Metadata.ILOpCode opCode) => throw null; } - // Generated from `System.Reflection.Metadata.ISZArrayTypeProvider<>` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ISZArrayTypeProvider<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISZArrayTypeProvider { TType GetSZArrayType(TType elementType); } - // Generated from `System.Reflection.Metadata.ISignatureTypeProvider<,>` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ISignatureTypeProvider<,>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISignatureTypeProvider : System.Reflection.Metadata.IConstructedTypeProvider, System.Reflection.Metadata.ISZArrayTypeProvider, System.Reflection.Metadata.ISimpleTypeProvider { TType GetFunctionPointerType(System.Reflection.Metadata.MethodSignature signature); @@ -1397,7 +1397,7 @@ namespace System TType GetTypeFromSpecification(System.Reflection.Metadata.MetadataReader reader, TGenericContext genericContext, System.Reflection.Metadata.TypeSpecificationHandle handle, System.Byte rawTypeKind); } - // Generated from `System.Reflection.Metadata.ISimpleTypeProvider<>` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ISimpleTypeProvider<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISimpleTypeProvider { TType GetPrimitiveType(System.Reflection.Metadata.PrimitiveTypeCode typeCode); @@ -1405,7 +1405,7 @@ namespace System TType GetTypeFromReference(System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.TypeReferenceHandle handle, System.Byte rawTypeKind); } - // Generated from `System.Reflection.Metadata.ImageFormatLimitationException` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ImageFormatLimitationException` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImageFormatLimitationException : System.Exception { public ImageFormatLimitationException() => throw null; @@ -1414,7 +1414,7 @@ namespace System public ImageFormatLimitationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Reflection.Metadata.ImportDefinition` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ImportDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ImportDefinition { public System.Reflection.Metadata.BlobHandle Alias { get => throw null; } @@ -1425,10 +1425,10 @@ namespace System public System.Reflection.Metadata.EntityHandle TargetType { get => throw null; } } - // Generated from `System.Reflection.Metadata.ImportDefinitionCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ImportDefinitionCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ImportDefinitionCollection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.ImportDefinitionCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ImportDefinitionCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.ImportDefinition Current { get => throw null; } @@ -1446,7 +1446,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.ImportDefinitionKind` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ImportDefinitionKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ImportDefinitionKind : int { AliasAssemblyNamespace = 8, @@ -1460,7 +1460,7 @@ namespace System ImportXmlNamespace = 4, } - // Generated from `System.Reflection.Metadata.ImportScope` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ImportScope` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ImportScope { public System.Reflection.Metadata.ImportDefinitionCollection GetImports() => throw null; @@ -1469,10 +1469,10 @@ namespace System public System.Reflection.Metadata.ImportScopeHandle Parent { get => throw null; } } - // Generated from `System.Reflection.Metadata.ImportScopeCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ImportScopeCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ImportScopeCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.ImportScopeCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ImportScopeCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.ImportScopeHandle Current { get => throw null; } @@ -1491,7 +1491,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.ImportScopeHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ImportScopeHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ImportScopeHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ImportScopeHandle left, System.Reflection.Metadata.ImportScopeHandle right) => throw null; @@ -1507,7 +1507,7 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ImportScopeHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.InterfaceImplementation` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.InterfaceImplementation` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct InterfaceImplementation { public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() => throw null; @@ -1515,7 +1515,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.InterfaceImplementationHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.InterfaceImplementationHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct InterfaceImplementationHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.InterfaceImplementationHandle left, System.Reflection.Metadata.InterfaceImplementationHandle right) => throw null; @@ -1531,10 +1531,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.InterfaceImplementationHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.InterfaceImplementationHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.InterfaceImplementationHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct InterfaceImplementationHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.InterfaceImplementationHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.InterfaceImplementationHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.InterfaceImplementationHandle Current { get => throw null; } @@ -1553,7 +1553,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.LocalConstant` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalConstant` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalConstant { // Stub generator skipped constructor @@ -1561,7 +1561,7 @@ namespace System public System.Reflection.Metadata.BlobHandle Signature { get => throw null; } } - // Generated from `System.Reflection.Metadata.LocalConstantHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalConstantHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalConstantHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.LocalConstantHandle left, System.Reflection.Metadata.LocalConstantHandle right) => throw null; @@ -1577,10 +1577,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.LocalConstantHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.LocalConstantHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalConstantHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalConstantHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.LocalConstantHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalConstantHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.LocalConstantHandle Current { get => throw null; } @@ -1599,7 +1599,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.LocalScope` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalScope` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalScope { public int EndOffset { get => throw null; } @@ -1613,7 +1613,7 @@ namespace System public int StartOffset { get => throw null; } } - // Generated from `System.Reflection.Metadata.LocalScopeHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalScopeHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalScopeHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.LocalScopeHandle left, System.Reflection.Metadata.LocalScopeHandle right) => throw null; @@ -1629,10 +1629,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.LocalScopeHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.LocalScopeHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalScopeHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalScopeHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.LocalScopeHandleCollection+ChildrenEnumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalScopeHandleCollection+ChildrenEnumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ChildrenEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { // Stub generator skipped constructor @@ -1644,7 +1644,7 @@ namespace System } - // Generated from `System.Reflection.Metadata.LocalScopeHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalScopeHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.LocalScopeHandle Current { get => throw null; } @@ -1663,7 +1663,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.LocalVariable` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalVariable` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalVariable { public System.Reflection.Metadata.LocalVariableAttributes Attributes { get => throw null; } @@ -1672,7 +1672,7 @@ namespace System public System.Reflection.Metadata.StringHandle Name { get => throw null; } } - // Generated from `System.Reflection.Metadata.LocalVariableAttributes` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalVariableAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum LocalVariableAttributes : int { @@ -1680,7 +1680,7 @@ namespace System None = 0, } - // Generated from `System.Reflection.Metadata.LocalVariableHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalVariableHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalVariableHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.LocalVariableHandle left, System.Reflection.Metadata.LocalVariableHandle right) => throw null; @@ -1696,10 +1696,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.LocalVariableHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.LocalVariableHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalVariableHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalVariableHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.LocalVariableHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.LocalVariableHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.LocalVariableHandle Current { get => throw null; } @@ -1718,7 +1718,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.ManifestResource` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ManifestResource` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManifestResource { public System.Reflection.ManifestResourceAttributes Attributes { get => throw null; } @@ -1729,7 +1729,7 @@ namespace System public System.Int64 Offset { get => throw null; } } - // Generated from `System.Reflection.Metadata.ManifestResourceHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ManifestResourceHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManifestResourceHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ManifestResourceHandle left, System.Reflection.Metadata.ManifestResourceHandle right) => throw null; @@ -1745,10 +1745,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ManifestResourceHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.ManifestResourceHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ManifestResourceHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManifestResourceHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.ManifestResourceHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ManifestResourceHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.ManifestResourceHandle Current { get => throw null; } @@ -1767,7 +1767,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.MemberReference` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MemberReference` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MemberReference { public TType DecodeFieldSignature(System.Reflection.Metadata.ISignatureTypeProvider provider, TGenericContext genericContext) => throw null; @@ -1780,7 +1780,7 @@ namespace System public System.Reflection.Metadata.BlobHandle Signature { get => throw null; } } - // Generated from `System.Reflection.Metadata.MemberReferenceHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MemberReferenceHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MemberReferenceHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.MemberReferenceHandle left, System.Reflection.Metadata.MemberReferenceHandle right) => throw null; @@ -1796,10 +1796,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.MemberReferenceHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.MemberReferenceHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MemberReferenceHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MemberReferenceHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.MemberReferenceHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MemberReferenceHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.MemberReferenceHandle Current { get => throw null; } @@ -1818,14 +1818,14 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.MemberReferenceKind` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MemberReferenceKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MemberReferenceKind : int { Field = 1, Method = 0, } - // Generated from `System.Reflection.Metadata.MetadataKind` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MetadataKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MetadataKind : int { Ecma335 = 0, @@ -1833,7 +1833,7 @@ namespace System WindowsMetadata = 1, } - // Generated from `System.Reflection.Metadata.MetadataReader` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MetadataReader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataReader { public System.Reflection.Metadata.AssemblyFileHandleCollection AssemblyFiles { get => throw null; } @@ -1848,6 +1848,7 @@ namespace System public System.Reflection.Metadata.FieldDefinitionHandleCollection FieldDefinitions { get => throw null; } public System.Reflection.Metadata.AssemblyDefinition GetAssemblyDefinition() => throw null; public System.Reflection.Metadata.AssemblyFile GetAssemblyFile(System.Reflection.Metadata.AssemblyFileHandle handle) => throw null; + public static System.Reflection.AssemblyName GetAssemblyName(string assemblyFile) => throw null; public System.Reflection.Metadata.AssemblyReference GetAssemblyReference(System.Reflection.Metadata.AssemblyReferenceHandle handle) => throw null; public System.Byte[] GetBlobBytes(System.Reflection.Metadata.BlobHandle handle) => throw null; public System.Collections.Immutable.ImmutableArray GetBlobContent(System.Reflection.Metadata.BlobHandle handle) => throw null; @@ -1918,7 +1919,7 @@ namespace System public System.Reflection.Metadata.MetadataStringDecoder UTF8Decoder { get => throw null; } } - // Generated from `System.Reflection.Metadata.MetadataReaderOptions` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MetadataReaderOptions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MetadataReaderOptions : int { @@ -1927,7 +1928,7 @@ namespace System None = 0, } - // Generated from `System.Reflection.Metadata.MetadataReaderProvider` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MetadataReaderProvider` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataReaderProvider : System.IDisposable { public void Dispose() => throw null; @@ -1940,7 +1941,7 @@ namespace System public System.Reflection.Metadata.MetadataReader GetMetadataReader(System.Reflection.Metadata.MetadataReaderOptions options = default(System.Reflection.Metadata.MetadataReaderOptions), System.Reflection.Metadata.MetadataStringDecoder utf8Decoder = default(System.Reflection.Metadata.MetadataStringDecoder)) => throw null; } - // Generated from `System.Reflection.Metadata.MetadataStreamOptions` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MetadataStreamOptions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MetadataStreamOptions : int { @@ -1949,7 +1950,7 @@ namespace System PrefetchMetadata = 2, } - // Generated from `System.Reflection.Metadata.MetadataStringComparer` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MetadataStringComparer` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MetadataStringComparer { public bool Equals(System.Reflection.Metadata.DocumentNameBlobHandle handle, string value) => throw null; @@ -1963,7 +1964,7 @@ namespace System public bool StartsWith(System.Reflection.Metadata.StringHandle handle, string value, bool ignoreCase) => throw null; } - // Generated from `System.Reflection.Metadata.MetadataStringDecoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MetadataStringDecoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataStringDecoder { public static System.Reflection.Metadata.MetadataStringDecoder DefaultUTF8 { get => throw null; } @@ -1972,7 +1973,7 @@ namespace System public MetadataStringDecoder(System.Text.Encoding encoding) => throw null; } - // Generated from `System.Reflection.Metadata.MethodBodyBlock` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodBodyBlock` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MethodBodyBlock { public static System.Reflection.Metadata.MethodBodyBlock Create(System.Reflection.Metadata.BlobReader reader) => throw null; @@ -1986,7 +1987,7 @@ namespace System public int Size { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodDebugInformation` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodDebugInformation` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodDebugInformation { public System.Reflection.Metadata.DocumentHandle Document { get => throw null; } @@ -1997,7 +1998,7 @@ namespace System public System.Reflection.Metadata.BlobHandle SequencePointsBlob { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodDebugInformationHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodDebugInformationHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodDebugInformationHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.MethodDebugInformationHandle left, System.Reflection.Metadata.MethodDebugInformationHandle right) => throw null; @@ -2014,10 +2015,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.MethodDebugInformationHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.MethodDebugInformationHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodDebugInformationHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodDebugInformationHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.MethodDebugInformationHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodDebugInformationHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.MethodDebugInformationHandle Current { get => throw null; } @@ -2036,7 +2037,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.MethodDefinition` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodDefinition { public System.Reflection.MethodAttributes Attributes { get => throw null; } @@ -2054,7 +2055,7 @@ namespace System public System.Reflection.Metadata.BlobHandle Signature { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodDefinitionHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.MethodDefinitionHandle left, System.Reflection.Metadata.MethodDefinitionHandle right) => throw null; @@ -2071,10 +2072,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.MethodDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.MethodDefinitionHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodDefinitionHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.MethodDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.MethodDefinitionHandle Current { get => throw null; } @@ -2093,7 +2094,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.MethodImplementation` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodImplementation` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodImplementation { public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() => throw null; @@ -2103,7 +2104,7 @@ namespace System public System.Reflection.Metadata.TypeDefinitionHandle Type { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodImplementationHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodImplementationHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodImplementationHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.MethodImplementationHandle left, System.Reflection.Metadata.MethodImplementationHandle right) => throw null; @@ -2119,10 +2120,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.MethodImplementationHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.MethodImplementationHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodImplementationHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodImplementationHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.MethodImplementationHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodImplementationHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.MethodImplementationHandle Current { get => throw null; } @@ -2141,7 +2142,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.MethodImport` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodImport` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodImport { public System.Reflection.MethodImportAttributes Attributes { get => throw null; } @@ -2150,7 +2151,7 @@ namespace System public System.Reflection.Metadata.StringHandle Name { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodSignature<>` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodSignature<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodSignature { public int GenericParameterCount { get => throw null; } @@ -2162,7 +2163,7 @@ namespace System public TType ReturnType { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodSpecification` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodSpecification` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodSpecification { public System.Collections.Immutable.ImmutableArray DecodeSignature(System.Reflection.Metadata.ISignatureTypeProvider provider, TGenericContext genericContext) => throw null; @@ -2172,7 +2173,7 @@ namespace System public System.Reflection.Metadata.BlobHandle Signature { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodSpecificationHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MethodSpecificationHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodSpecificationHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.MethodSpecificationHandle left, System.Reflection.Metadata.MethodSpecificationHandle right) => throw null; @@ -2188,7 +2189,7 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.MethodSpecificationHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.ModuleDefinition` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ModuleDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ModuleDefinition { public System.Reflection.Metadata.GuidHandle BaseGenerationId { get => throw null; } @@ -2200,7 +2201,7 @@ namespace System public System.Reflection.Metadata.StringHandle Name { get => throw null; } } - // Generated from `System.Reflection.Metadata.ModuleDefinitionHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ModuleDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ModuleDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ModuleDefinitionHandle left, System.Reflection.Metadata.ModuleDefinitionHandle right) => throw null; @@ -2216,7 +2217,7 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ModuleDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.ModuleReference` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ModuleReference` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ModuleReference { public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() => throw null; @@ -2224,7 +2225,7 @@ namespace System public System.Reflection.Metadata.StringHandle Name { get => throw null; } } - // Generated from `System.Reflection.Metadata.ModuleReferenceHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ModuleReferenceHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ModuleReferenceHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ModuleReferenceHandle left, System.Reflection.Metadata.ModuleReferenceHandle right) => throw null; @@ -2240,7 +2241,7 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ModuleReferenceHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.NamespaceDefinition` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.NamespaceDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct NamespaceDefinition { public System.Collections.Immutable.ImmutableArray ExportedTypes { get => throw null; } @@ -2251,7 +2252,7 @@ namespace System public System.Collections.Immutable.ImmutableArray TypeDefinitions { get => throw null; } } - // Generated from `System.Reflection.Metadata.NamespaceDefinitionHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.NamespaceDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct NamespaceDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.NamespaceDefinitionHandle left, System.Reflection.Metadata.NamespaceDefinitionHandle right) => throw null; @@ -2265,7 +2266,7 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.NamespaceDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.PEReaderExtensions` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.PEReaderExtensions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class PEReaderExtensions { public static System.Reflection.Metadata.MetadataReader GetMetadataReader(this System.Reflection.PortableExecutable.PEReader peReader) => throw null; @@ -2274,7 +2275,7 @@ namespace System public static System.Reflection.Metadata.MethodBodyBlock GetMethodBody(this System.Reflection.PortableExecutable.PEReader peReader, int relativeVirtualAddress) => throw null; } - // Generated from `System.Reflection.Metadata.Parameter` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Parameter` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Parameter { public System.Reflection.ParameterAttributes Attributes { get => throw null; } @@ -2286,7 +2287,7 @@ namespace System public int SequenceNumber { get => throw null; } } - // Generated from `System.Reflection.Metadata.ParameterHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ParameterHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ParameterHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ParameterHandle left, System.Reflection.Metadata.ParameterHandle right) => throw null; @@ -2302,10 +2303,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ParameterHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.ParameterHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ParameterHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ParameterHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.ParameterHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ParameterHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.ParameterHandle Current { get => throw null; } @@ -2324,7 +2325,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.PrimitiveSerializationTypeCode` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.PrimitiveSerializationTypeCode` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PrimitiveSerializationTypeCode : byte { Boolean = 2, @@ -2342,7 +2343,7 @@ namespace System UInt64 = 11, } - // Generated from `System.Reflection.Metadata.PrimitiveTypeCode` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.PrimitiveTypeCode` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PrimitiveTypeCode : byte { Boolean = 2, @@ -2365,7 +2366,7 @@ namespace System Void = 1, } - // Generated from `System.Reflection.Metadata.PropertyAccessors` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.PropertyAccessors` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PropertyAccessors { public System.Reflection.Metadata.MethodDefinitionHandle Getter { get => throw null; } @@ -2374,7 +2375,7 @@ namespace System public System.Reflection.Metadata.MethodDefinitionHandle Setter { get => throw null; } } - // Generated from `System.Reflection.Metadata.PropertyDefinition` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.PropertyDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PropertyDefinition { public System.Reflection.PropertyAttributes Attributes { get => throw null; } @@ -2387,7 +2388,7 @@ namespace System public System.Reflection.Metadata.BlobHandle Signature { get => throw null; } } - // Generated from `System.Reflection.Metadata.PropertyDefinitionHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.PropertyDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PropertyDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.PropertyDefinitionHandle left, System.Reflection.Metadata.PropertyDefinitionHandle right) => throw null; @@ -2403,10 +2404,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.PropertyDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.PropertyDefinitionHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.PropertyDefinitionHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PropertyDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.PropertyDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.PropertyDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.PropertyDefinitionHandle Current { get => throw null; } @@ -2425,7 +2426,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.ReservedBlob<>` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.ReservedBlob<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ReservedBlob where THandle : struct { public System.Reflection.Metadata.Blob Content { get => throw null; } @@ -2434,7 +2435,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.SequencePoint` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.SequencePoint` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SequencePoint : System.IEquatable { public System.Reflection.Metadata.DocumentHandle Document { get => throw null; } @@ -2451,10 +2452,10 @@ namespace System public int StartLine { get => throw null; } } - // Generated from `System.Reflection.Metadata.SequencePointCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.SequencePointCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SequencePointCollection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.SequencePointCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.SequencePointCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.SequencePoint Current { get => throw null; } @@ -2472,7 +2473,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.SerializationTypeCode` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.SerializationTypeCode` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SerializationTypeCode : byte { Boolean = 2, @@ -2495,7 +2496,7 @@ namespace System UInt64 = 11, } - // Generated from `System.Reflection.Metadata.SignatureAttributes` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.SignatureAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SignatureAttributes : byte { @@ -2505,7 +2506,7 @@ namespace System None = 0, } - // Generated from `System.Reflection.Metadata.SignatureCallingConvention` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.SignatureCallingConvention` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SignatureCallingConvention : byte { CDecl = 1, @@ -2517,7 +2518,7 @@ namespace System VarArgs = 5, } - // Generated from `System.Reflection.Metadata.SignatureHeader` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.SignatureHeader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SignatureHeader : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.SignatureHeader left, System.Reflection.Metadata.SignatureHeader right) => throw null; @@ -2539,7 +2540,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.Metadata.SignatureKind` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.SignatureKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SignatureKind : byte { Field = 6, @@ -2549,7 +2550,7 @@ namespace System Property = 8, } - // Generated from `System.Reflection.Metadata.SignatureTypeCode` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.SignatureTypeCode` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SignatureTypeCode : byte { Array = 20, @@ -2586,7 +2587,7 @@ namespace System Void = 1, } - // Generated from `System.Reflection.Metadata.SignatureTypeKind` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.SignatureTypeKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SignatureTypeKind : byte { Class = 18, @@ -2594,7 +2595,7 @@ namespace System ValueType = 17, } - // Generated from `System.Reflection.Metadata.StandaloneSignature` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.StandaloneSignature` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct StandaloneSignature { public System.Collections.Immutable.ImmutableArray DecodeLocalSignature(System.Reflection.Metadata.ISignatureTypeProvider provider, TGenericContext genericContext) => throw null; @@ -2605,7 +2606,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.StandaloneSignatureHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.StandaloneSignatureHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct StandaloneSignatureHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.StandaloneSignatureHandle left, System.Reflection.Metadata.StandaloneSignatureHandle right) => throw null; @@ -2621,14 +2622,14 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.StandaloneSignatureHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.StandaloneSignatureKind` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.StandaloneSignatureKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum StandaloneSignatureKind : int { LocalVariables = 1, Method = 0, } - // Generated from `System.Reflection.Metadata.StringHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.StringHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct StringHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.StringHandle left, System.Reflection.Metadata.StringHandle right) => throw null; @@ -2642,7 +2643,7 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.StringHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.TypeDefinition` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.TypeDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeDefinition { public System.Reflection.TypeAttributes Attributes { get => throw null; } @@ -2666,7 +2667,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.TypeDefinitionHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.TypeDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.TypeDefinitionHandle left, System.Reflection.Metadata.TypeDefinitionHandle right) => throw null; @@ -2682,10 +2683,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.TypeDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.TypeDefinitionHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.TypeDefinitionHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.TypeDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.TypeDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.TypeDefinitionHandle Current { get => throw null; } @@ -2704,7 +2705,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.TypeLayout` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.TypeLayout` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeLayout { public bool IsDefault { get => throw null; } @@ -2714,7 +2715,7 @@ namespace System public TypeLayout(int size, int packingSize) => throw null; } - // Generated from `System.Reflection.Metadata.TypeReference` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.TypeReference` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeReference { public System.Reflection.Metadata.StringHandle Name { get => throw null; } @@ -2723,7 +2724,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.TypeReferenceHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.TypeReferenceHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeReferenceHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.TypeReferenceHandle left, System.Reflection.Metadata.TypeReferenceHandle right) => throw null; @@ -2739,10 +2740,10 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.TypeReferenceHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.TypeReferenceHandleCollection` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.TypeReferenceHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeReferenceHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.TypeReferenceHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.TypeReferenceHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.TypeReferenceHandle Current { get => throw null; } @@ -2761,7 +2762,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.TypeSpecification` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.TypeSpecification` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeSpecification { public TType DecodeSignature(System.Reflection.Metadata.ISignatureTypeProvider provider, TGenericContext genericContext) => throw null; @@ -2770,7 +2771,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.TypeSpecificationHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.TypeSpecificationHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeSpecificationHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.TypeSpecificationHandle left, System.Reflection.Metadata.TypeSpecificationHandle right) => throw null; @@ -2786,7 +2787,7 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.TypeSpecificationHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.UserStringHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.UserStringHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct UserStringHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.UserStringHandle left, System.Reflection.Metadata.UserStringHandle right) => throw null; @@ -2802,7 +2803,7 @@ namespace System namespace Ecma335 { - // Generated from `System.Reflection.Metadata.Ecma335.ArrayShapeEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.ArrayShapeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ArrayShapeEncoder { // Stub generator skipped constructor @@ -2811,7 +2812,7 @@ namespace System public void Shape(int rank, System.Collections.Immutable.ImmutableArray sizes, System.Collections.Immutable.ImmutableArray lowerBounds) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.BlobEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.BlobEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BlobEncoder { // Stub generator skipped constructor @@ -2819,6 +2820,7 @@ namespace System public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } public void CustomAttributeSignature(System.Action fixedArguments, System.Action namedArguments) => throw null; public void CustomAttributeSignature(out System.Reflection.Metadata.Ecma335.FixedArgumentsEncoder fixedArguments, out System.Reflection.Metadata.Ecma335.CustomAttributeNamedArgumentsEncoder namedArguments) => throw null; + public System.Reflection.Metadata.Ecma335.FieldTypeEncoder Field() => throw null; public System.Reflection.Metadata.Ecma335.SignatureTypeEncoder FieldSignature() => throw null; public System.Reflection.Metadata.Ecma335.LocalVariablesEncoder LocalVariableSignature(int variableCount) => throw null; public System.Reflection.Metadata.Ecma335.MethodSignatureEncoder MethodSignature(System.Reflection.Metadata.SignatureCallingConvention convention = default(System.Reflection.Metadata.SignatureCallingConvention), int genericParameterCount = default(int), bool isInstanceMethod = default(bool)) => throw null; @@ -2829,7 +2831,7 @@ namespace System public System.Reflection.Metadata.Ecma335.SignatureTypeEncoder TypeSpecificationSignature() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.CodedIndex` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.CodedIndex` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CodedIndex { public static int CustomAttributeType(System.Reflection.Metadata.EntityHandle handle) => throw null; @@ -2849,17 +2851,18 @@ namespace System public static int TypeOrMethodDef(System.Reflection.Metadata.EntityHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.ControlFlowBuilder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.ControlFlowBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ControlFlowBuilder { public void AddCatchRegion(System.Reflection.Metadata.Ecma335.LabelHandle tryStart, System.Reflection.Metadata.Ecma335.LabelHandle tryEnd, System.Reflection.Metadata.Ecma335.LabelHandle handlerStart, System.Reflection.Metadata.Ecma335.LabelHandle handlerEnd, System.Reflection.Metadata.EntityHandle catchType) => throw null; public void AddFaultRegion(System.Reflection.Metadata.Ecma335.LabelHandle tryStart, System.Reflection.Metadata.Ecma335.LabelHandle tryEnd, System.Reflection.Metadata.Ecma335.LabelHandle handlerStart, System.Reflection.Metadata.Ecma335.LabelHandle handlerEnd) => throw null; public void AddFilterRegion(System.Reflection.Metadata.Ecma335.LabelHandle tryStart, System.Reflection.Metadata.Ecma335.LabelHandle tryEnd, System.Reflection.Metadata.Ecma335.LabelHandle handlerStart, System.Reflection.Metadata.Ecma335.LabelHandle handlerEnd, System.Reflection.Metadata.Ecma335.LabelHandle filterStart) => throw null; public void AddFinallyRegion(System.Reflection.Metadata.Ecma335.LabelHandle tryStart, System.Reflection.Metadata.Ecma335.LabelHandle tryEnd, System.Reflection.Metadata.Ecma335.LabelHandle handlerStart, System.Reflection.Metadata.Ecma335.LabelHandle handlerEnd) => throw null; + public void Clear() => throw null; public ControlFlowBuilder() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.CustomAttributeArrayTypeEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.CustomAttributeArrayTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeArrayTypeEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -2869,7 +2872,7 @@ namespace System public void ObjectArray() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeElementTypeEncoder { public void Boolean() => throw null; @@ -2893,7 +2896,7 @@ namespace System public void UInt64() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.CustomAttributeNamedArgumentsEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.CustomAttributeNamedArgumentsEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeNamedArgumentsEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -2902,7 +2905,7 @@ namespace System public CustomAttributeNamedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.CustomModifiersEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.CustomModifiersEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomModifiersEncoder { public System.Reflection.Metadata.Ecma335.CustomModifiersEncoder AddModifier(System.Reflection.Metadata.EntityHandle type, bool isOptional) => throw null; @@ -2911,7 +2914,7 @@ namespace System public CustomModifiersEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.EditAndContinueLogEntry` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.EditAndContinueLogEntry` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EditAndContinueLogEntry : System.IEquatable { // Stub generator skipped constructor @@ -2923,7 +2926,7 @@ namespace System public System.Reflection.Metadata.Ecma335.EditAndContinueOperation Operation { get => throw null; } } - // Generated from `System.Reflection.Metadata.Ecma335.EditAndContinueOperation` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.EditAndContinueOperation` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EditAndContinueOperation : int { AddEvent = 5, @@ -2934,7 +2937,7 @@ namespace System Default = 0, } - // Generated from `System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ExceptionRegionEncoder { public System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder Add(System.Reflection.Metadata.ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, System.Reflection.Metadata.EntityHandle catchType = default(System.Reflection.Metadata.EntityHandle), int filterOffset = default(int)) => throw null; @@ -2949,13 +2952,24 @@ namespace System public static bool IsSmallRegionCount(int exceptionRegionCount) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.ExportedTypeExtensions` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.ExportedTypeExtensions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ExportedTypeExtensions { public static int GetTypeDefinitionId(this System.Reflection.Metadata.ExportedType exportedType) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.FixedArgumentsEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.FieldTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct FieldTypeEncoder + { + public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } + public System.Reflection.Metadata.Ecma335.CustomModifiersEncoder CustomModifiers() => throw null; + // Stub generator skipped constructor + public FieldTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; + public System.Reflection.Metadata.Ecma335.SignatureTypeEncoder Type(bool isByRef = default(bool)) => throw null; + public void TypedReference() => throw null; + } + + // Generated from `System.Reflection.Metadata.Ecma335.FixedArgumentsEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FixedArgumentsEncoder { public System.Reflection.Metadata.Ecma335.LiteralEncoder AddArgument() => throw null; @@ -2964,7 +2978,7 @@ namespace System public FixedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.FunctionPointerAttributes` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.FunctionPointerAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FunctionPointerAttributes : int { HasExplicitThis = 96, @@ -2972,7 +2986,7 @@ namespace System None = 0, } - // Generated from `System.Reflection.Metadata.Ecma335.GenericTypeArgumentsEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.GenericTypeArgumentsEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericTypeArgumentsEncoder { public System.Reflection.Metadata.Ecma335.SignatureTypeEncoder AddArgument() => throw null; @@ -2981,7 +2995,7 @@ namespace System public GenericTypeArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.HeapIndex` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.HeapIndex` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HeapIndex : int { Blob = 2, @@ -2990,7 +3004,7 @@ namespace System UserString = 0, } - // Generated from `System.Reflection.Metadata.Ecma335.InstructionEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.InstructionEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct InstructionEncoder { public void Branch(System.Reflection.Metadata.ILOpCode code, System.Reflection.Metadata.Ecma335.LabelHandle label) => throw null; @@ -3022,7 +3036,7 @@ namespace System public void Token(int token) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.LabelHandle` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.LabelHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LabelHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.Ecma335.LabelHandle left, System.Reflection.Metadata.Ecma335.LabelHandle right) => throw null; @@ -3035,7 +3049,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.Ecma335.LiteralEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.LiteralEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LiteralEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3049,7 +3063,7 @@ namespace System public System.Reflection.Metadata.Ecma335.VectorEncoder Vector() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.LiteralsEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.LiteralsEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LiteralsEncoder { public System.Reflection.Metadata.Ecma335.LiteralEncoder AddLiteral() => throw null; @@ -3058,7 +3072,7 @@ namespace System public LiteralsEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.LocalVariableTypeEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.LocalVariableTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalVariableTypeEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3069,7 +3083,7 @@ namespace System public void TypedReference() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.LocalVariablesEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.LocalVariablesEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalVariablesEncoder { public System.Reflection.Metadata.Ecma335.LocalVariableTypeEncoder AddVariable() => throw null; @@ -3078,7 +3092,7 @@ namespace System public LocalVariablesEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.MetadataAggregator` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.MetadataAggregator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataAggregator { public System.Reflection.Metadata.Handle GetGenerationHandle(System.Reflection.Metadata.Handle handle, out int generation) => throw null; @@ -3086,7 +3100,7 @@ namespace System public MetadataAggregator(System.Reflection.Metadata.MetadataReader baseReader, System.Collections.Generic.IReadOnlyList deltaReaders) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.MetadataBuilder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.MetadataBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataBuilder { public System.Reflection.Metadata.AssemblyDefinitionHandle AddAssembly(System.Reflection.Metadata.StringHandle name, System.Version version, System.Reflection.Metadata.StringHandle culture, System.Reflection.Metadata.BlobHandle publicKey, System.Reflection.AssemblyFlags flags, System.Reflection.AssemblyHashAlgorithm hashAlgorithm) => throw null; @@ -3152,7 +3166,7 @@ namespace System public void SetCapacity(System.Reflection.Metadata.Ecma335.TableIndex table, int rowCount) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.MetadataReaderExtensions` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.MetadataReaderExtensions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class MetadataReaderExtensions { public static System.Collections.Generic.IEnumerable GetEditAndContinueLogEntries(this System.Reflection.Metadata.MetadataReader reader) => throw null; @@ -3170,7 +3184,7 @@ namespace System public static System.Reflection.Metadata.SignatureTypeKind ResolveSignatureTypeKind(this System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.EntityHandle typeHandle, System.Byte rawTypeKind) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.MetadataRootBuilder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.MetadataRootBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataRootBuilder { public MetadataRootBuilder(System.Reflection.Metadata.Ecma335.MetadataBuilder tablesAndHeaps, string metadataVersion = default(string), bool suppressValidation = default(bool)) => throw null; @@ -3180,7 +3194,7 @@ namespace System public bool SuppressValidation { get => throw null; } } - // Generated from `System.Reflection.Metadata.Ecma335.MetadataSizes` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.MetadataSizes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataSizes { public System.Collections.Immutable.ImmutableArray ExternalRowCounts { get => throw null; } @@ -3189,7 +3203,7 @@ namespace System public System.Collections.Immutable.ImmutableArray RowCounts { get => throw null; } } - // Generated from `System.Reflection.Metadata.Ecma335.MetadataTokens` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.MetadataTokens` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class MetadataTokens { public static System.Reflection.Metadata.AssemblyFileHandle AssemblyFileHandle(int rowNumber) => throw null; @@ -3249,7 +3263,7 @@ namespace System public static System.Reflection.Metadata.UserStringHandle UserStringHandle(int offset) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.MethodBodyAttributes` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.MethodBodyAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MethodBodyAttributes : int { @@ -3257,10 +3271,10 @@ namespace System None = 0, } - // Generated from `System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodBodyStreamEncoder { - // Generated from `System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder+MethodBody` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder+MethodBody` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodBody { public System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder ExceptionRegions { get => throw null; } @@ -3279,7 +3293,7 @@ namespace System public MethodBodyStreamEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.MethodSignatureEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.MethodSignatureEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodSignatureEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3290,7 +3304,7 @@ namespace System public void Parameters(int parameterCount, out System.Reflection.Metadata.Ecma335.ReturnTypeEncoder returnType, out System.Reflection.Metadata.Ecma335.ParametersEncoder parameters) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.NameEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.NameEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct NameEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3299,7 +3313,7 @@ namespace System public NameEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.NamedArgumentTypeEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.NamedArgumentTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct NamedArgumentTypeEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3310,7 +3324,7 @@ namespace System public System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder ScalarType() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.NamedArgumentsEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.NamedArgumentsEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct NamedArgumentsEncoder { public void AddArgument(bool isField, System.Action type, System.Action name, System.Action literal) => throw null; @@ -3320,7 +3334,7 @@ namespace System public NamedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.ParameterTypeEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.ParameterTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ParameterTypeEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3331,7 +3345,7 @@ namespace System public void TypedReference() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.ParametersEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.ParametersEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ParametersEncoder { public System.Reflection.Metadata.Ecma335.ParameterTypeEncoder AddParameter() => throw null; @@ -3342,7 +3356,7 @@ namespace System public System.Reflection.Metadata.Ecma335.ParametersEncoder StartVarArgs() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.PermissionSetEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.PermissionSetEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PermissionSetEncoder { public System.Reflection.Metadata.Ecma335.PermissionSetEncoder AddPermission(string typeName, System.Reflection.Metadata.BlobBuilder encodedArguments) => throw null; @@ -3352,7 +3366,7 @@ namespace System public PermissionSetEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.PortablePdbBuilder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.PortablePdbBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PortablePdbBuilder { public System.UInt16 FormatVersion { get => throw null; } @@ -3362,7 +3376,7 @@ namespace System public System.Reflection.Metadata.BlobContentId Serialize(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.ReturnTypeEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.ReturnTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ReturnTypeEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3374,7 +3388,7 @@ namespace System public void Void() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.ScalarEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.ScalarEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ScalarEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3385,7 +3399,7 @@ namespace System public void SystemType(string serializedTypeName) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.SignatureDecoder<,>` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.SignatureDecoder<,>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SignatureDecoder { public TType DecodeFieldSignature(ref System.Reflection.Metadata.BlobReader blobReader) => throw null; @@ -3397,7 +3411,7 @@ namespace System public SignatureDecoder(System.Reflection.Metadata.ISignatureTypeProvider provider, System.Reflection.Metadata.MetadataReader metadataReader, TGenericContext genericContext) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.SignatureTypeEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.SignatureTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SignatureTypeEncoder { public void Array(System.Action elementType, System.Action arrayShape) => throw null; @@ -3433,7 +3447,7 @@ namespace System public void VoidPointer() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.TableIndex` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.TableIndex` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TableIndex : byte { Assembly = 32, @@ -3491,7 +3505,7 @@ namespace System TypeSpec = 27, } - // Generated from `System.Reflection.Metadata.Ecma335.VectorEncoder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.Ecma335.VectorEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct VectorEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3504,7 +3518,7 @@ namespace System } namespace PortableExecutable { - // Generated from `System.Reflection.PortableExecutable.Characteristics` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.Characteristics` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum Characteristics : ushort { @@ -3525,7 +3539,7 @@ namespace System UpSystemOnly = 16384, } - // Generated from `System.Reflection.PortableExecutable.CodeViewDebugDirectoryData` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.CodeViewDebugDirectoryData` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CodeViewDebugDirectoryData { public int Age { get => throw null; } @@ -3534,7 +3548,7 @@ namespace System public string Path { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.CoffHeader` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.CoffHeader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CoffHeader { public System.Reflection.PortableExecutable.Characteristics Characteristics { get => throw null; } @@ -3546,7 +3560,7 @@ namespace System public int TimeDateStamp { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.CorFlags` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.CorFlags` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CorFlags : int { @@ -3559,7 +3573,7 @@ namespace System TrackDebugData = 65536, } - // Generated from `System.Reflection.PortableExecutable.CorHeader` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.CorHeader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CorHeader { public System.Reflection.PortableExecutable.DirectoryEntry CodeManagerTableDirectory { get => throw null; } @@ -3575,7 +3589,7 @@ namespace System public System.Reflection.PortableExecutable.DirectoryEntry VtableFixupsDirectory { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.DebugDirectoryBuilder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.DebugDirectoryBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebugDirectoryBuilder { public void AddCodeViewEntry(string pdbPath, System.Reflection.Metadata.BlobContentId pdbContentId, System.UInt16 portablePdbVersion) => throw null; @@ -3588,7 +3602,7 @@ namespace System public DebugDirectoryBuilder() => throw null; } - // Generated from `System.Reflection.PortableExecutable.DebugDirectoryEntry` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.DebugDirectoryEntry` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DebugDirectoryEntry { public int DataPointer { get => throw null; } @@ -3603,7 +3617,7 @@ namespace System public System.Reflection.PortableExecutable.DebugDirectoryEntryType Type { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.DebugDirectoryEntryType` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.DebugDirectoryEntryType` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DebugDirectoryEntryType : int { CodeView = 2, @@ -3614,7 +3628,7 @@ namespace System Unknown = 0, } - // Generated from `System.Reflection.PortableExecutable.DirectoryEntry` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.DirectoryEntry` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DirectoryEntry { // Stub generator skipped constructor @@ -3623,7 +3637,7 @@ namespace System public int Size; } - // Generated from `System.Reflection.PortableExecutable.DllCharacteristics` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.DllCharacteristics` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DllCharacteristics : ushort { @@ -3642,7 +3656,7 @@ namespace System WdmDriver = 8192, } - // Generated from `System.Reflection.PortableExecutable.Machine` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.Machine` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum Machine : ushort { AM33 = 467, @@ -3655,6 +3669,8 @@ namespace System Ebc = 3772, I386 = 332, IA64 = 512, + LoongArch32 = 25138, + LoongArch64 = 25188, M32R = 36929, MIPS16 = 614, MipsFpu = 870, @@ -3672,7 +3688,7 @@ namespace System WceMipsV2 = 361, } - // Generated from `System.Reflection.PortableExecutable.ManagedPEBuilder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.ManagedPEBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ManagedPEBuilder : System.Reflection.PortableExecutable.PEBuilder { protected override System.Collections.Immutable.ImmutableArray CreateSections() => throw null; @@ -3684,10 +3700,10 @@ namespace System public void Sign(System.Reflection.Metadata.BlobBuilder peImage, System.Func, System.Byte[]> signatureProvider) => throw null; } - // Generated from `System.Reflection.PortableExecutable.PEBuilder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.PEBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class PEBuilder { - // Generated from `System.Reflection.PortableExecutable.PEBuilder+Section` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.PEBuilder+Section` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` protected struct Section { public System.Reflection.PortableExecutable.SectionCharacteristics Characteristics; @@ -3708,7 +3724,7 @@ namespace System protected abstract System.Reflection.Metadata.BlobBuilder SerializeSection(string name, System.Reflection.PortableExecutable.SectionLocation location); } - // Generated from `System.Reflection.PortableExecutable.PEDirectoriesBuilder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.PEDirectoriesBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PEDirectoriesBuilder { public int AddressOfEntryPoint { get => throw null; set => throw null; } @@ -3729,7 +3745,7 @@ namespace System public System.Reflection.PortableExecutable.DirectoryEntry ThreadLocalStorageTable { get => throw null; set => throw null; } } - // Generated from `System.Reflection.PortableExecutable.PEHeader` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.PEHeader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PEHeader { public int AddressOfEntryPoint { get => throw null; } @@ -3777,7 +3793,7 @@ namespace System public System.Reflection.PortableExecutable.DirectoryEntry ThreadLocalStorageTableDirectory { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.PEHeaderBuilder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.PEHeaderBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PEHeaderBuilder { public static System.Reflection.PortableExecutable.PEHeaderBuilder CreateExecutableHeader() => throw null; @@ -3804,7 +3820,7 @@ namespace System public System.Reflection.PortableExecutable.Subsystem Subsystem { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.PEHeaders` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.PEHeaders` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PEHeaders { public System.Reflection.PortableExecutable.CoffHeader CoffHeader { get => throw null; } @@ -3827,14 +3843,14 @@ namespace System public bool TryGetDirectoryOffset(System.Reflection.PortableExecutable.DirectoryEntry directory, out int offset) => throw null; } - // Generated from `System.Reflection.PortableExecutable.PEMagic` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.PEMagic` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PEMagic : ushort { PE32 = 267, PE32Plus = 523, } - // Generated from `System.Reflection.PortableExecutable.PEMemoryBlock` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.PEMemoryBlock` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PEMemoryBlock { public System.Collections.Immutable.ImmutableArray GetContent() => throw null; @@ -3846,7 +3862,7 @@ namespace System unsafe public System.Byte* Pointer { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.PEReader` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.PEReader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PEReader : System.IDisposable { public void Dispose() => throw null; @@ -3871,7 +3887,7 @@ namespace System public bool TryOpenAssociatedPortablePdb(string peImagePath, System.Func pdbFileStreamProvider, out System.Reflection.Metadata.MetadataReaderProvider pdbReaderProvider, out string pdbPath) => throw null; } - // Generated from `System.Reflection.PortableExecutable.PEStreamOptions` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.PEStreamOptions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PEStreamOptions : int { @@ -3882,7 +3898,7 @@ namespace System PrefetchMetadata = 2, } - // Generated from `System.Reflection.PortableExecutable.PdbChecksumDebugDirectoryData` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.PdbChecksumDebugDirectoryData` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PdbChecksumDebugDirectoryData { public string AlgorithmName { get => throw null; } @@ -3890,14 +3906,14 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.PortableExecutable.ResourceSectionBuilder` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.ResourceSectionBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ResourceSectionBuilder { protected ResourceSectionBuilder() => throw null; protected internal abstract void Serialize(System.Reflection.Metadata.BlobBuilder builder, System.Reflection.PortableExecutable.SectionLocation location); } - // Generated from `System.Reflection.PortableExecutable.SectionCharacteristics` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.SectionCharacteristics` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SectionCharacteristics : uint { @@ -3949,7 +3965,7 @@ namespace System TypeReg = 0, } - // Generated from `System.Reflection.PortableExecutable.SectionHeader` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.SectionHeader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SectionHeader { public string Name { get => throw null; } @@ -3965,7 +3981,7 @@ namespace System public int VirtualSize { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.SectionLocation` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.SectionLocation` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SectionLocation { public int PointerToRawData { get => throw null; } @@ -3974,7 +3990,7 @@ namespace System public SectionLocation(int relativeVirtualAddress, int pointerToRawData) => throw null; } - // Generated from `System.Reflection.PortableExecutable.Subsystem` in `System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutable.Subsystem` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum Subsystem : ushort { EfiApplication = 10, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Primitives.cs index b2015a66eb6..a6ce4962794 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Primitives.cs @@ -6,7 +6,7 @@ namespace System { namespace Emit { - // Generated from `System.Reflection.Emit.FlowControl` in `System.Reflection.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.FlowControl` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FlowControl : int { Branch = 0, @@ -20,7 +20,7 @@ namespace System Throw = 8, } - // Generated from `System.Reflection.Emit.OpCode` in `System.Reflection.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.OpCode` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct OpCode : System.IEquatable { public static bool operator !=(System.Reflection.Emit.OpCode a, System.Reflection.Emit.OpCode b) => throw null; @@ -40,7 +40,7 @@ namespace System public System.Int16 Value { get => throw null; } } - // Generated from `System.Reflection.Emit.OpCodeType` in `System.Reflection.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.OpCodeType` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OpCodeType : int { Annotation = 0, @@ -51,7 +51,7 @@ namespace System Primitive = 5, } - // Generated from `System.Reflection.Emit.OpCodes` in `System.Reflection.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.OpCodes` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OpCodes { public static System.Reflection.Emit.OpCode Add; @@ -283,7 +283,7 @@ namespace System public static System.Reflection.Emit.OpCode Xor; } - // Generated from `System.Reflection.Emit.OperandType` in `System.Reflection.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.OperandType` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OperandType : int { InlineBrTarget = 0, @@ -306,7 +306,7 @@ namespace System ShortInlineVar = 18, } - // Generated from `System.Reflection.Emit.PackingSize` in `System.Reflection.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.PackingSize` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PackingSize : int { Size1 = 1, @@ -320,7 +320,7 @@ namespace System Unspecified = 0, } - // Generated from `System.Reflection.Emit.StackBehaviour` in `System.Reflection.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Emit.StackBehaviour` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum StackBehaviour : int { Pop0 = 0, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.TypeExtensions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.TypeExtensions.cs index 189c23a12d2..e9ae25ca17f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.TypeExtensions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.TypeExtensions.cs @@ -4,7 +4,7 @@ namespace System { namespace Reflection { - // Generated from `System.Reflection.AssemblyExtensions` in `System.Reflection.TypeExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class AssemblyExtensions { public static System.Type[] GetExportedTypes(this System.Reflection.Assembly assembly) => throw null; @@ -12,7 +12,7 @@ namespace System public static System.Type[] GetTypes(this System.Reflection.Assembly assembly) => throw null; } - // Generated from `System.Reflection.EventInfoExtensions` in `System.Reflection.TypeExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.EventInfoExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class EventInfoExtensions { public static System.Reflection.MethodInfo GetAddMethod(this System.Reflection.EventInfo eventInfo) => throw null; @@ -23,27 +23,27 @@ namespace System public static System.Reflection.MethodInfo GetRemoveMethod(this System.Reflection.EventInfo eventInfo, bool nonPublic) => throw null; } - // Generated from `System.Reflection.MemberInfoExtensions` in `System.Reflection.TypeExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.MemberInfoExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class MemberInfoExtensions { public static int GetMetadataToken(this System.Reflection.MemberInfo member) => throw null; public static bool HasMetadataToken(this System.Reflection.MemberInfo member) => throw null; } - // Generated from `System.Reflection.MethodInfoExtensions` in `System.Reflection.TypeExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.MethodInfoExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class MethodInfoExtensions { public static System.Reflection.MethodInfo GetBaseDefinition(this System.Reflection.MethodInfo method) => throw null; } - // Generated from `System.Reflection.ModuleExtensions` in `System.Reflection.TypeExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ModuleExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ModuleExtensions { public static System.Guid GetModuleVersionId(this System.Reflection.Module module) => throw null; public static bool HasModuleVersionId(this System.Reflection.Module module) => throw null; } - // Generated from `System.Reflection.PropertyInfoExtensions` in `System.Reflection.TypeExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PropertyInfoExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class PropertyInfoExtensions { public static System.Reflection.MethodInfo[] GetAccessors(this System.Reflection.PropertyInfo property) => throw null; @@ -54,7 +54,7 @@ namespace System public static System.Reflection.MethodInfo GetSetMethod(this System.Reflection.PropertyInfo property, bool nonPublic) => throw null; } - // Generated from `System.Reflection.TypeExtensions` in `System.Reflection.TypeExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.TypeExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class TypeExtensions { public static System.Reflection.ConstructorInfo GetConstructor(this System.Type type, System.Type[] types) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Resources.Writer.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Resources.Writer.cs index de557c77d72..d96259b0e3b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Resources.Writer.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Resources.Writer.cs @@ -4,7 +4,7 @@ namespace System { namespace Resources { - // Generated from `System.Resources.IResourceWriter` in `System.Resources.Writer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Resources.IResourceWriter` in `System.Resources.Writer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IResourceWriter : System.IDisposable { void AddResource(string name, System.Byte[] value); @@ -14,7 +14,7 @@ namespace System void Generate(); } - // Generated from `System.Resources.ResourceWriter` in `System.Resources.Writer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Resources.ResourceWriter` in `System.Resources.Writer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResourceWriter : System.IDisposable, System.Resources.IResourceWriter { public void AddResource(string name, System.Byte[] value) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.CompilerServices.Unsafe.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.CompilerServices.Unsafe.cs deleted file mode 100644 index c49f38162ed..00000000000 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.CompilerServices.Unsafe.cs +++ /dev/null @@ -1,58 +0,0 @@ -// This file contains auto-generated code. - -namespace System -{ - namespace Runtime - { - namespace CompilerServices - { - // Generated from `System.Runtime.CompilerServices.Unsafe` in `System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public static class Unsafe - { - unsafe public static void* Add(void* source, int elementOffset) => throw null; - public static T Add(ref T source, System.IntPtr elementOffset) => throw null; - public static T Add(ref T source, System.UIntPtr elementOffset) => throw null; - public static T Add(ref T source, int elementOffset) => throw null; - public static T AddByteOffset(ref T source, System.IntPtr byteOffset) => throw null; - public static T AddByteOffset(ref T source, System.UIntPtr byteOffset) => throw null; - public static bool AreSame(ref T left, ref T right) => throw null; - public static T As(object o) where T : class => throw null; - public static TTo As(ref TFrom source) => throw null; - unsafe public static void* AsPointer(ref T value) => throw null; - public static T AsRef(T source) => throw null; - unsafe public static T AsRef(void* source) => throw null; - public static System.IntPtr ByteOffset(ref T origin, ref T target) => throw null; - unsafe public static void Copy(void* destination, ref T source) => throw null; - unsafe public static void Copy(ref T destination, void* source) => throw null; - unsafe public static void CopyBlock(void* destination, void* source, System.UInt32 byteCount) => throw null; - public static void CopyBlock(ref System.Byte destination, ref System.Byte source, System.UInt32 byteCount) => throw null; - unsafe public static void CopyBlockUnaligned(void* destination, void* source, System.UInt32 byteCount) => throw null; - public static void CopyBlockUnaligned(ref System.Byte destination, ref System.Byte source, System.UInt32 byteCount) => throw null; - unsafe public static void InitBlock(void* startAddress, System.Byte value, System.UInt32 byteCount) => throw null; - public static void InitBlock(ref System.Byte startAddress, System.Byte value, System.UInt32 byteCount) => throw null; - unsafe public static void InitBlockUnaligned(void* startAddress, System.Byte value, System.UInt32 byteCount) => throw null; - public static void InitBlockUnaligned(ref System.Byte startAddress, System.Byte value, System.UInt32 byteCount) => throw null; - public static bool IsAddressGreaterThan(ref T left, ref T right) => throw null; - public static bool IsAddressLessThan(ref T left, ref T right) => throw null; - public static bool IsNullRef(ref T source) => throw null; - public static T NullRef() => throw null; - unsafe public static T Read(void* source) => throw null; - unsafe public static T ReadUnaligned(void* source) => throw null; - public static T ReadUnaligned(ref System.Byte source) => throw null; - public static int SizeOf() => throw null; - public static void SkipInit(out T value) => throw null; - unsafe public static void* Subtract(void* source, int elementOffset) => throw null; - public static T Subtract(ref T source, System.IntPtr elementOffset) => throw null; - public static T Subtract(ref T source, System.UIntPtr elementOffset) => throw null; - public static T Subtract(ref T source, int elementOffset) => throw null; - public static T SubtractByteOffset(ref T source, System.IntPtr byteOffset) => throw null; - public static T SubtractByteOffset(ref T source, System.UIntPtr byteOffset) => throw null; - public static T Unbox(object box) where T : struct => throw null; - unsafe public static void Write(void* destination, T value) => throw null; - unsafe public static void WriteUnaligned(void* destination, T value) => throw null; - public static void WriteUnaligned(ref System.Byte destination, T value) => throw null; - } - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.CompilerServices.VisualC.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.CompilerServices.VisualC.cs index 6a1548143be..1dc9253fbd4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.CompilerServices.VisualC.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.CompilerServices.VisualC.cs @@ -6,87 +6,87 @@ namespace System { namespace CompilerServices { - // Generated from `System.Runtime.CompilerServices.CompilerMarshalOverride` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CompilerMarshalOverride` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CompilerMarshalOverride { } - // Generated from `System.Runtime.CompilerServices.CppInlineNamespaceAttribute` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CppInlineNamespaceAttribute` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CppInlineNamespaceAttribute : System.Attribute { public CppInlineNamespaceAttribute(string dottedName) => throw null; } - // Generated from `System.Runtime.CompilerServices.HasCopySemanticsAttribute` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.HasCopySemanticsAttribute` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HasCopySemanticsAttribute : System.Attribute { public HasCopySemanticsAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.IsBoxed` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsBoxed` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsBoxed { } - // Generated from `System.Runtime.CompilerServices.IsByValue` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsByValue` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsByValue { } - // Generated from `System.Runtime.CompilerServices.IsCopyConstructed` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsCopyConstructed` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsCopyConstructed { } - // Generated from `System.Runtime.CompilerServices.IsExplicitlyDereferenced` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsExplicitlyDereferenced` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsExplicitlyDereferenced { } - // Generated from `System.Runtime.CompilerServices.IsImplicitlyDereferenced` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsImplicitlyDereferenced` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsImplicitlyDereferenced { } - // Generated from `System.Runtime.CompilerServices.IsJitIntrinsic` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsJitIntrinsic` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsJitIntrinsic { } - // Generated from `System.Runtime.CompilerServices.IsLong` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsLong` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsLong { } - // Generated from `System.Runtime.CompilerServices.IsPinned` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsPinned` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsPinned { } - // Generated from `System.Runtime.CompilerServices.IsSignUnspecifiedByte` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsSignUnspecifiedByte` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsSignUnspecifiedByte { } - // Generated from `System.Runtime.CompilerServices.IsUdtReturn` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsUdtReturn` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsUdtReturn { } - // Generated from `System.Runtime.CompilerServices.NativeCppClassAttribute` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.NativeCppClassAttribute` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NativeCppClassAttribute : System.Attribute { public NativeCppClassAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.RequiredAttributeAttribute` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.RequiredAttributeAttribute` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RequiredAttributeAttribute : System.Attribute { public RequiredAttributeAttribute(System.Type requiredContract) => throw null; public System.Type RequiredContract { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.ScopelessEnumAttribute` in `System.Runtime.CompilerServices.VisualC, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ScopelessEnumAttribute` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ScopelessEnumAttribute : System.Attribute { public ScopelessEnumAttribute() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.JavaScript.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.JavaScript.cs new file mode 100644 index 00000000000..72c77bed0da --- /dev/null +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.JavaScript.cs @@ -0,0 +1,347 @@ +// This file contains auto-generated code. + +namespace System +{ + namespace Runtime + { + namespace InteropServices + { + namespace JavaScript + { + // Generated from `System.Runtime.InteropServices.JavaScript.JSException` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class JSException : System.Exception + { + public JSException(string msg) => throw null; + } + + // Generated from `System.Runtime.InteropServices.JavaScript.JSExportAttribute` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class JSExportAttribute : System.Attribute + { + public JSExportAttribute() => throw null; + } + + // Generated from `System.Runtime.InteropServices.JavaScript.JSFunctionBinding` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class JSFunctionBinding + { + public static System.Runtime.InteropServices.JavaScript.JSFunctionBinding BindJSFunction(string functionName, string moduleName, System.ReadOnlySpan signatures) => throw null; + public static System.Runtime.InteropServices.JavaScript.JSFunctionBinding BindManagedFunction(string fullyQualifiedName, int signatureHash, System.ReadOnlySpan signatures) => throw null; + public static void InvokeJS(System.Runtime.InteropServices.JavaScript.JSFunctionBinding signature, System.Span arguments) => throw null; + public JSFunctionBinding() => throw null; + } + + // Generated from `System.Runtime.InteropServices.JavaScript.JSHost` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class JSHost + { + public static System.Runtime.InteropServices.JavaScript.JSObject DotnetInstance { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSObject GlobalThis { get => throw null; } + public static System.Threading.Tasks.Task ImportAsync(string moduleName, string moduleUrl, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + + // Generated from `System.Runtime.InteropServices.JavaScript.JSImportAttribute` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class JSImportAttribute : System.Attribute + { + public string FunctionName { get => throw null; } + public JSImportAttribute(string functionName) => throw null; + public JSImportAttribute(string functionName, string moduleName) => throw null; + public string ModuleName { get => throw null; } + } + + // Generated from `System.Runtime.InteropServices.JavaScript.JSMarshalAsAttribute<>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class JSMarshalAsAttribute : System.Attribute where T : System.Runtime.InteropServices.JavaScript.JSType + { + public JSMarshalAsAttribute() => throw null; + } + + // Generated from `System.Runtime.InteropServices.JavaScript.JSMarshalerArgument` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct JSMarshalerArgument + { + // Generated from `System.Runtime.InteropServices.JavaScript.JSMarshalerArgument+ArgumentToJSCallback<>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public delegate void ArgumentToJSCallback(ref System.Runtime.InteropServices.JavaScript.JSMarshalerArgument arg, T value); + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSMarshalerArgument+ArgumentToManagedCallback<>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public delegate void ArgumentToManagedCallback(ref System.Runtime.InteropServices.JavaScript.JSMarshalerArgument arg, out T value); + + + public void Initialize() => throw null; + // Stub generator skipped constructor + public void ToJS(System.Action value) => throw null; + public void ToJS(System.ArraySegment value) => throw null; + public void ToJS(System.ArraySegment value) => throw null; + public void ToJS(System.ArraySegment value) => throw null; + public void ToJS(System.Byte[] value) => throw null; + public void ToJS(System.DateTime value) => throw null; + public void ToJS(System.DateTime? value) => throw null; + public void ToJS(System.DateTimeOffset value) => throw null; + public void ToJS(System.DateTimeOffset? value) => throw null; + public void ToJS(double[] value) => throw null; + public void ToJS(System.Exception value) => throw null; + public void ToJS(int[] value) => throw null; + public void ToJS(System.IntPtr value) => throw null; + public void ToJS(System.IntPtr? value) => throw null; + public void ToJS(System.Runtime.InteropServices.JavaScript.JSObject value) => throw null; + public void ToJS(System.Runtime.InteropServices.JavaScript.JSObject[] value) => throw null; + public void ToJS(object[] value) => throw null; + public void ToJS(System.Span value) => throw null; + public void ToJS(System.Span value) => throw null; + public void ToJS(System.Span value) => throw null; + public void ToJS(string[] value) => throw null; + public void ToJS(System.Threading.Tasks.Task value) => throw null; + unsafe public void ToJS(void* value) => throw null; + public void ToJS(bool value) => throw null; + public void ToJS(bool? value) => throw null; + public void ToJS(System.Byte value) => throw null; + public void ToJS(System.Byte? value) => throw null; + public void ToJS(System.Char value) => throw null; + public void ToJS(System.Char? value) => throw null; + public void ToJS(double value) => throw null; + public void ToJS(double? value) => throw null; + public void ToJS(float value) => throw null; + public void ToJS(float? value) => throw null; + public void ToJS(int value) => throw null; + public void ToJS(int? value) => throw null; + public void ToJS(System.Int64 value) => throw null; + public void ToJS(System.Int64? value) => throw null; + public void ToJS(object value) => throw null; + public void ToJS(System.Int16 value) => throw null; + public void ToJS(System.Int16? value) => throw null; + public void ToJS(string value) => throw null; + public void ToJS(System.Func value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback arg1Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback resMarshaler) => throw null; + public void ToJS(System.Func value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback arg1Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback arg2Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback arg3Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback resMarshaler) => throw null; + public void ToJS(System.Action value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback arg1Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback arg2Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback arg3Marshaler) => throw null; + public void ToJS(System.Func value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback arg1Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback arg2Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback resMarshaler) => throw null; + public void ToJS(System.Action value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback arg1Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback arg2Marshaler) => throw null; + public void ToJS(System.Action value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback arg1Marshaler) => throw null; + public void ToJS(System.Threading.Tasks.Task value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback marshaler) => throw null; + public void ToJS(System.Func value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback resMarshaler) => throw null; + public void ToJSBig(System.Int64 value) => throw null; + public void ToJSBig(System.Int64? value) => throw null; + public void ToManaged(out System.Action value) => throw null; + public void ToManaged(out System.ArraySegment value) => throw null; + public void ToManaged(out System.ArraySegment value) => throw null; + public void ToManaged(out System.ArraySegment value) => throw null; + public void ToManaged(out System.Byte[] value) => throw null; + public void ToManaged(out System.DateTime value) => throw null; + public void ToManaged(out System.DateTime? value) => throw null; + public void ToManaged(out System.DateTimeOffset value) => throw null; + public void ToManaged(out System.DateTimeOffset? value) => throw null; + public void ToManaged(out double[] value) => throw null; + public void ToManaged(out System.Exception value) => throw null; + public void ToManaged(out int[] value) => throw null; + public void ToManaged(out System.IntPtr value) => throw null; + public void ToManaged(out System.IntPtr? value) => throw null; + public void ToManaged(out System.Runtime.InteropServices.JavaScript.JSObject value) => throw null; + public void ToManaged(out System.Runtime.InteropServices.JavaScript.JSObject[] value) => throw null; + public void ToManaged(out object[] value) => throw null; + public void ToManaged(out System.Span value) => throw null; + public void ToManaged(out System.Span value) => throw null; + public void ToManaged(out System.Span value) => throw null; + public void ToManaged(out string[] value) => throw null; + public void ToManaged(out System.Threading.Tasks.Task value) => throw null; + unsafe public void ToManaged(out void* value) => throw null; + public void ToManaged(out bool value) => throw null; + public void ToManaged(out bool? value) => throw null; + public void ToManaged(out System.Byte value) => throw null; + public void ToManaged(out System.Byte? value) => throw null; + public void ToManaged(out System.Char value) => throw null; + public void ToManaged(out System.Char? value) => throw null; + public void ToManaged(out double value) => throw null; + public void ToManaged(out double? value) => throw null; + public void ToManaged(out float value) => throw null; + public void ToManaged(out float? value) => throw null; + public void ToManaged(out int value) => throw null; + public void ToManaged(out int? value) => throw null; + public void ToManaged(out System.Int64 value) => throw null; + public void ToManaged(out System.Int64? value) => throw null; + public void ToManaged(out object value) => throw null; + public void ToManaged(out System.Int16 value) => throw null; + public void ToManaged(out System.Int16? value) => throw null; + public void ToManaged(out string value) => throw null; + public void ToManaged(out System.Func value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback arg1Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback resMarshaler) => throw null; + public void ToManaged(out System.Func value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback arg1Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback arg2Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback arg3Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback resMarshaler) => throw null; + public void ToManaged(out System.Action value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback arg1Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback arg2Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback arg3Marshaler) => throw null; + public void ToManaged(out System.Func value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback arg1Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback arg2Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback resMarshaler) => throw null; + public void ToManaged(out System.Action value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback arg1Marshaler, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback arg2Marshaler) => throw null; + public void ToManaged(out System.Action value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToJSCallback arg1Marshaler) => throw null; + public void ToManaged(out System.Threading.Tasks.Task value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback marshaler) => throw null; + public void ToManaged(out System.Func value, System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ArgumentToManagedCallback resMarshaler) => throw null; + public void ToManagedBig(out System.Int64 value) => throw null; + public void ToManagedBig(out System.Int64? value) => throw null; + } + + // Generated from `System.Runtime.InteropServices.JavaScript.JSMarshalerType` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class JSMarshalerType + { + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Action() => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Action(System.Runtime.InteropServices.JavaScript.JSMarshalerType arg1) => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Action(System.Runtime.InteropServices.JavaScript.JSMarshalerType arg1, System.Runtime.InteropServices.JavaScript.JSMarshalerType arg2) => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Action(System.Runtime.InteropServices.JavaScript.JSMarshalerType arg1, System.Runtime.InteropServices.JavaScript.JSMarshalerType arg2, System.Runtime.InteropServices.JavaScript.JSMarshalerType arg3) => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Array(System.Runtime.InteropServices.JavaScript.JSMarshalerType element) => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType ArraySegment(System.Runtime.InteropServices.JavaScript.JSMarshalerType element) => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType BigInt64 { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Boolean { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Byte { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Char { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType DateTime { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType DateTimeOffset { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Discard { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Double { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Exception { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Function(System.Runtime.InteropServices.JavaScript.JSMarshalerType result) => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Function(System.Runtime.InteropServices.JavaScript.JSMarshalerType arg1, System.Runtime.InteropServices.JavaScript.JSMarshalerType result) => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Function(System.Runtime.InteropServices.JavaScript.JSMarshalerType arg1, System.Runtime.InteropServices.JavaScript.JSMarshalerType arg2, System.Runtime.InteropServices.JavaScript.JSMarshalerType result) => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Function(System.Runtime.InteropServices.JavaScript.JSMarshalerType arg1, System.Runtime.InteropServices.JavaScript.JSMarshalerType arg2, System.Runtime.InteropServices.JavaScript.JSMarshalerType arg3, System.Runtime.InteropServices.JavaScript.JSMarshalerType result) => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Int16 { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Int32 { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Int52 { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType IntPtr { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType JSObject { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Nullable(System.Runtime.InteropServices.JavaScript.JSMarshalerType primitive) => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Object { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Single { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Span(System.Runtime.InteropServices.JavaScript.JSMarshalerType element) => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType String { get => throw null; } + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Task() => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Task(System.Runtime.InteropServices.JavaScript.JSMarshalerType result) => throw null; + public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Void { get => throw null; } + } + + // Generated from `System.Runtime.InteropServices.JavaScript.JSObject` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class JSObject : System.IDisposable + { + public void Dispose() => throw null; + public bool GetPropertyAsBoolean(string propertyName) => throw null; + public System.Byte[] GetPropertyAsByteArray(string propertyName) => throw null; + public double GetPropertyAsDouble(string propertyName) => throw null; + public int GetPropertyAsInt32(string propertyName) => throw null; + public System.Runtime.InteropServices.JavaScript.JSObject GetPropertyAsJSObject(string propertyName) => throw null; + public string GetPropertyAsString(string propertyName) => throw null; + public string GetTypeOfProperty(string propertyName) => throw null; + public bool HasProperty(string propertyName) => throw null; + public bool IsDisposed { get => throw null; } + public void SetProperty(string propertyName, System.Byte[] value) => throw null; + public void SetProperty(string propertyName, System.Runtime.InteropServices.JavaScript.JSObject value) => throw null; + public void SetProperty(string propertyName, bool value) => throw null; + public void SetProperty(string propertyName, double value) => throw null; + public void SetProperty(string propertyName, int value) => throw null; + public void SetProperty(string propertyName, string value) => throw null; + } + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class JSType + { + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Any` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Any : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Array<>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Array : System.Runtime.InteropServices.JavaScript.JSType where T : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+BigInt` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class BigInt : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Boolean` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Boolean : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Date` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Date : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Discard` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Discard : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Error` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Error : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Function` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Function : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Function<,,,>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Function : System.Runtime.InteropServices.JavaScript.JSType where T1 : System.Runtime.InteropServices.JavaScript.JSType where T2 : System.Runtime.InteropServices.JavaScript.JSType where T3 : System.Runtime.InteropServices.JavaScript.JSType where T4 : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Function<,,>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Function : System.Runtime.InteropServices.JavaScript.JSType where T1 : System.Runtime.InteropServices.JavaScript.JSType where T2 : System.Runtime.InteropServices.JavaScript.JSType where T3 : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Function<,>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Function : System.Runtime.InteropServices.JavaScript.JSType where T1 : System.Runtime.InteropServices.JavaScript.JSType where T2 : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Function<>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Function : System.Runtime.InteropServices.JavaScript.JSType where T : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+MemoryView` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class MemoryView : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Number` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Number : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Object` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Object : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Promise<>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Promise : System.Runtime.InteropServices.JavaScript.JSType where T : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+String` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class String : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Void` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Void : System.Runtime.InteropServices.JavaScript.JSType + { + } + + + internal JSType() => throw null; + } + + } + } + } +} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.RuntimeInformation.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.RuntimeInformation.cs deleted file mode 100644 index 1e3c126f61b..00000000000 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.RuntimeInformation.cs +++ /dev/null @@ -1,50 +0,0 @@ -// This file contains auto-generated code. - -namespace System -{ - namespace Runtime - { - namespace InteropServices - { - // Generated from `System.Runtime.InteropServices.Architecture` in `System.Runtime.InteropServices.RuntimeInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum Architecture : int - { - Arm = 2, - Arm64 = 3, - S390x = 5, - Wasm = 4, - X64 = 1, - X86 = 0, - } - - // Generated from `System.Runtime.InteropServices.OSPlatform` in `System.Runtime.InteropServices.RuntimeInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct OSPlatform : System.IEquatable - { - public static bool operator !=(System.Runtime.InteropServices.OSPlatform left, System.Runtime.InteropServices.OSPlatform right) => throw null; - public static bool operator ==(System.Runtime.InteropServices.OSPlatform left, System.Runtime.InteropServices.OSPlatform right) => throw null; - public static System.Runtime.InteropServices.OSPlatform Create(string osPlatform) => throw null; - public bool Equals(System.Runtime.InteropServices.OSPlatform other) => throw null; - public override bool Equals(object obj) => throw null; - public static System.Runtime.InteropServices.OSPlatform FreeBSD { get => throw null; } - public override int GetHashCode() => throw null; - public static System.Runtime.InteropServices.OSPlatform Linux { get => throw null; } - // Stub generator skipped constructor - public static System.Runtime.InteropServices.OSPlatform OSX { get => throw null; } - public override string ToString() => throw null; - public static System.Runtime.InteropServices.OSPlatform Windows { get => throw null; } - } - - // Generated from `System.Runtime.InteropServices.RuntimeInformation` in `System.Runtime.InteropServices.RuntimeInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public static class RuntimeInformation - { - public static string FrameworkDescription { get => throw null; } - public static bool IsOSPlatform(System.Runtime.InteropServices.OSPlatform osPlatform) => throw null; - public static System.Runtime.InteropServices.Architecture OSArchitecture { get => throw null; } - public static string OSDescription { get => throw null; } - public static System.Runtime.InteropServices.Architecture ProcessArchitecture { get => throw null; } - public static string RuntimeIdentifier { get => throw null; } - } - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.cs index 4ae5bc38e04..b01300fae36 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.cs @@ -2,7 +2,7 @@ namespace System { - // Generated from `System.DataMisalignedException` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.DataMisalignedException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataMisalignedException : System.SystemException { public DataMisalignedException() => throw null; @@ -10,7 +10,7 @@ namespace System public DataMisalignedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.DllNotFoundException` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.DllNotFoundException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DllNotFoundException : System.TypeLoadException { public DllNotFoundException() => throw null; @@ -21,7 +21,7 @@ namespace System namespace IO { - // Generated from `System.IO.UnmanagedMemoryAccessor` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.UnmanagedMemoryAccessor` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnmanagedMemoryAccessor : System.IDisposable { public bool CanRead { get => throw null; } @@ -71,14 +71,14 @@ namespace System { namespace CompilerServices { - // Generated from `System.Runtime.CompilerServices.IDispatchConstantAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IDispatchConstantAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IDispatchConstantAttribute : System.Runtime.CompilerServices.CustomConstantAttribute { public IDispatchConstantAttribute() => throw null; public override object Value { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.IUnknownConstantAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IUnknownConstantAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IUnknownConstantAttribute : System.Runtime.CompilerServices.CustomConstantAttribute { public IUnknownConstantAttribute() => throw null; @@ -88,14 +88,14 @@ namespace System } namespace InteropServices { - // Generated from `System.Runtime.InteropServices.AllowReversePInvokeCallsAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.AllowReversePInvokeCallsAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AllowReversePInvokeCallsAttribute : System.Attribute { public AllowReversePInvokeCallsAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.ArrayWithOffset` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct ArrayWithOffset + // Generated from `System.Runtime.InteropServices.ArrayWithOffset` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ArrayWithOffset : System.IEquatable { public static bool operator !=(System.Runtime.InteropServices.ArrayWithOffset a, System.Runtime.InteropServices.ArrayWithOffset b) => throw null; public static bool operator ==(System.Runtime.InteropServices.ArrayWithOffset a, System.Runtime.InteropServices.ArrayWithOffset b) => throw null; @@ -108,14 +108,14 @@ namespace System public int GetOffset() => throw null; } - // Generated from `System.Runtime.InteropServices.AutomationProxyAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.AutomationProxyAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AutomationProxyAttribute : System.Attribute { public AutomationProxyAttribute(bool val) => throw null; public bool Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.BStrWrapper` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.BStrWrapper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BStrWrapper { public BStrWrapper(object value) => throw null; @@ -123,7 +123,7 @@ namespace System public string WrappedObject { get => throw null; } } - // Generated from `System.Runtime.InteropServices.BestFitMappingAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.BestFitMappingAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BestFitMappingAttribute : System.Attribute { public bool BestFitMapping { get => throw null; } @@ -131,7 +131,7 @@ namespace System public bool ThrowOnUnmappableChar; } - // Generated from `System.Runtime.InteropServices.CLong` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.CLong` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CLong : System.IEquatable { // Stub generator skipped constructor @@ -144,7 +144,7 @@ namespace System public System.IntPtr Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.COMException` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.COMException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class COMException : System.Runtime.InteropServices.ExternalException { public COMException() => throw null; @@ -155,7 +155,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Runtime.InteropServices.CULong` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.CULong` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CULong : System.IEquatable { // Stub generator skipped constructor @@ -168,7 +168,7 @@ namespace System public System.UIntPtr Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.CallingConvention` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.CallingConvention` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CallingConvention : int { Cdecl = 2, @@ -178,7 +178,7 @@ namespace System Winapi = 1, } - // Generated from `System.Runtime.InteropServices.ClassInterfaceAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ClassInterfaceAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ClassInterfaceAttribute : System.Attribute { public ClassInterfaceAttribute(System.Runtime.InteropServices.ClassInterfaceType classInterfaceType) => throw null; @@ -186,7 +186,7 @@ namespace System public System.Runtime.InteropServices.ClassInterfaceType Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.ClassInterfaceType` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ClassInterfaceType` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ClassInterfaceType : int { AutoDispatch = 1, @@ -194,14 +194,14 @@ namespace System None = 0, } - // Generated from `System.Runtime.InteropServices.CoClassAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.CoClassAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CoClassAttribute : System.Attribute { public System.Type CoClass { get => throw null; } public CoClassAttribute(System.Type coClass) => throw null; } - // Generated from `System.Runtime.InteropServices.CollectionsMarshal` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.CollectionsMarshal` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CollectionsMarshal { public static System.Span AsSpan(System.Collections.Generic.List list) => throw null; @@ -209,14 +209,14 @@ namespace System public static TValue GetValueRefOrNullRef(System.Collections.Generic.Dictionary dictionary, TKey key) => throw null; } - // Generated from `System.Runtime.InteropServices.ComAliasNameAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComAliasNameAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComAliasNameAttribute : System.Attribute { public ComAliasNameAttribute(string alias) => throw null; public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.ComAwareEventInfo` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComAwareEventInfo` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComAwareEventInfo : System.Reflection.EventInfo { public override void AddEventHandler(object target, System.Delegate handler) => throw null; @@ -238,7 +238,7 @@ namespace System public override void RemoveEventHandler(object target, System.Delegate handler) => throw null; } - // Generated from `System.Runtime.InteropServices.ComCompatibleVersionAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComCompatibleVersionAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComCompatibleVersionAttribute : System.Attribute { public int BuildNumber { get => throw null; } @@ -248,20 +248,20 @@ namespace System public int RevisionNumber { get => throw null; } } - // Generated from `System.Runtime.InteropServices.ComConversionLossAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComConversionLossAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComConversionLossAttribute : System.Attribute { public ComConversionLossAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.ComDefaultInterfaceAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComDefaultInterfaceAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComDefaultInterfaceAttribute : System.Attribute { public ComDefaultInterfaceAttribute(System.Type defaultInterface) => throw null; public System.Type Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.ComEventInterfaceAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComEventInterfaceAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComEventInterfaceAttribute : System.Attribute { public ComEventInterfaceAttribute(System.Type SourceInterface, System.Type EventProvider) => throw null; @@ -269,20 +269,20 @@ namespace System public System.Type SourceInterface { get => throw null; } } - // Generated from `System.Runtime.InteropServices.ComEventsHelper` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComEventsHelper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ComEventsHelper { public static void Combine(object rcw, System.Guid iid, int dispid, System.Delegate d) => throw null; public static System.Delegate Remove(object rcw, System.Guid iid, int dispid, System.Delegate d) => throw null; } - // Generated from `System.Runtime.InteropServices.ComImportAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComImportAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComImportAttribute : System.Attribute { public ComImportAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.ComInterfaceType` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComInterfaceType` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ComInterfaceType : int { InterfaceIsDual = 0, @@ -291,7 +291,7 @@ namespace System InterfaceIsIUnknown = 1, } - // Generated from `System.Runtime.InteropServices.ComMemberType` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComMemberType` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ComMemberType : int { Method = 0, @@ -299,13 +299,13 @@ namespace System PropSet = 2, } - // Generated from `System.Runtime.InteropServices.ComRegisterFunctionAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComRegisterFunctionAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComRegisterFunctionAttribute : System.Attribute { public ComRegisterFunctionAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.ComSourceInterfacesAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComSourceInterfacesAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComSourceInterfacesAttribute : System.Attribute { public ComSourceInterfacesAttribute(System.Type sourceInterface) => throw null; @@ -316,16 +316,16 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.ComUnregisterFunctionAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComUnregisterFunctionAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComUnregisterFunctionAttribute : System.Attribute { public ComUnregisterFunctionAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.ComWrappers` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComWrappers` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ComWrappers { - // Generated from `System.Runtime.InteropServices.ComWrappers+ComInterfaceDispatch` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComWrappers+ComInterfaceDispatch` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ComInterfaceDispatch { // Stub generator skipped constructor @@ -334,7 +334,7 @@ namespace System } - // Generated from `System.Runtime.InteropServices.ComWrappers+ComInterfaceEntry` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComWrappers+ComInterfaceEntry` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ComInterfaceEntry { // Stub generator skipped constructor @@ -356,7 +356,7 @@ namespace System protected abstract void ReleaseObjects(System.Collections.IEnumerable objects); } - // Generated from `System.Runtime.InteropServices.CreateComInterfaceFlags` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.CreateComInterfaceFlags` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CreateComInterfaceFlags : int { @@ -365,7 +365,7 @@ namespace System TrackerSupport = 2, } - // Generated from `System.Runtime.InteropServices.CreateObjectFlags` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.CreateObjectFlags` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CreateObjectFlags : int { @@ -376,7 +376,7 @@ namespace System Unwrap = 8, } - // Generated from `System.Runtime.InteropServices.CurrencyWrapper` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.CurrencyWrapper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CurrencyWrapper { public CurrencyWrapper(System.Decimal obj) => throw null; @@ -384,14 +384,14 @@ namespace System public System.Decimal WrappedObject { get => throw null; } } - // Generated from `System.Runtime.InteropServices.CustomQueryInterfaceMode` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.CustomQueryInterfaceMode` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CustomQueryInterfaceMode : int { Allow = 1, Ignore = 0, } - // Generated from `System.Runtime.InteropServices.CustomQueryInterfaceResult` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.CustomQueryInterfaceResult` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CustomQueryInterfaceResult : int { Failed = 2, @@ -399,42 +399,42 @@ namespace System NotHandled = 1, } - // Generated from `System.Runtime.InteropServices.DefaultCharSetAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.DefaultCharSetAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultCharSetAttribute : System.Attribute { public System.Runtime.InteropServices.CharSet CharSet { get => throw null; } public DefaultCharSetAttribute(System.Runtime.InteropServices.CharSet charSet) => throw null; } - // Generated from `System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultDllImportSearchPathsAttribute : System.Attribute { public DefaultDllImportSearchPathsAttribute(System.Runtime.InteropServices.DllImportSearchPath paths) => throw null; public System.Runtime.InteropServices.DllImportSearchPath Paths { get => throw null; } } - // Generated from `System.Runtime.InteropServices.DefaultParameterValueAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.DefaultParameterValueAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultParameterValueAttribute : System.Attribute { public DefaultParameterValueAttribute(object value) => throw null; public object Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.DispIdAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.DispIdAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DispIdAttribute : System.Attribute { public DispIdAttribute(int dispId) => throw null; public int Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.DispatchWrapper` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.DispatchWrapper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DispatchWrapper { public DispatchWrapper(object obj) => throw null; public object WrappedObject { get => throw null; } } - // Generated from `System.Runtime.InteropServices.DllImportAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.DllImportAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DllImportAttribute : System.Attribute { public bool BestFitMapping; @@ -449,10 +449,10 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.DllImportResolver` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.DllImportResolver` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.IntPtr DllImportResolver(string libraryName, System.Reflection.Assembly assembly, System.Runtime.InteropServices.DllImportSearchPath? searchPath); - // Generated from `System.Runtime.InteropServices.DllImportSearchPath` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.DllImportSearchPath` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DllImportSearchPath : int { @@ -465,13 +465,13 @@ namespace System UserDirectories = 1024, } - // Generated from `System.Runtime.InteropServices.DynamicInterfaceCastableImplementationAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.DynamicInterfaceCastableImplementationAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicInterfaceCastableImplementationAttribute : System.Attribute { public DynamicInterfaceCastableImplementationAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.ErrorWrapper` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ErrorWrapper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ErrorWrapper { public int ErrorCode { get => throw null; } @@ -480,14 +480,14 @@ namespace System public ErrorWrapper(object errorCode) => throw null; } - // Generated from `System.Runtime.InteropServices.GuidAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.GuidAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GuidAttribute : System.Attribute { public GuidAttribute(string guid) => throw null; public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.HandleCollector` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.HandleCollector` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HandleCollector { public void Add() => throw null; @@ -500,7 +500,7 @@ namespace System public void Remove() => throw null; } - // Generated from `System.Runtime.InteropServices.HandleRef` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.HandleRef` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct HandleRef { public System.IntPtr Handle { get => throw null; } @@ -511,19 +511,19 @@ namespace System public static explicit operator System.IntPtr(System.Runtime.InteropServices.HandleRef value) => throw null; } - // Generated from `System.Runtime.InteropServices.ICustomAdapter` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ICustomAdapter` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomAdapter { object GetUnderlyingObject(); } - // Generated from `System.Runtime.InteropServices.ICustomFactory` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ICustomFactory` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomFactory { System.MarshalByRefObject CreateInstance(System.Type serverType); } - // Generated from `System.Runtime.InteropServices.ICustomMarshaler` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ICustomMarshaler` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomMarshaler { void CleanUpManagedData(object ManagedObj); @@ -533,27 +533,27 @@ namespace System object MarshalNativeToManaged(System.IntPtr pNativeData); } - // Generated from `System.Runtime.InteropServices.ICustomQueryInterface` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ICustomQueryInterface` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomQueryInterface { System.Runtime.InteropServices.CustomQueryInterfaceResult GetInterface(ref System.Guid iid, out System.IntPtr ppv); } - // Generated from `System.Runtime.InteropServices.IDynamicInterfaceCastable` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.IDynamicInterfaceCastable` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDynamicInterfaceCastable { System.RuntimeTypeHandle GetInterfaceImplementation(System.RuntimeTypeHandle interfaceType); bool IsInterfaceImplemented(System.RuntimeTypeHandle interfaceType, bool throwIfNotImplemented); } - // Generated from `System.Runtime.InteropServices.ImportedFromTypeLibAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ImportedFromTypeLibAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImportedFromTypeLibAttribute : System.Attribute { public ImportedFromTypeLibAttribute(string tlbFile) => throw null; public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.InterfaceTypeAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.InterfaceTypeAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InterfaceTypeAttribute : System.Attribute { public InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType interfaceType) => throw null; @@ -561,7 +561,7 @@ namespace System public System.Runtime.InteropServices.ComInterfaceType Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.InvalidComObjectException` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.InvalidComObjectException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidComObjectException : System.SystemException { public InvalidComObjectException() => throw null; @@ -570,7 +570,7 @@ namespace System public InvalidComObjectException(string message, System.Exception inner) => throw null; } - // Generated from `System.Runtime.InteropServices.InvalidOleVariantTypeException` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.InvalidOleVariantTypeException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidOleVariantTypeException : System.SystemException { public InvalidOleVariantTypeException() => throw null; @@ -579,14 +579,25 @@ namespace System public InvalidOleVariantTypeException(string message, System.Exception inner) => throw null; } - // Generated from `System.Runtime.InteropServices.LCIDConversionAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.LCIDConversionAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LCIDConversionAttribute : System.Attribute { public LCIDConversionAttribute(int lcid) => throw null; public int Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.ManagedToNativeComInteropStubAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.LibraryImportAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class LibraryImportAttribute : System.Attribute + { + public string EntryPoint { get => throw null; set => throw null; } + public LibraryImportAttribute(string libraryName) => throw null; + public string LibraryName { get => throw null; } + public bool SetLastError { get => throw null; set => throw null; } + public System.Runtime.InteropServices.StringMarshalling StringMarshalling { get => throw null; set => throw null; } + public System.Type StringMarshallingCustomType { get => throw null; set => throw null; } + } + + // Generated from `System.Runtime.InteropServices.ManagedToNativeComInteropStubAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ManagedToNativeComInteropStubAttribute : System.Attribute { public System.Type ClassType { get => throw null; } @@ -594,7 +605,7 @@ namespace System public string MethodName { get => throw null; } } - // Generated from `System.Runtime.InteropServices.Marshal` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.Marshal` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Marshal { public static int AddRef(System.IntPtr pUnk) => throw null; @@ -652,6 +663,7 @@ namespace System public static System.IntPtr GetIDispatchForObject(object o) => throw null; public static System.IntPtr GetIUnknownForObject(object o) => throw null; public static int GetLastPInvokeError() => throw null; + public static string GetLastPInvokeErrorMessage() => throw null; public static int GetLastSystemError() => throw null; public static int GetLastWin32Error() => throw null; public static void GetNativeVariantForObject(object obj, System.IntPtr pDstNativeVariant) => throw null; @@ -661,6 +673,7 @@ namespace System public static T GetObjectForNativeVariant(System.IntPtr pSrcNativeVariant) => throw null; public static object[] GetObjectsForNativeVariants(System.IntPtr aSrcNativeVariant, int cVars) => throw null; public static T[] GetObjectsForNativeVariants(System.IntPtr aSrcNativeVariant, int cVars) => throw null; + public static string GetPInvokeErrorMessage(int error) => throw null; public static int GetStartComSlot(System.Type t) => throw null; public static System.Type GetTypeFromCLSID(System.Guid clsid) => throw null; public static string GetTypeInfoName(System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo) => throw null; @@ -760,7 +773,7 @@ namespace System public static void ZeroFreeGlobalAllocUnicode(System.IntPtr s) => throw null; } - // Generated from `System.Runtime.InteropServices.MarshalAsAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.MarshalAsAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MarshalAsAttribute : System.Attribute { public System.Runtime.InteropServices.UnmanagedType ArraySubType; @@ -777,7 +790,7 @@ namespace System public System.Runtime.InteropServices.UnmanagedType Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.MarshalDirectiveException` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.MarshalDirectiveException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MarshalDirectiveException : System.SystemException { public MarshalDirectiveException() => throw null; @@ -786,24 +799,236 @@ namespace System public MarshalDirectiveException(string message, System.Exception inner) => throw null; } - // Generated from `System.Runtime.InteropServices.NFloat` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct NFloat : System.IEquatable + // Generated from `System.Runtime.InteropServices.NFloat` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct NFloat : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { + static bool System.Numerics.IEqualityOperators.operator !=(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IModulusOperators.operator %(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IBitwiseOperators.operator &(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IMultiplyOperators.operator *(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IUnaryPlusOperators.operator +(System.Runtime.InteropServices.NFloat value) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IAdditionOperators.operator +(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IIncrementOperators.operator ++(System.Runtime.InteropServices.NFloat value) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IUnaryNegationOperators.operator -(System.Runtime.InteropServices.NFloat value) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.ISubtractionOperators.operator -(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IDecrementOperators.operator --(System.Runtime.InteropServices.NFloat value) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IDivisionOperators.operator /(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + public static System.Runtime.InteropServices.NFloat Abs(System.Runtime.InteropServices.NFloat value) => throw null; + public static System.Runtime.InteropServices.NFloat Acos(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat AcosPi(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Acosh(System.Runtime.InteropServices.NFloat x) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.Runtime.InteropServices.NFloat System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static System.Runtime.InteropServices.NFloat Asin(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat AsinPi(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Asinh(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Atan(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Atan2(System.Runtime.InteropServices.NFloat y, System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Atan2Pi(System.Runtime.InteropServices.NFloat y, System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat AtanPi(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Atanh(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat BitDecrement(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat BitIncrement(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Cbrt(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Ceiling(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Clamp(System.Runtime.InteropServices.NFloat value, System.Runtime.InteropServices.NFloat min, System.Runtime.InteropServices.NFloat max) => throw null; + public int CompareTo(System.Runtime.InteropServices.NFloat other) => throw null; + public int CompareTo(object obj) => throw null; + public static System.Runtime.InteropServices.NFloat CopySign(System.Runtime.InteropServices.NFloat value, System.Runtime.InteropServices.NFloat sign) => throw null; + public static System.Runtime.InteropServices.NFloat Cos(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat CosPi(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Cosh(System.Runtime.InteropServices.NFloat x) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IFloatingPointConstants.E { get => throw null; } + static System.Runtime.InteropServices.NFloat System.Numerics.IFloatingPointIeee754.Epsilon { get => throw null; } public bool Equals(System.Runtime.InteropServices.NFloat other) => throw null; public override bool Equals(object obj) => throw null; + public static System.Runtime.InteropServices.NFloat Exp(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Exp10(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Exp10M1(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Exp2(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Exp2M1(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat ExpM1(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Floor(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat FusedMultiplyAdd(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right, System.Runtime.InteropServices.NFloat addend) => throw null; + int System.Numerics.IFloatingPoint.GetExponentByteCount() => throw null; + int System.Numerics.IFloatingPoint.GetExponentShortestBitLength() => throw null; public override int GetHashCode() => throw null; + int System.Numerics.IFloatingPoint.GetSignificandBitLength() => throw null; + int System.Numerics.IFloatingPoint.GetSignificandByteCount() => throw null; + public static System.Runtime.InteropServices.NFloat Hypot(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) => throw null; + public static int ILogB(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Ieee754Remainder(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + public static bool IsCanonical(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsComplexNumber(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsEvenInteger(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsFinite(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsImaginaryNumber(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsInfinity(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsInteger(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsNaN(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsNegative(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsNegativeInfinity(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsNormal(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsOddInteger(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsPositive(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsPositiveInfinity(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsPow2(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsRealNumber(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsSubnormal(System.Runtime.InteropServices.NFloat value) => throw null; + public static bool IsZero(System.Runtime.InteropServices.NFloat value) => throw null; + public static System.Runtime.InteropServices.NFloat Log(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Log(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat newBase) => throw null; + public static System.Runtime.InteropServices.NFloat Log10(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Log10P1(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Log2(System.Runtime.InteropServices.NFloat value) => throw null; + public static System.Runtime.InteropServices.NFloat Log2P1(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat LogP1(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Max(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) => throw null; + public static System.Runtime.InteropServices.NFloat MaxMagnitude(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) => throw null; + public static System.Runtime.InteropServices.NFloat MaxMagnitudeNumber(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) => throw null; + public static System.Runtime.InteropServices.NFloat MaxNumber(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.Runtime.InteropServices.NFloat Min(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) => throw null; + public static System.Runtime.InteropServices.NFloat MinMagnitude(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) => throw null; + public static System.Runtime.InteropServices.NFloat MinMagnitudeNumber(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) => throw null; + public static System.Runtime.InteropServices.NFloat MinNumber(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.Runtime.InteropServices.NFloat System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } // Stub generator skipped constructor public NFloat(double value) => throw null; public NFloat(float value) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IFloatingPointIeee754.NaN { get => throw null; } + static System.Runtime.InteropServices.NFloat System.Numerics.IFloatingPointIeee754.NegativeInfinity { get => throw null; } + static System.Runtime.InteropServices.NFloat System.Numerics.ISignedNumber.NegativeOne { get => throw null; } + static System.Runtime.InteropServices.NFloat System.Numerics.IFloatingPointIeee754.NegativeZero { get => throw null; } + static System.Runtime.InteropServices.NFloat System.Numerics.INumberBase.One { get => throw null; } + public static System.Runtime.InteropServices.NFloat Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; + public static System.Runtime.InteropServices.NFloat Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static System.Runtime.InteropServices.NFloat Parse(string s) => throw null; + public static System.Runtime.InteropServices.NFloat Parse(string s, System.IFormatProvider provider) => throw null; + public static System.Runtime.InteropServices.NFloat Parse(string s, System.Globalization.NumberStyles style) => throw null; + public static System.Runtime.InteropServices.NFloat Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IFloatingPointConstants.Pi { get => throw null; } + static System.Runtime.InteropServices.NFloat System.Numerics.IFloatingPointIeee754.PositiveInfinity { get => throw null; } + public static System.Runtime.InteropServices.NFloat Pow(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.Runtime.InteropServices.NFloat ReciprocalEstimate(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat ReciprocalSqrtEstimate(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat RootN(System.Runtime.InteropServices.NFloat x, int n) => throw null; + public static System.Runtime.InteropServices.NFloat Round(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Round(System.Runtime.InteropServices.NFloat x, System.MidpointRounding mode) => throw null; + public static System.Runtime.InteropServices.NFloat Round(System.Runtime.InteropServices.NFloat x, int digits) => throw null; + public static System.Runtime.InteropServices.NFloat Round(System.Runtime.InteropServices.NFloat x, int digits, System.MidpointRounding mode) => throw null; + public static System.Runtime.InteropServices.NFloat ScaleB(System.Runtime.InteropServices.NFloat x, int n) => throw null; + public static int Sign(System.Runtime.InteropServices.NFloat value) => throw null; + public static System.Runtime.InteropServices.NFloat Sin(System.Runtime.InteropServices.NFloat x) => throw null; + public static (System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat) SinCos(System.Runtime.InteropServices.NFloat x) => throw null; + public static (System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat) SinCosPi(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat SinPi(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Sinh(System.Runtime.InteropServices.NFloat x) => throw null; + public static int Size { get => throw null; } + public static System.Runtime.InteropServices.NFloat Sqrt(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Tan(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat TanPi(System.Runtime.InteropServices.NFloat x) => throw null; + public static System.Runtime.InteropServices.NFloat Tanh(System.Runtime.InteropServices.NFloat x) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IFloatingPointConstants.Tau { get => throw null; } public override string ToString() => throw null; + public string ToString(System.IFormatProvider provider) => throw null; + public string ToString(string format) => throw null; + public string ToString(string format, System.IFormatProvider provider) => throw null; + public static System.Runtime.InteropServices.NFloat Truncate(System.Runtime.InteropServices.NFloat x) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.Runtime.InteropServices.NFloat result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.Runtime.InteropServices.NFloat result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.Runtime.InteropServices.NFloat result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.Runtime.InteropServices.NFloat value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.Runtime.InteropServices.NFloat value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.Runtime.InteropServices.NFloat value, out TOther result) => throw null; + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.Runtime.InteropServices.NFloat result) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Runtime.InteropServices.NFloat result) => throw null; + public static bool TryParse(System.ReadOnlySpan s, out System.Runtime.InteropServices.NFloat result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.Runtime.InteropServices.NFloat result) => throw null; + public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Runtime.InteropServices.NFloat result) => throw null; + public static bool TryParse(string s, out System.Runtime.InteropServices.NFloat result) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteExponentBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteExponentLittleEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteSignificandBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteSignificandLittleEndian(System.Span destination, out int bytesWritten) => throw null; public double Value { get => throw null; } + static System.Runtime.InteropServices.NFloat System.Numerics.INumberBase.Zero { get => throw null; } + static System.Runtime.InteropServices.NFloat System.Numerics.IBitwiseOperators.operator ^(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IMultiplyOperators.operator checked *(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IAdditionOperators.operator checked +(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IIncrementOperators.operator checked ++(System.Runtime.InteropServices.NFloat value) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IUnaryNegationOperators.operator checked -(System.Runtime.InteropServices.NFloat value) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.ISubtractionOperators.operator checked -(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IDecrementOperators.operator checked --(System.Runtime.InteropServices.NFloat value) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IDivisionOperators.operator checked /(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + public static explicit operator checked System.Byte(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator checked System.Char(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator checked System.Int128(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator checked System.Int16(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator checked System.Int64(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator checked System.IntPtr(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator checked System.SByte(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator checked System.UInt128(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator checked System.UInt16(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator checked System.UInt32(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator checked System.UInt64(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator checked System.UIntPtr(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator checked int(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.Runtime.InteropServices.NFloat(System.Int128 value) => throw null; + public static explicit operator System.Byte(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.Char(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.Decimal(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.Half(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.Int128(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.Int16(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.Int64(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.IntPtr(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.SByte(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.UInt128(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.UInt16(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.UInt32(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.UInt64(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.UIntPtr(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator float(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator int(System.Runtime.InteropServices.NFloat value) => throw null; + public static explicit operator System.Runtime.InteropServices.NFloat(System.UInt128 value) => throw null; + public static explicit operator System.Runtime.InteropServices.NFloat(System.Decimal value) => throw null; + public static explicit operator System.Runtime.InteropServices.NFloat(double value) => throw null; + public static implicit operator System.Runtime.InteropServices.NFloat(System.Half value) => throw null; + public static implicit operator System.Runtime.InteropServices.NFloat(System.IntPtr value) => throw null; + public static implicit operator double(System.Runtime.InteropServices.NFloat value) => throw null; + public static implicit operator System.Runtime.InteropServices.NFloat(System.UIntPtr value) => throw null; + public static implicit operator System.Runtime.InteropServices.NFloat(System.Byte value) => throw null; + public static implicit operator System.Runtime.InteropServices.NFloat(System.Char value) => throw null; + public static implicit operator System.Runtime.InteropServices.NFloat(float value) => throw null; + public static implicit operator System.Runtime.InteropServices.NFloat(int value) => throw null; + public static implicit operator System.Runtime.InteropServices.NFloat(System.Int64 value) => throw null; + public static implicit operator System.Runtime.InteropServices.NFloat(System.SByte value) => throw null; + public static implicit operator System.Runtime.InteropServices.NFloat(System.Int16 value) => throw null; + public static implicit operator System.Runtime.InteropServices.NFloat(System.UInt32 value) => throw null; + public static implicit operator System.Runtime.InteropServices.NFloat(System.UInt64 value) => throw null; + public static implicit operator System.Runtime.InteropServices.NFloat(System.UInt16 value) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IBitwiseOperators.operator |(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; + static System.Runtime.InteropServices.NFloat System.Numerics.IBitwiseOperators.operator ~(System.Runtime.InteropServices.NFloat value) => throw null; } - // Generated from `System.Runtime.InteropServices.NativeLibrary` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.NativeLibrary` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class NativeLibrary { public static void Free(System.IntPtr handle) => throw null; public static System.IntPtr GetExport(System.IntPtr handle, string name) => throw null; + public static System.IntPtr GetMainProgramHandle() => throw null; public static System.IntPtr Load(string libraryPath) => throw null; public static System.IntPtr Load(string libraryName, System.Reflection.Assembly assembly, System.Runtime.InteropServices.DllImportSearchPath? searchPath) => throw null; public static void SetDllImportResolver(System.Reflection.Assembly assembly, System.Runtime.InteropServices.DllImportResolver resolver) => throw null; @@ -812,7 +1037,7 @@ namespace System public static bool TryLoad(string libraryPath, out System.IntPtr handle) => throw null; } - // Generated from `System.Runtime.InteropServices.NativeMemory` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.NativeMemory` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class NativeMemory { unsafe public static void* AlignedAlloc(System.UIntPtr byteCount, System.UIntPtr alignment) => throw null; @@ -822,17 +1047,20 @@ namespace System unsafe public static void* Alloc(System.UIntPtr elementCount, System.UIntPtr elementSize) => throw null; unsafe public static void* AllocZeroed(System.UIntPtr byteCount) => throw null; unsafe public static void* AllocZeroed(System.UIntPtr elementCount, System.UIntPtr elementSize) => throw null; + unsafe public static void Clear(void* ptr, System.UIntPtr byteCount) => throw null; + unsafe public static void Copy(void* source, void* destination, System.UIntPtr byteCount) => throw null; + unsafe public static void Fill(void* ptr, System.UIntPtr byteCount, System.Byte value) => throw null; unsafe public static void Free(void* ptr) => throw null; unsafe public static void* Realloc(void* ptr, System.UIntPtr byteCount) => throw null; } - // Generated from `System.Runtime.InteropServices.OptionalAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.OptionalAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OptionalAttribute : System.Attribute { public OptionalAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.PosixSignal` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.PosixSignal` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PosixSignal : int { SIGCHLD = -5, @@ -847,7 +1075,7 @@ namespace System SIGWINCH = -7, } - // Generated from `System.Runtime.InteropServices.PosixSignalContext` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.PosixSignalContext` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PosixSignalContext { public bool Cancel { get => throw null; set => throw null; } @@ -855,7 +1083,7 @@ namespace System public System.Runtime.InteropServices.PosixSignal Signal { get => throw null; } } - // Generated from `System.Runtime.InteropServices.PosixSignalRegistration` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.PosixSignalRegistration` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PosixSignalRegistration : System.IDisposable { public static System.Runtime.InteropServices.PosixSignalRegistration Create(System.Runtime.InteropServices.PosixSignal signal, System.Action handler) => throw null; @@ -863,13 +1091,13 @@ namespace System // ERR: Stub generator didn't handle member: ~PosixSignalRegistration } - // Generated from `System.Runtime.InteropServices.PreserveSigAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.PreserveSigAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PreserveSigAttribute : System.Attribute { public PreserveSigAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PrimaryInteropAssemblyAttribute : System.Attribute { public int MajorVersion { get => throw null; } @@ -877,14 +1105,14 @@ namespace System public PrimaryInteropAssemblyAttribute(int major, int minor) => throw null; } - // Generated from `System.Runtime.InteropServices.ProgIdAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ProgIdAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProgIdAttribute : System.Attribute { public ProgIdAttribute(string progId) => throw null; public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.RuntimeEnvironment` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.RuntimeEnvironment` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class RuntimeEnvironment { public static bool FromGlobalAccessCache(System.Reflection.Assembly a) => throw null; @@ -895,7 +1123,7 @@ namespace System public static string SystemConfigurationFile { get => throw null; } } - // Generated from `System.Runtime.InteropServices.SEHException` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.SEHException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SEHException : System.Runtime.InteropServices.ExternalException { public virtual bool CanResume() => throw null; @@ -905,7 +1133,7 @@ namespace System public SEHException(string message, System.Exception inner) => throw null; } - // Generated from `System.Runtime.InteropServices.SafeArrayRankMismatchException` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.SafeArrayRankMismatchException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeArrayRankMismatchException : System.SystemException { public SafeArrayRankMismatchException() => throw null; @@ -914,7 +1142,7 @@ namespace System public SafeArrayRankMismatchException(string message, System.Exception inner) => throw null; } - // Generated from `System.Runtime.InteropServices.SafeArrayTypeMismatchException` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.SafeArrayTypeMismatchException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeArrayTypeMismatchException : System.SystemException { public SafeArrayTypeMismatchException() => throw null; @@ -923,13 +1151,21 @@ namespace System public SafeArrayTypeMismatchException(string message, System.Exception inner) => throw null; } - // Generated from `System.Runtime.InteropServices.StandardOleMarshalObject` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.StandardOleMarshalObject` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StandardOleMarshalObject : System.MarshalByRefObject { protected StandardOleMarshalObject() => throw null; } - // Generated from `System.Runtime.InteropServices.TypeIdentifierAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.StringMarshalling` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum StringMarshalling : int + { + Custom = 0, + Utf16 = 2, + Utf8 = 1, + } + + // Generated from `System.Runtime.InteropServices.TypeIdentifierAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeIdentifierAttribute : System.Attribute { public string Identifier { get => throw null; } @@ -938,7 +1174,7 @@ namespace System public TypeIdentifierAttribute(string scope, string identifier) => throw null; } - // Generated from `System.Runtime.InteropServices.TypeLibFuncAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.TypeLibFuncAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeLibFuncAttribute : System.Attribute { public TypeLibFuncAttribute(System.Runtime.InteropServices.TypeLibFuncFlags flags) => throw null; @@ -946,7 +1182,7 @@ namespace System public System.Runtime.InteropServices.TypeLibFuncFlags Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.TypeLibFuncFlags` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.TypeLibFuncFlags` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TypeLibFuncFlags : int { @@ -965,14 +1201,14 @@ namespace System FUsesGetLastError = 128, } - // Generated from `System.Runtime.InteropServices.TypeLibImportClassAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.TypeLibImportClassAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeLibImportClassAttribute : System.Attribute { public TypeLibImportClassAttribute(System.Type importClass) => throw null; public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.TypeLibTypeAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.TypeLibTypeAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeLibTypeAttribute : System.Attribute { public TypeLibTypeAttribute(System.Runtime.InteropServices.TypeLibTypeFlags flags) => throw null; @@ -980,7 +1216,7 @@ namespace System public System.Runtime.InteropServices.TypeLibTypeFlags Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.TypeLibTypeFlags` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.TypeLibTypeFlags` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TypeLibTypeFlags : int { @@ -1000,7 +1236,7 @@ namespace System FReverseBind = 8192, } - // Generated from `System.Runtime.InteropServices.TypeLibVarAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.TypeLibVarAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeLibVarAttribute : System.Attribute { public TypeLibVarAttribute(System.Runtime.InteropServices.TypeLibVarFlags flags) => throw null; @@ -1008,7 +1244,7 @@ namespace System public System.Runtime.InteropServices.TypeLibVarFlags Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.TypeLibVarFlags` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.TypeLibVarFlags` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TypeLibVarFlags : int { @@ -1027,7 +1263,7 @@ namespace System FUiDefault = 512, } - // Generated from `System.Runtime.InteropServices.TypeLibVersionAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.TypeLibVersionAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeLibVersionAttribute : System.Attribute { public int MajorVersion { get => throw null; } @@ -1035,21 +1271,21 @@ namespace System public TypeLibVersionAttribute(int major, int minor) => throw null; } - // Generated from `System.Runtime.InteropServices.UnknownWrapper` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.UnknownWrapper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnknownWrapper { public UnknownWrapper(object obj) => throw null; public object WrappedObject { get => throw null; } } - // Generated from `System.Runtime.InteropServices.UnmanagedCallConvAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.UnmanagedCallConvAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnmanagedCallConvAttribute : System.Attribute { public System.Type[] CallConvs; public UnmanagedCallConvAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnmanagedCallersOnlyAttribute : System.Attribute { public System.Type[] CallConvs; @@ -1057,7 +1293,7 @@ namespace System public UnmanagedCallersOnlyAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnmanagedFunctionPointerAttribute : System.Attribute { public bool BestFitMapping; @@ -1068,50 +1304,7 @@ namespace System public UnmanagedFunctionPointerAttribute(System.Runtime.InteropServices.CallingConvention callingConvention) => throw null; } - // Generated from `System.Runtime.InteropServices.UnmanagedType` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum UnmanagedType : int - { - AnsiBStr = 35, - AsAny = 40, - BStr = 19, - Bool = 2, - ByValArray = 30, - ByValTStr = 23, - Currency = 15, - CustomMarshaler = 44, - Error = 45, - FunctionPtr = 38, - HString = 47, - I1 = 3, - I2 = 5, - I4 = 7, - I8 = 9, - IDispatch = 26, - IInspectable = 46, - IUnknown = 25, - Interface = 28, - LPArray = 42, - LPStr = 20, - LPStruct = 43, - LPTStr = 22, - LPUTF8Str = 48, - LPWStr = 21, - R4 = 11, - R8 = 12, - SafeArray = 29, - Struct = 27, - SysInt = 31, - SysUInt = 32, - TBStr = 36, - U1 = 4, - U2 = 6, - U4 = 8, - U8 = 10, - VBByRefStr = 34, - VariantBool = 37, - } - - // Generated from `System.Runtime.InteropServices.VarEnum` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.VarEnum` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum VarEnum : int { VT_ARRAY = 8192, @@ -1160,7 +1353,7 @@ namespace System VT_VOID = 24, } - // Generated from `System.Runtime.InteropServices.VariantWrapper` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.VariantWrapper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VariantWrapper { public VariantWrapper(object obj) => throw null; @@ -1169,7 +1362,7 @@ namespace System namespace ComTypes { - // Generated from `System.Runtime.InteropServices.ComTypes.ADVF` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.ADVF` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ADVF : int { @@ -1182,7 +1375,7 @@ namespace System ADVF_PRIMEFIRST = 2, } - // Generated from `System.Runtime.InteropServices.ComTypes.BINDPTR` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.BINDPTR` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BINDPTR { // Stub generator skipped constructor @@ -1191,7 +1384,7 @@ namespace System public System.IntPtr lpvardesc; } - // Generated from `System.Runtime.InteropServices.ComTypes.BIND_OPTS` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.BIND_OPTS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BIND_OPTS { // Stub generator skipped constructor @@ -1201,7 +1394,7 @@ namespace System public int grfMode; } - // Generated from `System.Runtime.InteropServices.ComTypes.CALLCONV` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.CALLCONV` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CALLCONV : int { CC_CDECL = 1, @@ -1216,7 +1409,7 @@ namespace System CC_SYSCALL = 6, } - // Generated from `System.Runtime.InteropServices.ComTypes.CONNECTDATA` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.CONNECTDATA` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CONNECTDATA { // Stub generator skipped constructor @@ -1224,14 +1417,14 @@ namespace System public object pUnk; } - // Generated from `System.Runtime.InteropServices.ComTypes.DATADIR` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.DATADIR` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DATADIR : int { DATADIR_GET = 1, DATADIR_SET = 2, } - // Generated from `System.Runtime.InteropServices.ComTypes.DESCKIND` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.DESCKIND` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DESCKIND : int { DESCKIND_FUNCDESC = 1, @@ -1242,7 +1435,7 @@ namespace System DESCKIND_VARDESC = 2, } - // Generated from `System.Runtime.InteropServices.ComTypes.DISPPARAMS` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.DISPPARAMS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DISPPARAMS { // Stub generator skipped constructor @@ -1252,7 +1445,7 @@ namespace System public System.IntPtr rgvarg; } - // Generated from `System.Runtime.InteropServices.ComTypes.DVASPECT` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.DVASPECT` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DVASPECT : int { @@ -1262,10 +1455,10 @@ namespace System DVASPECT_THUMBNAIL = 2, } - // Generated from `System.Runtime.InteropServices.ComTypes.ELEMDESC` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.ELEMDESC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ELEMDESC { - // Generated from `System.Runtime.InteropServices.ComTypes.ELEMDESC+DESCUNION` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.ELEMDESC+DESCUNION` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DESCUNION { // Stub generator skipped constructor @@ -1279,7 +1472,7 @@ namespace System public System.Runtime.InteropServices.ComTypes.TYPEDESC tdesc; } - // Generated from `System.Runtime.InteropServices.ComTypes.EXCEPINFO` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.EXCEPINFO` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EXCEPINFO { // Stub generator skipped constructor @@ -1294,7 +1487,7 @@ namespace System public System.Int16 wReserved; } - // Generated from `System.Runtime.InteropServices.ComTypes.FILETIME` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.FILETIME` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FILETIME { // Stub generator skipped constructor @@ -1302,7 +1495,7 @@ namespace System public int dwLowDateTime; } - // Generated from `System.Runtime.InteropServices.ComTypes.FORMATETC` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.FORMATETC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FORMATETC { // Stub generator skipped constructor @@ -1313,7 +1506,7 @@ namespace System public System.Runtime.InteropServices.ComTypes.TYMED tymed; } - // Generated from `System.Runtime.InteropServices.ComTypes.FUNCDESC` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.FUNCDESC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FUNCDESC { // Stub generator skipped constructor @@ -1331,7 +1524,7 @@ namespace System public System.Int16 wFuncFlags; } - // Generated from `System.Runtime.InteropServices.ComTypes.FUNCFLAGS` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.FUNCFLAGS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FUNCFLAGS : short { @@ -1350,7 +1543,7 @@ namespace System FUNCFLAG_FUSESGETLASTERROR = 128, } - // Generated from `System.Runtime.InteropServices.ComTypes.FUNCKIND` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.FUNCKIND` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FUNCKIND : int { FUNC_DISPATCH = 4, @@ -1360,7 +1553,7 @@ namespace System FUNC_VIRTUAL = 0, } - // Generated from `System.Runtime.InteropServices.ComTypes.IAdviseSink` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IAdviseSink` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAdviseSink { void OnClose(); @@ -1370,7 +1563,7 @@ namespace System void OnViewChange(int aspect, int index); } - // Generated from `System.Runtime.InteropServices.ComTypes.IBindCtx` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IBindCtx` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IBindCtx { void EnumObjectParam(out System.Runtime.InteropServices.ComTypes.IEnumString ppenum); @@ -1385,7 +1578,7 @@ namespace System void SetBindOptions(ref System.Runtime.InteropServices.ComTypes.BIND_OPTS pbindopts); } - // Generated from `System.Runtime.InteropServices.ComTypes.IConnectionPoint` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IConnectionPoint` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IConnectionPoint { void Advise(object pUnkSink, out int pdwCookie); @@ -1395,14 +1588,14 @@ namespace System void Unadvise(int dwCookie); } - // Generated from `System.Runtime.InteropServices.ComTypes.IConnectionPointContainer` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IConnectionPointContainer` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IConnectionPointContainer { void EnumConnectionPoints(out System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints ppEnum); void FindConnectionPoint(ref System.Guid riid, out System.Runtime.InteropServices.ComTypes.IConnectionPoint ppCP); } - // Generated from `System.Runtime.InteropServices.ComTypes.IDLDESC` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IDLDESC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct IDLDESC { // Stub generator skipped constructor @@ -1410,7 +1603,7 @@ namespace System public System.Runtime.InteropServices.ComTypes.IDLFLAG wIDLFlags; } - // Generated from `System.Runtime.InteropServices.ComTypes.IDLFLAG` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IDLFLAG` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum IDLFLAG : short { @@ -1421,7 +1614,7 @@ namespace System IDLFLAG_NONE = 0, } - // Generated from `System.Runtime.InteropServices.ComTypes.IDataObject` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IDataObject` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataObject { int DAdvise(ref System.Runtime.InteropServices.ComTypes.FORMATETC pFormatetc, System.Runtime.InteropServices.ComTypes.ADVF advf, System.Runtime.InteropServices.ComTypes.IAdviseSink adviseSink, out int connection); @@ -1435,7 +1628,7 @@ namespace System void SetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatIn, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM medium, bool release); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumConnectionPoints { void Clone(out System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints ppenum); @@ -1444,7 +1637,7 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumConnections` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IEnumConnections` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumConnections { void Clone(out System.Runtime.InteropServices.ComTypes.IEnumConnections ppenum); @@ -1453,7 +1646,7 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumFORMATETC` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IEnumFORMATETC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumFORMATETC { void Clone(out System.Runtime.InteropServices.ComTypes.IEnumFORMATETC newEnum); @@ -1462,7 +1655,7 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumMoniker` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IEnumMoniker` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumMoniker { void Clone(out System.Runtime.InteropServices.ComTypes.IEnumMoniker ppenum); @@ -1471,7 +1664,7 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumSTATDATA` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IEnumSTATDATA` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumSTATDATA { void Clone(out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA newEnum); @@ -1480,7 +1673,7 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumString` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IEnumString` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumString { void Clone(out System.Runtime.InteropServices.ComTypes.IEnumString ppenum); @@ -1489,7 +1682,7 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumVARIANT` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IEnumVARIANT` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumVARIANT { System.Runtime.InteropServices.ComTypes.IEnumVARIANT Clone(); @@ -1498,7 +1691,7 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum IMPLTYPEFLAGS : int { @@ -1508,7 +1701,7 @@ namespace System IMPLTYPEFLAG_FSOURCE = 2, } - // Generated from `System.Runtime.InteropServices.ComTypes.IMoniker` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IMoniker` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IMoniker { void BindToObject(System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker pmkToLeft, ref System.Guid riidResult, out object ppvResult); @@ -1533,7 +1726,7 @@ namespace System void Save(System.Runtime.InteropServices.ComTypes.IStream pStm, bool fClearDirty); } - // Generated from `System.Runtime.InteropServices.ComTypes.INVOKEKIND` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.INVOKEKIND` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum INVOKEKIND : int { @@ -1543,7 +1736,7 @@ namespace System INVOKE_PROPERTYPUTREF = 8, } - // Generated from `System.Runtime.InteropServices.ComTypes.IPersistFile` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IPersistFile` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IPersistFile { void GetClassID(out System.Guid pClassID); @@ -1554,7 +1747,7 @@ namespace System void SaveCompleted(string pszFileName); } - // Generated from `System.Runtime.InteropServices.ComTypes.IRunningObjectTable` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IRunningObjectTable` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IRunningObjectTable { void EnumRunning(out System.Runtime.InteropServices.ComTypes.IEnumMoniker ppenumMoniker); @@ -1566,7 +1759,7 @@ namespace System void Revoke(int dwRegister); } - // Generated from `System.Runtime.InteropServices.ComTypes.IStream` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.IStream` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IStream { void Clone(out System.Runtime.InteropServices.ComTypes.IStream ppstm); @@ -1582,14 +1775,14 @@ namespace System void Write(System.Byte[] pv, int cb, System.IntPtr pcbWritten); } - // Generated from `System.Runtime.InteropServices.ComTypes.ITypeComp` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.ITypeComp` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeComp { void Bind(string szName, int lHashVal, System.Int16 wFlags, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTInfo, out System.Runtime.InteropServices.ComTypes.DESCKIND pDescKind, out System.Runtime.InteropServices.ComTypes.BINDPTR pBindPtr); void BindType(string szName, int lHashVal, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTInfo, out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp); } - // Generated from `System.Runtime.InteropServices.ComTypes.ITypeInfo` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.ITypeInfo` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeInfo { void AddressOfMember(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out System.IntPtr ppv); @@ -1613,7 +1806,7 @@ namespace System void ReleaseVarDesc(System.IntPtr pVarDesc); } - // Generated from `System.Runtime.InteropServices.ComTypes.ITypeInfo2` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.ITypeInfo2` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeInfo2 : System.Runtime.InteropServices.ComTypes.ITypeInfo { void AddressOfMember(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out System.IntPtr ppv); @@ -1652,7 +1845,7 @@ namespace System void ReleaseVarDesc(System.IntPtr pVarDesc); } - // Generated from `System.Runtime.InteropServices.ComTypes.ITypeLib` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.ITypeLib` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeLib { void FindName(string szNameBuf, int lHashVal, System.Runtime.InteropServices.ComTypes.ITypeInfo[] ppTInfo, int[] rgMemId, ref System.Int16 pcFound); @@ -1667,7 +1860,7 @@ namespace System void ReleaseTLibAttr(System.IntPtr pTLibAttr); } - // Generated from `System.Runtime.InteropServices.ComTypes.ITypeLib2` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.ITypeLib2` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeLib2 : System.Runtime.InteropServices.ComTypes.ITypeLib { void FindName(string szNameBuf, int lHashVal, System.Runtime.InteropServices.ComTypes.ITypeInfo[] ppTInfo, int[] rgMemId, ref System.Int16 pcFound); @@ -1686,7 +1879,7 @@ namespace System void ReleaseTLibAttr(System.IntPtr pTLibAttr); } - // Generated from `System.Runtime.InteropServices.ComTypes.LIBFLAGS` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.LIBFLAGS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum LIBFLAGS : short { @@ -1696,7 +1889,7 @@ namespace System LIBFLAG_FRESTRICTED = 1, } - // Generated from `System.Runtime.InteropServices.ComTypes.PARAMDESC` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.PARAMDESC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PARAMDESC { // Stub generator skipped constructor @@ -1704,7 +1897,7 @@ namespace System public System.Runtime.InteropServices.ComTypes.PARAMFLAG wParamFlags; } - // Generated from `System.Runtime.InteropServices.ComTypes.PARAMFLAG` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.PARAMFLAG` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PARAMFLAG : short { @@ -1718,7 +1911,7 @@ namespace System PARAMFLAG_NONE = 0, } - // Generated from `System.Runtime.InteropServices.ComTypes.STATDATA` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.STATDATA` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct STATDATA { // Stub generator skipped constructor @@ -1728,7 +1921,7 @@ namespace System public System.Runtime.InteropServices.ComTypes.FORMATETC formatetc; } - // Generated from `System.Runtime.InteropServices.ComTypes.STATSTG` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.STATSTG` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct STATSTG { // Stub generator skipped constructor @@ -1745,7 +1938,7 @@ namespace System public int type; } - // Generated from `System.Runtime.InteropServices.ComTypes.STGMEDIUM` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.STGMEDIUM` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct STGMEDIUM { // Stub generator skipped constructor @@ -1754,7 +1947,7 @@ namespace System public System.IntPtr unionmember; } - // Generated from `System.Runtime.InteropServices.ComTypes.SYSKIND` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.SYSKIND` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SYSKIND : int { SYS_MAC = 2, @@ -1763,7 +1956,7 @@ namespace System SYS_WIN64 = 3, } - // Generated from `System.Runtime.InteropServices.ComTypes.TYMED` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.TYMED` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TYMED : int { @@ -1777,7 +1970,7 @@ namespace System TYMED_NULL = 0, } - // Generated from `System.Runtime.InteropServices.ComTypes.TYPEATTR` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.TYPEATTR` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TYPEATTR { public const int MEMBER_ID_NIL = default; @@ -1802,7 +1995,7 @@ namespace System public System.Runtime.InteropServices.ComTypes.TYPEFLAGS wTypeFlags; } - // Generated from `System.Runtime.InteropServices.ComTypes.TYPEDESC` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.TYPEDESC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TYPEDESC { // Stub generator skipped constructor @@ -1810,7 +2003,7 @@ namespace System public System.Int16 vt; } - // Generated from `System.Runtime.InteropServices.ComTypes.TYPEFLAGS` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.TYPEFLAGS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TYPEFLAGS : short { @@ -1831,7 +2024,7 @@ namespace System TYPEFLAG_FREVERSEBIND = 8192, } - // Generated from `System.Runtime.InteropServices.ComTypes.TYPEKIND` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.TYPEKIND` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TYPEKIND : int { TKIND_ALIAS = 6, @@ -1845,7 +2038,7 @@ namespace System TKIND_UNION = 7, } - // Generated from `System.Runtime.InteropServices.ComTypes.TYPELIBATTR` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.TYPELIBATTR` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TYPELIBATTR { // Stub generator skipped constructor @@ -1857,10 +2050,10 @@ namespace System public System.Int16 wMinorVerNum; } - // Generated from `System.Runtime.InteropServices.ComTypes.VARDESC` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.VARDESC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct VARDESC { - // Generated from `System.Runtime.InteropServices.ComTypes.VARDESC+DESCUNION` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.VARDESC+DESCUNION` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DESCUNION { // Stub generator skipped constructor @@ -1878,7 +2071,7 @@ namespace System public System.Int16 wVarFlags; } - // Generated from `System.Runtime.InteropServices.ComTypes.VARFLAGS` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.VARFLAGS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum VARFLAGS : short { @@ -1897,7 +2090,7 @@ namespace System VARFLAG_FUIDEFAULT = 512, } - // Generated from `System.Runtime.InteropServices.ComTypes.VARKIND` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComTypes.VARKIND` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum VARKIND : int { VAR_CONST = 2, @@ -1906,13 +2099,148 @@ namespace System VAR_STATIC = 1, } + } + namespace Marshalling + { + // Generated from `System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class AnsiStringMarshaller + { + // Generated from `System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller+ManagedToUnmanagedIn` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ManagedToUnmanagedIn + { + public static int BufferSize { get => throw null; } + public void Free() => throw null; + public void FromManaged(string managed, System.Span buffer) => throw null; + // Stub generator skipped constructor + unsafe public System.Byte* ToUnmanaged() => throw null; + } + + + unsafe public static string ConvertToManaged(System.Byte* unmanaged) => throw null; + unsafe public static System.Byte* ConvertToUnmanaged(string managed) => throw null; + unsafe public static void Free(System.Byte* unmanaged) => throw null; + } + + // Generated from `System.Runtime.InteropServices.Marshalling.ArrayMarshaller<,>` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class ArrayMarshaller where TUnmanagedElement : unmanaged + { + // Generated from `System.Runtime.InteropServices.Marshalling.ArrayMarshaller<,>+ManagedToUnmanagedIn` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ManagedToUnmanagedIn + { + public static int BufferSize { get => throw null; } + public void Free() => throw null; + public void FromManaged(T[] array, System.Span buffer) => throw null; + public System.ReadOnlySpan GetManagedValuesSource() => throw null; + public TUnmanagedElement GetPinnableReference() => throw null; + public static T GetPinnableReference(T[] array) => throw null; + public System.Span GetUnmanagedValuesDestination() => throw null; + // Stub generator skipped constructor + unsafe public TUnmanagedElement* ToUnmanaged() => throw null; + } + + + unsafe public static T[] AllocateContainerForManagedElements(TUnmanagedElement* unmanaged, int numElements) => throw null; + unsafe public static TUnmanagedElement* AllocateContainerForUnmanagedElements(T[] managed, out int numElements) => throw null; + unsafe public static void Free(TUnmanagedElement* unmanaged) => throw null; + public static System.Span GetManagedValuesDestination(T[] managed) => throw null; + public static System.ReadOnlySpan GetManagedValuesSource(T[] managed) => throw null; + unsafe public static System.Span GetUnmanagedValuesDestination(TUnmanagedElement* unmanaged, int numElements) => throw null; + unsafe public static System.ReadOnlySpan GetUnmanagedValuesSource(TUnmanagedElement* unmanagedValue, int numElements) => throw null; + } + + // Generated from `System.Runtime.InteropServices.Marshalling.BStrStringMarshaller` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class BStrStringMarshaller + { + // Generated from `System.Runtime.InteropServices.Marshalling.BStrStringMarshaller+ManagedToUnmanagedIn` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ManagedToUnmanagedIn + { + public static int BufferSize { get => throw null; } + public void Free() => throw null; + public void FromManaged(string managed, System.Span buffer) => throw null; + // Stub generator skipped constructor + unsafe public System.UInt16* ToUnmanaged() => throw null; + } + + + unsafe public static string ConvertToManaged(System.UInt16* unmanaged) => throw null; + unsafe public static System.UInt16* ConvertToUnmanaged(string managed) => throw null; + unsafe public static void Free(System.UInt16* unmanaged) => throw null; + } + + // Generated from `System.Runtime.InteropServices.Marshalling.MarshalUsingAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class MarshalUsingAttribute : System.Attribute + { + public int ConstantElementCount { get => throw null; set => throw null; } + public string CountElementName { get => throw null; set => throw null; } + public int ElementIndirectionDepth { get => throw null; set => throw null; } + public MarshalUsingAttribute() => throw null; + public MarshalUsingAttribute(System.Type nativeType) => throw null; + public System.Type NativeType { get => throw null; } + public const string ReturnsCountValue = default; + } + + // Generated from `System.Runtime.InteropServices.Marshalling.PointerArrayMarshaller<,>` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class PointerArrayMarshaller where T : unmanaged where TUnmanagedElement : unmanaged + { + // Generated from `System.Runtime.InteropServices.Marshalling.PointerArrayMarshaller<,>+ManagedToUnmanagedIn` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ManagedToUnmanagedIn + { + public static int BufferSize { get => throw null; } + public void Free() => throw null; + unsafe public void FromManaged(T*[] array, System.Span buffer) => throw null; + public System.ReadOnlySpan GetManagedValuesSource() => throw null; + public TUnmanagedElement GetPinnableReference() => throw null; + unsafe public static System.Byte GetPinnableReference(T*[] array) => throw null; + public System.Span GetUnmanagedValuesDestination() => throw null; + // Stub generator skipped constructor + unsafe public TUnmanagedElement* ToUnmanaged() => throw null; + } + + + unsafe public static T*[] AllocateContainerForManagedElements(TUnmanagedElement* unmanaged, int numElements) => throw null; + unsafe public static TUnmanagedElement* AllocateContainerForUnmanagedElements(T*[] managed, out int numElements) => throw null; + unsafe public static void Free(TUnmanagedElement* unmanaged) => throw null; + unsafe public static System.Span GetManagedValuesDestination(T*[] managed) => throw null; + unsafe public static System.ReadOnlySpan GetManagedValuesSource(T*[] managed) => throw null; + unsafe public static System.Span GetUnmanagedValuesDestination(TUnmanagedElement* unmanaged, int numElements) => throw null; + unsafe public static System.ReadOnlySpan GetUnmanagedValuesSource(TUnmanagedElement* unmanagedValue, int numElements) => throw null; + } + + // Generated from `System.Runtime.InteropServices.Marshalling.Utf16StringMarshaller` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class Utf16StringMarshaller + { + unsafe public static string ConvertToManaged(System.UInt16* unmanaged) => throw null; + unsafe public static System.UInt16* ConvertToUnmanaged(string managed) => throw null; + unsafe public static void Free(System.UInt16* unmanaged) => throw null; + public static System.Char GetPinnableReference(string str) => throw null; + } + + // Generated from `System.Runtime.InteropServices.Marshalling.Utf8StringMarshaller` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class Utf8StringMarshaller + { + // Generated from `System.Runtime.InteropServices.Marshalling.Utf8StringMarshaller+ManagedToUnmanagedIn` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ManagedToUnmanagedIn + { + public static int BufferSize { get => throw null; } + public void Free() => throw null; + public void FromManaged(string managed, System.Span buffer) => throw null; + // Stub generator skipped constructor + unsafe public System.Byte* ToUnmanaged() => throw null; + } + + + unsafe public static string ConvertToManaged(System.Byte* unmanaged) => throw null; + unsafe public static System.Byte* ConvertToUnmanaged(string managed) => throw null; + unsafe public static void Free(System.Byte* unmanaged) => throw null; + } + } namespace ObjectiveC { - // Generated from `System.Runtime.InteropServices.ObjectiveC.ObjectiveCMarshal` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ObjectiveC.ObjectiveCMarshal` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ObjectiveCMarshal { - // Generated from `System.Runtime.InteropServices.ObjectiveC.ObjectiveCMarshal+MessageSendFunction` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ObjectiveC.ObjectiveCMarshal+MessageSendFunction` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MessageSendFunction : int { MsgSend = 0, @@ -1923,7 +2251,7 @@ namespace System } - // Generated from `System.Runtime.InteropServices.ObjectiveC.ObjectiveCMarshal+UnhandledExceptionPropagationHandler` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ObjectiveC.ObjectiveCMarshal+UnhandledExceptionPropagationHandler` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` unsafe public delegate delegate* unmanaged UnhandledExceptionPropagationHandler(System.Exception exception, System.RuntimeMethodHandle lastMethod, out System.IntPtr context); @@ -1933,7 +2261,7 @@ namespace System public static void SetMessageSendPendingException(System.Exception exception) => throw null; } - // Generated from `System.Runtime.InteropServices.ObjectiveC.ObjectiveCTrackedTypeAttribute` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ObjectiveC.ObjectiveCTrackedTypeAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectiveCTrackedTypeAttribute : System.Attribute { public ObjectiveCTrackedTypeAttribute() => throw null; @@ -1944,7 +2272,7 @@ namespace System } namespace Security { - // Generated from `System.Security.SecureString` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.SecureString` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecureString : System.IDisposable { public void AppendChar(System.Char c) => throw null; @@ -1961,7 +2289,7 @@ namespace System public void SetAt(int index, System.Char c) => throw null; } - // Generated from `System.Security.SecureStringMarshal` in `System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.SecureStringMarshal` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class SecureStringMarshal { public static System.IntPtr SecureStringToCoTaskMemAnsi(System.Security.SecureString s) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Intrinsics.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Intrinsics.cs index 9a719c531c8..592e73c92b9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Intrinsics.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Intrinsics.cs @@ -6,15 +6,20 @@ namespace System { namespace Intrinsics { - // Generated from `System.Runtime.Intrinsics.Vector128` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Vector128` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Vector128 { - public static System.Runtime.Intrinsics.Vector128 As(this System.Runtime.Intrinsics.Vector128 vector) where T : struct where U : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Abs(System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Add(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 AndNot(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 As(this System.Runtime.Intrinsics.Vector128 vector) where TFrom : struct where TTo : struct => throw null; public static System.Runtime.Intrinsics.Vector128 AsByte(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector128 AsDouble(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector128 AsInt16(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector128 AsInt32(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector128 AsInt64(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 AsNInt(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 AsNUInt(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector128 AsSByte(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector128 AsSingle(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector128 AsUInt16(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; @@ -28,6 +33,24 @@ namespace System public static System.Numerics.Vector3 AsVector3(this System.Runtime.Intrinsics.Vector128 value) => throw null; public static System.Numerics.Vector4 AsVector4(this System.Runtime.Intrinsics.Vector128 value) => throw null; public static System.Numerics.Vector AsVector(this System.Runtime.Intrinsics.Vector128 value) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 BitwiseAnd(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 BitwiseOr(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Ceiling(System.Runtime.Intrinsics.Vector128 vector) => throw null; + public static System.Runtime.Intrinsics.Vector128 Ceiling(System.Runtime.Intrinsics.Vector128 vector) => throw null; + public static System.Runtime.Intrinsics.Vector128 ConditionalSelect(System.Runtime.Intrinsics.Vector128 condition, System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 ConvertToDouble(System.Runtime.Intrinsics.Vector128 vector) => throw null; + public static System.Runtime.Intrinsics.Vector128 ConvertToDouble(System.Runtime.Intrinsics.Vector128 vector) => throw null; + public static System.Runtime.Intrinsics.Vector128 ConvertToInt32(System.Runtime.Intrinsics.Vector128 vector) => throw null; + public static System.Runtime.Intrinsics.Vector128 ConvertToInt64(System.Runtime.Intrinsics.Vector128 vector) => throw null; + public static System.Runtime.Intrinsics.Vector128 ConvertToSingle(System.Runtime.Intrinsics.Vector128 vector) => throw null; + public static System.Runtime.Intrinsics.Vector128 ConvertToSingle(System.Runtime.Intrinsics.Vector128 vector) => throw null; + public static System.Runtime.Intrinsics.Vector128 ConvertToUInt32(System.Runtime.Intrinsics.Vector128 vector) => throw null; + public static System.Runtime.Intrinsics.Vector128 ConvertToUInt64(System.Runtime.Intrinsics.Vector128 vector) => throw null; + public static void CopyTo(this System.Runtime.Intrinsics.Vector128 vector, System.Span destination) where T : struct => throw null; + public static void CopyTo(this System.Runtime.Intrinsics.Vector128 vector, T[] destination) where T : struct => throw null; + public static void CopyTo(this System.Runtime.Intrinsics.Vector128 vector, T[] destination, int startIndex) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Create(System.IntPtr value) => throw null; + public static System.Runtime.Intrinsics.Vector128 Create(System.UIntPtr value) => throw null; public static System.Runtime.Intrinsics.Vector128 Create(System.Runtime.Intrinsics.Vector64 lower, System.Runtime.Intrinsics.Vector64 upper) => throw null; public static System.Runtime.Intrinsics.Vector128 Create(System.Runtime.Intrinsics.Vector64 lower, System.Runtime.Intrinsics.Vector64 upper) => throw null; public static System.Runtime.Intrinsics.Vector128 Create(System.Runtime.Intrinsics.Vector64 lower, System.Runtime.Intrinsics.Vector64 upper) => throw null; @@ -58,6 +81,12 @@ namespace System public static System.Runtime.Intrinsics.Vector128 Create(System.UInt64 e0, System.UInt64 e1) => throw null; public static System.Runtime.Intrinsics.Vector128 Create(System.UInt16 value) => throw null; public static System.Runtime.Intrinsics.Vector128 Create(System.UInt16 e0, System.UInt16 e1, System.UInt16 e2, System.UInt16 e3, System.UInt16 e4, System.UInt16 e5, System.UInt16 e6, System.UInt16 e7) => throw null; + public static System.Runtime.Intrinsics.Vector128 Create(System.ReadOnlySpan values) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Create(T value) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Create(T[] values) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Create(T[] values, int index) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 CreateScalar(System.IntPtr value) => throw null; + public static System.Runtime.Intrinsics.Vector128 CreateScalar(System.UIntPtr value) => throw null; public static System.Runtime.Intrinsics.Vector128 CreateScalar(System.Byte value) => throw null; public static System.Runtime.Intrinsics.Vector128 CreateScalar(double value) => throw null; public static System.Runtime.Intrinsics.Vector128 CreateScalar(float value) => throw null; @@ -68,6 +97,8 @@ namespace System public static System.Runtime.Intrinsics.Vector128 CreateScalar(System.UInt32 value) => throw null; public static System.Runtime.Intrinsics.Vector128 CreateScalar(System.UInt64 value) => throw null; public static System.Runtime.Intrinsics.Vector128 CreateScalar(System.UInt16 value) => throw null; + public static System.Runtime.Intrinsics.Vector128 CreateScalarUnsafe(System.IntPtr value) => throw null; + public static System.Runtime.Intrinsics.Vector128 CreateScalarUnsafe(System.UIntPtr value) => throw null; public static System.Runtime.Intrinsics.Vector128 CreateScalarUnsafe(System.Byte value) => throw null; public static System.Runtime.Intrinsics.Vector128 CreateScalarUnsafe(double value) => throw null; public static System.Runtime.Intrinsics.Vector128 CreateScalarUnsafe(float value) => throw null; @@ -78,39 +109,152 @@ namespace System public static System.Runtime.Intrinsics.Vector128 CreateScalarUnsafe(System.UInt32 value) => throw null; public static System.Runtime.Intrinsics.Vector128 CreateScalarUnsafe(System.UInt64 value) => throw null; public static System.Runtime.Intrinsics.Vector128 CreateScalarUnsafe(System.UInt16 value) => throw null; + public static System.Runtime.Intrinsics.Vector128 Divide(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static T Dot(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Equals(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static bool EqualsAll(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static bool EqualsAny(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static System.UInt32 ExtractMostSignificantBits(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Floor(System.Runtime.Intrinsics.Vector128 vector) => throw null; + public static System.Runtime.Intrinsics.Vector128 Floor(System.Runtime.Intrinsics.Vector128 vector) => throw null; public static T GetElement(this System.Runtime.Intrinsics.Vector128 vector, int index) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector64 GetLower(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector64 GetUpper(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 GreaterThan(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static bool GreaterThanAll(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static bool GreaterThanAny(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 GreaterThanOrEqual(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static bool GreaterThanOrEqualAll(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static bool GreaterThanOrEqualAny(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static bool IsHardwareAccelerated { get => throw null; } + public static System.Runtime.Intrinsics.Vector128 LessThan(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static bool LessThanAll(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static bool LessThanAny(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 LessThanOrEqual(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static bool LessThanOrEqualAll(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static bool LessThanOrEqualAny(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + unsafe public static System.Runtime.Intrinsics.Vector128 Load(T* source) where T : unmanaged => throw null; + unsafe public static System.Runtime.Intrinsics.Vector128 LoadAligned(T* source) where T : unmanaged => throw null; + unsafe public static System.Runtime.Intrinsics.Vector128 LoadAlignedNonTemporal(T* source) where T : unmanaged => throw null; + public static System.Runtime.Intrinsics.Vector128 LoadUnsafe(ref T source) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 LoadUnsafe(ref T source, System.UIntPtr elementOffset) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Max(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Min(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Multiply(T left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Multiply(System.Runtime.Intrinsics.Vector128 left, T right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Multiply(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Narrow(System.Runtime.Intrinsics.Vector128 lower, System.Runtime.Intrinsics.Vector128 upper) => throw null; + public static System.Runtime.Intrinsics.Vector128 Narrow(System.Runtime.Intrinsics.Vector128 lower, System.Runtime.Intrinsics.Vector128 upper) => throw null; + public static System.Runtime.Intrinsics.Vector128 Narrow(System.Runtime.Intrinsics.Vector128 lower, System.Runtime.Intrinsics.Vector128 upper) => throw null; + public static System.Runtime.Intrinsics.Vector128 Narrow(System.Runtime.Intrinsics.Vector128 lower, System.Runtime.Intrinsics.Vector128 upper) => throw null; + public static System.Runtime.Intrinsics.Vector128 Narrow(System.Runtime.Intrinsics.Vector128 lower, System.Runtime.Intrinsics.Vector128 upper) => throw null; + public static System.Runtime.Intrinsics.Vector128 Narrow(System.Runtime.Intrinsics.Vector128 lower, System.Runtime.Intrinsics.Vector128 upper) => throw null; + public static System.Runtime.Intrinsics.Vector128 Narrow(System.Runtime.Intrinsics.Vector128 lower, System.Runtime.Intrinsics.Vector128 upper) => throw null; + public static System.Runtime.Intrinsics.Vector128 Negate(System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 OnesComplement(System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftLeft(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftLeft(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftLeft(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftLeft(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftLeft(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftLeft(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftLeft(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftLeft(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftLeft(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftLeft(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightLogical(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightLogical(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightLogical(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightLogical(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightLogical(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightLogical(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightLogical(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightLogical(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightLogical(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 ShiftRightLogical(System.Runtime.Intrinsics.Vector128 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector128 Shuffle(System.Runtime.Intrinsics.Vector128 vector, System.Runtime.Intrinsics.Vector128 indices) => throw null; + public static System.Runtime.Intrinsics.Vector128 Shuffle(System.Runtime.Intrinsics.Vector128 vector, System.Runtime.Intrinsics.Vector128 indices) => throw null; + public static System.Runtime.Intrinsics.Vector128 Shuffle(System.Runtime.Intrinsics.Vector128 vector, System.Runtime.Intrinsics.Vector128 indices) => throw null; + public static System.Runtime.Intrinsics.Vector128 Shuffle(System.Runtime.Intrinsics.Vector128 vector, System.Runtime.Intrinsics.Vector128 indices) => throw null; + public static System.Runtime.Intrinsics.Vector128 Shuffle(System.Runtime.Intrinsics.Vector128 vector, System.Runtime.Intrinsics.Vector128 indices) => throw null; + public static System.Runtime.Intrinsics.Vector128 Shuffle(System.Runtime.Intrinsics.Vector128 vector, System.Runtime.Intrinsics.Vector128 indices) => throw null; + public static System.Runtime.Intrinsics.Vector128 Shuffle(System.Runtime.Intrinsics.Vector128 vector, System.Runtime.Intrinsics.Vector128 indices) => throw null; + public static System.Runtime.Intrinsics.Vector128 Shuffle(System.Runtime.Intrinsics.Vector128 vector, System.Runtime.Intrinsics.Vector128 indices) => throw null; + public static System.Runtime.Intrinsics.Vector128 Shuffle(System.Runtime.Intrinsics.Vector128 vector, System.Runtime.Intrinsics.Vector128 indices) => throw null; + public static System.Runtime.Intrinsics.Vector128 Shuffle(System.Runtime.Intrinsics.Vector128 vector, System.Runtime.Intrinsics.Vector128 indices) => throw null; + public static System.Runtime.Intrinsics.Vector128 Sqrt(System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; + unsafe public static void Store(this System.Runtime.Intrinsics.Vector128 source, T* destination) where T : unmanaged => throw null; + unsafe public static void StoreAligned(this System.Runtime.Intrinsics.Vector128 source, T* destination) where T : unmanaged => throw null; + unsafe public static void StoreAlignedNonTemporal(this System.Runtime.Intrinsics.Vector128 source, T* destination) where T : unmanaged => throw null; + public static void StoreUnsafe(this System.Runtime.Intrinsics.Vector128 source, ref T destination) where T : struct => throw null; + public static void StoreUnsafe(this System.Runtime.Intrinsics.Vector128 source, ref T destination, System.UIntPtr elementOffset) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Subtract(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; + public static T Sum(System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; public static T ToScalar(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector256 ToVector256(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector256 ToVector256Unsafe(this System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; + public static bool TryCopyTo(this System.Runtime.Intrinsics.Vector128 vector, System.Span destination) where T : struct => throw null; + public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) Widen(System.Runtime.Intrinsics.Vector128 source) => throw null; + public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) Widen(System.Runtime.Intrinsics.Vector128 source) => throw null; + public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) Widen(System.Runtime.Intrinsics.Vector128 source) => throw null; + public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) Widen(System.Runtime.Intrinsics.Vector128 source) => throw null; + public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) Widen(System.Runtime.Intrinsics.Vector128 source) => throw null; + public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) Widen(System.Runtime.Intrinsics.Vector128 source) => throw null; + public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) Widen(System.Runtime.Intrinsics.Vector128 source) => throw null; public static System.Runtime.Intrinsics.Vector128 WithElement(this System.Runtime.Intrinsics.Vector128 vector, int index, T value) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector128 WithLower(this System.Runtime.Intrinsics.Vector128 vector, System.Runtime.Intrinsics.Vector64 value) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector128 WithUpper(this System.Runtime.Intrinsics.Vector128 vector, System.Runtime.Intrinsics.Vector64 value) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector128 Xor(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; } - // Generated from `System.Runtime.Intrinsics.Vector128<>` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Vector128<>` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Vector128 : System.IEquatable> where T : struct { + public static bool operator !=(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; + public static System.Runtime.Intrinsics.Vector128 operator &(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; + public static System.Runtime.Intrinsics.Vector128 operator *(T left, System.Runtime.Intrinsics.Vector128 right) => throw null; + public static System.Runtime.Intrinsics.Vector128 operator *(System.Runtime.Intrinsics.Vector128 left, T right) => throw null; + public static System.Runtime.Intrinsics.Vector128 operator *(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; + public static System.Runtime.Intrinsics.Vector128 operator +(System.Runtime.Intrinsics.Vector128 value) => throw null; + public static System.Runtime.Intrinsics.Vector128 operator +(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; + public static System.Runtime.Intrinsics.Vector128 operator -(System.Runtime.Intrinsics.Vector128 vector) => throw null; + public static System.Runtime.Intrinsics.Vector128 operator -(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; + public static System.Runtime.Intrinsics.Vector128 operator /(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; + public static bool operator ==(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; public static System.Runtime.Intrinsics.Vector128 AllBitsSet { get => throw null; } public static int Count { get => throw null; } public bool Equals(System.Runtime.Intrinsics.Vector128 other) => throw null; public override bool Equals(object obj) => throw null; public override int GetHashCode() => throw null; + public static bool IsSupported { get => throw null; } + public T this[int index] { get => throw null; } public override string ToString() => throw null; // Stub generator skipped constructor public static System.Runtime.Intrinsics.Vector128 Zero { get => throw null; } + public static System.Runtime.Intrinsics.Vector128 operator ^(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; + public static System.Runtime.Intrinsics.Vector128 operator |(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; + public static System.Runtime.Intrinsics.Vector128 operator ~(System.Runtime.Intrinsics.Vector128 vector) => throw null; } - // Generated from `System.Runtime.Intrinsics.Vector256` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Vector256` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Vector256 { - public static System.Runtime.Intrinsics.Vector256 As(this System.Runtime.Intrinsics.Vector256 vector) where T : struct where U : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Abs(System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Add(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 AndNot(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 As(this System.Runtime.Intrinsics.Vector256 vector) where TFrom : struct where TTo : struct => throw null; public static System.Runtime.Intrinsics.Vector256 AsByte(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector256 AsDouble(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector256 AsInt16(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector256 AsInt32(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector256 AsInt64(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 AsNInt(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 AsNUInt(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector256 AsSByte(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector256 AsSingle(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector256 AsUInt16(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; @@ -118,6 +262,24 @@ namespace System public static System.Runtime.Intrinsics.Vector256 AsUInt64(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector256 AsVector256(this System.Numerics.Vector value) where T : struct => throw null; public static System.Numerics.Vector AsVector(this System.Runtime.Intrinsics.Vector256 value) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 BitwiseAnd(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 BitwiseOr(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Ceiling(System.Runtime.Intrinsics.Vector256 vector) => throw null; + public static System.Runtime.Intrinsics.Vector256 Ceiling(System.Runtime.Intrinsics.Vector256 vector) => throw null; + public static System.Runtime.Intrinsics.Vector256 ConditionalSelect(System.Runtime.Intrinsics.Vector256 condition, System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 ConvertToDouble(System.Runtime.Intrinsics.Vector256 vector) => throw null; + public static System.Runtime.Intrinsics.Vector256 ConvertToDouble(System.Runtime.Intrinsics.Vector256 vector) => throw null; + public static System.Runtime.Intrinsics.Vector256 ConvertToInt32(System.Runtime.Intrinsics.Vector256 vector) => throw null; + public static System.Runtime.Intrinsics.Vector256 ConvertToInt64(System.Runtime.Intrinsics.Vector256 vector) => throw null; + public static System.Runtime.Intrinsics.Vector256 ConvertToSingle(System.Runtime.Intrinsics.Vector256 vector) => throw null; + public static System.Runtime.Intrinsics.Vector256 ConvertToSingle(System.Runtime.Intrinsics.Vector256 vector) => throw null; + public static System.Runtime.Intrinsics.Vector256 ConvertToUInt32(System.Runtime.Intrinsics.Vector256 vector) => throw null; + public static System.Runtime.Intrinsics.Vector256 ConvertToUInt64(System.Runtime.Intrinsics.Vector256 vector) => throw null; + public static void CopyTo(this System.Runtime.Intrinsics.Vector256 vector, System.Span destination) where T : struct => throw null; + public static void CopyTo(this System.Runtime.Intrinsics.Vector256 vector, T[] destination) where T : struct => throw null; + public static void CopyTo(this System.Runtime.Intrinsics.Vector256 vector, T[] destination, int startIndex) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Create(System.IntPtr value) => throw null; + public static System.Runtime.Intrinsics.Vector256 Create(System.UIntPtr value) => throw null; public static System.Runtime.Intrinsics.Vector256 Create(System.Runtime.Intrinsics.Vector128 lower, System.Runtime.Intrinsics.Vector128 upper) => throw null; public static System.Runtime.Intrinsics.Vector256 Create(System.Runtime.Intrinsics.Vector128 lower, System.Runtime.Intrinsics.Vector128 upper) => throw null; public static System.Runtime.Intrinsics.Vector256 Create(System.Runtime.Intrinsics.Vector128 lower, System.Runtime.Intrinsics.Vector128 upper) => throw null; @@ -148,6 +310,12 @@ namespace System public static System.Runtime.Intrinsics.Vector256 Create(System.UInt64 e0, System.UInt64 e1, System.UInt64 e2, System.UInt64 e3) => throw null; public static System.Runtime.Intrinsics.Vector256 Create(System.UInt16 value) => throw null; public static System.Runtime.Intrinsics.Vector256 Create(System.UInt16 e0, System.UInt16 e1, System.UInt16 e2, System.UInt16 e3, System.UInt16 e4, System.UInt16 e5, System.UInt16 e6, System.UInt16 e7, System.UInt16 e8, System.UInt16 e9, System.UInt16 e10, System.UInt16 e11, System.UInt16 e12, System.UInt16 e13, System.UInt16 e14, System.UInt16 e15) => throw null; + public static System.Runtime.Intrinsics.Vector256 Create(System.ReadOnlySpan values) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Create(T value) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Create(T[] values) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Create(T[] values, int index) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 CreateScalar(System.IntPtr value) => throw null; + public static System.Runtime.Intrinsics.Vector256 CreateScalar(System.UIntPtr value) => throw null; public static System.Runtime.Intrinsics.Vector256 CreateScalar(System.Byte value) => throw null; public static System.Runtime.Intrinsics.Vector256 CreateScalar(double value) => throw null; public static System.Runtime.Intrinsics.Vector256 CreateScalar(float value) => throw null; @@ -158,6 +326,8 @@ namespace System public static System.Runtime.Intrinsics.Vector256 CreateScalar(System.UInt32 value) => throw null; public static System.Runtime.Intrinsics.Vector256 CreateScalar(System.UInt64 value) => throw null; public static System.Runtime.Intrinsics.Vector256 CreateScalar(System.UInt16 value) => throw null; + public static System.Runtime.Intrinsics.Vector256 CreateScalarUnsafe(System.IntPtr value) => throw null; + public static System.Runtime.Intrinsics.Vector256 CreateScalarUnsafe(System.UIntPtr value) => throw null; public static System.Runtime.Intrinsics.Vector256 CreateScalarUnsafe(System.Byte value) => throw null; public static System.Runtime.Intrinsics.Vector256 CreateScalarUnsafe(double value) => throw null; public static System.Runtime.Intrinsics.Vector256 CreateScalarUnsafe(float value) => throw null; @@ -168,42 +338,173 @@ namespace System public static System.Runtime.Intrinsics.Vector256 CreateScalarUnsafe(System.UInt32 value) => throw null; public static System.Runtime.Intrinsics.Vector256 CreateScalarUnsafe(System.UInt64 value) => throw null; public static System.Runtime.Intrinsics.Vector256 CreateScalarUnsafe(System.UInt16 value) => throw null; + public static System.Runtime.Intrinsics.Vector256 Divide(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static T Dot(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Equals(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static bool EqualsAll(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static bool EqualsAny(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static System.UInt32 ExtractMostSignificantBits(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Floor(System.Runtime.Intrinsics.Vector256 vector) => throw null; + public static System.Runtime.Intrinsics.Vector256 Floor(System.Runtime.Intrinsics.Vector256 vector) => throw null; public static T GetElement(this System.Runtime.Intrinsics.Vector256 vector, int index) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector128 GetLower(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector128 GetUpper(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 GreaterThan(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static bool GreaterThanAll(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static bool GreaterThanAny(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 GreaterThanOrEqual(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static bool GreaterThanOrEqualAll(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static bool GreaterThanOrEqualAny(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static bool IsHardwareAccelerated { get => throw null; } + public static System.Runtime.Intrinsics.Vector256 LessThan(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static bool LessThanAll(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static bool LessThanAny(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 LessThanOrEqual(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static bool LessThanOrEqualAll(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static bool LessThanOrEqualAny(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + unsafe public static System.Runtime.Intrinsics.Vector256 Load(T* source) where T : unmanaged => throw null; + unsafe public static System.Runtime.Intrinsics.Vector256 LoadAligned(T* source) where T : unmanaged => throw null; + unsafe public static System.Runtime.Intrinsics.Vector256 LoadAlignedNonTemporal(T* source) where T : unmanaged => throw null; + public static System.Runtime.Intrinsics.Vector256 LoadUnsafe(ref T source) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 LoadUnsafe(ref T source, System.UIntPtr elementOffset) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Max(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Min(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Multiply(T left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Multiply(System.Runtime.Intrinsics.Vector256 left, T right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Multiply(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Narrow(System.Runtime.Intrinsics.Vector256 lower, System.Runtime.Intrinsics.Vector256 upper) => throw null; + public static System.Runtime.Intrinsics.Vector256 Narrow(System.Runtime.Intrinsics.Vector256 lower, System.Runtime.Intrinsics.Vector256 upper) => throw null; + public static System.Runtime.Intrinsics.Vector256 Narrow(System.Runtime.Intrinsics.Vector256 lower, System.Runtime.Intrinsics.Vector256 upper) => throw null; + public static System.Runtime.Intrinsics.Vector256 Narrow(System.Runtime.Intrinsics.Vector256 lower, System.Runtime.Intrinsics.Vector256 upper) => throw null; + public static System.Runtime.Intrinsics.Vector256 Narrow(System.Runtime.Intrinsics.Vector256 lower, System.Runtime.Intrinsics.Vector256 upper) => throw null; + public static System.Runtime.Intrinsics.Vector256 Narrow(System.Runtime.Intrinsics.Vector256 lower, System.Runtime.Intrinsics.Vector256 upper) => throw null; + public static System.Runtime.Intrinsics.Vector256 Narrow(System.Runtime.Intrinsics.Vector256 lower, System.Runtime.Intrinsics.Vector256 upper) => throw null; + public static System.Runtime.Intrinsics.Vector256 Negate(System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 OnesComplement(System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftLeft(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftLeft(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftLeft(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftLeft(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftLeft(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftLeft(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftLeft(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftLeft(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftLeft(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftLeft(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightLogical(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightLogical(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightLogical(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightLogical(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightLogical(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightLogical(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightLogical(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightLogical(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightLogical(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 ShiftRightLogical(System.Runtime.Intrinsics.Vector256 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector256 Shuffle(System.Runtime.Intrinsics.Vector256 vector, System.Runtime.Intrinsics.Vector256 indices) => throw null; + public static System.Runtime.Intrinsics.Vector256 Shuffle(System.Runtime.Intrinsics.Vector256 vector, System.Runtime.Intrinsics.Vector256 indices) => throw null; + public static System.Runtime.Intrinsics.Vector256 Shuffle(System.Runtime.Intrinsics.Vector256 vector, System.Runtime.Intrinsics.Vector256 indices) => throw null; + public static System.Runtime.Intrinsics.Vector256 Shuffle(System.Runtime.Intrinsics.Vector256 vector, System.Runtime.Intrinsics.Vector256 indices) => throw null; + public static System.Runtime.Intrinsics.Vector256 Shuffle(System.Runtime.Intrinsics.Vector256 vector, System.Runtime.Intrinsics.Vector256 indices) => throw null; + public static System.Runtime.Intrinsics.Vector256 Shuffle(System.Runtime.Intrinsics.Vector256 vector, System.Runtime.Intrinsics.Vector256 indices) => throw null; + public static System.Runtime.Intrinsics.Vector256 Shuffle(System.Runtime.Intrinsics.Vector256 vector, System.Runtime.Intrinsics.Vector256 indices) => throw null; + public static System.Runtime.Intrinsics.Vector256 Shuffle(System.Runtime.Intrinsics.Vector256 vector, System.Runtime.Intrinsics.Vector256 indices) => throw null; + public static System.Runtime.Intrinsics.Vector256 Shuffle(System.Runtime.Intrinsics.Vector256 vector, System.Runtime.Intrinsics.Vector256 indices) => throw null; + public static System.Runtime.Intrinsics.Vector256 Shuffle(System.Runtime.Intrinsics.Vector256 vector, System.Runtime.Intrinsics.Vector256 indices) => throw null; + public static System.Runtime.Intrinsics.Vector256 Sqrt(System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; + unsafe public static void Store(this System.Runtime.Intrinsics.Vector256 source, T* destination) where T : unmanaged => throw null; + unsafe public static void StoreAligned(this System.Runtime.Intrinsics.Vector256 source, T* destination) where T : unmanaged => throw null; + unsafe public static void StoreAlignedNonTemporal(this System.Runtime.Intrinsics.Vector256 source, T* destination) where T : unmanaged => throw null; + public static void StoreUnsafe(this System.Runtime.Intrinsics.Vector256 source, ref T destination) where T : struct => throw null; + public static void StoreUnsafe(this System.Runtime.Intrinsics.Vector256 source, ref T destination, System.UIntPtr elementOffset) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Subtract(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; + public static T Sum(System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; public static T ToScalar(this System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; + public static bool TryCopyTo(this System.Runtime.Intrinsics.Vector256 vector, System.Span destination) where T : struct => throw null; + public static (System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256) Widen(System.Runtime.Intrinsics.Vector256 source) => throw null; + public static (System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256) Widen(System.Runtime.Intrinsics.Vector256 source) => throw null; + public static (System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256) Widen(System.Runtime.Intrinsics.Vector256 source) => throw null; + public static (System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256) Widen(System.Runtime.Intrinsics.Vector256 source) => throw null; + public static (System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256) Widen(System.Runtime.Intrinsics.Vector256 source) => throw null; + public static (System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256) Widen(System.Runtime.Intrinsics.Vector256 source) => throw null; + public static (System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256) Widen(System.Runtime.Intrinsics.Vector256 source) => throw null; public static System.Runtime.Intrinsics.Vector256 WithElement(this System.Runtime.Intrinsics.Vector256 vector, int index, T value) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector256 WithLower(this System.Runtime.Intrinsics.Vector256 vector, System.Runtime.Intrinsics.Vector128 value) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector256 WithUpper(this System.Runtime.Intrinsics.Vector256 vector, System.Runtime.Intrinsics.Vector128 value) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector256 Xor(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; } - // Generated from `System.Runtime.Intrinsics.Vector256<>` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Vector256<>` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Vector256 : System.IEquatable> where T : struct { + public static bool operator !=(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; + public static System.Runtime.Intrinsics.Vector256 operator &(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; + public static System.Runtime.Intrinsics.Vector256 operator *(T left, System.Runtime.Intrinsics.Vector256 right) => throw null; + public static System.Runtime.Intrinsics.Vector256 operator *(System.Runtime.Intrinsics.Vector256 left, T right) => throw null; + public static System.Runtime.Intrinsics.Vector256 operator *(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; + public static System.Runtime.Intrinsics.Vector256 operator +(System.Runtime.Intrinsics.Vector256 value) => throw null; + public static System.Runtime.Intrinsics.Vector256 operator +(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; + public static System.Runtime.Intrinsics.Vector256 operator -(System.Runtime.Intrinsics.Vector256 vector) => throw null; + public static System.Runtime.Intrinsics.Vector256 operator -(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; + public static System.Runtime.Intrinsics.Vector256 operator /(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; + public static bool operator ==(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; public static System.Runtime.Intrinsics.Vector256 AllBitsSet { get => throw null; } public static int Count { get => throw null; } public bool Equals(System.Runtime.Intrinsics.Vector256 other) => throw null; public override bool Equals(object obj) => throw null; public override int GetHashCode() => throw null; + public static bool IsSupported { get => throw null; } + public T this[int index] { get => throw null; } public override string ToString() => throw null; // Stub generator skipped constructor public static System.Runtime.Intrinsics.Vector256 Zero { get => throw null; } + public static System.Runtime.Intrinsics.Vector256 operator ^(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; + public static System.Runtime.Intrinsics.Vector256 operator |(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; + public static System.Runtime.Intrinsics.Vector256 operator ~(System.Runtime.Intrinsics.Vector256 vector) => throw null; } - // Generated from `System.Runtime.Intrinsics.Vector64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Vector64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Vector64 { - public static System.Runtime.Intrinsics.Vector64 As(this System.Runtime.Intrinsics.Vector64 vector) where T : struct where U : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Abs(System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Add(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 AndNot(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 As(this System.Runtime.Intrinsics.Vector64 vector) where TFrom : struct where TTo : struct => throw null; public static System.Runtime.Intrinsics.Vector64 AsByte(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector64 AsDouble(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector64 AsInt16(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector64 AsInt32(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector64 AsInt64(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 AsNInt(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 AsNUInt(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector64 AsSByte(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector64 AsSingle(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector64 AsUInt16(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector64 AsUInt32(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector64 AsUInt64(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 BitwiseAnd(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 BitwiseOr(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Ceiling(System.Runtime.Intrinsics.Vector64 vector) => throw null; + public static System.Runtime.Intrinsics.Vector64 Ceiling(System.Runtime.Intrinsics.Vector64 vector) => throw null; + public static System.Runtime.Intrinsics.Vector64 ConditionalSelect(System.Runtime.Intrinsics.Vector64 condition, System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 ConvertToDouble(System.Runtime.Intrinsics.Vector64 vector) => throw null; + public static System.Runtime.Intrinsics.Vector64 ConvertToDouble(System.Runtime.Intrinsics.Vector64 vector) => throw null; + public static System.Runtime.Intrinsics.Vector64 ConvertToInt32(System.Runtime.Intrinsics.Vector64 vector) => throw null; + public static System.Runtime.Intrinsics.Vector64 ConvertToInt64(System.Runtime.Intrinsics.Vector64 vector) => throw null; + public static System.Runtime.Intrinsics.Vector64 ConvertToSingle(System.Runtime.Intrinsics.Vector64 vector) => throw null; + public static System.Runtime.Intrinsics.Vector64 ConvertToSingle(System.Runtime.Intrinsics.Vector64 vector) => throw null; + public static System.Runtime.Intrinsics.Vector64 ConvertToUInt32(System.Runtime.Intrinsics.Vector64 vector) => throw null; + public static System.Runtime.Intrinsics.Vector64 ConvertToUInt64(System.Runtime.Intrinsics.Vector64 vector) => throw null; + public static void CopyTo(this System.Runtime.Intrinsics.Vector64 vector, System.Span destination) where T : struct => throw null; + public static void CopyTo(this System.Runtime.Intrinsics.Vector64 vector, T[] destination) where T : struct => throw null; + public static void CopyTo(this System.Runtime.Intrinsics.Vector64 vector, T[] destination, int startIndex) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Create(System.IntPtr value) => throw null; + public static System.Runtime.Intrinsics.Vector64 Create(System.UIntPtr value) => throw null; public static System.Runtime.Intrinsics.Vector64 Create(System.Byte value) => throw null; public static System.Runtime.Intrinsics.Vector64 Create(System.Byte e0, System.Byte e1, System.Byte e2, System.Byte e3, System.Byte e4, System.Byte e5, System.Byte e6, System.Byte e7) => throw null; public static System.Runtime.Intrinsics.Vector64 Create(double value) => throw null; @@ -221,6 +522,12 @@ namespace System public static System.Runtime.Intrinsics.Vector64 Create(System.UInt64 value) => throw null; public static System.Runtime.Intrinsics.Vector64 Create(System.UInt16 value) => throw null; public static System.Runtime.Intrinsics.Vector64 Create(System.UInt16 e0, System.UInt16 e1, System.UInt16 e2, System.UInt16 e3) => throw null; + public static System.Runtime.Intrinsics.Vector64 Create(System.ReadOnlySpan values) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Create(T value) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Create(T[] values) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Create(T[] values, int index) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 CreateScalar(System.IntPtr value) => throw null; + public static System.Runtime.Intrinsics.Vector64 CreateScalar(System.UIntPtr value) => throw null; public static System.Runtime.Intrinsics.Vector64 CreateScalar(System.Byte value) => throw null; public static System.Runtime.Intrinsics.Vector64 CreateScalar(double value) => throw null; public static System.Runtime.Intrinsics.Vector64 CreateScalar(float value) => throw null; @@ -231,6 +538,8 @@ namespace System public static System.Runtime.Intrinsics.Vector64 CreateScalar(System.UInt32 value) => throw null; public static System.Runtime.Intrinsics.Vector64 CreateScalar(System.UInt64 value) => throw null; public static System.Runtime.Intrinsics.Vector64 CreateScalar(System.UInt16 value) => throw null; + public static System.Runtime.Intrinsics.Vector64 CreateScalarUnsafe(System.IntPtr value) => throw null; + public static System.Runtime.Intrinsics.Vector64 CreateScalarUnsafe(System.UIntPtr value) => throw null; public static System.Runtime.Intrinsics.Vector64 CreateScalarUnsafe(System.Byte value) => throw null; public static System.Runtime.Intrinsics.Vector64 CreateScalarUnsafe(float value) => throw null; public static System.Runtime.Intrinsics.Vector64 CreateScalarUnsafe(int value) => throw null; @@ -238,32 +547,137 @@ namespace System public static System.Runtime.Intrinsics.Vector64 CreateScalarUnsafe(System.Int16 value) => throw null; public static System.Runtime.Intrinsics.Vector64 CreateScalarUnsafe(System.UInt32 value) => throw null; public static System.Runtime.Intrinsics.Vector64 CreateScalarUnsafe(System.UInt16 value) => throw null; + public static System.Runtime.Intrinsics.Vector64 Divide(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static T Dot(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Equals(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static bool EqualsAll(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static bool EqualsAny(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static System.UInt32 ExtractMostSignificantBits(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Floor(System.Runtime.Intrinsics.Vector64 vector) => throw null; + public static System.Runtime.Intrinsics.Vector64 Floor(System.Runtime.Intrinsics.Vector64 vector) => throw null; public static T GetElement(this System.Runtime.Intrinsics.Vector64 vector, int index) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 GreaterThan(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static bool GreaterThanAll(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static bool GreaterThanAny(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 GreaterThanOrEqual(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static bool GreaterThanOrEqualAll(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static bool GreaterThanOrEqualAny(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static bool IsHardwareAccelerated { get => throw null; } + public static System.Runtime.Intrinsics.Vector64 LessThan(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static bool LessThanAll(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static bool LessThanAny(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 LessThanOrEqual(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static bool LessThanOrEqualAll(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static bool LessThanOrEqualAny(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + unsafe public static System.Runtime.Intrinsics.Vector64 Load(T* source) where T : unmanaged => throw null; + unsafe public static System.Runtime.Intrinsics.Vector64 LoadAligned(T* source) where T : unmanaged => throw null; + unsafe public static System.Runtime.Intrinsics.Vector64 LoadAlignedNonTemporal(T* source) where T : unmanaged => throw null; + public static System.Runtime.Intrinsics.Vector64 LoadUnsafe(ref T source) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 LoadUnsafe(ref T source, System.UIntPtr elementOffset) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Max(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Min(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Multiply(T left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Multiply(System.Runtime.Intrinsics.Vector64 left, T right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Multiply(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Narrow(System.Runtime.Intrinsics.Vector64 lower, System.Runtime.Intrinsics.Vector64 upper) => throw null; + public static System.Runtime.Intrinsics.Vector64 Narrow(System.Runtime.Intrinsics.Vector64 lower, System.Runtime.Intrinsics.Vector64 upper) => throw null; + public static System.Runtime.Intrinsics.Vector64 Narrow(System.Runtime.Intrinsics.Vector64 lower, System.Runtime.Intrinsics.Vector64 upper) => throw null; + public static System.Runtime.Intrinsics.Vector64 Narrow(System.Runtime.Intrinsics.Vector64 lower, System.Runtime.Intrinsics.Vector64 upper) => throw null; + public static System.Runtime.Intrinsics.Vector64 Narrow(System.Runtime.Intrinsics.Vector64 lower, System.Runtime.Intrinsics.Vector64 upper) => throw null; + public static System.Runtime.Intrinsics.Vector64 Narrow(System.Runtime.Intrinsics.Vector64 lower, System.Runtime.Intrinsics.Vector64 upper) => throw null; + public static System.Runtime.Intrinsics.Vector64 Narrow(System.Runtime.Intrinsics.Vector64 lower, System.Runtime.Intrinsics.Vector64 upper) => throw null; + public static System.Runtime.Intrinsics.Vector64 Negate(System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 OnesComplement(System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftLeft(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftLeft(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftLeft(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftLeft(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftLeft(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftLeft(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftLeft(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftLeft(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftLeft(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftLeft(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightArithmetic(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightLogical(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightLogical(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightLogical(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightLogical(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightLogical(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightLogical(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightLogical(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightLogical(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightLogical(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 ShiftRightLogical(System.Runtime.Intrinsics.Vector64 vector, int shiftCount) => throw null; + public static System.Runtime.Intrinsics.Vector64 Shuffle(System.Runtime.Intrinsics.Vector64 vector, System.Runtime.Intrinsics.Vector64 indices) => throw null; + public static System.Runtime.Intrinsics.Vector64 Shuffle(System.Runtime.Intrinsics.Vector64 vector, System.Runtime.Intrinsics.Vector64 indices) => throw null; + public static System.Runtime.Intrinsics.Vector64 Shuffle(System.Runtime.Intrinsics.Vector64 vector, System.Runtime.Intrinsics.Vector64 indices) => throw null; + public static System.Runtime.Intrinsics.Vector64 Shuffle(System.Runtime.Intrinsics.Vector64 vector, System.Runtime.Intrinsics.Vector64 indices) => throw null; + public static System.Runtime.Intrinsics.Vector64 Shuffle(System.Runtime.Intrinsics.Vector64 vector, System.Runtime.Intrinsics.Vector64 indices) => throw null; + public static System.Runtime.Intrinsics.Vector64 Shuffle(System.Runtime.Intrinsics.Vector64 vector, System.Runtime.Intrinsics.Vector64 indices) => throw null; + public static System.Runtime.Intrinsics.Vector64 Shuffle(System.Runtime.Intrinsics.Vector64 vector, System.Runtime.Intrinsics.Vector64 indices) => throw null; + public static System.Runtime.Intrinsics.Vector64 Sqrt(System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; + unsafe public static void Store(this System.Runtime.Intrinsics.Vector64 source, T* destination) where T : unmanaged => throw null; + unsafe public static void StoreAligned(this System.Runtime.Intrinsics.Vector64 source, T* destination) where T : unmanaged => throw null; + unsafe public static void StoreAlignedNonTemporal(this System.Runtime.Intrinsics.Vector64 source, T* destination) where T : unmanaged => throw null; + public static void StoreUnsafe(this System.Runtime.Intrinsics.Vector64 source, ref T destination) where T : struct => throw null; + public static void StoreUnsafe(this System.Runtime.Intrinsics.Vector64 source, ref T destination, System.UIntPtr elementOffset) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Subtract(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; + public static T Sum(System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; public static T ToScalar(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector128 ToVector128(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; public static System.Runtime.Intrinsics.Vector128 ToVector128Unsafe(this System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; + public static bool TryCopyTo(this System.Runtime.Intrinsics.Vector64 vector, System.Span destination) where T : struct => throw null; + public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) Widen(System.Runtime.Intrinsics.Vector64 source) => throw null; + public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) Widen(System.Runtime.Intrinsics.Vector64 source) => throw null; + public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) Widen(System.Runtime.Intrinsics.Vector64 source) => throw null; + public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) Widen(System.Runtime.Intrinsics.Vector64 source) => throw null; + public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) Widen(System.Runtime.Intrinsics.Vector64 source) => throw null; + public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) Widen(System.Runtime.Intrinsics.Vector64 source) => throw null; + public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) Widen(System.Runtime.Intrinsics.Vector64 source) => throw null; public static System.Runtime.Intrinsics.Vector64 WithElement(this System.Runtime.Intrinsics.Vector64 vector, int index, T value) where T : struct => throw null; + public static System.Runtime.Intrinsics.Vector64 Xor(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; } - // Generated from `System.Runtime.Intrinsics.Vector64<>` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Vector64<>` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Vector64 : System.IEquatable> where T : struct { + public static bool operator !=(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) => throw null; + public static System.Runtime.Intrinsics.Vector64 operator &(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) => throw null; + public static System.Runtime.Intrinsics.Vector64 operator *(T left, System.Runtime.Intrinsics.Vector64 right) => throw null; + public static System.Runtime.Intrinsics.Vector64 operator *(System.Runtime.Intrinsics.Vector64 left, T right) => throw null; + public static System.Runtime.Intrinsics.Vector64 operator *(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) => throw null; + public static System.Runtime.Intrinsics.Vector64 operator +(System.Runtime.Intrinsics.Vector64 value) => throw null; + public static System.Runtime.Intrinsics.Vector64 operator +(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) => throw null; + public static System.Runtime.Intrinsics.Vector64 operator -(System.Runtime.Intrinsics.Vector64 vector) => throw null; + public static System.Runtime.Intrinsics.Vector64 operator -(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) => throw null; + public static System.Runtime.Intrinsics.Vector64 operator /(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) => throw null; + public static bool operator ==(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) => throw null; public static System.Runtime.Intrinsics.Vector64 AllBitsSet { get => throw null; } public static int Count { get => throw null; } public bool Equals(System.Runtime.Intrinsics.Vector64 other) => throw null; public override bool Equals(object obj) => throw null; public override int GetHashCode() => throw null; + public static bool IsSupported { get => throw null; } + public T this[int index] { get => throw null; } public override string ToString() => throw null; // Stub generator skipped constructor public static System.Runtime.Intrinsics.Vector64 Zero { get => throw null; } + public static System.Runtime.Intrinsics.Vector64 operator ^(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) => throw null; + public static System.Runtime.Intrinsics.Vector64 operator |(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) => throw null; + public static System.Runtime.Intrinsics.Vector64 operator ~(System.Runtime.Intrinsics.Vector64 vector) => throw null; } namespace Arm { - // Generated from `System.Runtime.Intrinsics.Arm.AdvSimd` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.AdvSimd` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class AdvSimd : System.Runtime.Intrinsics.Arm.ArmBase { - // Generated from `System.Runtime.Intrinsics.Arm.AdvSimd+Arm64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.AdvSimd+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.ArmBase.Arm64 { public static System.Runtime.Intrinsics.Vector128 Abs(System.Runtime.Intrinsics.Vector128 value) => throw null; @@ -503,6 +917,52 @@ namespace System unsafe public static System.Runtime.Intrinsics.Vector128 LoadAndReplicateToVector128(double* address) => throw null; unsafe public static System.Runtime.Intrinsics.Vector128 LoadAndReplicateToVector128(System.Int64* address) => throw null; unsafe public static System.Runtime.Intrinsics.Vector128 LoadAndReplicateToVector128(System.UInt64* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairScalarVector64(float* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairScalarVector64(int* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairScalarVector64(System.UInt32* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairScalarVector64NonTemporal(float* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairScalarVector64NonTemporal(int* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairScalarVector64NonTemporal(System.UInt32* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128(System.Byte* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128(double* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128(float* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128(int* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128(System.Int64* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128(System.SByte* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128(System.Int16* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128(System.UInt32* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128(System.UInt64* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128(System.UInt16* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128NonTemporal(System.Byte* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128NonTemporal(double* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128NonTemporal(float* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128NonTemporal(int* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128NonTemporal(System.Int64* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128NonTemporal(System.SByte* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128NonTemporal(System.Int16* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128NonTemporal(System.UInt32* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128NonTemporal(System.UInt64* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector128, System.Runtime.Intrinsics.Vector128) LoadPairVector128NonTemporal(System.UInt16* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64(System.Byte* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64(double* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64(float* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64(int* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64(System.Int64* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64(System.SByte* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64(System.Int16* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64(System.UInt32* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64(System.UInt64* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64(System.UInt16* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64NonTemporal(System.Byte* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64NonTemporal(double* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64NonTemporal(float* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64NonTemporal(int* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64NonTemporal(System.Int64* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64NonTemporal(System.SByte* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64NonTemporal(System.Int16* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64NonTemporal(System.UInt32* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64NonTemporal(System.UInt64* address) => throw null; + unsafe public static (System.Runtime.Intrinsics.Vector64, System.Runtime.Intrinsics.Vector64) LoadPairVector64NonTemporal(System.UInt16* address) => throw null; public static System.Runtime.Intrinsics.Vector128 Max(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; public static System.Runtime.Intrinsics.Vector64 MaxAcross(System.Runtime.Intrinsics.Vector128 value) => throw null; public static System.Runtime.Intrinsics.Vector64 MaxAcross(System.Runtime.Intrinsics.Vector128 value) => throw null; @@ -2476,10 +2936,10 @@ namespace System public static System.Runtime.Intrinsics.Vector128 ZeroExtendWideningUpper(System.Runtime.Intrinsics.Vector128 value) => throw null; } - // Generated from `System.Runtime.Intrinsics.Arm.Aes` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.Aes` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Aes : System.Runtime.Intrinsics.Arm.ArmBase { - // Generated from `System.Runtime.Intrinsics.Arm.Aes+Arm64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.Aes+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.ArmBase.Arm64 { public static bool IsSupported { get => throw null; } @@ -2497,10 +2957,10 @@ namespace System public static System.Runtime.Intrinsics.Vector128 PolynomialMultiplyWideningUpper(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.Arm.ArmBase` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.ArmBase` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ArmBase { - // Generated from `System.Runtime.Intrinsics.Arm.ArmBase+Arm64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.ArmBase+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 { internal Arm64() => throw null; @@ -2522,12 +2982,13 @@ namespace System public static int LeadingZeroCount(System.UInt32 value) => throw null; public static int ReverseElementBits(int value) => throw null; public static System.UInt32 ReverseElementBits(System.UInt32 value) => throw null; + public static void Yield() => throw null; } - // Generated from `System.Runtime.Intrinsics.Arm.Crc32` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.Crc32` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Crc32 : System.Runtime.Intrinsics.Arm.ArmBase { - // Generated from `System.Runtime.Intrinsics.Arm.Crc32+Arm64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.Crc32+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.ArmBase.Arm64 { public static System.UInt32 ComputeCrc32(System.UInt32 crc, System.UInt64 data) => throw null; @@ -2545,10 +3006,10 @@ namespace System public static bool IsSupported { get => throw null; } } - // Generated from `System.Runtime.Intrinsics.Arm.Dp` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.Dp` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Dp : System.Runtime.Intrinsics.Arm.AdvSimd { - // Generated from `System.Runtime.Intrinsics.Arm.Dp+Arm64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.Dp+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.AdvSimd.Arm64 { public static bool IsSupported { get => throw null; } @@ -2570,10 +3031,10 @@ namespace System public static bool IsSupported { get => throw null; } } - // Generated from `System.Runtime.Intrinsics.Arm.Rdm` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.Rdm` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Rdm : System.Runtime.Intrinsics.Arm.AdvSimd { - // Generated from `System.Runtime.Intrinsics.Arm.Rdm+Arm64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.Rdm+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.AdvSimd.Arm64 { public static bool IsSupported { get => throw null; } @@ -2619,10 +3080,10 @@ namespace System public static System.Runtime.Intrinsics.Vector64 MultiplyRoundedDoublingBySelectedScalarAndSubtractSaturateHigh(System.Runtime.Intrinsics.Vector64 minuend, System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right, System.Byte rightIndex) => throw null; } - // Generated from `System.Runtime.Intrinsics.Arm.Sha1` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.Sha1` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sha1 : System.Runtime.Intrinsics.Arm.ArmBase { - // Generated from `System.Runtime.Intrinsics.Arm.Sha1+Arm64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.Sha1+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.ArmBase.Arm64 { public static bool IsSupported { get => throw null; } @@ -2638,10 +3099,10 @@ namespace System public static System.Runtime.Intrinsics.Vector128 ScheduleUpdate1(System.Runtime.Intrinsics.Vector128 tw0_3, System.Runtime.Intrinsics.Vector128 w12_15) => throw null; } - // Generated from `System.Runtime.Intrinsics.Arm.Sha256` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.Sha256` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sha256 : System.Runtime.Intrinsics.Arm.ArmBase { - // Generated from `System.Runtime.Intrinsics.Arm.Sha256+Arm64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.Arm.Sha256+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.ArmBase.Arm64 { public static bool IsSupported { get => throw null; } @@ -2658,10 +3119,10 @@ namespace System } namespace X86 { - // Generated from `System.Runtime.Intrinsics.X86.Aes` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Aes` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Aes : System.Runtime.Intrinsics.X86.Sse2 { - // Generated from `System.Runtime.Intrinsics.X86.Aes+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Aes+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse2.X64 { public static bool IsSupported { get => throw null; } @@ -2677,10 +3138,10 @@ namespace System public static System.Runtime.Intrinsics.Vector128 KeygenAssist(System.Runtime.Intrinsics.Vector128 value, System.Byte control) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Avx` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Avx` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Avx : System.Runtime.Intrinsics.X86.Sse42 { - // Generated from `System.Runtime.Intrinsics.X86.Avx+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Avx+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse42.X64 { public static bool IsSupported { get => throw null; } @@ -2935,10 +3396,10 @@ namespace System public static System.Runtime.Intrinsics.Vector256 Xor(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Avx2` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Avx2` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Avx2 : System.Runtime.Intrinsics.X86.Avx { - // Generated from `System.Runtime.Intrinsics.X86.Avx2+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Avx2+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Avx.X64 { public static bool IsSupported { get => throw null; } @@ -3343,10 +3804,10 @@ namespace System public static System.Runtime.Intrinsics.Vector256 Xor(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.AvxVnni` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.AvxVnni` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class AvxVnni : System.Runtime.Intrinsics.X86.Avx2 { - // Generated from `System.Runtime.Intrinsics.X86.AvxVnni+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.AvxVnni+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Avx2.X64 { public static bool IsSupported { get => throw null; } @@ -3364,10 +3825,10 @@ namespace System public static System.Runtime.Intrinsics.Vector256 MultiplyWideningAndAddSaturate(System.Runtime.Intrinsics.Vector256 addend, System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Bmi1` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Bmi1` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Bmi1 : System.Runtime.Intrinsics.X86.X86Base { - // Generated from `System.Runtime.Intrinsics.X86.Bmi1+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Bmi1+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.X86Base.X64 { public static System.UInt64 AndNot(System.UInt64 left, System.UInt64 right) => throw null; @@ -3391,10 +3852,10 @@ namespace System public static System.UInt32 TrailingZeroCount(System.UInt32 value) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Bmi2` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Bmi2` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Bmi2 : System.Runtime.Intrinsics.X86.X86Base { - // Generated from `System.Runtime.Intrinsics.X86.Bmi2+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Bmi2+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.X86Base.X64 { public static bool IsSupported { get => throw null; } @@ -3414,7 +3875,7 @@ namespace System public static System.UInt32 ZeroHighBits(System.UInt32 value, System.UInt32 index) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.FloatComparisonMode` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.FloatComparisonMode` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum FloatComparisonMode : byte { OrderedEqualNonSignaling = 0, @@ -3451,10 +3912,10 @@ namespace System UnorderedTrueSignaling = 31, } - // Generated from `System.Runtime.Intrinsics.X86.Fma` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Fma` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Fma : System.Runtime.Intrinsics.X86.Avx { - // Generated from `System.Runtime.Intrinsics.X86.Fma+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Fma+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Avx.X64 { public static bool IsSupported { get => throw null; } @@ -3496,10 +3957,10 @@ namespace System public static System.Runtime.Intrinsics.Vector128 MultiplySubtractScalar(System.Runtime.Intrinsics.Vector128 a, System.Runtime.Intrinsics.Vector128 b, System.Runtime.Intrinsics.Vector128 c) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Lzcnt` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Lzcnt` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Lzcnt : System.Runtime.Intrinsics.X86.X86Base { - // Generated from `System.Runtime.Intrinsics.X86.Lzcnt+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Lzcnt+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.X86Base.X64 { public static bool IsSupported { get => throw null; } @@ -3511,10 +3972,10 @@ namespace System public static System.UInt32 LeadingZeroCount(System.UInt32 value) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Pclmulqdq` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Pclmulqdq` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Pclmulqdq : System.Runtime.Intrinsics.X86.Sse2 { - // Generated from `System.Runtime.Intrinsics.X86.Pclmulqdq+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Pclmulqdq+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse2.X64 { public static bool IsSupported { get => throw null; } @@ -3526,10 +3987,10 @@ namespace System public static bool IsSupported { get => throw null; } } - // Generated from `System.Runtime.Intrinsics.X86.Popcnt` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Popcnt` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Popcnt : System.Runtime.Intrinsics.X86.Sse42 { - // Generated from `System.Runtime.Intrinsics.X86.Popcnt+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Popcnt+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse42.X64 { public static bool IsSupported { get => throw null; } @@ -3541,10 +4002,10 @@ namespace System public static System.UInt32 PopCount(System.UInt32 value) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Sse` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Sse` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sse : System.Runtime.Intrinsics.X86.X86Base { - // Generated from `System.Runtime.Intrinsics.X86.Sse+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Sse+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.X86Base.X64 { public static System.Runtime.Intrinsics.Vector128 ConvertScalarToVector128Single(System.Runtime.Intrinsics.Vector128 upper, System.Int64 value) => throw null; @@ -3646,10 +4107,10 @@ namespace System public static System.Runtime.Intrinsics.Vector128 Xor(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Sse2` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Sse2` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sse2 : System.Runtime.Intrinsics.X86.Sse { - // Generated from `System.Runtime.Intrinsics.X86.Sse2+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Sse2+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse.X64 { public static System.Runtime.Intrinsics.Vector128 ConvertScalarToVector128Double(System.Runtime.Intrinsics.Vector128 upper, System.Int64 value) => throw null; @@ -3969,10 +4430,10 @@ namespace System public static System.Runtime.Intrinsics.Vector128 Xor(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Sse3` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Sse3` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sse3 : System.Runtime.Intrinsics.X86.Sse2 { - // Generated from `System.Runtime.Intrinsics.X86.Sse3+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Sse3+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse2.X64 { public static bool IsSupported { get => throw null; } @@ -4002,10 +4463,10 @@ namespace System internal Sse3() => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Sse41` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Sse41` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sse41 : System.Runtime.Intrinsics.X86.Ssse3 { - // Generated from `System.Runtime.Intrinsics.X86.Sse41+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Sse41+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Ssse3.X64 { public static System.Int64 Extract(System.Runtime.Intrinsics.Vector128 value, System.Byte index) => throw null; @@ -4160,10 +4621,10 @@ namespace System public static bool TestZ(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Sse42` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Sse42` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sse42 : System.Runtime.Intrinsics.X86.Sse41 { - // Generated from `System.Runtime.Intrinsics.X86.Sse42+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Sse42+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse41.X64 { public static System.UInt64 Crc32(System.UInt64 crc, System.UInt64 data) => throw null; @@ -4180,10 +4641,10 @@ namespace System internal Sse42() => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Ssse3` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Ssse3` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Ssse3 : System.Runtime.Intrinsics.X86.Sse3 { - // Generated from `System.Runtime.Intrinsics.X86.Ssse3+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.Ssse3+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse3.X64 { public static bool IsSupported { get => throw null; } @@ -4219,10 +4680,10 @@ namespace System internal Ssse3() => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.X86Base` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.X86Base` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X86Base { - // Generated from `System.Runtime.Intrinsics.X86.X86Base+X64` in `System.Runtime.Intrinsics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Runtime.Intrinsics.X86.X86Base+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 { public static bool IsSupported { get => throw null; } @@ -4232,9 +4693,24 @@ namespace System public static (int, int, int, int) CpuId(int functionId, int subFunctionId) => throw null; public static bool IsSupported { get => throw null; } + public static void Pause() => throw null; internal X86Base() => throw null; } + // Generated from `System.Runtime.Intrinsics.X86.X86Serialize` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public abstract class X86Serialize : System.Runtime.Intrinsics.X86.X86Base + { + // Generated from `System.Runtime.Intrinsics.X86.X86Serialize+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public abstract class X64 : System.Runtime.Intrinsics.X86.X86Base.X64 + { + public static bool IsSupported { get => throw null; } + } + + + public static bool IsSupported { get => throw null; } + public static void Serialize() => throw null; + } + } } } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Loader.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Loader.cs index d4a5e43ecf8..20f8e838913 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Loader.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Loader.cs @@ -6,20 +6,20 @@ namespace System { namespace Metadata { - // Generated from `System.Reflection.Metadata.AssemblyExtensions` in `System.Runtime.Loader, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.AssemblyExtensions` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class AssemblyExtensions { unsafe public static bool TryGetRawMetadata(this System.Reflection.Assembly assembly, out System.Byte* blob, out int length) => throw null; } - // Generated from `System.Reflection.Metadata.MetadataUpdateHandlerAttribute` in `System.Runtime.Loader, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MetadataUpdateHandlerAttribute` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataUpdateHandlerAttribute : System.Attribute { public System.Type HandlerType { get => throw null; } public MetadataUpdateHandlerAttribute(System.Type handlerType) => throw null; } - // Generated from `System.Reflection.Metadata.MetadataUpdater` in `System.Runtime.Loader, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Metadata.MetadataUpdater` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class MetadataUpdater { public static void ApplyUpdate(System.Reflection.Assembly assembly, System.ReadOnlySpan metadataDelta, System.ReadOnlySpan ilDelta, System.ReadOnlySpan pdbDelta) => throw null; @@ -32,16 +32,23 @@ namespace System { namespace CompilerServices { - // Generated from `System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute` in `System.Runtime.Loader, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CreateNewOnMetadataUpdateAttribute : System.Attribute { public CreateNewOnMetadataUpdateAttribute() => throw null; } + // Generated from `System.Runtime.CompilerServices.MetadataUpdateOriginalTypeAttribute` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class MetadataUpdateOriginalTypeAttribute : System.Attribute + { + public MetadataUpdateOriginalTypeAttribute(System.Type originalType) => throw null; + public System.Type OriginalType { get => throw null; } + } + } namespace Loader { - // Generated from `System.Runtime.Loader.AssemblyDependencyResolver` in `System.Runtime.Loader, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Loader.AssemblyDependencyResolver` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyDependencyResolver { public AssemblyDependencyResolver(string componentAssemblyPath) => throw null; @@ -49,10 +56,10 @@ namespace System public string ResolveUnmanagedDllToPath(string unmanagedDllName) => throw null; } - // Generated from `System.Runtime.Loader.AssemblyLoadContext` in `System.Runtime.Loader, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Loader.AssemblyLoadContext` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyLoadContext { - // Generated from `System.Runtime.Loader.AssemblyLoadContext+ContextualReflectionScope` in `System.Runtime.Loader, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Loader.AssemblyLoadContext+ContextualReflectionScope` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ContextualReflectionScope : System.IDisposable { // Stub generator skipped constructor diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Numerics.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Numerics.cs index 8841306edb2..b7deb7941e5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Numerics.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Numerics.cs @@ -4,53 +4,56 @@ namespace System { namespace Numerics { - // Generated from `System.Numerics.BigInteger` in `System.Runtime.Numerics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct BigInteger : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.Numerics.BigInteger` in `System.Runtime.Numerics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct BigInteger : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { - public static bool operator !=(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + static bool System.Numerics.IEqualityOperators.operator !=(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; public static bool operator !=(System.Numerics.BigInteger left, System.Int64 right) => throw null; public static bool operator !=(System.Numerics.BigInteger left, System.UInt64 right) => throw null; public static bool operator !=(System.Int64 left, System.Numerics.BigInteger right) => throw null; public static bool operator !=(System.UInt64 left, System.Numerics.BigInteger right) => throw null; - public static System.Numerics.BigInteger operator %(System.Numerics.BigInteger dividend, System.Numerics.BigInteger divisor) => throw null; - public static System.Numerics.BigInteger operator &(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; - public static System.Numerics.BigInteger operator *(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; - public static System.Numerics.BigInteger operator +(System.Numerics.BigInteger value) => throw null; - public static System.Numerics.BigInteger operator +(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; - public static System.Numerics.BigInteger operator ++(System.Numerics.BigInteger value) => throw null; - public static System.Numerics.BigInteger operator -(System.Numerics.BigInteger value) => throw null; - public static System.Numerics.BigInteger operator -(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; - public static System.Numerics.BigInteger operator --(System.Numerics.BigInteger value) => throw null; - public static System.Numerics.BigInteger operator /(System.Numerics.BigInteger dividend, System.Numerics.BigInteger divisor) => throw null; - public static bool operator <(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + static System.Numerics.BigInteger System.Numerics.IModulusOperators.operator %(System.Numerics.BigInteger dividend, System.Numerics.BigInteger divisor) => throw null; + static System.Numerics.BigInteger System.Numerics.IBitwiseOperators.operator &(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + static System.Numerics.BigInteger System.Numerics.IMultiplyOperators.operator *(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + static System.Numerics.BigInteger System.Numerics.IUnaryPlusOperators.operator +(System.Numerics.BigInteger value) => throw null; + static System.Numerics.BigInteger System.Numerics.IAdditionOperators.operator +(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + static System.Numerics.BigInteger System.Numerics.IIncrementOperators.operator ++(System.Numerics.BigInteger value) => throw null; + static System.Numerics.BigInteger System.Numerics.IUnaryNegationOperators.operator -(System.Numerics.BigInteger value) => throw null; + static System.Numerics.BigInteger System.Numerics.ISubtractionOperators.operator -(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + static System.Numerics.BigInteger System.Numerics.IDecrementOperators.operator --(System.Numerics.BigInteger value) => throw null; + static System.Numerics.BigInteger System.Numerics.IDivisionOperators.operator /(System.Numerics.BigInteger dividend, System.Numerics.BigInteger divisor) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; public static bool operator <(System.Numerics.BigInteger left, System.Int64 right) => throw null; public static bool operator <(System.Numerics.BigInteger left, System.UInt64 right) => throw null; public static bool operator <(System.Int64 left, System.Numerics.BigInteger right) => throw null; public static bool operator <(System.UInt64 left, System.Numerics.BigInteger right) => throw null; - public static System.Numerics.BigInteger operator <<(System.Numerics.BigInteger value, int shift) => throw null; - public static bool operator <=(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + static System.Numerics.BigInteger System.Numerics.IShiftOperators.operator <<(System.Numerics.BigInteger value, int shift) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; public static bool operator <=(System.Numerics.BigInteger left, System.Int64 right) => throw null; public static bool operator <=(System.Numerics.BigInteger left, System.UInt64 right) => throw null; public static bool operator <=(System.Int64 left, System.Numerics.BigInteger right) => throw null; public static bool operator <=(System.UInt64 left, System.Numerics.BigInteger right) => throw null; - public static bool operator ==(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; public static bool operator ==(System.Numerics.BigInteger left, System.Int64 right) => throw null; public static bool operator ==(System.Numerics.BigInteger left, System.UInt64 right) => throw null; public static bool operator ==(System.Int64 left, System.Numerics.BigInteger right) => throw null; public static bool operator ==(System.UInt64 left, System.Numerics.BigInteger right) => throw null; - public static bool operator >(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; public static bool operator >(System.Numerics.BigInteger left, System.Int64 right) => throw null; public static bool operator >(System.Numerics.BigInteger left, System.UInt64 right) => throw null; public static bool operator >(System.Int64 left, System.Numerics.BigInteger right) => throw null; public static bool operator >(System.UInt64 left, System.Numerics.BigInteger right) => throw null; - public static bool operator >=(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; public static bool operator >=(System.Numerics.BigInteger left, System.Int64 right) => throw null; public static bool operator >=(System.Numerics.BigInteger left, System.UInt64 right) => throw null; public static bool operator >=(System.Int64 left, System.Numerics.BigInteger right) => throw null; public static bool operator >=(System.UInt64 left, System.Numerics.BigInteger right) => throw null; - public static System.Numerics.BigInteger operator >>(System.Numerics.BigInteger value, int shift) => throw null; + static System.Numerics.BigInteger System.Numerics.IShiftOperators.operator >>(System.Numerics.BigInteger value, int shift) => throw null; + static System.Numerics.BigInteger System.Numerics.IShiftOperators.operator >>>(System.Numerics.BigInteger value, int shiftAmount) => throw null; public static System.Numerics.BigInteger Abs(System.Numerics.BigInteger value) => throw null; public static System.Numerics.BigInteger Add(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + static System.Numerics.BigInteger System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.Numerics.BigInteger System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } // Stub generator skipped constructor public BigInteger(System.Byte[] value) => throw null; public BigInteger(System.ReadOnlySpan value, bool isUnsigned = default(bool), bool isBigEndian = default(bool)) => throw null; @@ -61,11 +64,17 @@ namespace System public BigInteger(System.Int64 value) => throw null; public BigInteger(System.UInt32 value) => throw null; public BigInteger(System.UInt64 value) => throw null; + public static System.Numerics.BigInteger Clamp(System.Numerics.BigInteger value, System.Numerics.BigInteger min, System.Numerics.BigInteger max) => throw null; public static int Compare(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; public int CompareTo(System.Numerics.BigInteger other) => throw null; public int CompareTo(System.Int64 other) => throw null; public int CompareTo(object obj) => throw null; public int CompareTo(System.UInt64 other) => throw null; + public static System.Numerics.BigInteger CopySign(System.Numerics.BigInteger value, System.Numerics.BigInteger sign) => throw null; + static System.Numerics.BigInteger System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.Numerics.BigInteger System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.Numerics.BigInteger System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + static (System.Numerics.BigInteger, System.Numerics.BigInteger) System.Numerics.IBinaryInteger.DivRem(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; public static System.Numerics.BigInteger DivRem(System.Numerics.BigInteger dividend, System.Numerics.BigInteger divisor, out System.Numerics.BigInteger remainder) => throw null; public static System.Numerics.BigInteger Divide(System.Numerics.BigInteger dividend, System.Numerics.BigInteger divisor) => throw null; public bool Equals(System.Numerics.BigInteger other) => throw null; @@ -73,31 +82,67 @@ namespace System public override bool Equals(object obj) => throw null; public bool Equals(System.UInt64 other) => throw null; public System.Int64 GetBitLength() => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; public int GetByteCount(bool isUnsigned = default(bool)) => throw null; public override int GetHashCode() => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; public static System.Numerics.BigInteger GreatestCommonDivisor(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + public static bool IsCanonical(System.Numerics.BigInteger value) => throw null; + public static bool IsComplexNumber(System.Numerics.BigInteger value) => throw null; public bool IsEven { get => throw null; } + public static bool IsEvenInteger(System.Numerics.BigInteger value) => throw null; + public static bool IsFinite(System.Numerics.BigInteger value) => throw null; + public static bool IsImaginaryNumber(System.Numerics.BigInteger value) => throw null; + public static bool IsInfinity(System.Numerics.BigInteger value) => throw null; + public static bool IsInteger(System.Numerics.BigInteger value) => throw null; + public static bool IsNaN(System.Numerics.BigInteger value) => throw null; + public static bool IsNegative(System.Numerics.BigInteger value) => throw null; + public static bool IsNegativeInfinity(System.Numerics.BigInteger value) => throw null; + public static bool IsNormal(System.Numerics.BigInteger value) => throw null; + public static bool IsOddInteger(System.Numerics.BigInteger value) => throw null; public bool IsOne { get => throw null; } + public static bool IsPositive(System.Numerics.BigInteger value) => throw null; + public static bool IsPositiveInfinity(System.Numerics.BigInteger value) => throw null; + public static bool IsPow2(System.Numerics.BigInteger value) => throw null; public bool IsPowerOfTwo { get => throw null; } + public static bool IsRealNumber(System.Numerics.BigInteger value) => throw null; + public static bool IsSubnormal(System.Numerics.BigInteger value) => throw null; public bool IsZero { get => throw null; } + static bool System.Numerics.INumberBase.IsZero(System.Numerics.BigInteger value) => throw null; + public static System.Numerics.BigInteger LeadingZeroCount(System.Numerics.BigInteger value) => throw null; public static double Log(System.Numerics.BigInteger value) => throw null; public static double Log(System.Numerics.BigInteger value, double baseValue) => throw null; public static double Log10(System.Numerics.BigInteger value) => throw null; + public static System.Numerics.BigInteger Log2(System.Numerics.BigInteger value) => throw null; public static System.Numerics.BigInteger Max(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + public static System.Numerics.BigInteger MaxMagnitude(System.Numerics.BigInteger x, System.Numerics.BigInteger y) => throw null; + public static System.Numerics.BigInteger MaxMagnitudeNumber(System.Numerics.BigInteger x, System.Numerics.BigInteger y) => throw null; + public static System.Numerics.BigInteger MaxNumber(System.Numerics.BigInteger x, System.Numerics.BigInteger y) => throw null; public static System.Numerics.BigInteger Min(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + public static System.Numerics.BigInteger MinMagnitude(System.Numerics.BigInteger x, System.Numerics.BigInteger y) => throw null; + public static System.Numerics.BigInteger MinMagnitudeNumber(System.Numerics.BigInteger x, System.Numerics.BigInteger y) => throw null; + public static System.Numerics.BigInteger MinNumber(System.Numerics.BigInteger x, System.Numerics.BigInteger y) => throw null; public static System.Numerics.BigInteger MinusOne { get => throw null; } public static System.Numerics.BigInteger ModPow(System.Numerics.BigInteger value, System.Numerics.BigInteger exponent, System.Numerics.BigInteger modulus) => throw null; + static System.Numerics.BigInteger System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } public static System.Numerics.BigInteger Multiply(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; public static System.Numerics.BigInteger Negate(System.Numerics.BigInteger value) => throw null; - public static System.Numerics.BigInteger One { get => throw null; } + static System.Numerics.BigInteger System.Numerics.ISignedNumber.NegativeOne { get => throw null; } + static System.Numerics.BigInteger System.Numerics.INumberBase.One { get => throw null; } + public static System.Numerics.BigInteger Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.Numerics.BigInteger Parse(System.ReadOnlySpan value, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static System.Numerics.BigInteger Parse(string value) => throw null; public static System.Numerics.BigInteger Parse(string value, System.IFormatProvider provider) => throw null; public static System.Numerics.BigInteger Parse(string value, System.Globalization.NumberStyles style) => throw null; public static System.Numerics.BigInteger Parse(string value, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.Numerics.BigInteger PopCount(System.Numerics.BigInteger value) => throw null; public static System.Numerics.BigInteger Pow(System.Numerics.BigInteger value, int exponent) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } public static System.Numerics.BigInteger Remainder(System.Numerics.BigInteger dividend, System.Numerics.BigInteger divisor) => throw null; + public static System.Numerics.BigInteger RotateLeft(System.Numerics.BigInteger value, int rotateAmount) => throw null; + public static System.Numerics.BigInteger RotateRight(System.Numerics.BigInteger value, int rotateAmount) => throw null; public int Sign { get => throw null; } + static int System.Numerics.INumber.Sign(System.Numerics.BigInteger value) => throw null; public static System.Numerics.BigInteger Subtract(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; public System.Byte[] ToByteArray() => throw null; public System.Byte[] ToByteArray(bool isUnsigned = default(bool), bool isBigEndian = default(bool)) => throw null; @@ -105,29 +150,55 @@ namespace System public string ToString(System.IFormatProvider provider) => throw null; public string ToString(string format) => throw null; public string ToString(string format, System.IFormatProvider provider) => throw null; + public static System.Numerics.BigInteger TrailingZeroCount(System.Numerics.BigInteger value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.Numerics.BigInteger result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.Numerics.BigInteger result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.Numerics.BigInteger result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.Numerics.BigInteger value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.Numerics.BigInteger value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.Numerics.BigInteger value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.Numerics.BigInteger result) => throw null; public static bool TryParse(System.ReadOnlySpan value, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Numerics.BigInteger result) => throw null; public static bool TryParse(System.ReadOnlySpan value, out System.Numerics.BigInteger result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.Numerics.BigInteger result) => throw null; public static bool TryParse(string value, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Numerics.BigInteger result) => throw null; public static bool TryParse(string value, out System.Numerics.BigInteger result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out System.Numerics.BigInteger value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out System.Numerics.BigInteger value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; public bool TryWriteBytes(System.Span destination, out int bytesWritten, bool isUnsigned = default(bool), bool isBigEndian = default(bool)) => throw null; - public static System.Numerics.BigInteger Zero { get => throw null; } - public static System.Numerics.BigInteger operator ^(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; + static System.Numerics.BigInteger System.Numerics.INumberBase.Zero { get => throw null; } + static System.Numerics.BigInteger System.Numerics.IBitwiseOperators.operator ^(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; public static explicit operator System.Byte(System.Numerics.BigInteger value) => throw null; + public static explicit operator System.Char(System.Numerics.BigInteger value) => throw null; public static explicit operator System.Decimal(System.Numerics.BigInteger value) => throw null; + public static explicit operator System.Half(System.Numerics.BigInteger value) => throw null; + public static explicit operator System.Int128(System.Numerics.BigInteger value) => throw null; public static explicit operator System.Int16(System.Numerics.BigInteger value) => throw null; public static explicit operator System.Int64(System.Numerics.BigInteger value) => throw null; + public static explicit operator System.IntPtr(System.Numerics.BigInteger value) => throw null; public static explicit operator System.SByte(System.Numerics.BigInteger value) => throw null; + public static explicit operator System.UInt128(System.Numerics.BigInteger value) => throw null; public static explicit operator System.UInt16(System.Numerics.BigInteger value) => throw null; public static explicit operator System.UInt32(System.Numerics.BigInteger value) => throw null; public static explicit operator System.UInt64(System.Numerics.BigInteger value) => throw null; + public static explicit operator System.UIntPtr(System.Numerics.BigInteger value) => throw null; public static explicit operator double(System.Numerics.BigInteger value) => throw null; public static explicit operator float(System.Numerics.BigInteger value) => throw null; public static explicit operator int(System.Numerics.BigInteger value) => throw null; + public static explicit operator System.Numerics.BigInteger(System.Numerics.Complex value) => throw null; + public static explicit operator System.Numerics.BigInteger(System.Half value) => throw null; public static explicit operator System.Numerics.BigInteger(System.Decimal value) => throw null; public static explicit operator System.Numerics.BigInteger(double value) => throw null; public static explicit operator System.Numerics.BigInteger(float value) => throw null; + public static implicit operator System.Numerics.BigInteger(System.Int128 value) => throw null; + public static implicit operator System.Numerics.BigInteger(System.IntPtr value) => throw null; + public static implicit operator System.Numerics.BigInteger(System.UInt128 value) => throw null; + public static implicit operator System.Numerics.BigInteger(System.UIntPtr value) => throw null; public static implicit operator System.Numerics.BigInteger(System.Byte value) => throw null; + public static implicit operator System.Numerics.BigInteger(System.Char value) => throw null; public static implicit operator System.Numerics.BigInteger(int value) => throw null; public static implicit operator System.Numerics.BigInteger(System.Int64 value) => throw null; public static implicit operator System.Numerics.BigInteger(System.SByte value) => throw null; @@ -135,33 +206,38 @@ namespace System public static implicit operator System.Numerics.BigInteger(System.UInt32 value) => throw null; public static implicit operator System.Numerics.BigInteger(System.UInt64 value) => throw null; public static implicit operator System.Numerics.BigInteger(System.UInt16 value) => throw null; - public static System.Numerics.BigInteger operator |(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; - public static System.Numerics.BigInteger operator ~(System.Numerics.BigInteger value) => throw null; + static System.Numerics.BigInteger System.Numerics.IBitwiseOperators.operator |(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; + static System.Numerics.BigInteger System.Numerics.IBitwiseOperators.operator ~(System.Numerics.BigInteger value) => throw null; } - // Generated from `System.Numerics.Complex` in `System.Runtime.Numerics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct Complex : System.IEquatable, System.IFormattable + // Generated from `System.Numerics.Complex` in `System.Runtime.Numerics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct Complex : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { - public static bool operator !=(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; - public static System.Numerics.Complex operator *(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; + static bool System.Numerics.IEqualityOperators.operator !=(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; + static System.Numerics.Complex System.Numerics.IMultiplyOperators.operator *(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; public static System.Numerics.Complex operator *(System.Numerics.Complex left, double right) => throw null; public static System.Numerics.Complex operator *(double left, System.Numerics.Complex right) => throw null; - public static System.Numerics.Complex operator +(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; + static System.Numerics.Complex System.Numerics.IUnaryPlusOperators.operator +(System.Numerics.Complex value) => throw null; + static System.Numerics.Complex System.Numerics.IAdditionOperators.operator +(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; public static System.Numerics.Complex operator +(System.Numerics.Complex left, double right) => throw null; public static System.Numerics.Complex operator +(double left, System.Numerics.Complex right) => throw null; - public static System.Numerics.Complex operator -(System.Numerics.Complex value) => throw null; - public static System.Numerics.Complex operator -(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; + static System.Numerics.Complex System.Numerics.IIncrementOperators.operator ++(System.Numerics.Complex value) => throw null; + static System.Numerics.Complex System.Numerics.IUnaryNegationOperators.operator -(System.Numerics.Complex value) => throw null; + static System.Numerics.Complex System.Numerics.ISubtractionOperators.operator -(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; public static System.Numerics.Complex operator -(System.Numerics.Complex left, double right) => throw null; public static System.Numerics.Complex operator -(double left, System.Numerics.Complex right) => throw null; - public static System.Numerics.Complex operator /(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; + static System.Numerics.Complex System.Numerics.IDecrementOperators.operator --(System.Numerics.Complex value) => throw null; + static System.Numerics.Complex System.Numerics.IDivisionOperators.operator /(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; public static System.Numerics.Complex operator /(System.Numerics.Complex left, double right) => throw null; public static System.Numerics.Complex operator /(double left, System.Numerics.Complex right) => throw null; - public static bool operator ==(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; public static double Abs(System.Numerics.Complex value) => throw null; + static System.Numerics.Complex System.Numerics.INumberBase.Abs(System.Numerics.Complex value) => throw null; public static System.Numerics.Complex Acos(System.Numerics.Complex value) => throw null; public static System.Numerics.Complex Add(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; public static System.Numerics.Complex Add(System.Numerics.Complex left, double right) => throw null; public static System.Numerics.Complex Add(double left, System.Numerics.Complex right) => throw null; + static System.Numerics.Complex System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } public static System.Numerics.Complex Asin(System.Numerics.Complex value) => throw null; public static System.Numerics.Complex Atan(System.Numerics.Complex value) => throw null; // Stub generator skipped constructor @@ -169,6 +245,9 @@ namespace System public static System.Numerics.Complex Conjugate(System.Numerics.Complex value) => throw null; public static System.Numerics.Complex Cos(System.Numerics.Complex value) => throw null; public static System.Numerics.Complex Cosh(System.Numerics.Complex value) => throw null; + static System.Numerics.Complex System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.Numerics.Complex System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.Numerics.Complex System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; public static System.Numerics.Complex Divide(System.Numerics.Complex dividend, System.Numerics.Complex divisor) => throw null; public static System.Numerics.Complex Divide(System.Numerics.Complex dividend, double divisor) => throw null; public static System.Numerics.Complex Divide(double dividend, System.Numerics.Complex divisor) => throw null; @@ -180,22 +259,48 @@ namespace System public double Imaginary { get => throw null; } public static System.Numerics.Complex ImaginaryOne; public static System.Numerics.Complex Infinity; + public static bool IsCanonical(System.Numerics.Complex value) => throw null; + public static bool IsComplexNumber(System.Numerics.Complex value) => throw null; + public static bool IsEvenInteger(System.Numerics.Complex value) => throw null; public static bool IsFinite(System.Numerics.Complex value) => throw null; + public static bool IsImaginaryNumber(System.Numerics.Complex value) => throw null; public static bool IsInfinity(System.Numerics.Complex value) => throw null; + public static bool IsInteger(System.Numerics.Complex value) => throw null; public static bool IsNaN(System.Numerics.Complex value) => throw null; + public static bool IsNegative(System.Numerics.Complex value) => throw null; + public static bool IsNegativeInfinity(System.Numerics.Complex value) => throw null; + public static bool IsNormal(System.Numerics.Complex value) => throw null; + public static bool IsOddInteger(System.Numerics.Complex value) => throw null; + public static bool IsPositive(System.Numerics.Complex value) => throw null; + public static bool IsPositiveInfinity(System.Numerics.Complex value) => throw null; + public static bool IsRealNumber(System.Numerics.Complex value) => throw null; + public static bool IsSubnormal(System.Numerics.Complex value) => throw null; + public static bool IsZero(System.Numerics.Complex value) => throw null; public static System.Numerics.Complex Log(System.Numerics.Complex value) => throw null; public static System.Numerics.Complex Log(System.Numerics.Complex value, double baseValue) => throw null; public static System.Numerics.Complex Log10(System.Numerics.Complex value) => throw null; public double Magnitude { get => throw null; } + public static System.Numerics.Complex MaxMagnitude(System.Numerics.Complex x, System.Numerics.Complex y) => throw null; + public static System.Numerics.Complex MaxMagnitudeNumber(System.Numerics.Complex x, System.Numerics.Complex y) => throw null; + public static System.Numerics.Complex MinMagnitude(System.Numerics.Complex x, System.Numerics.Complex y) => throw null; + public static System.Numerics.Complex MinMagnitudeNumber(System.Numerics.Complex x, System.Numerics.Complex y) => throw null; + static System.Numerics.Complex System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } public static System.Numerics.Complex Multiply(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; public static System.Numerics.Complex Multiply(System.Numerics.Complex left, double right) => throw null; public static System.Numerics.Complex Multiply(double left, System.Numerics.Complex right) => throw null; public static System.Numerics.Complex NaN; public static System.Numerics.Complex Negate(System.Numerics.Complex value) => throw null; + static System.Numerics.Complex System.Numerics.ISignedNumber.NegativeOne { get => throw null; } public static System.Numerics.Complex One; + static System.Numerics.Complex System.Numerics.INumberBase.One { get => throw null; } + public static System.Numerics.Complex Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; + public static System.Numerics.Complex Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.Numerics.Complex Parse(string s, System.IFormatProvider provider) => throw null; + public static System.Numerics.Complex Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; public double Phase { get => throw null; } public static System.Numerics.Complex Pow(System.Numerics.Complex value, System.Numerics.Complex power) => throw null; public static System.Numerics.Complex Pow(System.Numerics.Complex value, double power) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } public double Real { get => throw null; } public static System.Numerics.Complex Reciprocal(System.Numerics.Complex value) => throw null; public static System.Numerics.Complex Sin(System.Numerics.Complex value) => throw null; @@ -210,10 +315,28 @@ namespace System public string ToString(System.IFormatProvider provider) => throw null; public string ToString(string format) => throw null; public string ToString(string format, System.IFormatProvider provider) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.Numerics.Complex result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.Numerics.Complex result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.Numerics.Complex result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.Numerics.Complex value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.Numerics.Complex value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.Numerics.Complex value, out TOther result) => throw null; + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.Numerics.Complex result) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Numerics.Complex result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.Numerics.Complex result) => throw null; + public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Numerics.Complex result) => throw null; public static System.Numerics.Complex Zero; + static System.Numerics.Complex System.Numerics.INumberBase.Zero { get => throw null; } public static explicit operator System.Numerics.Complex(System.Numerics.BigInteger value) => throw null; + public static explicit operator System.Numerics.Complex(System.Int128 value) => throw null; + public static explicit operator System.Numerics.Complex(System.UInt128 value) => throw null; public static explicit operator System.Numerics.Complex(System.Decimal value) => throw null; + public static implicit operator System.Numerics.Complex(System.Half value) => throw null; + public static implicit operator System.Numerics.Complex(System.IntPtr value) => throw null; + public static implicit operator System.Numerics.Complex(System.UIntPtr value) => throw null; public static implicit operator System.Numerics.Complex(System.Byte value) => throw null; + public static implicit operator System.Numerics.Complex(System.Char value) => throw null; public static implicit operator System.Numerics.Complex(double value) => throw null; public static implicit operator System.Numerics.Complex(float value) => throw null; public static implicit operator System.Numerics.Complex(int value) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Formatters.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Formatters.cs index 47c348fc473..a2287252ab9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Formatters.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Formatters.cs @@ -6,7 +6,7 @@ namespace System { namespace Serialization { - // Generated from `System.Runtime.Serialization.Formatter` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.Formatter` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Formatter : System.Runtime.Serialization.IFormatter { public abstract System.Runtime.Serialization.SerializationBinder Binder { get; set; } @@ -40,7 +40,7 @@ namespace System protected System.Collections.Queue m_objectQueue; } - // Generated from `System.Runtime.Serialization.FormatterConverter` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.FormatterConverter` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FormatterConverter : System.Runtime.Serialization.IFormatterConverter { public object Convert(object value, System.Type type) => throw null; @@ -63,7 +63,7 @@ namespace System public System.UInt64 ToUInt64(object value) => throw null; } - // Generated from `System.Runtime.Serialization.FormatterServices` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.FormatterServices` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class FormatterServices { public static void CheckTypeSecurity(System.Type t, System.Runtime.Serialization.Formatters.TypeFilterLevel securityLevel) => throw null; @@ -77,7 +77,7 @@ namespace System public static object PopulateObjectMembers(object obj, System.Reflection.MemberInfo[] members, object[] data) => throw null; } - // Generated from `System.Runtime.Serialization.IFormatter` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.IFormatter` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFormatter { System.Runtime.Serialization.SerializationBinder Binder { get; set; } @@ -87,14 +87,14 @@ namespace System System.Runtime.Serialization.ISurrogateSelector SurrogateSelector { get; set; } } - // Generated from `System.Runtime.Serialization.ISerializationSurrogate` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.ISerializationSurrogate` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISerializationSurrogate { void GetObjectData(object obj, System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); object SetObjectData(object obj, System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context, System.Runtime.Serialization.ISurrogateSelector selector); } - // Generated from `System.Runtime.Serialization.ISurrogateSelector` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.ISurrogateSelector` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISurrogateSelector { void ChainSelector(System.Runtime.Serialization.ISurrogateSelector selector); @@ -102,7 +102,7 @@ namespace System System.Runtime.Serialization.ISerializationSurrogate GetSurrogate(System.Type type, System.Runtime.Serialization.StreamingContext context, out System.Runtime.Serialization.ISurrogateSelector selector); } - // Generated from `System.Runtime.Serialization.ObjectIDGenerator` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.ObjectIDGenerator` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectIDGenerator { public virtual System.Int64 GetId(object obj, out bool firstTime) => throw null; @@ -110,7 +110,7 @@ namespace System public ObjectIDGenerator() => throw null; } - // Generated from `System.Runtime.Serialization.ObjectManager` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.ObjectManager` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectManager { public virtual void DoFixups() => throw null; @@ -128,7 +128,7 @@ namespace System public void RegisterObject(object obj, System.Int64 objectID, System.Runtime.Serialization.SerializationInfo info, System.Int64 idOfContainingObj, System.Reflection.MemberInfo member, int[] arrayIndex) => throw null; } - // Generated from `System.Runtime.Serialization.SerializationBinder` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.SerializationBinder` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SerializationBinder { public virtual void BindToName(System.Type serializedType, out string assemblyName, out string typeName) => throw null; @@ -136,7 +136,7 @@ namespace System protected SerializationBinder() => throw null; } - // Generated from `System.Runtime.Serialization.SerializationObjectManager` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.SerializationObjectManager` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SerializationObjectManager { public void RaiseOnSerializedEvent() => throw null; @@ -144,7 +144,7 @@ namespace System public SerializationObjectManager(System.Runtime.Serialization.StreamingContext context) => throw null; } - // Generated from `System.Runtime.Serialization.SurrogateSelector` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.SurrogateSelector` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SurrogateSelector : System.Runtime.Serialization.ISurrogateSelector { public virtual void AddSurrogate(System.Type type, System.Runtime.Serialization.StreamingContext context, System.Runtime.Serialization.ISerializationSurrogate surrogate) => throw null; @@ -157,14 +157,14 @@ namespace System namespace Formatters { - // Generated from `System.Runtime.Serialization.Formatters.FormatterAssemblyStyle` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.Formatters.FormatterAssemblyStyle` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FormatterAssemblyStyle : int { Full = 1, Simple = 0, } - // Generated from `System.Runtime.Serialization.Formatters.FormatterTypeStyle` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.Formatters.FormatterTypeStyle` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FormatterTypeStyle : int { TypesAlways = 1, @@ -172,14 +172,14 @@ namespace System XsdString = 2, } - // Generated from `System.Runtime.Serialization.Formatters.IFieldInfo` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.Formatters.IFieldInfo` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFieldInfo { string[] FieldNames { get; set; } System.Type[] FieldTypes { get; set; } } - // Generated from `System.Runtime.Serialization.Formatters.TypeFilterLevel` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.Formatters.TypeFilterLevel` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TypeFilterLevel : int { Full = 3, @@ -188,7 +188,7 @@ namespace System namespace Binary { - // Generated from `System.Runtime.Serialization.Formatters.Binary.BinaryFormatter` in `System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.Formatters.Binary.BinaryFormatter` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BinaryFormatter : System.Runtime.Serialization.IFormatter { public System.Runtime.Serialization.Formatters.FormatterAssemblyStyle AssemblyFormat { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Json.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Json.cs index aba24d91075..e8e4de92a53 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Json.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Json.cs @@ -6,7 +6,7 @@ namespace System { namespace Serialization { - // Generated from `System.Runtime.Serialization.DateTimeFormat` in `System.Runtime.Serialization.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.DateTimeFormat` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateTimeFormat { public DateTimeFormat(string formatString) => throw null; @@ -16,7 +16,7 @@ namespace System public string FormatString { get => throw null; } } - // Generated from `System.Runtime.Serialization.EmitTypeInformation` in `System.Runtime.Serialization.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.EmitTypeInformation` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EmitTypeInformation : int { Always = 1, @@ -26,7 +26,7 @@ namespace System namespace Json { - // Generated from `System.Runtime.Serialization.Json.DataContractJsonSerializer` in `System.Runtime.Serialization.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.Json.DataContractJsonSerializer` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataContractJsonSerializer : System.Runtime.Serialization.XmlObjectSerializer { public DataContractJsonSerializer(System.Type type) => throw null; @@ -38,6 +38,7 @@ namespace System public DataContractJsonSerializer(System.Type type, string rootName, System.Collections.Generic.IEnumerable knownTypes) => throw null; public System.Runtime.Serialization.DateTimeFormat DateTimeFormat { get => throw null; } public System.Runtime.Serialization.EmitTypeInformation EmitTypeInformation { get => throw null; } + public System.Runtime.Serialization.ISerializationSurrogateProvider GetSerializationSurrogateProvider() => throw null; public bool IgnoreExtensionDataObject { get => throw null; } public override bool IsStartObject(System.Xml.XmlDictionaryReader reader) => throw null; public override bool IsStartObject(System.Xml.XmlReader reader) => throw null; @@ -49,6 +50,7 @@ namespace System public override object ReadObject(System.Xml.XmlReader reader) => throw null; public override object ReadObject(System.Xml.XmlReader reader, bool verifyObjectName) => throw null; public bool SerializeReadOnlyTypes { get => throw null; } + public void SetSerializationSurrogateProvider(System.Runtime.Serialization.ISerializationSurrogateProvider provider) => throw null; public bool UseSimpleDictionaryFormat { get => throw null; } public override void WriteEndObject(System.Xml.XmlDictionaryWriter writer) => throw null; public override void WriteEndObject(System.Xml.XmlWriter writer) => throw null; @@ -61,7 +63,7 @@ namespace System public override void WriteStartObject(System.Xml.XmlWriter writer, object graph) => throw null; } - // Generated from `System.Runtime.Serialization.Json.DataContractJsonSerializerSettings` in `System.Runtime.Serialization.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.Json.DataContractJsonSerializerSettings` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataContractJsonSerializerSettings { public DataContractJsonSerializerSettings() => throw null; @@ -75,20 +77,20 @@ namespace System public bool UseSimpleDictionaryFormat { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.Json.IXmlJsonReaderInitializer` in `System.Runtime.Serialization.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.Json.IXmlJsonReaderInitializer` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlJsonReaderInitializer { void SetInput(System.Byte[] buffer, int offset, int count, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose); void SetInput(System.IO.Stream stream, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose); } - // Generated from `System.Runtime.Serialization.Json.IXmlJsonWriterInitializer` in `System.Runtime.Serialization.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.Json.IXmlJsonWriterInitializer` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlJsonWriterInitializer { void SetOutput(System.IO.Stream stream, System.Text.Encoding encoding, bool ownsStream); } - // Generated from `System.Runtime.Serialization.Json.JsonReaderWriterFactory` in `System.Runtime.Serialization.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.Json.JsonReaderWriterFactory` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class JsonReaderWriterFactory { public static System.Xml.XmlDictionaryReader CreateJsonReader(System.Byte[] buffer, System.Xml.XmlDictionaryReaderQuotas quotas) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Primitives.cs index d1be990749d..e06dcdce9f5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Primitives.cs @@ -6,7 +6,7 @@ namespace System { namespace Serialization { - // Generated from `System.Runtime.Serialization.CollectionDataContractAttribute` in `System.Runtime.Serialization.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.CollectionDataContractAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CollectionDataContractAttribute : System.Attribute { public CollectionDataContractAttribute() => throw null; @@ -24,7 +24,7 @@ namespace System public string ValueName { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.ContractNamespaceAttribute` in `System.Runtime.Serialization.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.ContractNamespaceAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractNamespaceAttribute : System.Attribute { public string ClrNamespace { get => throw null; set => throw null; } @@ -32,7 +32,7 @@ namespace System public ContractNamespaceAttribute(string contractNamespace) => throw null; } - // Generated from `System.Runtime.Serialization.DataContractAttribute` in `System.Runtime.Serialization.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.DataContractAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataContractAttribute : System.Attribute { public DataContractAttribute() => throw null; @@ -44,7 +44,7 @@ namespace System public string Namespace { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.DataMemberAttribute` in `System.Runtime.Serialization.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.DataMemberAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataMemberAttribute : System.Attribute { public DataMemberAttribute() => throw null; @@ -55,7 +55,7 @@ namespace System public int Order { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.EnumMemberAttribute` in `System.Runtime.Serialization.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.EnumMemberAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumMemberAttribute : System.Attribute { public EnumMemberAttribute() => throw null; @@ -63,7 +63,7 @@ namespace System public string Value { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.ISerializationSurrogateProvider` in `System.Runtime.Serialization.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.ISerializationSurrogateProvider` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISerializationSurrogateProvider { object GetDeserializedObject(object obj, System.Type targetType); @@ -71,13 +71,22 @@ namespace System System.Type GetSurrogateType(System.Type type); } - // Generated from `System.Runtime.Serialization.IgnoreDataMemberAttribute` in `System.Runtime.Serialization.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.ISerializationSurrogateProvider2` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface ISerializationSurrogateProvider2 : System.Runtime.Serialization.ISerializationSurrogateProvider + { + object GetCustomDataToExport(System.Reflection.MemberInfo memberInfo, System.Type dataContractType); + object GetCustomDataToExport(System.Type runtimeType, System.Type dataContractType); + void GetKnownCustomDataTypes(System.Collections.ObjectModel.Collection customDataTypes); + System.Type GetReferencedTypeOnImport(string typeName, string typeNamespace, object customData); + } + + // Generated from `System.Runtime.Serialization.IgnoreDataMemberAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IgnoreDataMemberAttribute : System.Attribute { public IgnoreDataMemberAttribute() => throw null; } - // Generated from `System.Runtime.Serialization.InvalidDataContractException` in `System.Runtime.Serialization.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.InvalidDataContractException` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidDataContractException : System.Exception { public InvalidDataContractException() => throw null; @@ -86,7 +95,7 @@ namespace System public InvalidDataContractException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Runtime.Serialization.KnownTypeAttribute` in `System.Runtime.Serialization.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.KnownTypeAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KnownTypeAttribute : System.Attribute { public KnownTypeAttribute(System.Type type) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Xml.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Xml.cs index eb184cbe56a..6ee21f22d3f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Xml.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Xml.cs @@ -6,7 +6,7 @@ namespace System { namespace Serialization { - // Generated from `System.Runtime.Serialization.DataContractResolver` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.DataContractResolver` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DataContractResolver { protected DataContractResolver() => throw null; @@ -14,7 +14,7 @@ namespace System public abstract bool TryResolveType(System.Type type, System.Type declaredType, System.Runtime.Serialization.DataContractResolver knownTypeResolver, out System.Xml.XmlDictionaryString typeName, out System.Xml.XmlDictionaryString typeNamespace); } - // Generated from `System.Runtime.Serialization.DataContractSerializer` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.DataContractSerializer` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataContractSerializer : System.Runtime.Serialization.XmlObjectSerializer { public System.Runtime.Serialization.DataContractResolver DataContractResolver { get => throw null; } @@ -46,14 +46,14 @@ namespace System public override void WriteStartObject(System.Xml.XmlWriter writer, object graph) => throw null; } - // Generated from `System.Runtime.Serialization.DataContractSerializerExtensions` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.DataContractSerializerExtensions` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DataContractSerializerExtensions { public static System.Runtime.Serialization.ISerializationSurrogateProvider GetSerializationSurrogateProvider(this System.Runtime.Serialization.DataContractSerializer serializer) => throw null; public static void SetSerializationSurrogateProvider(this System.Runtime.Serialization.DataContractSerializer serializer, System.Runtime.Serialization.ISerializationSurrogateProvider provider) => throw null; } - // Generated from `System.Runtime.Serialization.DataContractSerializerSettings` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.DataContractSerializerSettings` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataContractSerializerSettings { public System.Runtime.Serialization.DataContractResolver DataContractResolver { get => throw null; set => throw null; } @@ -67,32 +67,33 @@ namespace System public bool SerializeReadOnlyTypes { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.ExportOptions` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.ExportOptions` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExportOptions { + public System.Runtime.Serialization.ISerializationSurrogateProvider DataContractSurrogate { get => throw null; set => throw null; } public ExportOptions() => throw null; public System.Collections.ObjectModel.Collection KnownTypes { get => throw null; } } - // Generated from `System.Runtime.Serialization.ExtensionDataObject` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.ExtensionDataObject` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExtensionDataObject { } - // Generated from `System.Runtime.Serialization.IExtensibleDataObject` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.IExtensibleDataObject` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IExtensibleDataObject { System.Runtime.Serialization.ExtensionDataObject ExtensionData { get; set; } } - // Generated from `System.Runtime.Serialization.XPathQueryGenerator` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.XPathQueryGenerator` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class XPathQueryGenerator { public static string CreateFromDataContractSerializer(System.Type type, System.Reflection.MemberInfo[] pathToMember, System.Text.StringBuilder rootElementXpath, out System.Xml.XmlNamespaceManager namespaces) => throw null; public static string CreateFromDataContractSerializer(System.Type type, System.Reflection.MemberInfo[] pathToMember, out System.Xml.XmlNamespaceManager namespaces) => throw null; } - // Generated from `System.Runtime.Serialization.XmlObjectSerializer` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.XmlObjectSerializer` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlObjectSerializer { public abstract bool IsStartObject(System.Xml.XmlDictionaryReader reader); @@ -114,7 +115,7 @@ namespace System protected XmlObjectSerializer() => throw null; } - // Generated from `System.Runtime.Serialization.XmlSerializableServices` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.XmlSerializableServices` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class XmlSerializableServices { public static void AddDefaultSchema(System.Xml.Schema.XmlSchemaSet schemas, System.Xml.XmlQualifiedName typeQName) => throw null; @@ -122,7 +123,7 @@ namespace System public static void WriteNodes(System.Xml.XmlWriter xmlWriter, System.Xml.XmlNode[] nodes) => throw null; } - // Generated from `System.Runtime.Serialization.XsdDataContractExporter` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.XsdDataContractExporter` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XsdDataContractExporter { public bool CanExport(System.Collections.Generic.ICollection assemblies) => throw null; @@ -140,11 +141,81 @@ namespace System public XsdDataContractExporter(System.Xml.Schema.XmlSchemaSet schemas) => throw null; } + namespace DataContracts + { + // Generated from `System.Runtime.Serialization.DataContracts.DataContract` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class DataContract + { + public virtual System.Runtime.Serialization.DataContracts.DataContract BaseContract { get => throw null; } + public virtual string ContractType { get => throw null; } + internal DataContract(System.Runtime.Serialization.DataContracts.DataContractCriticalHelper helper) => throw null; + public virtual System.Collections.ObjectModel.ReadOnlyCollection DataMembers { get => throw null; } + public virtual System.Xml.XmlQualifiedName GetArrayTypeName(bool isNullable) => throw null; + public static System.Runtime.Serialization.DataContracts.DataContract GetBuiltInDataContract(string name, string ns) => throw null; + public static System.Xml.XmlQualifiedName GetXmlName(System.Type type) => throw null; + public virtual bool IsBuiltInDataContract { get => throw null; } + public virtual bool IsDictionaryLike(out string keyName, out string valueName, out string itemName) => throw null; + public virtual bool IsISerializable { get => throw null; } + public virtual bool IsReference { get => throw null; } + public virtual bool IsValueType { get => throw null; } + public virtual System.Collections.Generic.Dictionary KnownDataContracts { get => throw null; } + public virtual System.Type OriginalUnderlyingType { get => throw null; } + public virtual System.Xml.XmlDictionaryString TopLevelElementName { get => throw null; } + public virtual System.Xml.XmlDictionaryString TopLevelElementNamespace { get => throw null; } + public virtual System.Type UnderlyingType { get => throw null; } + public virtual System.Xml.XmlQualifiedName XmlName { get => throw null; } + } + + // Generated from `System.Runtime.Serialization.DataContracts.DataContractCriticalHelper` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + internal abstract class DataContractCriticalHelper + { + } + + // Generated from `System.Runtime.Serialization.DataContracts.DataContractSet` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class DataContractSet + { + public System.Collections.Generic.Dictionary Contracts { get => throw null; } + public DataContractSet(System.Runtime.Serialization.DataContracts.DataContractSet dataContractSet) => throw null; + public DataContractSet(System.Runtime.Serialization.ISerializationSurrogateProvider dataContractSurrogate, System.Collections.Generic.IEnumerable referencedTypes, System.Collections.Generic.IEnumerable referencedCollectionTypes) => throw null; + public System.Runtime.Serialization.DataContracts.DataContract GetDataContract(System.Type type) => throw null; + public System.Runtime.Serialization.DataContracts.DataContract GetDataContract(System.Xml.XmlQualifiedName key) => throw null; + public System.Type GetReferencedType(System.Xml.XmlQualifiedName xmlName, System.Runtime.Serialization.DataContracts.DataContract dataContract, out System.Runtime.Serialization.DataContracts.DataContract referencedContract, out object[] genericParameters, bool? supportGenericTypes = default(bool?)) => throw null; + public void ImportSchemaSet(System.Xml.Schema.XmlSchemaSet schemaSet, System.Collections.Generic.IEnumerable typeNames, bool importXmlDataType) => throw null; + public System.Collections.Generic.List ImportSchemaSet(System.Xml.Schema.XmlSchemaSet schemaSet, System.Collections.Generic.IEnumerable elements, bool importXmlDataType) => throw null; + public System.Collections.Generic.Dictionary KnownTypesForObject { get => throw null; } + public System.Collections.Generic.Dictionary ProcessedContracts { get => throw null; } + public System.Collections.Hashtable SurrogateData { get => throw null; } + } + + // Generated from `System.Runtime.Serialization.DataContracts.DataMember` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class DataMember + { + public bool EmitDefaultValue { get => throw null; } + public bool IsNullable { get => throw null; } + public bool IsRequired { get => throw null; } + public System.Runtime.Serialization.DataContracts.DataContract MemberTypeContract { get => throw null; } + public string Name { get => throw null; } + public System.Int64 Order { get => throw null; } + } + + // Generated from `System.Runtime.Serialization.DataContracts.XmlDataContract` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class XmlDataContract : System.Runtime.Serialization.DataContracts.DataContract + { + public bool HasRoot { get => throw null; } + public bool IsAnonymous { get => throw null; } + public bool IsTopLevelElementNullable { get => throw null; } + public bool IsTypeDefinedOnImport { get => throw null; set => throw null; } + public bool IsValueType { get => throw null; set => throw null; } + internal XmlDataContract(System.Type type) : base(default(System.Runtime.Serialization.DataContracts.DataContractCriticalHelper)) => throw null; + public System.Xml.Schema.XmlSchemaType XsdType { get => throw null; } + } + + } } } namespace Xml { - // Generated from `System.Xml.IFragmentCapableXmlDictionaryWriter` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.IFragmentCapableXmlDictionaryWriter` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFragmentCapableXmlDictionaryWriter { bool CanFragment { get; } @@ -153,27 +224,27 @@ namespace System void WriteFragment(System.Byte[] buffer, int offset, int count); } - // Generated from `System.Xml.IStreamProvider` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.IStreamProvider` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IStreamProvider { System.IO.Stream GetStream(); void ReleaseStream(System.IO.Stream stream); } - // Generated from `System.Xml.IXmlBinaryReaderInitializer` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.IXmlBinaryReaderInitializer` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlBinaryReaderInitializer { void SetInput(System.Byte[] buffer, int offset, int count, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session, System.Xml.OnXmlDictionaryReaderClose onClose); void SetInput(System.IO.Stream stream, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session, System.Xml.OnXmlDictionaryReaderClose onClose); } - // Generated from `System.Xml.IXmlBinaryWriterInitializer` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.IXmlBinaryWriterInitializer` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlBinaryWriterInitializer { void SetOutput(System.IO.Stream stream, System.Xml.IXmlDictionary dictionary, System.Xml.XmlBinaryWriterSession session, bool ownsStream); } - // Generated from `System.Xml.IXmlDictionary` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.IXmlDictionary` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlDictionary { bool TryLookup(System.Xml.XmlDictionaryString value, out System.Xml.XmlDictionaryString result); @@ -181,23 +252,23 @@ namespace System bool TryLookup(string value, out System.Xml.XmlDictionaryString result); } - // Generated from `System.Xml.IXmlTextReaderInitializer` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.IXmlTextReaderInitializer` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlTextReaderInitializer { void SetInput(System.Byte[] buffer, int offset, int count, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose); void SetInput(System.IO.Stream stream, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose); } - // Generated from `System.Xml.IXmlTextWriterInitializer` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.IXmlTextWriterInitializer` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlTextWriterInitializer { void SetOutput(System.IO.Stream stream, System.Text.Encoding encoding, bool ownsStream); } - // Generated from `System.Xml.OnXmlDictionaryReaderClose` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.OnXmlDictionaryReaderClose` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void OnXmlDictionaryReaderClose(System.Xml.XmlDictionaryReader reader); - // Generated from `System.Xml.UniqueId` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.UniqueId` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UniqueId { public static bool operator !=(System.Xml.UniqueId id1, System.Xml.UniqueId id2) => throw null; @@ -218,7 +289,7 @@ namespace System public UniqueId(string value) => throw null; } - // Generated from `System.Xml.XmlBinaryReaderSession` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlBinaryReaderSession` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlBinaryReaderSession : System.Xml.IXmlDictionary { public System.Xml.XmlDictionaryString Add(int id, string value) => throw null; @@ -229,7 +300,7 @@ namespace System public XmlBinaryReaderSession() => throw null; } - // Generated from `System.Xml.XmlBinaryWriterSession` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlBinaryWriterSession` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlBinaryWriterSession { public void Reset() => throw null; @@ -237,7 +308,7 @@ namespace System public XmlBinaryWriterSession() => throw null; } - // Generated from `System.Xml.XmlDictionary` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlDictionary` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDictionary : System.Xml.IXmlDictionary { public virtual System.Xml.XmlDictionaryString Add(string value) => throw null; @@ -249,7 +320,7 @@ namespace System public XmlDictionary(int capacity) => throw null; } - // Generated from `System.Xml.XmlDictionaryReader` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlDictionaryReader` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlDictionaryReader : System.Xml.XmlReader { public virtual bool CanCanonicalize { get => throw null; } @@ -378,7 +449,7 @@ namespace System protected XmlDictionaryReader() => throw null; } - // Generated from `System.Xml.XmlDictionaryReaderQuotaTypes` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlDictionaryReaderQuotaTypes` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum XmlDictionaryReaderQuotaTypes : int { @@ -389,7 +460,7 @@ namespace System MaxStringContentLength = 2, } - // Generated from `System.Xml.XmlDictionaryReaderQuotas` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlDictionaryReaderQuotas` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDictionaryReaderQuotas { public void CopyTo(System.Xml.XmlDictionaryReaderQuotas quotas) => throw null; @@ -403,7 +474,7 @@ namespace System public XmlDictionaryReaderQuotas() => throw null; } - // Generated from `System.Xml.XmlDictionaryString` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlDictionaryString` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDictionaryString { public System.Xml.IXmlDictionary Dictionary { get => throw null; } @@ -414,7 +485,7 @@ namespace System public XmlDictionaryString(System.Xml.IXmlDictionary dictionary, string value, int key) => throw null; } - // Generated from `System.Xml.XmlDictionaryWriter` in `System.Runtime.Serialization.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlDictionaryWriter` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlDictionaryWriter : System.Xml.XmlWriter { public virtual bool CanCanonicalize { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.cs index 30de6a1c57b..87212504db9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.cs @@ -6,21 +6,21 @@ namespace Microsoft { namespace SafeHandles { - // Generated from `Microsoft.Win32.SafeHandles.CriticalHandleMinusOneIsInvalid` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.SafeHandles.CriticalHandleMinusOneIsInvalid` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CriticalHandleMinusOneIsInvalid : System.Runtime.InteropServices.CriticalHandle { protected CriticalHandleMinusOneIsInvalid() : base(default(System.IntPtr)) => throw null; public override bool IsInvalid { get => throw null; } } - // Generated from `Microsoft.Win32.SafeHandles.CriticalHandleZeroOrMinusOneIsInvalid` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.SafeHandles.CriticalHandleZeroOrMinusOneIsInvalid` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CriticalHandleZeroOrMinusOneIsInvalid : System.Runtime.InteropServices.CriticalHandle { protected CriticalHandleZeroOrMinusOneIsInvalid() : base(default(System.IntPtr)) => throw null; public override bool IsInvalid { get => throw null; } } - // Generated from `Microsoft.Win32.SafeHandles.SafeFileHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.SafeHandles.SafeFileHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeFileHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { public bool IsAsync { get => throw null; } @@ -30,21 +30,21 @@ namespace Microsoft public SafeFileHandle(System.IntPtr preexistingHandle, bool ownsHandle) : base(default(bool)) => throw null; } - // Generated from `Microsoft.Win32.SafeHandles.SafeHandleMinusOneIsInvalid` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.SafeHandles.SafeHandleMinusOneIsInvalid` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SafeHandleMinusOneIsInvalid : System.Runtime.InteropServices.SafeHandle { public override bool IsInvalid { get => throw null; } protected SafeHandleMinusOneIsInvalid(bool ownsHandle) : base(default(System.IntPtr), default(bool)) => throw null; } - // Generated from `Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SafeHandleZeroOrMinusOneIsInvalid : System.Runtime.InteropServices.SafeHandle { public override bool IsInvalid { get => throw null; } protected SafeHandleZeroOrMinusOneIsInvalid(bool ownsHandle) : base(default(System.IntPtr), default(bool)) => throw null; } - // Generated from `Microsoft.Win32.SafeHandles.SafeWaitHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.SafeHandles.SafeWaitHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeWaitHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { protected override bool ReleaseHandle() => throw null; @@ -57,7 +57,7 @@ namespace Microsoft } namespace System { - // Generated from `System.AccessViolationException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.AccessViolationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AccessViolationException : System.SystemException { public AccessViolationException() => throw null; @@ -66,58 +66,58 @@ namespace System public AccessViolationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Action` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(); - // Generated from `System.Action<,,,,,,,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16); - // Generated from `System.Action<,,,,,,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15); - // Generated from `System.Action<,,,,,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14); - // Generated from `System.Action<,,,,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13); - // Generated from `System.Action<,,,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12); - // Generated from `System.Action<,,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11); - // Generated from `System.Action<,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10); - // Generated from `System.Action<,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9); - // Generated from `System.Action<,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8); - // Generated from `System.Action<,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7); - // Generated from `System.Action<,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6); - // Generated from `System.Action<,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5); - // Generated from `System.Action<,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4); - // Generated from `System.Action<,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3); - // Generated from `System.Action<,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2); - // Generated from `System.Action<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Action<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T obj); - // Generated from `System.Activator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Activator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Activator { public static object CreateInstance(System.Type type) => throw null; @@ -135,7 +135,7 @@ namespace System public static System.Runtime.Remoting.ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes) => throw null; } - // Generated from `System.AggregateException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.AggregateException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AggregateException : System.Exception { public AggregateException() => throw null; @@ -155,17 +155,18 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.AppContext` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.AppContext` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class AppContext { public static string BaseDirectory { get => throw null; } public static object GetData(string name) => throw null; + public static void SetData(string name, object data) => throw null; public static void SetSwitch(string switchName, bool isEnabled) => throw null; public static string TargetFrameworkName { get => throw null; } public static bool TryGetSwitch(string switchName, out bool isEnabled) => throw null; } - // Generated from `System.AppDomain` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.AppDomain` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AppDomain : System.MarshalByRefObject { public void AppendPrivatePath(string path) => throw null; @@ -238,14 +239,14 @@ namespace System public static void Unload(System.AppDomain domain) => throw null; } - // Generated from `System.AppDomainSetup` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.AppDomainSetup` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AppDomainSetup { public string ApplicationBase { get => throw null; } public string TargetFrameworkName { get => throw null; } } - // Generated from `System.AppDomainUnloadedException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.AppDomainUnloadedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AppDomainUnloadedException : System.SystemException { public AppDomainUnloadedException() => throw null; @@ -254,7 +255,7 @@ namespace System public AppDomainUnloadedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.ApplicationException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ApplicationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ApplicationException : System.Exception { public ApplicationException() => throw null; @@ -263,7 +264,7 @@ namespace System public ApplicationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.ApplicationId` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ApplicationId` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ApplicationId { public ApplicationId(System.Byte[] publicKeyToken, string name, System.Version version, string processorArchitecture, string culture) => throw null; @@ -278,7 +279,7 @@ namespace System public System.Version Version { get => throw null; } } - // Generated from `System.ArgIterator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ArgIterator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ArgIterator { // Stub generator skipped constructor @@ -293,7 +294,7 @@ namespace System public int GetRemainingCount() => throw null; } - // Generated from `System.ArgumentException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ArgumentException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArgumentException : System.SystemException { public ArgumentException() => throw null; @@ -305,9 +306,10 @@ namespace System public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; public override string Message { get => throw null; } public virtual string ParamName { get => throw null; } + public static void ThrowIfNullOrEmpty(string argument, string paramName = default(string)) => throw null; } - // Generated from `System.ArgumentNullException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ArgumentNullException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArgumentNullException : System.ArgumentException { public ArgumentNullException() => throw null; @@ -315,10 +317,11 @@ namespace System public ArgumentNullException(string paramName) => throw null; public ArgumentNullException(string message, System.Exception innerException) => throw null; public ArgumentNullException(string paramName, string message) => throw null; + unsafe public static void ThrowIfNull(void* argument, string paramName = default(string)) => throw null; public static void ThrowIfNull(object argument, string paramName = default(string)) => throw null; } - // Generated from `System.ArgumentOutOfRangeException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ArgumentOutOfRangeException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArgumentOutOfRangeException : System.ArgumentException { public virtual object ActualValue { get => throw null; } @@ -332,7 +335,7 @@ namespace System public override string Message { get => throw null; } } - // Generated from `System.ArithmeticException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ArithmeticException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArithmeticException : System.SystemException { public ArithmeticException() => throw null; @@ -341,7 +344,7 @@ namespace System public ArithmeticException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Array` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Array` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Array : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.ICloneable { int System.Collections.IList.Add(object value) => throw null; @@ -463,10 +466,10 @@ namespace System public static bool TrueForAll(T[] array, System.Predicate match) => throw null; } - // Generated from `System.ArraySegment<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ArraySegment<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ArraySegment : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - // Generated from `System.ArraySegment<>+Enumerator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ArraySegment<>+Enumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -513,7 +516,7 @@ namespace System public static implicit operator System.ArraySegment(T[] array) => throw null; } - // Generated from `System.ArrayTypeMismatchException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ArrayTypeMismatchException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArrayTypeMismatchException : System.SystemException { public ArrayTypeMismatchException() => throw null; @@ -522,20 +525,20 @@ namespace System public ArrayTypeMismatchException(string message, System.Exception innerException) => throw null; } - // Generated from `System.AssemblyLoadEventArgs` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.AssemblyLoadEventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyLoadEventArgs : System.EventArgs { public AssemblyLoadEventArgs(System.Reflection.Assembly loadedAssembly) => throw null; public System.Reflection.Assembly LoadedAssembly { get => throw null; } } - // Generated from `System.AssemblyLoadEventHandler` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.AssemblyLoadEventHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void AssemblyLoadEventHandler(object sender, System.AssemblyLoadEventArgs args); - // Generated from `System.AsyncCallback` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.AsyncCallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void AsyncCallback(System.IAsyncResult ar); - // Generated from `System.Attribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Attribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Attribute { protected Attribute() => throw null; @@ -578,7 +581,7 @@ namespace System public virtual object TypeId { get => throw null; } } - // Generated from `System.AttributeTargets` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.AttributeTargets` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AttributeTargets : int { @@ -600,7 +603,7 @@ namespace System Struct = 8, } - // Generated from `System.AttributeUsageAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.AttributeUsageAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AttributeUsageAttribute : System.Attribute { public bool AllowMultiple { get => throw null; set => throw null; } @@ -609,7 +612,7 @@ namespace System public System.AttributeTargets ValidOn { get => throw null; } } - // Generated from `System.BadImageFormatException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.BadImageFormatException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BadImageFormatException : System.SystemException { public BadImageFormatException() => throw null; @@ -625,7 +628,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Base64FormattingOptions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Base64FormattingOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum Base64FormattingOptions : int { @@ -633,7 +636,7 @@ namespace System None = 0, } - // Generated from `System.BitConverter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.BitConverter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class BitConverter { public static System.Int64 DoubleToInt64Bits(double value) => throw null; @@ -698,7 +701,7 @@ namespace System public static double UInt64BitsToDouble(System.UInt64 value) => throw null; } - // Generated from `System.Boolean` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Boolean` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Boolean : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable { // Stub generator skipped constructor @@ -734,7 +737,7 @@ namespace System public static bool TryParse(string value, out bool result) => throw null; } - // Generated from `System.Buffer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Buffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Buffer { public static void BlockCopy(System.Array src, int srcOffset, System.Array dst, int dstOffset, int count) => throw null; @@ -745,23 +748,91 @@ namespace System public static void SetByte(System.Array array, int index, System.Byte value) => throw null; } - // Generated from `System.Byte` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct Byte : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.Byte` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct Byte : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { + static bool System.Numerics.IEqualityOperators.operator !=(System.Byte left, System.Byte right) => throw null; + static System.Byte System.Numerics.IModulusOperators.operator %(System.Byte left, System.Byte right) => throw null; + static System.Byte System.Numerics.IBitwiseOperators.operator &(System.Byte left, System.Byte right) => throw null; + static System.Byte System.Numerics.IMultiplyOperators.operator *(System.Byte left, System.Byte right) => throw null; + static System.Byte System.Numerics.IUnaryPlusOperators.operator +(System.Byte value) => throw null; + static System.Byte System.Numerics.IAdditionOperators.operator +(System.Byte left, System.Byte right) => throw null; + static System.Byte System.Numerics.IIncrementOperators.operator ++(System.Byte value) => throw null; + static System.Byte System.Numerics.IUnaryNegationOperators.operator -(System.Byte value) => throw null; + static System.Byte System.Numerics.ISubtractionOperators.operator -(System.Byte left, System.Byte right) => throw null; + static System.Byte System.Numerics.IDecrementOperators.operator --(System.Byte value) => throw null; + static System.Byte System.Numerics.IDivisionOperators.operator /(System.Byte left, System.Byte right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.Byte left, System.Byte right) => throw null; + static System.Byte System.Numerics.IShiftOperators.operator <<(System.Byte value, int shiftAmount) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.Byte left, System.Byte right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.Byte left, System.Byte right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.Byte left, System.Byte right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.Byte left, System.Byte right) => throw null; + static System.Byte System.Numerics.IShiftOperators.operator >>(System.Byte value, int shiftAmount) => throw null; + static System.Byte System.Numerics.IShiftOperators.operator >>>(System.Byte value, int shiftAmount) => throw null; + public static System.Byte Abs(System.Byte value) => throw null; + static System.Byte System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.Byte System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } // Stub generator skipped constructor + public static System.Byte Clamp(System.Byte value, System.Byte min, System.Byte max) => throw null; public int CompareTo(System.Byte value) => throw null; public int CompareTo(object value) => throw null; + public static System.Byte CopySign(System.Byte value, System.Byte sign) => throw null; + static System.Byte System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.Byte System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.Byte System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + public static (System.Byte, System.Byte) DivRem(System.Byte left, System.Byte right) => throw null; public bool Equals(System.Byte obj) => throw null; public override bool Equals(object obj) => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; public override int GetHashCode() => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; public System.TypeCode GetTypeCode() => throw null; + public static bool IsCanonical(System.Byte value) => throw null; + public static bool IsComplexNumber(System.Byte value) => throw null; + public static bool IsEvenInteger(System.Byte value) => throw null; + public static bool IsFinite(System.Byte value) => throw null; + public static bool IsImaginaryNumber(System.Byte value) => throw null; + public static bool IsInfinity(System.Byte value) => throw null; + public static bool IsInteger(System.Byte value) => throw null; + public static bool IsNaN(System.Byte value) => throw null; + public static bool IsNegative(System.Byte value) => throw null; + public static bool IsNegativeInfinity(System.Byte value) => throw null; + public static bool IsNormal(System.Byte value) => throw null; + public static bool IsOddInteger(System.Byte value) => throw null; + public static bool IsPositive(System.Byte value) => throw null; + public static bool IsPositiveInfinity(System.Byte value) => throw null; + public static bool IsPow2(System.Byte value) => throw null; + public static bool IsRealNumber(System.Byte value) => throw null; + public static bool IsSubnormal(System.Byte value) => throw null; + public static bool IsZero(System.Byte value) => throw null; + public static System.Byte LeadingZeroCount(System.Byte value) => throw null; + public static System.Byte Log2(System.Byte value) => throw null; + public static System.Byte Max(System.Byte x, System.Byte y) => throw null; + public static System.Byte MaxMagnitude(System.Byte x, System.Byte y) => throw null; + public static System.Byte MaxMagnitudeNumber(System.Byte x, System.Byte y) => throw null; + public static System.Byte MaxNumber(System.Byte x, System.Byte y) => throw null; public const System.Byte MaxValue = default; + static System.Byte System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.Byte Min(System.Byte x, System.Byte y) => throw null; + public static System.Byte MinMagnitude(System.Byte x, System.Byte y) => throw null; + public static System.Byte MinMagnitudeNumber(System.Byte x, System.Byte y) => throw null; + public static System.Byte MinNumber(System.Byte x, System.Byte y) => throw null; public const System.Byte MinValue = default; + static System.Byte System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.Byte System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static System.Byte System.Numerics.INumberBase.One { get => throw null; } + public static System.Byte Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.Byte Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static System.Byte Parse(string s) => throw null; public static System.Byte Parse(string s, System.IFormatProvider provider) => throw null; public static System.Byte Parse(string s, System.Globalization.NumberStyles style) => throw null; public static System.Byte Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.Byte PopCount(System.Byte value) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.Byte RotateLeft(System.Byte value, int rotateAmount) => throw null; + public static System.Byte RotateRight(System.Byte value, int rotateAmount) => throw null; + public static int Sign(System.Byte value) => throw null; bool System.IConvertible.ToBoolean(System.IFormatProvider provider) => throw null; System.Byte System.IConvertible.ToByte(System.IFormatProvider provider) => throw null; System.Char System.IConvertible.ToChar(System.IFormatProvider provider) => throw null; @@ -781,21 +852,44 @@ namespace System System.UInt16 System.IConvertible.ToUInt16(System.IFormatProvider provider) => throw null; System.UInt32 System.IConvertible.ToUInt32(System.IFormatProvider provider) => throw null; System.UInt64 System.IConvertible.ToUInt64(System.IFormatProvider provider) => throw null; + public static System.Byte TrailingZeroCount(System.Byte value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.Byte result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.Byte result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.Byte result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.Byte value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.Byte value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.Byte value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.Byte result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Byte result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.Byte result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.Byte result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Byte result) => throw null; public static bool TryParse(string s, out System.Byte result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out System.Byte value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out System.Byte value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; + static System.Byte System.Numerics.INumberBase.Zero { get => throw null; } + static System.Byte System.Numerics.IBitwiseOperators.operator ^(System.Byte left, System.Byte right) => throw null; + static System.Byte System.Numerics.IMultiplyOperators.operator checked *(System.Byte left, System.Byte right) => throw null; + static System.Byte System.Numerics.IAdditionOperators.operator checked +(System.Byte left, System.Byte right) => throw null; + static System.Byte System.Numerics.IIncrementOperators.operator checked ++(System.Byte value) => throw null; + static System.Byte System.Numerics.IUnaryNegationOperators.operator checked -(System.Byte value) => throw null; + static System.Byte System.Numerics.ISubtractionOperators.operator checked -(System.Byte left, System.Byte right) => throw null; + static System.Byte System.Numerics.IDecrementOperators.operator checked --(System.Byte value) => throw null; + static System.Byte System.Numerics.IBitwiseOperators.operator |(System.Byte left, System.Byte right) => throw null; + static System.Byte System.Numerics.IBitwiseOperators.operator ~(System.Byte value) => throw null; } - // Generated from `System.CLSCompliantAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.CLSCompliantAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CLSCompliantAttribute : System.Attribute { public CLSCompliantAttribute(bool isCompliant) => throw null; public bool IsCompliant { get => throw null; } } - // Generated from `System.CannotUnloadAppDomainException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.CannotUnloadAppDomainException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CannotUnloadAppDomainException : System.SystemException { public CannotUnloadAppDomainException() => throw null; @@ -804,9 +898,31 @@ namespace System public CannotUnloadAppDomainException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Char` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct Char : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.Char` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct Char : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { + static bool System.Numerics.IEqualityOperators.operator !=(System.Char left, System.Char right) => throw null; + static System.Char System.Numerics.IModulusOperators.operator %(System.Char left, System.Char right) => throw null; + static System.Char System.Numerics.IBitwiseOperators.operator &(System.Char left, System.Char right) => throw null; + static System.Char System.Numerics.IMultiplyOperators.operator *(System.Char left, System.Char right) => throw null; + static System.Char System.Numerics.IUnaryPlusOperators.operator +(System.Char value) => throw null; + static System.Char System.Numerics.IAdditionOperators.operator +(System.Char left, System.Char right) => throw null; + static System.Char System.Numerics.IIncrementOperators.operator ++(System.Char value) => throw null; + static System.Char System.Numerics.IUnaryNegationOperators.operator -(System.Char value) => throw null; + static System.Char System.Numerics.ISubtractionOperators.operator -(System.Char left, System.Char right) => throw null; + static System.Char System.Numerics.IDecrementOperators.operator --(System.Char value) => throw null; + static System.Char System.Numerics.IDivisionOperators.operator /(System.Char left, System.Char right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.Char left, System.Char right) => throw null; + static System.Char System.Numerics.IShiftOperators.operator <<(System.Char value, int shiftAmount) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.Char left, System.Char right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.Char left, System.Char right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.Char left, System.Char right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.Char left, System.Char right) => throw null; + static System.Char System.Numerics.IShiftOperators.operator >>(System.Char value, int shiftAmount) => throw null; + static System.Char System.Numerics.IShiftOperators.operator >>>(System.Char value, int shiftAmount) => throw null; + public static System.Char Abs(System.Char value) => throw null; + static System.Char System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.Char System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } // Stub generator skipped constructor public int CompareTo(System.Char value) => throw null; public int CompareTo(object value) => throw null; @@ -815,19 +931,37 @@ namespace System public static int ConvertToUtf32(string s, int index) => throw null; public bool Equals(System.Char obj) => throw null; public override bool Equals(object obj) => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; public override int GetHashCode() => throw null; public static double GetNumericValue(System.Char c) => throw null; public static double GetNumericValue(string s, int index) => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; public System.TypeCode GetTypeCode() => throw null; public static System.Globalization.UnicodeCategory GetUnicodeCategory(System.Char c) => throw null; public static System.Globalization.UnicodeCategory GetUnicodeCategory(string s, int index) => throw null; public static bool IsAscii(System.Char c) => throw null; + public static bool IsAsciiDigit(System.Char c) => throw null; + public static bool IsAsciiHexDigit(System.Char c) => throw null; + public static bool IsAsciiHexDigitLower(System.Char c) => throw null; + public static bool IsAsciiHexDigitUpper(System.Char c) => throw null; + public static bool IsAsciiLetter(System.Char c) => throw null; + public static bool IsAsciiLetterLower(System.Char c) => throw null; + public static bool IsAsciiLetterOrDigit(System.Char c) => throw null; + public static bool IsAsciiLetterUpper(System.Char c) => throw null; + public static bool IsBetween(System.Char c, System.Char minInclusive, System.Char maxInclusive) => throw null; + public static bool IsCanonical(System.Char value) => throw null; + public static bool IsComplexNumber(System.Char value) => throw null; public static bool IsControl(System.Char c) => throw null; public static bool IsControl(string s, int index) => throw null; public static bool IsDigit(System.Char c) => throw null; public static bool IsDigit(string s, int index) => throw null; + public static bool IsEvenInteger(System.Char value) => throw null; + public static bool IsFinite(System.Char value) => throw null; public static bool IsHighSurrogate(System.Char c) => throw null; public static bool IsHighSurrogate(string s, int index) => throw null; + public static bool IsImaginaryNumber(System.Char value) => throw null; + public static bool IsInfinity(System.Char value) => throw null; + public static bool IsInteger(System.Char value) => throw null; public static bool IsLetter(System.Char c) => throw null; public static bool IsLetter(string s, int index) => throw null; public static bool IsLetterOrDigit(System.Char c) => throw null; @@ -836,12 +970,22 @@ namespace System public static bool IsLowSurrogate(string s, int index) => throw null; public static bool IsLower(System.Char c) => throw null; public static bool IsLower(string s, int index) => throw null; + public static bool IsNaN(System.Char value) => throw null; + public static bool IsNegative(System.Char value) => throw null; + public static bool IsNegativeInfinity(System.Char value) => throw null; + public static bool IsNormal(System.Char value) => throw null; public static bool IsNumber(System.Char c) => throw null; public static bool IsNumber(string s, int index) => throw null; + public static bool IsOddInteger(System.Char value) => throw null; + public static bool IsPositive(System.Char value) => throw null; + public static bool IsPositiveInfinity(System.Char value) => throw null; + public static bool IsPow2(System.Char value) => throw null; public static bool IsPunctuation(System.Char c) => throw null; public static bool IsPunctuation(string s, int index) => throw null; + public static bool IsRealNumber(System.Char value) => throw null; public static bool IsSeparator(System.Char c) => throw null; public static bool IsSeparator(string s, int index) => throw null; + public static bool IsSubnormal(System.Char value) => throw null; public static bool IsSurrogate(System.Char c) => throw null; public static bool IsSurrogate(string s, int index) => throw null; public static bool IsSurrogatePair(System.Char highSurrogate, System.Char lowSurrogate) => throw null; @@ -852,9 +996,28 @@ namespace System public static bool IsUpper(string s, int index) => throw null; public static bool IsWhiteSpace(System.Char c) => throw null; public static bool IsWhiteSpace(string s, int index) => throw null; + public static bool IsZero(System.Char value) => throw null; + public static System.Char LeadingZeroCount(System.Char value) => throw null; + public static System.Char Log2(System.Char value) => throw null; + public static System.Char MaxMagnitude(System.Char x, System.Char y) => throw null; + public static System.Char MaxMagnitudeNumber(System.Char x, System.Char y) => throw null; public const System.Char MaxValue = default; + static System.Char System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.Char MinMagnitude(System.Char x, System.Char y) => throw null; + public static System.Char MinMagnitudeNumber(System.Char x, System.Char y) => throw null; public const System.Char MinValue = default; + static System.Char System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.Char System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static System.Char System.Numerics.INumberBase.One { get => throw null; } + public static System.Char Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; + public static System.Char Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; public static System.Char Parse(string s) => throw null; + public static System.Char Parse(string s, System.IFormatProvider provider) => throw null; + public static System.Char Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.Char PopCount(System.Char value) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.Char RotateLeft(System.Char value, int rotateAmount) => throw null; + public static System.Char RotateRight(System.Char value, int rotateAmount) => throw null; bool System.IConvertible.ToBoolean(System.IFormatProvider provider) => throw null; System.Byte System.IConvertible.ToByte(System.IFormatProvider provider) => throw null; System.Char System.IConvertible.ToChar(System.IFormatProvider provider) => throw null; @@ -880,11 +1043,36 @@ namespace System public static System.Char ToUpper(System.Char c) => throw null; public static System.Char ToUpper(System.Char c, System.Globalization.CultureInfo culture) => throw null; public static System.Char ToUpperInvariant(System.Char c) => throw null; + public static System.Char TrailingZeroCount(System.Char value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.Char result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.Char result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.Char result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.Char value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.Char value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.Char value, out TOther result) => throw null; bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.Char result) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Char result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.Char result) => throw null; + public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Char result) => throw null; public static bool TryParse(string s, out System.Char result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out System.Char value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out System.Char value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; + static System.Char System.Numerics.INumberBase.Zero { get => throw null; } + static System.Char System.Numerics.IBitwiseOperators.operator ^(System.Char left, System.Char right) => throw null; + static System.Char System.Numerics.IMultiplyOperators.operator checked *(System.Char left, System.Char right) => throw null; + static System.Char System.Numerics.IAdditionOperators.operator checked +(System.Char left, System.Char right) => throw null; + static System.Char System.Numerics.IIncrementOperators.operator checked ++(System.Char value) => throw null; + static System.Char System.Numerics.IUnaryNegationOperators.operator checked -(System.Char value) => throw null; + static System.Char System.Numerics.ISubtractionOperators.operator checked -(System.Char left, System.Char right) => throw null; + static System.Char System.Numerics.IDecrementOperators.operator checked --(System.Char value) => throw null; + static System.Char System.Numerics.IBitwiseOperators.operator |(System.Char left, System.Char right) => throw null; + static System.Char System.Numerics.IBitwiseOperators.operator ~(System.Char value) => throw null; } - // Generated from `System.CharEnumerator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.CharEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CharEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.ICloneable, System.IDisposable { public object Clone() => throw null; @@ -895,16 +1083,16 @@ namespace System public void Reset() => throw null; } - // Generated from `System.Comparison<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Comparison<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate int Comparison(T x, T y); - // Generated from `System.ContextBoundObject` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ContextBoundObject` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ContextBoundObject : System.MarshalByRefObject { protected ContextBoundObject() => throw null; } - // Generated from `System.ContextMarshalException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ContextMarshalException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContextMarshalException : System.SystemException { public ContextMarshalException() => throw null; @@ -913,13 +1101,13 @@ namespace System public ContextMarshalException(string message, System.Exception inner) => throw null; } - // Generated from `System.ContextStaticAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ContextStaticAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContextStaticAttribute : System.Attribute { public ContextStaticAttribute() => throw null; } - // Generated from `System.Convert` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Convert` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Convert { public static object ChangeType(object value, System.Type conversionType) => throw null; @@ -1244,10 +1432,10 @@ namespace System public static bool TryToBase64Chars(System.ReadOnlySpan bytes, System.Span chars, out int charsWritten, System.Base64FormattingOptions options = default(System.Base64FormattingOptions)) => throw null; } - // Generated from `System.Converter<,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Converter<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TOutput Converter(TInput input); - // Generated from `System.DBNull` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.DBNull` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DBNull : System.IConvertible, System.Runtime.Serialization.ISerializable { public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -1272,8 +1460,8 @@ namespace System public static System.DBNull Value; } - // Generated from `System.DateOnly` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct DateOnly : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.DateOnly` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct DateOnly : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable { public static bool operator !=(System.DateOnly left, System.DateOnly right) => throw null; public static bool operator <(System.DateOnly left, System.DateOnly right) => throw null; @@ -1301,8 +1489,10 @@ namespace System public static System.DateOnly MaxValue { get => throw null; } public static System.DateOnly MinValue { get => throw null; } public int Month { get => throw null; } + public static System.DateOnly Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.DateOnly Parse(System.ReadOnlySpan s, System.IFormatProvider provider = default(System.IFormatProvider), System.Globalization.DateTimeStyles style = default(System.Globalization.DateTimeStyles)) => throw null; public static System.DateOnly Parse(string s) => throw null; + public static System.DateOnly Parse(string s, System.IFormatProvider provider) => throw null; public static System.DateOnly Parse(string s, System.IFormatProvider provider, System.Globalization.DateTimeStyles style = default(System.Globalization.DateTimeStyles)) => throw null; public static System.DateOnly ParseExact(System.ReadOnlySpan s, System.ReadOnlySpan format, System.IFormatProvider provider = default(System.IFormatProvider), System.Globalization.DateTimeStyles style = default(System.Globalization.DateTimeStyles)) => throw null; public static System.DateOnly ParseExact(System.ReadOnlySpan s, string[] formats) => throw null; @@ -1321,8 +1511,10 @@ namespace System public string ToString(string format, System.IFormatProvider provider) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, System.Globalization.DateTimeStyles style, out System.DateOnly result) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.DateOnly result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.DateOnly result) => throw null; public static bool TryParse(string s, System.IFormatProvider provider, System.Globalization.DateTimeStyles style, out System.DateOnly result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.DateOnly result) => throw null; public static bool TryParse(string s, out System.DateOnly result) => throw null; public static bool TryParseExact(System.ReadOnlySpan s, System.ReadOnlySpan format, System.IFormatProvider provider, System.Globalization.DateTimeStyles style, out System.DateOnly result) => throw null; public static bool TryParseExact(System.ReadOnlySpan s, System.ReadOnlySpan format, out System.DateOnly result) => throw null; @@ -1335,8 +1527,8 @@ namespace System public int Year { get => throw null; } } - // Generated from `System.DateTime` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct DateTime : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.ISpanFormattable, System.Runtime.Serialization.ISerializable + // Generated from `System.DateTime` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct DateTime : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.DateTime d1, System.DateTime d2) => throw null; public static System.DateTime operator +(System.DateTime d, System.TimeSpan t) => throw null; @@ -1350,6 +1542,7 @@ namespace System public System.DateTime Add(System.TimeSpan value) => throw null; public System.DateTime AddDays(double value) => throw null; public System.DateTime AddHours(double value) => throw null; + public System.DateTime AddMicroseconds(double value) => throw null; public System.DateTime AddMilliseconds(double value) => throw null; public System.DateTime AddMinutes(double value) => throw null; public System.DateTime AddMonths(int months) => throw null; @@ -1370,6 +1563,10 @@ namespace System public DateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, System.Globalization.Calendar calendar) => throw null; public DateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, System.Globalization.Calendar calendar, System.DateTimeKind kind) => throw null; public DateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, System.DateTimeKind kind) => throw null; + public DateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond) => throw null; + public DateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, System.Globalization.Calendar calendar) => throw null; + public DateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, System.Globalization.Calendar calendar, System.DateTimeKind kind) => throw null; + public DateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, System.DateTimeKind kind) => throw null; public DateTime(System.Int64 ticks) => throw null; public DateTime(System.Int64 ticks, System.DateTimeKind kind) => throw null; public int Day { get => throw null; } @@ -1395,11 +1592,14 @@ namespace System public static bool IsLeapYear(int year) => throw null; public System.DateTimeKind Kind { get => throw null; } public static System.DateTime MaxValue; + public int Microsecond { get => throw null; } public int Millisecond { get => throw null; } public static System.DateTime MinValue; public int Minute { get => throw null; } public int Month { get => throw null; } + public int Nanosecond { get => throw null; } public static System.DateTime Now { get => throw null; } + public static System.DateTime Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.DateTime Parse(System.ReadOnlySpan s, System.IFormatProvider provider = default(System.IFormatProvider), System.Globalization.DateTimeStyles styles = default(System.Globalization.DateTimeStyles)) => throw null; public static System.DateTime Parse(string s) => throw null; public static System.DateTime Parse(string s, System.IFormatProvider provider) => throw null; @@ -1447,8 +1647,10 @@ namespace System public static System.DateTime Today { get => throw null; } public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, System.Globalization.DateTimeStyles styles, out System.DateTime result) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.DateTime result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.DateTime result) => throw null; public static bool TryParse(string s, System.IFormatProvider provider, System.Globalization.DateTimeStyles styles, out System.DateTime result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.DateTime result) => throw null; public static bool TryParse(string s, out System.DateTime result) => throw null; public static bool TryParseExact(System.ReadOnlySpan s, System.ReadOnlySpan format, System.IFormatProvider provider, System.Globalization.DateTimeStyles style, out System.DateTime result) => throw null; public static bool TryParseExact(System.ReadOnlySpan s, string[] formats, System.IFormatProvider provider, System.Globalization.DateTimeStyles style, out System.DateTime result) => throw null; @@ -1459,7 +1661,7 @@ namespace System public int Year { get => throw null; } } - // Generated from `System.DateTimeKind` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.DateTimeKind` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DateTimeKind : int { Local = 2, @@ -1467,8 +1669,8 @@ namespace System Utc = 1, } - // Generated from `System.DateTimeOffset` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct DateTimeOffset : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.ISpanFormattable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable + // Generated from `System.DateTimeOffset` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct DateTimeOffset : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.DateTimeOffset left, System.DateTimeOffset right) => throw null; public static System.DateTimeOffset operator +(System.DateTimeOffset dateTimeOffset, System.TimeSpan timeSpan) => throw null; @@ -1482,6 +1684,7 @@ namespace System public System.DateTimeOffset Add(System.TimeSpan timeSpan) => throw null; public System.DateTimeOffset AddDays(double days) => throw null; public System.DateTimeOffset AddHours(double hours) => throw null; + public System.DateTimeOffset AddMicroseconds(double microseconds) => throw null; public System.DateTimeOffset AddMilliseconds(double milliseconds) => throw null; public System.DateTimeOffset AddMinutes(double minutes) => throw null; public System.DateTimeOffset AddMonths(int months) => throw null; @@ -1499,6 +1702,8 @@ namespace System public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, System.TimeSpan offset) => throw null; public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, int millisecond, System.Globalization.Calendar calendar, System.TimeSpan offset) => throw null; public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, int millisecond, System.TimeSpan offset) => throw null; + public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, System.Globalization.Calendar calendar, System.TimeSpan offset) => throw null; + public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, System.TimeSpan offset) => throw null; public DateTimeOffset(System.Int64 ticks, System.TimeSpan offset) => throw null; public int Day { get => throw null; } public System.DayOfWeek DayOfWeek { get => throw null; } @@ -1515,13 +1720,16 @@ namespace System public int Hour { get => throw null; } public System.DateTime LocalDateTime { get => throw null; } public static System.DateTimeOffset MaxValue; + public int Microsecond { get => throw null; } public int Millisecond { get => throw null; } public static System.DateTimeOffset MinValue; public int Minute { get => throw null; } public int Month { get => throw null; } + public int Nanosecond { get => throw null; } public static System.DateTimeOffset Now { get => throw null; } public System.TimeSpan Offset { get => throw null; } void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) => throw null; + public static System.DateTimeOffset Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.DateTimeOffset Parse(System.ReadOnlySpan input, System.IFormatProvider formatProvider = default(System.IFormatProvider), System.Globalization.DateTimeStyles styles = default(System.Globalization.DateTimeStyles)) => throw null; public static System.DateTimeOffset Parse(string input) => throw null; public static System.DateTimeOffset Parse(string input, System.IFormatProvider formatProvider) => throw null; @@ -1548,8 +1756,10 @@ namespace System public System.Int64 ToUnixTimeSeconds() => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider formatProvider = default(System.IFormatProvider)) => throw null; public static bool TryParse(System.ReadOnlySpan input, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.DateTimeOffset result) => throw null; public static bool TryParse(System.ReadOnlySpan input, out System.DateTimeOffset result) => throw null; public static bool TryParse(string input, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.DateTimeOffset result) => throw null; public static bool TryParse(string input, out System.DateTimeOffset result) => throw null; public static bool TryParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) => throw null; public static bool TryParseExact(System.ReadOnlySpan input, string[] formats, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) => throw null; @@ -1563,7 +1773,7 @@ namespace System public static implicit operator System.DateTimeOffset(System.DateTime dateTime) => throw null; } - // Generated from `System.DayOfWeek` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.DayOfWeek` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DayOfWeek : int { Friday = 5, @@ -1575,29 +1785,36 @@ namespace System Wednesday = 3, } - // Generated from `System.Decimal` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct Decimal : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.ISpanFormattable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable + // Generated from `System.Decimal` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct Decimal : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { - public static bool operator !=(System.Decimal d1, System.Decimal d2) => throw null; - public static System.Decimal operator %(System.Decimal d1, System.Decimal d2) => throw null; - public static System.Decimal operator *(System.Decimal d1, System.Decimal d2) => throw null; - public static System.Decimal operator +(System.Decimal d) => throw null; - public static System.Decimal operator +(System.Decimal d1, System.Decimal d2) => throw null; - public static System.Decimal operator ++(System.Decimal d) => throw null; - public static System.Decimal operator -(System.Decimal d) => throw null; - public static System.Decimal operator -(System.Decimal d1, System.Decimal d2) => throw null; - public static System.Decimal operator --(System.Decimal d) => throw null; - public static System.Decimal operator /(System.Decimal d1, System.Decimal d2) => throw null; - public static bool operator <(System.Decimal d1, System.Decimal d2) => throw null; - public static bool operator <=(System.Decimal d1, System.Decimal d2) => throw null; - public static bool operator ==(System.Decimal d1, System.Decimal d2) => throw null; - public static bool operator >(System.Decimal d1, System.Decimal d2) => throw null; - public static bool operator >=(System.Decimal d1, System.Decimal d2) => throw null; + static bool System.Numerics.IEqualityOperators.operator !=(System.Decimal d1, System.Decimal d2) => throw null; + static System.Decimal System.Numerics.IModulusOperators.operator %(System.Decimal d1, System.Decimal d2) => throw null; + static System.Decimal System.Numerics.IMultiplyOperators.operator *(System.Decimal d1, System.Decimal d2) => throw null; + static System.Decimal System.Numerics.IUnaryPlusOperators.operator +(System.Decimal d) => throw null; + static System.Decimal System.Numerics.IAdditionOperators.operator +(System.Decimal d1, System.Decimal d2) => throw null; + static System.Decimal System.Numerics.IIncrementOperators.operator ++(System.Decimal d) => throw null; + static System.Decimal System.Numerics.IUnaryNegationOperators.operator -(System.Decimal d) => throw null; + static System.Decimal System.Numerics.ISubtractionOperators.operator -(System.Decimal d1, System.Decimal d2) => throw null; + static System.Decimal System.Numerics.IDecrementOperators.operator --(System.Decimal d) => throw null; + static System.Decimal System.Numerics.IDivisionOperators.operator /(System.Decimal d1, System.Decimal d2) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.Decimal d1, System.Decimal d2) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.Decimal d1, System.Decimal d2) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.Decimal d1, System.Decimal d2) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.Decimal d1, System.Decimal d2) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.Decimal d1, System.Decimal d2) => throw null; + public static System.Decimal Abs(System.Decimal value) => throw null; public static System.Decimal Add(System.Decimal d1, System.Decimal d2) => throw null; + static System.Decimal System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } public static System.Decimal Ceiling(System.Decimal d) => throw null; + public static System.Decimal Clamp(System.Decimal value, System.Decimal min, System.Decimal max) => throw null; public static int Compare(System.Decimal d1, System.Decimal d2) => throw null; public int CompareTo(System.Decimal value) => throw null; public int CompareTo(object value) => throw null; + public static System.Decimal CopySign(System.Decimal value, System.Decimal sign) => throw null; + static System.Decimal System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.Decimal System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.Decimal System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; // Stub generator skipped constructor public Decimal(int[] bits) => throw null; public Decimal(System.ReadOnlySpan bits) => throw null; @@ -1609,6 +1826,7 @@ namespace System public Decimal(System.UInt32 value) => throw null; public Decimal(System.UInt64 value) => throw null; public static System.Decimal Divide(System.Decimal d1, System.Decimal d2) => throw null; + static System.Decimal System.Numerics.IFloatingPointConstants.E { get => throw null; } public bool Equals(System.Decimal value) => throw null; public static bool Equals(System.Decimal d1, System.Decimal d2) => throw null; public override bool Equals(object value) => throw null; @@ -1616,27 +1834,67 @@ namespace System public static System.Decimal FromOACurrency(System.Int64 cy) => throw null; public static int[] GetBits(System.Decimal d) => throw null; public static int GetBits(System.Decimal d, System.Span destination) => throw null; + int System.Numerics.IFloatingPoint.GetExponentByteCount() => throw null; + int System.Numerics.IFloatingPoint.GetExponentShortestBitLength() => throw null; public override int GetHashCode() => throw null; void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + int System.Numerics.IFloatingPoint.GetSignificandBitLength() => throw null; + int System.Numerics.IFloatingPoint.GetSignificandByteCount() => throw null; public System.TypeCode GetTypeCode() => throw null; + public static bool IsCanonical(System.Decimal value) => throw null; + public static bool IsComplexNumber(System.Decimal value) => throw null; + public static bool IsEvenInteger(System.Decimal value) => throw null; + public static bool IsFinite(System.Decimal value) => throw null; + public static bool IsImaginaryNumber(System.Decimal value) => throw null; + public static bool IsInfinity(System.Decimal value) => throw null; + public static bool IsInteger(System.Decimal value) => throw null; + public static bool IsNaN(System.Decimal value) => throw null; + public static bool IsNegative(System.Decimal value) => throw null; + public static bool IsNegativeInfinity(System.Decimal value) => throw null; + public static bool IsNormal(System.Decimal value) => throw null; + public static bool IsOddInteger(System.Decimal value) => throw null; + public static bool IsPositive(System.Decimal value) => throw null; + public static bool IsPositiveInfinity(System.Decimal value) => throw null; + public static bool IsRealNumber(System.Decimal value) => throw null; + public static bool IsSubnormal(System.Decimal value) => throw null; + public static bool IsZero(System.Decimal value) => throw null; + public static System.Decimal Max(System.Decimal x, System.Decimal y) => throw null; + public static System.Decimal MaxMagnitude(System.Decimal x, System.Decimal y) => throw null; + public static System.Decimal MaxMagnitudeNumber(System.Decimal x, System.Decimal y) => throw null; + public static System.Decimal MaxNumber(System.Decimal x, System.Decimal y) => throw null; public const System.Decimal MaxValue = default; + static System.Decimal System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.Decimal Min(System.Decimal x, System.Decimal y) => throw null; + public static System.Decimal MinMagnitude(System.Decimal x, System.Decimal y) => throw null; + public static System.Decimal MinMagnitudeNumber(System.Decimal x, System.Decimal y) => throw null; + public static System.Decimal MinNumber(System.Decimal x, System.Decimal y) => throw null; public const System.Decimal MinValue = default; + static System.Decimal System.Numerics.IMinMaxValue.MinValue { get => throw null; } public const System.Decimal MinusOne = default; + static System.Decimal System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } public static System.Decimal Multiply(System.Decimal d1, System.Decimal d2) => throw null; public static System.Decimal Negate(System.Decimal d) => throw null; + static System.Decimal System.Numerics.ISignedNumber.NegativeOne { get => throw null; } void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) => throw null; public const System.Decimal One = default; + static System.Decimal System.Numerics.INumberBase.One { get => throw null; } + public static System.Decimal Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.Decimal Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static System.Decimal Parse(string s) => throw null; public static System.Decimal Parse(string s, System.IFormatProvider provider) => throw null; public static System.Decimal Parse(string s, System.Globalization.NumberStyles style) => throw null; public static System.Decimal Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + static System.Decimal System.Numerics.IFloatingPointConstants.Pi { get => throw null; } + static int System.Numerics.INumberBase.Radix { get => throw null; } public static System.Decimal Remainder(System.Decimal d1, System.Decimal d2) => throw null; public static System.Decimal Round(System.Decimal d) => throw null; public static System.Decimal Round(System.Decimal d, System.MidpointRounding mode) => throw null; public static System.Decimal Round(System.Decimal d, int decimals) => throw null; public static System.Decimal Round(System.Decimal d, int decimals, System.MidpointRounding mode) => throw null; + public System.Byte Scale { get => throw null; } + public static int Sign(System.Decimal d) => throw null; public static System.Decimal Subtract(System.Decimal d1, System.Decimal d2) => throw null; + static System.Decimal System.Numerics.IFloatingPointConstants.Tau { get => throw null; } bool System.IConvertible.ToBoolean(System.IFormatProvider provider) => throw null; System.Byte System.IConvertible.ToByte(System.IFormatProvider provider) => throw null; public static System.Byte ToByte(System.Decimal value) => throw null; @@ -1668,13 +1926,26 @@ namespace System System.UInt64 System.IConvertible.ToUInt64(System.IFormatProvider provider) => throw null; public static System.UInt64 ToUInt64(System.Decimal d) => throw null; public static System.Decimal Truncate(System.Decimal d) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.Decimal result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.Decimal result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.Decimal result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.Decimal value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.Decimal value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.Decimal value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static bool TryGetBits(System.Decimal d, System.Span destination, out int valuesWritten) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.Decimal result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Decimal result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.Decimal result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.Decimal result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Decimal result) => throw null; public static bool TryParse(string s, out System.Decimal result) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteExponentBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteExponentLittleEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteSignificandBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteSignificandLittleEndian(System.Span destination, out int bytesWritten) => throw null; public const System.Decimal Zero = default; + static System.Decimal System.Numerics.INumberBase.Zero { get => throw null; } public static explicit operator System.Byte(System.Decimal value) => throw null; public static explicit operator System.Char(System.Decimal value) => throw null; public static explicit operator System.Int16(System.Decimal value) => throw null; @@ -1699,7 +1970,7 @@ namespace System public static implicit operator System.Decimal(System.UInt16 value) => throw null; } - // Generated from `System.Delegate` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Delegate` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Delegate : System.ICloneable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.Delegate d1, System.Delegate d2) => throw null; @@ -1734,7 +2005,7 @@ namespace System public object Target { get => throw null; } } - // Generated from `System.DivideByZeroException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.DivideByZeroException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DivideByZeroException : System.ArithmeticException { public DivideByZeroException() => throw null; @@ -1743,41 +2014,155 @@ namespace System public DivideByZeroException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Double` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct Double : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.Double` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct Double : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { - public static bool operator !=(double left, double right) => throw null; - public static bool operator <(double left, double right) => throw null; - public static bool operator <=(double left, double right) => throw null; - public static bool operator ==(double left, double right) => throw null; - public static bool operator >(double left, double right) => throw null; - public static bool operator >=(double left, double right) => throw null; + static bool System.Numerics.IEqualityOperators.operator !=(double left, double right) => throw null; + static double System.Numerics.IModulusOperators.operator %(double left, double right) => throw null; + static double System.Numerics.IBitwiseOperators.operator &(double left, double right) => throw null; + static double System.Numerics.IMultiplyOperators.operator *(double left, double right) => throw null; + static double System.Numerics.IUnaryPlusOperators.operator +(double value) => throw null; + static double System.Numerics.IAdditionOperators.operator +(double left, double right) => throw null; + static double System.Numerics.IIncrementOperators.operator ++(double value) => throw null; + static double System.Numerics.IUnaryNegationOperators.operator -(double value) => throw null; + static double System.Numerics.ISubtractionOperators.operator -(double left, double right) => throw null; + static double System.Numerics.IDecrementOperators.operator --(double value) => throw null; + static double System.Numerics.IDivisionOperators.operator /(double left, double right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(double left, double right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(double left, double right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(double left, double right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(double left, double right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(double left, double right) => throw null; + public static double Abs(double value) => throw null; + public static double Acos(double x) => throw null; + public static double AcosPi(double x) => throw null; + public static double Acosh(double x) => throw null; + static double System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static double System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static double Asin(double x) => throw null; + public static double AsinPi(double x) => throw null; + public static double Asinh(double x) => throw null; + public static double Atan(double x) => throw null; + public static double Atan2(double y, double x) => throw null; + public static double Atan2Pi(double y, double x) => throw null; + public static double AtanPi(double x) => throw null; + public static double Atanh(double x) => throw null; + public static double BitDecrement(double x) => throw null; + public static double BitIncrement(double x) => throw null; + public static double Cbrt(double x) => throw null; + public static double Ceiling(double x) => throw null; + public static double Clamp(double value, double min, double max) => throw null; public int CompareTo(double value) => throw null; public int CompareTo(object value) => throw null; + public static double CopySign(double value, double sign) => throw null; + public static double Cos(double x) => throw null; + public static double CosPi(double x) => throw null; + public static double Cosh(double x) => throw null; + static double System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static double System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static double System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; // Stub generator skipped constructor + public const double E = default; + static double System.Numerics.IFloatingPointConstants.E { get => throw null; } public const double Epsilon = default; + static double System.Numerics.IFloatingPointIeee754.Epsilon { get => throw null; } public bool Equals(double obj) => throw null; public override bool Equals(object obj) => throw null; + public static double Exp(double x) => throw null; + public static double Exp10(double x) => throw null; + public static double Exp10M1(double x) => throw null; + public static double Exp2(double x) => throw null; + public static double Exp2M1(double x) => throw null; + public static double ExpM1(double x) => throw null; + public static double Floor(double x) => throw null; + public static double FusedMultiplyAdd(double left, double right, double addend) => throw null; + int System.Numerics.IFloatingPoint.GetExponentByteCount() => throw null; + int System.Numerics.IFloatingPoint.GetExponentShortestBitLength() => throw null; public override int GetHashCode() => throw null; + int System.Numerics.IFloatingPoint.GetSignificandBitLength() => throw null; + int System.Numerics.IFloatingPoint.GetSignificandByteCount() => throw null; public System.TypeCode GetTypeCode() => throw null; + public static double Hypot(double x, double y) => throw null; + public static int ILogB(double x) => throw null; + public static double Ieee754Remainder(double left, double right) => throw null; + public static bool IsCanonical(double value) => throw null; + public static bool IsComplexNumber(double value) => throw null; + public static bool IsEvenInteger(double value) => throw null; public static bool IsFinite(double d) => throw null; + public static bool IsImaginaryNumber(double value) => throw null; public static bool IsInfinity(double d) => throw null; + public static bool IsInteger(double value) => throw null; public static bool IsNaN(double d) => throw null; public static bool IsNegative(double d) => throw null; public static bool IsNegativeInfinity(double d) => throw null; public static bool IsNormal(double d) => throw null; + public static bool IsOddInteger(double value) => throw null; + public static bool IsPositive(double value) => throw null; public static bool IsPositiveInfinity(double d) => throw null; + public static bool IsPow2(double value) => throw null; + public static bool IsRealNumber(double value) => throw null; public static bool IsSubnormal(double d) => throw null; + public static bool IsZero(double value) => throw null; + public static double Log(double x) => throw null; + public static double Log(double x, double newBase) => throw null; + public static double Log10(double x) => throw null; + public static double Log10P1(double x) => throw null; + public static double Log2(double value) => throw null; + public static double Log2P1(double x) => throw null; + public static double LogP1(double x) => throw null; + public static double Max(double x, double y) => throw null; + public static double MaxMagnitude(double x, double y) => throw null; + public static double MaxMagnitudeNumber(double x, double y) => throw null; + public static double MaxNumber(double x, double y) => throw null; public const double MaxValue = default; + static double System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static double Min(double x, double y) => throw null; + public static double MinMagnitude(double x, double y) => throw null; + public static double MinMagnitudeNumber(double x, double y) => throw null; + public static double MinNumber(double x, double y) => throw null; public const double MinValue = default; + static double System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static double System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } public const double NaN = default; + static double System.Numerics.IFloatingPointIeee754.NaN { get => throw null; } public const double NegativeInfinity = default; + static double System.Numerics.IFloatingPointIeee754.NegativeInfinity { get => throw null; } + static double System.Numerics.ISignedNumber.NegativeOne { get => throw null; } + public const double NegativeZero = default; + static double System.Numerics.IFloatingPointIeee754.NegativeZero { get => throw null; } + static double System.Numerics.INumberBase.One { get => throw null; } + public static double Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static double Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static double Parse(string s) => throw null; public static double Parse(string s, System.IFormatProvider provider) => throw null; public static double Parse(string s, System.Globalization.NumberStyles style) => throw null; public static double Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public const double Pi = default; + static double System.Numerics.IFloatingPointConstants.Pi { get => throw null; } public const double PositiveInfinity = default; + static double System.Numerics.IFloatingPointIeee754.PositiveInfinity { get => throw null; } + public static double Pow(double x, double y) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static double ReciprocalEstimate(double x) => throw null; + public static double ReciprocalSqrtEstimate(double x) => throw null; + public static double RootN(double x, int n) => throw null; + public static double Round(double x) => throw null; + public static double Round(double x, System.MidpointRounding mode) => throw null; + public static double Round(double x, int digits) => throw null; + public static double Round(double x, int digits, System.MidpointRounding mode) => throw null; + public static double ScaleB(double x, int n) => throw null; + public static int Sign(double value) => throw null; + public static double Sin(double x) => throw null; + public static (double, double) SinCos(double x) => throw null; + public static (double, double) SinCosPi(double x) => throw null; + public static double SinPi(double x) => throw null; + public static double Sinh(double x) => throw null; + public static double Sqrt(double x) => throw null; + public static double Tan(double x) => throw null; + public static double TanPi(double x) => throw null; + public static double Tanh(double x) => throw null; + public const double Tau = default; + static double System.Numerics.IFloatingPointConstants.Tau { get => throw null; } bool System.IConvertible.ToBoolean(System.IFormatProvider provider) => throw null; System.Byte System.IConvertible.ToByte(System.IFormatProvider provider) => throw null; System.Char System.IConvertible.ToChar(System.IFormatProvider provider) => throw null; @@ -1797,14 +2182,31 @@ namespace System System.UInt16 System.IConvertible.ToUInt16(System.IFormatProvider provider) => throw null; System.UInt32 System.IConvertible.ToUInt32(System.IFormatProvider provider) => throw null; System.UInt64 System.IConvertible.ToUInt64(System.IFormatProvider provider) => throw null; + public static double Truncate(double x) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out double result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out double result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out double result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(double value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(double value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(double value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out double result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out double result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out double result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out double result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out double result) => throw null; public static bool TryParse(string s, out double result) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteExponentBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteExponentLittleEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteSignificandBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteSignificandLittleEndian(System.Span destination, out int bytesWritten) => throw null; + static double System.Numerics.INumberBase.Zero { get => throw null; } + static double System.Numerics.IBitwiseOperators.operator ^(double left, double right) => throw null; + static double System.Numerics.IBitwiseOperators.operator |(double left, double right) => throw null; + static double System.Numerics.IBitwiseOperators.operator ~(double value) => throw null; } - // Generated from `System.DuplicateWaitObjectException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.DuplicateWaitObjectException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DuplicateWaitObjectException : System.ArgumentException { public DuplicateWaitObjectException() => throw null; @@ -1814,7 +2216,7 @@ namespace System public DuplicateWaitObjectException(string parameterName, string message) => throw null; } - // Generated from `System.EntryPointNotFoundException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.EntryPointNotFoundException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EntryPointNotFoundException : System.TypeLoadException { public EntryPointNotFoundException() => throw null; @@ -1823,7 +2225,7 @@ namespace System public EntryPointNotFoundException(string message, System.Exception inner) => throw null; } - // Generated from `System.Enum` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Enum` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Enum : System.IComparable, System.IConvertible, System.IFormattable { public int CompareTo(object target) => throw null; @@ -1839,6 +2241,8 @@ namespace System public static System.Type GetUnderlyingType(System.Type enumType) => throw null; public static System.Array GetValues(System.Type enumType) => throw null; public static TEnum[] GetValues() where TEnum : System.Enum => throw null; + public static System.Array GetValuesAsUnderlyingType(System.Type enumType) => throw null; + public static System.Array GetValuesAsUnderlyingType() where TEnum : System.Enum => throw null; public bool HasFlag(System.Enum flag) => throw null; public static bool IsDefined(System.Type enumType, object value) => throw null; public static bool IsDefined(TEnum value) where TEnum : System.Enum => throw null; @@ -1888,10 +2292,10 @@ namespace System public static bool TryParse(string value, out TEnum result) where TEnum : struct => throw null; } - // Generated from `System.Environment` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Environment` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Environment { - // Generated from `System.Environment+SpecialFolder` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Environment+SpecialFolder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SpecialFolder : int { AdminTools = 48, @@ -1944,7 +2348,7 @@ namespace System } - // Generated from `System.Environment+SpecialFolderOption` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Environment+SpecialFolderOption` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SpecialFolderOption : int { Create = 32768, @@ -1992,7 +2396,7 @@ namespace System public static System.Int64 WorkingSet { get => throw null; } } - // Generated from `System.EnvironmentVariableTarget` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.EnvironmentVariableTarget` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EnvironmentVariableTarget : int { Machine = 2, @@ -2000,20 +2404,20 @@ namespace System User = 1, } - // Generated from `System.EventArgs` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.EventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventArgs { public static System.EventArgs Empty; public EventArgs() => throw null; } - // Generated from `System.EventHandler` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.EventHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void EventHandler(object sender, System.EventArgs e); - // Generated from `System.EventHandler<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.EventHandler<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void EventHandler(object sender, TEventArgs e); - // Generated from `System.Exception` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Exception` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Exception : System.Runtime.Serialization.ISerializable { public virtual System.Collections.IDictionary Data { get => throw null; } @@ -2035,7 +2439,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.ExecutionEngineException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ExecutionEngineException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExecutionEngineException : System.SystemException { public ExecutionEngineException() => throw null; @@ -2043,7 +2447,7 @@ namespace System public ExecutionEngineException(string message, System.Exception innerException) => throw null; } - // Generated from `System.FieldAccessException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.FieldAccessException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FieldAccessException : System.MemberAccessException { public FieldAccessException() => throw null; @@ -2052,19 +2456,19 @@ namespace System public FieldAccessException(string message, System.Exception inner) => throw null; } - // Generated from `System.FileStyleUriParser` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.FileStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileStyleUriParser : System.UriParser { public FileStyleUriParser() => throw null; } - // Generated from `System.FlagsAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.FlagsAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FlagsAttribute : System.Attribute { public FlagsAttribute() => throw null; } - // Generated from `System.FormatException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.FormatException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FormatException : System.SystemException { public FormatException() => throw null; @@ -2073,7 +2477,7 @@ namespace System public FormatException(string message, System.Exception innerException) => throw null; } - // Generated from `System.FormattableString` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.FormattableString` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class FormattableString : System.IFormattable { public abstract int ArgumentCount { get; } @@ -2088,64 +2492,64 @@ namespace System string System.IFormattable.ToString(string ignored, System.IFormatProvider formatProvider) => throw null; } - // Generated from `System.FtpStyleUriParser` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.FtpStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FtpStyleUriParser : System.UriParser { public FtpStyleUriParser() => throw null; } - // Generated from `System.Func<,,,,,,,,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16); - // Generated from `System.Func<,,,,,,,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15); - // Generated from `System.Func<,,,,,,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14); - // Generated from `System.Func<,,,,,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13); - // Generated from `System.Func<,,,,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12); - // Generated from `System.Func<,,,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11); - // Generated from `System.Func<,,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10); - // Generated from `System.Func<,,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9); - // Generated from `System.Func<,,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8); - // Generated from `System.Func<,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7); - // Generated from `System.Func<,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6); - // Generated from `System.Func<,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5); - // Generated from `System.Func<,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4); - // Generated from `System.Func<,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3); - // Generated from `System.Func<,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2); - // Generated from `System.Func<,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T arg); - // Generated from `System.Func<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Func<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(); - // Generated from `System.GC` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.GC` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class GC { public static void AddMemoryPressure(System.Int64 bytesAllocated) => throw null; @@ -2160,12 +2564,14 @@ namespace System public static int CollectionCount(int generation) => throw null; public static void EndNoGCRegion() => throw null; public static System.Int64 GetAllocatedBytesForCurrentThread() => throw null; + public static System.Collections.Generic.IReadOnlyDictionary GetConfigurationVariables() => throw null; public static System.GCMemoryInfo GetGCMemoryInfo() => throw null; public static System.GCMemoryInfo GetGCMemoryInfo(System.GCKind kind) => throw null; public static int GetGeneration(System.WeakReference wo) => throw null; public static int GetGeneration(object obj) => throw null; public static System.Int64 GetTotalAllocatedBytes(bool precise = default(bool)) => throw null; public static System.Int64 GetTotalMemory(bool forceFullCollection) => throw null; + public static System.TimeSpan GetTotalPauseDuration() => throw null; public static void KeepAlive(object obj) => throw null; public static int MaxGeneration { get => throw null; } public static void ReRegisterForFinalize(object obj) => throw null; @@ -2177,21 +2583,24 @@ namespace System public static bool TryStartNoGCRegion(System.Int64 totalSize, System.Int64 lohSize) => throw null; public static bool TryStartNoGCRegion(System.Int64 totalSize, System.Int64 lohSize, bool disallowFullBlockingGC) => throw null; public static System.GCNotificationStatus WaitForFullGCApproach() => throw null; + public static System.GCNotificationStatus WaitForFullGCApproach(System.TimeSpan timeout) => throw null; public static System.GCNotificationStatus WaitForFullGCApproach(int millisecondsTimeout) => throw null; public static System.GCNotificationStatus WaitForFullGCComplete() => throw null; + public static System.GCNotificationStatus WaitForFullGCComplete(System.TimeSpan timeout) => throw null; public static System.GCNotificationStatus WaitForFullGCComplete(int millisecondsTimeout) => throw null; public static void WaitForPendingFinalizers() => throw null; } - // Generated from `System.GCCollectionMode` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.GCCollectionMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GCCollectionMode : int { + Aggressive = 3, Default = 0, Forced = 1, Optimized = 2, } - // Generated from `System.GCGenerationInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.GCGenerationInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GCGenerationInfo { public System.Int64 FragmentationAfterBytes { get => throw null; } @@ -2201,7 +2610,7 @@ namespace System public System.Int64 SizeBeforeBytes { get => throw null; } } - // Generated from `System.GCKind` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.GCKind` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GCKind : int { Any = 0, @@ -2210,7 +2619,7 @@ namespace System FullBlocking = 2, } - // Generated from `System.GCMemoryInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.GCMemoryInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GCMemoryInfo { public bool Compacted { get => throw null; } @@ -2232,7 +2641,7 @@ namespace System public System.Int64 TotalCommittedBytes { get => throw null; } } - // Generated from `System.GCNotificationStatus` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.GCNotificationStatus` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GCNotificationStatus : int { Canceled = 2, @@ -2242,13 +2651,13 @@ namespace System Timeout = 3, } - // Generated from `System.GenericUriParser` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.GenericUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GenericUriParser : System.UriParser { public GenericUriParser(System.GenericUriParserOptions options) => throw null; } - // Generated from `System.GenericUriParserOptions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.GenericUriParserOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum GenericUriParserOptions : int { @@ -2266,17 +2675,21 @@ namespace System NoUserInfo = 4, } - // Generated from `System.GopherStyleUriParser` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.GopherStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GopherStyleUriParser : System.UriParser { public GopherStyleUriParser() => throw null; } - // Generated from `System.Guid` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct Guid : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.Guid` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct Guid : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable { public static bool operator !=(System.Guid a, System.Guid b) => throw null; + public static bool operator <(System.Guid left, System.Guid right) => throw null; + public static bool operator <=(System.Guid left, System.Guid right) => throw null; public static bool operator ==(System.Guid a, System.Guid b) => throw null; + public static bool operator >(System.Guid left, System.Guid right) => throw null; + public static bool operator >=(System.Guid left, System.Guid right) => throw null; public int CompareTo(System.Guid value) => throw null; public int CompareTo(object value) => throw null; public static System.Guid Empty; @@ -2292,7 +2705,9 @@ namespace System public Guid(System.UInt32 a, System.UInt16 b, System.UInt16 c, System.Byte d, System.Byte e, System.Byte f, System.Byte g, System.Byte h, System.Byte i, System.Byte j, System.Byte k) => throw null; public static System.Guid NewGuid() => throw null; public static System.Guid Parse(System.ReadOnlySpan input) => throw null; + public static System.Guid Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.Guid Parse(string input) => throw null; + public static System.Guid Parse(string s, System.IFormatProvider provider) => throw null; public static System.Guid ParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format) => throw null; public static System.Guid ParseExact(string input, string format) => throw null; public System.Byte[] ToByteArray() => throw null; @@ -2301,63 +2716,225 @@ namespace System public string ToString(string format, System.IFormatProvider provider) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan)) => throw null; bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.Guid result) => throw null; public static bool TryParse(System.ReadOnlySpan input, out System.Guid result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.Guid result) => throw null; public static bool TryParse(string input, out System.Guid result) => throw null; public static bool TryParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format, out System.Guid result) => throw null; public static bool TryParseExact(string input, string format, out System.Guid result) => throw null; public bool TryWriteBytes(System.Span destination) => throw null; } - // Generated from `System.Half` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct Half : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.Half` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct Half : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { - public static bool operator !=(System.Half left, System.Half right) => throw null; - public static bool operator <(System.Half left, System.Half right) => throw null; - public static bool operator <=(System.Half left, System.Half right) => throw null; - public static bool operator ==(System.Half left, System.Half right) => throw null; - public static bool operator >(System.Half left, System.Half right) => throw null; - public static bool operator >=(System.Half left, System.Half right) => throw null; + static bool System.Numerics.IEqualityOperators.operator !=(System.Half left, System.Half right) => throw null; + static System.Half System.Numerics.IModulusOperators.operator %(System.Half left, System.Half right) => throw null; + static System.Half System.Numerics.IBitwiseOperators.operator &(System.Half left, System.Half right) => throw null; + static System.Half System.Numerics.IMultiplyOperators.operator *(System.Half left, System.Half right) => throw null; + static System.Half System.Numerics.IUnaryPlusOperators.operator +(System.Half value) => throw null; + static System.Half System.Numerics.IAdditionOperators.operator +(System.Half left, System.Half right) => throw null; + static System.Half System.Numerics.IIncrementOperators.operator ++(System.Half value) => throw null; + static System.Half System.Numerics.IUnaryNegationOperators.operator -(System.Half value) => throw null; + static System.Half System.Numerics.ISubtractionOperators.operator -(System.Half left, System.Half right) => throw null; + static System.Half System.Numerics.IDecrementOperators.operator --(System.Half value) => throw null; + static System.Half System.Numerics.IDivisionOperators.operator /(System.Half left, System.Half right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.Half left, System.Half right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.Half left, System.Half right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.Half left, System.Half right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.Half left, System.Half right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.Half left, System.Half right) => throw null; + public static System.Half Abs(System.Half value) => throw null; + public static System.Half Acos(System.Half x) => throw null; + public static System.Half AcosPi(System.Half x) => throw null; + public static System.Half Acosh(System.Half x) => throw null; + static System.Half System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.Half System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static System.Half Asin(System.Half x) => throw null; + public static System.Half AsinPi(System.Half x) => throw null; + public static System.Half Asinh(System.Half x) => throw null; + public static System.Half Atan(System.Half x) => throw null; + public static System.Half Atan2(System.Half y, System.Half x) => throw null; + public static System.Half Atan2Pi(System.Half y, System.Half x) => throw null; + public static System.Half AtanPi(System.Half x) => throw null; + public static System.Half Atanh(System.Half x) => throw null; + public static System.Half BitDecrement(System.Half x) => throw null; + public static System.Half BitIncrement(System.Half x) => throw null; + public static System.Half Cbrt(System.Half x) => throw null; + public static System.Half Ceiling(System.Half x) => throw null; + public static System.Half Clamp(System.Half value, System.Half min, System.Half max) => throw null; public int CompareTo(System.Half other) => throw null; public int CompareTo(object obj) => throw null; - public static System.Half Epsilon { get => throw null; } + public static System.Half CopySign(System.Half value, System.Half sign) => throw null; + public static System.Half Cos(System.Half x) => throw null; + public static System.Half CosPi(System.Half x) => throw null; + public static System.Half Cosh(System.Half x) => throw null; + static System.Half System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.Half System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.Half System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + static System.Half System.Numerics.IFloatingPointConstants.E { get => throw null; } + static System.Half System.Numerics.IFloatingPointIeee754.Epsilon { get => throw null; } public bool Equals(System.Half other) => throw null; public override bool Equals(object obj) => throw null; + public static System.Half Exp(System.Half x) => throw null; + public static System.Half Exp10(System.Half x) => throw null; + public static System.Half Exp10M1(System.Half x) => throw null; + public static System.Half Exp2(System.Half x) => throw null; + public static System.Half Exp2M1(System.Half x) => throw null; + public static System.Half ExpM1(System.Half x) => throw null; + public static System.Half Floor(System.Half x) => throw null; + public static System.Half FusedMultiplyAdd(System.Half left, System.Half right, System.Half addend) => throw null; + int System.Numerics.IFloatingPoint.GetExponentByteCount() => throw null; + int System.Numerics.IFloatingPoint.GetExponentShortestBitLength() => throw null; public override int GetHashCode() => throw null; + int System.Numerics.IFloatingPoint.GetSignificandBitLength() => throw null; + int System.Numerics.IFloatingPoint.GetSignificandByteCount() => throw null; // Stub generator skipped constructor + public static System.Half Hypot(System.Half x, System.Half y) => throw null; + public static int ILogB(System.Half x) => throw null; + public static System.Half Ieee754Remainder(System.Half left, System.Half right) => throw null; + public static bool IsCanonical(System.Half value) => throw null; + public static bool IsComplexNumber(System.Half value) => throw null; + public static bool IsEvenInteger(System.Half value) => throw null; public static bool IsFinite(System.Half value) => throw null; + public static bool IsImaginaryNumber(System.Half value) => throw null; public static bool IsInfinity(System.Half value) => throw null; + public static bool IsInteger(System.Half value) => throw null; public static bool IsNaN(System.Half value) => throw null; public static bool IsNegative(System.Half value) => throw null; public static bool IsNegativeInfinity(System.Half value) => throw null; public static bool IsNormal(System.Half value) => throw null; + public static bool IsOddInteger(System.Half value) => throw null; + public static bool IsPositive(System.Half value) => throw null; public static bool IsPositiveInfinity(System.Half value) => throw null; + public static bool IsPow2(System.Half value) => throw null; + public static bool IsRealNumber(System.Half value) => throw null; public static bool IsSubnormal(System.Half value) => throw null; - public static System.Half MaxValue { get => throw null; } - public static System.Half MinValue { get => throw null; } - public static System.Half NaN { get => throw null; } - public static System.Half NegativeInfinity { get => throw null; } + public static bool IsZero(System.Half value) => throw null; + public static System.Half Log(System.Half x) => throw null; + public static System.Half Log(System.Half x, System.Half newBase) => throw null; + public static System.Half Log10(System.Half x) => throw null; + public static System.Half Log10P1(System.Half x) => throw null; + public static System.Half Log2(System.Half value) => throw null; + public static System.Half Log2P1(System.Half x) => throw null; + public static System.Half LogP1(System.Half x) => throw null; + public static System.Half Max(System.Half x, System.Half y) => throw null; + public static System.Half MaxMagnitude(System.Half x, System.Half y) => throw null; + public static System.Half MaxMagnitudeNumber(System.Half x, System.Half y) => throw null; + public static System.Half MaxNumber(System.Half x, System.Half y) => throw null; + static System.Half System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.Half Min(System.Half x, System.Half y) => throw null; + public static System.Half MinMagnitude(System.Half x, System.Half y) => throw null; + public static System.Half MinMagnitudeNumber(System.Half x, System.Half y) => throw null; + public static System.Half MinNumber(System.Half x, System.Half y) => throw null; + static System.Half System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.Half System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static System.Half System.Numerics.IFloatingPointIeee754.NaN { get => throw null; } + static System.Half System.Numerics.IFloatingPointIeee754.NegativeInfinity { get => throw null; } + static System.Half System.Numerics.ISignedNumber.NegativeOne { get => throw null; } + static System.Half System.Numerics.IFloatingPointIeee754.NegativeZero { get => throw null; } + static System.Half System.Numerics.INumberBase.One { get => throw null; } + public static System.Half Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.Half Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static System.Half Parse(string s) => throw null; public static System.Half Parse(string s, System.IFormatProvider provider) => throw null; public static System.Half Parse(string s, System.Globalization.NumberStyles style) => throw null; public static System.Half Parse(string s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; - public static System.Half PositiveInfinity { get => throw null; } + static System.Half System.Numerics.IFloatingPointConstants.Pi { get => throw null; } + static System.Half System.Numerics.IFloatingPointIeee754.PositiveInfinity { get => throw null; } + public static System.Half Pow(System.Half x, System.Half y) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.Half ReciprocalEstimate(System.Half x) => throw null; + public static System.Half ReciprocalSqrtEstimate(System.Half x) => throw null; + public static System.Half RootN(System.Half x, int n) => throw null; + public static System.Half Round(System.Half x) => throw null; + public static System.Half Round(System.Half x, System.MidpointRounding mode) => throw null; + public static System.Half Round(System.Half x, int digits) => throw null; + public static System.Half Round(System.Half x, int digits, System.MidpointRounding mode) => throw null; + public static System.Half ScaleB(System.Half x, int n) => throw null; + public static int Sign(System.Half value) => throw null; + public static System.Half Sin(System.Half x) => throw null; + public static (System.Half, System.Half) SinCos(System.Half x) => throw null; + public static (System.Half, System.Half) SinCosPi(System.Half x) => throw null; + public static System.Half SinPi(System.Half x) => throw null; + public static System.Half Sinh(System.Half x) => throw null; + public static System.Half Sqrt(System.Half x) => throw null; + public static System.Half Tan(System.Half x) => throw null; + public static System.Half TanPi(System.Half x) => throw null; + public static System.Half Tanh(System.Half x) => throw null; + static System.Half System.Numerics.IFloatingPointConstants.Tau { get => throw null; } public override string ToString() => throw null; public string ToString(System.IFormatProvider provider) => throw null; public string ToString(string format) => throw null; public string ToString(string format, System.IFormatProvider provider) => throw null; + public static System.Half Truncate(System.Half x) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.Half result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.Half result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.Half result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.Half value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.Half value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.Half value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.Half result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Half result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.Half result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.Half result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Half result) => throw null; public static bool TryParse(string s, out System.Half result) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteExponentBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteExponentLittleEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteSignificandBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteSignificandLittleEndian(System.Span destination, out int bytesWritten) => throw null; + static System.Half System.Numerics.INumberBase.Zero { get => throw null; } + static System.Half System.Numerics.IBitwiseOperators.operator ^(System.Half left, System.Half right) => throw null; + public static explicit operator checked System.Byte(System.Half value) => throw null; + public static explicit operator checked System.Char(System.Half value) => throw null; + public static explicit operator checked System.Int128(System.Half value) => throw null; + public static explicit operator checked System.Int16(System.Half value) => throw null; + public static explicit operator checked System.Int64(System.Half value) => throw null; + public static explicit operator checked System.IntPtr(System.Half value) => throw null; + public static explicit operator checked System.SByte(System.Half value) => throw null; + public static explicit operator checked System.UInt128(System.Half value) => throw null; + public static explicit operator checked System.UInt16(System.Half value) => throw null; + public static explicit operator checked System.UInt32(System.Half value) => throw null; + public static explicit operator checked System.UInt64(System.Half value) => throw null; + public static explicit operator checked System.UIntPtr(System.Half value) => throw null; + public static explicit operator checked int(System.Half value) => throw null; + public static explicit operator System.Byte(System.Half value) => throw null; + public static explicit operator System.Char(System.Half value) => throw null; + public static explicit operator System.Decimal(System.Half value) => throw null; + public static explicit operator System.Int128(System.Half value) => throw null; + public static explicit operator System.Int16(System.Half value) => throw null; + public static explicit operator System.Int64(System.Half value) => throw null; + public static explicit operator System.IntPtr(System.Half value) => throw null; + public static explicit operator System.SByte(System.Half value) => throw null; + public static explicit operator System.UInt128(System.Half value) => throw null; + public static explicit operator System.UInt16(System.Half value) => throw null; + public static explicit operator System.UInt32(System.Half value) => throw null; + public static explicit operator System.UInt64(System.Half value) => throw null; + public static explicit operator System.UIntPtr(System.Half value) => throw null; public static explicit operator double(System.Half value) => throw null; public static explicit operator float(System.Half value) => throw null; + public static explicit operator int(System.Half value) => throw null; + public static explicit operator System.Half(System.IntPtr value) => throw null; + public static explicit operator System.Half(System.UIntPtr value) => throw null; + public static explicit operator System.Half(System.Char value) => throw null; + public static explicit operator System.Half(System.Decimal value) => throw null; public static explicit operator System.Half(double value) => throw null; public static explicit operator System.Half(float value) => throw null; + public static explicit operator System.Half(int value) => throw null; + public static explicit operator System.Half(System.Int64 value) => throw null; + public static explicit operator System.Half(System.Int16 value) => throw null; + public static explicit operator System.Half(System.UInt32 value) => throw null; + public static explicit operator System.Half(System.UInt64 value) => throw null; + public static explicit operator System.Half(System.UInt16 value) => throw null; + public static implicit operator System.Half(System.Byte value) => throw null; + public static implicit operator System.Half(System.SByte value) => throw null; + static System.Half System.Numerics.IBitwiseOperators.operator |(System.Half left, System.Half right) => throw null; + static System.Half System.Numerics.IBitwiseOperators.operator ~(System.Half value) => throw null; } - // Generated from `System.HashCode` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.HashCode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct HashCode { public void Add(T value) => throw null; @@ -2377,19 +2954,19 @@ namespace System public int ToHashCode() => throw null; } - // Generated from `System.HttpStyleUriParser` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.HttpStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpStyleUriParser : System.UriParser { public HttpStyleUriParser() => throw null; } - // Generated from `System.IAsyncDisposable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IAsyncDisposable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAsyncDisposable { System.Threading.Tasks.ValueTask DisposeAsync(); } - // Generated from `System.IAsyncResult` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IAsyncResult` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAsyncResult { object AsyncState { get; } @@ -2398,25 +2975,25 @@ namespace System bool IsCompleted { get; } } - // Generated from `System.ICloneable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ICloneable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICloneable { object Clone(); } - // Generated from `System.IComparable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IComparable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComparable { int CompareTo(object obj); } - // Generated from `System.IComparable<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IComparable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComparable { int CompareTo(T other); } - // Generated from `System.IConvertible` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IConvertible` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IConvertible { System.TypeCode GetTypeCode(); @@ -2438,43 +3015,43 @@ namespace System System.UInt64 ToUInt64(System.IFormatProvider provider); } - // Generated from `System.ICustomFormatter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ICustomFormatter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomFormatter { string Format(string format, object arg, System.IFormatProvider formatProvider); } - // Generated from `System.IDisposable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IDisposable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDisposable { void Dispose(); } - // Generated from `System.IEquatable<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IEquatable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEquatable { bool Equals(T other); } - // Generated from `System.IFormatProvider` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IFormatProvider` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFormatProvider { object GetFormat(System.Type formatType); } - // Generated from `System.IFormattable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IFormattable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFormattable { string ToString(string format, System.IFormatProvider formatProvider); } - // Generated from `System.IObservable<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IObservable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IObservable { System.IDisposable Subscribe(System.IObserver observer); } - // Generated from `System.IObserver<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IObserver<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IObserver { void OnCompleted(); @@ -2482,19 +3059,33 @@ namespace System void OnNext(T value); } - // Generated from `System.IProgress<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IParsable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IParsable where TSelf : System.IParsable + { + static abstract TSelf Parse(string s, System.IFormatProvider provider); + static abstract bool TryParse(string s, System.IFormatProvider provider, out TSelf result); + } + + // Generated from `System.IProgress<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IProgress { void Report(T value); } - // Generated from `System.ISpanFormattable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ISpanFormattable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISpanFormattable : System.IFormattable { bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider); } - // Generated from `System.Index` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ISpanParsable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface ISpanParsable : System.IParsable where TSelf : System.ISpanParsable + { + static abstract TSelf Parse(System.ReadOnlySpan s, System.IFormatProvider provider); + static abstract bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out TSelf result); + } + + // Generated from `System.Index` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Index : System.IEquatable { public static System.Index End { get => throw null; } @@ -2513,7 +3104,7 @@ namespace System public static implicit operator System.Index(int value) => throw null; } - // Generated from `System.IndexOutOfRangeException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IndexOutOfRangeException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IndexOutOfRangeException : System.SystemException { public IndexOutOfRangeException() => throw null; @@ -2521,7 +3112,7 @@ namespace System public IndexOutOfRangeException(string message, System.Exception innerException) => throw null; } - // Generated from `System.InsufficientExecutionStackException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.InsufficientExecutionStackException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InsufficientExecutionStackException : System.SystemException { public InsufficientExecutionStackException() => throw null; @@ -2529,7 +3120,7 @@ namespace System public InsufficientExecutionStackException(string message, System.Exception innerException) => throw null; } - // Generated from `System.InsufficientMemoryException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.InsufficientMemoryException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InsufficientMemoryException : System.OutOfMemoryException { public InsufficientMemoryException() => throw null; @@ -2537,23 +3128,255 @@ namespace System public InsufficientMemoryException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Int16` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct Int16 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.Int128` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct Int128 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { + static bool System.Numerics.IEqualityOperators.operator !=(System.Int128 left, System.Int128 right) => throw null; + static System.Int128 System.Numerics.IModulusOperators.operator %(System.Int128 left, System.Int128 right) => throw null; + static System.Int128 System.Numerics.IBitwiseOperators.operator &(System.Int128 left, System.Int128 right) => throw null; + static System.Int128 System.Numerics.IMultiplyOperators.operator *(System.Int128 left, System.Int128 right) => throw null; + static System.Int128 System.Numerics.IUnaryPlusOperators.operator +(System.Int128 value) => throw null; + static System.Int128 System.Numerics.IAdditionOperators.operator +(System.Int128 left, System.Int128 right) => throw null; + static System.Int128 System.Numerics.IIncrementOperators.operator ++(System.Int128 value) => throw null; + static System.Int128 System.Numerics.IUnaryNegationOperators.operator -(System.Int128 value) => throw null; + static System.Int128 System.Numerics.ISubtractionOperators.operator -(System.Int128 left, System.Int128 right) => throw null; + static System.Int128 System.Numerics.IDecrementOperators.operator --(System.Int128 value) => throw null; + static System.Int128 System.Numerics.IDivisionOperators.operator /(System.Int128 left, System.Int128 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.Int128 left, System.Int128 right) => throw null; + static System.Int128 System.Numerics.IShiftOperators.operator <<(System.Int128 value, int shiftAmount) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.Int128 left, System.Int128 right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.Int128 left, System.Int128 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.Int128 left, System.Int128 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.Int128 left, System.Int128 right) => throw null; + static System.Int128 System.Numerics.IShiftOperators.operator >>(System.Int128 value, int shiftAmount) => throw null; + static System.Int128 System.Numerics.IShiftOperators.operator >>>(System.Int128 value, int shiftAmount) => throw null; + public static System.Int128 Abs(System.Int128 value) => throw null; + static System.Int128 System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.Int128 System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static System.Int128 Clamp(System.Int128 value, System.Int128 min, System.Int128 max) => throw null; + public int CompareTo(System.Int128 value) => throw null; + public int CompareTo(object value) => throw null; + public static System.Int128 CopySign(System.Int128 value, System.Int128 sign) => throw null; + static System.Int128 System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.Int128 System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.Int128 System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + public static (System.Int128, System.Int128) DivRem(System.Int128 left, System.Int128 right) => throw null; + public bool Equals(System.Int128 other) => throw null; + public override bool Equals(object obj) => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; + public override int GetHashCode() => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; + // Stub generator skipped constructor + public Int128(System.UInt64 upper, System.UInt64 lower) => throw null; + public static bool IsCanonical(System.Int128 value) => throw null; + public static bool IsComplexNumber(System.Int128 value) => throw null; + public static bool IsEvenInteger(System.Int128 value) => throw null; + public static bool IsFinite(System.Int128 value) => throw null; + public static bool IsImaginaryNumber(System.Int128 value) => throw null; + public static bool IsInfinity(System.Int128 value) => throw null; + public static bool IsInteger(System.Int128 value) => throw null; + public static bool IsNaN(System.Int128 value) => throw null; + public static bool IsNegative(System.Int128 value) => throw null; + public static bool IsNegativeInfinity(System.Int128 value) => throw null; + public static bool IsNormal(System.Int128 value) => throw null; + public static bool IsOddInteger(System.Int128 value) => throw null; + public static bool IsPositive(System.Int128 value) => throw null; + public static bool IsPositiveInfinity(System.Int128 value) => throw null; + public static bool IsPow2(System.Int128 value) => throw null; + public static bool IsRealNumber(System.Int128 value) => throw null; + public static bool IsSubnormal(System.Int128 value) => throw null; + public static bool IsZero(System.Int128 value) => throw null; + public static System.Int128 LeadingZeroCount(System.Int128 value) => throw null; + public static System.Int128 Log2(System.Int128 value) => throw null; + public static System.Int128 Max(System.Int128 x, System.Int128 y) => throw null; + public static System.Int128 MaxMagnitude(System.Int128 x, System.Int128 y) => throw null; + public static System.Int128 MaxMagnitudeNumber(System.Int128 x, System.Int128 y) => throw null; + public static System.Int128 MaxNumber(System.Int128 x, System.Int128 y) => throw null; + static System.Int128 System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.Int128 Min(System.Int128 x, System.Int128 y) => throw null; + public static System.Int128 MinMagnitude(System.Int128 x, System.Int128 y) => throw null; + public static System.Int128 MinMagnitudeNumber(System.Int128 x, System.Int128 y) => throw null; + public static System.Int128 MinNumber(System.Int128 x, System.Int128 y) => throw null; + static System.Int128 System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.Int128 System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static System.Int128 System.Numerics.ISignedNumber.NegativeOne { get => throw null; } + static System.Int128 System.Numerics.INumberBase.One { get => throw null; } + public static System.Int128 Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; + public static System.Int128 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static System.Int128 Parse(string s) => throw null; + public static System.Int128 Parse(string s, System.IFormatProvider provider) => throw null; + public static System.Int128 Parse(string s, System.Globalization.NumberStyles style) => throw null; + public static System.Int128 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.Int128 PopCount(System.Int128 value) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.Int128 RotateLeft(System.Int128 value, int rotateAmount) => throw null; + public static System.Int128 RotateRight(System.Int128 value, int rotateAmount) => throw null; + public static int Sign(System.Int128 value) => throw null; + public override string ToString() => throw null; + public string ToString(System.IFormatProvider provider) => throw null; + public string ToString(string format) => throw null; + public string ToString(string format, System.IFormatProvider provider) => throw null; + public static System.Int128 TrailingZeroCount(System.Int128 value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.Int128 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.Int128 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.Int128 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.Int128 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.Int128 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.Int128 value, out TOther result) => throw null; + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.Int128 result) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Int128 result) => throw null; + public static bool TryParse(System.ReadOnlySpan s, out System.Int128 result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.Int128 result) => throw null; + public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Int128 result) => throw null; + public static bool TryParse(string s, out System.Int128 result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out System.Int128 value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out System.Int128 value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; + static System.Int128 System.Numerics.INumberBase.Zero { get => throw null; } + static System.Int128 System.Numerics.IBitwiseOperators.operator ^(System.Int128 left, System.Int128 right) => throw null; + static System.Int128 System.Numerics.IMultiplyOperators.operator checked *(System.Int128 left, System.Int128 right) => throw null; + static System.Int128 System.Numerics.IAdditionOperators.operator checked +(System.Int128 left, System.Int128 right) => throw null; + static System.Int128 System.Numerics.IIncrementOperators.operator checked ++(System.Int128 value) => throw null; + static System.Int128 System.Numerics.IUnaryNegationOperators.operator checked -(System.Int128 value) => throw null; + static System.Int128 System.Numerics.ISubtractionOperators.operator checked -(System.Int128 left, System.Int128 right) => throw null; + static System.Int128 System.Numerics.IDecrementOperators.operator checked --(System.Int128 value) => throw null; + static System.Int128 System.Numerics.IDivisionOperators.operator checked /(System.Int128 left, System.Int128 right) => throw null; + public static explicit operator checked System.Byte(System.Int128 value) => throw null; + public static explicit operator checked System.Char(System.Int128 value) => throw null; + public static explicit operator checked System.Int16(System.Int128 value) => throw null; + public static explicit operator checked System.Int64(System.Int128 value) => throw null; + public static explicit operator checked System.IntPtr(System.Int128 value) => throw null; + public static explicit operator checked System.SByte(System.Int128 value) => throw null; + public static explicit operator checked System.UInt128(System.Int128 value) => throw null; + public static explicit operator checked System.UInt16(System.Int128 value) => throw null; + public static explicit operator checked System.UInt32(System.Int128 value) => throw null; + public static explicit operator checked System.UInt64(System.Int128 value) => throw null; + public static explicit operator checked System.UIntPtr(System.Int128 value) => throw null; + public static explicit operator checked int(System.Int128 value) => throw null; + public static explicit operator checked System.Int128(double value) => throw null; + public static explicit operator checked System.Int128(float value) => throw null; + public static explicit operator System.Byte(System.Int128 value) => throw null; + public static explicit operator System.Char(System.Int128 value) => throw null; + public static explicit operator System.Decimal(System.Int128 value) => throw null; + public static explicit operator System.Half(System.Int128 value) => throw null; + public static explicit operator System.Int16(System.Int128 value) => throw null; + public static explicit operator System.Int64(System.Int128 value) => throw null; + public static explicit operator System.IntPtr(System.Int128 value) => throw null; + public static explicit operator System.SByte(System.Int128 value) => throw null; + public static explicit operator System.UInt128(System.Int128 value) => throw null; + public static explicit operator System.UInt16(System.Int128 value) => throw null; + public static explicit operator System.UInt32(System.Int128 value) => throw null; + public static explicit operator System.UInt64(System.Int128 value) => throw null; + public static explicit operator System.UIntPtr(System.Int128 value) => throw null; + public static explicit operator double(System.Int128 value) => throw null; + public static explicit operator float(System.Int128 value) => throw null; + public static explicit operator int(System.Int128 value) => throw null; + public static explicit operator System.Int128(System.Decimal value) => throw null; + public static explicit operator System.Int128(double value) => throw null; + public static explicit operator System.Int128(float value) => throw null; + public static implicit operator System.Int128(System.IntPtr value) => throw null; + public static implicit operator System.Int128(System.UIntPtr value) => throw null; + public static implicit operator System.Int128(System.Byte value) => throw null; + public static implicit operator System.Int128(System.Char value) => throw null; + public static implicit operator System.Int128(int value) => throw null; + public static implicit operator System.Int128(System.Int64 value) => throw null; + public static implicit operator System.Int128(System.SByte value) => throw null; + public static implicit operator System.Int128(System.Int16 value) => throw null; + public static implicit operator System.Int128(System.UInt32 value) => throw null; + public static implicit operator System.Int128(System.UInt64 value) => throw null; + public static implicit operator System.Int128(System.UInt16 value) => throw null; + static System.Int128 System.Numerics.IBitwiseOperators.operator |(System.Int128 left, System.Int128 right) => throw null; + static System.Int128 System.Numerics.IBitwiseOperators.operator ~(System.Int128 value) => throw null; + } + + // Generated from `System.Int16` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct Int16 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators + { + static bool System.Numerics.IEqualityOperators.operator !=(System.Int16 left, System.Int16 right) => throw null; + static System.Int16 System.Numerics.IModulusOperators.operator %(System.Int16 left, System.Int16 right) => throw null; + static System.Int16 System.Numerics.IBitwiseOperators.operator &(System.Int16 left, System.Int16 right) => throw null; + static System.Int16 System.Numerics.IMultiplyOperators.operator *(System.Int16 left, System.Int16 right) => throw null; + static System.Int16 System.Numerics.IUnaryPlusOperators.operator +(System.Int16 value) => throw null; + static System.Int16 System.Numerics.IAdditionOperators.operator +(System.Int16 left, System.Int16 right) => throw null; + static System.Int16 System.Numerics.IIncrementOperators.operator ++(System.Int16 value) => throw null; + static System.Int16 System.Numerics.IUnaryNegationOperators.operator -(System.Int16 value) => throw null; + static System.Int16 System.Numerics.ISubtractionOperators.operator -(System.Int16 left, System.Int16 right) => throw null; + static System.Int16 System.Numerics.IDecrementOperators.operator --(System.Int16 value) => throw null; + static System.Int16 System.Numerics.IDivisionOperators.operator /(System.Int16 left, System.Int16 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.Int16 left, System.Int16 right) => throw null; + static System.Int16 System.Numerics.IShiftOperators.operator <<(System.Int16 value, int shiftAmount) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.Int16 left, System.Int16 right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.Int16 left, System.Int16 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.Int16 left, System.Int16 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.Int16 left, System.Int16 right) => throw null; + static System.Int16 System.Numerics.IShiftOperators.operator >>(System.Int16 value, int shiftAmount) => throw null; + static System.Int16 System.Numerics.IShiftOperators.operator >>>(System.Int16 value, int shiftAmount) => throw null; + public static System.Int16 Abs(System.Int16 value) => throw null; + static System.Int16 System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.Int16 System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static System.Int16 Clamp(System.Int16 value, System.Int16 min, System.Int16 max) => throw null; public int CompareTo(object value) => throw null; public int CompareTo(System.Int16 value) => throw null; + public static System.Int16 CopySign(System.Int16 value, System.Int16 sign) => throw null; + static System.Int16 System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.Int16 System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.Int16 System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + public static (System.Int16, System.Int16) DivRem(System.Int16 left, System.Int16 right) => throw null; public override bool Equals(object obj) => throw null; public bool Equals(System.Int16 obj) => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; public override int GetHashCode() => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; public System.TypeCode GetTypeCode() => throw null; // Stub generator skipped constructor + public static bool IsCanonical(System.Int16 value) => throw null; + public static bool IsComplexNumber(System.Int16 value) => throw null; + public static bool IsEvenInteger(System.Int16 value) => throw null; + public static bool IsFinite(System.Int16 value) => throw null; + public static bool IsImaginaryNumber(System.Int16 value) => throw null; + public static bool IsInfinity(System.Int16 value) => throw null; + public static bool IsInteger(System.Int16 value) => throw null; + public static bool IsNaN(System.Int16 value) => throw null; + public static bool IsNegative(System.Int16 value) => throw null; + public static bool IsNegativeInfinity(System.Int16 value) => throw null; + public static bool IsNormal(System.Int16 value) => throw null; + public static bool IsOddInteger(System.Int16 value) => throw null; + public static bool IsPositive(System.Int16 value) => throw null; + public static bool IsPositiveInfinity(System.Int16 value) => throw null; + public static bool IsPow2(System.Int16 value) => throw null; + public static bool IsRealNumber(System.Int16 value) => throw null; + public static bool IsSubnormal(System.Int16 value) => throw null; + public static bool IsZero(System.Int16 value) => throw null; + public static System.Int16 LeadingZeroCount(System.Int16 value) => throw null; + public static System.Int16 Log2(System.Int16 value) => throw null; + public static System.Int16 Max(System.Int16 x, System.Int16 y) => throw null; + public static System.Int16 MaxMagnitude(System.Int16 x, System.Int16 y) => throw null; + public static System.Int16 MaxMagnitudeNumber(System.Int16 x, System.Int16 y) => throw null; + public static System.Int16 MaxNumber(System.Int16 x, System.Int16 y) => throw null; public const System.Int16 MaxValue = default; + static System.Int16 System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.Int16 Min(System.Int16 x, System.Int16 y) => throw null; + public static System.Int16 MinMagnitude(System.Int16 x, System.Int16 y) => throw null; + public static System.Int16 MinMagnitudeNumber(System.Int16 x, System.Int16 y) => throw null; + public static System.Int16 MinNumber(System.Int16 x, System.Int16 y) => throw null; public const System.Int16 MinValue = default; + static System.Int16 System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.Int16 System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static System.Int16 System.Numerics.ISignedNumber.NegativeOne { get => throw null; } + static System.Int16 System.Numerics.INumberBase.One { get => throw null; } + public static System.Int16 Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.Int16 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static System.Int16 Parse(string s) => throw null; public static System.Int16 Parse(string s, System.IFormatProvider provider) => throw null; public static System.Int16 Parse(string s, System.Globalization.NumberStyles style) => throw null; public static System.Int16 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.Int16 PopCount(System.Int16 value) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.Int16 RotateLeft(System.Int16 value, int rotateAmount) => throw null; + public static System.Int16 RotateRight(System.Int16 value, int rotateAmount) => throw null; + public static int Sign(System.Int16 value) => throw null; bool System.IConvertible.ToBoolean(System.IFormatProvider provider) => throw null; System.Byte System.IConvertible.ToByte(System.IFormatProvider provider) => throw null; System.Char System.IConvertible.ToChar(System.IFormatProvider provider) => throw null; @@ -2573,30 +3396,122 @@ namespace System System.UInt16 System.IConvertible.ToUInt16(System.IFormatProvider provider) => throw null; System.UInt32 System.IConvertible.ToUInt32(System.IFormatProvider provider) => throw null; System.UInt64 System.IConvertible.ToUInt64(System.IFormatProvider provider) => throw null; + public static System.Int16 TrailingZeroCount(System.Int16 value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.Int16 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.Int16 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.Int16 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.Int16 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.Int16 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.Int16 value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.Int16 result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Int16 result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.Int16 result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.Int16 result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Int16 result) => throw null; public static bool TryParse(string s, out System.Int16 result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out System.Int16 value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out System.Int16 value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; + static System.Int16 System.Numerics.INumberBase.Zero { get => throw null; } + static System.Int16 System.Numerics.IBitwiseOperators.operator ^(System.Int16 left, System.Int16 right) => throw null; + static System.Int16 System.Numerics.IMultiplyOperators.operator checked *(System.Int16 left, System.Int16 right) => throw null; + static System.Int16 System.Numerics.IAdditionOperators.operator checked +(System.Int16 left, System.Int16 right) => throw null; + static System.Int16 System.Numerics.IIncrementOperators.operator checked ++(System.Int16 value) => throw null; + static System.Int16 System.Numerics.IUnaryNegationOperators.operator checked -(System.Int16 value) => throw null; + static System.Int16 System.Numerics.ISubtractionOperators.operator checked -(System.Int16 left, System.Int16 right) => throw null; + static System.Int16 System.Numerics.IDecrementOperators.operator checked --(System.Int16 value) => throw null; + static System.Int16 System.Numerics.IBitwiseOperators.operator |(System.Int16 left, System.Int16 right) => throw null; + static System.Int16 System.Numerics.IBitwiseOperators.operator ~(System.Int16 value) => throw null; } - // Generated from `System.Int32` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct Int32 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.Int32` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct Int32 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { + static bool System.Numerics.IEqualityOperators.operator !=(int left, int right) => throw null; + static int System.Numerics.IModulusOperators.operator %(int left, int right) => throw null; + static int System.Numerics.IBitwiseOperators.operator &(int left, int right) => throw null; + static int System.Numerics.IMultiplyOperators.operator *(int left, int right) => throw null; + static int System.Numerics.IUnaryPlusOperators.operator +(int value) => throw null; + static int System.Numerics.IAdditionOperators.operator +(int left, int right) => throw null; + static int System.Numerics.IIncrementOperators.operator ++(int value) => throw null; + static int System.Numerics.IUnaryNegationOperators.operator -(int value) => throw null; + static int System.Numerics.ISubtractionOperators.operator -(int left, int right) => throw null; + static int System.Numerics.IDecrementOperators.operator --(int value) => throw null; + static int System.Numerics.IDivisionOperators.operator /(int left, int right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(int left, int right) => throw null; + static int System.Numerics.IShiftOperators.operator <<(int value, int shiftAmount) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(int left, int right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(int left, int right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(int left, int right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(int left, int right) => throw null; + static int System.Numerics.IShiftOperators.operator >>(int value, int shiftAmount) => throw null; + static int System.Numerics.IShiftOperators.operator >>>(int value, int shiftAmount) => throw null; + public static int Abs(int value) => throw null; + static int System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static int System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static int Clamp(int value, int min, int max) => throw null; public int CompareTo(int value) => throw null; public int CompareTo(object value) => throw null; + public static int CopySign(int value, int sign) => throw null; + static int System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static int System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static int System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + public static (int, int) DivRem(int left, int right) => throw null; public bool Equals(int obj) => throw null; public override bool Equals(object obj) => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; public override int GetHashCode() => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; public System.TypeCode GetTypeCode() => throw null; // Stub generator skipped constructor + public static bool IsCanonical(int value) => throw null; + public static bool IsComplexNumber(int value) => throw null; + public static bool IsEvenInteger(int value) => throw null; + public static bool IsFinite(int value) => throw null; + public static bool IsImaginaryNumber(int value) => throw null; + public static bool IsInfinity(int value) => throw null; + public static bool IsInteger(int value) => throw null; + public static bool IsNaN(int value) => throw null; + public static bool IsNegative(int value) => throw null; + public static bool IsNegativeInfinity(int value) => throw null; + public static bool IsNormal(int value) => throw null; + public static bool IsOddInteger(int value) => throw null; + public static bool IsPositive(int value) => throw null; + public static bool IsPositiveInfinity(int value) => throw null; + public static bool IsPow2(int value) => throw null; + public static bool IsRealNumber(int value) => throw null; + public static bool IsSubnormal(int value) => throw null; + public static bool IsZero(int value) => throw null; + public static int LeadingZeroCount(int value) => throw null; + public static int Log2(int value) => throw null; + public static int Max(int x, int y) => throw null; + public static int MaxMagnitude(int x, int y) => throw null; + public static int MaxMagnitudeNumber(int x, int y) => throw null; + public static int MaxNumber(int x, int y) => throw null; public const int MaxValue = default; + static int System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static int Min(int x, int y) => throw null; + public static int MinMagnitude(int x, int y) => throw null; + public static int MinMagnitudeNumber(int x, int y) => throw null; + public static int MinNumber(int x, int y) => throw null; public const int MinValue = default; + static int System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static int System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static int System.Numerics.ISignedNumber.NegativeOne { get => throw null; } + static int System.Numerics.INumberBase.One { get => throw null; } + public static int Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static int Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static int Parse(string s) => throw null; public static int Parse(string s, System.IFormatProvider provider) => throw null; public static int Parse(string s, System.Globalization.NumberStyles style) => throw null; public static int Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static int PopCount(int value) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static int RotateLeft(int value, int rotateAmount) => throw null; + public static int RotateRight(int value, int rotateAmount) => throw null; + public static int Sign(int value) => throw null; bool System.IConvertible.ToBoolean(System.IFormatProvider provider) => throw null; System.Byte System.IConvertible.ToByte(System.IFormatProvider provider) => throw null; System.Char System.IConvertible.ToChar(System.IFormatProvider provider) => throw null; @@ -2616,30 +3531,122 @@ namespace System System.UInt16 System.IConvertible.ToUInt16(System.IFormatProvider provider) => throw null; System.UInt32 System.IConvertible.ToUInt32(System.IFormatProvider provider) => throw null; System.UInt64 System.IConvertible.ToUInt64(System.IFormatProvider provider) => throw null; + public static int TrailingZeroCount(int value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out int result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out int result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out int result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(int value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(int value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(int value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out int result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out int result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out int result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out int result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out int result) => throw null; public static bool TryParse(string s, out int result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out int value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out int value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; + static int System.Numerics.INumberBase.Zero { get => throw null; } + static int System.Numerics.IBitwiseOperators.operator ^(int left, int right) => throw null; + static int System.Numerics.IMultiplyOperators.operator checked *(int left, int right) => throw null; + static int System.Numerics.IAdditionOperators.operator checked +(int left, int right) => throw null; + static int System.Numerics.IIncrementOperators.operator checked ++(int value) => throw null; + static int System.Numerics.IUnaryNegationOperators.operator checked -(int value) => throw null; + static int System.Numerics.ISubtractionOperators.operator checked -(int left, int right) => throw null; + static int System.Numerics.IDecrementOperators.operator checked --(int value) => throw null; + static int System.Numerics.IBitwiseOperators.operator |(int left, int right) => throw null; + static int System.Numerics.IBitwiseOperators.operator ~(int value) => throw null; } - // Generated from `System.Int64` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct Int64 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.Int64` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct Int64 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { + static bool System.Numerics.IEqualityOperators.operator !=(System.Int64 left, System.Int64 right) => throw null; + static System.Int64 System.Numerics.IModulusOperators.operator %(System.Int64 left, System.Int64 right) => throw null; + static System.Int64 System.Numerics.IBitwiseOperators.operator &(System.Int64 left, System.Int64 right) => throw null; + static System.Int64 System.Numerics.IMultiplyOperators.operator *(System.Int64 left, System.Int64 right) => throw null; + static System.Int64 System.Numerics.IUnaryPlusOperators.operator +(System.Int64 value) => throw null; + static System.Int64 System.Numerics.IAdditionOperators.operator +(System.Int64 left, System.Int64 right) => throw null; + static System.Int64 System.Numerics.IIncrementOperators.operator ++(System.Int64 value) => throw null; + static System.Int64 System.Numerics.IUnaryNegationOperators.operator -(System.Int64 value) => throw null; + static System.Int64 System.Numerics.ISubtractionOperators.operator -(System.Int64 left, System.Int64 right) => throw null; + static System.Int64 System.Numerics.IDecrementOperators.operator --(System.Int64 value) => throw null; + static System.Int64 System.Numerics.IDivisionOperators.operator /(System.Int64 left, System.Int64 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.Int64 left, System.Int64 right) => throw null; + static System.Int64 System.Numerics.IShiftOperators.operator <<(System.Int64 value, int shiftAmount) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.Int64 left, System.Int64 right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.Int64 left, System.Int64 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.Int64 left, System.Int64 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.Int64 left, System.Int64 right) => throw null; + static System.Int64 System.Numerics.IShiftOperators.operator >>(System.Int64 value, int shiftAmount) => throw null; + static System.Int64 System.Numerics.IShiftOperators.operator >>>(System.Int64 value, int shiftAmount) => throw null; + public static System.Int64 Abs(System.Int64 value) => throw null; + static System.Int64 System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.Int64 System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static System.Int64 Clamp(System.Int64 value, System.Int64 min, System.Int64 max) => throw null; public int CompareTo(System.Int64 value) => throw null; public int CompareTo(object value) => throw null; + public static System.Int64 CopySign(System.Int64 value, System.Int64 sign) => throw null; + static System.Int64 System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.Int64 System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.Int64 System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + public static (System.Int64, System.Int64) DivRem(System.Int64 left, System.Int64 right) => throw null; public bool Equals(System.Int64 obj) => throw null; public override bool Equals(object obj) => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; public override int GetHashCode() => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; public System.TypeCode GetTypeCode() => throw null; // Stub generator skipped constructor + public static bool IsCanonical(System.Int64 value) => throw null; + public static bool IsComplexNumber(System.Int64 value) => throw null; + public static bool IsEvenInteger(System.Int64 value) => throw null; + public static bool IsFinite(System.Int64 value) => throw null; + public static bool IsImaginaryNumber(System.Int64 value) => throw null; + public static bool IsInfinity(System.Int64 value) => throw null; + public static bool IsInteger(System.Int64 value) => throw null; + public static bool IsNaN(System.Int64 value) => throw null; + public static bool IsNegative(System.Int64 value) => throw null; + public static bool IsNegativeInfinity(System.Int64 value) => throw null; + public static bool IsNormal(System.Int64 value) => throw null; + public static bool IsOddInteger(System.Int64 value) => throw null; + public static bool IsPositive(System.Int64 value) => throw null; + public static bool IsPositiveInfinity(System.Int64 value) => throw null; + public static bool IsPow2(System.Int64 value) => throw null; + public static bool IsRealNumber(System.Int64 value) => throw null; + public static bool IsSubnormal(System.Int64 value) => throw null; + public static bool IsZero(System.Int64 value) => throw null; + public static System.Int64 LeadingZeroCount(System.Int64 value) => throw null; + public static System.Int64 Log2(System.Int64 value) => throw null; + public static System.Int64 Max(System.Int64 x, System.Int64 y) => throw null; + public static System.Int64 MaxMagnitude(System.Int64 x, System.Int64 y) => throw null; + public static System.Int64 MaxMagnitudeNumber(System.Int64 x, System.Int64 y) => throw null; + public static System.Int64 MaxNumber(System.Int64 x, System.Int64 y) => throw null; public const System.Int64 MaxValue = default; + static System.Int64 System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.Int64 Min(System.Int64 x, System.Int64 y) => throw null; + public static System.Int64 MinMagnitude(System.Int64 x, System.Int64 y) => throw null; + public static System.Int64 MinMagnitudeNumber(System.Int64 x, System.Int64 y) => throw null; + public static System.Int64 MinNumber(System.Int64 x, System.Int64 y) => throw null; public const System.Int64 MinValue = default; + static System.Int64 System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.Int64 System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static System.Int64 System.Numerics.ISignedNumber.NegativeOne { get => throw null; } + static System.Int64 System.Numerics.INumberBase.One { get => throw null; } + public static System.Int64 Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.Int64 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static System.Int64 Parse(string s) => throw null; public static System.Int64 Parse(string s, System.IFormatProvider provider) => throw null; public static System.Int64 Parse(string s, System.Globalization.NumberStyles style) => throw null; public static System.Int64 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.Int64 PopCount(System.Int64 value) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.Int64 RotateLeft(System.Int64 value, int rotateAmount) => throw null; + public static System.Int64 RotateRight(System.Int64 value, int rotateAmount) => throw null; + public static int Sign(System.Int64 value) => throw null; bool System.IConvertible.ToBoolean(System.IFormatProvider provider) => throw null; System.Byte System.IConvertible.ToByte(System.IFormatProvider provider) => throw null; System.Char System.IConvertible.ToChar(System.IFormatProvider provider) => throw null; @@ -2659,38 +3666,128 @@ namespace System System.UInt16 System.IConvertible.ToUInt16(System.IFormatProvider provider) => throw null; System.UInt32 System.IConvertible.ToUInt32(System.IFormatProvider provider) => throw null; System.UInt64 System.IConvertible.ToUInt64(System.IFormatProvider provider) => throw null; + public static System.Int64 TrailingZeroCount(System.Int64 value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.Int64 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.Int64 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.Int64 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.Int64 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.Int64 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.Int64 value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.Int64 result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Int64 result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.Int64 result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.Int64 result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Int64 result) => throw null; public static bool TryParse(string s, out System.Int64 result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out System.Int64 value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out System.Int64 value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; + static System.Int64 System.Numerics.INumberBase.Zero { get => throw null; } + static System.Int64 System.Numerics.IBitwiseOperators.operator ^(System.Int64 left, System.Int64 right) => throw null; + static System.Int64 System.Numerics.IMultiplyOperators.operator checked *(System.Int64 left, System.Int64 right) => throw null; + static System.Int64 System.Numerics.IAdditionOperators.operator checked +(System.Int64 left, System.Int64 right) => throw null; + static System.Int64 System.Numerics.IIncrementOperators.operator checked ++(System.Int64 value) => throw null; + static System.Int64 System.Numerics.IUnaryNegationOperators.operator checked -(System.Int64 value) => throw null; + static System.Int64 System.Numerics.ISubtractionOperators.operator checked -(System.Int64 left, System.Int64 right) => throw null; + static System.Int64 System.Numerics.IDecrementOperators.operator checked --(System.Int64 value) => throw null; + static System.Int64 System.Numerics.IBitwiseOperators.operator |(System.Int64 left, System.Int64 right) => throw null; + static System.Int64 System.Numerics.IBitwiseOperators.operator ~(System.Int64 value) => throw null; } - // Generated from `System.IntPtr` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct IntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.ISpanFormattable, System.Runtime.Serialization.ISerializable + // Generated from `System.IntPtr` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct IntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Runtime.Serialization.ISerializable { - public static bool operator !=(System.IntPtr value1, System.IntPtr value2) => throw null; + static bool System.Numerics.IEqualityOperators.operator !=(System.IntPtr value1, System.IntPtr value2) => throw null; + static System.IntPtr System.Numerics.IModulusOperators.operator %(System.IntPtr left, System.IntPtr right) => throw null; + static System.IntPtr System.Numerics.IBitwiseOperators.operator &(System.IntPtr left, System.IntPtr right) => throw null; + static System.IntPtr System.Numerics.IMultiplyOperators.operator *(System.IntPtr left, System.IntPtr right) => throw null; + static System.IntPtr System.Numerics.IUnaryPlusOperators.operator +(System.IntPtr value) => throw null; + static System.IntPtr System.Numerics.IAdditionOperators.operator +(System.IntPtr left, System.IntPtr right) => throw null; public static System.IntPtr operator +(System.IntPtr pointer, int offset) => throw null; + static System.IntPtr System.Numerics.IIncrementOperators.operator ++(System.IntPtr value) => throw null; + static System.IntPtr System.Numerics.IUnaryNegationOperators.operator -(System.IntPtr value) => throw null; + static System.IntPtr System.Numerics.ISubtractionOperators.operator -(System.IntPtr left, System.IntPtr right) => throw null; public static System.IntPtr operator -(System.IntPtr pointer, int offset) => throw null; - public static bool operator ==(System.IntPtr value1, System.IntPtr value2) => throw null; + static System.IntPtr System.Numerics.IDecrementOperators.operator --(System.IntPtr value) => throw null; + static System.IntPtr System.Numerics.IDivisionOperators.operator /(System.IntPtr left, System.IntPtr right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.IntPtr left, System.IntPtr right) => throw null; + static System.IntPtr System.Numerics.IShiftOperators.operator <<(System.IntPtr value, int shiftAmount) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.IntPtr left, System.IntPtr right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.IntPtr value1, System.IntPtr value2) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.IntPtr left, System.IntPtr right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.IntPtr left, System.IntPtr right) => throw null; + static System.IntPtr System.Numerics.IShiftOperators.operator >>(System.IntPtr value, int shiftAmount) => throw null; + static System.IntPtr System.Numerics.IShiftOperators.operator >>>(System.IntPtr value, int shiftAmount) => throw null; + public static System.IntPtr Abs(System.IntPtr value) => throw null; public static System.IntPtr Add(System.IntPtr pointer, int offset) => throw null; + static System.IntPtr System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.IntPtr System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static System.IntPtr Clamp(System.IntPtr value, System.IntPtr min, System.IntPtr max) => throw null; public int CompareTo(System.IntPtr value) => throw null; public int CompareTo(object value) => throw null; + public static System.IntPtr CopySign(System.IntPtr value, System.IntPtr sign) => throw null; + static System.IntPtr System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.IntPtr System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.IntPtr System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + public static (System.IntPtr, System.IntPtr) DivRem(System.IntPtr left, System.IntPtr right) => throw null; public bool Equals(System.IntPtr other) => throw null; public override bool Equals(object obj) => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; public override int GetHashCode() => throw null; void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; // Stub generator skipped constructor unsafe public IntPtr(void* value) => throw null; public IntPtr(int value) => throw null; public IntPtr(System.Int64 value) => throw null; + public static bool IsCanonical(System.IntPtr value) => throw null; + public static bool IsComplexNumber(System.IntPtr value) => throw null; + public static bool IsEvenInteger(System.IntPtr value) => throw null; + public static bool IsFinite(System.IntPtr value) => throw null; + public static bool IsImaginaryNumber(System.IntPtr value) => throw null; + public static bool IsInfinity(System.IntPtr value) => throw null; + public static bool IsInteger(System.IntPtr value) => throw null; + public static bool IsNaN(System.IntPtr value) => throw null; + public static bool IsNegative(System.IntPtr value) => throw null; + public static bool IsNegativeInfinity(System.IntPtr value) => throw null; + public static bool IsNormal(System.IntPtr value) => throw null; + public static bool IsOddInteger(System.IntPtr value) => throw null; + public static bool IsPositive(System.IntPtr value) => throw null; + public static bool IsPositiveInfinity(System.IntPtr value) => throw null; + public static bool IsPow2(System.IntPtr value) => throw null; + public static bool IsRealNumber(System.IntPtr value) => throw null; + public static bool IsSubnormal(System.IntPtr value) => throw null; + public static bool IsZero(System.IntPtr value) => throw null; + public static System.IntPtr LeadingZeroCount(System.IntPtr value) => throw null; + public static System.IntPtr Log2(System.IntPtr value) => throw null; + public static System.IntPtr Max(System.IntPtr x, System.IntPtr y) => throw null; + public static System.IntPtr MaxMagnitude(System.IntPtr x, System.IntPtr y) => throw null; + public static System.IntPtr MaxMagnitudeNumber(System.IntPtr x, System.IntPtr y) => throw null; + public static System.IntPtr MaxNumber(System.IntPtr x, System.IntPtr y) => throw null; public static System.IntPtr MaxValue { get => throw null; } + static System.IntPtr System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.IntPtr Min(System.IntPtr x, System.IntPtr y) => throw null; + public static System.IntPtr MinMagnitude(System.IntPtr x, System.IntPtr y) => throw null; + public static System.IntPtr MinMagnitudeNumber(System.IntPtr x, System.IntPtr y) => throw null; + public static System.IntPtr MinNumber(System.IntPtr x, System.IntPtr y) => throw null; public static System.IntPtr MinValue { get => throw null; } + static System.IntPtr System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.IntPtr System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static System.IntPtr System.Numerics.ISignedNumber.NegativeOne { get => throw null; } + static System.IntPtr System.Numerics.INumberBase.One { get => throw null; } + public static System.IntPtr Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.IntPtr Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static System.IntPtr Parse(string s) => throw null; public static System.IntPtr Parse(string s, System.IFormatProvider provider) => throw null; public static System.IntPtr Parse(string s, System.Globalization.NumberStyles style) => throw null; public static System.IntPtr Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.IntPtr PopCount(System.IntPtr value) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.IntPtr RotateLeft(System.IntPtr value, int rotateAmount) => throw null; + public static System.IntPtr RotateRight(System.IntPtr value, int rotateAmount) => throw null; + public static int Sign(System.IntPtr value) => throw null; public static int Size { get => throw null; } public static System.IntPtr Subtract(System.IntPtr pointer, int offset) => throw null; public int ToInt32() => throw null; @@ -2700,21 +3797,44 @@ namespace System public string ToString(System.IFormatProvider provider) => throw null; public string ToString(string format) => throw null; public string ToString(string format, System.IFormatProvider provider) => throw null; + public static System.IntPtr TrailingZeroCount(System.IntPtr value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.IntPtr result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.IntPtr result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.IntPtr result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.IntPtr value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.IntPtr value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.IntPtr value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.IntPtr result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.IntPtr result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.IntPtr result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.IntPtr result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.IntPtr result) => throw null; public static bool TryParse(string s, out System.IntPtr result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out System.IntPtr value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out System.IntPtr value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; public static System.IntPtr Zero; + static System.IntPtr System.Numerics.INumberBase.Zero { get => throw null; } + static System.IntPtr System.Numerics.IBitwiseOperators.operator ^(System.IntPtr left, System.IntPtr right) => throw null; + static System.IntPtr System.Numerics.IMultiplyOperators.operator checked *(System.IntPtr left, System.IntPtr right) => throw null; + static System.IntPtr System.Numerics.IAdditionOperators.operator checked +(System.IntPtr left, System.IntPtr right) => throw null; + static System.IntPtr System.Numerics.IIncrementOperators.operator checked ++(System.IntPtr value) => throw null; + static System.IntPtr System.Numerics.IUnaryNegationOperators.operator checked -(System.IntPtr value) => throw null; + static System.IntPtr System.Numerics.ISubtractionOperators.operator checked -(System.IntPtr left, System.IntPtr right) => throw null; + static System.IntPtr System.Numerics.IDecrementOperators.operator checked --(System.IntPtr value) => throw null; public static explicit operator System.Int64(System.IntPtr value) => throw null; public static explicit operator int(System.IntPtr value) => throw null; unsafe public static explicit operator void*(System.IntPtr value) => throw null; unsafe public static explicit operator System.IntPtr(void* value) => throw null; public static explicit operator System.IntPtr(int value) => throw null; public static explicit operator System.IntPtr(System.Int64 value) => throw null; + static System.IntPtr System.Numerics.IBitwiseOperators.operator |(System.IntPtr left, System.IntPtr right) => throw null; + static System.IntPtr System.Numerics.IBitwiseOperators.operator ~(System.IntPtr value) => throw null; } - // Generated from `System.InvalidCastException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.InvalidCastException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidCastException : System.SystemException { public InvalidCastException() => throw null; @@ -2724,7 +3844,7 @@ namespace System public InvalidCastException(string message, int errorCode) => throw null; } - // Generated from `System.InvalidOperationException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.InvalidOperationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidOperationException : System.SystemException { public InvalidOperationException() => throw null; @@ -2733,7 +3853,7 @@ namespace System public InvalidOperationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.InvalidProgramException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.InvalidProgramException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidProgramException : System.SystemException { public InvalidProgramException() => throw null; @@ -2741,7 +3861,7 @@ namespace System public InvalidProgramException(string message, System.Exception inner) => throw null; } - // Generated from `System.InvalidTimeZoneException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.InvalidTimeZoneException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidTimeZoneException : System.Exception { public InvalidTimeZoneException() => throw null; @@ -2750,7 +3870,7 @@ namespace System public InvalidTimeZoneException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Lazy<,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Lazy<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Lazy : System.Lazy { public Lazy(System.Func valueFactory, TMetadata metadata) => throw null; @@ -2762,7 +3882,7 @@ namespace System public TMetadata Metadata { get => throw null; } } - // Generated from `System.Lazy<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Lazy<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Lazy { public bool IsValueCreated { get => throw null; } @@ -2777,13 +3897,13 @@ namespace System public T Value { get => throw null; } } - // Generated from `System.LdapStyleUriParser` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.LdapStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LdapStyleUriParser : System.UriParser { public LdapStyleUriParser() => throw null; } - // Generated from `System.LoaderOptimization` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.LoaderOptimization` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LoaderOptimization : int { DisallowBindings = 4, @@ -2794,7 +3914,7 @@ namespace System SingleDomain = 1, } - // Generated from `System.LoaderOptimizationAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.LoaderOptimizationAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LoaderOptimizationAttribute : System.Attribute { public LoaderOptimizationAttribute(System.LoaderOptimization value) => throw null; @@ -2802,13 +3922,13 @@ namespace System public System.LoaderOptimization Value { get => throw null; } } - // Generated from `System.MTAThreadAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.MTAThreadAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MTAThreadAttribute : System.Attribute { public MTAThreadAttribute() => throw null; } - // Generated from `System.MarshalByRefObject` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.MarshalByRefObject` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MarshalByRefObject { public object GetLifetimeService() => throw null; @@ -2817,7 +3937,7 @@ namespace System protected System.MarshalByRefObject MemberwiseClone(bool cloneIdentity) => throw null; } - // Generated from `System.Math` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Math` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Math { public static System.IntPtr Abs(System.IntPtr value) => throw null; @@ -2942,7 +4062,7 @@ namespace System public static double Truncate(double d) => throw null; } - // Generated from `System.MathF` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.MathF` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class MathF { public static float Abs(float x) => throw null; @@ -2994,7 +4114,7 @@ namespace System public static float Truncate(float x) => throw null; } - // Generated from `System.MemberAccessException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.MemberAccessException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberAccessException : System.SystemException { public MemberAccessException() => throw null; @@ -3003,7 +4123,7 @@ namespace System public MemberAccessException(string message, System.Exception inner) => throw null; } - // Generated from `System.Memory<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Memory<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Memory : System.IEquatable> { public void CopyTo(System.Memory destination) => throw null; @@ -3028,7 +4148,7 @@ namespace System public static implicit operator System.Memory(T[] array) => throw null; } - // Generated from `System.MethodAccessException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.MethodAccessException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MethodAccessException : System.MemberAccessException { public MethodAccessException() => throw null; @@ -3037,7 +4157,7 @@ namespace System public MethodAccessException(string message, System.Exception inner) => throw null; } - // Generated from `System.MidpointRounding` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.MidpointRounding` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MidpointRounding : int { AwayFromZero = 1, @@ -3047,7 +4167,7 @@ namespace System ToZero = 2, } - // Generated from `System.MissingFieldException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.MissingFieldException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MissingFieldException : System.MissingMemberException, System.Runtime.Serialization.ISerializable { public override string Message { get => throw null; } @@ -3058,7 +4178,7 @@ namespace System public MissingFieldException(string className, string fieldName) => throw null; } - // Generated from `System.MissingMemberException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.MissingMemberException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MissingMemberException : System.MemberAccessException, System.Runtime.Serialization.ISerializable { protected string ClassName; @@ -3073,7 +4193,7 @@ namespace System protected System.Byte[] Signature; } - // Generated from `System.MissingMethodException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.MissingMethodException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MissingMethodException : System.MissingMemberException { public override string Message { get => throw null; } @@ -3084,8 +4204,8 @@ namespace System public MissingMethodException(string className, string methodName) => throw null; } - // Generated from `System.ModuleHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct ModuleHandle + // Generated from `System.ModuleHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ModuleHandle : System.IEquatable { public static bool operator !=(System.ModuleHandle left, System.ModuleHandle right) => throw null; public static bool operator ==(System.ModuleHandle left, System.ModuleHandle right) => throw null; @@ -3106,7 +4226,7 @@ namespace System public System.RuntimeTypeHandle ResolveTypeHandle(int typeToken, System.RuntimeTypeHandle[] typeInstantiationContext, System.RuntimeTypeHandle[] methodInstantiationContext) => throw null; } - // Generated from `System.MulticastDelegate` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.MulticastDelegate` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MulticastDelegate : System.Delegate { public static bool operator !=(System.MulticastDelegate d1, System.MulticastDelegate d2) => throw null; @@ -3122,7 +4242,7 @@ namespace System protected override System.Delegate RemoveImpl(System.Delegate value) => throw null; } - // Generated from `System.MulticastNotSupportedException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.MulticastNotSupportedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MulticastNotSupportedException : System.SystemException { public MulticastNotSupportedException() => throw null; @@ -3130,31 +4250,31 @@ namespace System public MulticastNotSupportedException(string message, System.Exception inner) => throw null; } - // Generated from `System.NetPipeStyleUriParser` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.NetPipeStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetPipeStyleUriParser : System.UriParser { public NetPipeStyleUriParser() => throw null; } - // Generated from `System.NetTcpStyleUriParser` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.NetTcpStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetTcpStyleUriParser : System.UriParser { public NetTcpStyleUriParser() => throw null; } - // Generated from `System.NewsStyleUriParser` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.NewsStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NewsStyleUriParser : System.UriParser { public NewsStyleUriParser() => throw null; } - // Generated from `System.NonSerializedAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.NonSerializedAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NonSerializedAttribute : System.Attribute { public NonSerializedAttribute() => throw null; } - // Generated from `System.NotFiniteNumberException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.NotFiniteNumberException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotFiniteNumberException : System.ArithmeticException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -3168,7 +4288,7 @@ namespace System public double OffendingNumber { get => throw null; } } - // Generated from `System.NotImplementedException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.NotImplementedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotImplementedException : System.SystemException { public NotImplementedException() => throw null; @@ -3177,7 +4297,7 @@ namespace System public NotImplementedException(string message, System.Exception inner) => throw null; } - // Generated from `System.NotSupportedException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.NotSupportedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotSupportedException : System.SystemException { public NotSupportedException() => throw null; @@ -3186,7 +4306,7 @@ namespace System public NotSupportedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.NullReferenceException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.NullReferenceException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NullReferenceException : System.SystemException { public NullReferenceException() => throw null; @@ -3195,15 +4315,16 @@ namespace System public NullReferenceException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Nullable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Nullable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Nullable { public static int Compare(T? n1, T? n2) where T : struct => throw null; public static bool Equals(T? n1, T? n2) where T : struct => throw null; public static System.Type GetUnderlyingType(System.Type nullableType) => throw null; + public static T GetValueRefOrDefaultRef(T? nullable) where T : struct => throw null; } - // Generated from `System.Nullable<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Nullable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Nullable where T : struct { public override bool Equals(object other) => throw null; @@ -3219,7 +4340,7 @@ namespace System public static implicit operator System.Nullable(T value) => throw null; } - // Generated from `System.Object` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Object` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Object { public virtual bool Equals(object obj) => throw null; @@ -3233,7 +4354,7 @@ namespace System // ERR: Stub generator didn't handle member: ~Object } - // Generated from `System.ObjectDisposedException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ObjectDisposedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectDisposedException : System.InvalidOperationException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -3243,9 +4364,11 @@ namespace System public ObjectDisposedException(string message, System.Exception innerException) => throw null; public ObjectDisposedException(string objectName, string message) => throw null; public string ObjectName { get => throw null; } + public static void ThrowIf(bool condition, System.Type type) => throw null; + public static void ThrowIf(bool condition, object instance) => throw null; } - // Generated from `System.ObsoleteAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ObsoleteAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObsoleteAttribute : System.Attribute { public string DiagnosticId { get => throw null; set => throw null; } @@ -3257,7 +4380,7 @@ namespace System public string UrlFormat { get => throw null; set => throw null; } } - // Generated from `System.OperatingSystem` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.OperatingSystem` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OperatingSystem : System.ICloneable, System.Runtime.Serialization.ISerializable { public object Clone() => throw null; @@ -3290,7 +4413,7 @@ namespace System public string VersionString { get => throw null; } } - // Generated from `System.OperationCanceledException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.OperationCanceledException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OperationCanceledException : System.SystemException { public System.Threading.CancellationToken CancellationToken { get => throw null; } @@ -3303,7 +4426,7 @@ namespace System public OperationCanceledException(string message, System.Exception innerException, System.Threading.CancellationToken token) => throw null; } - // Generated from `System.OutOfMemoryException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.OutOfMemoryException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OutOfMemoryException : System.SystemException { public OutOfMemoryException() => throw null; @@ -3312,7 +4435,7 @@ namespace System public OutOfMemoryException(string message, System.Exception innerException) => throw null; } - // Generated from `System.OverflowException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.OverflowException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OverflowException : System.ArithmeticException { public OverflowException() => throw null; @@ -3321,13 +4444,13 @@ namespace System public OverflowException(string message, System.Exception innerException) => throw null; } - // Generated from `System.ParamArrayAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ParamArrayAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParamArrayAttribute : System.Attribute { public ParamArrayAttribute() => throw null; } - // Generated from `System.PlatformID` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.PlatformID` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PlatformID : int { MacOSX = 6, @@ -3340,7 +4463,7 @@ namespace System Xbox = 5, } - // Generated from `System.PlatformNotSupportedException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.PlatformNotSupportedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PlatformNotSupportedException : System.NotSupportedException { public PlatformNotSupportedException() => throw null; @@ -3349,10 +4472,10 @@ namespace System public PlatformNotSupportedException(string message, System.Exception inner) => throw null; } - // Generated from `System.Predicate<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Predicate<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate bool Predicate(T obj); - // Generated from `System.Progress<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Progress<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Progress : System.IProgress { protected virtual void OnReport(T value) => throw null; @@ -3362,7 +4485,7 @@ namespace System void System.IProgress.Report(T value) => throw null; } - // Generated from `System.Random` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Random` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Random { public virtual int Next() => throw null; @@ -3381,7 +4504,7 @@ namespace System public static System.Random Shared { get => throw null; } } - // Generated from `System.Range` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Range` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Range : System.IEquatable { public static System.Range All { get => throw null; } @@ -3398,7 +4521,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.RankException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.RankException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RankException : System.SystemException { public RankException() => throw null; @@ -3407,7 +4530,7 @@ namespace System public RankException(string message, System.Exception innerException) => throw null; } - // Generated from `System.ReadOnlyMemory<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ReadOnlyMemory<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ReadOnlyMemory : System.IEquatable> { public void CopyTo(System.Memory destination) => throw null; @@ -3431,10 +4554,10 @@ namespace System public static implicit operator System.ReadOnlyMemory(T[] array) => throw null; } - // Generated from `System.ReadOnlySpan<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ReadOnlySpan<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ReadOnlySpan { - // Generated from `System.ReadOnlySpan<>+Enumerator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ReadOnlySpan<>+Enumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator { public T Current { get => throw null; } @@ -3455,6 +4578,7 @@ namespace System public T this[int index] { get => throw null; } public int Length { get => throw null; } // Stub generator skipped constructor + public ReadOnlySpan(T reference) => throw null; public ReadOnlySpan(T[] array) => throw null; public ReadOnlySpan(T[] array, int start, int length) => throw null; unsafe public ReadOnlySpan(void* pointer, int length) => throw null; @@ -3467,7 +4591,7 @@ namespace System public static implicit operator System.ReadOnlySpan(T[] array) => throw null; } - // Generated from `System.ResolveEventArgs` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ResolveEventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResolveEventArgs : System.EventArgs { public string Name { get => throw null; } @@ -3476,44 +4600,48 @@ namespace System public ResolveEventArgs(string name, System.Reflection.Assembly requestingAssembly) => throw null; } - // Generated from `System.ResolveEventHandler` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ResolveEventHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.Reflection.Assembly ResolveEventHandler(object sender, System.ResolveEventArgs args); - // Generated from `System.RuntimeArgumentHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.RuntimeArgumentHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct RuntimeArgumentHandle { // Stub generator skipped constructor } - // Generated from `System.RuntimeFieldHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct RuntimeFieldHandle : System.Runtime.Serialization.ISerializable + // Generated from `System.RuntimeFieldHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct RuntimeFieldHandle : System.IEquatable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.RuntimeFieldHandle left, System.RuntimeFieldHandle right) => throw null; public static bool operator ==(System.RuntimeFieldHandle left, System.RuntimeFieldHandle right) => throw null; public bool Equals(System.RuntimeFieldHandle handle) => throw null; public override bool Equals(object obj) => throw null; + public static System.RuntimeFieldHandle FromIntPtr(System.IntPtr value) => throw null; public override int GetHashCode() => throw null; public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; // Stub generator skipped constructor + public static System.IntPtr ToIntPtr(System.RuntimeFieldHandle value) => throw null; public System.IntPtr Value { get => throw null; } } - // Generated from `System.RuntimeMethodHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct RuntimeMethodHandle : System.Runtime.Serialization.ISerializable + // Generated from `System.RuntimeMethodHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct RuntimeMethodHandle : System.IEquatable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.RuntimeMethodHandle left, System.RuntimeMethodHandle right) => throw null; public static bool operator ==(System.RuntimeMethodHandle left, System.RuntimeMethodHandle right) => throw null; public bool Equals(System.RuntimeMethodHandle handle) => throw null; public override bool Equals(object obj) => throw null; + public static System.RuntimeMethodHandle FromIntPtr(System.IntPtr value) => throw null; public System.IntPtr GetFunctionPointer() => throw null; public override int GetHashCode() => throw null; public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; // Stub generator skipped constructor + public static System.IntPtr ToIntPtr(System.RuntimeMethodHandle value) => throw null; public System.IntPtr Value { get => throw null; } } - // Generated from `System.RuntimeTypeHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct RuntimeTypeHandle : System.Runtime.Serialization.ISerializable + // Generated from `System.RuntimeTypeHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct RuntimeTypeHandle : System.IEquatable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.RuntimeTypeHandle left, object right) => throw null; public static bool operator !=(object left, System.RuntimeTypeHandle right) => throw null; @@ -3521,30 +4649,101 @@ namespace System public static bool operator ==(object left, System.RuntimeTypeHandle right) => throw null; public bool Equals(System.RuntimeTypeHandle handle) => throw null; public override bool Equals(object obj) => throw null; + public static System.RuntimeTypeHandle FromIntPtr(System.IntPtr value) => throw null; public override int GetHashCode() => throw null; public System.ModuleHandle GetModuleHandle() => throw null; public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; // Stub generator skipped constructor + public static System.IntPtr ToIntPtr(System.RuntimeTypeHandle value) => throw null; public System.IntPtr Value { get => throw null; } } - // Generated from `System.SByte` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct SByte : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.SByte` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct SByte : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { + static bool System.Numerics.IEqualityOperators.operator !=(System.SByte left, System.SByte right) => throw null; + static System.SByte System.Numerics.IModulusOperators.operator %(System.SByte left, System.SByte right) => throw null; + static System.SByte System.Numerics.IBitwiseOperators.operator &(System.SByte left, System.SByte right) => throw null; + static System.SByte System.Numerics.IMultiplyOperators.operator *(System.SByte left, System.SByte right) => throw null; + static System.SByte System.Numerics.IUnaryPlusOperators.operator +(System.SByte value) => throw null; + static System.SByte System.Numerics.IAdditionOperators.operator +(System.SByte left, System.SByte right) => throw null; + static System.SByte System.Numerics.IIncrementOperators.operator ++(System.SByte value) => throw null; + static System.SByte System.Numerics.IUnaryNegationOperators.operator -(System.SByte value) => throw null; + static System.SByte System.Numerics.ISubtractionOperators.operator -(System.SByte left, System.SByte right) => throw null; + static System.SByte System.Numerics.IDecrementOperators.operator --(System.SByte value) => throw null; + static System.SByte System.Numerics.IDivisionOperators.operator /(System.SByte left, System.SByte right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.SByte left, System.SByte right) => throw null; + static System.SByte System.Numerics.IShiftOperators.operator <<(System.SByte value, int shiftAmount) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.SByte left, System.SByte right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.SByte left, System.SByte right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.SByte left, System.SByte right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.SByte left, System.SByte right) => throw null; + static System.SByte System.Numerics.IShiftOperators.operator >>(System.SByte value, int shiftAmount) => throw null; + static System.SByte System.Numerics.IShiftOperators.operator >>>(System.SByte value, int shiftAmount) => throw null; + public static System.SByte Abs(System.SByte value) => throw null; + static System.SByte System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.SByte System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static System.SByte Clamp(System.SByte value, System.SByte min, System.SByte max) => throw null; public int CompareTo(object obj) => throw null; public int CompareTo(System.SByte value) => throw null; + public static System.SByte CopySign(System.SByte value, System.SByte sign) => throw null; + static System.SByte System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.SByte System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.SByte System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + public static (System.SByte, System.SByte) DivRem(System.SByte left, System.SByte right) => throw null; public override bool Equals(object obj) => throw null; public bool Equals(System.SByte obj) => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; public override int GetHashCode() => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; public System.TypeCode GetTypeCode() => throw null; + public static bool IsCanonical(System.SByte value) => throw null; + public static bool IsComplexNumber(System.SByte value) => throw null; + public static bool IsEvenInteger(System.SByte value) => throw null; + public static bool IsFinite(System.SByte value) => throw null; + public static bool IsImaginaryNumber(System.SByte value) => throw null; + public static bool IsInfinity(System.SByte value) => throw null; + public static bool IsInteger(System.SByte value) => throw null; + public static bool IsNaN(System.SByte value) => throw null; + public static bool IsNegative(System.SByte value) => throw null; + public static bool IsNegativeInfinity(System.SByte value) => throw null; + public static bool IsNormal(System.SByte value) => throw null; + public static bool IsOddInteger(System.SByte value) => throw null; + public static bool IsPositive(System.SByte value) => throw null; + public static bool IsPositiveInfinity(System.SByte value) => throw null; + public static bool IsPow2(System.SByte value) => throw null; + public static bool IsRealNumber(System.SByte value) => throw null; + public static bool IsSubnormal(System.SByte value) => throw null; + public static bool IsZero(System.SByte value) => throw null; + public static System.SByte LeadingZeroCount(System.SByte value) => throw null; + public static System.SByte Log2(System.SByte value) => throw null; + public static System.SByte Max(System.SByte x, System.SByte y) => throw null; + public static System.SByte MaxMagnitude(System.SByte x, System.SByte y) => throw null; + public static System.SByte MaxMagnitudeNumber(System.SByte x, System.SByte y) => throw null; + public static System.SByte MaxNumber(System.SByte x, System.SByte y) => throw null; public const System.SByte MaxValue = default; + static System.SByte System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.SByte Min(System.SByte x, System.SByte y) => throw null; + public static System.SByte MinMagnitude(System.SByte x, System.SByte y) => throw null; + public static System.SByte MinMagnitudeNumber(System.SByte x, System.SByte y) => throw null; + public static System.SByte MinNumber(System.SByte x, System.SByte y) => throw null; public const System.SByte MinValue = default; + static System.SByte System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.SByte System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static System.SByte System.Numerics.ISignedNumber.NegativeOne { get => throw null; } + static System.SByte System.Numerics.INumberBase.One { get => throw null; } + public static System.SByte Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.SByte Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static System.SByte Parse(string s) => throw null; public static System.SByte Parse(string s, System.IFormatProvider provider) => throw null; public static System.SByte Parse(string s, System.Globalization.NumberStyles style) => throw null; public static System.SByte Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.SByte PopCount(System.SByte value) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.SByte RotateLeft(System.SByte value, int rotateAmount) => throw null; + public static System.SByte RotateRight(System.SByte value, int rotateAmount) => throw null; // Stub generator skipped constructor + public static int Sign(System.SByte value) => throw null; bool System.IConvertible.ToBoolean(System.IFormatProvider provider) => throw null; System.Byte System.IConvertible.ToByte(System.IFormatProvider provider) => throw null; System.Char System.IConvertible.ToChar(System.IFormatProvider provider) => throw null; @@ -3564,60 +4763,197 @@ namespace System System.UInt16 System.IConvertible.ToUInt16(System.IFormatProvider provider) => throw null; System.UInt32 System.IConvertible.ToUInt32(System.IFormatProvider provider) => throw null; System.UInt64 System.IConvertible.ToUInt64(System.IFormatProvider provider) => throw null; + public static System.SByte TrailingZeroCount(System.SByte value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.SByte result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.SByte result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.SByte result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.SByte value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.SByte value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.SByte value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.SByte result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.SByte result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.SByte result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.SByte result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.SByte result) => throw null; public static bool TryParse(string s, out System.SByte result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out System.SByte value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out System.SByte value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; + static System.SByte System.Numerics.INumberBase.Zero { get => throw null; } + static System.SByte System.Numerics.IBitwiseOperators.operator ^(System.SByte left, System.SByte right) => throw null; + static System.SByte System.Numerics.IMultiplyOperators.operator checked *(System.SByte left, System.SByte right) => throw null; + static System.SByte System.Numerics.IAdditionOperators.operator checked +(System.SByte left, System.SByte right) => throw null; + static System.SByte System.Numerics.IIncrementOperators.operator checked ++(System.SByte value) => throw null; + static System.SByte System.Numerics.IUnaryNegationOperators.operator checked -(System.SByte value) => throw null; + static System.SByte System.Numerics.ISubtractionOperators.operator checked -(System.SByte left, System.SByte right) => throw null; + static System.SByte System.Numerics.IDecrementOperators.operator checked --(System.SByte value) => throw null; + static System.SByte System.Numerics.IBitwiseOperators.operator |(System.SByte left, System.SByte right) => throw null; + static System.SByte System.Numerics.IBitwiseOperators.operator ~(System.SByte value) => throw null; } - // Generated from `System.STAThreadAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.STAThreadAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class STAThreadAttribute : System.Attribute { public STAThreadAttribute() => throw null; } - // Generated from `System.SerializableAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.SerializableAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SerializableAttribute : System.Attribute { public SerializableAttribute() => throw null; } - // Generated from `System.Single` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct Single : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.Single` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct Single : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { - public static bool operator !=(float left, float right) => throw null; - public static bool operator <(float left, float right) => throw null; - public static bool operator <=(float left, float right) => throw null; - public static bool operator ==(float left, float right) => throw null; - public static bool operator >(float left, float right) => throw null; - public static bool operator >=(float left, float right) => throw null; + static bool System.Numerics.IEqualityOperators.operator !=(float left, float right) => throw null; + static float System.Numerics.IModulusOperators.operator %(float left, float right) => throw null; + static float System.Numerics.IBitwiseOperators.operator &(float left, float right) => throw null; + static float System.Numerics.IMultiplyOperators.operator *(float left, float right) => throw null; + static float System.Numerics.IUnaryPlusOperators.operator +(float value) => throw null; + static float System.Numerics.IAdditionOperators.operator +(float left, float right) => throw null; + static float System.Numerics.IIncrementOperators.operator ++(float value) => throw null; + static float System.Numerics.IUnaryNegationOperators.operator -(float value) => throw null; + static float System.Numerics.ISubtractionOperators.operator -(float left, float right) => throw null; + static float System.Numerics.IDecrementOperators.operator --(float value) => throw null; + static float System.Numerics.IDivisionOperators.operator /(float left, float right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(float left, float right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(float left, float right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(float left, float right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(float left, float right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(float left, float right) => throw null; + public static float Abs(float value) => throw null; + public static float Acos(float x) => throw null; + public static float AcosPi(float x) => throw null; + public static float Acosh(float x) => throw null; + static float System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static float System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static float Asin(float x) => throw null; + public static float AsinPi(float x) => throw null; + public static float Asinh(float x) => throw null; + public static float Atan(float x) => throw null; + public static float Atan2(float y, float x) => throw null; + public static float Atan2Pi(float y, float x) => throw null; + public static float AtanPi(float x) => throw null; + public static float Atanh(float x) => throw null; + public static float BitDecrement(float x) => throw null; + public static float BitIncrement(float x) => throw null; + public static float Cbrt(float x) => throw null; + public static float Ceiling(float x) => throw null; + public static float Clamp(float value, float min, float max) => throw null; public int CompareTo(float value) => throw null; public int CompareTo(object value) => throw null; + public static float CopySign(float value, float sign) => throw null; + public static float Cos(float x) => throw null; + public static float CosPi(float x) => throw null; + public static float Cosh(float x) => throw null; + static float System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static float System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static float System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + public const float E = default; + static float System.Numerics.IFloatingPointConstants.E { get => throw null; } public const float Epsilon = default; + static float System.Numerics.IFloatingPointIeee754.Epsilon { get => throw null; } public bool Equals(float obj) => throw null; public override bool Equals(object obj) => throw null; + public static float Exp(float x) => throw null; + public static float Exp10(float x) => throw null; + public static float Exp10M1(float x) => throw null; + public static float Exp2(float x) => throw null; + public static float Exp2M1(float x) => throw null; + public static float ExpM1(float x) => throw null; + public static float Floor(float x) => throw null; + public static float FusedMultiplyAdd(float left, float right, float addend) => throw null; + int System.Numerics.IFloatingPoint.GetExponentByteCount() => throw null; + int System.Numerics.IFloatingPoint.GetExponentShortestBitLength() => throw null; public override int GetHashCode() => throw null; + int System.Numerics.IFloatingPoint.GetSignificandBitLength() => throw null; + int System.Numerics.IFloatingPoint.GetSignificandByteCount() => throw null; public System.TypeCode GetTypeCode() => throw null; + public static float Hypot(float x, float y) => throw null; + public static int ILogB(float x) => throw null; + public static float Ieee754Remainder(float left, float right) => throw null; + public static bool IsCanonical(float value) => throw null; + public static bool IsComplexNumber(float value) => throw null; + public static bool IsEvenInteger(float value) => throw null; public static bool IsFinite(float f) => throw null; + public static bool IsImaginaryNumber(float value) => throw null; public static bool IsInfinity(float f) => throw null; + public static bool IsInteger(float value) => throw null; public static bool IsNaN(float f) => throw null; public static bool IsNegative(float f) => throw null; public static bool IsNegativeInfinity(float f) => throw null; public static bool IsNormal(float f) => throw null; + public static bool IsOddInteger(float value) => throw null; + public static bool IsPositive(float value) => throw null; public static bool IsPositiveInfinity(float f) => throw null; + public static bool IsPow2(float value) => throw null; + public static bool IsRealNumber(float value) => throw null; public static bool IsSubnormal(float f) => throw null; + public static bool IsZero(float value) => throw null; + public static float Log(float x) => throw null; + public static float Log(float x, float newBase) => throw null; + public static float Log10(float x) => throw null; + public static float Log10P1(float x) => throw null; + public static float Log2(float value) => throw null; + public static float Log2P1(float x) => throw null; + public static float LogP1(float x) => throw null; + public static float Max(float x, float y) => throw null; + public static float MaxMagnitude(float x, float y) => throw null; + public static float MaxMagnitudeNumber(float x, float y) => throw null; + public static float MaxNumber(float x, float y) => throw null; public const float MaxValue = default; + static float System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static float Min(float x, float y) => throw null; + public static float MinMagnitude(float x, float y) => throw null; + public static float MinMagnitudeNumber(float x, float y) => throw null; + public static float MinNumber(float x, float y) => throw null; public const float MinValue = default; + static float System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static float System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } public const float NaN = default; + static float System.Numerics.IFloatingPointIeee754.NaN { get => throw null; } public const float NegativeInfinity = default; + static float System.Numerics.IFloatingPointIeee754.NegativeInfinity { get => throw null; } + static float System.Numerics.ISignedNumber.NegativeOne { get => throw null; } + public const float NegativeZero = default; + static float System.Numerics.IFloatingPointIeee754.NegativeZero { get => throw null; } + static float System.Numerics.INumberBase.One { get => throw null; } + public static float Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static float Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static float Parse(string s) => throw null; public static float Parse(string s, System.IFormatProvider provider) => throw null; public static float Parse(string s, System.Globalization.NumberStyles style) => throw null; public static float Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public const float Pi = default; + static float System.Numerics.IFloatingPointConstants.Pi { get => throw null; } public const float PositiveInfinity = default; + static float System.Numerics.IFloatingPointIeee754.PositiveInfinity { get => throw null; } + public static float Pow(float x, float y) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static float ReciprocalEstimate(float x) => throw null; + public static float ReciprocalSqrtEstimate(float x) => throw null; + public static float RootN(float x, int n) => throw null; + public static float Round(float x) => throw null; + public static float Round(float x, System.MidpointRounding mode) => throw null; + public static float Round(float x, int digits) => throw null; + public static float Round(float x, int digits, System.MidpointRounding mode) => throw null; + public static float ScaleB(float x, int n) => throw null; + public static int Sign(float value) => throw null; + public static float Sin(float x) => throw null; + public static (float, float) SinCos(float x) => throw null; + public static (float, float) SinCosPi(float x) => throw null; + public static float SinPi(float x) => throw null; // Stub generator skipped constructor + public static float Sinh(float x) => throw null; + public static float Sqrt(float x) => throw null; + public static float Tan(float x) => throw null; + public static float TanPi(float x) => throw null; + public static float Tanh(float x) => throw null; + public const float Tau = default; + static float System.Numerics.IFloatingPointConstants.Tau { get => throw null; } bool System.IConvertible.ToBoolean(System.IFormatProvider provider) => throw null; System.Byte System.IConvertible.ToByte(System.IFormatProvider provider) => throw null; System.Char System.IConvertible.ToChar(System.IFormatProvider provider) => throw null; @@ -3637,17 +4973,34 @@ namespace System System.UInt16 System.IConvertible.ToUInt16(System.IFormatProvider provider) => throw null; System.UInt32 System.IConvertible.ToUInt32(System.IFormatProvider provider) => throw null; System.UInt64 System.IConvertible.ToUInt64(System.IFormatProvider provider) => throw null; + public static float Truncate(float x) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out float result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out float result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out float result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(float value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(float value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(float value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out float result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out float result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out float result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out float result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out float result) => throw null; public static bool TryParse(string s, out float result) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteExponentBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteExponentLittleEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteSignificandBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IFloatingPoint.TryWriteSignificandLittleEndian(System.Span destination, out int bytesWritten) => throw null; + static float System.Numerics.INumberBase.Zero { get => throw null; } + static float System.Numerics.IBitwiseOperators.operator ^(float left, float right) => throw null; + static float System.Numerics.IBitwiseOperators.operator |(float left, float right) => throw null; + static float System.Numerics.IBitwiseOperators.operator ~(float value) => throw null; } - // Generated from `System.Span<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Span<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Span { - // Generated from `System.Span<>+Enumerator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Span<>+Enumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator { public T Current { get => throw null; } @@ -3675,6 +5028,7 @@ namespace System public Span(T[] array) => throw null; public Span(T[] array, int start, int length) => throw null; unsafe public Span(void* pointer, int length) => throw null; + public Span(ref T reference) => throw null; public T[] ToArray() => throw null; public override string ToString() => throw null; public bool TryCopyTo(System.Span destination) => throw null; @@ -3683,7 +5037,7 @@ namespace System public static implicit operator System.Span(T[] array) => throw null; } - // Generated from `System.StackOverflowException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.StackOverflowException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StackOverflowException : System.SystemException { public StackOverflowException() => throw null; @@ -3691,7 +5045,7 @@ namespace System public StackOverflowException(string message, System.Exception innerException) => throw null; } - // Generated from `System.String` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.String` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class String : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.ICloneable, System.IComparable, System.IComparable, System.IConvertible, System.IEquatable { public static bool operator !=(string a, string b) => throw null; @@ -3883,7 +5237,7 @@ namespace System public static implicit operator System.ReadOnlySpan(string value) => throw null; } - // Generated from `System.StringComparer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.StringComparer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class StringComparer : System.Collections.Generic.IComparer, System.Collections.Generic.IEqualityComparer, System.Collections.IComparer, System.Collections.IEqualityComparer { public int Compare(object x, object y) => throw null; @@ -3906,7 +5260,7 @@ namespace System protected StringComparer() => throw null; } - // Generated from `System.StringComparison` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.StringComparison` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum StringComparison : int { CurrentCulture = 0, @@ -3917,7 +5271,7 @@ namespace System OrdinalIgnoreCase = 5, } - // Generated from `System.StringNormalizationExtensions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.StringNormalizationExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class StringNormalizationExtensions { public static bool IsNormalized(this string strInput) => throw null; @@ -3926,7 +5280,7 @@ namespace System public static string Normalize(this string strInput, System.Text.NormalizationForm normalizationForm) => throw null; } - // Generated from `System.StringSplitOptions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.StringSplitOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum StringSplitOptions : int { @@ -3935,7 +5289,7 @@ namespace System TrimEntries = 2, } - // Generated from `System.SystemException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.SystemException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SystemException : System.Exception { public SystemException() => throw null; @@ -3944,14 +5298,14 @@ namespace System public SystemException(string message, System.Exception innerException) => throw null; } - // Generated from `System.ThreadStaticAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ThreadStaticAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadStaticAttribute : System.Attribute { public ThreadStaticAttribute() => throw null; } - // Generated from `System.TimeOnly` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct TimeOnly : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.TimeOnly` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct TimeOnly : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable { public static bool operator !=(System.TimeOnly left, System.TimeOnly right) => throw null; public static System.TimeSpan operator -(System.TimeOnly t1, System.TimeOnly t2) => throw null; @@ -3976,11 +5330,15 @@ namespace System public int Hour { get => throw null; } public bool IsBetween(System.TimeOnly start, System.TimeOnly end) => throw null; public static System.TimeOnly MaxValue { get => throw null; } + public int Microsecond { get => throw null; } public int Millisecond { get => throw null; } public static System.TimeOnly MinValue { get => throw null; } public int Minute { get => throw null; } + public int Nanosecond { get => throw null; } + public static System.TimeOnly Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.TimeOnly Parse(System.ReadOnlySpan s, System.IFormatProvider provider = default(System.IFormatProvider), System.Globalization.DateTimeStyles style = default(System.Globalization.DateTimeStyles)) => throw null; public static System.TimeOnly Parse(string s) => throw null; + public static System.TimeOnly Parse(string s, System.IFormatProvider provider) => throw null; public static System.TimeOnly Parse(string s, System.IFormatProvider provider, System.Globalization.DateTimeStyles style = default(System.Globalization.DateTimeStyles)) => throw null; public static System.TimeOnly ParseExact(System.ReadOnlySpan s, System.ReadOnlySpan format, System.IFormatProvider provider = default(System.IFormatProvider), System.Globalization.DateTimeStyles style = default(System.Globalization.DateTimeStyles)) => throw null; public static System.TimeOnly ParseExact(System.ReadOnlySpan s, string[] formats) => throw null; @@ -3995,6 +5353,7 @@ namespace System public TimeOnly(int hour, int minute) => throw null; public TimeOnly(int hour, int minute, int second) => throw null; public TimeOnly(int hour, int minute, int second, int millisecond) => throw null; + public TimeOnly(int hour, int minute, int second, int millisecond, int microsecond) => throw null; public TimeOnly(System.Int64 ticks) => throw null; public string ToLongTimeString() => throw null; public string ToShortTimeString() => throw null; @@ -4005,8 +5364,10 @@ namespace System public System.TimeSpan ToTimeSpan() => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, System.Globalization.DateTimeStyles style, out System.TimeOnly result) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.TimeOnly result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.TimeOnly result) => throw null; public static bool TryParse(string s, System.IFormatProvider provider, System.Globalization.DateTimeStyles style, out System.TimeOnly result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.TimeOnly result) => throw null; public static bool TryParse(string s, out System.TimeOnly result) => throw null; public static bool TryParseExact(System.ReadOnlySpan s, System.ReadOnlySpan format, System.IFormatProvider provider, System.Globalization.DateTimeStyles style, out System.TimeOnly result) => throw null; public static bool TryParseExact(System.ReadOnlySpan s, System.ReadOnlySpan format, out System.TimeOnly result) => throw null; @@ -4018,8 +5379,8 @@ namespace System public static bool TryParseExact(string s, string format, out System.TimeOnly result) => throw null; } - // Generated from `System.TimeSpan` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct TimeSpan : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.TimeSpan` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct TimeSpan : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable { public static bool operator !=(System.TimeSpan t1, System.TimeSpan t2) => throw null; public static System.TimeSpan operator *(System.TimeSpan timeSpan, double factor) => throw null; @@ -4048,6 +5409,7 @@ namespace System public override bool Equals(object value) => throw null; public static System.TimeSpan FromDays(double value) => throw null; public static System.TimeSpan FromHours(double value) => throw null; + public static System.TimeSpan FromMicroseconds(double value) => throw null; public static System.TimeSpan FromMilliseconds(double value) => throw null; public static System.TimeSpan FromMinutes(double value) => throw null; public static System.TimeSpan FromSeconds(double value) => throw null; @@ -4055,10 +5417,13 @@ namespace System public override int GetHashCode() => throw null; public int Hours { get => throw null; } public static System.TimeSpan MaxValue; + public int Microseconds { get => throw null; } public int Milliseconds { get => throw null; } public static System.TimeSpan MinValue; public int Minutes { get => throw null; } public System.TimeSpan Multiply(double factor) => throw null; + public int Nanoseconds { get => throw null; } + public const System.Int64 NanosecondsPerTick = default; public System.TimeSpan Negate() => throw null; public static System.TimeSpan Parse(System.ReadOnlySpan input, System.IFormatProvider formatProvider = default(System.IFormatProvider)) => throw null; public static System.TimeSpan Parse(string s) => throw null; @@ -4074,6 +5439,7 @@ namespace System public System.Int64 Ticks { get => throw null; } public const System.Int64 TicksPerDay = default; public const System.Int64 TicksPerHour = default; + public const System.Int64 TicksPerMicrosecond = default; public const System.Int64 TicksPerMillisecond = default; public const System.Int64 TicksPerMinute = default; public const System.Int64 TicksPerSecond = default; @@ -4081,14 +5447,17 @@ namespace System public TimeSpan(int hours, int minutes, int seconds) => throw null; public TimeSpan(int days, int hours, int minutes, int seconds) => throw null; public TimeSpan(int days, int hours, int minutes, int seconds, int milliseconds) => throw null; + public TimeSpan(int days, int hours, int minutes, int seconds, int milliseconds, int microseconds) => throw null; public TimeSpan(System.Int64 ticks) => throw null; public override string ToString() => throw null; public string ToString(string format) => throw null; public string ToString(string format, System.IFormatProvider formatProvider) => throw null; public double TotalDays { get => throw null; } public double TotalHours { get => throw null; } + public double TotalMicroseconds { get => throw null; } public double TotalMilliseconds { get => throw null; } public double TotalMinutes { get => throw null; } + public double TotalNanoseconds { get => throw null; } public double TotalSeconds { get => throw null; } public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider formatProvider = default(System.IFormatProvider)) => throw null; public static bool TryParse(System.ReadOnlySpan input, System.IFormatProvider formatProvider, out System.TimeSpan result) => throw null; @@ -4106,7 +5475,7 @@ namespace System public static System.TimeSpan Zero; } - // Generated from `System.TimeZone` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.TimeZone` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TimeZone { public static System.TimeZone CurrentTimeZone { get => throw null; } @@ -4121,10 +5490,10 @@ namespace System public virtual System.DateTime ToUniversalTime(System.DateTime time) => throw null; } - // Generated from `System.TimeZoneInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.TimeZoneInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TimeZoneInfo : System.IEquatable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { - // Generated from `System.TimeZoneInfo+AdjustmentRule` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.TimeZoneInfo+AdjustmentRule` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AdjustmentRule : System.IEquatable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public System.TimeSpan BaseUtcOffsetDelta { get => throw null; } @@ -4136,13 +5505,14 @@ namespace System public System.TimeZoneInfo.TransitionTime DaylightTransitionEnd { get => throw null; } public System.TimeZoneInfo.TransitionTime DaylightTransitionStart { get => throw null; } public bool Equals(System.TimeZoneInfo.AdjustmentRule other) => throw null; + public override bool Equals(object obj) => throw null; public override int GetHashCode() => throw null; void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) => throw null; } - // Generated from `System.TimeZoneInfo+TransitionTime` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.TimeZoneInfo+TransitionTime` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TransitionTime : System.IEquatable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.TimeZoneInfo.TransitionTime t1, System.TimeZoneInfo.TransitionTime t2) => throw null; @@ -4212,7 +5582,7 @@ namespace System public static System.TimeZoneInfo Utc { get => throw null; } } - // Generated from `System.TimeZoneNotFoundException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.TimeZoneNotFoundException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TimeZoneNotFoundException : System.Exception { public TimeZoneNotFoundException() => throw null; @@ -4221,7 +5591,7 @@ namespace System public TimeZoneNotFoundException(string message, System.Exception innerException) => throw null; } - // Generated from `System.TimeoutException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.TimeoutException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TimeoutException : System.SystemException { public TimeoutException() => throw null; @@ -4230,7 +5600,7 @@ namespace System public TimeoutException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Tuple` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Tuple` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Tuple { public static System.Tuple> Create(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, T8 item8) => throw null; @@ -4243,7 +5613,7 @@ namespace System public static System.Tuple Create(T1 item1) => throw null; } - // Generated from `System.Tuple<,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Tuple<,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -4266,7 +5636,7 @@ namespace System public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, TRest rest) => throw null; } - // Generated from `System.Tuple<,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Tuple<,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -4288,7 +5658,7 @@ namespace System public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7) => throw null; } - // Generated from `System.Tuple<,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Tuple<,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -4309,7 +5679,7 @@ namespace System public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6) => throw null; } - // Generated from `System.Tuple<,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Tuple<,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -4329,7 +5699,7 @@ namespace System public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5) => throw null; } - // Generated from `System.Tuple<,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Tuple<,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -4348,7 +5718,7 @@ namespace System public Tuple(T1 item1, T2 item2, T3 item3, T4 item4) => throw null; } - // Generated from `System.Tuple<,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Tuple<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -4366,7 +5736,7 @@ namespace System public Tuple(T1 item1, T2 item2, T3 item3) => throw null; } - // Generated from `System.Tuple<,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Tuple<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -4383,7 +5753,7 @@ namespace System public Tuple(T1 item1, T2 item2) => throw null; } - // Generated from `System.Tuple<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Tuple<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -4399,7 +5769,7 @@ namespace System public Tuple(T1 item1) => throw null; } - // Generated from `System.TupleExtensions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.TupleExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class TupleExtensions { public static void Deconstruct(this System.Tuple>> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10, out T11 item11, out T12 item12, out T13 item13, out T14 item14, out T15 item15, out T16 item16, out T17 item17, out T18 item18, out T19 item19, out T20 item20, out T21 item21) => throw null; @@ -4467,7 +5837,7 @@ namespace System public static System.ValueTuple ToValueTuple(this System.Tuple value) => throw null; } - // Generated from `System.Type` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Type` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Type : System.Reflection.MemberInfo, System.Reflection.IReflect { public static bool operator !=(System.Type left, System.Type right) => throw null; @@ -4509,6 +5879,7 @@ namespace System public virtual string[] GetEnumNames() => throw null; public virtual System.Type GetEnumUnderlyingType() => throw null; public virtual System.Array GetEnumValues() => throw null; + public virtual System.Array GetEnumValuesAsUnderlyingType() => throw null; public System.Reflection.EventInfo GetEvent(string name) => throw null; public abstract System.Reflection.EventInfo GetEvent(string name, System.Reflection.BindingFlags bindingAttr); public virtual System.Reflection.EventInfo[] GetEvents() => throw null; @@ -4666,7 +6037,7 @@ namespace System public abstract System.Type UnderlyingSystemType { get; } } - // Generated from `System.TypeAccessException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.TypeAccessException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeAccessException : System.TypeLoadException { public TypeAccessException() => throw null; @@ -4675,7 +6046,7 @@ namespace System public TypeAccessException(string message, System.Exception inner) => throw null; } - // Generated from `System.TypeCode` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.TypeCode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TypeCode : int { Boolean = 3, @@ -4698,7 +6069,7 @@ namespace System UInt64 = 12, } - // Generated from `System.TypeInitializationException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.TypeInitializationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeInitializationException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -4706,7 +6077,7 @@ namespace System public string TypeName { get => throw null; } } - // Generated from `System.TypeLoadException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.TypeLoadException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeLoadException : System.SystemException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -4718,7 +6089,7 @@ namespace System public string TypeName { get => throw null; } } - // Generated from `System.TypeUnloadedException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.TypeUnloadedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeUnloadedException : System.SystemException { public TypeUnloadedException() => throw null; @@ -4727,7 +6098,7 @@ namespace System public TypeUnloadedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.TypedReference` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.TypedReference` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypedReference { public override bool Equals(object o) => throw null; @@ -4740,22 +6111,257 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.UInt16` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct UInt16 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.UInt128` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct UInt128 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { + static bool System.Numerics.IEqualityOperators.operator !=(System.UInt128 left, System.UInt128 right) => throw null; + static System.UInt128 System.Numerics.IModulusOperators.operator %(System.UInt128 left, System.UInt128 right) => throw null; + static System.UInt128 System.Numerics.IBitwiseOperators.operator &(System.UInt128 left, System.UInt128 right) => throw null; + static System.UInt128 System.Numerics.IMultiplyOperators.operator *(System.UInt128 left, System.UInt128 right) => throw null; + static System.UInt128 System.Numerics.IUnaryPlusOperators.operator +(System.UInt128 value) => throw null; + static System.UInt128 System.Numerics.IAdditionOperators.operator +(System.UInt128 left, System.UInt128 right) => throw null; + static System.UInt128 System.Numerics.IIncrementOperators.operator ++(System.UInt128 value) => throw null; + static System.UInt128 System.Numerics.IUnaryNegationOperators.operator -(System.UInt128 value) => throw null; + static System.UInt128 System.Numerics.ISubtractionOperators.operator -(System.UInt128 left, System.UInt128 right) => throw null; + static System.UInt128 System.Numerics.IDecrementOperators.operator --(System.UInt128 value) => throw null; + static System.UInt128 System.Numerics.IDivisionOperators.operator /(System.UInt128 left, System.UInt128 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.UInt128 left, System.UInt128 right) => throw null; + static System.UInt128 System.Numerics.IShiftOperators.operator <<(System.UInt128 value, int shiftAmount) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.UInt128 left, System.UInt128 right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.UInt128 left, System.UInt128 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.UInt128 left, System.UInt128 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.UInt128 left, System.UInt128 right) => throw null; + static System.UInt128 System.Numerics.IShiftOperators.operator >>(System.UInt128 value, int shiftAmount) => throw null; + static System.UInt128 System.Numerics.IShiftOperators.operator >>>(System.UInt128 value, int shiftAmount) => throw null; + public static System.UInt128 Abs(System.UInt128 value) => throw null; + static System.UInt128 System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.UInt128 System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static System.UInt128 Clamp(System.UInt128 value, System.UInt128 min, System.UInt128 max) => throw null; + public int CompareTo(System.UInt128 value) => throw null; + public int CompareTo(object value) => throw null; + public static System.UInt128 CopySign(System.UInt128 value, System.UInt128 sign) => throw null; + static System.UInt128 System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.UInt128 System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.UInt128 System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + public static (System.UInt128, System.UInt128) DivRem(System.UInt128 left, System.UInt128 right) => throw null; + public bool Equals(System.UInt128 other) => throw null; + public override bool Equals(object obj) => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; + public override int GetHashCode() => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; + public static bool IsCanonical(System.UInt128 value) => throw null; + public static bool IsComplexNumber(System.UInt128 value) => throw null; + public static bool IsEvenInteger(System.UInt128 value) => throw null; + public static bool IsFinite(System.UInt128 value) => throw null; + public static bool IsImaginaryNumber(System.UInt128 value) => throw null; + public static bool IsInfinity(System.UInt128 value) => throw null; + public static bool IsInteger(System.UInt128 value) => throw null; + public static bool IsNaN(System.UInt128 value) => throw null; + public static bool IsNegative(System.UInt128 value) => throw null; + public static bool IsNegativeInfinity(System.UInt128 value) => throw null; + public static bool IsNormal(System.UInt128 value) => throw null; + public static bool IsOddInteger(System.UInt128 value) => throw null; + public static bool IsPositive(System.UInt128 value) => throw null; + public static bool IsPositiveInfinity(System.UInt128 value) => throw null; + public static bool IsPow2(System.UInt128 value) => throw null; + public static bool IsRealNumber(System.UInt128 value) => throw null; + public static bool IsSubnormal(System.UInt128 value) => throw null; + public static bool IsZero(System.UInt128 value) => throw null; + public static System.UInt128 LeadingZeroCount(System.UInt128 value) => throw null; + public static System.UInt128 Log2(System.UInt128 value) => throw null; + public static System.UInt128 Max(System.UInt128 x, System.UInt128 y) => throw null; + public static System.UInt128 MaxMagnitude(System.UInt128 x, System.UInt128 y) => throw null; + public static System.UInt128 MaxMagnitudeNumber(System.UInt128 x, System.UInt128 y) => throw null; + public static System.UInt128 MaxNumber(System.UInt128 x, System.UInt128 y) => throw null; + static System.UInt128 System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.UInt128 Min(System.UInt128 x, System.UInt128 y) => throw null; + public static System.UInt128 MinMagnitude(System.UInt128 x, System.UInt128 y) => throw null; + public static System.UInt128 MinMagnitudeNumber(System.UInt128 x, System.UInt128 y) => throw null; + public static System.UInt128 MinNumber(System.UInt128 x, System.UInt128 y) => throw null; + static System.UInt128 System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.UInt128 System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static System.UInt128 System.Numerics.INumberBase.One { get => throw null; } + public static System.UInt128 Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; + public static System.UInt128 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static System.UInt128 Parse(string s) => throw null; + public static System.UInt128 Parse(string s, System.IFormatProvider provider) => throw null; + public static System.UInt128 Parse(string s, System.Globalization.NumberStyles style) => throw null; + public static System.UInt128 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.UInt128 PopCount(System.UInt128 value) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.UInt128 RotateLeft(System.UInt128 value, int rotateAmount) => throw null; + public static System.UInt128 RotateRight(System.UInt128 value, int rotateAmount) => throw null; + public static int Sign(System.UInt128 value) => throw null; + public override string ToString() => throw null; + public string ToString(System.IFormatProvider provider) => throw null; + public string ToString(string format) => throw null; + public string ToString(string format, System.IFormatProvider provider) => throw null; + public static System.UInt128 TrailingZeroCount(System.UInt128 value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.UInt128 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.UInt128 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.UInt128 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.UInt128 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.UInt128 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.UInt128 value, out TOther result) => throw null; + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.UInt128 result) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt128 result) => throw null; + public static bool TryParse(System.ReadOnlySpan s, out System.UInt128 result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.UInt128 result) => throw null; + public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt128 result) => throw null; + public static bool TryParse(string s, out System.UInt128 result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out System.UInt128 value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out System.UInt128 value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; + // Stub generator skipped constructor + public UInt128(System.UInt64 upper, System.UInt64 lower) => throw null; + static System.UInt128 System.Numerics.INumberBase.Zero { get => throw null; } + static System.UInt128 System.Numerics.IBitwiseOperators.operator ^(System.UInt128 left, System.UInt128 right) => throw null; + static System.UInt128 System.Numerics.IMultiplyOperators.operator checked *(System.UInt128 left, System.UInt128 right) => throw null; + static System.UInt128 System.Numerics.IAdditionOperators.operator checked +(System.UInt128 left, System.UInt128 right) => throw null; + static System.UInt128 System.Numerics.IIncrementOperators.operator checked ++(System.UInt128 value) => throw null; + static System.UInt128 System.Numerics.IUnaryNegationOperators.operator checked -(System.UInt128 value) => throw null; + static System.UInt128 System.Numerics.ISubtractionOperators.operator checked -(System.UInt128 left, System.UInt128 right) => throw null; + static System.UInt128 System.Numerics.IDecrementOperators.operator checked --(System.UInt128 value) => throw null; + static System.UInt128 System.Numerics.IDivisionOperators.operator checked /(System.UInt128 left, System.UInt128 right) => throw null; + public static explicit operator checked System.UInt128(System.IntPtr value) => throw null; + public static explicit operator checked System.Byte(System.UInt128 value) => throw null; + public static explicit operator checked System.Char(System.UInt128 value) => throw null; + public static explicit operator checked System.Int128(System.UInt128 value) => throw null; + public static explicit operator checked System.Int16(System.UInt128 value) => throw null; + public static explicit operator checked System.Int64(System.UInt128 value) => throw null; + public static explicit operator checked System.IntPtr(System.UInt128 value) => throw null; + public static explicit operator checked System.SByte(System.UInt128 value) => throw null; + public static explicit operator checked System.UInt16(System.UInt128 value) => throw null; + public static explicit operator checked System.UInt32(System.UInt128 value) => throw null; + public static explicit operator checked System.UInt64(System.UInt128 value) => throw null; + public static explicit operator checked System.UIntPtr(System.UInt128 value) => throw null; + public static explicit operator checked int(System.UInt128 value) => throw null; + public static explicit operator checked System.UInt128(double value) => throw null; + public static explicit operator checked System.UInt128(float value) => throw null; + public static explicit operator checked System.UInt128(int value) => throw null; + public static explicit operator checked System.UInt128(System.Int64 value) => throw null; + public static explicit operator checked System.UInt128(System.SByte value) => throw null; + public static explicit operator checked System.UInt128(System.Int16 value) => throw null; + public static explicit operator System.UInt128(System.IntPtr value) => throw null; + public static explicit operator System.Byte(System.UInt128 value) => throw null; + public static explicit operator System.Char(System.UInt128 value) => throw null; + public static explicit operator System.Decimal(System.UInt128 value) => throw null; + public static explicit operator System.Half(System.UInt128 value) => throw null; + public static explicit operator System.Int128(System.UInt128 value) => throw null; + public static explicit operator System.Int16(System.UInt128 value) => throw null; + public static explicit operator System.Int64(System.UInt128 value) => throw null; + public static explicit operator System.IntPtr(System.UInt128 value) => throw null; + public static explicit operator System.SByte(System.UInt128 value) => throw null; + public static explicit operator System.UInt16(System.UInt128 value) => throw null; + public static explicit operator System.UInt32(System.UInt128 value) => throw null; + public static explicit operator System.UInt64(System.UInt128 value) => throw null; + public static explicit operator System.UIntPtr(System.UInt128 value) => throw null; + public static explicit operator double(System.UInt128 value) => throw null; + public static explicit operator float(System.UInt128 value) => throw null; + public static explicit operator int(System.UInt128 value) => throw null; + public static explicit operator System.UInt128(System.Decimal value) => throw null; + public static explicit operator System.UInt128(double value) => throw null; + public static explicit operator System.UInt128(float value) => throw null; + public static explicit operator System.UInt128(int value) => throw null; + public static explicit operator System.UInt128(System.Int64 value) => throw null; + public static explicit operator System.UInt128(System.SByte value) => throw null; + public static explicit operator System.UInt128(System.Int16 value) => throw null; + public static implicit operator System.UInt128(System.UIntPtr value) => throw null; + public static implicit operator System.UInt128(System.Byte value) => throw null; + public static implicit operator System.UInt128(System.Char value) => throw null; + public static implicit operator System.UInt128(System.UInt32 value) => throw null; + public static implicit operator System.UInt128(System.UInt64 value) => throw null; + public static implicit operator System.UInt128(System.UInt16 value) => throw null; + static System.UInt128 System.Numerics.IBitwiseOperators.operator |(System.UInt128 left, System.UInt128 right) => throw null; + static System.UInt128 System.Numerics.IBitwiseOperators.operator ~(System.UInt128 value) => throw null; + } + + // Generated from `System.UInt16` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct UInt16 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber + { + static bool System.Numerics.IEqualityOperators.operator !=(System.UInt16 left, System.UInt16 right) => throw null; + static System.UInt16 System.Numerics.IModulusOperators.operator %(System.UInt16 left, System.UInt16 right) => throw null; + static System.UInt16 System.Numerics.IBitwiseOperators.operator &(System.UInt16 left, System.UInt16 right) => throw null; + static System.UInt16 System.Numerics.IMultiplyOperators.operator *(System.UInt16 left, System.UInt16 right) => throw null; + static System.UInt16 System.Numerics.IUnaryPlusOperators.operator +(System.UInt16 value) => throw null; + static System.UInt16 System.Numerics.IAdditionOperators.operator +(System.UInt16 left, System.UInt16 right) => throw null; + static System.UInt16 System.Numerics.IIncrementOperators.operator ++(System.UInt16 value) => throw null; + static System.UInt16 System.Numerics.IUnaryNegationOperators.operator -(System.UInt16 value) => throw null; + static System.UInt16 System.Numerics.ISubtractionOperators.operator -(System.UInt16 left, System.UInt16 right) => throw null; + static System.UInt16 System.Numerics.IDecrementOperators.operator --(System.UInt16 value) => throw null; + static System.UInt16 System.Numerics.IDivisionOperators.operator /(System.UInt16 left, System.UInt16 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.UInt16 left, System.UInt16 right) => throw null; + static System.UInt16 System.Numerics.IShiftOperators.operator <<(System.UInt16 value, int shiftAmount) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.UInt16 left, System.UInt16 right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.UInt16 left, System.UInt16 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.UInt16 left, System.UInt16 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.UInt16 left, System.UInt16 right) => throw null; + static System.UInt16 System.Numerics.IShiftOperators.operator >>(System.UInt16 value, int shiftAmount) => throw null; + static System.UInt16 System.Numerics.IShiftOperators.operator >>>(System.UInt16 value, int shiftAmount) => throw null; + public static System.UInt16 Abs(System.UInt16 value) => throw null; + static System.UInt16 System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.UInt16 System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static System.UInt16 Clamp(System.UInt16 value, System.UInt16 min, System.UInt16 max) => throw null; public int CompareTo(object value) => throw null; public int CompareTo(System.UInt16 value) => throw null; + public static System.UInt16 CopySign(System.UInt16 value, System.UInt16 sign) => throw null; + static System.UInt16 System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.UInt16 System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.UInt16 System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + public static (System.UInt16, System.UInt16) DivRem(System.UInt16 left, System.UInt16 right) => throw null; public override bool Equals(object obj) => throw null; public bool Equals(System.UInt16 obj) => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; public override int GetHashCode() => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; public System.TypeCode GetTypeCode() => throw null; + public static bool IsCanonical(System.UInt16 value) => throw null; + public static bool IsComplexNumber(System.UInt16 value) => throw null; + public static bool IsEvenInteger(System.UInt16 value) => throw null; + public static bool IsFinite(System.UInt16 value) => throw null; + public static bool IsImaginaryNumber(System.UInt16 value) => throw null; + public static bool IsInfinity(System.UInt16 value) => throw null; + public static bool IsInteger(System.UInt16 value) => throw null; + public static bool IsNaN(System.UInt16 value) => throw null; + public static bool IsNegative(System.UInt16 value) => throw null; + public static bool IsNegativeInfinity(System.UInt16 value) => throw null; + public static bool IsNormal(System.UInt16 value) => throw null; + public static bool IsOddInteger(System.UInt16 value) => throw null; + public static bool IsPositive(System.UInt16 value) => throw null; + public static bool IsPositiveInfinity(System.UInt16 value) => throw null; + public static bool IsPow2(System.UInt16 value) => throw null; + public static bool IsRealNumber(System.UInt16 value) => throw null; + public static bool IsSubnormal(System.UInt16 value) => throw null; + public static bool IsZero(System.UInt16 value) => throw null; + public static System.UInt16 LeadingZeroCount(System.UInt16 value) => throw null; + public static System.UInt16 Log2(System.UInt16 value) => throw null; + public static System.UInt16 Max(System.UInt16 x, System.UInt16 y) => throw null; + public static System.UInt16 MaxMagnitude(System.UInt16 x, System.UInt16 y) => throw null; + public static System.UInt16 MaxMagnitudeNumber(System.UInt16 x, System.UInt16 y) => throw null; + public static System.UInt16 MaxNumber(System.UInt16 x, System.UInt16 y) => throw null; public const System.UInt16 MaxValue = default; + static System.UInt16 System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.UInt16 Min(System.UInt16 x, System.UInt16 y) => throw null; + public static System.UInt16 MinMagnitude(System.UInt16 x, System.UInt16 y) => throw null; + public static System.UInt16 MinMagnitudeNumber(System.UInt16 x, System.UInt16 y) => throw null; + public static System.UInt16 MinNumber(System.UInt16 x, System.UInt16 y) => throw null; public const System.UInt16 MinValue = default; + static System.UInt16 System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.UInt16 System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static System.UInt16 System.Numerics.INumberBase.One { get => throw null; } + public static System.UInt16 Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.UInt16 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static System.UInt16 Parse(string s) => throw null; public static System.UInt16 Parse(string s, System.IFormatProvider provider) => throw null; public static System.UInt16 Parse(string s, System.Globalization.NumberStyles style) => throw null; public static System.UInt16 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.UInt16 PopCount(System.UInt16 value) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.UInt16 RotateLeft(System.UInt16 value, int rotateAmount) => throw null; + public static System.UInt16 RotateRight(System.UInt16 value, int rotateAmount) => throw null; + public static int Sign(System.UInt16 value) => throw null; bool System.IConvertible.ToBoolean(System.IFormatProvider provider) => throw null; System.Byte System.IConvertible.ToByte(System.IFormatProvider provider) => throw null; System.Char System.IConvertible.ToChar(System.IFormatProvider provider) => throw null; @@ -4775,30 +6381,121 @@ namespace System System.UInt16 System.IConvertible.ToUInt16(System.IFormatProvider provider) => throw null; System.UInt32 System.IConvertible.ToUInt32(System.IFormatProvider provider) => throw null; System.UInt64 System.IConvertible.ToUInt64(System.IFormatProvider provider) => throw null; + public static System.UInt16 TrailingZeroCount(System.UInt16 value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.UInt16 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.UInt16 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.UInt16 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.UInt16 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.UInt16 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.UInt16 value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.UInt16 result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt16 result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.UInt16 result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.UInt16 result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt16 result) => throw null; public static bool TryParse(string s, out System.UInt16 result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out System.UInt16 value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out System.UInt16 value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; // Stub generator skipped constructor + static System.UInt16 System.Numerics.INumberBase.Zero { get => throw null; } + static System.UInt16 System.Numerics.IBitwiseOperators.operator ^(System.UInt16 left, System.UInt16 right) => throw null; + static System.UInt16 System.Numerics.IMultiplyOperators.operator checked *(System.UInt16 left, System.UInt16 right) => throw null; + static System.UInt16 System.Numerics.IAdditionOperators.operator checked +(System.UInt16 left, System.UInt16 right) => throw null; + static System.UInt16 System.Numerics.IIncrementOperators.operator checked ++(System.UInt16 value) => throw null; + static System.UInt16 System.Numerics.IUnaryNegationOperators.operator checked -(System.UInt16 value) => throw null; + static System.UInt16 System.Numerics.ISubtractionOperators.operator checked -(System.UInt16 left, System.UInt16 right) => throw null; + static System.UInt16 System.Numerics.IDecrementOperators.operator checked --(System.UInt16 value) => throw null; + static System.UInt16 System.Numerics.IBitwiseOperators.operator |(System.UInt16 left, System.UInt16 right) => throw null; + static System.UInt16 System.Numerics.IBitwiseOperators.operator ~(System.UInt16 value) => throw null; } - // Generated from `System.UInt32` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct UInt32 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.UInt32` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct UInt32 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { + static bool System.Numerics.IEqualityOperators.operator !=(System.UInt32 left, System.UInt32 right) => throw null; + static System.UInt32 System.Numerics.IModulusOperators.operator %(System.UInt32 left, System.UInt32 right) => throw null; + static System.UInt32 System.Numerics.IBitwiseOperators.operator &(System.UInt32 left, System.UInt32 right) => throw null; + static System.UInt32 System.Numerics.IMultiplyOperators.operator *(System.UInt32 left, System.UInt32 right) => throw null; + static System.UInt32 System.Numerics.IUnaryPlusOperators.operator +(System.UInt32 value) => throw null; + static System.UInt32 System.Numerics.IAdditionOperators.operator +(System.UInt32 left, System.UInt32 right) => throw null; + static System.UInt32 System.Numerics.IIncrementOperators.operator ++(System.UInt32 value) => throw null; + static System.UInt32 System.Numerics.IUnaryNegationOperators.operator -(System.UInt32 value) => throw null; + static System.UInt32 System.Numerics.ISubtractionOperators.operator -(System.UInt32 left, System.UInt32 right) => throw null; + static System.UInt32 System.Numerics.IDecrementOperators.operator --(System.UInt32 value) => throw null; + static System.UInt32 System.Numerics.IDivisionOperators.operator /(System.UInt32 left, System.UInt32 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.UInt32 left, System.UInt32 right) => throw null; + static System.UInt32 System.Numerics.IShiftOperators.operator <<(System.UInt32 value, int shiftAmount) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.UInt32 left, System.UInt32 right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.UInt32 left, System.UInt32 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.UInt32 left, System.UInt32 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.UInt32 left, System.UInt32 right) => throw null; + static System.UInt32 System.Numerics.IShiftOperators.operator >>(System.UInt32 value, int shiftAmount) => throw null; + static System.UInt32 System.Numerics.IShiftOperators.operator >>>(System.UInt32 value, int shiftAmount) => throw null; + public static System.UInt32 Abs(System.UInt32 value) => throw null; + static System.UInt32 System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.UInt32 System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static System.UInt32 Clamp(System.UInt32 value, System.UInt32 min, System.UInt32 max) => throw null; public int CompareTo(object value) => throw null; public int CompareTo(System.UInt32 value) => throw null; + public static System.UInt32 CopySign(System.UInt32 value, System.UInt32 sign) => throw null; + static System.UInt32 System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.UInt32 System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.UInt32 System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + public static (System.UInt32, System.UInt32) DivRem(System.UInt32 left, System.UInt32 right) => throw null; public override bool Equals(object obj) => throw null; public bool Equals(System.UInt32 obj) => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; public override int GetHashCode() => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; public System.TypeCode GetTypeCode() => throw null; + public static bool IsCanonical(System.UInt32 value) => throw null; + public static bool IsComplexNumber(System.UInt32 value) => throw null; + public static bool IsEvenInteger(System.UInt32 value) => throw null; + public static bool IsFinite(System.UInt32 value) => throw null; + public static bool IsImaginaryNumber(System.UInt32 value) => throw null; + public static bool IsInfinity(System.UInt32 value) => throw null; + public static bool IsInteger(System.UInt32 value) => throw null; + public static bool IsNaN(System.UInt32 value) => throw null; + public static bool IsNegative(System.UInt32 value) => throw null; + public static bool IsNegativeInfinity(System.UInt32 value) => throw null; + public static bool IsNormal(System.UInt32 value) => throw null; + public static bool IsOddInteger(System.UInt32 value) => throw null; + public static bool IsPositive(System.UInt32 value) => throw null; + public static bool IsPositiveInfinity(System.UInt32 value) => throw null; + public static bool IsPow2(System.UInt32 value) => throw null; + public static bool IsRealNumber(System.UInt32 value) => throw null; + public static bool IsSubnormal(System.UInt32 value) => throw null; + public static bool IsZero(System.UInt32 value) => throw null; + public static System.UInt32 LeadingZeroCount(System.UInt32 value) => throw null; + public static System.UInt32 Log2(System.UInt32 value) => throw null; + public static System.UInt32 Max(System.UInt32 x, System.UInt32 y) => throw null; + public static System.UInt32 MaxMagnitude(System.UInt32 x, System.UInt32 y) => throw null; + public static System.UInt32 MaxMagnitudeNumber(System.UInt32 x, System.UInt32 y) => throw null; + public static System.UInt32 MaxNumber(System.UInt32 x, System.UInt32 y) => throw null; public const System.UInt32 MaxValue = default; + static System.UInt32 System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.UInt32 Min(System.UInt32 x, System.UInt32 y) => throw null; + public static System.UInt32 MinMagnitude(System.UInt32 x, System.UInt32 y) => throw null; + public static System.UInt32 MinMagnitudeNumber(System.UInt32 x, System.UInt32 y) => throw null; + public static System.UInt32 MinNumber(System.UInt32 x, System.UInt32 y) => throw null; public const System.UInt32 MinValue = default; + static System.UInt32 System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.UInt32 System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static System.UInt32 System.Numerics.INumberBase.One { get => throw null; } + public static System.UInt32 Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.UInt32 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static System.UInt32 Parse(string s) => throw null; public static System.UInt32 Parse(string s, System.IFormatProvider provider) => throw null; public static System.UInt32 Parse(string s, System.Globalization.NumberStyles style) => throw null; public static System.UInt32 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.UInt32 PopCount(System.UInt32 value) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.UInt32 RotateLeft(System.UInt32 value, int rotateAmount) => throw null; + public static System.UInt32 RotateRight(System.UInt32 value, int rotateAmount) => throw null; + public static int Sign(System.UInt32 value) => throw null; bool System.IConvertible.ToBoolean(System.IFormatProvider provider) => throw null; System.Byte System.IConvertible.ToByte(System.IFormatProvider provider) => throw null; System.Char System.IConvertible.ToChar(System.IFormatProvider provider) => throw null; @@ -4818,30 +6515,121 @@ namespace System System.UInt16 System.IConvertible.ToUInt16(System.IFormatProvider provider) => throw null; System.UInt32 System.IConvertible.ToUInt32(System.IFormatProvider provider) => throw null; System.UInt64 System.IConvertible.ToUInt64(System.IFormatProvider provider) => throw null; + public static System.UInt32 TrailingZeroCount(System.UInt32 value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.UInt32 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.UInt32 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.UInt32 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.UInt32 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.UInt32 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.UInt32 value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.UInt32 result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt32 result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.UInt32 result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.UInt32 result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt32 result) => throw null; public static bool TryParse(string s, out System.UInt32 result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out System.UInt32 value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out System.UInt32 value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; // Stub generator skipped constructor + static System.UInt32 System.Numerics.INumberBase.Zero { get => throw null; } + static System.UInt32 System.Numerics.IBitwiseOperators.operator ^(System.UInt32 left, System.UInt32 right) => throw null; + static System.UInt32 System.Numerics.IMultiplyOperators.operator checked *(System.UInt32 left, System.UInt32 right) => throw null; + static System.UInt32 System.Numerics.IAdditionOperators.operator checked +(System.UInt32 left, System.UInt32 right) => throw null; + static System.UInt32 System.Numerics.IIncrementOperators.operator checked ++(System.UInt32 value) => throw null; + static System.UInt32 System.Numerics.IUnaryNegationOperators.operator checked -(System.UInt32 value) => throw null; + static System.UInt32 System.Numerics.ISubtractionOperators.operator checked -(System.UInt32 left, System.UInt32 right) => throw null; + static System.UInt32 System.Numerics.IDecrementOperators.operator checked --(System.UInt32 value) => throw null; + static System.UInt32 System.Numerics.IBitwiseOperators.operator |(System.UInt32 left, System.UInt32 right) => throw null; + static System.UInt32 System.Numerics.IBitwiseOperators.operator ~(System.UInt32 value) => throw null; } - // Generated from `System.UInt64` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct UInt64 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.ISpanFormattable + // Generated from `System.UInt64` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct UInt64 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { + static bool System.Numerics.IEqualityOperators.operator !=(System.UInt64 left, System.UInt64 right) => throw null; + static System.UInt64 System.Numerics.IModulusOperators.operator %(System.UInt64 left, System.UInt64 right) => throw null; + static System.UInt64 System.Numerics.IBitwiseOperators.operator &(System.UInt64 left, System.UInt64 right) => throw null; + static System.UInt64 System.Numerics.IMultiplyOperators.operator *(System.UInt64 left, System.UInt64 right) => throw null; + static System.UInt64 System.Numerics.IUnaryPlusOperators.operator +(System.UInt64 value) => throw null; + static System.UInt64 System.Numerics.IAdditionOperators.operator +(System.UInt64 left, System.UInt64 right) => throw null; + static System.UInt64 System.Numerics.IIncrementOperators.operator ++(System.UInt64 value) => throw null; + static System.UInt64 System.Numerics.IUnaryNegationOperators.operator -(System.UInt64 value) => throw null; + static System.UInt64 System.Numerics.ISubtractionOperators.operator -(System.UInt64 left, System.UInt64 right) => throw null; + static System.UInt64 System.Numerics.IDecrementOperators.operator --(System.UInt64 value) => throw null; + static System.UInt64 System.Numerics.IDivisionOperators.operator /(System.UInt64 left, System.UInt64 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.UInt64 left, System.UInt64 right) => throw null; + static System.UInt64 System.Numerics.IShiftOperators.operator <<(System.UInt64 value, int shiftAmount) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.UInt64 left, System.UInt64 right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.UInt64 left, System.UInt64 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.UInt64 left, System.UInt64 right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.UInt64 left, System.UInt64 right) => throw null; + static System.UInt64 System.Numerics.IShiftOperators.operator >>(System.UInt64 value, int shiftAmount) => throw null; + static System.UInt64 System.Numerics.IShiftOperators.operator >>>(System.UInt64 value, int shiftAmount) => throw null; + public static System.UInt64 Abs(System.UInt64 value) => throw null; + static System.UInt64 System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.UInt64 System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static System.UInt64 Clamp(System.UInt64 value, System.UInt64 min, System.UInt64 max) => throw null; public int CompareTo(object value) => throw null; public int CompareTo(System.UInt64 value) => throw null; + public static System.UInt64 CopySign(System.UInt64 value, System.UInt64 sign) => throw null; + static System.UInt64 System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.UInt64 System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.UInt64 System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + public static (System.UInt64, System.UInt64) DivRem(System.UInt64 left, System.UInt64 right) => throw null; public override bool Equals(object obj) => throw null; public bool Equals(System.UInt64 obj) => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; public override int GetHashCode() => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; public System.TypeCode GetTypeCode() => throw null; + public static bool IsCanonical(System.UInt64 value) => throw null; + public static bool IsComplexNumber(System.UInt64 value) => throw null; + public static bool IsEvenInteger(System.UInt64 value) => throw null; + public static bool IsFinite(System.UInt64 value) => throw null; + public static bool IsImaginaryNumber(System.UInt64 value) => throw null; + public static bool IsInfinity(System.UInt64 value) => throw null; + public static bool IsInteger(System.UInt64 value) => throw null; + public static bool IsNaN(System.UInt64 value) => throw null; + public static bool IsNegative(System.UInt64 value) => throw null; + public static bool IsNegativeInfinity(System.UInt64 value) => throw null; + public static bool IsNormal(System.UInt64 value) => throw null; + public static bool IsOddInteger(System.UInt64 value) => throw null; + public static bool IsPositive(System.UInt64 value) => throw null; + public static bool IsPositiveInfinity(System.UInt64 value) => throw null; + public static bool IsPow2(System.UInt64 value) => throw null; + public static bool IsRealNumber(System.UInt64 value) => throw null; + public static bool IsSubnormal(System.UInt64 value) => throw null; + public static bool IsZero(System.UInt64 value) => throw null; + public static System.UInt64 LeadingZeroCount(System.UInt64 value) => throw null; + public static System.UInt64 Log2(System.UInt64 value) => throw null; + public static System.UInt64 Max(System.UInt64 x, System.UInt64 y) => throw null; + public static System.UInt64 MaxMagnitude(System.UInt64 x, System.UInt64 y) => throw null; + public static System.UInt64 MaxMagnitudeNumber(System.UInt64 x, System.UInt64 y) => throw null; + public static System.UInt64 MaxNumber(System.UInt64 x, System.UInt64 y) => throw null; public const System.UInt64 MaxValue = default; + static System.UInt64 System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.UInt64 Min(System.UInt64 x, System.UInt64 y) => throw null; + public static System.UInt64 MinMagnitude(System.UInt64 x, System.UInt64 y) => throw null; + public static System.UInt64 MinMagnitudeNumber(System.UInt64 x, System.UInt64 y) => throw null; + public static System.UInt64 MinNumber(System.UInt64 x, System.UInt64 y) => throw null; public const System.UInt64 MinValue = default; + static System.UInt64 System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.UInt64 System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static System.UInt64 System.Numerics.INumberBase.One { get => throw null; } + public static System.UInt64 Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.UInt64 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static System.UInt64 Parse(string s) => throw null; public static System.UInt64 Parse(string s, System.IFormatProvider provider) => throw null; public static System.UInt64 Parse(string s, System.Globalization.NumberStyles style) => throw null; public static System.UInt64 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.UInt64 PopCount(System.UInt64 value) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.UInt64 RotateLeft(System.UInt64 value, int rotateAmount) => throw null; + public static System.UInt64 RotateRight(System.UInt64 value, int rotateAmount) => throw null; + public static int Sign(System.UInt64 value) => throw null; bool System.IConvertible.ToBoolean(System.IFormatProvider provider) => throw null; System.Byte System.IConvertible.ToByte(System.IFormatProvider provider) => throw null; System.Char System.IConvertible.ToChar(System.IFormatProvider provider) => throw null; @@ -4861,35 +6649,124 @@ namespace System System.UInt16 System.IConvertible.ToUInt16(System.IFormatProvider provider) => throw null; System.UInt32 System.IConvertible.ToUInt32(System.IFormatProvider provider) => throw null; System.UInt64 System.IConvertible.ToUInt64(System.IFormatProvider provider) => throw null; + public static System.UInt64 TrailingZeroCount(System.UInt64 value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.UInt64 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.UInt64 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.UInt64 result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.UInt64 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.UInt64 value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.UInt64 value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.UInt64 result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt64 result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.UInt64 result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.UInt64 result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt64 result) => throw null; public static bool TryParse(string s, out System.UInt64 result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out System.UInt64 value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out System.UInt64 value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; // Stub generator skipped constructor + static System.UInt64 System.Numerics.INumberBase.Zero { get => throw null; } + static System.UInt64 System.Numerics.IBitwiseOperators.operator ^(System.UInt64 left, System.UInt64 right) => throw null; + static System.UInt64 System.Numerics.IMultiplyOperators.operator checked *(System.UInt64 left, System.UInt64 right) => throw null; + static System.UInt64 System.Numerics.IAdditionOperators.operator checked +(System.UInt64 left, System.UInt64 right) => throw null; + static System.UInt64 System.Numerics.IIncrementOperators.operator checked ++(System.UInt64 value) => throw null; + static System.UInt64 System.Numerics.IUnaryNegationOperators.operator checked -(System.UInt64 value) => throw null; + static System.UInt64 System.Numerics.ISubtractionOperators.operator checked -(System.UInt64 left, System.UInt64 right) => throw null; + static System.UInt64 System.Numerics.IDecrementOperators.operator checked --(System.UInt64 value) => throw null; + static System.UInt64 System.Numerics.IBitwiseOperators.operator |(System.UInt64 left, System.UInt64 right) => throw null; + static System.UInt64 System.Numerics.IBitwiseOperators.operator ~(System.UInt64 value) => throw null; } - // Generated from `System.UIntPtr` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct UIntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.ISpanFormattable, System.Runtime.Serialization.ISerializable + // Generated from `System.UIntPtr` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct UIntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber, System.Runtime.Serialization.ISerializable { - public static bool operator !=(System.UIntPtr value1, System.UIntPtr value2) => throw null; + static bool System.Numerics.IEqualityOperators.operator !=(System.UIntPtr value1, System.UIntPtr value2) => throw null; + static System.UIntPtr System.Numerics.IModulusOperators.operator %(System.UIntPtr left, System.UIntPtr right) => throw null; + static System.UIntPtr System.Numerics.IBitwiseOperators.operator &(System.UIntPtr left, System.UIntPtr right) => throw null; + static System.UIntPtr System.Numerics.IMultiplyOperators.operator *(System.UIntPtr left, System.UIntPtr right) => throw null; + static System.UIntPtr System.Numerics.IUnaryPlusOperators.operator +(System.UIntPtr value) => throw null; + static System.UIntPtr System.Numerics.IAdditionOperators.operator +(System.UIntPtr left, System.UIntPtr right) => throw null; public static System.UIntPtr operator +(System.UIntPtr pointer, int offset) => throw null; + static System.UIntPtr System.Numerics.IIncrementOperators.operator ++(System.UIntPtr value) => throw null; + static System.UIntPtr System.Numerics.IUnaryNegationOperators.operator -(System.UIntPtr value) => throw null; + static System.UIntPtr System.Numerics.ISubtractionOperators.operator -(System.UIntPtr left, System.UIntPtr right) => throw null; public static System.UIntPtr operator -(System.UIntPtr pointer, int offset) => throw null; - public static bool operator ==(System.UIntPtr value1, System.UIntPtr value2) => throw null; + static System.UIntPtr System.Numerics.IDecrementOperators.operator --(System.UIntPtr value) => throw null; + static System.UIntPtr System.Numerics.IDivisionOperators.operator /(System.UIntPtr left, System.UIntPtr right) => throw null; + static bool System.Numerics.IComparisonOperators.operator <(System.UIntPtr left, System.UIntPtr right) => throw null; + static System.UIntPtr System.Numerics.IShiftOperators.operator <<(System.UIntPtr value, int shiftAmount) => throw null; + static bool System.Numerics.IComparisonOperators.operator <=(System.UIntPtr left, System.UIntPtr right) => throw null; + static bool System.Numerics.IEqualityOperators.operator ==(System.UIntPtr value1, System.UIntPtr value2) => throw null; + static bool System.Numerics.IComparisonOperators.operator >(System.UIntPtr left, System.UIntPtr right) => throw null; + static bool System.Numerics.IComparisonOperators.operator >=(System.UIntPtr left, System.UIntPtr right) => throw null; + static System.UIntPtr System.Numerics.IShiftOperators.operator >>(System.UIntPtr value, int shiftAmount) => throw null; + static System.UIntPtr System.Numerics.IShiftOperators.operator >>>(System.UIntPtr value, int shiftAmount) => throw null; + public static System.UIntPtr Abs(System.UIntPtr value) => throw null; public static System.UIntPtr Add(System.UIntPtr pointer, int offset) => throw null; + static System.UIntPtr System.Numerics.IAdditiveIdentity.AdditiveIdentity { get => throw null; } + static System.UIntPtr System.Numerics.IBinaryNumber.AllBitsSet { get => throw null; } + public static System.UIntPtr Clamp(System.UIntPtr value, System.UIntPtr min, System.UIntPtr max) => throw null; public int CompareTo(System.UIntPtr value) => throw null; public int CompareTo(object value) => throw null; + public static System.UIntPtr CopySign(System.UIntPtr value, System.UIntPtr sign) => throw null; + static System.UIntPtr System.Numerics.INumberBase.CreateChecked(TOther value) => throw null; + static System.UIntPtr System.Numerics.INumberBase.CreateSaturating(TOther value) => throw null; + static System.UIntPtr System.Numerics.INumberBase.CreateTruncating(TOther value) => throw null; + public static (System.UIntPtr, System.UIntPtr) DivRem(System.UIntPtr left, System.UIntPtr right) => throw null; public bool Equals(System.UIntPtr other) => throw null; public override bool Equals(object obj) => throw null; + int System.Numerics.IBinaryInteger.GetByteCount() => throw null; public override int GetHashCode() => throw null; void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + int System.Numerics.IBinaryInteger.GetShortestBitLength() => throw null; + public static bool IsCanonical(System.UIntPtr value) => throw null; + public static bool IsComplexNumber(System.UIntPtr value) => throw null; + public static bool IsEvenInteger(System.UIntPtr value) => throw null; + public static bool IsFinite(System.UIntPtr value) => throw null; + public static bool IsImaginaryNumber(System.UIntPtr value) => throw null; + public static bool IsInfinity(System.UIntPtr value) => throw null; + public static bool IsInteger(System.UIntPtr value) => throw null; + public static bool IsNaN(System.UIntPtr value) => throw null; + public static bool IsNegative(System.UIntPtr value) => throw null; + public static bool IsNegativeInfinity(System.UIntPtr value) => throw null; + public static bool IsNormal(System.UIntPtr value) => throw null; + public static bool IsOddInteger(System.UIntPtr value) => throw null; + public static bool IsPositive(System.UIntPtr value) => throw null; + public static bool IsPositiveInfinity(System.UIntPtr value) => throw null; + public static bool IsPow2(System.UIntPtr value) => throw null; + public static bool IsRealNumber(System.UIntPtr value) => throw null; + public static bool IsSubnormal(System.UIntPtr value) => throw null; + public static bool IsZero(System.UIntPtr value) => throw null; + public static System.UIntPtr LeadingZeroCount(System.UIntPtr value) => throw null; + public static System.UIntPtr Log2(System.UIntPtr value) => throw null; + public static System.UIntPtr Max(System.UIntPtr x, System.UIntPtr y) => throw null; + public static System.UIntPtr MaxMagnitude(System.UIntPtr x, System.UIntPtr y) => throw null; + public static System.UIntPtr MaxMagnitudeNumber(System.UIntPtr x, System.UIntPtr y) => throw null; + public static System.UIntPtr MaxNumber(System.UIntPtr x, System.UIntPtr y) => throw null; public static System.UIntPtr MaxValue { get => throw null; } + static System.UIntPtr System.Numerics.IMinMaxValue.MaxValue { get => throw null; } + public static System.UIntPtr Min(System.UIntPtr x, System.UIntPtr y) => throw null; + public static System.UIntPtr MinMagnitude(System.UIntPtr x, System.UIntPtr y) => throw null; + public static System.UIntPtr MinMagnitudeNumber(System.UIntPtr x, System.UIntPtr y) => throw null; + public static System.UIntPtr MinNumber(System.UIntPtr x, System.UIntPtr y) => throw null; public static System.UIntPtr MinValue { get => throw null; } + static System.UIntPtr System.Numerics.IMinMaxValue.MinValue { get => throw null; } + static System.UIntPtr System.Numerics.IMultiplicativeIdentity.MultiplicativeIdentity { get => throw null; } + static System.UIntPtr System.Numerics.INumberBase.One { get => throw null; } + public static System.UIntPtr Parse(System.ReadOnlySpan s, System.IFormatProvider provider) => throw null; public static System.UIntPtr Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = default(System.Globalization.NumberStyles), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; public static System.UIntPtr Parse(string s) => throw null; public static System.UIntPtr Parse(string s, System.IFormatProvider provider) => throw null; public static System.UIntPtr Parse(string s, System.Globalization.NumberStyles style) => throw null; public static System.UIntPtr Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) => throw null; + public static System.UIntPtr PopCount(System.UIntPtr value) => throw null; + static int System.Numerics.INumberBase.Radix { get => throw null; } + public static System.UIntPtr RotateLeft(System.UIntPtr value, int rotateAmount) => throw null; + public static System.UIntPtr RotateRight(System.UIntPtr value, int rotateAmount) => throw null; + public static int Sign(System.UIntPtr value) => throw null; public static int Size { get => throw null; } public static System.UIntPtr Subtract(System.UIntPtr pointer, int offset) => throw null; unsafe public void* ToPointer() => throw null; @@ -4899,25 +6776,48 @@ namespace System public string ToString(string format, System.IFormatProvider provider) => throw null; public System.UInt32 ToUInt32() => throw null; public System.UInt64 ToUInt64() => throw null; + public static System.UIntPtr TrailingZeroCount(System.UIntPtr value) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out System.UIntPtr result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out System.UIntPtr result) => throw null; + static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out System.UIntPtr result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToChecked(System.UIntPtr value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToSaturating(System.UIntPtr value, out TOther result) => throw null; + static bool System.Numerics.INumberBase.TryConvertToTruncating(System.UIntPtr value, out TOther result) => throw null; public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = default(System.IFormatProvider)) => throw null; + public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out System.UIntPtr result) => throw null; public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UIntPtr result) => throw null; public static bool TryParse(System.ReadOnlySpan s, out System.UIntPtr result) => throw null; + public static bool TryParse(string s, System.IFormatProvider provider, out System.UIntPtr result) => throw null; public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UIntPtr result) => throw null; public static bool TryParse(string s, out System.UIntPtr result) => throw null; + public static bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out System.UIntPtr value) => throw null; + public static bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out System.UIntPtr value) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteBigEndian(System.Span destination, out int bytesWritten) => throw null; + bool System.Numerics.IBinaryInteger.TryWriteLittleEndian(System.Span destination, out int bytesWritten) => throw null; // Stub generator skipped constructor unsafe public UIntPtr(void* value) => throw null; public UIntPtr(System.UInt32 value) => throw null; public UIntPtr(System.UInt64 value) => throw null; public static System.UIntPtr Zero; + static System.UIntPtr System.Numerics.INumberBase.Zero { get => throw null; } + static System.UIntPtr System.Numerics.IBitwiseOperators.operator ^(System.UIntPtr left, System.UIntPtr right) => throw null; + static System.UIntPtr System.Numerics.IMultiplyOperators.operator checked *(System.UIntPtr left, System.UIntPtr right) => throw null; + static System.UIntPtr System.Numerics.IAdditionOperators.operator checked +(System.UIntPtr left, System.UIntPtr right) => throw null; + static System.UIntPtr System.Numerics.IIncrementOperators.operator checked ++(System.UIntPtr value) => throw null; + static System.UIntPtr System.Numerics.IUnaryNegationOperators.operator checked -(System.UIntPtr value) => throw null; + static System.UIntPtr System.Numerics.ISubtractionOperators.operator checked -(System.UIntPtr left, System.UIntPtr right) => throw null; + static System.UIntPtr System.Numerics.IDecrementOperators.operator checked --(System.UIntPtr value) => throw null; public static explicit operator System.UInt32(System.UIntPtr value) => throw null; public static explicit operator System.UInt64(System.UIntPtr value) => throw null; unsafe public static explicit operator void*(System.UIntPtr value) => throw null; unsafe public static explicit operator System.UIntPtr(void* value) => throw null; public static explicit operator System.UIntPtr(System.UInt32 value) => throw null; public static explicit operator System.UIntPtr(System.UInt64 value) => throw null; + static System.UIntPtr System.Numerics.IBitwiseOperators.operator |(System.UIntPtr left, System.UIntPtr right) => throw null; + static System.UIntPtr System.Numerics.IBitwiseOperators.operator ~(System.UIntPtr value) => throw null; } - // Generated from `System.UnauthorizedAccessException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.UnauthorizedAccessException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnauthorizedAccessException : System.SystemException { public UnauthorizedAccessException() => throw null; @@ -4926,7 +6826,7 @@ namespace System public UnauthorizedAccessException(string message, System.Exception inner) => throw null; } - // Generated from `System.UnhandledExceptionEventArgs` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.UnhandledExceptionEventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnhandledExceptionEventArgs : System.EventArgs { public object ExceptionObject { get => throw null; } @@ -4934,10 +6834,10 @@ namespace System public UnhandledExceptionEventArgs(object exception, bool isTerminating) => throw null; } - // Generated from `System.UnhandledExceptionEventHandler` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.UnhandledExceptionEventHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void UnhandledExceptionEventHandler(object sender, System.UnhandledExceptionEventArgs e); - // Generated from `System.Uri` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Uri` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Uri : System.Runtime.Serialization.ISerializable { public static bool operator !=(System.Uri uri1, System.Uri uri2) => throw null; @@ -5027,7 +6927,7 @@ namespace System public string UserInfo { get => throw null; } } - // Generated from `System.UriBuilder` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.UriBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UriBuilder { public override bool Equals(object rparam) => throw null; @@ -5051,7 +6951,7 @@ namespace System public string UserName { get => throw null; set => throw null; } } - // Generated from `System.UriComponents` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.UriComponents` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum UriComponents : int { @@ -5074,14 +6974,14 @@ namespace System UserInfo = 2, } - // Generated from `System.UriCreationOptions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.UriCreationOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct UriCreationOptions { public bool DangerousDisablePathAndQueryCanonicalization { get => throw null; set => throw null; } // Stub generator skipped constructor } - // Generated from `System.UriFormat` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.UriFormat` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UriFormat : int { SafeUnescaped = 3, @@ -5089,7 +6989,7 @@ namespace System UriEscaped = 1, } - // Generated from `System.UriFormatException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.UriFormatException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UriFormatException : System.FormatException, System.Runtime.Serialization.ISerializable { void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -5099,7 +6999,7 @@ namespace System public UriFormatException(string textString, System.Exception e) => throw null; } - // Generated from `System.UriHostNameType` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.UriHostNameType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UriHostNameType : int { Basic = 1, @@ -5109,7 +7009,7 @@ namespace System Unknown = 0, } - // Generated from `System.UriKind` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.UriKind` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UriKind : int { Absolute = 1, @@ -5117,7 +7017,7 @@ namespace System RelativeOrAbsolute = 0, } - // Generated from `System.UriParser` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.UriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class UriParser { protected virtual string GetComponents(System.Uri uri, System.UriComponents components, System.UriFormat format) => throw null; @@ -5132,7 +7032,7 @@ namespace System protected UriParser() => throw null; } - // Generated from `System.UriPartial` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.UriPartial` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UriPartial : int { Authority = 1, @@ -5141,7 +7041,7 @@ namespace System Scheme = 0, } - // Generated from `System.ValueTuple` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ValueTuple` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable, System.IEquatable, System.Runtime.CompilerServices.ITuple { public int CompareTo(System.ValueTuple other) => throw null; @@ -5167,7 +7067,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.ValueTuple<,,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ValueTuple<,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple where TRest : struct { public int CompareTo(System.ValueTuple other) => throw null; @@ -5193,7 +7093,7 @@ namespace System public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, TRest rest) => throw null; } - // Generated from `System.ValueTuple<,,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ValueTuple<,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5, T6, T7)>, System.IEquatable<(T1, T2, T3, T4, T5, T6, T7)>, System.Runtime.CompilerServices.ITuple { public int CompareTo((T1, T2, T3, T4, T5, T6, T7) other) => throw null; @@ -5218,7 +7118,7 @@ namespace System public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7) => throw null; } - // Generated from `System.ValueTuple<,,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ValueTuple<,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5, T6)>, System.IEquatable<(T1, T2, T3, T4, T5, T6)>, System.Runtime.CompilerServices.ITuple { public int CompareTo((T1, T2, T3, T4, T5, T6) other) => throw null; @@ -5242,7 +7142,7 @@ namespace System public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6) => throw null; } - // Generated from `System.ValueTuple<,,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ValueTuple<,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5)>, System.IEquatable<(T1, T2, T3, T4, T5)>, System.Runtime.CompilerServices.ITuple { public int CompareTo((T1, T2, T3, T4, T5) other) => throw null; @@ -5265,7 +7165,7 @@ namespace System public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5) => throw null; } - // Generated from `System.ValueTuple<,,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ValueTuple<,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4)>, System.IEquatable<(T1, T2, T3, T4)>, System.Runtime.CompilerServices.ITuple { public int CompareTo((T1, T2, T3, T4) other) => throw null; @@ -5287,7 +7187,7 @@ namespace System public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4) => throw null; } - // Generated from `System.ValueTuple<,,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ValueTuple<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3)>, System.IEquatable<(T1, T2, T3)>, System.Runtime.CompilerServices.ITuple { public int CompareTo((T1, T2, T3) other) => throw null; @@ -5308,7 +7208,7 @@ namespace System public ValueTuple(T1 item1, T2 item2, T3 item3) => throw null; } - // Generated from `System.ValueTuple<,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ValueTuple<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2)>, System.IEquatable<(T1, T2)>, System.Runtime.CompilerServices.ITuple { public int CompareTo((T1, T2) other) => throw null; @@ -5328,7 +7228,7 @@ namespace System public ValueTuple(T1 item1, T2 item2) => throw null; } - // Generated from `System.ValueTuple<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ValueTuple<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple { public int CompareTo(System.ValueTuple other) => throw null; @@ -5347,7 +7247,7 @@ namespace System public ValueTuple(T1 item1) => throw null; } - // Generated from `System.ValueType` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ValueType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ValueType { public override bool Equals(object obj) => throw null; @@ -5356,7 +7256,7 @@ namespace System protected ValueType() => throw null; } - // Generated from `System.Version` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Version` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Version : System.ICloneable, System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.ISpanFormattable { public static bool operator !=(System.Version v1, System.Version v2) => throw null; @@ -5394,12 +7294,12 @@ namespace System public Version(string version) => throw null; } - // Generated from `System.Void` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Void` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Void { } - // Generated from `System.WeakReference` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.WeakReference` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WeakReference : System.Runtime.Serialization.ISerializable { public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -5412,7 +7312,7 @@ namespace System // ERR: Stub generator didn't handle member: ~WeakReference } - // Generated from `System.WeakReference<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.WeakReference<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WeakReference : System.Runtime.Serialization.ISerializable where T : class { public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -5425,7 +7325,7 @@ namespace System namespace Buffers { - // Generated from `System.Buffers.ArrayPool<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Buffers.ArrayPool<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ArrayPool { protected ArrayPool() => throw null; @@ -5436,20 +7336,20 @@ namespace System public static System.Buffers.ArrayPool Shared { get => throw null; } } - // Generated from `System.Buffers.IMemoryOwner<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Buffers.IMemoryOwner<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IMemoryOwner : System.IDisposable { System.Memory Memory { get; } } - // Generated from `System.Buffers.IPinnable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Buffers.IPinnable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IPinnable { System.Buffers.MemoryHandle Pin(int elementIndex); void Unpin(); } - // Generated from `System.Buffers.MemoryHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Buffers.MemoryHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MemoryHandle : System.IDisposable { public void Dispose() => throw null; @@ -5458,7 +7358,7 @@ namespace System unsafe public void* Pointer { get => throw null; } } - // Generated from `System.Buffers.MemoryManager<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Buffers.MemoryManager<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MemoryManager : System.Buffers.IMemoryOwner, System.Buffers.IPinnable, System.IDisposable { protected System.Memory CreateMemory(int length) => throw null; @@ -5473,7 +7373,7 @@ namespace System public abstract void Unpin(); } - // Generated from `System.Buffers.OperationStatus` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Buffers.OperationStatus` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OperationStatus : int { DestinationTooSmall = 1, @@ -5482,18 +7382,32 @@ namespace System NeedMoreData = 2, } - // Generated from `System.Buffers.ReadOnlySpanAction<,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Buffers.ReadOnlySpanAction<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ReadOnlySpanAction(System.ReadOnlySpan span, TArg arg); - // Generated from `System.Buffers.SpanAction<,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Buffers.SpanAction<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void SpanAction(System.Span span, TArg arg); + namespace Text + { + // Generated from `System.Buffers.Text.Base64` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class Base64 + { + public static System.Buffers.OperationStatus DecodeFromUtf8(System.ReadOnlySpan utf8, System.Span bytes, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = default(bool)) => throw null; + public static System.Buffers.OperationStatus DecodeFromUtf8InPlace(System.Span buffer, out int bytesWritten) => throw null; + public static System.Buffers.OperationStatus EncodeToUtf8(System.ReadOnlySpan bytes, System.Span utf8, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = default(bool)) => throw null; + public static System.Buffers.OperationStatus EncodeToUtf8InPlace(System.Span buffer, int dataLength, out int bytesWritten) => throw null; + public static int GetMaxDecodedFromUtf8Length(int length) => throw null; + public static int GetMaxEncodedToUtf8Length(int length) => throw null; + } + + } } namespace CodeDom { namespace Compiler { - // Generated from `System.CodeDom.Compiler.GeneratedCodeAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.CodeDom.Compiler.GeneratedCodeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GeneratedCodeAttribute : System.Attribute { public GeneratedCodeAttribute(string tool, string version) => throw null; @@ -5501,7 +7415,7 @@ namespace System public string Version { get => throw null; } } - // Generated from `System.CodeDom.Compiler.IndentedTextWriter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.CodeDom.Compiler.IndentedTextWriter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IndentedTextWriter : System.IO.TextWriter { public override void Close() => throw null; @@ -5564,7 +7478,7 @@ namespace System } namespace Collections { - // Generated from `System.Collections.ArrayList` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.ArrayList` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArrayList : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ICloneable { public static System.Collections.ArrayList Adapter(System.Collections.IList list) => throw null; @@ -5621,7 +7535,7 @@ namespace System public virtual void TrimToSize() => throw null; } - // Generated from `System.Collections.Comparer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Comparer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Comparer : System.Collections.IComparer, System.Runtime.Serialization.ISerializable { public int Compare(object a, object b) => throw null; @@ -5631,7 +7545,7 @@ namespace System public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; } - // Generated from `System.Collections.DictionaryEntry` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.DictionaryEntry` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DictionaryEntry { public void Deconstruct(out object key, out object value) => throw null; @@ -5641,7 +7555,7 @@ namespace System public object Value { get => throw null; set => throw null; } } - // Generated from `System.Collections.Hashtable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Hashtable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Hashtable : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.ICloneable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public virtual void Add(object key, object value) => throw null; @@ -5688,7 +7602,7 @@ namespace System protected System.Collections.IHashCodeProvider hcp { get => throw null; set => throw null; } } - // Generated from `System.Collections.ICollection` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.ICollection` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICollection : System.Collections.IEnumerable { void CopyTo(System.Array array, int index); @@ -5697,13 +7611,13 @@ namespace System object SyncRoot { get; } } - // Generated from `System.Collections.IComparer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.IComparer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComparer { int Compare(object x, object y); } - // Generated from `System.Collections.IDictionary` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.IDictionary` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDictionary : System.Collections.ICollection, System.Collections.IEnumerable { void Add(object key, object value); @@ -5718,7 +7632,7 @@ namespace System System.Collections.ICollection Values { get; } } - // Generated from `System.Collections.IDictionaryEnumerator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.IDictionaryEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDictionaryEnumerator : System.Collections.IEnumerator { System.Collections.DictionaryEntry Entry { get; } @@ -5726,13 +7640,13 @@ namespace System object Value { get; } } - // Generated from `System.Collections.IEnumerable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.IEnumerable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumerable { System.Collections.IEnumerator GetEnumerator(); } - // Generated from `System.Collections.IEnumerator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.IEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumerator { object Current { get; } @@ -5740,20 +7654,20 @@ namespace System void Reset(); } - // Generated from `System.Collections.IEqualityComparer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.IEqualityComparer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEqualityComparer { bool Equals(object x, object y); int GetHashCode(object obj); } - // Generated from `System.Collections.IHashCodeProvider` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.IHashCodeProvider` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IHashCodeProvider { int GetHashCode(object obj); } - // Generated from `System.Collections.IList` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.IList` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IList : System.Collections.ICollection, System.Collections.IEnumerable { int Add(object value); @@ -5768,13 +7682,13 @@ namespace System void RemoveAt(int index); } - // Generated from `System.Collections.IStructuralComparable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.IStructuralComparable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IStructuralComparable { int CompareTo(object other, System.Collections.IComparer comparer); } - // Generated from `System.Collections.IStructuralEquatable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.IStructuralEquatable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IStructuralEquatable { bool Equals(object other, System.Collections.IEqualityComparer comparer); @@ -5783,20 +7697,20 @@ namespace System namespace Generic { - // Generated from `System.Collections.Generic.IAsyncEnumerable<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.IAsyncEnumerable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAsyncEnumerable { System.Collections.Generic.IAsyncEnumerator GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `System.Collections.Generic.IAsyncEnumerator<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.IAsyncEnumerator<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAsyncEnumerator : System.IAsyncDisposable { T Current { get; } System.Threading.Tasks.ValueTask MoveNextAsync(); } - // Generated from `System.Collections.Generic.ICollection<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.ICollection<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICollection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { void Add(T item); @@ -5808,13 +7722,13 @@ namespace System bool Remove(T item); } - // Generated from `System.Collections.Generic.IComparer<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.IComparer<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComparer { int Compare(T x, T y); } - // Generated from `System.Collections.Generic.IDictionary<,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.IDictionary<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { void Add(TKey key, TValue value); @@ -5826,26 +7740,26 @@ namespace System System.Collections.Generic.ICollection Values { get; } } - // Generated from `System.Collections.Generic.IEnumerable<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.IEnumerable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumerable : System.Collections.IEnumerable { System.Collections.Generic.IEnumerator GetEnumerator(); } - // Generated from `System.Collections.Generic.IEnumerator<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.IEnumerator<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumerator : System.Collections.IEnumerator, System.IDisposable { T Current { get; } } - // Generated from `System.Collections.Generic.IEqualityComparer<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.IEqualityComparer<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEqualityComparer { bool Equals(T x, T y); int GetHashCode(T obj); } - // Generated from `System.Collections.Generic.IList<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.IList<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IList : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { int IndexOf(T item); @@ -5854,13 +7768,13 @@ namespace System void RemoveAt(int index); } - // Generated from `System.Collections.Generic.IReadOnlyCollection<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.IReadOnlyCollection<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReadOnlyCollection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { int Count { get; } } - // Generated from `System.Collections.Generic.IReadOnlyDictionary<,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.IReadOnlyDictionary<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReadOnlyDictionary : System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.IEnumerable { bool ContainsKey(TKey key); @@ -5870,13 +7784,13 @@ namespace System System.Collections.Generic.IEnumerable Values { get; } } - // Generated from `System.Collections.Generic.IReadOnlyList<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.IReadOnlyList<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReadOnlyList : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { T this[int index] { get; } } - // Generated from `System.Collections.Generic.IReadOnlySet<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.IReadOnlySet<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReadOnlySet : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { bool Contains(T item); @@ -5888,7 +7802,7 @@ namespace System bool SetEquals(System.Collections.Generic.IEnumerable other); } - // Generated from `System.Collections.Generic.ISet<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.ISet<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISet : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { bool Add(T item); @@ -5904,7 +7818,7 @@ namespace System void UnionWith(System.Collections.Generic.IEnumerable other); } - // Generated from `System.Collections.Generic.KeyNotFoundException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.KeyNotFoundException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KeyNotFoundException : System.SystemException { public KeyNotFoundException() => throw null; @@ -5913,13 +7827,13 @@ namespace System public KeyNotFoundException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Collections.Generic.KeyValuePair` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.KeyValuePair` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class KeyValuePair { public static System.Collections.Generic.KeyValuePair Create(TKey key, TValue value) => throw null; } - // Generated from `System.Collections.Generic.KeyValuePair<,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.Generic.KeyValuePair<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct KeyValuePair { public void Deconstruct(out TKey key, out TValue value) => throw null; @@ -5933,7 +7847,7 @@ namespace System } namespace ObjectModel { - // Generated from `System.Collections.ObjectModel.Collection<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.ObjectModel.Collection<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Collection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public void Add(T item) => throw null; @@ -5969,7 +7883,7 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Collections.ObjectModel.ReadOnlyCollection<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Collections.ObjectModel.ReadOnlyCollection<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReadOnlyCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { void System.Collections.Generic.ICollection.Add(T value) => throw null; @@ -6003,11 +7917,88 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } + // Generated from `System.Collections.ObjectModel.ReadOnlyDictionary<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class ReadOnlyDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable + { + // Generated from `System.Collections.ObjectModel.ReadOnlyDictionary<,>+KeyCollection` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class KeyCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable + { + void System.Collections.Generic.ICollection.Add(TKey item) => throw null; + void System.Collections.Generic.ICollection.Clear() => throw null; + bool System.Collections.Generic.ICollection.Contains(TKey item) => throw null; + void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; + public void CopyTo(TKey[] array, int arrayIndex) => throw null; + public int Count { get => throw null; } + public System.Collections.Generic.IEnumerator GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + bool System.Collections.Generic.ICollection.IsReadOnly { get => throw null; } + bool System.Collections.ICollection.IsSynchronized { get => throw null; } + bool System.Collections.Generic.ICollection.Remove(TKey item) => throw null; + object System.Collections.ICollection.SyncRoot { get => throw null; } + } + + + // Generated from `System.Collections.ObjectModel.ReadOnlyDictionary<,>+ValueCollection` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class ValueCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable + { + void System.Collections.Generic.ICollection.Add(TValue item) => throw null; + void System.Collections.Generic.ICollection.Clear() => throw null; + bool System.Collections.Generic.ICollection.Contains(TValue item) => throw null; + void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; + public void CopyTo(TValue[] array, int arrayIndex) => throw null; + public int Count { get => throw null; } + public System.Collections.Generic.IEnumerator GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + bool System.Collections.Generic.ICollection.IsReadOnly { get => throw null; } + bool System.Collections.ICollection.IsSynchronized { get => throw null; } + bool System.Collections.Generic.ICollection.Remove(TValue item) => throw null; + object System.Collections.ICollection.SyncRoot { get => throw null; } + } + + + void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair item) => throw null; + void System.Collections.Generic.IDictionary.Add(TKey key, TValue value) => throw null; + void System.Collections.IDictionary.Add(object key, object value) => throw null; + void System.Collections.Generic.ICollection>.Clear() => throw null; + void System.Collections.IDictionary.Clear() => throw null; + bool System.Collections.Generic.ICollection>.Contains(System.Collections.Generic.KeyValuePair item) => throw null; + bool System.Collections.IDictionary.Contains(object key) => throw null; + public bool ContainsKey(TKey key) => throw null; + void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; + void System.Collections.Generic.ICollection>.CopyTo(System.Collections.Generic.KeyValuePair[] array, int arrayIndex) => throw null; + public int Count { get => throw null; } + protected System.Collections.Generic.IDictionary Dictionary { get => throw null; } + public System.Collections.Generic.IEnumerator> GetEnumerator() => throw null; + System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + bool System.Collections.IDictionary.IsFixedSize { get => throw null; } + bool System.Collections.Generic.ICollection>.IsReadOnly { get => throw null; } + bool System.Collections.IDictionary.IsReadOnly { get => throw null; } + bool System.Collections.ICollection.IsSynchronized { get => throw null; } + public TValue this[TKey key] { get => throw null; } + TValue System.Collections.Generic.IDictionary.this[TKey key] { get => throw null; set => throw null; } + object System.Collections.IDictionary.this[object key] { get => throw null; set => throw null; } + public System.Collections.ObjectModel.ReadOnlyDictionary.KeyCollection Keys { get => throw null; } + System.Collections.Generic.ICollection System.Collections.Generic.IDictionary.Keys { get => throw null; } + System.Collections.Generic.IEnumerable System.Collections.Generic.IReadOnlyDictionary.Keys { get => throw null; } + System.Collections.ICollection System.Collections.IDictionary.Keys { get => throw null; } + public ReadOnlyDictionary(System.Collections.Generic.IDictionary dictionary) => throw null; + bool System.Collections.Generic.ICollection>.Remove(System.Collections.Generic.KeyValuePair item) => throw null; + bool System.Collections.Generic.IDictionary.Remove(TKey key) => throw null; + void System.Collections.IDictionary.Remove(object key) => throw null; + object System.Collections.ICollection.SyncRoot { get => throw null; } + public bool TryGetValue(TKey key, out TValue value) => throw null; + public System.Collections.ObjectModel.ReadOnlyDictionary.ValueCollection Values { get => throw null; } + System.Collections.Generic.ICollection System.Collections.Generic.IDictionary.Values { get => throw null; } + System.Collections.Generic.IEnumerable System.Collections.Generic.IReadOnlyDictionary.Values { get => throw null; } + System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } + } + } } namespace ComponentModel { - // Generated from `System.ComponentModel.DefaultValueAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.DefaultValueAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultValueAttribute : System.Attribute { public DefaultValueAttribute(System.Type type, string value) => throw null; @@ -6031,7 +8022,7 @@ namespace System public virtual object Value { get => throw null; } } - // Generated from `System.ComponentModel.EditorBrowsableAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.EditorBrowsableAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EditorBrowsableAttribute : System.Attribute { public EditorBrowsableAttribute() => throw null; @@ -6041,7 +8032,7 @@ namespace System public System.ComponentModel.EditorBrowsableState State { get => throw null; } } - // Generated from `System.ComponentModel.EditorBrowsableState` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.ComponentModel.EditorBrowsableState` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EditorBrowsableState : int { Advanced = 2, @@ -6054,7 +8045,7 @@ namespace System { namespace Assemblies { - // Generated from `System.Configuration.Assemblies.AssemblyHashAlgorithm` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Configuration.Assemblies.AssemblyHashAlgorithm` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AssemblyHashAlgorithm : int { MD5 = 32771, @@ -6065,7 +8056,7 @@ namespace System SHA512 = 32782, } - // Generated from `System.Configuration.Assemblies.AssemblyVersionCompatibility` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Configuration.Assemblies.AssemblyVersionCompatibility` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AssemblyVersionCompatibility : int { SameDomain = 3, @@ -6077,17 +8068,17 @@ namespace System } namespace Diagnostics { - // Generated from `System.Diagnostics.ConditionalAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.ConditionalAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConditionalAttribute : System.Attribute { public string ConditionString { get => throw null; } public ConditionalAttribute(string conditionString) => throw null; } - // Generated from `System.Diagnostics.Debug` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Debug` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Debug { - // Generated from `System.Diagnostics.Debug+AssertInterpolatedStringHandler` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Debug+AssertInterpolatedStringHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssertInterpolatedStringHandler { public void AppendFormatted(System.ReadOnlySpan value) => throw null; @@ -6105,7 +8096,7 @@ namespace System } - // Generated from `System.Diagnostics.Debug+WriteIfInterpolatedStringHandler` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Debug+WriteIfInterpolatedStringHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct WriteIfInterpolatedStringHandler { public void AppendFormatted(System.ReadOnlySpan value) => throw null; @@ -6163,10 +8154,10 @@ namespace System public static void WriteLineIf(bool condition, string message, string category) => throw null; } - // Generated from `System.Diagnostics.DebuggableAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DebuggableAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggableAttribute : System.Attribute { - // Generated from `System.Diagnostics.DebuggableAttribute+DebuggingModes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DebuggableAttribute+DebuggingModes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DebuggingModes : int { @@ -6185,7 +8176,7 @@ namespace System public bool IsJITTrackingEnabled { get => throw null; } } - // Generated from `System.Diagnostics.Debugger` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Debugger` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Debugger { public static void Break() => throw null; @@ -6197,14 +8188,14 @@ namespace System public static void NotifyOfCrossThreadDependency() => throw null; } - // Generated from `System.Diagnostics.DebuggerBrowsableAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DebuggerBrowsableAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerBrowsableAttribute : System.Attribute { public DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState state) => throw null; public System.Diagnostics.DebuggerBrowsableState State { get => throw null; } } - // Generated from `System.Diagnostics.DebuggerBrowsableState` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DebuggerBrowsableState` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DebuggerBrowsableState : int { Collapsed = 2, @@ -6212,7 +8203,7 @@ namespace System RootHidden = 3, } - // Generated from `System.Diagnostics.DebuggerDisplayAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DebuggerDisplayAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerDisplayAttribute : System.Attribute { public DebuggerDisplayAttribute(string value) => throw null; @@ -6223,31 +8214,31 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Diagnostics.DebuggerHiddenAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DebuggerHiddenAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerHiddenAttribute : System.Attribute { public DebuggerHiddenAttribute() => throw null; } - // Generated from `System.Diagnostics.DebuggerNonUserCodeAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DebuggerNonUserCodeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerNonUserCodeAttribute : System.Attribute { public DebuggerNonUserCodeAttribute() => throw null; } - // Generated from `System.Diagnostics.DebuggerStepThroughAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DebuggerStepThroughAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerStepThroughAttribute : System.Attribute { public DebuggerStepThroughAttribute() => throw null; } - // Generated from `System.Diagnostics.DebuggerStepperBoundaryAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DebuggerStepperBoundaryAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerStepperBoundaryAttribute : System.Attribute { public DebuggerStepperBoundaryAttribute() => throw null; } - // Generated from `System.Diagnostics.DebuggerTypeProxyAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DebuggerTypeProxyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerTypeProxyAttribute : System.Attribute { public DebuggerTypeProxyAttribute(System.Type type) => throw null; @@ -6257,7 +8248,7 @@ namespace System public string TargetTypeName { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.DebuggerVisualizerAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.DebuggerVisualizerAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerVisualizerAttribute : System.Attribute { public DebuggerVisualizerAttribute(System.Type visualizer) => throw null; @@ -6273,19 +8264,21 @@ namespace System public string VisualizerTypeName { get => throw null; } } - // Generated from `System.Diagnostics.StackTraceHiddenAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.StackTraceHiddenAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StackTraceHiddenAttribute : System.Attribute { public StackTraceHiddenAttribute() => throw null; } - // Generated from `System.Diagnostics.Stopwatch` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.Stopwatch` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Stopwatch { public System.TimeSpan Elapsed { get => throw null; } public System.Int64 ElapsedMilliseconds { get => throw null; } public System.Int64 ElapsedTicks { get => throw null; } public static System.Int64 Frequency; + public static System.TimeSpan GetElapsedTime(System.Int64 startingTimestamp) => throw null; + public static System.TimeSpan GetElapsedTime(System.Int64 startingTimestamp, System.Int64 endingTimestamp) => throw null; public static System.Int64 GetTimestamp() => throw null; public static bool IsHighResolution; public bool IsRunning { get => throw null; } @@ -6297,34 +8290,50 @@ namespace System public Stopwatch() => throw null; } + // Generated from `System.Diagnostics.UnreachableException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class UnreachableException : System.Exception + { + public UnreachableException() => throw null; + public UnreachableException(string message) => throw null; + public UnreachableException(string message, System.Exception innerException) => throw null; + } + namespace CodeAnalysis { - // Generated from `System.Diagnostics.CodeAnalysis.AllowNullAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class AllowNullAttribute : System.Attribute + // Generated from `System.Diagnostics.CodeAnalysis.AllowNullAttribute` in `Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed; System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public partial class AllowNullAttribute : System.Attribute { public AllowNullAttribute() => throw null; } - // Generated from `System.Diagnostics.CodeAnalysis.DisallowNullAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.CodeAnalysis.ConstantExpectedAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class ConstantExpectedAttribute : System.Attribute + { + public ConstantExpectedAttribute() => throw null; + public object Max { get => throw null; set => throw null; } + public object Min { get => throw null; set => throw null; } + } + + // Generated from `System.Diagnostics.CodeAnalysis.DisallowNullAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DisallowNullAttribute : System.Attribute { public DisallowNullAttribute() => throw null; } - // Generated from `System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DoesNotReturnAttribute : System.Attribute { public DoesNotReturnAttribute() => throw null; } - // Generated from `System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class DoesNotReturnIfAttribute : System.Attribute + // Generated from `System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute` in `Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed; System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public partial class DoesNotReturnIfAttribute : System.Attribute { public DoesNotReturnIfAttribute(bool parameterValue) => throw null; public bool ParameterValue { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicDependencyAttribute : System.Attribute { public string AssemblyName { get => throw null; } @@ -6340,7 +8349,7 @@ namespace System public string TypeName { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes` in `Microsoft.Extensions.Configuration.Binder, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Logging.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Options.ConfigurationExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Options.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DynamicallyAccessedMemberTypes : int { @@ -6362,43 +8371,43 @@ namespace System PublicProperties = 512, } - // Generated from `System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute` in `Microsoft.Extensions.Configuration.Binder, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Hosting.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Logging.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Options.ConfigurationExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Options.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public partial class DynamicallyAccessedMembersAttribute : System.Attribute + // Generated from `System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class DynamicallyAccessedMembersAttribute : System.Attribute { public DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes memberTypes) => throw null; public System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes MemberTypes { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExcludeFromCodeCoverageAttribute : System.Attribute { public ExcludeFromCodeCoverageAttribute() => throw null; public string Justification { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.MaybeNullAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class MaybeNullAttribute : System.Attribute + // Generated from `System.Diagnostics.CodeAnalysis.MaybeNullAttribute` in `Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed; System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public partial class MaybeNullAttribute : System.Attribute { public MaybeNullAttribute() => throw null; } - // Generated from `System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MaybeNullWhenAttribute : System.Attribute { public MaybeNullWhenAttribute(bool returnValue) => throw null; public bool ReturnValue { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.MemberNotNullAttribute` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public partial class MemberNotNullAttribute : System.Attribute + // Generated from `System.Diagnostics.CodeAnalysis.MemberNotNullAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class MemberNotNullAttribute : System.Attribute { public MemberNotNullAttribute(params string[] members) => throw null; public MemberNotNullAttribute(string member) => throw null; public string[] Members { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public partial class MemberNotNullWhenAttribute : System.Attribute + // Generated from `System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class MemberNotNullWhenAttribute : System.Attribute { public MemberNotNullWhenAttribute(bool returnValue, params string[] members) => throw null; public MemberNotNullWhenAttribute(bool returnValue, string member) => throw null; @@ -6406,27 +8415,27 @@ namespace System public bool ReturnValue { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.NotNullAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class NotNullAttribute : System.Attribute + // Generated from `System.Diagnostics.CodeAnalysis.NotNullAttribute` in `Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed; System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public partial class NotNullAttribute : System.Attribute { public NotNullAttribute() => throw null; } - // Generated from `System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotNullIfNotNullAttribute : System.Attribute { public NotNullIfNotNullAttribute(string parameterName) => throw null; public string ParameterName { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.NotNullWhenAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class NotNullWhenAttribute : System.Attribute + // Generated from `System.Diagnostics.CodeAnalysis.NotNullWhenAttribute` in `Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed; System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public partial class NotNullWhenAttribute : System.Attribute { public NotNullWhenAttribute(bool returnValue) => throw null; public bool ReturnValue { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RequiresAssemblyFilesAttribute : System.Attribute { public string Message { get => throw null; } @@ -6435,15 +8444,50 @@ namespace System public string Url { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute` in `Microsoft.Extensions.Configuration.Binder, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Logging.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Options.ConfigurationExtensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Options.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public partial class RequiresUnreferencedCodeAttribute : System.Attribute + // Generated from `System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RequiresDynamicCodeAttribute : System.Attribute + { + public string Message { get => throw null; } + public RequiresDynamicCodeAttribute(string message) => throw null; + public string Url { get => throw null; set => throw null; } + } + + // Generated from `System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RequiresUnreferencedCodeAttribute : System.Attribute { public string Message { get => throw null; } public RequiresUnreferencedCodeAttribute(string message) => throw null; public string Url { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.SuppressMessageAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.CodeAnalysis.SetsRequiredMembersAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SetsRequiredMembersAttribute : System.Attribute + { + public SetsRequiredMembersAttribute() => throw null; + } + + // Generated from `System.Diagnostics.CodeAnalysis.StringSyntaxAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class StringSyntaxAttribute : System.Attribute + { + public object[] Arguments { get => throw null; } + public const string CompositeFormat = default; + public const string DateOnlyFormat = default; + public const string DateTimeFormat = default; + public const string EnumFormat = default; + public const string GuidFormat = default; + public const string Json = default; + public const string NumericFormat = default; + public const string Regex = default; + public StringSyntaxAttribute(string syntax) => throw null; + public StringSyntaxAttribute(string syntax, params object[] arguments) => throw null; + public string Syntax { get => throw null; } + public const string TimeOnlyFormat = default; + public const string TimeSpanFormat = default; + public const string Uri = default; + public const string Xml = default; + } + + // Generated from `System.Diagnostics.CodeAnalysis.SuppressMessageAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SuppressMessageAttribute : System.Attribute { public string Category { get => throw null; } @@ -6455,7 +8499,7 @@ namespace System public string Target { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnconditionalSuppressMessageAttribute : System.Attribute { public string Category { get => throw null; } @@ -6467,11 +8511,17 @@ namespace System public UnconditionalSuppressMessageAttribute(string category, string checkId) => throw null; } + // Generated from `System.Diagnostics.CodeAnalysis.UnscopedRefAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class UnscopedRefAttribute : System.Attribute + { + public UnscopedRefAttribute() => throw null; + } + } } namespace Globalization { - // Generated from `System.Globalization.Calendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.Calendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Calendar : System.ICloneable { public virtual System.DateTime AddDays(System.DateTime time, int days) => throw null; @@ -6523,7 +8573,7 @@ namespace System public virtual int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.CalendarAlgorithmType` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.CalendarAlgorithmType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CalendarAlgorithmType : int { LunarCalendar = 2, @@ -6532,7 +8582,7 @@ namespace System Unknown = 0, } - // Generated from `System.Globalization.CalendarWeekRule` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.CalendarWeekRule` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CalendarWeekRule : int { FirstDay = 0, @@ -6540,7 +8590,7 @@ namespace System FirstFullWeek = 1, } - // Generated from `System.Globalization.CharUnicodeInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.CharUnicodeInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CharUnicodeInfo { public static int GetDecimalDigitValue(System.Char ch) => throw null; @@ -6554,7 +8604,7 @@ namespace System public static System.Globalization.UnicodeCategory GetUnicodeCategory(string s, int index) => throw null; } - // Generated from `System.Globalization.ChineseLunisolarCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.ChineseLunisolarCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ChineseLunisolarCalendar : System.Globalization.EastAsianLunisolarCalendar { public const int ChineseEra = default; @@ -6566,7 +8616,7 @@ namespace System public override System.DateTime MinSupportedDateTime { get => throw null; } } - // Generated from `System.Globalization.CompareInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.CompareInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompareInfo : System.Runtime.Serialization.IDeserializationCallback { public int Compare(System.ReadOnlySpan string1, System.ReadOnlySpan string2, System.Globalization.CompareOptions options = default(System.Globalization.CompareOptions)) => throw null; @@ -6637,7 +8687,7 @@ namespace System public System.Globalization.SortVersion Version { get => throw null; } } - // Generated from `System.Globalization.CompareOptions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.CompareOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CompareOptions : int { @@ -6652,7 +8702,7 @@ namespace System StringSort = 536870912, } - // Generated from `System.Globalization.CultureInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.CultureInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CultureInfo : System.ICloneable, System.IFormatProvider { public virtual System.Globalization.Calendar Calendar { get => throw null; } @@ -6703,7 +8753,7 @@ namespace System public bool UseUserOverride { get => throw null; } } - // Generated from `System.Globalization.CultureNotFoundException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.CultureNotFoundException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CultureNotFoundException : System.ArgumentException { public CultureNotFoundException() => throw null; @@ -6721,7 +8771,7 @@ namespace System public override string Message { get => throw null; } } - // Generated from `System.Globalization.CultureTypes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.CultureTypes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CultureTypes : int { @@ -6735,7 +8785,7 @@ namespace System WindowsOnlyCultures = 32, } - // Generated from `System.Globalization.DateTimeFormatInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.DateTimeFormatInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateTimeFormatInfo : System.ICloneable, System.IFormatProvider { public string AMDesignator { get => throw null; set => throw null; } @@ -6784,7 +8834,7 @@ namespace System public string YearMonthPattern { get => throw null; set => throw null; } } - // Generated from `System.Globalization.DateTimeStyles` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.DateTimeStyles` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DateTimeStyles : int { @@ -6800,7 +8850,7 @@ namespace System RoundtripKind = 128, } - // Generated from `System.Globalization.DaylightTime` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.DaylightTime` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DaylightTime { public DaylightTime(System.DateTime start, System.DateTime end, System.TimeSpan delta) => throw null; @@ -6809,7 +8859,7 @@ namespace System public System.DateTime Start { get => throw null; } } - // Generated from `System.Globalization.DigitShapes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.DigitShapes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DigitShapes : int { Context = 0, @@ -6817,7 +8867,7 @@ namespace System None = 1, } - // Generated from `System.Globalization.EastAsianLunisolarCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.EastAsianLunisolarCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EastAsianLunisolarCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -6844,13 +8894,13 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.GlobalizationExtensions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.GlobalizationExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class GlobalizationExtensions { public static System.StringComparer GetStringComparer(this System.Globalization.CompareInfo compareInfo, System.Globalization.CompareOptions options) => throw null; } - // Generated from `System.Globalization.GregorianCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.GregorianCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GregorianCalendar : System.Globalization.Calendar { public const int ADEra = default; @@ -6881,7 +8931,7 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.GregorianCalendarTypes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.GregorianCalendarTypes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GregorianCalendarTypes : int { Arabic = 10, @@ -6892,7 +8942,7 @@ namespace System USEnglish = 2, } - // Generated from `System.Globalization.HebrewCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.HebrewCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HebrewCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -6921,7 +8971,7 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.HijriCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.HijriCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HijriCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -6952,7 +9002,7 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.ISOWeek` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.ISOWeek` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ISOWeek { public static int GetWeekOfYear(System.DateTime date) => throw null; @@ -6963,7 +9013,7 @@ namespace System public static System.DateTime ToDateTime(int year, int week, System.DayOfWeek dayOfWeek) => throw null; } - // Generated from `System.Globalization.IdnMapping` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.IdnMapping` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IdnMapping { public bool AllowUnassigned { get => throw null; set => throw null; } @@ -6979,7 +9029,7 @@ namespace System public bool UseStd3AsciiRules { get => throw null; set => throw null; } } - // Generated from `System.Globalization.JapaneseCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.JapaneseCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JapaneseCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -7008,7 +9058,7 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.JapaneseLunisolarCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.JapaneseLunisolarCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JapaneseLunisolarCalendar : System.Globalization.EastAsianLunisolarCalendar { protected override int DaysInYearBeforeMinSupportedYear { get => throw null; } @@ -7020,7 +9070,7 @@ namespace System public override System.DateTime MinSupportedDateTime { get => throw null; } } - // Generated from `System.Globalization.JulianCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.JulianCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JulianCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -7049,7 +9099,7 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.KoreanCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.KoreanCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KoreanCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -7079,7 +9129,7 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.KoreanLunisolarCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.KoreanLunisolarCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KoreanLunisolarCalendar : System.Globalization.EastAsianLunisolarCalendar { protected override int DaysInYearBeforeMinSupportedYear { get => throw null; } @@ -7091,7 +9141,7 @@ namespace System public override System.DateTime MinSupportedDateTime { get => throw null; } } - // Generated from `System.Globalization.NumberFormatInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.NumberFormatInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NumberFormatInfo : System.ICloneable, System.IFormatProvider { public object Clone() => throw null; @@ -7131,7 +9181,7 @@ namespace System public static System.Globalization.NumberFormatInfo ReadOnly(System.Globalization.NumberFormatInfo nfi) => throw null; } - // Generated from `System.Globalization.NumberStyles` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.NumberStyles` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum NumberStyles : int { @@ -7154,7 +9204,7 @@ namespace System Number = 111, } - // Generated from `System.Globalization.PersianCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.PersianCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PersianCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -7183,7 +9233,7 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.RegionInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.RegionInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegionInfo { public virtual string CurrencyEnglishName { get => throw null; } @@ -7207,7 +9257,7 @@ namespace System public virtual string TwoLetterISORegionName { get => throw null; } } - // Generated from `System.Globalization.SortKey` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.SortKey` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SortKey { public static int Compare(System.Globalization.SortKey sortkey1, System.Globalization.SortKey sortkey2) => throw null; @@ -7218,7 +9268,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Globalization.SortVersion` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.SortVersion` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SortVersion : System.IEquatable { public static bool operator !=(System.Globalization.SortVersion left, System.Globalization.SortVersion right) => throw null; @@ -7231,7 +9281,7 @@ namespace System public SortVersion(int fullVersion, System.Guid sortId) => throw null; } - // Generated from `System.Globalization.StringInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.StringInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringInfo { public override bool Equals(object value) => throw null; @@ -7252,7 +9302,7 @@ namespace System public string SubstringByTextElements(int startingTextElement, int lengthInTextElements) => throw null; } - // Generated from `System.Globalization.TaiwanCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.TaiwanCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaiwanCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -7281,7 +9331,7 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.TaiwanLunisolarCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.TaiwanLunisolarCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaiwanLunisolarCalendar : System.Globalization.EastAsianLunisolarCalendar { protected override int DaysInYearBeforeMinSupportedYear { get => throw null; } @@ -7292,7 +9342,7 @@ namespace System public TaiwanLunisolarCalendar() => throw null; } - // Generated from `System.Globalization.TextElementEnumerator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.TextElementEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TextElementEnumerator : System.Collections.IEnumerator { public object Current { get => throw null; } @@ -7302,7 +9352,7 @@ namespace System public void Reset() => throw null; } - // Generated from `System.Globalization.TextInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.TextInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TextInfo : System.ICloneable, System.Runtime.Serialization.IDeserializationCallback { public int ANSICodePage { get => throw null; } @@ -7327,7 +9377,7 @@ namespace System public string ToUpper(string str) => throw null; } - // Generated from `System.Globalization.ThaiBuddhistCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.ThaiBuddhistCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThaiBuddhistCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -7357,7 +9407,7 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.TimeSpanStyles` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.TimeSpanStyles` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TimeSpanStyles : int { @@ -7365,7 +9415,7 @@ namespace System None = 0, } - // Generated from `System.Globalization.UmAlQuraCalendar` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.UmAlQuraCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UmAlQuraCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -7395,7 +9445,7 @@ namespace System public const int UmAlQuraEra = default; } - // Generated from `System.Globalization.UnicodeCategory` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Globalization.UnicodeCategory` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UnicodeCategory : int { ClosePunctuation = 21, @@ -7433,7 +9483,7 @@ namespace System } namespace IO { - // Generated from `System.IO.BinaryReader` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.BinaryReader` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BinaryReader : System.IDisposable { public virtual System.IO.Stream BaseStream { get => throw null; } @@ -7471,7 +9521,7 @@ namespace System public virtual System.UInt64 ReadUInt64() => throw null; } - // Generated from `System.IO.BinaryWriter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.BinaryWriter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BinaryWriter : System.IAsyncDisposable, System.IDisposable { public virtual System.IO.Stream BaseStream { get => throw null; } @@ -7512,7 +9562,7 @@ namespace System public void Write7BitEncodedInt64(System.Int64 value) => throw null; } - // Generated from `System.IO.BufferedStream` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.BufferedStream` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BufferedStream : System.IO.Stream { public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; @@ -7548,11 +9598,13 @@ namespace System public override void WriteByte(System.Byte value) => throw null; } - // Generated from `System.IO.Directory` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Directory` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Directory { public static System.IO.DirectoryInfo CreateDirectory(string path) => throw null; + public static System.IO.DirectoryInfo CreateDirectory(string path, System.IO.UnixFileMode unixCreateMode) => throw null; public static System.IO.FileSystemInfo CreateSymbolicLink(string path, string pathToTarget) => throw null; + public static System.IO.DirectoryInfo CreateTempSubdirectory(string prefix = default(string)) => throw null; public static void Delete(string path) => throw null; public static void Delete(string path, bool recursive) => throw null; public static System.Collections.Generic.IEnumerable EnumerateDirectories(string path) => throw null; @@ -7601,7 +9653,7 @@ namespace System public static void SetLastWriteTimeUtc(string path, System.DateTime lastWriteTimeUtc) => throw null; } - // Generated from `System.IO.DirectoryInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.DirectoryInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DirectoryInfo : System.IO.FileSystemInfo { public void Create() => throw null; @@ -7641,7 +9693,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.IO.DirectoryNotFoundException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.DirectoryNotFoundException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DirectoryNotFoundException : System.IO.IOException { public DirectoryNotFoundException() => throw null; @@ -7650,7 +9702,7 @@ namespace System public DirectoryNotFoundException(string message, System.Exception innerException) => throw null; } - // Generated from `System.IO.EndOfStreamException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.EndOfStreamException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EndOfStreamException : System.IO.IOException { public EndOfStreamException() => throw null; @@ -7659,7 +9711,7 @@ namespace System public EndOfStreamException(string message, System.Exception innerException) => throw null; } - // Generated from `System.IO.EnumerationOptions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.EnumerationOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumerationOptions { public System.IO.FileAttributes AttributesToSkip { get => throw null; set => throw null; } @@ -7673,7 +9725,7 @@ namespace System public bool ReturnSpecialDirectories { get => throw null; set => throw null; } } - // Generated from `System.IO.File` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.File` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class File { public static void AppendAllLines(string path, System.Collections.Generic.IEnumerable contents) => throw null; @@ -7696,13 +9748,22 @@ namespace System public static void Delete(string path) => throw null; public static void Encrypt(string path) => throw null; public static bool Exists(string path) => throw null; + public static System.IO.FileAttributes GetAttributes(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle) => throw null; public static System.IO.FileAttributes GetAttributes(string path) => throw null; + public static System.DateTime GetCreationTime(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle) => throw null; public static System.DateTime GetCreationTime(string path) => throw null; + public static System.DateTime GetCreationTimeUtc(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle) => throw null; public static System.DateTime GetCreationTimeUtc(string path) => throw null; + public static System.DateTime GetLastAccessTime(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle) => throw null; public static System.DateTime GetLastAccessTime(string path) => throw null; + public static System.DateTime GetLastAccessTimeUtc(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle) => throw null; public static System.DateTime GetLastAccessTimeUtc(string path) => throw null; + public static System.DateTime GetLastWriteTime(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle) => throw null; public static System.DateTime GetLastWriteTime(string path) => throw null; + public static System.DateTime GetLastWriteTimeUtc(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle) => throw null; public static System.DateTime GetLastWriteTimeUtc(string path) => throw null; + public static System.IO.UnixFileMode GetUnixFileMode(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle) => throw null; + public static System.IO.UnixFileMode GetUnixFileMode(string path) => throw null; public static void Move(string sourceFileName, string destFileName) => throw null; public static void Move(string sourceFileName, string destFileName, bool overwrite) => throw null; public static System.IO.FileStream Open(string path, System.IO.FileMode mode) => throw null; @@ -7725,16 +9786,27 @@ namespace System public static System.Threading.Tasks.Task ReadAllTextAsync(string path, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Collections.Generic.IEnumerable ReadLines(string path) => throw null; public static System.Collections.Generic.IEnumerable ReadLines(string path, System.Text.Encoding encoding) => throw null; + public static System.Collections.Generic.IAsyncEnumerable ReadLinesAsync(string path, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Collections.Generic.IAsyncEnumerable ReadLinesAsync(string path, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static void Replace(string sourceFileName, string destinationFileName, string destinationBackupFileName) => throw null; public static void Replace(string sourceFileName, string destinationFileName, string destinationBackupFileName, bool ignoreMetadataErrors) => throw null; public static System.IO.FileSystemInfo ResolveLinkTarget(string linkPath, bool returnFinalTarget) => throw null; + public static void SetAttributes(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle, System.IO.FileAttributes fileAttributes) => throw null; public static void SetAttributes(string path, System.IO.FileAttributes fileAttributes) => throw null; + public static void SetCreationTime(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle, System.DateTime creationTime) => throw null; public static void SetCreationTime(string path, System.DateTime creationTime) => throw null; + public static void SetCreationTimeUtc(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle, System.DateTime creationTimeUtc) => throw null; public static void SetCreationTimeUtc(string path, System.DateTime creationTimeUtc) => throw null; + public static void SetLastAccessTime(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle, System.DateTime lastAccessTime) => throw null; public static void SetLastAccessTime(string path, System.DateTime lastAccessTime) => throw null; + public static void SetLastAccessTimeUtc(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle, System.DateTime lastAccessTimeUtc) => throw null; public static void SetLastAccessTimeUtc(string path, System.DateTime lastAccessTimeUtc) => throw null; + public static void SetLastWriteTime(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle, System.DateTime lastWriteTime) => throw null; public static void SetLastWriteTime(string path, System.DateTime lastWriteTime) => throw null; + public static void SetLastWriteTimeUtc(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle, System.DateTime lastWriteTimeUtc) => throw null; public static void SetLastWriteTimeUtc(string path, System.DateTime lastWriteTimeUtc) => throw null; + public static void SetUnixFileMode(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle, System.IO.UnixFileMode mode) => throw null; + public static void SetUnixFileMode(string path, System.IO.UnixFileMode mode) => throw null; public static void WriteAllBytes(string path, System.Byte[] bytes) => throw null; public static System.Threading.Tasks.Task WriteAllBytesAsync(string path, System.Byte[] bytes, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static void WriteAllLines(string path, System.Collections.Generic.IEnumerable contents) => throw null; @@ -7749,7 +9821,7 @@ namespace System public static System.Threading.Tasks.Task WriteAllTextAsync(string path, string contents, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.IO.FileAccess` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileAccess` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FileAccess : int { @@ -7758,7 +9830,7 @@ namespace System Write = 2, } - // Generated from `System.IO.FileAttributes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FileAttributes : int { @@ -7780,7 +9852,7 @@ namespace System Temporary = 256, } - // Generated from `System.IO.FileInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileInfo : System.IO.FileSystemInfo { public System.IO.StreamWriter AppendText() => throw null; @@ -7809,10 +9881,9 @@ namespace System public System.IO.FileStream OpenWrite() => throw null; public System.IO.FileInfo Replace(string destinationFileName, string destinationBackupFileName) => throw null; public System.IO.FileInfo Replace(string destinationFileName, string destinationBackupFileName, bool ignoreMetadataErrors) => throw null; - public override string ToString() => throw null; } - // Generated from `System.IO.FileLoadException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileLoadException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileLoadException : System.IO.IOException { public FileLoadException() => throw null; @@ -7828,7 +9899,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.IO.FileMode` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FileMode : int { Append = 6, @@ -7839,7 +9910,7 @@ namespace System Truncate = 5, } - // Generated from `System.IO.FileNotFoundException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileNotFoundException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileNotFoundException : System.IO.IOException { public string FileName { get => throw null; } @@ -7855,7 +9926,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.IO.FileOptions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FileOptions : int { @@ -7868,7 +9939,7 @@ namespace System WriteThrough = -2147483648, } - // Generated from `System.IO.FileShare` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileShare` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FileShare : int { @@ -7880,7 +9951,7 @@ namespace System Write = 2, } - // Generated from `System.IO.FileStream` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileStream` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileStream : System.IO.Stream { public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; @@ -7933,7 +10004,7 @@ namespace System // ERR: Stub generator didn't handle member: ~FileStream } - // Generated from `System.IO.FileStreamOptions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileStreamOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileStreamOptions { public System.IO.FileAccess Access { get => throw null; set => throw null; } @@ -7943,9 +10014,10 @@ namespace System public System.IO.FileOptions Options { get => throw null; set => throw null; } public System.Int64 PreallocationSize { get => throw null; set => throw null; } public System.IO.FileShare Share { get => throw null; set => throw null; } + public System.IO.UnixFileMode? UnixCreateMode { get => throw null; set => throw null; } } - // Generated from `System.IO.FileSystemInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.FileSystemInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class FileSystemInfo : System.MarshalByRefObject, System.Runtime.Serialization.ISerializable { public System.IO.FileAttributes Attributes { get => throw null; set => throw null; } @@ -7970,16 +10042,17 @@ namespace System public void Refresh() => throw null; public System.IO.FileSystemInfo ResolveLinkTarget(bool returnFinalTarget) => throw null; public override string ToString() => throw null; + public System.IO.UnixFileMode UnixFileMode { get => throw null; set => throw null; } } - // Generated from `System.IO.HandleInheritability` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.HandleInheritability` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HandleInheritability : int { Inheritable = 1, None = 0, } - // Generated from `System.IO.IOException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.IOException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IOException : System.SystemException { public IOException() => throw null; @@ -7989,7 +10062,7 @@ namespace System public IOException(string message, int hresult) => throw null; } - // Generated from `System.IO.InvalidDataException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.InvalidDataException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidDataException : System.SystemException { public InvalidDataException() => throw null; @@ -7997,7 +10070,7 @@ namespace System public InvalidDataException(string message, System.Exception innerException) => throw null; } - // Generated from `System.IO.MatchCasing` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.MatchCasing` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MatchCasing : int { CaseInsensitive = 2, @@ -8005,14 +10078,14 @@ namespace System PlatformDefault = 0, } - // Generated from `System.IO.MatchType` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.MatchType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MatchType : int { Simple = 0, Win32 = 1, } - // Generated from `System.IO.MemoryStream` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.MemoryStream` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemoryStream : System.IO.Stream { public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; @@ -8055,7 +10128,7 @@ namespace System public virtual void WriteTo(System.IO.Stream stream) => throw null; } - // Generated from `System.IO.Path` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Path` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Path { public static System.Char AltDirectorySeparatorChar; @@ -8067,6 +10140,7 @@ namespace System public static System.Char DirectorySeparatorChar; public static bool EndsInDirectorySeparator(System.ReadOnlySpan path) => throw null; public static bool EndsInDirectorySeparator(string path) => throw null; + public static bool Exists(string path) => throw null; public static System.ReadOnlySpan GetDirectoryName(System.ReadOnlySpan path) => throw null; public static string GetDirectoryName(string path) => throw null; public static System.ReadOnlySpan GetExtension(System.ReadOnlySpan path) => throw null; @@ -8107,7 +10181,7 @@ namespace System public static System.Char VolumeSeparatorChar; } - // Generated from `System.IO.PathTooLongException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.PathTooLongException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PathTooLongException : System.IO.IOException { public PathTooLongException() => throw null; @@ -8116,7 +10190,7 @@ namespace System public PathTooLongException(string message, System.Exception innerException) => throw null; } - // Generated from `System.IO.RandomAccess` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.RandomAccess` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class RandomAccess { public static System.Int64 GetLength(Microsoft.Win32.SafeHandles.SafeFileHandle handle) => throw null; @@ -8124,20 +10198,21 @@ namespace System public static int Read(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Span buffer, System.Int64 fileOffset) => throw null; public static System.Threading.Tasks.ValueTask ReadAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList> buffers, System.Int64 fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.ValueTask ReadAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Memory buffer, System.Int64 fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static void SetLength(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Int64 length) => throw null; public static void Write(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList> buffers, System.Int64 fileOffset) => throw null; public static void Write(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.ReadOnlySpan buffer, System.Int64 fileOffset) => throw null; public static System.Threading.Tasks.ValueTask WriteAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList> buffers, System.Int64 fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.ValueTask WriteAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.ReadOnlyMemory buffer, System.Int64 fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.IO.SearchOption` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.SearchOption` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SearchOption : int { AllDirectories = 1, TopDirectoryOnly = 0, } - // Generated from `System.IO.SeekOrigin` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.SeekOrigin` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SeekOrigin : int { Begin = 0, @@ -8145,7 +10220,7 @@ namespace System End = 2, } - // Generated from `System.IO.Stream` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Stream` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Stream : System.MarshalByRefObject, System.IAsyncDisposable, System.IDisposable { public virtual System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; @@ -8179,7 +10254,13 @@ namespace System public System.Threading.Tasks.Task ReadAsync(System.Byte[] buffer, int offset, int count) => throw null; public virtual System.Threading.Tasks.Task ReadAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) => throw null; public virtual System.Threading.Tasks.ValueTask ReadAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public int ReadAtLeast(System.Span buffer, int minimumBytes, bool throwOnEndOfStream = default(bool)) => throw null; + public System.Threading.Tasks.ValueTask ReadAtLeastAsync(System.Memory buffer, int minimumBytes, bool throwOnEndOfStream = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public virtual int ReadByte() => throw null; + public void ReadExactly(System.Byte[] buffer, int offset, int count) => throw null; + public void ReadExactly(System.Span buffer) => throw null; + public System.Threading.Tasks.ValueTask ReadExactlyAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Threading.Tasks.ValueTask ReadExactlyAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public virtual int ReadTimeout { get => throw null; set => throw null; } public abstract System.Int64 Seek(System.Int64 offset, System.IO.SeekOrigin origin); public abstract void SetLength(System.Int64 value); @@ -8196,7 +10277,7 @@ namespace System public virtual int WriteTimeout { get => throw null; set => throw null; } } - // Generated from `System.IO.StreamReader` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.StreamReader` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StreamReader : System.IO.TextReader { public virtual System.IO.Stream BaseStream { get => throw null; } @@ -8218,8 +10299,10 @@ namespace System public override System.Threading.Tasks.ValueTask ReadBlockAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public override string ReadLine() => throw null; public override System.Threading.Tasks.Task ReadLineAsync() => throw null; + public override System.Threading.Tasks.ValueTask ReadLineAsync(System.Threading.CancellationToken cancellationToken) => throw null; public override string ReadToEnd() => throw null; public override System.Threading.Tasks.Task ReadToEndAsync() => throw null; + public override System.Threading.Tasks.Task ReadToEndAsync(System.Threading.CancellationToken cancellationToken) => throw null; public StreamReader(System.IO.Stream stream) => throw null; public StreamReader(System.IO.Stream stream, System.Text.Encoding encoding) => throw null; public StreamReader(System.IO.Stream stream, System.Text.Encoding encoding, bool detectEncodingFromByteOrderMarks) => throw null; @@ -8235,7 +10318,7 @@ namespace System public StreamReader(string path, bool detectEncodingFromByteOrderMarks) => throw null; } - // Generated from `System.IO.StreamWriter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.StreamWriter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StreamWriter : System.IO.TextWriter { public virtual bool AutoFlush { get => throw null; set => throw null; } @@ -8283,7 +10366,7 @@ namespace System public override System.Threading.Tasks.Task WriteLineAsync(string value) => throw null; } - // Generated from `System.IO.StringReader` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.StringReader` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringReader : System.IO.TextReader { public override void Close() => throw null; @@ -8299,12 +10382,14 @@ namespace System public override System.Threading.Tasks.ValueTask ReadBlockAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public override string ReadLine() => throw null; public override System.Threading.Tasks.Task ReadLineAsync() => throw null; + public override System.Threading.Tasks.ValueTask ReadLineAsync(System.Threading.CancellationToken cancellationToken) => throw null; public override string ReadToEnd() => throw null; public override System.Threading.Tasks.Task ReadToEndAsync() => throw null; + public override System.Threading.Tasks.Task ReadToEndAsync(System.Threading.CancellationToken cancellationToken) => throw null; public StringReader(string s) => throw null; } - // Generated from `System.IO.StringWriter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.StringWriter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringWriter : System.IO.TextWriter { public override void Close() => throw null; @@ -8336,7 +10421,7 @@ namespace System public override System.Threading.Tasks.Task WriteLineAsync(string value) => throw null; } - // Generated from `System.IO.TextReader` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.TextReader` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TextReader : System.MarshalByRefObject, System.IDisposable { public virtual void Close() => throw null; @@ -8355,13 +10440,15 @@ namespace System public virtual System.Threading.Tasks.ValueTask ReadBlockAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public virtual string ReadLine() => throw null; public virtual System.Threading.Tasks.Task ReadLineAsync() => throw null; + public virtual System.Threading.Tasks.ValueTask ReadLineAsync(System.Threading.CancellationToken cancellationToken) => throw null; public virtual string ReadToEnd() => throw null; public virtual System.Threading.Tasks.Task ReadToEndAsync() => throw null; + public virtual System.Threading.Tasks.Task ReadToEndAsync(System.Threading.CancellationToken cancellationToken) => throw null; public static System.IO.TextReader Synchronized(System.IO.TextReader reader) => throw null; protected TextReader() => throw null; } - // Generated from `System.IO.TextWriter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.TextWriter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TextWriter : System.MarshalByRefObject, System.IAsyncDisposable, System.IDisposable { public virtual void Close() => throw null; @@ -8432,7 +10519,26 @@ namespace System public virtual System.Threading.Tasks.Task WriteLineAsync(string value) => throw null; } - // Generated from `System.IO.UnmanagedMemoryStream` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.UnixFileMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum UnixFileMode : int + { + GroupExecute = 8, + GroupRead = 32, + GroupWrite = 16, + None = 0, + OtherExecute = 1, + OtherRead = 4, + OtherWrite = 2, + SetGroup = 1024, + SetUser = 2048, + StickyBit = 512, + UserExecute = 64, + UserRead = 256, + UserWrite = 128, + } + + // Generated from `System.IO.UnmanagedMemoryStream` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnmanagedMemoryStream : System.IO.Stream { public override bool CanRead { get => throw null; } @@ -8468,7 +10574,7 @@ namespace System namespace Enumeration { - // Generated from `System.IO.Enumeration.FileSystemEntry` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Enumeration.FileSystemEntry` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FileSystemEntry { public System.IO.FileAttributes Attributes { get => throw null; } @@ -8488,14 +10594,14 @@ namespace System public string ToSpecifiedFullPath() => throw null; } - // Generated from `System.IO.Enumeration.FileSystemEnumerable<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Enumeration.FileSystemEnumerable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystemEnumerable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { - // Generated from `System.IO.Enumeration.FileSystemEnumerable<>+FindPredicate` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Enumeration.FileSystemEnumerable<>+FindPredicate` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate bool FindPredicate(ref System.IO.Enumeration.FileSystemEntry entry); - // Generated from `System.IO.Enumeration.FileSystemEnumerable<>+FindTransform` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Enumeration.FileSystemEnumerable<>+FindTransform` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult FindTransform(ref System.IO.Enumeration.FileSystemEntry entry); @@ -8506,7 +10612,7 @@ namespace System public System.IO.Enumeration.FileSystemEnumerable.FindPredicate ShouldRecursePredicate { get => throw null; set => throw null; } } - // Generated from `System.IO.Enumeration.FileSystemEnumerator<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Enumeration.FileSystemEnumerator<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class FileSystemEnumerator : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { protected virtual bool ContinueOnError(int error) => throw null; @@ -8523,7 +10629,7 @@ namespace System protected abstract TResult TransformEntry(ref System.IO.Enumeration.FileSystemEntry entry); } - // Generated from `System.IO.Enumeration.FileSystemName` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.IO.Enumeration.FileSystemName` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class FileSystemName { public static bool MatchesSimpleExpression(System.ReadOnlySpan expression, System.ReadOnlySpan name, bool ignoreCase = default(bool)) => throw null; @@ -8535,7 +10641,7 @@ namespace System } namespace Net { - // Generated from `System.Net.WebUtility` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Net.WebUtility` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class WebUtility { public static string HtmlDecode(string value) => throw null; @@ -8551,35 +10657,394 @@ namespace System } namespace Numerics { - // Generated from `System.Numerics.BitOperations` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Numerics.BitOperations` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class BitOperations { + public static bool IsPow2(System.IntPtr value) => throw null; + public static bool IsPow2(System.UIntPtr value) => throw null; public static bool IsPow2(int value) => throw null; public static bool IsPow2(System.Int64 value) => throw null; public static bool IsPow2(System.UInt32 value) => throw null; public static bool IsPow2(System.UInt64 value) => throw null; + public static int LeadingZeroCount(System.UIntPtr value) => throw null; public static int LeadingZeroCount(System.UInt32 value) => throw null; public static int LeadingZeroCount(System.UInt64 value) => throw null; + public static int Log2(System.UIntPtr value) => throw null; public static int Log2(System.UInt32 value) => throw null; public static int Log2(System.UInt64 value) => throw null; + public static int PopCount(System.UIntPtr value) => throw null; public static int PopCount(System.UInt32 value) => throw null; public static int PopCount(System.UInt64 value) => throw null; + public static System.UIntPtr RotateLeft(System.UIntPtr value, int offset) => throw null; public static System.UInt32 RotateLeft(System.UInt32 value, int offset) => throw null; public static System.UInt64 RotateLeft(System.UInt64 value, int offset) => throw null; + public static System.UIntPtr RotateRight(System.UIntPtr value, int offset) => throw null; public static System.UInt32 RotateRight(System.UInt32 value, int offset) => throw null; public static System.UInt64 RotateRight(System.UInt64 value, int offset) => throw null; + public static System.UIntPtr RoundUpToPowerOf2(System.UIntPtr value) => throw null; public static System.UInt32 RoundUpToPowerOf2(System.UInt32 value) => throw null; public static System.UInt64 RoundUpToPowerOf2(System.UInt64 value) => throw null; + public static int TrailingZeroCount(System.IntPtr value) => throw null; + public static int TrailingZeroCount(System.UIntPtr value) => throw null; public static int TrailingZeroCount(int value) => throw null; public static int TrailingZeroCount(System.Int64 value) => throw null; public static int TrailingZeroCount(System.UInt32 value) => throw null; public static int TrailingZeroCount(System.UInt64 value) => throw null; } + // Generated from `System.Numerics.IAdditionOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IAdditionOperators where TSelf : System.Numerics.IAdditionOperators + { + static abstract TResult operator +(TSelf left, TOther right); + static virtual TResult operator checked +(TSelf left, TOther right) => throw null; + } + + // Generated from `System.Numerics.IAdditiveIdentity<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IAdditiveIdentity where TSelf : System.Numerics.IAdditiveIdentity + { + static abstract TResult AdditiveIdentity { get; } + } + + // Generated from `System.Numerics.IBinaryFloatingPointIeee754<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IBinaryFloatingPointIeee754 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryFloatingPointIeee754 + { + } + + // Generated from `System.Numerics.IBinaryInteger<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IBinaryInteger : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryInteger + { + static virtual (TSelf, TSelf) DivRem(TSelf left, TSelf right) => throw null; + int GetByteCount(); + int GetShortestBitLength(); + static virtual TSelf LeadingZeroCount(TSelf value) => throw null; + static abstract TSelf PopCount(TSelf value); + static virtual TSelf ReadBigEndian(System.Byte[] source, bool isUnsigned) => throw null; + static virtual TSelf ReadBigEndian(System.Byte[] source, int startIndex, bool isUnsigned) => throw null; + static virtual TSelf ReadBigEndian(System.ReadOnlySpan source, bool isUnsigned) => throw null; + static virtual TSelf ReadLittleEndian(System.Byte[] source, bool isUnsigned) => throw null; + static virtual TSelf ReadLittleEndian(System.Byte[] source, int startIndex, bool isUnsigned) => throw null; + static virtual TSelf ReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned) => throw null; + static virtual TSelf RotateLeft(TSelf value, int rotateAmount) => throw null; + static virtual TSelf RotateRight(TSelf value, int rotateAmount) => throw null; + static abstract TSelf TrailingZeroCount(TSelf value); + static abstract bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out TSelf value); + static abstract bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out TSelf value); + bool TryWriteBigEndian(System.Span destination, out int bytesWritten); + bool TryWriteLittleEndian(System.Span destination, out int bytesWritten); + int WriteBigEndian(System.Byte[] destination) => throw null; + int WriteBigEndian(System.Byte[] destination, int startIndex) => throw null; + int WriteBigEndian(System.Span destination) => throw null; + int WriteLittleEndian(System.Byte[] destination) => throw null; + int WriteLittleEndian(System.Byte[] destination, int startIndex) => throw null; + int WriteLittleEndian(System.Span destination) => throw null; + } + + // Generated from `System.Numerics.IBinaryNumber<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IBinaryNumber : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryNumber + { + static virtual TSelf AllBitsSet { get => throw null; } + static abstract bool IsPow2(TSelf value); + static abstract TSelf Log2(TSelf value); + } + + // Generated from `System.Numerics.IBitwiseOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IBitwiseOperators where TSelf : System.Numerics.IBitwiseOperators + { + static abstract TResult operator &(TSelf left, TOther right); + static abstract TResult operator ^(TSelf left, TOther right); + static abstract TResult operator |(TSelf left, TOther right); + static abstract TResult operator ~(TSelf value); + } + + // Generated from `System.Numerics.IComparisonOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IComparisonOperators : System.Numerics.IEqualityOperators where TSelf : System.Numerics.IComparisonOperators + { + static abstract TResult operator <(TSelf left, TOther right); + static abstract TResult operator <=(TSelf left, TOther right); + static abstract TResult operator >(TSelf left, TOther right); + static abstract TResult operator >=(TSelf left, TOther right); + } + + // Generated from `System.Numerics.IDecrementOperators<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IDecrementOperators where TSelf : System.Numerics.IDecrementOperators + { + static abstract TSelf operator --(TSelf value); + static virtual TSelf operator checked --(TSelf value) => throw null; + } + + // Generated from `System.Numerics.IDivisionOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IDivisionOperators where TSelf : System.Numerics.IDivisionOperators + { + static abstract TResult operator /(TSelf left, TOther right); + static virtual TResult operator checked /(TSelf left, TOther right) => throw null; + } + + // Generated from `System.Numerics.IEqualityOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IEqualityOperators where TSelf : System.Numerics.IEqualityOperators + { + static abstract TResult operator !=(TSelf left, TOther right); + static abstract TResult operator ==(TSelf left, TOther right); + } + + // Generated from `System.Numerics.IExponentialFunctions<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IExponentialFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IExponentialFunctions + { + static abstract TSelf Exp(TSelf x); + static abstract TSelf Exp10(TSelf x); + static virtual TSelf Exp10M1(TSelf x) => throw null; + static abstract TSelf Exp2(TSelf x); + static virtual TSelf Exp2M1(TSelf x) => throw null; + static virtual TSelf ExpM1(TSelf x) => throw null; + } + + // Generated from `System.Numerics.IFloatingPoint<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IFloatingPoint : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPoint + { + static virtual TSelf Ceiling(TSelf x) => throw null; + static virtual TSelf Floor(TSelf x) => throw null; + int GetExponentByteCount(); + int GetExponentShortestBitLength(); + int GetSignificandBitLength(); + int GetSignificandByteCount(); + static virtual TSelf Round(TSelf x) => throw null; + static virtual TSelf Round(TSelf x, System.MidpointRounding mode) => throw null; + static virtual TSelf Round(TSelf x, int digits) => throw null; + static abstract TSelf Round(TSelf x, int digits, System.MidpointRounding mode); + static virtual TSelf Truncate(TSelf x) => throw null; + bool TryWriteExponentBigEndian(System.Span destination, out int bytesWritten); + bool TryWriteExponentLittleEndian(System.Span destination, out int bytesWritten); + bool TryWriteSignificandBigEndian(System.Span destination, out int bytesWritten); + bool TryWriteSignificandLittleEndian(System.Span destination, out int bytesWritten); + int WriteExponentBigEndian(System.Byte[] destination) => throw null; + int WriteExponentBigEndian(System.Byte[] destination, int startIndex) => throw null; + int WriteExponentBigEndian(System.Span destination) => throw null; + int WriteExponentLittleEndian(System.Byte[] destination) => throw null; + int WriteExponentLittleEndian(System.Byte[] destination, int startIndex) => throw null; + int WriteExponentLittleEndian(System.Span destination) => throw null; + int WriteSignificandBigEndian(System.Byte[] destination) => throw null; + int WriteSignificandBigEndian(System.Byte[] destination, int startIndex) => throw null; + int WriteSignificandBigEndian(System.Span destination) => throw null; + int WriteSignificandLittleEndian(System.Byte[] destination) => throw null; + int WriteSignificandLittleEndian(System.Byte[] destination, int startIndex) => throw null; + int WriteSignificandLittleEndian(System.Span destination) => throw null; + } + + // Generated from `System.Numerics.IFloatingPointConstants<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IFloatingPointConstants : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPointConstants + { + static abstract TSelf E { get; } + static abstract TSelf Pi { get; } + static abstract TSelf Tau { get; } + } + + // Generated from `System.Numerics.IFloatingPointIeee754<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IFloatingPointIeee754 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPointIeee754 + { + static abstract TSelf Atan2(TSelf y, TSelf x); + static abstract TSelf Atan2Pi(TSelf y, TSelf x); + static abstract TSelf BitDecrement(TSelf x); + static abstract TSelf BitIncrement(TSelf x); + static abstract TSelf Epsilon { get; } + static abstract TSelf FusedMultiplyAdd(TSelf left, TSelf right, TSelf addend); + static abstract int ILogB(TSelf x); + static abstract TSelf Ieee754Remainder(TSelf left, TSelf right); + static abstract TSelf NaN { get; } + static abstract TSelf NegativeInfinity { get; } + static abstract TSelf NegativeZero { get; } + static abstract TSelf PositiveInfinity { get; } + static virtual TSelf ReciprocalEstimate(TSelf x) => throw null; + static virtual TSelf ReciprocalSqrtEstimate(TSelf x) => throw null; + static abstract TSelf ScaleB(TSelf x, int n); + } + + // Generated from `System.Numerics.IHyperbolicFunctions<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IHyperbolicFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IHyperbolicFunctions + { + static abstract TSelf Acosh(TSelf x); + static abstract TSelf Asinh(TSelf x); + static abstract TSelf Atanh(TSelf x); + static abstract TSelf Cosh(TSelf x); + static abstract TSelf Sinh(TSelf x); + static abstract TSelf Tanh(TSelf x); + } + + // Generated from `System.Numerics.IIncrementOperators<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IIncrementOperators where TSelf : System.Numerics.IIncrementOperators + { + static abstract TSelf operator ++(TSelf value); + static virtual TSelf operator checked ++(TSelf value) => throw null; + } + + // Generated from `System.Numerics.ILogarithmicFunctions<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface ILogarithmicFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.ILogarithmicFunctions + { + static abstract TSelf Log(TSelf x); + static abstract TSelf Log(TSelf x, TSelf newBase); + static abstract TSelf Log10(TSelf x); + static virtual TSelf Log10P1(TSelf x) => throw null; + static abstract TSelf Log2(TSelf x); + static virtual TSelf Log2P1(TSelf x) => throw null; + static virtual TSelf LogP1(TSelf x) => throw null; + } + + // Generated from `System.Numerics.IMinMaxValue<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IMinMaxValue where TSelf : System.Numerics.IMinMaxValue + { + static abstract TSelf MaxValue { get; } + static abstract TSelf MinValue { get; } + } + + // Generated from `System.Numerics.IModulusOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IModulusOperators where TSelf : System.Numerics.IModulusOperators + { + static abstract TResult operator %(TSelf left, TOther right); + } + + // Generated from `System.Numerics.IMultiplicativeIdentity<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IMultiplicativeIdentity where TSelf : System.Numerics.IMultiplicativeIdentity + { + static abstract TResult MultiplicativeIdentity { get; } + } + + // Generated from `System.Numerics.IMultiplyOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IMultiplyOperators where TSelf : System.Numerics.IMultiplyOperators + { + static abstract TResult operator *(TSelf left, TOther right); + static virtual TResult operator checked *(TSelf left, TOther right) => throw null; + } + + // Generated from `System.Numerics.INumber<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface INumber : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.INumber + { + static virtual TSelf Clamp(TSelf value, TSelf min, TSelf max) => throw null; + static virtual TSelf CopySign(TSelf value, TSelf sign) => throw null; + static virtual TSelf Max(TSelf x, TSelf y) => throw null; + static virtual TSelf MaxNumber(TSelf x, TSelf y) => throw null; + static virtual TSelf Min(TSelf x, TSelf y) => throw null; + static virtual TSelf MinNumber(TSelf x, TSelf y) => throw null; + static virtual int Sign(TSelf value) => throw null; + } + + // Generated from `System.Numerics.INumberBase<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface INumberBase : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.INumberBase + { + static abstract TSelf Abs(TSelf value); + static virtual TSelf CreateChecked(TOther value) where TOther : System.Numerics.INumberBase => throw null; + static virtual TSelf CreateSaturating(TOther value) where TOther : System.Numerics.INumberBase => throw null; + static virtual TSelf CreateTruncating(TOther value) where TOther : System.Numerics.INumberBase => throw null; + static abstract bool IsCanonical(TSelf value); + static abstract bool IsComplexNumber(TSelf value); + static abstract bool IsEvenInteger(TSelf value); + static abstract bool IsFinite(TSelf value); + static abstract bool IsImaginaryNumber(TSelf value); + static abstract bool IsInfinity(TSelf value); + static abstract bool IsInteger(TSelf value); + static abstract bool IsNaN(TSelf value); + static abstract bool IsNegative(TSelf value); + static abstract bool IsNegativeInfinity(TSelf value); + static abstract bool IsNormal(TSelf value); + static abstract bool IsOddInteger(TSelf value); + static abstract bool IsPositive(TSelf value); + static abstract bool IsPositiveInfinity(TSelf value); + static abstract bool IsRealNumber(TSelf value); + static abstract bool IsSubnormal(TSelf value); + static abstract bool IsZero(TSelf value); + static abstract TSelf MaxMagnitude(TSelf x, TSelf y); + static abstract TSelf MaxMagnitudeNumber(TSelf x, TSelf y); + static abstract TSelf MinMagnitude(TSelf x, TSelf y); + static abstract TSelf MinMagnitudeNumber(TSelf x, TSelf y); + static abstract TSelf One { get; } + static abstract TSelf Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider); + static abstract TSelf Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider); + static abstract int Radix { get; } + static abstract bool TryConvertFromChecked(TOther value, out TSelf result) where TOther : System.Numerics.INumberBase; + static abstract bool TryConvertFromSaturating(TOther value, out TSelf result) where TOther : System.Numerics.INumberBase; + static abstract bool TryConvertFromTruncating(TOther value, out TSelf result) where TOther : System.Numerics.INumberBase; + static abstract bool TryConvertToChecked(TSelf value, out TOther result) where TOther : System.Numerics.INumberBase; + static abstract bool TryConvertToSaturating(TSelf value, out TOther result) where TOther : System.Numerics.INumberBase; + static abstract bool TryConvertToTruncating(TSelf value, out TOther result) where TOther : System.Numerics.INumberBase; + static abstract bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out TSelf result); + static abstract bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out TSelf result); + static abstract TSelf Zero { get; } + } + + // Generated from `System.Numerics.IPowerFunctions<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IPowerFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IPowerFunctions + { + static abstract TSelf Pow(TSelf x, TSelf y); + } + + // Generated from `System.Numerics.IRootFunctions<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IRootFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IRootFunctions + { + static abstract TSelf Cbrt(TSelf x); + static abstract TSelf Hypot(TSelf x, TSelf y); + static abstract TSelf RootN(TSelf x, int n); + static abstract TSelf Sqrt(TSelf x); + } + + // Generated from `System.Numerics.IShiftOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IShiftOperators where TSelf : System.Numerics.IShiftOperators + { + static abstract TResult operator <<(TSelf value, TOther shiftAmount); + static abstract TResult operator >>(TSelf value, TOther shiftAmount); + static abstract TResult operator >>>(TSelf value, TOther shiftAmount); + } + + // Generated from `System.Numerics.ISignedNumber<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface ISignedNumber : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.ISignedNumber + { + static abstract TSelf NegativeOne { get; } + } + + // Generated from `System.Numerics.ISubtractionOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface ISubtractionOperators where TSelf : System.Numerics.ISubtractionOperators + { + static abstract TResult operator -(TSelf left, TOther right); + static virtual TResult operator checked -(TSelf left, TOther right) => throw null; + } + + // Generated from `System.Numerics.ITrigonometricFunctions<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface ITrigonometricFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.ITrigonometricFunctions + { + static abstract TSelf Acos(TSelf x); + static abstract TSelf AcosPi(TSelf x); + static abstract TSelf Asin(TSelf x); + static abstract TSelf AsinPi(TSelf x); + static abstract TSelf Atan(TSelf x); + static abstract TSelf AtanPi(TSelf x); + static abstract TSelf Cos(TSelf x); + static abstract TSelf CosPi(TSelf x); + static abstract TSelf Sin(TSelf x); + static abstract (TSelf, TSelf) SinCos(TSelf x); + static abstract (TSelf, TSelf) SinCosPi(TSelf x); + static abstract TSelf SinPi(TSelf x); + static abstract TSelf Tan(TSelf x); + static abstract TSelf TanPi(TSelf x); + } + + // Generated from `System.Numerics.IUnaryNegationOperators<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IUnaryNegationOperators where TSelf : System.Numerics.IUnaryNegationOperators + { + static abstract TResult operator -(TSelf value); + static virtual TResult operator checked -(TSelf value) => throw null; + } + + // Generated from `System.Numerics.IUnaryPlusOperators<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IUnaryPlusOperators where TSelf : System.Numerics.IUnaryPlusOperators + { + static abstract TResult operator +(TSelf value); + } + + // Generated from `System.Numerics.IUnsignedNumber<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface IUnsignedNumber : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IUnsignedNumber + { + } + } namespace Reflection { - // Generated from `System.Reflection.AmbiguousMatchException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AmbiguousMatchException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AmbiguousMatchException : System.SystemException { public AmbiguousMatchException() => throw null; @@ -8587,7 +11052,7 @@ namespace System public AmbiguousMatchException(string message, System.Exception inner) => throw null; } - // Generated from `System.Reflection.Assembly` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Assembly` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Assembly : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.Reflection.Assembly left, System.Reflection.Assembly right) => throw null; @@ -8667,7 +11132,7 @@ namespace System public static System.Reflection.Assembly UnsafeLoadFrom(string assemblyFile) => throw null; } - // Generated from `System.Reflection.AssemblyAlgorithmIdAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyAlgorithmIdAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyAlgorithmIdAttribute : System.Attribute { public System.UInt32 AlgorithmId { get => throw null; } @@ -8675,70 +11140,70 @@ namespace System public AssemblyAlgorithmIdAttribute(System.UInt32 algorithmId) => throw null; } - // Generated from `System.Reflection.AssemblyCompanyAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyCompanyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyCompanyAttribute : System.Attribute { public AssemblyCompanyAttribute(string company) => throw null; public string Company { get => throw null; } } - // Generated from `System.Reflection.AssemblyConfigurationAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyConfigurationAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyConfigurationAttribute : System.Attribute { public AssemblyConfigurationAttribute(string configuration) => throw null; public string Configuration { get => throw null; } } - // Generated from `System.Reflection.AssemblyContentType` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyContentType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AssemblyContentType : int { Default = 0, WindowsRuntime = 1, } - // Generated from `System.Reflection.AssemblyCopyrightAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyCopyrightAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyCopyrightAttribute : System.Attribute { public AssemblyCopyrightAttribute(string copyright) => throw null; public string Copyright { get => throw null; } } - // Generated from `System.Reflection.AssemblyCultureAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyCultureAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyCultureAttribute : System.Attribute { public AssemblyCultureAttribute(string culture) => throw null; public string Culture { get => throw null; } } - // Generated from `System.Reflection.AssemblyDefaultAliasAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyDefaultAliasAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyDefaultAliasAttribute : System.Attribute { public AssemblyDefaultAliasAttribute(string defaultAlias) => throw null; public string DefaultAlias { get => throw null; } } - // Generated from `System.Reflection.AssemblyDelaySignAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyDelaySignAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyDelaySignAttribute : System.Attribute { public AssemblyDelaySignAttribute(bool delaySign) => throw null; public bool DelaySign { get => throw null; } } - // Generated from `System.Reflection.AssemblyDescriptionAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyDescriptionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyDescriptionAttribute : System.Attribute { public AssemblyDescriptionAttribute(string description) => throw null; public string Description { get => throw null; } } - // Generated from `System.Reflection.AssemblyFileVersionAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyFileVersionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyFileVersionAttribute : System.Attribute { public AssemblyFileVersionAttribute(string version) => throw null; public string Version { get => throw null; } } - // Generated from `System.Reflection.AssemblyFlagsAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyFlagsAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyFlagsAttribute : System.Attribute { public int AssemblyFlags { get => throw null; } @@ -8748,28 +11213,28 @@ namespace System public System.UInt32 Flags { get => throw null; } } - // Generated from `System.Reflection.AssemblyInformationalVersionAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyInformationalVersionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyInformationalVersionAttribute : System.Attribute { public AssemblyInformationalVersionAttribute(string informationalVersion) => throw null; public string InformationalVersion { get => throw null; } } - // Generated from `System.Reflection.AssemblyKeyFileAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyKeyFileAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyKeyFileAttribute : System.Attribute { public AssemblyKeyFileAttribute(string keyFile) => throw null; public string KeyFile { get => throw null; } } - // Generated from `System.Reflection.AssemblyKeyNameAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyKeyNameAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyKeyNameAttribute : System.Attribute { public AssemblyKeyNameAttribute(string keyName) => throw null; public string KeyName { get => throw null; } } - // Generated from `System.Reflection.AssemblyMetadataAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyMetadataAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyMetadataAttribute : System.Attribute { public AssemblyMetadataAttribute(string key, string value) => throw null; @@ -8777,7 +11242,7 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Reflection.AssemblyName` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyName` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyName : System.ICloneable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public AssemblyName() => throw null; @@ -8807,7 +11272,7 @@ namespace System public System.Configuration.Assemblies.AssemblyVersionCompatibility VersionCompatibility { get => throw null; set => throw null; } } - // Generated from `System.Reflection.AssemblyNameFlags` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyNameFlags` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AssemblyNameFlags : int { @@ -8818,21 +11283,21 @@ namespace System Retargetable = 256, } - // Generated from `System.Reflection.AssemblyNameProxy` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyNameProxy` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyNameProxy : System.MarshalByRefObject { public AssemblyNameProxy() => throw null; public System.Reflection.AssemblyName GetAssemblyName(string assemblyFile) => throw null; } - // Generated from `System.Reflection.AssemblyProductAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyProductAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyProductAttribute : System.Attribute { public AssemblyProductAttribute(string product) => throw null; public string Product { get => throw null; } } - // Generated from `System.Reflection.AssemblySignatureKeyAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblySignatureKeyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblySignatureKeyAttribute : System.Attribute { public AssemblySignatureKeyAttribute(string publicKey, string countersignature) => throw null; @@ -8840,28 +11305,28 @@ namespace System public string PublicKey { get => throw null; } } - // Generated from `System.Reflection.AssemblyTitleAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyTitleAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyTitleAttribute : System.Attribute { public AssemblyTitleAttribute(string title) => throw null; public string Title { get => throw null; } } - // Generated from `System.Reflection.AssemblyTrademarkAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyTrademarkAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyTrademarkAttribute : System.Attribute { public AssemblyTrademarkAttribute(string trademark) => throw null; public string Trademark { get => throw null; } } - // Generated from `System.Reflection.AssemblyVersionAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.AssemblyVersionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyVersionAttribute : System.Attribute { public AssemblyVersionAttribute(string version) => throw null; public string Version { get => throw null; } } - // Generated from `System.Reflection.Binder` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Binder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Binder { public abstract System.Reflection.FieldInfo BindToField(System.Reflection.BindingFlags bindingAttr, System.Reflection.FieldInfo[] match, object value, System.Globalization.CultureInfo culture); @@ -8873,7 +11338,7 @@ namespace System public abstract System.Reflection.PropertyInfo SelectProperty(System.Reflection.BindingFlags bindingAttr, System.Reflection.PropertyInfo[] match, System.Type returnType, System.Type[] indexes, System.Reflection.ParameterModifier[] modifiers); } - // Generated from `System.Reflection.BindingFlags` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.BindingFlags` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum BindingFlags : int { @@ -8900,7 +11365,7 @@ namespace System SuppressChangeType = 131072, } - // Generated from `System.Reflection.CallingConventions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.CallingConventions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CallingConventions : int { @@ -8911,7 +11376,7 @@ namespace System VarArgs = 2, } - // Generated from `System.Reflection.ConstructorInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ConstructorInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ConstructorInfo : System.Reflection.MethodBase { public static bool operator !=(System.Reflection.ConstructorInfo left, System.Reflection.ConstructorInfo right) => throw null; @@ -8926,7 +11391,7 @@ namespace System public static string TypeConstructorName; } - // Generated from `System.Reflection.CustomAttributeData` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.CustomAttributeData` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CustomAttributeData { public virtual System.Type AttributeType { get => throw null; } @@ -8943,7 +11408,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.CustomAttributeExtensions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.CustomAttributeExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CustomAttributeExtensions { public static System.Attribute GetCustomAttribute(this System.Reflection.Assembly element, System.Type attributeType) => throw null; @@ -8984,7 +11449,7 @@ namespace System public static bool IsDefined(this System.Reflection.ParameterInfo element, System.Type attributeType, bool inherit) => throw null; } - // Generated from `System.Reflection.CustomAttributeFormatException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.CustomAttributeFormatException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CustomAttributeFormatException : System.FormatException { public CustomAttributeFormatException() => throw null; @@ -8993,14 +11458,15 @@ namespace System public CustomAttributeFormatException(string message, System.Exception inner) => throw null; } - // Generated from `System.Reflection.CustomAttributeNamedArgument` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct CustomAttributeNamedArgument + // Generated from `System.Reflection.CustomAttributeNamedArgument` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct CustomAttributeNamedArgument : System.IEquatable { public static bool operator !=(System.Reflection.CustomAttributeNamedArgument left, System.Reflection.CustomAttributeNamedArgument right) => throw null; public static bool operator ==(System.Reflection.CustomAttributeNamedArgument left, System.Reflection.CustomAttributeNamedArgument right) => throw null; // Stub generator skipped constructor public CustomAttributeNamedArgument(System.Reflection.MemberInfo memberInfo, System.Reflection.CustomAttributeTypedArgument typedArgument) => throw null; public CustomAttributeNamedArgument(System.Reflection.MemberInfo memberInfo, object value) => throw null; + public bool Equals(System.Reflection.CustomAttributeNamedArgument other) => throw null; public override bool Equals(object obj) => throw null; public override int GetHashCode() => throw null; public bool IsField { get => throw null; } @@ -9010,8 +11476,8 @@ namespace System public System.Reflection.CustomAttributeTypedArgument TypedValue { get => throw null; } } - // Generated from `System.Reflection.CustomAttributeTypedArgument` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct CustomAttributeTypedArgument + // Generated from `System.Reflection.CustomAttributeTypedArgument` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct CustomAttributeTypedArgument : System.IEquatable { public static bool operator !=(System.Reflection.CustomAttributeTypedArgument left, System.Reflection.CustomAttributeTypedArgument right) => throw null; public static bool operator ==(System.Reflection.CustomAttributeTypedArgument left, System.Reflection.CustomAttributeTypedArgument right) => throw null; @@ -9019,20 +11485,21 @@ namespace System // Stub generator skipped constructor public CustomAttributeTypedArgument(System.Type argumentType, object value) => throw null; public CustomAttributeTypedArgument(object value) => throw null; + public bool Equals(System.Reflection.CustomAttributeTypedArgument other) => throw null; public override bool Equals(object obj) => throw null; public override int GetHashCode() => throw null; public override string ToString() => throw null; public object Value { get => throw null; } } - // Generated from `System.Reflection.DefaultMemberAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.DefaultMemberAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultMemberAttribute : System.Attribute { public DefaultMemberAttribute(string memberName) => throw null; public string MemberName { get => throw null; } } - // Generated from `System.Reflection.EventAttributes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.EventAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventAttributes : int { @@ -9042,7 +11509,7 @@ namespace System SpecialName = 512, } - // Generated from `System.Reflection.EventInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.EventInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EventInfo : System.Reflection.MemberInfo { public static bool operator !=(System.Reflection.EventInfo left, System.Reflection.EventInfo right) => throw null; @@ -9070,7 +11537,7 @@ namespace System public virtual System.Reflection.MethodInfo RemoveMethod { get => throw null; } } - // Generated from `System.Reflection.ExceptionHandlingClause` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ExceptionHandlingClause` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExceptionHandlingClause { public virtual System.Type CatchType { get => throw null; } @@ -9084,7 +11551,7 @@ namespace System public virtual int TryOffset { get => throw null; } } - // Generated from `System.Reflection.ExceptionHandlingClauseOptions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ExceptionHandlingClauseOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ExceptionHandlingClauseOptions : int { @@ -9094,7 +11561,7 @@ namespace System Finally = 2, } - // Generated from `System.Reflection.FieldAttributes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.FieldAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FieldAttributes : int { @@ -9119,7 +11586,7 @@ namespace System Static = 16, } - // Generated from `System.Reflection.FieldInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.FieldInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class FieldInfo : System.Reflection.MemberInfo { public static bool operator !=(System.Reflection.FieldInfo left, System.Reflection.FieldInfo right) => throw null; @@ -9158,7 +11625,7 @@ namespace System public virtual void SetValueDirect(System.TypedReference obj, object value) => throw null; } - // Generated from `System.Reflection.GenericParameterAttributes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.GenericParameterAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum GenericParameterAttributes : int { @@ -9172,7 +11639,7 @@ namespace System VarianceMask = 3, } - // Generated from `System.Reflection.ICustomAttributeProvider` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ICustomAttributeProvider` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomAttributeProvider { object[] GetCustomAttributes(System.Type attributeType, bool inherit); @@ -9180,7 +11647,7 @@ namespace System bool IsDefined(System.Type attributeType, bool inherit); } - // Generated from `System.Reflection.IReflect` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.IReflect` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReflect { System.Reflection.FieldInfo GetField(string name, System.Reflection.BindingFlags bindingAttr); @@ -9197,13 +11664,13 @@ namespace System System.Type UnderlyingSystemType { get; } } - // Generated from `System.Reflection.IReflectableType` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.IReflectableType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReflectableType { System.Reflection.TypeInfo GetTypeInfo(); } - // Generated from `System.Reflection.ImageFileMachine` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ImageFileMachine` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ImageFileMachine : int { AMD64 = 34404, @@ -9212,7 +11679,7 @@ namespace System IA64 = 512, } - // Generated from `System.Reflection.InterfaceMapping` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.InterfaceMapping` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct InterfaceMapping { // Stub generator skipped constructor @@ -9222,13 +11689,13 @@ namespace System public System.Type TargetType; } - // Generated from `System.Reflection.IntrospectionExtensions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.IntrospectionExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IntrospectionExtensions { public static System.Reflection.TypeInfo GetTypeInfo(this System.Type type) => throw null; } - // Generated from `System.Reflection.InvalidFilterCriteriaException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.InvalidFilterCriteriaException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidFilterCriteriaException : System.ApplicationException { public InvalidFilterCriteriaException() => throw null; @@ -9237,7 +11704,7 @@ namespace System public InvalidFilterCriteriaException(string message, System.Exception inner) => throw null; } - // Generated from `System.Reflection.LocalVariableInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.LocalVariableInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LocalVariableInfo { public virtual bool IsPinned { get => throw null; } @@ -9247,7 +11714,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.ManifestResourceInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ManifestResourceInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ManifestResourceInfo { public virtual string FileName { get => throw null; } @@ -9256,10 +11723,10 @@ namespace System public virtual System.Reflection.ResourceLocation ResourceLocation { get => throw null; } } - // Generated from `System.Reflection.MemberFilter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.MemberFilter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate bool MemberFilter(System.Reflection.MemberInfo m, object filterCriteria); - // Generated from `System.Reflection.MemberInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.MemberInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MemberInfo : System.Reflection.ICustomAttributeProvider { public static bool operator !=(System.Reflection.MemberInfo left, System.Reflection.MemberInfo right) => throw null; @@ -9282,7 +11749,7 @@ namespace System public abstract System.Type ReflectedType { get; } } - // Generated from `System.Reflection.MemberTypes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.MemberTypes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MemberTypes : int { @@ -9297,7 +11764,7 @@ namespace System TypeInfo = 32, } - // Generated from `System.Reflection.MethodAttributes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.MethodAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MethodAttributes : int { @@ -9327,7 +11794,7 @@ namespace System VtableLayoutMask = 256, } - // Generated from `System.Reflection.MethodBase` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.MethodBase` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MethodBase : System.Reflection.MemberInfo { public static bool operator !=(System.Reflection.MethodBase left, System.Reflection.MethodBase right) => throw null; @@ -9370,7 +11837,7 @@ namespace System public virtual System.Reflection.MethodImplAttributes MethodImplementationFlags { get => throw null; } } - // Generated from `System.Reflection.MethodBody` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.MethodBody` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MethodBody { public virtual System.Collections.Generic.IList ExceptionHandlingClauses { get => throw null; } @@ -9382,7 +11849,7 @@ namespace System protected MethodBody() => throw null; } - // Generated from `System.Reflection.MethodImplAttributes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.MethodImplAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MethodImplAttributes : int { AggressiveInlining = 256, @@ -9404,7 +11871,7 @@ namespace System Unmanaged = 4, } - // Generated from `System.Reflection.MethodInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.MethodInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MethodInfo : System.Reflection.MethodBase { public static bool operator !=(System.Reflection.MethodInfo left, System.Reflection.MethodInfo right) => throw null; @@ -9426,14 +11893,14 @@ namespace System public abstract System.Reflection.ICustomAttributeProvider ReturnTypeCustomAttributes { get; } } - // Generated from `System.Reflection.Missing` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Missing` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Missing : System.Runtime.Serialization.ISerializable { void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; public static System.Reflection.Missing Value; } - // Generated from `System.Reflection.Module` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Module` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Module : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.Reflection.Module left, System.Reflection.Module right) => throw null; @@ -9487,10 +11954,10 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.ModuleResolveEventHandler` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ModuleResolveEventHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.Reflection.Module ModuleResolveEventHandler(object sender, System.ResolveEventArgs e); - // Generated from `System.Reflection.NullabilityInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.NullabilityInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NullabilityInfo { public System.Reflection.NullabilityInfo ElementType { get => throw null; } @@ -9500,7 +11967,7 @@ namespace System public System.Reflection.NullabilityState WriteState { get => throw null; } } - // Generated from `System.Reflection.NullabilityInfoContext` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.NullabilityInfoContext` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NullabilityInfoContext { public System.Reflection.NullabilityInfo Create(System.Reflection.EventInfo eventInfo) => throw null; @@ -9510,7 +11977,7 @@ namespace System public NullabilityInfoContext() => throw null; } - // Generated from `System.Reflection.NullabilityState` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.NullabilityState` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NullabilityState : int { NotNull = 1, @@ -9518,7 +11985,7 @@ namespace System Unknown = 0, } - // Generated from `System.Reflection.ObfuscateAssemblyAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ObfuscateAssemblyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObfuscateAssemblyAttribute : System.Attribute { public bool AssemblyIsPrivate { get => throw null; } @@ -9526,7 +11993,7 @@ namespace System public bool StripAfterObfuscation { get => throw null; set => throw null; } } - // Generated from `System.Reflection.ObfuscationAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ObfuscationAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObfuscationAttribute : System.Attribute { public bool ApplyToMembers { get => throw null; set => throw null; } @@ -9536,7 +12003,7 @@ namespace System public bool StripAfterObfuscation { get => throw null; set => throw null; } } - // Generated from `System.Reflection.ParameterAttributes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ParameterAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ParameterAttributes : int { @@ -9553,7 +12020,7 @@ namespace System Retval = 8, } - // Generated from `System.Reflection.ParameterInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ParameterInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParameterInfo : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.IObjectReference { public virtual System.Reflection.ParameterAttributes Attributes { get => throw null; } @@ -9588,7 +12055,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.ParameterModifier` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ParameterModifier` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ParameterModifier { public bool this[int index] { get => throw null; set => throw null; } @@ -9596,7 +12063,7 @@ namespace System public ParameterModifier(int parameterCount) => throw null; } - // Generated from `System.Reflection.Pointer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.Pointer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Pointer : System.Runtime.Serialization.ISerializable { unsafe public static object Box(void* ptr, System.Type type) => throw null; @@ -9606,7 +12073,7 @@ namespace System unsafe public static void* Unbox(object ptr) => throw null; } - // Generated from `System.Reflection.PortableExecutableKinds` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PortableExecutableKinds` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PortableExecutableKinds : int { @@ -9618,7 +12085,7 @@ namespace System Unmanaged32Bit = 8, } - // Generated from `System.Reflection.ProcessorArchitecture` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ProcessorArchitecture` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProcessorArchitecture : int { Amd64 = 4, @@ -9629,7 +12096,7 @@ namespace System X86 = 2, } - // Generated from `System.Reflection.PropertyAttributes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PropertyAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PropertyAttributes : int { @@ -9643,7 +12110,7 @@ namespace System SpecialName = 512, } - // Generated from `System.Reflection.PropertyInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.PropertyInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class PropertyInfo : System.Reflection.MemberInfo { public static bool operator !=(System.Reflection.PropertyInfo left, System.Reflection.PropertyInfo right) => throw null; @@ -9678,7 +12145,7 @@ namespace System public virtual void SetValue(object obj, object value, object[] index) => throw null; } - // Generated from `System.Reflection.ReflectionContext` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ReflectionContext` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ReflectionContext { public virtual System.Reflection.TypeInfo GetTypeForObject(object value) => throw null; @@ -9687,7 +12154,7 @@ namespace System protected ReflectionContext() => throw null; } - // Generated from `System.Reflection.ReflectionTypeLoadException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ReflectionTypeLoadException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReflectionTypeLoadException : System.SystemException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -9699,7 +12166,7 @@ namespace System public System.Type[] Types { get => throw null; } } - // Generated from `System.Reflection.ResourceAttributes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ResourceAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ResourceAttributes : int { @@ -9707,7 +12174,7 @@ namespace System Public = 1, } - // Generated from `System.Reflection.ResourceLocation` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.ResourceLocation` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ResourceLocation : int { @@ -9716,7 +12183,7 @@ namespace System Embedded = 1, } - // Generated from `System.Reflection.RuntimeReflectionExtensions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.RuntimeReflectionExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class RuntimeReflectionExtensions { public static System.Reflection.MethodInfo GetMethodInfo(this System.Delegate del) => throw null; @@ -9732,7 +12199,7 @@ namespace System public static System.Reflection.PropertyInfo GetRuntimeProperty(this System.Type type, string name) => throw null; } - // Generated from `System.Reflection.StrongNameKeyPair` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.StrongNameKeyPair` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StrongNameKeyPair : System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -9744,7 +12211,7 @@ namespace System public StrongNameKeyPair(string keyPairContainer) => throw null; } - // Generated from `System.Reflection.TargetException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.TargetException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TargetException : System.ApplicationException { public TargetException() => throw null; @@ -9753,14 +12220,14 @@ namespace System public TargetException(string message, System.Exception inner) => throw null; } - // Generated from `System.Reflection.TargetInvocationException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.TargetInvocationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TargetInvocationException : System.ApplicationException { public TargetInvocationException(System.Exception inner) => throw null; public TargetInvocationException(string message, System.Exception inner) => throw null; } - // Generated from `System.Reflection.TargetParameterCountException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.TargetParameterCountException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TargetParameterCountException : System.ApplicationException { public TargetParameterCountException() => throw null; @@ -9768,7 +12235,7 @@ namespace System public TargetParameterCountException(string message, System.Exception inner) => throw null; } - // Generated from `System.Reflection.TypeAttributes` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.TypeAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TypeAttributes : int { @@ -9806,7 +12273,7 @@ namespace System WindowsRuntime = 16384, } - // Generated from `System.Reflection.TypeDelegator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.TypeDelegator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeDelegator : System.Reflection.TypeInfo { public override System.Reflection.Assembly Assembly { get => throw null; } @@ -9829,6 +12296,7 @@ namespace System public override System.Reflection.InterfaceMapping GetInterfaceMap(System.Type interfaceType) => throw null; public override System.Type[] GetInterfaces() => throw null; public override System.Reflection.MemberInfo[] GetMember(string name, System.Reflection.MemberTypes type, System.Reflection.BindingFlags bindingAttr) => throw null; + public override System.Reflection.MemberInfo GetMemberWithSameMetadataDefinitionAs(System.Reflection.MemberInfo member) => throw null; public override System.Reflection.MemberInfo[] GetMembers(System.Reflection.BindingFlags bindingAttr) => throw null; protected override System.Reflection.MethodInfo GetMethodImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) => throw null; public override System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingAttr) => throw null; @@ -9865,10 +12333,10 @@ namespace System protected System.Type typeImpl; } - // Generated from `System.Reflection.TypeFilter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.TypeFilter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate bool TypeFilter(System.Type m, object filterCriteria); - // Generated from `System.Reflection.TypeInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Reflection.TypeInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TypeInfo : System.Type, System.Reflection.IReflectableType { public virtual System.Type AsType() => throw null; @@ -9895,14 +12363,14 @@ namespace System } namespace Resources { - // Generated from `System.Resources.IResourceReader` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Resources.IResourceReader` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IResourceReader : System.Collections.IEnumerable, System.IDisposable { void Close(); System.Collections.IDictionaryEnumerator GetEnumerator(); } - // Generated from `System.Resources.MissingManifestResourceException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Resources.MissingManifestResourceException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MissingManifestResourceException : System.SystemException { public MissingManifestResourceException() => throw null; @@ -9911,7 +12379,7 @@ namespace System public MissingManifestResourceException(string message, System.Exception inner) => throw null; } - // Generated from `System.Resources.MissingSatelliteAssemblyException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Resources.MissingSatelliteAssemblyException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MissingSatelliteAssemblyException : System.SystemException { public string CultureName { get => throw null; } @@ -9922,7 +12390,7 @@ namespace System public MissingSatelliteAssemblyException(string message, string cultureName) => throw null; } - // Generated from `System.Resources.NeutralResourcesLanguageAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Resources.NeutralResourcesLanguageAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NeutralResourcesLanguageAttribute : System.Attribute { public string CultureName { get => throw null; } @@ -9931,7 +12399,7 @@ namespace System public NeutralResourcesLanguageAttribute(string cultureName, System.Resources.UltimateResourceFallbackLocation location) => throw null; } - // Generated from `System.Resources.ResourceManager` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Resources.ResourceManager` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResourceManager { public virtual string BaseName { get => throw null; } @@ -9960,7 +12428,7 @@ namespace System public virtual System.Type ResourceSetType { get => throw null; } } - // Generated from `System.Resources.ResourceReader` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Resources.ResourceReader` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResourceReader : System.Collections.IEnumerable, System.IDisposable, System.Resources.IResourceReader { public void Close() => throw null; @@ -9972,7 +12440,7 @@ namespace System public ResourceReader(string fileName) => throw null; } - // Generated from `System.Resources.ResourceSet` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Resources.ResourceSet` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResourceSet : System.Collections.IEnumerable, System.IDisposable { public virtual void Close() => throw null; @@ -9993,14 +12461,14 @@ namespace System public ResourceSet(string fileName) => throw null; } - // Generated from `System.Resources.SatelliteContractVersionAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Resources.SatelliteContractVersionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SatelliteContractVersionAttribute : System.Attribute { public SatelliteContractVersionAttribute(string version) => throw null; public string Version { get => throw null; } } - // Generated from `System.Resources.UltimateResourceFallbackLocation` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Resources.UltimateResourceFallbackLocation` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UltimateResourceFallbackLocation : int { MainAssembly = 0, @@ -10010,7 +12478,7 @@ namespace System } namespace Runtime { - // Generated from `System.Runtime.AmbiguousImplementationException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.AmbiguousImplementationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AmbiguousImplementationException : System.Exception { public AmbiguousImplementationException() => throw null; @@ -10018,14 +12486,20 @@ namespace System public AmbiguousImplementationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Runtime.AssemblyTargetedPatchBandAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.AssemblyTargetedPatchBandAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyTargetedPatchBandAttribute : System.Attribute { public AssemblyTargetedPatchBandAttribute(string targetedPatchBand) => throw null; public string TargetedPatchBand { get => throw null; } } - // Generated from `System.Runtime.DependentHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.ControlledExecution` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class ControlledExecution + { + public static void Run(System.Action action, System.Threading.CancellationToken cancellationToken) => throw null; + } + + // Generated from `System.Runtime.DependentHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DependentHandle : System.IDisposable { public object Dependent { get => throw null; set => throw null; } @@ -10037,14 +12511,14 @@ namespace System public (object, object) TargetAndDependent { get => throw null; } } - // Generated from `System.Runtime.GCLargeObjectHeapCompactionMode` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.GCLargeObjectHeapCompactionMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GCLargeObjectHeapCompactionMode : int { CompactOnce = 2, Default = 1, } - // Generated from `System.Runtime.GCLatencyMode` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.GCLatencyMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GCLatencyMode : int { Batch = 0, @@ -10054,7 +12528,7 @@ namespace System SustainedLowLatency = 3, } - // Generated from `System.Runtime.GCSettings` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.GCSettings` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class GCSettings { public static bool IsServerGC { get => throw null; } @@ -10062,7 +12536,7 @@ namespace System public static System.Runtime.GCLatencyMode LatencyMode { get => throw null; set => throw null; } } - // Generated from `System.Runtime.JitInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.JitInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class JitInfo { public static System.TimeSpan GetCompilationTime(bool currentThread = default(bool)) => throw null; @@ -10070,7 +12544,7 @@ namespace System public static System.Int64 GetCompiledMethodCount(bool currentThread = default(bool)) => throw null; } - // Generated from `System.Runtime.MemoryFailPoint` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.MemoryFailPoint` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemoryFailPoint : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.IDisposable { public void Dispose() => throw null; @@ -10078,14 +12552,14 @@ namespace System // ERR: Stub generator didn't handle member: ~MemoryFailPoint } - // Generated from `System.Runtime.ProfileOptimization` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.ProfileOptimization` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ProfileOptimization { public static void SetProfileRoot(string directoryPath) => throw null; public static void StartProfile(string profile) => throw null; } - // Generated from `System.Runtime.TargetedPatchingOptOutAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.TargetedPatchingOptOutAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TargetedPatchingOptOutAttribute : System.Attribute { public string Reason { get => throw null; } @@ -10094,14 +12568,14 @@ namespace System namespace CompilerServices { - // Generated from `System.Runtime.CompilerServices.AccessedThroughPropertyAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.AccessedThroughPropertyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AccessedThroughPropertyAttribute : System.Attribute { public AccessedThroughPropertyAttribute(string propertyName) => throw null; public string PropertyName { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.AsyncIteratorMethodBuilder` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.AsyncIteratorMethodBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncIteratorMethodBuilder { // Stub generator skipped constructor @@ -10112,26 +12586,26 @@ namespace System public void MoveNext(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine => throw null; } - // Generated from `System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsyncIteratorStateMachineAttribute : System.Runtime.CompilerServices.StateMachineAttribute { public AsyncIteratorStateMachineAttribute(System.Type stateMachineType) : base(default(System.Type)) => throw null; } - // Generated from `System.Runtime.CompilerServices.AsyncMethodBuilderAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.AsyncMethodBuilderAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsyncMethodBuilderAttribute : System.Attribute { public AsyncMethodBuilderAttribute(System.Type builderType) => throw null; public System.Type BuilderType { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.AsyncStateMachineAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.AsyncStateMachineAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsyncStateMachineAttribute : System.Runtime.CompilerServices.StateMachineAttribute { public AsyncStateMachineAttribute(System.Type stateMachineType) : base(default(System.Type)) => throw null; } - // Generated from `System.Runtime.CompilerServices.AsyncTaskMethodBuilder` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.AsyncTaskMethodBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncTaskMethodBuilder { // Stub generator skipped constructor @@ -10145,7 +12619,7 @@ namespace System public System.Threading.Tasks.Task Task { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.AsyncTaskMethodBuilder<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.AsyncTaskMethodBuilder<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncTaskMethodBuilder { // Stub generator skipped constructor @@ -10159,7 +12633,7 @@ namespace System public System.Threading.Tasks.Task Task { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncValueTaskMethodBuilder { // Stub generator skipped constructor @@ -10173,7 +12647,7 @@ namespace System public System.Threading.Tasks.ValueTask Task { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncValueTaskMethodBuilder { // Stub generator skipped constructor @@ -10187,7 +12661,7 @@ namespace System public System.Threading.Tasks.ValueTask Task { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.AsyncVoidMethodBuilder` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.AsyncVoidMethodBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncVoidMethodBuilder { // Stub generator skipped constructor @@ -10200,75 +12674,75 @@ namespace System public void Start(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine => throw null; } - // Generated from `System.Runtime.CompilerServices.CallConvCdecl` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallConvCdecl` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallConvCdecl { public CallConvCdecl() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallConvFastcall` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallConvFastcall` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallConvFastcall { public CallConvFastcall() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallConvMemberFunction` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallConvMemberFunction` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallConvMemberFunction { public CallConvMemberFunction() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallConvStdcall` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallConvStdcall` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallConvStdcall { public CallConvStdcall() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallConvSuppressGCTransition` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallConvSuppressGCTransition` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallConvSuppressGCTransition { public CallConvSuppressGCTransition() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallConvThiscall` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallConvThiscall` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallConvThiscall { public CallConvThiscall() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallerArgumentExpressionAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallerArgumentExpressionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallerArgumentExpressionAttribute : System.Attribute { public CallerArgumentExpressionAttribute(string parameterName) => throw null; public string ParameterName { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.CallerFilePathAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallerFilePathAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallerFilePathAttribute : System.Attribute { public CallerFilePathAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallerLineNumberAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallerLineNumberAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallerLineNumberAttribute : System.Attribute { public CallerLineNumberAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallerMemberNameAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CallerMemberNameAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallerMemberNameAttribute : System.Attribute { public CallerMemberNameAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.CompilationRelaxations` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CompilationRelaxations` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CompilationRelaxations : int { NoStringInterning = 8, } - // Generated from `System.Runtime.CompilerServices.CompilationRelaxationsAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CompilationRelaxationsAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompilationRelaxationsAttribute : System.Attribute { public int CompilationRelaxations { get => throw null; } @@ -10276,22 +12750,32 @@ namespace System public CompilationRelaxationsAttribute(int relaxations) => throw null; } - // Generated from `System.Runtime.CompilerServices.CompilerGeneratedAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CompilerFeatureRequiredAttribute : System.Attribute + { + public CompilerFeatureRequiredAttribute(string featureName) => throw null; + public string FeatureName { get => throw null; } + public bool IsOptional { get => throw null; set => throw null; } + public const string RefStructs = default; + public const string RequiredMembers = default; + } + + // Generated from `System.Runtime.CompilerServices.CompilerGeneratedAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompilerGeneratedAttribute : System.Attribute { public CompilerGeneratedAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.CompilerGlobalScopeAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CompilerGlobalScopeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompilerGlobalScopeAttribute : System.Attribute { public CompilerGlobalScopeAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.ConditionalWeakTable<,>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ConditionalWeakTable<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConditionalWeakTable : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable where TKey : class where TValue : class { - // Generated from `System.Runtime.CompilerServices.ConditionalWeakTable<,>+CreateValueCallback` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ConditionalWeakTable<,>+CreateValueCallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TValue CreateValueCallback(TKey key); @@ -10304,20 +12788,21 @@ namespace System public TValue GetOrCreateValue(TKey key) => throw null; public TValue GetValue(TKey key, System.Runtime.CompilerServices.ConditionalWeakTable.CreateValueCallback createValueCallback) => throw null; public bool Remove(TKey key) => throw null; + public bool TryAdd(TKey key, TValue value) => throw null; public bool TryGetValue(TKey key, out TValue value) => throw null; } - // Generated from `System.Runtime.CompilerServices.ConfiguredAsyncDisposable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ConfiguredAsyncDisposable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredAsyncDisposable { // Stub generator skipped constructor public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable DisposeAsync() => throw null; } - // Generated from `System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredCancelableAsyncEnumerable { - // Generated from `System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<>+Enumerator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<>+Enumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator { public T Current { get => throw null; } @@ -10333,10 +12818,10 @@ namespace System public System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable WithCancellation(System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Runtime.CompilerServices.ConfiguredTaskAwaitable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ConfiguredTaskAwaitable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredTaskAwaitable { - // Generated from `System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { // Stub generator skipped constructor @@ -10351,10 +12836,10 @@ namespace System public System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter() => throw null; } - // Generated from `System.Runtime.CompilerServices.ConfiguredTaskAwaitable<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ConfiguredTaskAwaitable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredTaskAwaitable { - // Generated from `System.Runtime.CompilerServices.ConfiguredTaskAwaitable<>+ConfiguredTaskAwaiter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ConfiguredTaskAwaitable<>+ConfiguredTaskAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { // Stub generator skipped constructor @@ -10369,10 +12854,10 @@ namespace System public System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter() => throw null; } - // Generated from `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredValueTaskAwaitable { - // Generated from `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable+ConfiguredValueTaskAwaiter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable+ConfiguredValueTaskAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { // Stub generator skipped constructor @@ -10387,10 +12872,10 @@ namespace System public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter GetAwaiter() => throw null; } - // Generated from `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredValueTaskAwaitable { - // Generated from `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<>+ConfiguredValueTaskAwaiter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<>+ConfiguredValueTaskAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { // Stub generator skipped constructor @@ -10405,21 +12890,21 @@ namespace System public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter GetAwaiter() => throw null; } - // Generated from `System.Runtime.CompilerServices.CustomConstantAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.CustomConstantAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CustomConstantAttribute : System.Attribute { protected CustomConstantAttribute() => throw null; public abstract object Value { get; } } - // Generated from `System.Runtime.CompilerServices.DateTimeConstantAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.DateTimeConstantAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateTimeConstantAttribute : System.Runtime.CompilerServices.CustomConstantAttribute { public DateTimeConstantAttribute(System.Int64 ticks) => throw null; public override object Value { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.DecimalConstantAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.DecimalConstantAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecimalConstantAttribute : System.Attribute { public DecimalConstantAttribute(System.Byte scale, System.Byte sign, int hi, int mid, int low) => throw null; @@ -10427,14 +12912,14 @@ namespace System public System.Decimal Value { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.DefaultDependencyAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.DefaultDependencyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultDependencyAttribute : System.Attribute { public DefaultDependencyAttribute(System.Runtime.CompilerServices.LoadHint loadHintArgument) => throw null; public System.Runtime.CompilerServices.LoadHint LoadHint { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.DefaultInterpolatedStringHandler` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.DefaultInterpolatedStringHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DefaultInterpolatedStringHandler { public void AppendFormatted(System.ReadOnlySpan value) => throw null; @@ -10455,7 +12940,7 @@ namespace System public string ToStringAndClear() => throw null; } - // Generated from `System.Runtime.CompilerServices.DependencyAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.DependencyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DependencyAttribute : System.Attribute { public DependencyAttribute(string dependentAssemblyArgument, System.Runtime.CompilerServices.LoadHint loadHintArgument) => throw null; @@ -10463,37 +12948,43 @@ namespace System public System.Runtime.CompilerServices.LoadHint LoadHint { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.DisablePrivateReflectionAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.DisablePrivateReflectionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DisablePrivateReflectionAttribute : System.Attribute { public DisablePrivateReflectionAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.DiscardableAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class DisableRuntimeMarshallingAttribute : System.Attribute + { + public DisableRuntimeMarshallingAttribute() => throw null; + } + + // Generated from `System.Runtime.CompilerServices.DiscardableAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DiscardableAttribute : System.Attribute { public DiscardableAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.EnumeratorCancellationAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.EnumeratorCancellationAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumeratorCancellationAttribute : System.Attribute { public EnumeratorCancellationAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.ExtensionAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ExtensionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExtensionAttribute : System.Attribute { public ExtensionAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.FixedAddressValueTypeAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.FixedAddressValueTypeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FixedAddressValueTypeAttribute : System.Attribute { public FixedAddressValueTypeAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.FixedBufferAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.FixedBufferAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FixedBufferAttribute : System.Attribute { public System.Type ElementType { get => throw null; } @@ -10501,51 +12992,51 @@ namespace System public int Length { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.FormattableStringFactory` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.FormattableStringFactory` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class FormattableStringFactory { public static System.FormattableString Create(string format, params object[] arguments) => throw null; } - // Generated from `System.Runtime.CompilerServices.IAsyncStateMachine` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IAsyncStateMachine` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAsyncStateMachine { void MoveNext(); void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine); } - // Generated from `System.Runtime.CompilerServices.ICriticalNotifyCompletion` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ICriticalNotifyCompletion` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICriticalNotifyCompletion : System.Runtime.CompilerServices.INotifyCompletion { void UnsafeOnCompleted(System.Action continuation); } - // Generated from `System.Runtime.CompilerServices.INotifyCompletion` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.INotifyCompletion` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INotifyCompletion { void OnCompleted(System.Action continuation); } - // Generated from `System.Runtime.CompilerServices.IStrongBox` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IStrongBox` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IStrongBox { object Value { get; set; } } - // Generated from `System.Runtime.CompilerServices.ITuple` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ITuple` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITuple { object this[int index] { get; } int Length { get; } } - // Generated from `System.Runtime.CompilerServices.IndexerNameAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IndexerNameAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IndexerNameAttribute : System.Attribute { public IndexerNameAttribute(string indexerName) => throw null; } - // Generated from `System.Runtime.CompilerServices.InternalsVisibleToAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.InternalsVisibleToAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InternalsVisibleToAttribute : System.Attribute { public bool AllInternalsVisible { get => throw null; set => throw null; } @@ -10553,7 +13044,7 @@ namespace System public InternalsVisibleToAttribute(string assemblyName) => throw null; } - // Generated from `System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InterpolatedStringHandlerArgumentAttribute : System.Attribute { public string[] Arguments { get => throw null; } @@ -10561,46 +13052,46 @@ namespace System public InterpolatedStringHandlerArgumentAttribute(string argument) => throw null; } - // Generated from `System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InterpolatedStringHandlerAttribute : System.Attribute { public InterpolatedStringHandlerAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.IsByRefLikeAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsByRefLikeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IsByRefLikeAttribute : System.Attribute { public IsByRefLikeAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.IsConst` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsConst` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsConst { } - // Generated from `System.Runtime.CompilerServices.IsExternalInit` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsExternalInit` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsExternalInit { } - // Generated from `System.Runtime.CompilerServices.IsReadOnlyAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class IsReadOnlyAttribute : System.Attribute + // Generated from `System.Runtime.CompilerServices.IsReadOnlyAttribute` in `Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed; System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public partial class IsReadOnlyAttribute : System.Attribute { public IsReadOnlyAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.IsVolatile` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IsVolatile` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsVolatile { } - // Generated from `System.Runtime.CompilerServices.IteratorStateMachineAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.IteratorStateMachineAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IteratorStateMachineAttribute : System.Runtime.CompilerServices.StateMachineAttribute { public IteratorStateMachineAttribute(System.Type stateMachineType) : base(default(System.Type)) => throw null; } - // Generated from `System.Runtime.CompilerServices.LoadHint` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.LoadHint` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LoadHint : int { Always = 1, @@ -10608,7 +13099,7 @@ namespace System Sometimes = 2, } - // Generated from `System.Runtime.CompilerServices.MethodCodeType` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.MethodCodeType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MethodCodeType : int { IL = 0, @@ -10617,7 +13108,7 @@ namespace System Runtime = 3, } - // Generated from `System.Runtime.CompilerServices.MethodImplAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.MethodImplAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MethodImplAttribute : System.Attribute { public System.Runtime.CompilerServices.MethodCodeType MethodCodeType; @@ -10627,7 +13118,7 @@ namespace System public System.Runtime.CompilerServices.MethodImplOptions Value { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.MethodImplOptions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.MethodImplOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MethodImplOptions : int { @@ -10642,13 +13133,13 @@ namespace System Unmanaged = 4, } - // Generated from `System.Runtime.CompilerServices.ModuleInitializerAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ModuleInitializerAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ModuleInitializerAttribute : System.Attribute { public ModuleInitializerAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PoolingAsyncValueTaskMethodBuilder { public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine => throw null; @@ -10662,7 +13153,7 @@ namespace System public System.Threading.Tasks.ValueTask Task { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PoolingAsyncValueTaskMethodBuilder { public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine => throw null; @@ -10676,13 +13167,13 @@ namespace System public System.Threading.Tasks.ValueTask Task { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.PreserveBaseOverridesAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.PreserveBaseOverridesAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PreserveBaseOverridesAttribute : System.Attribute { public PreserveBaseOverridesAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.ReferenceAssemblyAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ReferenceAssemblyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReferenceAssemblyAttribute : System.Attribute { public string Description { get => throw null; } @@ -10690,38 +13181,47 @@ namespace System public ReferenceAssemblyAttribute(string description) => throw null; } - // Generated from `System.Runtime.CompilerServices.RuntimeCompatibilityAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.RequiredMemberAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RequiredMemberAttribute : System.Attribute + { + public RequiredMemberAttribute() => throw null; + } + + // Generated from `System.Runtime.CompilerServices.RuntimeCompatibilityAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RuntimeCompatibilityAttribute : System.Attribute { public RuntimeCompatibilityAttribute() => throw null; public bool WrapNonExceptionThrows { get => throw null; set => throw null; } } - // Generated from `System.Runtime.CompilerServices.RuntimeFeature` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.RuntimeFeature` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class RuntimeFeature { + public const string ByRefFields = default; public const string CovariantReturnsOfClasses = default; public const string DefaultImplementationsOfInterfaces = default; public static bool IsDynamicCodeCompiled { get => throw null; } public static bool IsDynamicCodeSupported { get => throw null; } public static bool IsSupported(string feature) => throw null; + public const string NumericIntPtr = default; public const string PortablePdb = default; public const string UnmanagedSignatureCallingConvention = default; public const string VirtualStaticsInInterfaces = default; } - // Generated from `System.Runtime.CompilerServices.RuntimeHelpers` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.RuntimeHelpers` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class RuntimeHelpers { - // Generated from `System.Runtime.CompilerServices.RuntimeHelpers+CleanupCode` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.RuntimeHelpers+CleanupCode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void CleanupCode(object userData, bool exceptionThrown); - // Generated from `System.Runtime.CompilerServices.RuntimeHelpers+TryCode` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.RuntimeHelpers+TryCode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void TryCode(object userData); public static System.IntPtr AllocateTypeAssociatedMemory(System.Type type, int size) => throw null; + public static System.ReadOnlySpan CreateSpan(System.RuntimeFieldHandle fldHandle) => throw null; public static void EnsureSufficientExecutionStack() => throw null; public static bool Equals(object o1, object o2) => throw null; public static void ExecuteCodeWithGuaranteedCleanup(System.Runtime.CompilerServices.RuntimeHelpers.TryCode code, System.Runtime.CompilerServices.RuntimeHelpers.CleanupCode backoutCode, object userData) => throw null; @@ -10744,7 +13244,7 @@ namespace System public static bool TryEnsureSufficientExecutionStack() => throw null; } - // Generated from `System.Runtime.CompilerServices.RuntimeWrappedException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.RuntimeWrappedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RuntimeWrappedException : System.Exception { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -10752,32 +13252,32 @@ namespace System public object WrappedException { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.SkipLocalsInitAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.SkipLocalsInitAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SkipLocalsInitAttribute : System.Attribute { public SkipLocalsInitAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.SpecialNameAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.SpecialNameAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SpecialNameAttribute : System.Attribute { public SpecialNameAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.StateMachineAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.StateMachineAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StateMachineAttribute : System.Attribute { public StateMachineAttribute(System.Type stateMachineType) => throw null; public System.Type StateMachineType { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.StringFreezingAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.StringFreezingAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringFreezingAttribute : System.Attribute { public StringFreezingAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.StrongBox<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.StrongBox<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StrongBox : System.Runtime.CompilerServices.IStrongBox { public StrongBox() => throw null; @@ -10786,13 +13286,13 @@ namespace System object System.Runtime.CompilerServices.IStrongBox.Value { get => throw null; set => throw null; } } - // Generated from `System.Runtime.CompilerServices.SuppressIldasmAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.SuppressIldasmAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SuppressIldasmAttribute : System.Attribute { public SuppressIldasmAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.SwitchExpressionException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.SwitchExpressionException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SwitchExpressionException : System.InvalidOperationException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -10805,7 +13305,7 @@ namespace System public object UnmatchedValue { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.TaskAwaiter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.TaskAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { public void GetResult() => throw null; @@ -10815,7 +13315,7 @@ namespace System public void UnsafeOnCompleted(System.Action continuation) => throw null; } - // Generated from `System.Runtime.CompilerServices.TaskAwaiter<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.TaskAwaiter<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { public TResult GetResult() => throw null; @@ -10825,34 +13325,81 @@ namespace System public void UnsafeOnCompleted(System.Action continuation) => throw null; } - // Generated from `System.Runtime.CompilerServices.TupleElementNamesAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.TupleElementNamesAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TupleElementNamesAttribute : System.Attribute { public System.Collections.Generic.IList TransformNames { get => throw null; } public TupleElementNamesAttribute(string[] transformNames) => throw null; } - // Generated from `System.Runtime.CompilerServices.TypeForwardedFromAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.TypeForwardedFromAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeForwardedFromAttribute : System.Attribute { public string AssemblyFullName { get => throw null; } public TypeForwardedFromAttribute(string assemblyFullName) => throw null; } - // Generated from `System.Runtime.CompilerServices.TypeForwardedToAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.TypeForwardedToAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeForwardedToAttribute : System.Attribute { public System.Type Destination { get => throw null; } public TypeForwardedToAttribute(System.Type destination) => throw null; } - // Generated from `System.Runtime.CompilerServices.UnsafeValueTypeAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.Unsafe` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class Unsafe + { + unsafe public static void* Add(void* source, int elementOffset) => throw null; + public static T Add(ref T source, System.IntPtr elementOffset) => throw null; + public static T Add(ref T source, System.UIntPtr elementOffset) => throw null; + public static T Add(ref T source, int elementOffset) => throw null; + public static T AddByteOffset(ref T source, System.IntPtr byteOffset) => throw null; + public static T AddByteOffset(ref T source, System.UIntPtr byteOffset) => throw null; + public static bool AreSame(ref T left, ref T right) => throw null; + public static T As(object o) where T : class => throw null; + public static TTo As(ref TFrom source) => throw null; + unsafe public static void* AsPointer(ref T value) => throw null; + public static T AsRef(T source) => throw null; + unsafe public static T AsRef(void* source) => throw null; + public static System.IntPtr ByteOffset(ref T origin, ref T target) => throw null; + unsafe public static void Copy(void* destination, ref T source) => throw null; + unsafe public static void Copy(ref T destination, void* source) => throw null; + unsafe public static void CopyBlock(void* destination, void* source, System.UInt32 byteCount) => throw null; + public static void CopyBlock(ref System.Byte destination, ref System.Byte source, System.UInt32 byteCount) => throw null; + unsafe public static void CopyBlockUnaligned(void* destination, void* source, System.UInt32 byteCount) => throw null; + public static void CopyBlockUnaligned(ref System.Byte destination, ref System.Byte source, System.UInt32 byteCount) => throw null; + unsafe public static void InitBlock(void* startAddress, System.Byte value, System.UInt32 byteCount) => throw null; + public static void InitBlock(ref System.Byte startAddress, System.Byte value, System.UInt32 byteCount) => throw null; + unsafe public static void InitBlockUnaligned(void* startAddress, System.Byte value, System.UInt32 byteCount) => throw null; + public static void InitBlockUnaligned(ref System.Byte startAddress, System.Byte value, System.UInt32 byteCount) => throw null; + public static bool IsAddressGreaterThan(ref T left, ref T right) => throw null; + public static bool IsAddressLessThan(ref T left, ref T right) => throw null; + public static bool IsNullRef(ref T source) => throw null; + public static T NullRef() => throw null; + unsafe public static T Read(void* source) => throw null; + unsafe public static T ReadUnaligned(void* source) => throw null; + public static T ReadUnaligned(ref System.Byte source) => throw null; + public static int SizeOf() => throw null; + public static void SkipInit(out T value) => throw null; + unsafe public static void* Subtract(void* source, int elementOffset) => throw null; + public static T Subtract(ref T source, System.IntPtr elementOffset) => throw null; + public static T Subtract(ref T source, System.UIntPtr elementOffset) => throw null; + public static T Subtract(ref T source, int elementOffset) => throw null; + public static T SubtractByteOffset(ref T source, System.IntPtr byteOffset) => throw null; + public static T SubtractByteOffset(ref T source, System.UIntPtr byteOffset) => throw null; + public static T Unbox(object box) where T : struct => throw null; + unsafe public static void Write(void* destination, T value) => throw null; + unsafe public static void WriteUnaligned(void* destination, T value) => throw null; + public static void WriteUnaligned(ref System.Byte destination, T value) => throw null; + } + + // Generated from `System.Runtime.CompilerServices.UnsafeValueTypeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnsafeValueTypeAttribute : System.Attribute { public UnsafeValueTypeAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.ValueTaskAwaiter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ValueTaskAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { public void GetResult() => throw null; @@ -10862,7 +13409,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Runtime.CompilerServices.ValueTaskAwaiter<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.ValueTaskAwaiter<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { public TResult GetResult() => throw null; @@ -10872,10 +13419,10 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Runtime.CompilerServices.YieldAwaitable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.YieldAwaitable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct YieldAwaitable { - // Generated from `System.Runtime.CompilerServices.YieldAwaitable+YieldAwaiter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.CompilerServices.YieldAwaitable+YieldAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct YieldAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { public void GetResult() => throw null; @@ -10893,7 +13440,7 @@ namespace System } namespace ConstrainedExecution { - // Generated from `System.Runtime.ConstrainedExecution.Cer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.ConstrainedExecution.Cer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum Cer : int { MayFail = 1, @@ -10901,7 +13448,7 @@ namespace System Success = 2, } - // Generated from `System.Runtime.ConstrainedExecution.Consistency` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.ConstrainedExecution.Consistency` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum Consistency : int { MayCorruptAppDomain = 1, @@ -10910,20 +13457,20 @@ namespace System WillNotCorruptState = 3, } - // Generated from `System.Runtime.ConstrainedExecution.CriticalFinalizerObject` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.ConstrainedExecution.CriticalFinalizerObject` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CriticalFinalizerObject { protected CriticalFinalizerObject() => throw null; // ERR: Stub generator didn't handle member: ~CriticalFinalizerObject } - // Generated from `System.Runtime.ConstrainedExecution.PrePrepareMethodAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.ConstrainedExecution.PrePrepareMethodAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PrePrepareMethodAttribute : System.Attribute { public PrePrepareMethodAttribute() => throw null; } - // Generated from `System.Runtime.ConstrainedExecution.ReliabilityContractAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.ConstrainedExecution.ReliabilityContractAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReliabilityContractAttribute : System.Attribute { public System.Runtime.ConstrainedExecution.Cer Cer { get => throw null; } @@ -10934,7 +13481,7 @@ namespace System } namespace ExceptionServices { - // Generated from `System.Runtime.ExceptionServices.ExceptionDispatchInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.ExceptionServices.ExceptionDispatchInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExceptionDispatchInfo { public static System.Runtime.ExceptionServices.ExceptionDispatchInfo Capture(System.Exception source) => throw null; @@ -10945,14 +13492,14 @@ namespace System public static void Throw(System.Exception source) => throw null; } - // Generated from `System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FirstChanceExceptionEventArgs : System.EventArgs { public System.Exception Exception { get => throw null; } public FirstChanceExceptionEventArgs(System.Exception exception) => throw null; } - // Generated from `System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HandleProcessCorruptedStateExceptionsAttribute : System.Attribute { public HandleProcessCorruptedStateExceptionsAttribute() => throw null; @@ -10961,7 +13508,21 @@ namespace System } namespace InteropServices { - // Generated from `System.Runtime.InteropServices.CharSet` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.Architecture` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum Architecture : int + { + Arm = 2, + Arm64 = 3, + Armv6 = 7, + LoongArch64 = 6, + Ppc64le = 8, + S390x = 5, + Wasm = 4, + X64 = 1, + X86 = 0, + } + + // Generated from `System.Runtime.InteropServices.CharSet` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CharSet : int { Ansi = 2, @@ -10970,14 +13531,14 @@ namespace System Unicode = 3, } - // Generated from `System.Runtime.InteropServices.ComVisibleAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ComVisibleAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComVisibleAttribute : System.Attribute { public ComVisibleAttribute(bool visibility) => throw null; public bool Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.CriticalHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.CriticalHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CriticalHandle : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.IDisposable { public void Close() => throw null; @@ -10993,7 +13554,7 @@ namespace System // ERR: Stub generator didn't handle member: ~CriticalHandle } - // Generated from `System.Runtime.InteropServices.ExternalException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.ExternalException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExternalException : System.SystemException { public virtual int ErrorCode { get => throw null; } @@ -11005,21 +13566,22 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Runtime.InteropServices.FieldOffsetAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.FieldOffsetAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FieldOffsetAttribute : System.Attribute { public FieldOffsetAttribute(int offset) => throw null; public int Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.GCHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct GCHandle + // Generated from `System.Runtime.InteropServices.GCHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct GCHandle : System.IEquatable { public static bool operator !=(System.Runtime.InteropServices.GCHandle a, System.Runtime.InteropServices.GCHandle b) => throw null; public static bool operator ==(System.Runtime.InteropServices.GCHandle a, System.Runtime.InteropServices.GCHandle b) => throw null; public System.IntPtr AddrOfPinnedObject() => throw null; public static System.Runtime.InteropServices.GCHandle Alloc(object value) => throw null; public static System.Runtime.InteropServices.GCHandle Alloc(object value, System.Runtime.InteropServices.GCHandleType type) => throw null; + public bool Equals(System.Runtime.InteropServices.GCHandle other) => throw null; public override bool Equals(object o) => throw null; public void Free() => throw null; public static System.Runtime.InteropServices.GCHandle FromIntPtr(System.IntPtr value) => throw null; @@ -11032,7 +13594,7 @@ namespace System public static explicit operator System.Runtime.InteropServices.GCHandle(System.IntPtr value) => throw null; } - // Generated from `System.Runtime.InteropServices.GCHandleType` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.GCHandleType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GCHandleType : int { Normal = 2, @@ -11041,13 +13603,13 @@ namespace System WeakTrackResurrection = 1, } - // Generated from `System.Runtime.InteropServices.InAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.InAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InAttribute : System.Attribute { public InAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.LayoutKind` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.LayoutKind` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LayoutKind : int { Auto = 3, @@ -11055,13 +13617,41 @@ namespace System Sequential = 0, } - // Generated from `System.Runtime.InteropServices.OutAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.OSPlatform` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct OSPlatform : System.IEquatable + { + public static bool operator !=(System.Runtime.InteropServices.OSPlatform left, System.Runtime.InteropServices.OSPlatform right) => throw null; + public static bool operator ==(System.Runtime.InteropServices.OSPlatform left, System.Runtime.InteropServices.OSPlatform right) => throw null; + public static System.Runtime.InteropServices.OSPlatform Create(string osPlatform) => throw null; + public bool Equals(System.Runtime.InteropServices.OSPlatform other) => throw null; + public override bool Equals(object obj) => throw null; + public static System.Runtime.InteropServices.OSPlatform FreeBSD { get => throw null; } + public override int GetHashCode() => throw null; + public static System.Runtime.InteropServices.OSPlatform Linux { get => throw null; } + // Stub generator skipped constructor + public static System.Runtime.InteropServices.OSPlatform OSX { get => throw null; } + public override string ToString() => throw null; + public static System.Runtime.InteropServices.OSPlatform Windows { get => throw null; } + } + + // Generated from `System.Runtime.InteropServices.OutAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OutAttribute : System.Attribute { public OutAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.SafeBuffer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.RuntimeInformation` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class RuntimeInformation + { + public static string FrameworkDescription { get => throw null; } + public static bool IsOSPlatform(System.Runtime.InteropServices.OSPlatform osPlatform) => throw null; + public static System.Runtime.InteropServices.Architecture OSArchitecture { get => throw null; } + public static string OSDescription { get => throw null; } + public static System.Runtime.InteropServices.Architecture ProcessArchitecture { get => throw null; } + public static string RuntimeIdentifier { get => throw null; } + } + + // Generated from `System.Runtime.InteropServices.SafeBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SafeBuffer : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { unsafe public void AcquirePointer(ref System.Byte* pointer) => throw null; @@ -11079,7 +13669,7 @@ namespace System public void WriteSpan(System.UInt64 byteOffset, System.ReadOnlySpan data) where T : struct => throw null; } - // Generated from `System.Runtime.InteropServices.SafeHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.SafeHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SafeHandle : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.IDisposable { public void Close() => throw null; @@ -11098,7 +13688,7 @@ namespace System // ERR: Stub generator didn't handle member: ~SafeHandle } - // Generated from `System.Runtime.InteropServices.StructLayoutAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.StructLayoutAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StructLayoutAttribute : System.Attribute { public System.Runtime.InteropServices.CharSet CharSet; @@ -11109,16 +13699,162 @@ namespace System public System.Runtime.InteropServices.LayoutKind Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.SuppressGCTransitionAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.InteropServices.SuppressGCTransitionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SuppressGCTransitionAttribute : System.Attribute { public SuppressGCTransitionAttribute() => throw null; } + // Generated from `System.Runtime.InteropServices.UnmanagedType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum UnmanagedType : int + { + AnsiBStr = 35, + AsAny = 40, + BStr = 19, + Bool = 2, + ByValArray = 30, + ByValTStr = 23, + Currency = 15, + CustomMarshaler = 44, + Error = 45, + FunctionPtr = 38, + HString = 47, + I1 = 3, + I2 = 5, + I4 = 7, + I8 = 9, + IDispatch = 26, + IInspectable = 46, + IUnknown = 25, + Interface = 28, + LPArray = 42, + LPStr = 20, + LPStruct = 43, + LPTStr = 22, + LPUTF8Str = 48, + LPWStr = 21, + R4 = 11, + R8 = 12, + SafeArray = 29, + Struct = 27, + SysInt = 31, + SysUInt = 32, + TBStr = 36, + U1 = 4, + U2 = 6, + U4 = 8, + U8 = 10, + VBByRefStr = 34, + VariantBool = 37, + } + + namespace Marshalling + { + // Generated from `System.Runtime.InteropServices.Marshalling.ContiguousCollectionMarshallerAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class ContiguousCollectionMarshallerAttribute : System.Attribute + { + public ContiguousCollectionMarshallerAttribute() => throw null; + } + + // Generated from `System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CustomMarshallerAttribute : System.Attribute + { + // Generated from `System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct GenericPlaceholder + { + // Stub generator skipped constructor + } + + + public CustomMarshallerAttribute(System.Type managedType, System.Runtime.InteropServices.Marshalling.MarshalMode marshalMode, System.Type marshallerType) => throw null; + public System.Type ManagedType { get => throw null; } + public System.Runtime.InteropServices.Marshalling.MarshalMode MarshalMode { get => throw null; } + public System.Type MarshallerType { get => throw null; } + } + + // Generated from `System.Runtime.InteropServices.Marshalling.MarshalMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum MarshalMode : int + { + Default = 0, + ElementIn = 7, + ElementOut = 9, + ElementRef = 8, + ManagedToUnmanagedIn = 1, + ManagedToUnmanagedOut = 3, + ManagedToUnmanagedRef = 2, + UnmanagedToManagedIn = 4, + UnmanagedToManagedOut = 6, + UnmanagedToManagedRef = 5, + } + + // Generated from `System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class NativeMarshallingAttribute : System.Attribute + { + public NativeMarshallingAttribute(System.Type nativeType) => throw null; + public System.Type NativeType { get => throw null; } + } + + // Generated from `System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class ReadOnlySpanMarshaller where TUnmanagedElement : unmanaged + { + // Generated from `System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>+ManagedToUnmanagedIn` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ManagedToUnmanagedIn + { + public static int BufferSize { get => throw null; } + public void Free() => throw null; + public void FromManaged(System.ReadOnlySpan managed, System.Span buffer) => throw null; + public System.ReadOnlySpan GetManagedValuesSource() => throw null; + public TUnmanagedElement GetPinnableReference() => throw null; + public static T GetPinnableReference(System.ReadOnlySpan managed) => throw null; + public System.Span GetUnmanagedValuesDestination() => throw null; + // Stub generator skipped constructor + unsafe public TUnmanagedElement* ToUnmanaged() => throw null; + } + + + // Generated from `System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>+UnmanagedToManagedOut` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class UnmanagedToManagedOut + { + unsafe public static TUnmanagedElement* AllocateContainerForUnmanagedElements(System.ReadOnlySpan managed, out int numElements) => throw null; + public static System.ReadOnlySpan GetManagedValuesSource(System.ReadOnlySpan managed) => throw null; + unsafe public static System.Span GetUnmanagedValuesDestination(TUnmanagedElement* unmanaged, int numElements) => throw null; + } + + + } + + // Generated from `System.Runtime.InteropServices.Marshalling.SpanMarshaller<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class SpanMarshaller where TUnmanagedElement : unmanaged + { + // Generated from `System.Runtime.InteropServices.Marshalling.SpanMarshaller<,>+ManagedToUnmanagedIn` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ManagedToUnmanagedIn + { + public static int BufferSize { get => throw null; } + public void Free() => throw null; + public void FromManaged(System.Span managed, System.Span buffer) => throw null; + public System.ReadOnlySpan GetManagedValuesSource() => throw null; + public TUnmanagedElement GetPinnableReference() => throw null; + public static T GetPinnableReference(System.Span managed) => throw null; + public System.Span GetUnmanagedValuesDestination() => throw null; + // Stub generator skipped constructor + unsafe public TUnmanagedElement* ToUnmanaged() => throw null; + } + + + unsafe public static System.Span AllocateContainerForManagedElements(TUnmanagedElement* unmanaged, int numElements) => throw null; + unsafe public static TUnmanagedElement* AllocateContainerForUnmanagedElements(System.Span managed, out int numElements) => throw null; + unsafe public static void Free(TUnmanagedElement* unmanaged) => throw null; + public static System.Span GetManagedValuesDestination(System.Span managed) => throw null; + public static System.ReadOnlySpan GetManagedValuesSource(System.Span managed) => throw null; + unsafe public static System.Span GetUnmanagedValuesDestination(TUnmanagedElement* unmanaged, int numElements) => throw null; + unsafe public static System.ReadOnlySpan GetUnmanagedValuesSource(TUnmanagedElement* unmanaged, int numElements) => throw null; + } + + } } namespace Remoting { - // Generated from `System.Runtime.Remoting.ObjectHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Remoting.ObjectHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectHandle : System.MarshalByRefObject { public ObjectHandle(object o) => throw null; @@ -11128,13 +13864,13 @@ namespace System } namespace Serialization { - // Generated from `System.Runtime.Serialization.IDeserializationCallback` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.IDeserializationCallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDeserializationCallback { void OnDeserialization(object sender); } - // Generated from `System.Runtime.Serialization.IFormatterConverter` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.IFormatterConverter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFormatterConverter { object Convert(object value, System.Type type); @@ -11156,63 +13892,63 @@ namespace System System.UInt64 ToUInt64(object value); } - // Generated from `System.Runtime.Serialization.IObjectReference` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.IObjectReference` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IObjectReference { object GetRealObject(System.Runtime.Serialization.StreamingContext context); } - // Generated from `System.Runtime.Serialization.ISafeSerializationData` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.ISafeSerializationData` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISafeSerializationData { void CompleteDeserialization(object deserialized); } - // Generated from `System.Runtime.Serialization.ISerializable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.ISerializable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISerializable { void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); } - // Generated from `System.Runtime.Serialization.OnDeserializedAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.OnDeserializedAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OnDeserializedAttribute : System.Attribute { public OnDeserializedAttribute() => throw null; } - // Generated from `System.Runtime.Serialization.OnDeserializingAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.OnDeserializingAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OnDeserializingAttribute : System.Attribute { public OnDeserializingAttribute() => throw null; } - // Generated from `System.Runtime.Serialization.OnSerializedAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.OnSerializedAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OnSerializedAttribute : System.Attribute { public OnSerializedAttribute() => throw null; } - // Generated from `System.Runtime.Serialization.OnSerializingAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.OnSerializingAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OnSerializingAttribute : System.Attribute { public OnSerializingAttribute() => throw null; } - // Generated from `System.Runtime.Serialization.OptionalFieldAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.OptionalFieldAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OptionalFieldAttribute : System.Attribute { public OptionalFieldAttribute() => throw null; public int VersionAdded { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.SafeSerializationEventArgs` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.SafeSerializationEventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeSerializationEventArgs : System.EventArgs { public void AddSerializedState(System.Runtime.Serialization.ISafeSerializationData serializedState) => throw null; public System.Runtime.Serialization.StreamingContext StreamingContext { get => throw null; } } - // Generated from `System.Runtime.Serialization.SerializationEntry` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.SerializationEntry` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SerializationEntry { public string Name { get => throw null; } @@ -11221,7 +13957,7 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.Runtime.Serialization.SerializationException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.SerializationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SerializationException : System.SystemException { public SerializationException() => throw null; @@ -11230,7 +13966,7 @@ namespace System public SerializationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Runtime.Serialization.SerializationInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.SerializationInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SerializationInfo { public void AddValue(string name, System.DateTime value) => throw null; @@ -11277,7 +14013,7 @@ namespace System public void SetType(System.Type type) => throw null; } - // Generated from `System.Runtime.Serialization.SerializationInfoEnumerator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.SerializationInfoEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SerializationInfoEnumerator : System.Collections.IEnumerator { public System.Runtime.Serialization.SerializationEntry Current { get => throw null; } @@ -11289,7 +14025,7 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.Runtime.Serialization.StreamingContext` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.StreamingContext` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct StreamingContext { public object Context { get => throw null; } @@ -11301,7 +14037,7 @@ namespace System public StreamingContext(System.Runtime.Serialization.StreamingContextStates state, object additional) => throw null; } - // Generated from `System.Runtime.Serialization.StreamingContextStates` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Serialization.StreamingContextStates` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum StreamingContextStates : int { @@ -11319,14 +14055,14 @@ namespace System } namespace Versioning { - // Generated from `System.Runtime.Versioning.ComponentGuaranteesAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Versioning.ComponentGuaranteesAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentGuaranteesAttribute : System.Attribute { public ComponentGuaranteesAttribute(System.Runtime.Versioning.ComponentGuaranteesOptions guarantees) => throw null; public System.Runtime.Versioning.ComponentGuaranteesOptions Guarantees { get => throw null; } } - // Generated from `System.Runtime.Versioning.ComponentGuaranteesOptions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Versioning.ComponentGuaranteesOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ComponentGuaranteesOptions : int { @@ -11336,7 +14072,7 @@ namespace System Stable = 2, } - // Generated from `System.Runtime.Versioning.FrameworkName` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Versioning.FrameworkName` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FrameworkName : System.IEquatable { public static bool operator !=(System.Runtime.Versioning.FrameworkName left, System.Runtime.Versioning.FrameworkName right) => throw null; @@ -11354,14 +14090,23 @@ namespace System public System.Version Version { get => throw null; } } - // Generated from `System.Runtime.Versioning.OSPlatformAttribute` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; System.Drawing.Common, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51; System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract partial class OSPlatformAttribute : System.Attribute + // Generated from `System.Runtime.Versioning.OSPlatformAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class OSPlatformAttribute : System.Attribute { protected private OSPlatformAttribute(string platformName) => throw null; public string PlatformName { get => throw null; } } - // Generated from `System.Runtime.Versioning.RequiresPreviewFeaturesAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Versioning.ObsoletedOSPlatformAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class ObsoletedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute + { + public string Message { get => throw null; } + public ObsoletedOSPlatformAttribute(string platformName) : base(default(string)) => throw null; + public ObsoletedOSPlatformAttribute(string platformName, string message) : base(default(string)) => throw null; + public string Url { get => throw null; set => throw null; } + } + + // Generated from `System.Runtime.Versioning.RequiresPreviewFeaturesAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RequiresPreviewFeaturesAttribute : System.Attribute { public string Message { get => throw null; } @@ -11370,7 +14115,7 @@ namespace System public string Url { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Versioning.ResourceConsumptionAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Versioning.ResourceConsumptionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResourceConsumptionAttribute : System.Attribute { public System.Runtime.Versioning.ResourceScope ConsumptionScope { get => throw null; } @@ -11379,14 +14124,14 @@ namespace System public System.Runtime.Versioning.ResourceScope ResourceScope { get => throw null; } } - // Generated from `System.Runtime.Versioning.ResourceExposureAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Versioning.ResourceExposureAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResourceExposureAttribute : System.Attribute { public ResourceExposureAttribute(System.Runtime.Versioning.ResourceScope exposureLevel) => throw null; public System.Runtime.Versioning.ResourceScope ResourceExposureLevel { get => throw null; } } - // Generated from `System.Runtime.Versioning.ResourceScope` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Versioning.ResourceScope` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ResourceScope : int { @@ -11399,19 +14144,19 @@ namespace System Process = 2, } - // Generated from `System.Runtime.Versioning.SupportedOSPlatformAttribute` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; System.Drawing.Common, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51; System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public partial class SupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute + // Generated from `System.Runtime.Versioning.SupportedOSPlatformAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute { public SupportedOSPlatformAttribute(string platformName) : base(default(string)) => throw null; } - // Generated from `System.Runtime.Versioning.SupportedOSPlatformGuardAttribute` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public partial class SupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute + // Generated from `System.Runtime.Versioning.SupportedOSPlatformGuardAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute { public SupportedOSPlatformGuardAttribute(string platformName) : base(default(string)) => throw null; } - // Generated from `System.Runtime.Versioning.TargetFrameworkAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Versioning.TargetFrameworkAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TargetFrameworkAttribute : System.Attribute { public string FrameworkDisplayName { get => throw null; set => throw null; } @@ -11419,25 +14164,27 @@ namespace System public TargetFrameworkAttribute(string frameworkName) => throw null; } - // Generated from `System.Runtime.Versioning.TargetPlatformAttribute` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; System.Drawing.Common, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51; System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public partial class TargetPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute + // Generated from `System.Runtime.Versioning.TargetPlatformAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class TargetPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute { public TargetPlatformAttribute(string platformName) : base(default(string)) => throw null; } - // Generated from `System.Runtime.Versioning.UnsupportedOSPlatformAttribute` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; System.Drawing.Common, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51; System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public partial class UnsupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute + // Generated from `System.Runtime.Versioning.UnsupportedOSPlatformAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class UnsupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute { + public string Message { get => throw null; } public UnsupportedOSPlatformAttribute(string platformName) : base(default(string)) => throw null; + public UnsupportedOSPlatformAttribute(string platformName, string message) : base(default(string)) => throw null; } - // Generated from `System.Runtime.Versioning.UnsupportedOSPlatformGuardAttribute` in `Microsoft.Extensions.Hosting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public partial class UnsupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute + // Generated from `System.Runtime.Versioning.UnsupportedOSPlatformGuardAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class UnsupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute { public UnsupportedOSPlatformGuardAttribute(string platformName) : base(default(string)) => throw null; } - // Generated from `System.Runtime.Versioning.VersioningHelper` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Runtime.Versioning.VersioningHelper` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class VersioningHelper { public static string MakeVersionSafeName(string name, System.Runtime.Versioning.ResourceScope from, System.Runtime.Versioning.ResourceScope to) => throw null; @@ -11448,14 +14195,14 @@ namespace System } namespace Security { - // Generated from `System.Security.AllowPartiallyTrustedCallersAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AllowPartiallyTrustedCallersAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AllowPartiallyTrustedCallersAttribute : System.Attribute { public AllowPartiallyTrustedCallersAttribute() => throw null; public System.Security.PartialTrustVisibilityLevel PartialTrustVisibilityLevel { get => throw null; set => throw null; } } - // Generated from `System.Security.IPermission` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.IPermission` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IPermission : System.Security.ISecurityEncodable { System.Security.IPermission Copy(); @@ -11465,14 +14212,14 @@ namespace System System.Security.IPermission Union(System.Security.IPermission target); } - // Generated from `System.Security.ISecurityEncodable` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.ISecurityEncodable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISecurityEncodable { void FromXml(System.Security.SecurityElement e); System.Security.SecurityElement ToXml(); } - // Generated from `System.Security.IStackWalk` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.IStackWalk` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IStackWalk { void Assert(); @@ -11481,14 +14228,14 @@ namespace System void PermitOnly(); } - // Generated from `System.Security.PartialTrustVisibilityLevel` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.PartialTrustVisibilityLevel` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PartialTrustVisibilityLevel : int { NotVisibleByDefault = 1, VisibleToAllHosts = 0, } - // Generated from `System.Security.PermissionSet` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.PermissionSet` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PermissionSet : System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Security.ISecurityEncodable, System.Security.IStackWalk { public System.Security.IPermission AddPermission(System.Security.IPermission perm) => throw null; @@ -11529,7 +14276,7 @@ namespace System public System.Security.PermissionSet Union(System.Security.PermissionSet other) => throw null; } - // Generated from `System.Security.SecurityCriticalAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.SecurityCriticalAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityCriticalAttribute : System.Attribute { public System.Security.SecurityCriticalScope Scope { get => throw null; } @@ -11537,14 +14284,14 @@ namespace System public SecurityCriticalAttribute(System.Security.SecurityCriticalScope scope) => throw null; } - // Generated from `System.Security.SecurityCriticalScope` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.SecurityCriticalScope` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SecurityCriticalScope : int { Everything = 1, Explicit = 0, } - // Generated from `System.Security.SecurityElement` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.SecurityElement` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityElement { public void AddAttribute(string name, string value) => throw null; @@ -11569,7 +14316,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Security.SecurityException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.SecurityException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityException : System.SystemException { public object Demanded { get => throw null; set => throw null; } @@ -11592,7 +14339,7 @@ namespace System public string Url { get => throw null; set => throw null; } } - // Generated from `System.Security.SecurityRuleSet` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.SecurityRuleSet` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SecurityRuleSet : byte { Level1 = 1, @@ -11600,7 +14347,7 @@ namespace System None = 0, } - // Generated from `System.Security.SecurityRulesAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.SecurityRulesAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityRulesAttribute : System.Attribute { public System.Security.SecurityRuleSet RuleSet { get => throw null; } @@ -11608,37 +14355,37 @@ namespace System public bool SkipVerificationInFullTrust { get => throw null; set => throw null; } } - // Generated from `System.Security.SecuritySafeCriticalAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.SecuritySafeCriticalAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecuritySafeCriticalAttribute : System.Attribute { public SecuritySafeCriticalAttribute() => throw null; } - // Generated from `System.Security.SecurityTransparentAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.SecurityTransparentAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityTransparentAttribute : System.Attribute { public SecurityTransparentAttribute() => throw null; } - // Generated from `System.Security.SecurityTreatAsSafeAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.SecurityTreatAsSafeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityTreatAsSafeAttribute : System.Attribute { public SecurityTreatAsSafeAttribute() => throw null; } - // Generated from `System.Security.SuppressUnmanagedCodeSecurityAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.SuppressUnmanagedCodeSecurityAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SuppressUnmanagedCodeSecurityAttribute : System.Attribute { public SuppressUnmanagedCodeSecurityAttribute() => throw null; } - // Generated from `System.Security.UnverifiableCodeAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.UnverifiableCodeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnverifiableCodeAttribute : System.Attribute { public UnverifiableCodeAttribute() => throw null; } - // Generated from `System.Security.VerificationException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.VerificationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VerificationException : System.SystemException { public VerificationException() => throw null; @@ -11649,7 +14396,7 @@ namespace System namespace Cryptography { - // Generated from `System.Security.Cryptography.CryptographicException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Cryptography.CryptographicException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CryptographicException : System.SystemException { public CryptographicException() => throw null; @@ -11663,20 +14410,20 @@ namespace System } namespace Permissions { - // Generated from `System.Security.Permissions.CodeAccessSecurityAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Permissions.CodeAccessSecurityAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CodeAccessSecurityAttribute : System.Security.Permissions.SecurityAttribute { protected CodeAccessSecurityAttribute(System.Security.Permissions.SecurityAction action) : base(default(System.Security.Permissions.SecurityAction)) => throw null; } - // Generated from `System.Security.Permissions.PermissionState` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Permissions.PermissionState` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PermissionState : int { None = 0, Unrestricted = 1, } - // Generated from `System.Security.Permissions.SecurityAction` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Permissions.SecurityAction` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SecurityAction : int { Assert = 3, @@ -11690,7 +14437,7 @@ namespace System RequestRefuse = 10, } - // Generated from `System.Security.Permissions.SecurityAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Permissions.SecurityAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SecurityAttribute : System.Attribute { public System.Security.Permissions.SecurityAction Action { get => throw null; set => throw null; } @@ -11699,7 +14446,7 @@ namespace System public bool Unrestricted { get => throw null; set => throw null; } } - // Generated from `System.Security.Permissions.SecurityPermissionAttribute` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Permissions.SecurityPermissionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute { public bool Assertion { get => throw null; set => throw null; } @@ -11721,7 +14468,7 @@ namespace System public bool UnmanagedCode { get => throw null; set => throw null; } } - // Generated from `System.Security.Permissions.SecurityPermissionFlag` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Permissions.SecurityPermissionFlag` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SecurityPermissionFlag : int { @@ -11746,7 +14493,7 @@ namespace System } namespace Principal { - // Generated from `System.Security.Principal.IIdentity` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.IIdentity` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IIdentity { string AuthenticationType { get; } @@ -11754,14 +14501,14 @@ namespace System string Name { get; } } - // Generated from `System.Security.Principal.IPrincipal` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.IPrincipal` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IPrincipal { System.Security.Principal.IIdentity Identity { get; } bool IsInRole(string role); } - // Generated from `System.Security.Principal.PrincipalPolicy` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.PrincipalPolicy` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PrincipalPolicy : int { NoPrincipal = 1, @@ -11769,7 +14516,7 @@ namespace System WindowsPrincipal = 2, } - // Generated from `System.Security.Principal.TokenImpersonationLevel` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.TokenImpersonationLevel` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TokenImpersonationLevel : int { Anonymous = 1, @@ -11783,7 +14530,7 @@ namespace System } namespace Text { - // Generated from `System.Text.Decoder` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.Decoder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Decoder { public virtual void Convert(System.Byte[] bytes, int byteIndex, int byteCount, System.Char[] chars, int charIndex, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed) => throw null; @@ -11803,7 +14550,7 @@ namespace System public virtual void Reset() => throw null; } - // Generated from `System.Text.DecoderExceptionFallback` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.DecoderExceptionFallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecoderExceptionFallback : System.Text.DecoderFallback { public override System.Text.DecoderFallbackBuffer CreateFallbackBuffer() => throw null; @@ -11813,7 +14560,7 @@ namespace System public override int MaxCharCount { get => throw null; } } - // Generated from `System.Text.DecoderExceptionFallbackBuffer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.DecoderExceptionFallbackBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecoderExceptionFallbackBuffer : System.Text.DecoderFallbackBuffer { public DecoderExceptionFallbackBuffer() => throw null; @@ -11823,7 +14570,7 @@ namespace System public override int Remaining { get => throw null; } } - // Generated from `System.Text.DecoderFallback` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.DecoderFallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DecoderFallback { public abstract System.Text.DecoderFallbackBuffer CreateFallbackBuffer(); @@ -11833,7 +14580,7 @@ namespace System public static System.Text.DecoderFallback ReplacementFallback { get => throw null; } } - // Generated from `System.Text.DecoderFallbackBuffer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.DecoderFallbackBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DecoderFallbackBuffer { protected DecoderFallbackBuffer() => throw null; @@ -11844,7 +14591,7 @@ namespace System public virtual void Reset() => throw null; } - // Generated from `System.Text.DecoderFallbackException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.DecoderFallbackException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecoderFallbackException : System.ArgumentException { public System.Byte[] BytesUnknown { get => throw null; } @@ -11855,7 +14602,7 @@ namespace System public int Index { get => throw null; } } - // Generated from `System.Text.DecoderReplacementFallback` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.DecoderReplacementFallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecoderReplacementFallback : System.Text.DecoderFallback { public override System.Text.DecoderFallbackBuffer CreateFallbackBuffer() => throw null; @@ -11867,7 +14614,7 @@ namespace System public override int MaxCharCount { get => throw null; } } - // Generated from `System.Text.DecoderReplacementFallbackBuffer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.DecoderReplacementFallbackBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecoderReplacementFallbackBuffer : System.Text.DecoderFallbackBuffer { public DecoderReplacementFallbackBuffer(System.Text.DecoderReplacementFallback fallback) => throw null; @@ -11878,7 +14625,7 @@ namespace System public override void Reset() => throw null; } - // Generated from `System.Text.Encoder` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.Encoder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Encoder { public virtual void Convert(System.Char[] chars, int charIndex, int charCount, System.Byte[] bytes, int byteIndex, int byteCount, bool flush, out int charsUsed, out int bytesUsed, out bool completed) => throw null; @@ -11896,7 +14643,7 @@ namespace System public virtual void Reset() => throw null; } - // Generated from `System.Text.EncoderExceptionFallback` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.EncoderExceptionFallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EncoderExceptionFallback : System.Text.EncoderFallback { public override System.Text.EncoderFallbackBuffer CreateFallbackBuffer() => throw null; @@ -11906,7 +14653,7 @@ namespace System public override int MaxCharCount { get => throw null; } } - // Generated from `System.Text.EncoderExceptionFallbackBuffer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.EncoderExceptionFallbackBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EncoderExceptionFallbackBuffer : System.Text.EncoderFallbackBuffer { public EncoderExceptionFallbackBuffer() => throw null; @@ -11917,7 +14664,7 @@ namespace System public override int Remaining { get => throw null; } } - // Generated from `System.Text.EncoderFallback` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.EncoderFallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EncoderFallback { public abstract System.Text.EncoderFallbackBuffer CreateFallbackBuffer(); @@ -11927,7 +14674,7 @@ namespace System public static System.Text.EncoderFallback ReplacementFallback { get => throw null; } } - // Generated from `System.Text.EncoderFallbackBuffer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.EncoderFallbackBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EncoderFallbackBuffer { protected EncoderFallbackBuffer() => throw null; @@ -11939,7 +14686,7 @@ namespace System public virtual void Reset() => throw null; } - // Generated from `System.Text.EncoderFallbackException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.EncoderFallbackException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EncoderFallbackException : System.ArgumentException { public System.Char CharUnknown { get => throw null; } @@ -11952,7 +14699,7 @@ namespace System public bool IsUnknownSurrogate() => throw null; } - // Generated from `System.Text.EncoderReplacementFallback` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.EncoderReplacementFallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EncoderReplacementFallback : System.Text.EncoderFallback { public override System.Text.EncoderFallbackBuffer CreateFallbackBuffer() => throw null; @@ -11964,7 +14711,7 @@ namespace System public override int MaxCharCount { get => throw null; } } - // Generated from `System.Text.EncoderReplacementFallbackBuffer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.EncoderReplacementFallbackBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EncoderReplacementFallbackBuffer : System.Text.EncoderFallbackBuffer { public EncoderReplacementFallbackBuffer(System.Text.EncoderReplacementFallback fallback) => throw null; @@ -11976,7 +14723,7 @@ namespace System public override void Reset() => throw null; } - // Generated from `System.Text.Encoding` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.Encoding` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Encoding : System.ICloneable { public static System.Text.Encoding ASCII { get => throw null; } @@ -12053,7 +14800,7 @@ namespace System public virtual int WindowsCodePage { get => throw null; } } - // Generated from `System.Text.EncodingInfo` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.EncodingInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EncodingInfo { public int CodePage { get => throw null; } @@ -12065,7 +14812,7 @@ namespace System public string Name { get => throw null; } } - // Generated from `System.Text.EncodingProvider` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.EncodingProvider` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EncodingProvider { public EncodingProvider() => throw null; @@ -12076,7 +14823,7 @@ namespace System public virtual System.Collections.Generic.IEnumerable GetEncodings() => throw null; } - // Generated from `System.Text.NormalizationForm` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.NormalizationForm` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NormalizationForm : int { FormC = 1, @@ -12085,7 +14832,7 @@ namespace System FormKD = 6, } - // Generated from `System.Text.Rune` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.Rune` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Rune : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.ISpanFormattable { public static bool operator !=(System.Text.Rune left, System.Text.Rune right) => throw null; @@ -12152,10 +14899,10 @@ namespace System public static explicit operator System.Text.Rune(System.UInt32 value) => throw null; } - // Generated from `System.Text.StringBuilder` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.StringBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringBuilder : System.Runtime.Serialization.ISerializable { - // Generated from `System.Text.StringBuilder+AppendInterpolatedStringHandler` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.StringBuilder+AppendInterpolatedStringHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AppendInterpolatedStringHandler { public void AppendFormatted(System.ReadOnlySpan value) => throw null; @@ -12174,7 +14921,7 @@ namespace System } - // Generated from `System.Text.StringBuilder+ChunkEnumerator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.StringBuilder+ChunkEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ChunkEnumerator { // Stub generator skipped constructor @@ -12275,7 +15022,7 @@ namespace System public string ToString(int startIndex, int length) => throw null; } - // Generated from `System.Text.StringRuneEnumerator` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.StringRuneEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct StringRuneEnumerator : System.Collections.Generic.IEnumerable, System.Collections.Generic.IEnumerator, System.Collections.IEnumerable, System.Collections.IEnumerator, System.IDisposable { public System.Text.Rune Current { get => throw null; } @@ -12291,7 +15038,7 @@ namespace System namespace Unicode { - // Generated from `System.Text.Unicode.Utf8` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.Unicode.Utf8` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Utf8 { public static System.Buffers.OperationStatus FromUtf16(System.ReadOnlySpan source, System.Span destination, out int charsRead, out int bytesWritten, bool replaceInvalidSequences = default(bool), bool isFinalBlock = default(bool)) => throw null; @@ -12302,8 +15049,8 @@ namespace System } namespace Threading { - // Generated from `System.Threading.CancellationToken` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct CancellationToken + // Generated from `System.Threading.CancellationToken` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct CancellationToken : System.IEquatable { public static bool operator !=(System.Threading.CancellationToken left, System.Threading.CancellationToken right) => throw null; public static bool operator ==(System.Threading.CancellationToken left, System.Threading.CancellationToken right) => throw null; @@ -12326,7 +15073,7 @@ namespace System public System.Threading.WaitHandle WaitHandle { get => throw null; } } - // Generated from `System.Threading.CancellationTokenRegistration` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.CancellationTokenRegistration` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CancellationTokenRegistration : System.IAsyncDisposable, System.IDisposable, System.IEquatable { public static bool operator !=(System.Threading.CancellationTokenRegistration left, System.Threading.CancellationTokenRegistration right) => throw null; @@ -12341,7 +15088,7 @@ namespace System public bool Unregister() => throw null; } - // Generated from `System.Threading.CancellationTokenSource` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.CancellationTokenSource` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CancellationTokenSource : System.IDisposable { public void Cancel() => throw null; @@ -12361,7 +15108,7 @@ namespace System public bool TryReset() => throw null; } - // Generated from `System.Threading.LazyThreadSafetyMode` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.LazyThreadSafetyMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LazyThreadSafetyMode : int { ExecutionAndPublication = 2, @@ -12369,22 +15116,23 @@ namespace System PublicationOnly = 1, } - // Generated from `System.Threading.PeriodicTimer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.PeriodicTimer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PeriodicTimer : System.IDisposable { public void Dispose() => throw null; public PeriodicTimer(System.TimeSpan period) => throw null; public System.Threading.Tasks.ValueTask WaitForNextTickAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + // ERR: Stub generator didn't handle member: ~PeriodicTimer } - // Generated from `System.Threading.Timeout` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Timeout` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Timeout { public const int Infinite = default; public static System.TimeSpan InfiniteTimeSpan; } - // Generated from `System.Threading.Timer` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Timer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Timer : System.MarshalByRefObject, System.IAsyncDisposable, System.IDisposable { public static System.Int64 ActiveCount { get => throw null; } @@ -12402,10 +15150,10 @@ namespace System public Timer(System.Threading.TimerCallback callback, object state, System.UInt32 dueTime, System.UInt32 period) => throw null; } - // Generated from `System.Threading.TimerCallback` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.TimerCallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void TimerCallback(object state); - // Generated from `System.Threading.WaitHandle` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.WaitHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class WaitHandle : System.MarshalByRefObject, System.IDisposable { public virtual void Close() => throw null; @@ -12436,7 +15184,7 @@ namespace System public const int WaitTimeout = default; } - // Generated from `System.Threading.WaitHandleExtensions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.WaitHandleExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class WaitHandleExtensions { public static Microsoft.Win32.SafeHandles.SafeWaitHandle GetSafeWaitHandle(this System.Threading.WaitHandle waitHandle) => throw null; @@ -12445,7 +15193,7 @@ namespace System namespace Tasks { - // Generated from `System.Threading.Tasks.ConcurrentExclusiveSchedulerPair` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.ConcurrentExclusiveSchedulerPair` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConcurrentExclusiveSchedulerPair { public void Complete() => throw null; @@ -12458,7 +15206,7 @@ namespace System public System.Threading.Tasks.TaskScheduler ExclusiveScheduler { get => throw null; } } - // Generated from `System.Threading.Tasks.Task` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Task` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Task : System.IAsyncResult, System.IDisposable { public object AsyncState { get => throw null; } @@ -12531,6 +15279,7 @@ namespace System public void Wait() => throw null; public void Wait(System.Threading.CancellationToken cancellationToken) => throw null; public bool Wait(System.TimeSpan timeout) => throw null; + public bool Wait(System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) => throw null; public bool Wait(int millisecondsTimeout) => throw null; public bool Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) => throw null; public static void WaitAll(System.Threading.Tasks.Task[] tasks, System.Threading.CancellationToken cancellationToken) => throw null; @@ -12559,7 +15308,7 @@ namespace System public static System.Runtime.CompilerServices.YieldAwaitable Yield() => throw null; } - // Generated from `System.Threading.Tasks.Task<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Task<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Task : System.Threading.Tasks.Task { public System.Runtime.CompilerServices.ConfiguredTaskAwaitable ConfigureAwait(bool continueOnCapturedContext) => throw null; @@ -12599,15 +15348,16 @@ namespace System public System.Threading.Tasks.Task WaitAsync(System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Threading.Tasks.TaskAsyncEnumerableExtensions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.TaskAsyncEnumerableExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class TaskAsyncEnumerableExtensions { public static System.Runtime.CompilerServices.ConfiguredAsyncDisposable ConfigureAwait(this System.IAsyncDisposable source, bool continueOnCapturedContext) => throw null; public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable ConfigureAwait(this System.Collections.Generic.IAsyncEnumerable source, bool continueOnCapturedContext) => throw null; + public static System.Collections.Generic.IEnumerable ToBlockingEnumerable(this System.Collections.Generic.IAsyncEnumerable source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable WithCancellation(this System.Collections.Generic.IAsyncEnumerable source, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Threading.Tasks.TaskCanceledException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.TaskCanceledException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaskCanceledException : System.OperationCanceledException { public System.Threading.Tasks.Task Task { get => throw null; } @@ -12619,7 +15369,7 @@ namespace System public TaskCanceledException(string message, System.Exception innerException, System.Threading.CancellationToken token) => throw null; } - // Generated from `System.Threading.Tasks.TaskCompletionSource` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.TaskCompletionSource` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaskCompletionSource { public void SetCanceled() => throw null; @@ -12639,7 +15389,7 @@ namespace System public bool TrySetResult() => throw null; } - // Generated from `System.Threading.Tasks.TaskCompletionSource<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.TaskCompletionSource<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaskCompletionSource { public void SetCanceled() => throw null; @@ -12659,7 +15409,7 @@ namespace System public bool TrySetResult(TResult result) => throw null; } - // Generated from `System.Threading.Tasks.TaskContinuationOptions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.TaskContinuationOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TaskContinuationOptions : int { @@ -12680,7 +15430,7 @@ namespace System RunContinuationsAsynchronously = 64, } - // Generated from `System.Threading.Tasks.TaskCreationOptions` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.TaskCreationOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TaskCreationOptions : int { @@ -12693,14 +15443,14 @@ namespace System RunContinuationsAsynchronously = 64, } - // Generated from `System.Threading.Tasks.TaskExtensions` in `Microsoft.AspNetCore.Http.Connections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public static partial class TaskExtensions + // Generated from `System.Threading.Tasks.TaskExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class TaskExtensions { public static System.Threading.Tasks.Task Unwrap(this System.Threading.Tasks.Task task) => throw null; public static System.Threading.Tasks.Task Unwrap(this System.Threading.Tasks.Task> task) => throw null; } - // Generated from `System.Threading.Tasks.TaskFactory` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.TaskFactory` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaskFactory { public System.Threading.CancellationToken CancellationToken { get => throw null; } @@ -12784,7 +15534,7 @@ namespace System public TaskFactory(System.Threading.Tasks.TaskScheduler scheduler) => throw null; } - // Generated from `System.Threading.Tasks.TaskFactory<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.TaskFactory<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaskFactory { public System.Threading.CancellationToken CancellationToken { get => throw null; } @@ -12833,7 +15583,7 @@ namespace System public TaskFactory(System.Threading.Tasks.TaskScheduler scheduler) => throw null; } - // Generated from `System.Threading.Tasks.TaskScheduler` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.TaskScheduler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TaskScheduler { public static System.Threading.Tasks.TaskScheduler Current { get => throw null; } @@ -12850,7 +15600,7 @@ namespace System public static event System.EventHandler UnobservedTaskException; } - // Generated from `System.Threading.Tasks.TaskSchedulerException` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.TaskSchedulerException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaskSchedulerException : System.Exception { public TaskSchedulerException() => throw null; @@ -12860,7 +15610,7 @@ namespace System public TaskSchedulerException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.Tasks.TaskStatus` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.TaskStatus` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TaskStatus : int { Canceled = 6, @@ -12873,7 +15623,7 @@ namespace System WaitingToRun = 2, } - // Generated from `System.Threading.Tasks.UnobservedTaskExceptionEventArgs` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.UnobservedTaskExceptionEventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnobservedTaskExceptionEventArgs : System.EventArgs { public System.AggregateException Exception { get => throw null; } @@ -12882,7 +15632,7 @@ namespace System public UnobservedTaskExceptionEventArgs(System.AggregateException exception) => throw null; } - // Generated from `System.Threading.Tasks.ValueTask` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.ValueTask` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTask : System.IEquatable { public static bool operator !=(System.Threading.Tasks.ValueTask left, System.Threading.Tasks.ValueTask right) => throw null; @@ -12909,7 +15659,7 @@ namespace System public ValueTask(System.Threading.Tasks.Task task) => throw null; } - // Generated from `System.Threading.Tasks.ValueTask<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.ValueTask<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTask : System.IEquatable> { public static bool operator !=(System.Threading.Tasks.ValueTask left, System.Threading.Tasks.ValueTask right) => throw null; @@ -12935,7 +15685,7 @@ namespace System namespace Sources { - // Generated from `System.Threading.Tasks.Sources.IValueTaskSource` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Sources.IValueTaskSource` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IValueTaskSource { void GetResult(System.Int16 token); @@ -12943,7 +15693,7 @@ namespace System void OnCompleted(System.Action continuation, object state, System.Int16 token, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags flags); } - // Generated from `System.Threading.Tasks.Sources.IValueTaskSource<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Sources.IValueTaskSource<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IValueTaskSource { TResult GetResult(System.Int16 token); @@ -12951,7 +15701,7 @@ namespace System void OnCompleted(System.Action continuation, object state, System.Int16 token, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags flags); } - // Generated from `System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore<>` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManualResetValueTaskSourceCore { public TResult GetResult(System.Int16 token) => throw null; @@ -12965,7 +15715,7 @@ namespace System public System.Int16 Version { get => throw null; } } - // Generated from `System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ValueTaskSourceOnCompletedFlags : int { @@ -12974,7 +15724,7 @@ namespace System UseSchedulingContext = 1, } - // Generated from `System.Threading.Tasks.Sources.ValueTaskSourceStatus` in `System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Sources.ValueTaskSourceStatus` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ValueTaskSourceStatus : int { Canceled = 3, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.AccessControl.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.AccessControl.cs index 3e8b75576d1..856e398b7d3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.AccessControl.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.AccessControl.cs @@ -6,7 +6,7 @@ namespace System { namespace AccessControl { - // Generated from `System.Security.AccessControl.AccessControlActions` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AccessControlActions` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AccessControlActions : int { @@ -15,7 +15,7 @@ namespace System View = 1, } - // Generated from `System.Security.AccessControl.AccessControlModification` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AccessControlModification` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AccessControlModification : int { Add = 0, @@ -26,7 +26,7 @@ namespace System Set = 1, } - // Generated from `System.Security.AccessControl.AccessControlSections` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AccessControlSections` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AccessControlSections : int { @@ -38,21 +38,21 @@ namespace System Owner = 4, } - // Generated from `System.Security.AccessControl.AccessControlType` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AccessControlType` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AccessControlType : int { Allow = 0, Deny = 1, } - // Generated from `System.Security.AccessControl.AccessRule` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AccessRule` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class AccessRule : System.Security.AccessControl.AuthorizationRule { public System.Security.AccessControl.AccessControlType AccessControlType { get => throw null; } protected AccessRule(System.Security.Principal.IdentityReference identity, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags)) => throw null; } - // Generated from `System.Security.AccessControl.AccessRule<>` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AccessRule<>` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AccessRule : System.Security.AccessControl.AccessRule where T : struct { public AccessRule(System.Security.Principal.IdentityReference identity, T rights, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AccessControlType)) => throw null; @@ -62,7 +62,7 @@ namespace System public T Rights { get => throw null; } } - // Generated from `System.Security.AccessControl.AceEnumerator` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AceEnumerator` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AceEnumerator : System.Collections.IEnumerator { public System.Security.AccessControl.GenericAce Current { get => throw null; } @@ -71,7 +71,7 @@ namespace System public void Reset() => throw null; } - // Generated from `System.Security.AccessControl.AceFlags` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AceFlags` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AceFlags : byte { @@ -87,7 +87,7 @@ namespace System SuccessfulAccess = 64, } - // Generated from `System.Security.AccessControl.AceQualifier` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AceQualifier` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AceQualifier : int { AccessAllowed = 0, @@ -96,7 +96,7 @@ namespace System SystemAudit = 2, } - // Generated from `System.Security.AccessControl.AceType` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AceType` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AceType : byte { AccessAllowed = 0, @@ -119,7 +119,7 @@ namespace System SystemAuditObject = 7, } - // Generated from `System.Security.AccessControl.AuditFlags` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AuditFlags` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AuditFlags : int { @@ -128,14 +128,14 @@ namespace System Success = 1, } - // Generated from `System.Security.AccessControl.AuditRule` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AuditRule` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class AuditRule : System.Security.AccessControl.AuthorizationRule { public System.Security.AccessControl.AuditFlags AuditFlags { get => throw null; } protected AuditRule(System.Security.Principal.IdentityReference identity, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags auditFlags) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags)) => throw null; } - // Generated from `System.Security.AccessControl.AuditRule<>` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AuditRule<>` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AuditRule : System.Security.AccessControl.AuditRule where T : struct { public AuditRule(System.Security.Principal.IdentityReference identity, T rights, System.Security.AccessControl.AuditFlags flags) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AuditFlags)) => throw null; @@ -145,7 +145,7 @@ namespace System public T Rights { get => throw null; } } - // Generated from `System.Security.AccessControl.AuthorizationRule` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AuthorizationRule` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class AuthorizationRule { protected internal int AccessMask { get => throw null; } @@ -156,7 +156,7 @@ namespace System public System.Security.AccessControl.PropagationFlags PropagationFlags { get => throw null; } } - // Generated from `System.Security.AccessControl.AuthorizationRuleCollection` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.AuthorizationRuleCollection` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AuthorizationRuleCollection : System.Collections.ReadOnlyCollectionBase { public void AddRule(System.Security.AccessControl.AuthorizationRule rule) => throw null; @@ -165,7 +165,7 @@ namespace System public System.Security.AccessControl.AuthorizationRule this[int index] { get => throw null; } } - // Generated from `System.Security.AccessControl.CommonAce` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.CommonAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CommonAce : System.Security.AccessControl.QualifiedAce { public override int BinaryLength { get => throw null; } @@ -174,7 +174,7 @@ namespace System public static int MaxOpaqueLength(bool isCallback) => throw null; } - // Generated from `System.Security.AccessControl.CommonAcl` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.CommonAcl` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CommonAcl : System.Security.AccessControl.GenericAcl { public override int BinaryLength { get => throw null; } @@ -190,7 +190,7 @@ namespace System public override System.Byte Revision { get => throw null; } } - // Generated from `System.Security.AccessControl.CommonObjectSecurity` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.CommonObjectSecurity` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CommonObjectSecurity : System.Security.AccessControl.ObjectSecurity { protected void AddAccessRule(System.Security.AccessControl.AccessRule rule) => throw null; @@ -211,7 +211,7 @@ namespace System protected void SetAuditRule(System.Security.AccessControl.AuditRule rule) => throw null; } - // Generated from `System.Security.AccessControl.CommonSecurityDescriptor` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.CommonSecurityDescriptor` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CommonSecurityDescriptor : System.Security.AccessControl.GenericSecurityDescriptor { public void AddDiscretionaryAcl(System.Byte revision, int trusted) => throw null; @@ -235,7 +235,7 @@ namespace System public System.Security.AccessControl.SystemAcl SystemAcl { get => throw null; set => throw null; } } - // Generated from `System.Security.AccessControl.CompoundAce` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.CompoundAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompoundAce : System.Security.AccessControl.KnownAce { public override int BinaryLength { get => throw null; } @@ -244,13 +244,13 @@ namespace System public override void GetBinaryForm(System.Byte[] binaryForm, int offset) => throw null; } - // Generated from `System.Security.AccessControl.CompoundAceType` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.CompoundAceType` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CompoundAceType : int { Impersonation = 1, } - // Generated from `System.Security.AccessControl.ControlFlags` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.ControlFlags` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ControlFlags : int { @@ -273,7 +273,7 @@ namespace System SystemAclProtected = 8192, } - // Generated from `System.Security.AccessControl.CustomAce` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.CustomAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CustomAce : System.Security.AccessControl.GenericAce { public override int BinaryLength { get => throw null; } @@ -285,7 +285,7 @@ namespace System public void SetOpaque(System.Byte[] opaque) => throw null; } - // Generated from `System.Security.AccessControl.DiscretionaryAcl` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.DiscretionaryAcl` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DiscretionaryAcl : System.Security.AccessControl.CommonAcl { public void AddAccess(System.Security.AccessControl.AccessControlType accessType, System.Security.Principal.SecurityIdentifier sid, System.Security.AccessControl.ObjectAccessRule rule) => throw null; @@ -305,7 +305,7 @@ namespace System public void SetAccess(System.Security.AccessControl.AccessControlType accessType, System.Security.Principal.SecurityIdentifier sid, int accessMask, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.ObjectAceFlags objectFlags, System.Guid objectType, System.Guid inheritedObjectType) => throw null; } - // Generated from `System.Security.AccessControl.GenericAce` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.GenericAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class GenericAce { public static bool operator !=(System.Security.AccessControl.GenericAce left, System.Security.AccessControl.GenericAce right) => throw null; @@ -325,7 +325,7 @@ namespace System public System.Security.AccessControl.PropagationFlags PropagationFlags { get => throw null; } } - // Generated from `System.Security.AccessControl.GenericAcl` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.GenericAcl` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class GenericAcl : System.Collections.ICollection, System.Collections.IEnumerable { public static System.Byte AclRevision; @@ -345,7 +345,7 @@ namespace System public virtual object SyncRoot { get => throw null; } } - // Generated from `System.Security.AccessControl.GenericSecurityDescriptor` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.GenericSecurityDescriptor` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class GenericSecurityDescriptor { public int BinaryLength { get => throw null; } @@ -359,7 +359,7 @@ namespace System public static System.Byte Revision { get => throw null; } } - // Generated from `System.Security.AccessControl.InheritanceFlags` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.InheritanceFlags` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum InheritanceFlags : int { @@ -368,7 +368,7 @@ namespace System ObjectInherit = 2, } - // Generated from `System.Security.AccessControl.KnownAce` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.KnownAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class KnownAce : System.Security.AccessControl.GenericAce { public int AccessMask { get => throw null; set => throw null; } @@ -376,10 +376,10 @@ namespace System public System.Security.Principal.SecurityIdentifier SecurityIdentifier { get => throw null; set => throw null; } } - // Generated from `System.Security.AccessControl.NativeObjectSecurity` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.NativeObjectSecurity` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class NativeObjectSecurity : System.Security.AccessControl.CommonObjectSecurity { - // Generated from `System.Security.AccessControl.NativeObjectSecurity+ExceptionFromErrorCode` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.NativeObjectSecurity+ExceptionFromErrorCode` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` protected internal delegate System.Exception ExceptionFromErrorCode(int errorCode, string name, System.Runtime.InteropServices.SafeHandle handle, object context); @@ -395,7 +395,7 @@ namespace System protected void Persist(string name, System.Security.AccessControl.AccessControlSections includeSections, object exceptionContext) => throw null; } - // Generated from `System.Security.AccessControl.ObjectAccessRule` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.ObjectAccessRule` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ObjectAccessRule : System.Security.AccessControl.AccessRule { public System.Guid InheritedObjectType { get => throw null; } @@ -404,7 +404,7 @@ namespace System public System.Guid ObjectType { get => throw null; } } - // Generated from `System.Security.AccessControl.ObjectAce` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.ObjectAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectAce : System.Security.AccessControl.QualifiedAce { public override int BinaryLength { get => throw null; } @@ -416,7 +416,7 @@ namespace System public System.Guid ObjectAceType { get => throw null; set => throw null; } } - // Generated from `System.Security.AccessControl.ObjectAceFlags` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.ObjectAceFlags` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ObjectAceFlags : int { @@ -425,7 +425,7 @@ namespace System ObjectAceTypePresent = 1, } - // Generated from `System.Security.AccessControl.ObjectAuditRule` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.ObjectAuditRule` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ObjectAuditRule : System.Security.AccessControl.AuditRule { public System.Guid InheritedObjectType { get => throw null; } @@ -434,7 +434,7 @@ namespace System public System.Guid ObjectType { get => throw null; } } - // Generated from `System.Security.AccessControl.ObjectSecurity` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.ObjectSecurity` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ObjectSecurity { public abstract System.Type AccessRightType { get; } @@ -484,7 +484,7 @@ namespace System protected void WriteUnlock() => throw null; } - // Generated from `System.Security.AccessControl.ObjectSecurity<>` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.ObjectSecurity<>` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ObjectSecurity : System.Security.AccessControl.NativeObjectSecurity where T : struct { public override System.Type AccessRightType { get => throw null; } @@ -512,7 +512,7 @@ namespace System public virtual void SetAuditRule(System.Security.AccessControl.AuditRule rule) => throw null; } - // Generated from `System.Security.AccessControl.PrivilegeNotHeldException` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.PrivilegeNotHeldException` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PrivilegeNotHeldException : System.UnauthorizedAccessException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -522,7 +522,7 @@ namespace System public PrivilegeNotHeldException(string privilege, System.Exception inner) => throw null; } - // Generated from `System.Security.AccessControl.PropagationFlags` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.PropagationFlags` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PropagationFlags : int { @@ -531,7 +531,7 @@ namespace System None = 0, } - // Generated from `System.Security.AccessControl.QualifiedAce` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.QualifiedAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class QualifiedAce : System.Security.AccessControl.KnownAce { public System.Security.AccessControl.AceQualifier AceQualifier { get => throw null; } @@ -542,7 +542,7 @@ namespace System public void SetOpaque(System.Byte[] opaque) => throw null; } - // Generated from `System.Security.AccessControl.RawAcl` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.RawAcl` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RawAcl : System.Security.AccessControl.GenericAcl { public override int BinaryLength { get => throw null; } @@ -556,7 +556,7 @@ namespace System public override System.Byte Revision { get => throw null; } } - // Generated from `System.Security.AccessControl.RawSecurityDescriptor` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.RawSecurityDescriptor` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RawSecurityDescriptor : System.Security.AccessControl.GenericSecurityDescriptor { public override System.Security.AccessControl.ControlFlags ControlFlags { get => throw null; } @@ -571,7 +571,7 @@ namespace System public System.Security.AccessControl.RawAcl SystemAcl { get => throw null; set => throw null; } } - // Generated from `System.Security.AccessControl.ResourceType` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.ResourceType` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ResourceType : int { DSObject = 8, @@ -589,7 +589,7 @@ namespace System WmiGuidObject = 11, } - // Generated from `System.Security.AccessControl.SecurityInfos` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.SecurityInfos` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SecurityInfos : int { @@ -599,7 +599,7 @@ namespace System SystemAcl = 8, } - // Generated from `System.Security.AccessControl.SystemAcl` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.AccessControl.SystemAcl` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SystemAcl : System.Security.AccessControl.CommonAcl { public void AddAudit(System.Security.AccessControl.AuditFlags auditFlags, System.Security.Principal.SecurityIdentifier sid, int accessMask, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags) => throw null; @@ -622,7 +622,7 @@ namespace System } namespace Policy { - // Generated from `System.Security.Policy.Evidence` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Policy.Evidence` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Evidence : System.Collections.ICollection, System.Collections.IEnumerable { public void AddAssembly(object id) => throw null; @@ -650,7 +650,7 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Security.Policy.EvidenceBase` in `System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Policy.EvidenceBase` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EvidenceBase { public virtual System.Security.Policy.EvidenceBase Clone() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Claims.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Claims.cs index 587b68433f8..4ab3994fb51 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Claims.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Claims.cs @@ -6,7 +6,7 @@ namespace System { namespace Claims { - // Generated from `System.Security.Claims.Claim` in `System.Security.Claims, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Claims.Claim` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Claim { public Claim(System.IO.BinaryReader reader) => throw null; @@ -33,7 +33,7 @@ namespace System protected virtual void WriteTo(System.IO.BinaryWriter writer, System.Byte[] userData) => throw null; } - // Generated from `System.Security.Claims.ClaimTypes` in `System.Security.Claims, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Claims.ClaimTypes` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ClaimTypes { public const string Actor = default; @@ -92,7 +92,7 @@ namespace System public const string X500DistinguishedName = default; } - // Generated from `System.Security.Claims.ClaimValueTypes` in `System.Security.Claims, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Claims.ClaimValueTypes` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ClaimValueTypes { public const string Base64Binary = default; @@ -124,7 +124,7 @@ namespace System public const string YearMonthDuration = default; } - // Generated from `System.Security.Claims.ClaimsIdentity` in `System.Security.Claims, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Claims.ClaimsIdentity` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ClaimsIdentity : System.Security.Principal.IIdentity { public System.Security.Claims.ClaimsIdentity Actor { get => throw null; set => throw null; } @@ -170,7 +170,7 @@ namespace System protected virtual void WriteTo(System.IO.BinaryWriter writer, System.Byte[] userData) => throw null; } - // Generated from `System.Security.Claims.ClaimsPrincipal` in `System.Security.Claims, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Claims.ClaimsPrincipal` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ClaimsPrincipal : System.Security.Principal.IPrincipal { public virtual void AddIdentities(System.Collections.Generic.IEnumerable identities) => throw null; @@ -205,7 +205,7 @@ namespace System } namespace Principal { - // Generated from `System.Security.Principal.GenericIdentity` in `System.Security.Claims, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.GenericIdentity` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GenericIdentity : System.Security.Claims.ClaimsIdentity { public override string AuthenticationType { get => throw null; } @@ -218,7 +218,7 @@ namespace System public override string Name { get => throw null; } } - // Generated from `System.Security.Principal.GenericPrincipal` in `System.Security.Claims, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.GenericPrincipal` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GenericPrincipal : System.Security.Claims.ClaimsPrincipal { public GenericPrincipal(System.Security.Principal.IIdentity identity, string[] roles) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Algorithms.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Algorithms.cs deleted file mode 100644 index c5ec5af3ee0..00000000000 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Algorithms.cs +++ /dev/null @@ -1,996 +0,0 @@ -// This file contains auto-generated code. - -namespace System -{ - namespace Security - { - namespace Cryptography - { - // Generated from `System.Security.Cryptography.Aes` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class Aes : System.Security.Cryptography.SymmetricAlgorithm - { - protected Aes() => throw null; - public static System.Security.Cryptography.Aes Create() => throw null; - public static System.Security.Cryptography.Aes Create(string algorithmName) => throw null; - } - - // Generated from `System.Security.Cryptography.AesCcm` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class AesCcm : System.IDisposable - { - public AesCcm(System.Byte[] key) => throw null; - public AesCcm(System.ReadOnlySpan key) => throw null; - public void Decrypt(System.Byte[] nonce, System.Byte[] ciphertext, System.Byte[] tag, System.Byte[] plaintext, System.Byte[] associatedData = default(System.Byte[])) => throw null; - public void Decrypt(System.ReadOnlySpan nonce, System.ReadOnlySpan ciphertext, System.ReadOnlySpan tag, System.Span plaintext, System.ReadOnlySpan associatedData = default(System.ReadOnlySpan)) => throw null; - public void Dispose() => throw null; - public void Encrypt(System.Byte[] nonce, System.Byte[] plaintext, System.Byte[] ciphertext, System.Byte[] tag, System.Byte[] associatedData = default(System.Byte[])) => throw null; - public void Encrypt(System.ReadOnlySpan nonce, System.ReadOnlySpan plaintext, System.Span ciphertext, System.Span tag, System.ReadOnlySpan associatedData = default(System.ReadOnlySpan)) => throw null; - public static bool IsSupported { get => throw null; } - public static System.Security.Cryptography.KeySizes NonceByteSizes { get => throw null; } - public static System.Security.Cryptography.KeySizes TagByteSizes { get => throw null; } - } - - // Generated from `System.Security.Cryptography.AesGcm` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class AesGcm : System.IDisposable - { - public AesGcm(System.Byte[] key) => throw null; - public AesGcm(System.ReadOnlySpan key) => throw null; - public void Decrypt(System.Byte[] nonce, System.Byte[] ciphertext, System.Byte[] tag, System.Byte[] plaintext, System.Byte[] associatedData = default(System.Byte[])) => throw null; - public void Decrypt(System.ReadOnlySpan nonce, System.ReadOnlySpan ciphertext, System.ReadOnlySpan tag, System.Span plaintext, System.ReadOnlySpan associatedData = default(System.ReadOnlySpan)) => throw null; - public void Dispose() => throw null; - public void Encrypt(System.Byte[] nonce, System.Byte[] plaintext, System.Byte[] ciphertext, System.Byte[] tag, System.Byte[] associatedData = default(System.Byte[])) => throw null; - public void Encrypt(System.ReadOnlySpan nonce, System.ReadOnlySpan plaintext, System.Span ciphertext, System.Span tag, System.ReadOnlySpan associatedData = default(System.ReadOnlySpan)) => throw null; - public static bool IsSupported { get => throw null; } - public static System.Security.Cryptography.KeySizes NonceByteSizes { get => throw null; } - public static System.Security.Cryptography.KeySizes TagByteSizes { get => throw null; } - } - - // Generated from `System.Security.Cryptography.AesManaged` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class AesManaged : System.Security.Cryptography.Aes - { - public AesManaged() => throw null; - public override int BlockSize { get => throw null; set => throw null; } - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - protected override void Dispose(bool disposing) => throw null; - public override int FeedbackSize { get => throw null; set => throw null; } - public override void GenerateIV() => throw null; - public override void GenerateKey() => throw null; - public override System.Byte[] IV { get => throw null; set => throw null; } - public override System.Byte[] Key { get => throw null; set => throw null; } - public override int KeySize { get => throw null; set => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalBlockSizes { get => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - public override System.Security.Cryptography.CipherMode Mode { get => throw null; set => throw null; } - public override System.Security.Cryptography.PaddingMode Padding { get => throw null; set => throw null; } - } - - // Generated from `System.Security.Cryptography.AsymmetricKeyExchangeDeformatter` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class AsymmetricKeyExchangeDeformatter - { - protected AsymmetricKeyExchangeDeformatter() => throw null; - public abstract System.Byte[] DecryptKeyExchange(System.Byte[] rgb); - public abstract string Parameters { get; set; } - public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key); - } - - // Generated from `System.Security.Cryptography.AsymmetricKeyExchangeFormatter` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class AsymmetricKeyExchangeFormatter - { - protected AsymmetricKeyExchangeFormatter() => throw null; - public abstract System.Byte[] CreateKeyExchange(System.Byte[] data); - public abstract System.Byte[] CreateKeyExchange(System.Byte[] data, System.Type symAlgType); - public abstract string Parameters { get; } - public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key); - } - - // Generated from `System.Security.Cryptography.AsymmetricSignatureDeformatter` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class AsymmetricSignatureDeformatter - { - protected AsymmetricSignatureDeformatter() => throw null; - public abstract void SetHashAlgorithm(string strName); - public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key); - public abstract bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature); - public virtual bool VerifySignature(System.Security.Cryptography.HashAlgorithm hash, System.Byte[] rgbSignature) => throw null; - } - - // Generated from `System.Security.Cryptography.AsymmetricSignatureFormatter` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class AsymmetricSignatureFormatter - { - protected AsymmetricSignatureFormatter() => throw null; - public abstract System.Byte[] CreateSignature(System.Byte[] rgbHash); - public virtual System.Byte[] CreateSignature(System.Security.Cryptography.HashAlgorithm hash) => throw null; - public abstract void SetHashAlgorithm(string strName); - public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key); - } - - // Generated from `System.Security.Cryptography.ChaCha20Poly1305` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class ChaCha20Poly1305 : System.IDisposable - { - public ChaCha20Poly1305(System.Byte[] key) => throw null; - public ChaCha20Poly1305(System.ReadOnlySpan key) => throw null; - public void Decrypt(System.Byte[] nonce, System.Byte[] ciphertext, System.Byte[] tag, System.Byte[] plaintext, System.Byte[] associatedData = default(System.Byte[])) => throw null; - public void Decrypt(System.ReadOnlySpan nonce, System.ReadOnlySpan ciphertext, System.ReadOnlySpan tag, System.Span plaintext, System.ReadOnlySpan associatedData = default(System.ReadOnlySpan)) => throw null; - public void Dispose() => throw null; - public void Encrypt(System.Byte[] nonce, System.Byte[] plaintext, System.Byte[] ciphertext, System.Byte[] tag, System.Byte[] associatedData = default(System.Byte[])) => throw null; - public void Encrypt(System.ReadOnlySpan nonce, System.ReadOnlySpan plaintext, System.Span ciphertext, System.Span tag, System.ReadOnlySpan associatedData = default(System.ReadOnlySpan)) => throw null; - public static bool IsSupported { get => throw null; } - } - - // Generated from `System.Security.Cryptography.CryptoConfig` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CryptoConfig - { - public static void AddAlgorithm(System.Type algorithm, params string[] names) => throw null; - public static void AddOID(string oid, params string[] names) => throw null; - public static bool AllowOnlyFipsAlgorithms { get => throw null; } - public static object CreateFromName(string name) => throw null; - public static object CreateFromName(string name, params object[] args) => throw null; - public CryptoConfig() => throw null; - public static System.Byte[] EncodeOID(string str) => throw null; - public static string MapNameToOID(string name) => throw null; - } - - // Generated from `System.Security.Cryptography.DES` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class DES : System.Security.Cryptography.SymmetricAlgorithm - { - public static System.Security.Cryptography.DES Create() => throw null; - public static System.Security.Cryptography.DES Create(string algName) => throw null; - protected DES() => throw null; - public static bool IsSemiWeakKey(System.Byte[] rgbKey) => throw null; - public static bool IsWeakKey(System.Byte[] rgbKey) => throw null; - public override System.Byte[] Key { get => throw null; set => throw null; } - } - - // Generated from `System.Security.Cryptography.DSA` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class DSA : System.Security.Cryptography.AsymmetricAlgorithm - { - public static System.Security.Cryptography.DSA Create() => throw null; - public static System.Security.Cryptography.DSA Create(System.Security.Cryptography.DSAParameters parameters) => throw null; - public static System.Security.Cryptography.DSA Create(int keySizeInBits) => throw null; - public static System.Security.Cryptography.DSA Create(string algName) => throw null; - public abstract System.Byte[] CreateSignature(System.Byte[] rgbHash); - public System.Byte[] CreateSignature(System.Byte[] rgbHash, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual System.Byte[] CreateSignatureCore(System.ReadOnlySpan hash, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected DSA() => throw null; - public abstract System.Security.Cryptography.DSAParameters ExportParameters(bool includePrivateParameters); - public override void FromXmlString(string xmlString) => throw null; - public int GetMaxSignatureSize(System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - protected virtual System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan passwordBytes) => throw null; - public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan password) => throw null; - public override void ImportFromPem(System.ReadOnlySpan input) => throw null; - public abstract void ImportParameters(System.Security.Cryptography.DSAParameters parameters); - public override void ImportPkcs8PrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportSubjectPublicKeyInfo(System.ReadOnlySpan source, out int bytesRead) => throw null; - public System.Byte[] SignData(System.Byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public System.Byte[] SignData(System.Byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public virtual System.Byte[] SignData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public System.Byte[] SignData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public virtual System.Byte[] SignData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public System.Byte[] SignData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual System.Byte[] SignDataCore(System.ReadOnlySpan data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual System.Byte[] SignDataCore(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public override string ToXmlString(bool includePrivateParameters) => throw null; - public bool TryCreateSignature(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; - public virtual bool TryCreateSignature(System.ReadOnlySpan hash, System.Span destination, out int bytesWritten) => throw null; - protected virtual bool TryCreateSignatureCore(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; - public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; - protected virtual bool TryHashData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out int bytesWritten) => throw null; - public bool TrySignData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; - public virtual bool TrySignData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out int bytesWritten) => throw null; - protected virtual bool TrySignDataCore(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; - public bool VerifyData(System.Byte[] data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public bool VerifyData(System.Byte[] data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public virtual bool VerifyData(System.Byte[] data, int offset, int count, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public bool VerifyData(System.Byte[] data, int offset, int count, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public virtual bool VerifyData(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public bool VerifyData(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public virtual bool VerifyData(System.IO.Stream data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public bool VerifyData(System.IO.Stream data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual bool VerifyDataCore(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual bool VerifyDataCore(System.IO.Stream data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public abstract bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature); - public bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public virtual bool VerifySignature(System.ReadOnlySpan hash, System.ReadOnlySpan signature) => throw null; - public bool VerifySignature(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual bool VerifySignatureCore(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - } - - // Generated from `System.Security.Cryptography.DSAParameters` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct DSAParameters - { - public int Counter; - // Stub generator skipped constructor - public System.Byte[] G; - public System.Byte[] J; - public System.Byte[] P; - public System.Byte[] Q; - public System.Byte[] Seed; - public System.Byte[] X; - public System.Byte[] Y; - } - - // Generated from `System.Security.Cryptography.DSASignatureDeformatter` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class DSASignatureDeformatter : System.Security.Cryptography.AsymmetricSignatureDeformatter - { - public DSASignatureDeformatter() => throw null; - public DSASignatureDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - public override void SetHashAlgorithm(string strName) => throw null; - public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; - } - - // Generated from `System.Security.Cryptography.DSASignatureFormat` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum DSASignatureFormat : int - { - IeeeP1363FixedFieldConcatenation = 0, - Rfc3279DerSequence = 1, - } - - // Generated from `System.Security.Cryptography.DSASignatureFormatter` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class DSASignatureFormatter : System.Security.Cryptography.AsymmetricSignatureFormatter - { - public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; - public DSASignatureFormatter() => throw null; - public DSASignatureFormatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - public override void SetHashAlgorithm(string strName) => throw null; - public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - } - - // Generated from `System.Security.Cryptography.DeriveBytes` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class DeriveBytes : System.IDisposable - { - protected DeriveBytes() => throw null; - public void Dispose() => throw null; - protected virtual void Dispose(bool disposing) => throw null; - public abstract System.Byte[] GetBytes(int cb); - public abstract void Reset(); - } - - // Generated from `System.Security.Cryptography.ECCurve` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct ECCurve - { - // Generated from `System.Security.Cryptography.ECCurve+ECCurveType` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum ECCurveType : int - { - Characteristic2 = 4, - Implicit = 0, - Named = 5, - PrimeMontgomery = 3, - PrimeShortWeierstrass = 1, - PrimeTwistedEdwards = 2, - } - - - // Generated from `System.Security.Cryptography.ECCurve+NamedCurves` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public static class NamedCurves - { - public static System.Security.Cryptography.ECCurve brainpoolP160r1 { get => throw null; } - public static System.Security.Cryptography.ECCurve brainpoolP160t1 { get => throw null; } - public static System.Security.Cryptography.ECCurve brainpoolP192r1 { get => throw null; } - public static System.Security.Cryptography.ECCurve brainpoolP192t1 { get => throw null; } - public static System.Security.Cryptography.ECCurve brainpoolP224r1 { get => throw null; } - public static System.Security.Cryptography.ECCurve brainpoolP224t1 { get => throw null; } - public static System.Security.Cryptography.ECCurve brainpoolP256r1 { get => throw null; } - public static System.Security.Cryptography.ECCurve brainpoolP256t1 { get => throw null; } - public static System.Security.Cryptography.ECCurve brainpoolP320r1 { get => throw null; } - public static System.Security.Cryptography.ECCurve brainpoolP320t1 { get => throw null; } - public static System.Security.Cryptography.ECCurve brainpoolP384r1 { get => throw null; } - public static System.Security.Cryptography.ECCurve brainpoolP384t1 { get => throw null; } - public static System.Security.Cryptography.ECCurve brainpoolP512r1 { get => throw null; } - public static System.Security.Cryptography.ECCurve brainpoolP512t1 { get => throw null; } - public static System.Security.Cryptography.ECCurve nistP256 { get => throw null; } - public static System.Security.Cryptography.ECCurve nistP384 { get => throw null; } - public static System.Security.Cryptography.ECCurve nistP521 { get => throw null; } - } - - - public System.Byte[] A; - public System.Byte[] B; - public System.Byte[] Cofactor; - public static System.Security.Cryptography.ECCurve CreateFromFriendlyName(string oidFriendlyName) => throw null; - public static System.Security.Cryptography.ECCurve CreateFromOid(System.Security.Cryptography.Oid curveOid) => throw null; - public static System.Security.Cryptography.ECCurve CreateFromValue(string oidValue) => throw null; - public System.Security.Cryptography.ECCurve.ECCurveType CurveType; - // Stub generator skipped constructor - public System.Security.Cryptography.ECPoint G; - public System.Security.Cryptography.HashAlgorithmName? Hash; - public bool IsCharacteristic2 { get => throw null; } - public bool IsExplicit { get => throw null; } - public bool IsNamed { get => throw null; } - public bool IsPrime { get => throw null; } - public System.Security.Cryptography.Oid Oid { get => throw null; } - public System.Byte[] Order; - public System.Byte[] Polynomial; - public System.Byte[] Prime; - public System.Byte[] Seed; - public void Validate() => throw null; - } - - // Generated from `System.Security.Cryptography.ECDiffieHellman` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class ECDiffieHellman : System.Security.Cryptography.AsymmetricAlgorithm - { - public static System.Security.Cryptography.ECDiffieHellman Create() => throw null; - public static System.Security.Cryptography.ECDiffieHellman Create(System.Security.Cryptography.ECCurve curve) => throw null; - public static System.Security.Cryptography.ECDiffieHellman Create(System.Security.Cryptography.ECParameters parameters) => throw null; - public static System.Security.Cryptography.ECDiffieHellman Create(string algorithm) => throw null; - public System.Byte[] DeriveKeyFromHash(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public virtual System.Byte[] DeriveKeyFromHash(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] secretPrepend, System.Byte[] secretAppend) => throw null; - public System.Byte[] DeriveKeyFromHmac(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] hmacKey) => throw null; - public virtual System.Byte[] DeriveKeyFromHmac(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] hmacKey, System.Byte[] secretPrepend, System.Byte[] secretAppend) => throw null; - public virtual System.Byte[] DeriveKeyMaterial(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey) => throw null; - public virtual System.Byte[] DeriveKeyTls(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Byte[] prfLabel, System.Byte[] prfSeed) => throw null; - protected ECDiffieHellman() => throw null; - public virtual System.Byte[] ExportECPrivateKey() => throw null; - public virtual System.Security.Cryptography.ECParameters ExportExplicitParameters(bool includePrivateParameters) => throw null; - public virtual System.Security.Cryptography.ECParameters ExportParameters(bool includePrivateParameters) => throw null; - public override void FromXmlString(string xmlString) => throw null; - public virtual void GenerateKey(System.Security.Cryptography.ECCurve curve) => throw null; - public virtual void ImportECPrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan passwordBytes) => throw null; - public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan password) => throw null; - public override void ImportFromPem(System.ReadOnlySpan input) => throw null; - public virtual void ImportParameters(System.Security.Cryptography.ECParameters parameters) => throw null; - public override void ImportPkcs8PrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportSubjectPublicKeyInfo(System.ReadOnlySpan source, out int bytesRead) => throw null; - public override string KeyExchangeAlgorithm { get => throw null; } - public abstract System.Security.Cryptography.ECDiffieHellmanPublicKey PublicKey { get; } - public override string SignatureAlgorithm { get => throw null; } - public override string ToXmlString(bool includePrivateParameters) => throw null; - public virtual bool TryExportECPrivateKey(System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.ECDiffieHellmanPublicKey` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class ECDiffieHellmanPublicKey : System.IDisposable - { - public void Dispose() => throw null; - protected virtual void Dispose(bool disposing) => throw null; - protected ECDiffieHellmanPublicKey() => throw null; - protected ECDiffieHellmanPublicKey(System.Byte[] keyBlob) => throw null; - public virtual System.Security.Cryptography.ECParameters ExportExplicitParameters() => throw null; - public virtual System.Security.Cryptography.ECParameters ExportParameters() => throw null; - public virtual System.Byte[] ExportSubjectPublicKeyInfo() => throw null; - public virtual System.Byte[] ToByteArray() => throw null; - public virtual string ToXmlString() => throw null; - public virtual bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.ECDsa` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class ECDsa : System.Security.Cryptography.AsymmetricAlgorithm - { - public static System.Security.Cryptography.ECDsa Create() => throw null; - public static System.Security.Cryptography.ECDsa Create(System.Security.Cryptography.ECCurve curve) => throw null; - public static System.Security.Cryptography.ECDsa Create(System.Security.Cryptography.ECParameters parameters) => throw null; - public static System.Security.Cryptography.ECDsa Create(string algorithm) => throw null; - protected ECDsa() => throw null; - public virtual System.Byte[] ExportECPrivateKey() => throw null; - public virtual System.Security.Cryptography.ECParameters ExportExplicitParameters(bool includePrivateParameters) => throw null; - public virtual System.Security.Cryptography.ECParameters ExportParameters(bool includePrivateParameters) => throw null; - public override void FromXmlString(string xmlString) => throw null; - public virtual void GenerateKey(System.Security.Cryptography.ECCurve curve) => throw null; - public int GetMaxSignatureSize(System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - protected virtual System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public virtual void ImportECPrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan passwordBytes) => throw null; - public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan password) => throw null; - public override void ImportFromPem(System.ReadOnlySpan input) => throw null; - public virtual void ImportParameters(System.Security.Cryptography.ECParameters parameters) => throw null; - public override void ImportPkcs8PrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportSubjectPublicKeyInfo(System.ReadOnlySpan source, out int bytesRead) => throw null; - public override string KeyExchangeAlgorithm { get => throw null; } - public virtual System.Byte[] SignData(System.Byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public System.Byte[] SignData(System.Byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public virtual System.Byte[] SignData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public System.Byte[] SignData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public virtual System.Byte[] SignData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public System.Byte[] SignData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual System.Byte[] SignDataCore(System.ReadOnlySpan data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual System.Byte[] SignDataCore(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public abstract System.Byte[] SignHash(System.Byte[] hash); - public System.Byte[] SignHash(System.Byte[] hash, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual System.Byte[] SignHashCore(System.ReadOnlySpan hash, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public override string SignatureAlgorithm { get => throw null; } - public override string ToXmlString(bool includePrivateParameters) => throw null; - public virtual bool TryExportECPrivateKey(System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; - protected virtual bool TryHashData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out int bytesWritten) => throw null; - public bool TrySignData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; - public virtual bool TrySignData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out int bytesWritten) => throw null; - protected virtual bool TrySignDataCore(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; - public bool TrySignHash(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; - public virtual bool TrySignHash(System.ReadOnlySpan hash, System.Span destination, out int bytesWritten) => throw null; - protected virtual bool TrySignHashCore(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; - public bool VerifyData(System.Byte[] data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public bool VerifyData(System.Byte[] data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public virtual bool VerifyData(System.Byte[] data, int offset, int count, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public bool VerifyData(System.Byte[] data, int offset, int count, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public virtual bool VerifyData(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public bool VerifyData(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public bool VerifyData(System.IO.Stream data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public bool VerifyData(System.IO.Stream data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual bool VerifyDataCore(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual bool VerifyDataCore(System.IO.Stream data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public abstract bool VerifyHash(System.Byte[] hash, System.Byte[] signature); - public bool VerifyHash(System.Byte[] hash, System.Byte[] signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - public virtual bool VerifyHash(System.ReadOnlySpan hash, System.ReadOnlySpan signature) => throw null; - public bool VerifyHash(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - protected virtual bool VerifyHashCore(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; - } - - // Generated from `System.Security.Cryptography.ECParameters` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct ECParameters - { - public System.Security.Cryptography.ECCurve Curve; - public System.Byte[] D; - // Stub generator skipped constructor - public System.Security.Cryptography.ECPoint Q; - public void Validate() => throw null; - } - - // Generated from `System.Security.Cryptography.ECPoint` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct ECPoint - { - // Stub generator skipped constructor - public System.Byte[] X; - public System.Byte[] Y; - } - - // Generated from `System.Security.Cryptography.HKDF` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public static class HKDF - { - public static System.Byte[] DeriveKey(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.Byte[] ikm, int outputLength, System.Byte[] salt = default(System.Byte[]), System.Byte[] info = default(System.Byte[])) => throw null; - public static void DeriveKey(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.ReadOnlySpan ikm, System.Span output, System.ReadOnlySpan salt, System.ReadOnlySpan info) => throw null; - public static System.Byte[] Expand(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.Byte[] prk, int outputLength, System.Byte[] info = default(System.Byte[])) => throw null; - public static void Expand(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.ReadOnlySpan prk, System.Span output, System.ReadOnlySpan info) => throw null; - public static System.Byte[] Extract(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.Byte[] ikm, System.Byte[] salt = default(System.Byte[])) => throw null; - public static int Extract(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.ReadOnlySpan ikm, System.ReadOnlySpan salt, System.Span prk) => throw null; - } - - // Generated from `System.Security.Cryptography.HMACMD5` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class HMACMD5 : System.Security.Cryptography.HMAC - { - protected override void Dispose(bool disposing) => throw null; - public HMACMD5() => throw null; - public HMACMD5(System.Byte[] key) => throw null; - protected override void HashCore(System.Byte[] rgb, int ib, int cb) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - public static System.Byte[] HashData(System.Byte[] key, System.Byte[] source) => throw null; - public static System.Byte[] HashData(System.ReadOnlySpan key, System.ReadOnlySpan source) => throw null; - public static int HashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public override System.Byte[] Key { get => throw null; set => throw null; } - public static bool TryHashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.HMACSHA1` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class HMACSHA1 : System.Security.Cryptography.HMAC - { - protected override void Dispose(bool disposing) => throw null; - public HMACSHA1() => throw null; - public HMACSHA1(System.Byte[] key) => throw null; - public HMACSHA1(System.Byte[] key, bool useManagedSha1) => throw null; - protected override void HashCore(System.Byte[] rgb, int ib, int cb) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - public static System.Byte[] HashData(System.Byte[] key, System.Byte[] source) => throw null; - public static System.Byte[] HashData(System.ReadOnlySpan key, System.ReadOnlySpan source) => throw null; - public static int HashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public override System.Byte[] Key { get => throw null; set => throw null; } - public static bool TryHashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.HMACSHA256` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class HMACSHA256 : System.Security.Cryptography.HMAC - { - protected override void Dispose(bool disposing) => throw null; - public HMACSHA256() => throw null; - public HMACSHA256(System.Byte[] key) => throw null; - protected override void HashCore(System.Byte[] rgb, int ib, int cb) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - public static System.Byte[] HashData(System.Byte[] key, System.Byte[] source) => throw null; - public static System.Byte[] HashData(System.ReadOnlySpan key, System.ReadOnlySpan source) => throw null; - public static int HashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public override System.Byte[] Key { get => throw null; set => throw null; } - public static bool TryHashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.HMACSHA384` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class HMACSHA384 : System.Security.Cryptography.HMAC - { - protected override void Dispose(bool disposing) => throw null; - public HMACSHA384() => throw null; - public HMACSHA384(System.Byte[] key) => throw null; - protected override void HashCore(System.Byte[] rgb, int ib, int cb) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - public static System.Byte[] HashData(System.Byte[] key, System.Byte[] source) => throw null; - public static System.Byte[] HashData(System.ReadOnlySpan key, System.ReadOnlySpan source) => throw null; - public static int HashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public override System.Byte[] Key { get => throw null; set => throw null; } - public bool ProduceLegacyHmacValues { get => throw null; set => throw null; } - public static bool TryHashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.HMACSHA512` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class HMACSHA512 : System.Security.Cryptography.HMAC - { - protected override void Dispose(bool disposing) => throw null; - public HMACSHA512() => throw null; - public HMACSHA512(System.Byte[] key) => throw null; - protected override void HashCore(System.Byte[] rgb, int ib, int cb) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - public static System.Byte[] HashData(System.Byte[] key, System.Byte[] source) => throw null; - public static System.Byte[] HashData(System.ReadOnlySpan key, System.ReadOnlySpan source) => throw null; - public static int HashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public override System.Byte[] Key { get => throw null; set => throw null; } - public bool ProduceLegacyHmacValues { get => throw null; set => throw null; } - public static bool TryHashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.IncrementalHash` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class IncrementalHash : System.IDisposable - { - public System.Security.Cryptography.HashAlgorithmName AlgorithmName { get => throw null; } - public void AppendData(System.Byte[] data) => throw null; - public void AppendData(System.Byte[] data, int offset, int count) => throw null; - public void AppendData(System.ReadOnlySpan data) => throw null; - public static System.Security.Cryptography.IncrementalHash CreateHMAC(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] key) => throw null; - public static System.Security.Cryptography.IncrementalHash CreateHMAC(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.ReadOnlySpan key) => throw null; - public static System.Security.Cryptography.IncrementalHash CreateHash(System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public void Dispose() => throw null; - public System.Byte[] GetCurrentHash() => throw null; - public int GetCurrentHash(System.Span destination) => throw null; - public System.Byte[] GetHashAndReset() => throw null; - public int GetHashAndReset(System.Span destination) => throw null; - public int HashLengthInBytes { get => throw null; } - public bool TryGetCurrentHash(System.Span destination, out int bytesWritten) => throw null; - public bool TryGetHashAndReset(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.MD5` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class MD5 : System.Security.Cryptography.HashAlgorithm - { - public static System.Security.Cryptography.MD5 Create() => throw null; - public static System.Security.Cryptography.MD5 Create(string algName) => throw null; - public static System.Byte[] HashData(System.Byte[] source) => throw null; - public static System.Byte[] HashData(System.ReadOnlySpan source) => throw null; - public static int HashData(System.ReadOnlySpan source, System.Span destination) => throw null; - protected MD5() => throw null; - public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.MaskGenerationMethod` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class MaskGenerationMethod - { - public abstract System.Byte[] GenerateMask(System.Byte[] rgbSeed, int cbReturn); - protected MaskGenerationMethod() => throw null; - } - - // Generated from `System.Security.Cryptography.PKCS1MaskGenerationMethod` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class PKCS1MaskGenerationMethod : System.Security.Cryptography.MaskGenerationMethod - { - public override System.Byte[] GenerateMask(System.Byte[] rgbSeed, int cbReturn) => throw null; - public string HashName { get => throw null; set => throw null; } - public PKCS1MaskGenerationMethod() => throw null; - } - - // Generated from `System.Security.Cryptography.RC2` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class RC2 : System.Security.Cryptography.SymmetricAlgorithm - { - public static System.Security.Cryptography.RC2 Create() => throw null; - public static System.Security.Cryptography.RC2 Create(string AlgName) => throw null; - public virtual int EffectiveKeySize { get => throw null; set => throw null; } - protected int EffectiveKeySizeValue; - public override int KeySize { get => throw null; set => throw null; } - protected RC2() => throw null; - } - - // Generated from `System.Security.Cryptography.RSA` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class RSA : System.Security.Cryptography.AsymmetricAlgorithm - { - public static System.Security.Cryptography.RSA Create() => throw null; - public static System.Security.Cryptography.RSA Create(System.Security.Cryptography.RSAParameters parameters) => throw null; - public static System.Security.Cryptography.RSA Create(int keySizeInBits) => throw null; - public static System.Security.Cryptography.RSA Create(string algName) => throw null; - public virtual System.Byte[] Decrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; - public virtual System.Byte[] DecryptValue(System.Byte[] rgb) => throw null; - public virtual System.Byte[] Encrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; - public virtual System.Byte[] EncryptValue(System.Byte[] rgb) => throw null; - public abstract System.Security.Cryptography.RSAParameters ExportParameters(bool includePrivateParameters); - public virtual System.Byte[] ExportRSAPrivateKey() => throw null; - public virtual System.Byte[] ExportRSAPublicKey() => throw null; - public override void FromXmlString(string xmlString) => throw null; - protected virtual System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - protected virtual System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan passwordBytes) => throw null; - public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan password) => throw null; - public override void ImportFromPem(System.ReadOnlySpan input) => throw null; - public abstract void ImportParameters(System.Security.Cryptography.RSAParameters parameters); - public override void ImportPkcs8PrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; - public virtual void ImportRSAPrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; - public virtual void ImportRSAPublicKey(System.ReadOnlySpan source, out int bytesRead) => throw null; - public override void ImportSubjectPublicKeyInfo(System.ReadOnlySpan source, out int bytesRead) => throw null; - public override string KeyExchangeAlgorithm { get => throw null; } - protected RSA() => throw null; - public System.Byte[] SignData(System.Byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public virtual System.Byte[] SignData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public virtual System.Byte[] SignData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public virtual System.Byte[] SignHash(System.Byte[] hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public override string SignatureAlgorithm { get => throw null; } - public override string ToXmlString(bool includePrivateParameters) => throw null; - public virtual bool TryDecrypt(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.RSAEncryptionPadding padding, out int bytesWritten) => throw null; - public virtual bool TryEncrypt(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.RSAEncryptionPadding padding, out int bytesWritten) => throw null; - public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten) => throw null; - public virtual bool TryExportRSAPrivateKey(System.Span destination, out int bytesWritten) => throw null; - public virtual bool TryExportRSAPublicKey(System.Span destination, out int bytesWritten) => throw null; - public override bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; - protected virtual bool TryHashData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out int bytesWritten) => throw null; - public virtual bool TrySignData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding, out int bytesWritten) => throw null; - public virtual bool TrySignHash(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding, out int bytesWritten) => throw null; - public bool VerifyData(System.Byte[] data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public virtual bool VerifyData(System.Byte[] data, int offset, int count, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public virtual bool VerifyData(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public bool VerifyData(System.IO.Stream data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public virtual bool VerifyHash(System.Byte[] hash, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public virtual bool VerifyHash(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - } - - // Generated from `System.Security.Cryptography.RSAEncryptionPadding` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RSAEncryptionPadding : System.IEquatable - { - public static bool operator !=(System.Security.Cryptography.RSAEncryptionPadding left, System.Security.Cryptography.RSAEncryptionPadding right) => throw null; - public static bool operator ==(System.Security.Cryptography.RSAEncryptionPadding left, System.Security.Cryptography.RSAEncryptionPadding right) => throw null; - public static System.Security.Cryptography.RSAEncryptionPadding CreateOaep(System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public bool Equals(System.Security.Cryptography.RSAEncryptionPadding other) => throw null; - public override bool Equals(object obj) => throw null; - public override int GetHashCode() => throw null; - public System.Security.Cryptography.RSAEncryptionPaddingMode Mode { get => throw null; } - public System.Security.Cryptography.HashAlgorithmName OaepHashAlgorithm { get => throw null; } - public static System.Security.Cryptography.RSAEncryptionPadding OaepSHA1 { get => throw null; } - public static System.Security.Cryptography.RSAEncryptionPadding OaepSHA256 { get => throw null; } - public static System.Security.Cryptography.RSAEncryptionPadding OaepSHA384 { get => throw null; } - public static System.Security.Cryptography.RSAEncryptionPadding OaepSHA512 { get => throw null; } - public static System.Security.Cryptography.RSAEncryptionPadding Pkcs1 { get => throw null; } - public override string ToString() => throw null; - } - - // Generated from `System.Security.Cryptography.RSAEncryptionPaddingMode` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum RSAEncryptionPaddingMode : int - { - Oaep = 1, - Pkcs1 = 0, - } - - // Generated from `System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RSAOAEPKeyExchangeDeformatter : System.Security.Cryptography.AsymmetricKeyExchangeDeformatter - { - public override System.Byte[] DecryptKeyExchange(System.Byte[] rgbData) => throw null; - public override string Parameters { get => throw null; set => throw null; } - public RSAOAEPKeyExchangeDeformatter() => throw null; - public RSAOAEPKeyExchangeDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - } - - // Generated from `System.Security.Cryptography.RSAOAEPKeyExchangeFormatter` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RSAOAEPKeyExchangeFormatter : System.Security.Cryptography.AsymmetricKeyExchangeFormatter - { - public override System.Byte[] CreateKeyExchange(System.Byte[] rgbData) => throw null; - public override System.Byte[] CreateKeyExchange(System.Byte[] rgbData, System.Type symAlgType) => throw null; - public System.Byte[] Parameter { get => throw null; set => throw null; } - public override string Parameters { get => throw null; } - public RSAOAEPKeyExchangeFormatter() => throw null; - public RSAOAEPKeyExchangeFormatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - public System.Security.Cryptography.RandomNumberGenerator Rng { get => throw null; set => throw null; } - public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - } - - // Generated from `System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RSAPKCS1KeyExchangeDeformatter : System.Security.Cryptography.AsymmetricKeyExchangeDeformatter - { - public override System.Byte[] DecryptKeyExchange(System.Byte[] rgbIn) => throw null; - public override string Parameters { get => throw null; set => throw null; } - public System.Security.Cryptography.RandomNumberGenerator RNG { get => throw null; set => throw null; } - public RSAPKCS1KeyExchangeDeformatter() => throw null; - public RSAPKCS1KeyExchangeDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - } - - // Generated from `System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RSAPKCS1KeyExchangeFormatter : System.Security.Cryptography.AsymmetricKeyExchangeFormatter - { - public override System.Byte[] CreateKeyExchange(System.Byte[] rgbData) => throw null; - public override System.Byte[] CreateKeyExchange(System.Byte[] rgbData, System.Type symAlgType) => throw null; - public override string Parameters { get => throw null; } - public RSAPKCS1KeyExchangeFormatter() => throw null; - public RSAPKCS1KeyExchangeFormatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - public System.Security.Cryptography.RandomNumberGenerator Rng { get => throw null; set => throw null; } - public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - } - - // Generated from `System.Security.Cryptography.RSAPKCS1SignatureDeformatter` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RSAPKCS1SignatureDeformatter : System.Security.Cryptography.AsymmetricSignatureDeformatter - { - public RSAPKCS1SignatureDeformatter() => throw null; - public RSAPKCS1SignatureDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - public override void SetHashAlgorithm(string strName) => throw null; - public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; - } - - // Generated from `System.Security.Cryptography.RSAPKCS1SignatureFormatter` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RSAPKCS1SignatureFormatter : System.Security.Cryptography.AsymmetricSignatureFormatter - { - public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; - public RSAPKCS1SignatureFormatter() => throw null; - public RSAPKCS1SignatureFormatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - public override void SetHashAlgorithm(string strName) => throw null; - public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - } - - // Generated from `System.Security.Cryptography.RSAParameters` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct RSAParameters - { - public System.Byte[] D; - public System.Byte[] DP; - public System.Byte[] DQ; - public System.Byte[] Exponent; - public System.Byte[] InverseQ; - public System.Byte[] Modulus; - public System.Byte[] P; - public System.Byte[] Q; - // Stub generator skipped constructor - } - - // Generated from `System.Security.Cryptography.RSASignaturePadding` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RSASignaturePadding : System.IEquatable - { - public static bool operator !=(System.Security.Cryptography.RSASignaturePadding left, System.Security.Cryptography.RSASignaturePadding right) => throw null; - public static bool operator ==(System.Security.Cryptography.RSASignaturePadding left, System.Security.Cryptography.RSASignaturePadding right) => throw null; - public bool Equals(System.Security.Cryptography.RSASignaturePadding other) => throw null; - public override bool Equals(object obj) => throw null; - public override int GetHashCode() => throw null; - public System.Security.Cryptography.RSASignaturePaddingMode Mode { get => throw null; } - public static System.Security.Cryptography.RSASignaturePadding Pkcs1 { get => throw null; } - public static System.Security.Cryptography.RSASignaturePadding Pss { get => throw null; } - public override string ToString() => throw null; - } - - // Generated from `System.Security.Cryptography.RSASignaturePaddingMode` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum RSASignaturePaddingMode : int - { - Pkcs1 = 0, - Pss = 1, - } - - // Generated from `System.Security.Cryptography.RandomNumberGenerator` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class RandomNumberGenerator : System.IDisposable - { - public static System.Security.Cryptography.RandomNumberGenerator Create() => throw null; - public static System.Security.Cryptography.RandomNumberGenerator Create(string rngName) => throw null; - public void Dispose() => throw null; - protected virtual void Dispose(bool disposing) => throw null; - public static void Fill(System.Span data) => throw null; - public abstract void GetBytes(System.Byte[] data); - public virtual void GetBytes(System.Byte[] data, int offset, int count) => throw null; - public virtual void GetBytes(System.Span data) => throw null; - public static System.Byte[] GetBytes(int count) => throw null; - public static int GetInt32(int toExclusive) => throw null; - public static int GetInt32(int fromInclusive, int toExclusive) => throw null; - public virtual void GetNonZeroBytes(System.Byte[] data) => throw null; - public virtual void GetNonZeroBytes(System.Span data) => throw null; - protected RandomNumberGenerator() => throw null; - } - - // Generated from `System.Security.Cryptography.Rfc2898DeriveBytes` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class Rfc2898DeriveBytes : System.Security.Cryptography.DeriveBytes - { - public System.Byte[] CryptDeriveKey(string algname, string alghashname, int keySize, System.Byte[] rgbIV) => throw null; - protected override void Dispose(bool disposing) => throw null; - public override System.Byte[] GetBytes(int cb) => throw null; - public System.Security.Cryptography.HashAlgorithmName HashAlgorithm { get => throw null; } - public int IterationCount { get => throw null; set => throw null; } - public static System.Byte[] Pbkdf2(System.Byte[] password, System.Byte[] salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int outputLength) => throw null; - public static void Pbkdf2(System.ReadOnlySpan password, System.ReadOnlySpan salt, System.Span destination, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public static System.Byte[] Pbkdf2(System.ReadOnlySpan password, System.ReadOnlySpan salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int outputLength) => throw null; - public static void Pbkdf2(System.ReadOnlySpan password, System.ReadOnlySpan salt, System.Span destination, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public static System.Byte[] Pbkdf2(System.ReadOnlySpan password, System.ReadOnlySpan salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int outputLength) => throw null; - public static System.Byte[] Pbkdf2(string password, System.Byte[] salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int outputLength) => throw null; - public override void Reset() => throw null; - public Rfc2898DeriveBytes(System.Byte[] password, System.Byte[] salt, int iterations) => throw null; - public Rfc2898DeriveBytes(System.Byte[] password, System.Byte[] salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public Rfc2898DeriveBytes(string password, System.Byte[] salt) => throw null; - public Rfc2898DeriveBytes(string password, System.Byte[] salt, int iterations) => throw null; - public Rfc2898DeriveBytes(string password, System.Byte[] salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public Rfc2898DeriveBytes(string password, int saltSize) => throw null; - public Rfc2898DeriveBytes(string password, int saltSize, int iterations) => throw null; - public Rfc2898DeriveBytes(string password, int saltSize, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public System.Byte[] Salt { get => throw null; set => throw null; } - } - - // Generated from `System.Security.Cryptography.Rijndael` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class Rijndael : System.Security.Cryptography.SymmetricAlgorithm - { - public static System.Security.Cryptography.Rijndael Create() => throw null; - public static System.Security.Cryptography.Rijndael Create(string algName) => throw null; - protected Rijndael() => throw null; - } - - // Generated from `System.Security.Cryptography.RijndaelManaged` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RijndaelManaged : System.Security.Cryptography.Rijndael - { - public override int BlockSize { get => throw null; set => throw null; } - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - protected override void Dispose(bool disposing) => throw null; - public override int FeedbackSize { get => throw null; set => throw null; } - public override void GenerateIV() => throw null; - public override void GenerateKey() => throw null; - public override System.Byte[] IV { get => throw null; set => throw null; } - public override System.Byte[] Key { get => throw null; set => throw null; } - public override int KeySize { get => throw null; set => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - public override System.Security.Cryptography.CipherMode Mode { get => throw null; set => throw null; } - public override System.Security.Cryptography.PaddingMode Padding { get => throw null; set => throw null; } - public RijndaelManaged() => throw null; - } - - // Generated from `System.Security.Cryptography.SHA1` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class SHA1 : System.Security.Cryptography.HashAlgorithm - { - public static System.Security.Cryptography.SHA1 Create() => throw null; - public static System.Security.Cryptography.SHA1 Create(string hashName) => throw null; - public static System.Byte[] HashData(System.Byte[] source) => throw null; - public static System.Byte[] HashData(System.ReadOnlySpan source) => throw null; - public static int HashData(System.ReadOnlySpan source, System.Span destination) => throw null; - protected SHA1() => throw null; - public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.SHA1Managed` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SHA1Managed : System.Security.Cryptography.SHA1 - { - protected override void Dispose(bool disposing) => throw null; - protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public SHA1Managed() => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.SHA256` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class SHA256 : System.Security.Cryptography.HashAlgorithm - { - public static System.Security.Cryptography.SHA256 Create() => throw null; - public static System.Security.Cryptography.SHA256 Create(string hashName) => throw null; - public static System.Byte[] HashData(System.Byte[] source) => throw null; - public static System.Byte[] HashData(System.ReadOnlySpan source) => throw null; - public static int HashData(System.ReadOnlySpan source, System.Span destination) => throw null; - protected SHA256() => throw null; - public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.SHA256Managed` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SHA256Managed : System.Security.Cryptography.SHA256 - { - protected override void Dispose(bool disposing) => throw null; - protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public SHA256Managed() => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.SHA384` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class SHA384 : System.Security.Cryptography.HashAlgorithm - { - public static System.Security.Cryptography.SHA384 Create() => throw null; - public static System.Security.Cryptography.SHA384 Create(string hashName) => throw null; - public static System.Byte[] HashData(System.Byte[] source) => throw null; - public static System.Byte[] HashData(System.ReadOnlySpan source) => throw null; - public static int HashData(System.ReadOnlySpan source, System.Span destination) => throw null; - protected SHA384() => throw null; - public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.SHA384Managed` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SHA384Managed : System.Security.Cryptography.SHA384 - { - protected override void Dispose(bool disposing) => throw null; - protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public SHA384Managed() => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.SHA512` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class SHA512 : System.Security.Cryptography.HashAlgorithm - { - public static System.Security.Cryptography.SHA512 Create() => throw null; - public static System.Security.Cryptography.SHA512 Create(string hashName) => throw null; - public static System.Byte[] HashData(System.Byte[] source) => throw null; - public static System.Byte[] HashData(System.ReadOnlySpan source) => throw null; - public static int HashData(System.ReadOnlySpan source, System.Span destination) => throw null; - protected SHA512() => throw null; - public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.SHA512Managed` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SHA512Managed : System.Security.Cryptography.SHA512 - { - protected override void Dispose(bool disposing) => throw null; - protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public SHA512Managed() => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.SignatureDescription` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SignatureDescription - { - public virtual System.Security.Cryptography.AsymmetricSignatureDeformatter CreateDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - public virtual System.Security.Cryptography.HashAlgorithm CreateDigest() => throw null; - public virtual System.Security.Cryptography.AsymmetricSignatureFormatter CreateFormatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - public string DeformatterAlgorithm { get => throw null; set => throw null; } - public string DigestAlgorithm { get => throw null; set => throw null; } - public string FormatterAlgorithm { get => throw null; set => throw null; } - public string KeyAlgorithm { get => throw null; set => throw null; } - public SignatureDescription() => throw null; - public SignatureDescription(System.Security.SecurityElement el) => throw null; - } - - // Generated from `System.Security.Cryptography.TripleDES` in `System.Security.Cryptography.Algorithms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class TripleDES : System.Security.Cryptography.SymmetricAlgorithm - { - public static System.Security.Cryptography.TripleDES Create() => throw null; - public static System.Security.Cryptography.TripleDES Create(string str) => throw null; - public static bool IsWeakKey(System.Byte[] rgbKey) => throw null; - public override System.Byte[] Key { get => throw null; set => throw null; } - protected TripleDES() => throw null; - } - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Cng.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Cng.cs deleted file mode 100644 index 533b738e481..00000000000 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Cng.cs +++ /dev/null @@ -1,452 +0,0 @@ -// This file contains auto-generated code. - -namespace Microsoft -{ - namespace Win32 - { - namespace SafeHandles - { - // Generated from `Microsoft.Win32.SafeHandles.SafeNCryptHandle` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class SafeNCryptHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid - { - public override bool IsInvalid { get => throw null; } - protected override bool ReleaseHandle() => throw null; - protected abstract bool ReleaseNativeHandle(); - protected SafeNCryptHandle() : base(default(bool)) => throw null; - protected SafeNCryptHandle(System.IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle) : base(default(bool)) => throw null; - } - - // Generated from `Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SafeNCryptKeyHandle : Microsoft.Win32.SafeHandles.SafeNCryptHandle - { - protected override bool ReleaseNativeHandle() => throw null; - public SafeNCryptKeyHandle() => throw null; - public SafeNCryptKeyHandle(System.IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle) => throw null; - } - - // Generated from `Microsoft.Win32.SafeHandles.SafeNCryptProviderHandle` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SafeNCryptProviderHandle : Microsoft.Win32.SafeHandles.SafeNCryptHandle - { - protected override bool ReleaseNativeHandle() => throw null; - public SafeNCryptProviderHandle() => throw null; - } - - // Generated from `Microsoft.Win32.SafeHandles.SafeNCryptSecretHandle` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SafeNCryptSecretHandle : Microsoft.Win32.SafeHandles.SafeNCryptHandle - { - protected override bool ReleaseNativeHandle() => throw null; - public SafeNCryptSecretHandle() => throw null; - } - - } - } -} -namespace System -{ - namespace Security - { - namespace Cryptography - { - // Generated from `System.Security.Cryptography.AesCng` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class AesCng : System.Security.Cryptography.Aes - { - public AesCng() => throw null; - public AesCng(string keyName) => throw null; - public AesCng(string keyName, System.Security.Cryptography.CngProvider provider) => throw null; - public AesCng(string keyName, System.Security.Cryptography.CngProvider provider, System.Security.Cryptography.CngKeyOpenOptions openOptions) => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - protected override void Dispose(bool disposing) => throw null; - public override void GenerateIV() => throw null; - public override void GenerateKey() => throw null; - public override System.Byte[] Key { get => throw null; set => throw null; } - public override int KeySize { get => throw null; set => throw null; } - } - - // Generated from `System.Security.Cryptography.CngAlgorithm` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CngAlgorithm : System.IEquatable - { - public static bool operator !=(System.Security.Cryptography.CngAlgorithm left, System.Security.Cryptography.CngAlgorithm right) => throw null; - public static bool operator ==(System.Security.Cryptography.CngAlgorithm left, System.Security.Cryptography.CngAlgorithm right) => throw null; - public string Algorithm { get => throw null; } - public CngAlgorithm(string algorithm) => throw null; - public static System.Security.Cryptography.CngAlgorithm ECDiffieHellman { get => throw null; } - public static System.Security.Cryptography.CngAlgorithm ECDiffieHellmanP256 { get => throw null; } - public static System.Security.Cryptography.CngAlgorithm ECDiffieHellmanP384 { get => throw null; } - public static System.Security.Cryptography.CngAlgorithm ECDiffieHellmanP521 { get => throw null; } - public static System.Security.Cryptography.CngAlgorithm ECDsa { get => throw null; } - public static System.Security.Cryptography.CngAlgorithm ECDsaP256 { get => throw null; } - public static System.Security.Cryptography.CngAlgorithm ECDsaP384 { get => throw null; } - public static System.Security.Cryptography.CngAlgorithm ECDsaP521 { get => throw null; } - public bool Equals(System.Security.Cryptography.CngAlgorithm other) => throw null; - public override bool Equals(object obj) => throw null; - public override int GetHashCode() => throw null; - public static System.Security.Cryptography.CngAlgorithm MD5 { get => throw null; } - public static System.Security.Cryptography.CngAlgorithm Rsa { get => throw null; } - public static System.Security.Cryptography.CngAlgorithm Sha1 { get => throw null; } - public static System.Security.Cryptography.CngAlgorithm Sha256 { get => throw null; } - public static System.Security.Cryptography.CngAlgorithm Sha384 { get => throw null; } - public static System.Security.Cryptography.CngAlgorithm Sha512 { get => throw null; } - public override string ToString() => throw null; - } - - // Generated from `System.Security.Cryptography.CngAlgorithmGroup` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CngAlgorithmGroup : System.IEquatable - { - public static bool operator !=(System.Security.Cryptography.CngAlgorithmGroup left, System.Security.Cryptography.CngAlgorithmGroup right) => throw null; - public static bool operator ==(System.Security.Cryptography.CngAlgorithmGroup left, System.Security.Cryptography.CngAlgorithmGroup right) => throw null; - public string AlgorithmGroup { get => throw null; } - public CngAlgorithmGroup(string algorithmGroup) => throw null; - public static System.Security.Cryptography.CngAlgorithmGroup DiffieHellman { get => throw null; } - public static System.Security.Cryptography.CngAlgorithmGroup Dsa { get => throw null; } - public static System.Security.Cryptography.CngAlgorithmGroup ECDiffieHellman { get => throw null; } - public static System.Security.Cryptography.CngAlgorithmGroup ECDsa { get => throw null; } - public bool Equals(System.Security.Cryptography.CngAlgorithmGroup other) => throw null; - public override bool Equals(object obj) => throw null; - public override int GetHashCode() => throw null; - public static System.Security.Cryptography.CngAlgorithmGroup Rsa { get => throw null; } - public override string ToString() => throw null; - } - - // Generated from `System.Security.Cryptography.CngExportPolicies` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum CngExportPolicies : int - { - AllowArchiving = 4, - AllowExport = 1, - AllowPlaintextArchiving = 8, - AllowPlaintextExport = 2, - None = 0, - } - - // Generated from `System.Security.Cryptography.CngKey` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CngKey : System.IDisposable - { - public System.Security.Cryptography.CngAlgorithm Algorithm { get => throw null; } - public System.Security.Cryptography.CngAlgorithmGroup AlgorithmGroup { get => throw null; } - public static System.Security.Cryptography.CngKey Create(System.Security.Cryptography.CngAlgorithm algorithm) => throw null; - public static System.Security.Cryptography.CngKey Create(System.Security.Cryptography.CngAlgorithm algorithm, string keyName) => throw null; - public static System.Security.Cryptography.CngKey Create(System.Security.Cryptography.CngAlgorithm algorithm, string keyName, System.Security.Cryptography.CngKeyCreationParameters creationParameters) => throw null; - public void Delete() => throw null; - public void Dispose() => throw null; - public static bool Exists(string keyName) => throw null; - public static bool Exists(string keyName, System.Security.Cryptography.CngProvider provider) => throw null; - public static bool Exists(string keyName, System.Security.Cryptography.CngProvider provider, System.Security.Cryptography.CngKeyOpenOptions options) => throw null; - public System.Byte[] Export(System.Security.Cryptography.CngKeyBlobFormat format) => throw null; - public System.Security.Cryptography.CngExportPolicies ExportPolicy { get => throw null; } - public System.Security.Cryptography.CngProperty GetProperty(string name, System.Security.Cryptography.CngPropertyOptions options) => throw null; - public Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle Handle { get => throw null; } - public bool HasProperty(string name, System.Security.Cryptography.CngPropertyOptions options) => throw null; - public static System.Security.Cryptography.CngKey Import(System.Byte[] keyBlob, System.Security.Cryptography.CngKeyBlobFormat format) => throw null; - public static System.Security.Cryptography.CngKey Import(System.Byte[] keyBlob, System.Security.Cryptography.CngKeyBlobFormat format, System.Security.Cryptography.CngProvider provider) => throw null; - public bool IsEphemeral { get => throw null; } - public bool IsMachineKey { get => throw null; } - public string KeyName { get => throw null; } - public int KeySize { get => throw null; } - public System.Security.Cryptography.CngKeyUsages KeyUsage { get => throw null; } - public static System.Security.Cryptography.CngKey Open(Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle keyHandle, System.Security.Cryptography.CngKeyHandleOpenOptions keyHandleOpenOptions) => throw null; - public static System.Security.Cryptography.CngKey Open(string keyName) => throw null; - public static System.Security.Cryptography.CngKey Open(string keyName, System.Security.Cryptography.CngProvider provider) => throw null; - public static System.Security.Cryptography.CngKey Open(string keyName, System.Security.Cryptography.CngProvider provider, System.Security.Cryptography.CngKeyOpenOptions openOptions) => throw null; - public System.IntPtr ParentWindowHandle { get => throw null; set => throw null; } - public System.Security.Cryptography.CngProvider Provider { get => throw null; } - public Microsoft.Win32.SafeHandles.SafeNCryptProviderHandle ProviderHandle { get => throw null; } - public void SetProperty(System.Security.Cryptography.CngProperty property) => throw null; - public System.Security.Cryptography.CngUIPolicy UIPolicy { get => throw null; } - public string UniqueName { get => throw null; } - } - - // Generated from `System.Security.Cryptography.CngKeyBlobFormat` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CngKeyBlobFormat : System.IEquatable - { - public static bool operator !=(System.Security.Cryptography.CngKeyBlobFormat left, System.Security.Cryptography.CngKeyBlobFormat right) => throw null; - public static bool operator ==(System.Security.Cryptography.CngKeyBlobFormat left, System.Security.Cryptography.CngKeyBlobFormat right) => throw null; - public CngKeyBlobFormat(string format) => throw null; - public static System.Security.Cryptography.CngKeyBlobFormat EccFullPrivateBlob { get => throw null; } - public static System.Security.Cryptography.CngKeyBlobFormat EccFullPublicBlob { get => throw null; } - public static System.Security.Cryptography.CngKeyBlobFormat EccPrivateBlob { get => throw null; } - public static System.Security.Cryptography.CngKeyBlobFormat EccPublicBlob { get => throw null; } - public bool Equals(System.Security.Cryptography.CngKeyBlobFormat other) => throw null; - public override bool Equals(object obj) => throw null; - public string Format { get => throw null; } - public static System.Security.Cryptography.CngKeyBlobFormat GenericPrivateBlob { get => throw null; } - public static System.Security.Cryptography.CngKeyBlobFormat GenericPublicBlob { get => throw null; } - public override int GetHashCode() => throw null; - public static System.Security.Cryptography.CngKeyBlobFormat OpaqueTransportBlob { get => throw null; } - public static System.Security.Cryptography.CngKeyBlobFormat Pkcs8PrivateBlob { get => throw null; } - public override string ToString() => throw null; - } - - // Generated from `System.Security.Cryptography.CngKeyCreationOptions` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum CngKeyCreationOptions : int - { - MachineKey = 32, - None = 0, - OverwriteExistingKey = 128, - } - - // Generated from `System.Security.Cryptography.CngKeyCreationParameters` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CngKeyCreationParameters - { - public CngKeyCreationParameters() => throw null; - public System.Security.Cryptography.CngExportPolicies? ExportPolicy { get => throw null; set => throw null; } - public System.Security.Cryptography.CngKeyCreationOptions KeyCreationOptions { get => throw null; set => throw null; } - public System.Security.Cryptography.CngKeyUsages? KeyUsage { get => throw null; set => throw null; } - public System.Security.Cryptography.CngPropertyCollection Parameters { get => throw null; } - public System.IntPtr ParentWindowHandle { get => throw null; set => throw null; } - public System.Security.Cryptography.CngProvider Provider { get => throw null; set => throw null; } - public System.Security.Cryptography.CngUIPolicy UIPolicy { get => throw null; set => throw null; } - } - - // Generated from `System.Security.Cryptography.CngKeyHandleOpenOptions` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum CngKeyHandleOpenOptions : int - { - EphemeralKey = 1, - None = 0, - } - - // Generated from `System.Security.Cryptography.CngKeyOpenOptions` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum CngKeyOpenOptions : int - { - MachineKey = 32, - None = 0, - Silent = 64, - UserKey = 0, - } - - // Generated from `System.Security.Cryptography.CngKeyUsages` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum CngKeyUsages : int - { - AllUsages = 16777215, - Decryption = 1, - KeyAgreement = 4, - None = 0, - Signing = 2, - } - - // Generated from `System.Security.Cryptography.CngProperty` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct CngProperty : System.IEquatable - { - public static bool operator !=(System.Security.Cryptography.CngProperty left, System.Security.Cryptography.CngProperty right) => throw null; - public static bool operator ==(System.Security.Cryptography.CngProperty left, System.Security.Cryptography.CngProperty right) => throw null; - // Stub generator skipped constructor - public CngProperty(string name, System.Byte[] value, System.Security.Cryptography.CngPropertyOptions options) => throw null; - public bool Equals(System.Security.Cryptography.CngProperty other) => throw null; - public override bool Equals(object obj) => throw null; - public override int GetHashCode() => throw null; - public System.Byte[] GetValue() => throw null; - public string Name { get => throw null; } - public System.Security.Cryptography.CngPropertyOptions Options { get => throw null; } - } - - // Generated from `System.Security.Cryptography.CngPropertyCollection` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CngPropertyCollection : System.Collections.ObjectModel.Collection - { - public CngPropertyCollection() => throw null; - } - - // Generated from `System.Security.Cryptography.CngPropertyOptions` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum CngPropertyOptions : int - { - CustomProperty = 1073741824, - None = 0, - Persist = -2147483648, - } - - // Generated from `System.Security.Cryptography.CngProvider` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CngProvider : System.IEquatable - { - public static bool operator !=(System.Security.Cryptography.CngProvider left, System.Security.Cryptography.CngProvider right) => throw null; - public static bool operator ==(System.Security.Cryptography.CngProvider left, System.Security.Cryptography.CngProvider right) => throw null; - public CngProvider(string provider) => throw null; - public bool Equals(System.Security.Cryptography.CngProvider other) => throw null; - public override bool Equals(object obj) => throw null; - public override int GetHashCode() => throw null; - public static System.Security.Cryptography.CngProvider MicrosoftPlatformCryptoProvider { get => throw null; } - public static System.Security.Cryptography.CngProvider MicrosoftSmartCardKeyStorageProvider { get => throw null; } - public static System.Security.Cryptography.CngProvider MicrosoftSoftwareKeyStorageProvider { get => throw null; } - public string Provider { get => throw null; } - public override string ToString() => throw null; - } - - // Generated from `System.Security.Cryptography.CngUIPolicy` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CngUIPolicy - { - public CngUIPolicy(System.Security.Cryptography.CngUIProtectionLevels protectionLevel) => throw null; - public CngUIPolicy(System.Security.Cryptography.CngUIProtectionLevels protectionLevel, string friendlyName) => throw null; - public CngUIPolicy(System.Security.Cryptography.CngUIProtectionLevels protectionLevel, string friendlyName, string description) => throw null; - public CngUIPolicy(System.Security.Cryptography.CngUIProtectionLevels protectionLevel, string friendlyName, string description, string useContext) => throw null; - public CngUIPolicy(System.Security.Cryptography.CngUIProtectionLevels protectionLevel, string friendlyName, string description, string useContext, string creationTitle) => throw null; - public string CreationTitle { get => throw null; } - public string Description { get => throw null; } - public string FriendlyName { get => throw null; } - public System.Security.Cryptography.CngUIProtectionLevels ProtectionLevel { get => throw null; } - public string UseContext { get => throw null; } - } - - // Generated from `System.Security.Cryptography.CngUIProtectionLevels` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum CngUIProtectionLevels : int - { - ForceHighProtection = 2, - None = 0, - ProtectKey = 1, - } - - // Generated from `System.Security.Cryptography.DSACng` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class DSACng : System.Security.Cryptography.DSA - { - public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; - public DSACng() => throw null; - public DSACng(System.Security.Cryptography.CngKey key) => throw null; - public DSACng(int keySize) => throw null; - protected override void Dispose(bool disposing) => throw null; - public override System.Security.Cryptography.DSAParameters ExportParameters(bool includePrivateParameters) => throw null; - protected override System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - protected override System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public override void ImportParameters(System.Security.Cryptography.DSAParameters parameters) => throw null; - public System.Security.Cryptography.CngKey Key { get => throw null; } - public override string KeyExchangeAlgorithm { get => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - public override string SignatureAlgorithm { get => throw null; } - public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; - } - - // Generated from `System.Security.Cryptography.ECDiffieHellmanCng` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class ECDiffieHellmanCng : System.Security.Cryptography.ECDiffieHellman - { - public override System.Byte[] DeriveKeyFromHash(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] secretPrepend, System.Byte[] secretAppend) => throw null; - public override System.Byte[] DeriveKeyFromHmac(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] hmacKey, System.Byte[] secretPrepend, System.Byte[] secretAppend) => throw null; - public System.Byte[] DeriveKeyMaterial(System.Security.Cryptography.CngKey otherPartyPublicKey) => throw null; - public override System.Byte[] DeriveKeyMaterial(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey) => throw null; - public override System.Byte[] DeriveKeyTls(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Byte[] prfLabel, System.Byte[] prfSeed) => throw null; - public Microsoft.Win32.SafeHandles.SafeNCryptSecretHandle DeriveSecretAgreementHandle(System.Security.Cryptography.CngKey otherPartyPublicKey) => throw null; - public Microsoft.Win32.SafeHandles.SafeNCryptSecretHandle DeriveSecretAgreementHandle(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey) => throw null; - protected override void Dispose(bool disposing) => throw null; - public ECDiffieHellmanCng() => throw null; - public ECDiffieHellmanCng(System.Security.Cryptography.CngKey key) => throw null; - public ECDiffieHellmanCng(System.Security.Cryptography.ECCurve curve) => throw null; - public ECDiffieHellmanCng(int keySize) => throw null; - public override System.Security.Cryptography.ECParameters ExportExplicitParameters(bool includePrivateParameters) => throw null; - public override System.Security.Cryptography.ECParameters ExportParameters(bool includePrivateParameters) => throw null; - public void FromXmlString(string xml, System.Security.Cryptography.ECKeyXmlFormat format) => throw null; - public override void GenerateKey(System.Security.Cryptography.ECCurve curve) => throw null; - public System.Security.Cryptography.CngAlgorithm HashAlgorithm { get => throw null; set => throw null; } - public System.Byte[] HmacKey { get => throw null; set => throw null; } - public override void ImportParameters(System.Security.Cryptography.ECParameters parameters) => throw null; - public System.Security.Cryptography.CngKey Key { get => throw null; } - public System.Security.Cryptography.ECDiffieHellmanKeyDerivationFunction KeyDerivationFunction { get => throw null; set => throw null; } - public override int KeySize { get => throw null; set => throw null; } - public System.Byte[] Label { get => throw null; set => throw null; } - public override System.Security.Cryptography.ECDiffieHellmanPublicKey PublicKey { get => throw null; } - public System.Byte[] SecretAppend { get => throw null; set => throw null; } - public System.Byte[] SecretPrepend { get => throw null; set => throw null; } - public System.Byte[] Seed { get => throw null; set => throw null; } - public string ToXmlString(System.Security.Cryptography.ECKeyXmlFormat format) => throw null; - public bool UseSecretAgreementAsHmacKey { get => throw null; } - } - - // Generated from `System.Security.Cryptography.ECDiffieHellmanCngPublicKey` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class ECDiffieHellmanCngPublicKey : System.Security.Cryptography.ECDiffieHellmanPublicKey - { - public System.Security.Cryptography.CngKeyBlobFormat BlobFormat { get => throw null; } - protected override void Dispose(bool disposing) => throw null; - public override System.Security.Cryptography.ECParameters ExportExplicitParameters() => throw null; - public override System.Security.Cryptography.ECParameters ExportParameters() => throw null; - public static System.Security.Cryptography.ECDiffieHellmanPublicKey FromByteArray(System.Byte[] publicKeyBlob, System.Security.Cryptography.CngKeyBlobFormat format) => throw null; - public static System.Security.Cryptography.ECDiffieHellmanCngPublicKey FromXmlString(string xml) => throw null; - public System.Security.Cryptography.CngKey Import() => throw null; - public override string ToXmlString() => throw null; - } - - // Generated from `System.Security.Cryptography.ECDiffieHellmanKeyDerivationFunction` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum ECDiffieHellmanKeyDerivationFunction : int - { - Hash = 0, - Hmac = 1, - Tls = 2, - } - - // Generated from `System.Security.Cryptography.ECDsaCng` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class ECDsaCng : System.Security.Cryptography.ECDsa - { - protected override void Dispose(bool disposing) => throw null; - public ECDsaCng() => throw null; - public ECDsaCng(System.Security.Cryptography.CngKey key) => throw null; - public ECDsaCng(System.Security.Cryptography.ECCurve curve) => throw null; - public ECDsaCng(int keySize) => throw null; - public override System.Security.Cryptography.ECParameters ExportExplicitParameters(bool includePrivateParameters) => throw null; - public override System.Security.Cryptography.ECParameters ExportParameters(bool includePrivateParameters) => throw null; - public void FromXmlString(string xml, System.Security.Cryptography.ECKeyXmlFormat format) => throw null; - public override void GenerateKey(System.Security.Cryptography.ECCurve curve) => throw null; - public System.Security.Cryptography.CngAlgorithm HashAlgorithm { get => throw null; set => throw null; } - protected override System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - protected override System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public override void ImportParameters(System.Security.Cryptography.ECParameters parameters) => throw null; - public System.Security.Cryptography.CngKey Key { get => throw null; } - public override int KeySize { get => throw null; set => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - public System.Byte[] SignData(System.Byte[] data) => throw null; - public System.Byte[] SignData(System.Byte[] data, int offset, int count) => throw null; - public System.Byte[] SignData(System.IO.Stream data) => throw null; - public override System.Byte[] SignHash(System.Byte[] hash) => throw null; - public string ToXmlString(System.Security.Cryptography.ECKeyXmlFormat format) => throw null; - public bool VerifyData(System.Byte[] data, System.Byte[] signature) => throw null; - public bool VerifyData(System.Byte[] data, int offset, int count, System.Byte[] signature) => throw null; - public bool VerifyData(System.IO.Stream data, System.Byte[] signature) => throw null; - public override bool VerifyHash(System.Byte[] hash, System.Byte[] signature) => throw null; - } - - // Generated from `System.Security.Cryptography.ECKeyXmlFormat` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum ECKeyXmlFormat : int - { - Rfc4050 = 0, - } - - // Generated from `System.Security.Cryptography.RSACng` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RSACng : System.Security.Cryptography.RSA - { - public override System.Byte[] Decrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; - protected override void Dispose(bool disposing) => throw null; - public override System.Byte[] Encrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; - public override System.Security.Cryptography.RSAParameters ExportParameters(bool includePrivateParameters) => throw null; - protected override System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - protected override System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public override void ImportParameters(System.Security.Cryptography.RSAParameters parameters) => throw null; - public System.Security.Cryptography.CngKey Key { get => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - public RSACng() => throw null; - public RSACng(System.Security.Cryptography.CngKey key) => throw null; - public RSACng(int keySize) => throw null; - public override System.Byte[] SignHash(System.Byte[] hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public override bool VerifyHash(System.Byte[] hash, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - } - - // Generated from `System.Security.Cryptography.TripleDESCng` in `System.Security.Cryptography.Cng, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class TripleDESCng : System.Security.Cryptography.TripleDES - { - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - protected override void Dispose(bool disposing) => throw null; - public override void GenerateIV() => throw null; - public override void GenerateKey() => throw null; - public override System.Byte[] Key { get => throw null; set => throw null; } - public override int KeySize { get => throw null; set => throw null; } - public TripleDESCng() => throw null; - public TripleDESCng(string keyName) => throw null; - public TripleDESCng(string keyName, System.Security.Cryptography.CngProvider provider) => throw null; - public TripleDESCng(string keyName, System.Security.Cryptography.CngProvider provider, System.Security.Cryptography.CngKeyOpenOptions openOptions) => throw null; - } - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Csp.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Csp.cs deleted file mode 100644 index 47a6941fd1e..00000000000 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Csp.cs +++ /dev/null @@ -1,308 +0,0 @@ -// This file contains auto-generated code. - -namespace System -{ - namespace Security - { - namespace Cryptography - { - // Generated from `System.Security.Cryptography.AesCryptoServiceProvider` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class AesCryptoServiceProvider : System.Security.Cryptography.Aes - { - public AesCryptoServiceProvider() => throw null; - public override int BlockSize { get => throw null; set => throw null; } - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - protected override void Dispose(bool disposing) => throw null; - public override int FeedbackSize { get => throw null; set => throw null; } - public override void GenerateIV() => throw null; - public override void GenerateKey() => throw null; - public override System.Byte[] IV { get => throw null; set => throw null; } - public override System.Byte[] Key { get => throw null; set => throw null; } - public override int KeySize { get => throw null; set => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalBlockSizes { get => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - public override System.Security.Cryptography.CipherMode Mode { get => throw null; set => throw null; } - public override System.Security.Cryptography.PaddingMode Padding { get => throw null; set => throw null; } - } - - // Generated from `System.Security.Cryptography.CspKeyContainerInfo` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CspKeyContainerInfo - { - public bool Accessible { get => throw null; } - public CspKeyContainerInfo(System.Security.Cryptography.CspParameters parameters) => throw null; - public bool Exportable { get => throw null; } - public bool HardwareDevice { get => throw null; } - public string KeyContainerName { get => throw null; } - public System.Security.Cryptography.KeyNumber KeyNumber { get => throw null; } - public bool MachineKeyStore { get => throw null; } - public bool Protected { get => throw null; } - public string ProviderName { get => throw null; } - public int ProviderType { get => throw null; } - public bool RandomlyGenerated { get => throw null; } - public bool Removable { get => throw null; } - public string UniqueKeyContainerName { get => throw null; } - } - - // Generated from `System.Security.Cryptography.CspParameters` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CspParameters - { - public CspParameters() => throw null; - public CspParameters(int dwTypeIn) => throw null; - public CspParameters(int dwTypeIn, string strProviderNameIn) => throw null; - public CspParameters(int dwTypeIn, string strProviderNameIn, string strContainerNameIn) => throw null; - public System.Security.Cryptography.CspProviderFlags Flags { get => throw null; set => throw null; } - public string KeyContainerName; - public int KeyNumber; - public System.Security.SecureString KeyPassword { get => throw null; set => throw null; } - public System.IntPtr ParentWindowHandle { get => throw null; set => throw null; } - public string ProviderName; - public int ProviderType; - } - - // Generated from `System.Security.Cryptography.CspProviderFlags` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum CspProviderFlags : int - { - CreateEphemeralKey = 128, - NoFlags = 0, - NoPrompt = 64, - UseArchivableKey = 16, - UseDefaultKeyContainer = 2, - UseExistingKey = 8, - UseMachineKeyStore = 1, - UseNonExportableKey = 4, - UseUserProtectedKey = 32, - } - - // Generated from `System.Security.Cryptography.DESCryptoServiceProvider` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class DESCryptoServiceProvider : System.Security.Cryptography.DES - { - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - public DESCryptoServiceProvider() => throw null; - public override void GenerateIV() => throw null; - public override void GenerateKey() => throw null; - } - - // Generated from `System.Security.Cryptography.DSACryptoServiceProvider` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class DSACryptoServiceProvider : System.Security.Cryptography.DSA, System.Security.Cryptography.ICspAsymmetricAlgorithm - { - public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; - public System.Security.Cryptography.CspKeyContainerInfo CspKeyContainerInfo { get => throw null; } - public DSACryptoServiceProvider() => throw null; - public DSACryptoServiceProvider(System.Security.Cryptography.CspParameters parameters) => throw null; - public DSACryptoServiceProvider(int dwKeySize) => throw null; - public DSACryptoServiceProvider(int dwKeySize, System.Security.Cryptography.CspParameters parameters) => throw null; - protected override void Dispose(bool disposing) => throw null; - public System.Byte[] ExportCspBlob(bool includePrivateParameters) => throw null; - public override System.Security.Cryptography.DSAParameters ExportParameters(bool includePrivateParameters) => throw null; - protected override System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - protected override System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public void ImportCspBlob(System.Byte[] keyBlob) => throw null; - public override void ImportParameters(System.Security.Cryptography.DSAParameters parameters) => throw null; - public override string KeyExchangeAlgorithm { get => throw null; } - public override int KeySize { get => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - public bool PersistKeyInCsp { get => throw null; set => throw null; } - public bool PublicOnly { get => throw null; } - public System.Byte[] SignData(System.Byte[] buffer) => throw null; - public System.Byte[] SignData(System.Byte[] buffer, int offset, int count) => throw null; - public System.Byte[] SignData(System.IO.Stream inputStream) => throw null; - public System.Byte[] SignHash(System.Byte[] rgbHash, string str) => throw null; - public override string SignatureAlgorithm { get => throw null; } - public static bool UseMachineKeyStore { get => throw null; set => throw null; } - public bool VerifyData(System.Byte[] rgbData, System.Byte[] rgbSignature) => throw null; - public bool VerifyHash(System.Byte[] rgbHash, string str, System.Byte[] rgbSignature) => throw null; - public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; - } - - // Generated from `System.Security.Cryptography.ICspAsymmetricAlgorithm` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public interface ICspAsymmetricAlgorithm - { - System.Security.Cryptography.CspKeyContainerInfo CspKeyContainerInfo { get; } - System.Byte[] ExportCspBlob(bool includePrivateParameters); - void ImportCspBlob(System.Byte[] rawData); - } - - // Generated from `System.Security.Cryptography.KeyNumber` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum KeyNumber : int - { - Exchange = 1, - Signature = 2, - } - - // Generated from `System.Security.Cryptography.MD5CryptoServiceProvider` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class MD5CryptoServiceProvider : System.Security.Cryptography.MD5 - { - protected override void Dispose(bool disposing) => throw null; - protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public MD5CryptoServiceProvider() => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.PasswordDeriveBytes` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class PasswordDeriveBytes : System.Security.Cryptography.DeriveBytes - { - public System.Byte[] CryptDeriveKey(string algname, string alghashname, int keySize, System.Byte[] rgbIV) => throw null; - protected override void Dispose(bool disposing) => throw null; - public override System.Byte[] GetBytes(int cb) => throw null; - public string HashName { get => throw null; set => throw null; } - public int IterationCount { get => throw null; set => throw null; } - public PasswordDeriveBytes(System.Byte[] password, System.Byte[] salt) => throw null; - public PasswordDeriveBytes(System.Byte[] password, System.Byte[] salt, System.Security.Cryptography.CspParameters cspParams) => throw null; - public PasswordDeriveBytes(System.Byte[] password, System.Byte[] salt, string hashName, int iterations) => throw null; - public PasswordDeriveBytes(System.Byte[] password, System.Byte[] salt, string hashName, int iterations, System.Security.Cryptography.CspParameters cspParams) => throw null; - public PasswordDeriveBytes(string strPassword, System.Byte[] rgbSalt) => throw null; - public PasswordDeriveBytes(string strPassword, System.Byte[] rgbSalt, System.Security.Cryptography.CspParameters cspParams) => throw null; - public PasswordDeriveBytes(string strPassword, System.Byte[] rgbSalt, string strHashName, int iterations) => throw null; - public PasswordDeriveBytes(string strPassword, System.Byte[] rgbSalt, string strHashName, int iterations, System.Security.Cryptography.CspParameters cspParams) => throw null; - public override void Reset() => throw null; - public System.Byte[] Salt { get => throw null; set => throw null; } - } - - // Generated from `System.Security.Cryptography.RC2CryptoServiceProvider` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RC2CryptoServiceProvider : System.Security.Cryptography.RC2 - { - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - public override int EffectiveKeySize { get => throw null; set => throw null; } - public override void GenerateIV() => throw null; - public override void GenerateKey() => throw null; - public RC2CryptoServiceProvider() => throw null; - public bool UseSalt { get => throw null; set => throw null; } - } - - // Generated from `System.Security.Cryptography.RNGCryptoServiceProvider` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RNGCryptoServiceProvider : System.Security.Cryptography.RandomNumberGenerator - { - protected override void Dispose(bool disposing) => throw null; - public override void GetBytes(System.Byte[] data) => throw null; - public override void GetBytes(System.Byte[] data, int offset, int count) => throw null; - public override void GetBytes(System.Span data) => throw null; - public override void GetNonZeroBytes(System.Byte[] data) => throw null; - public override void GetNonZeroBytes(System.Span data) => throw null; - public RNGCryptoServiceProvider() => throw null; - public RNGCryptoServiceProvider(System.Byte[] rgb) => throw null; - public RNGCryptoServiceProvider(System.Security.Cryptography.CspParameters cspParams) => throw null; - public RNGCryptoServiceProvider(string str) => throw null; - } - - // Generated from `System.Security.Cryptography.RSACryptoServiceProvider` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RSACryptoServiceProvider : System.Security.Cryptography.RSA, System.Security.Cryptography.ICspAsymmetricAlgorithm - { - public System.Security.Cryptography.CspKeyContainerInfo CspKeyContainerInfo { get => throw null; } - public override System.Byte[] Decrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; - public System.Byte[] Decrypt(System.Byte[] rgb, bool fOAEP) => throw null; - public override System.Byte[] DecryptValue(System.Byte[] rgb) => throw null; - protected override void Dispose(bool disposing) => throw null; - public override System.Byte[] Encrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; - public System.Byte[] Encrypt(System.Byte[] rgb, bool fOAEP) => throw null; - public override System.Byte[] EncryptValue(System.Byte[] rgb) => throw null; - public System.Byte[] ExportCspBlob(bool includePrivateParameters) => throw null; - public override System.Security.Cryptography.RSAParameters ExportParameters(bool includePrivateParameters) => throw null; - protected override System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - protected override System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public void ImportCspBlob(System.Byte[] keyBlob) => throw null; - public override void ImportParameters(System.Security.Cryptography.RSAParameters parameters) => throw null; - public override string KeyExchangeAlgorithm { get => throw null; } - public override int KeySize { get => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - public bool PersistKeyInCsp { get => throw null; set => throw null; } - public bool PublicOnly { get => throw null; } - public RSACryptoServiceProvider() => throw null; - public RSACryptoServiceProvider(System.Security.Cryptography.CspParameters parameters) => throw null; - public RSACryptoServiceProvider(int dwKeySize) => throw null; - public RSACryptoServiceProvider(int dwKeySize, System.Security.Cryptography.CspParameters parameters) => throw null; - public System.Byte[] SignData(System.Byte[] buffer, int offset, int count, object halg) => throw null; - public System.Byte[] SignData(System.Byte[] buffer, object halg) => throw null; - public System.Byte[] SignData(System.IO.Stream inputStream, object halg) => throw null; - public override System.Byte[] SignHash(System.Byte[] hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public System.Byte[] SignHash(System.Byte[] rgbHash, string str) => throw null; - public override string SignatureAlgorithm { get => throw null; } - public static bool UseMachineKeyStore { get => throw null; set => throw null; } - public bool VerifyData(System.Byte[] buffer, object halg, System.Byte[] signature) => throw null; - public override bool VerifyHash(System.Byte[] hash, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public bool VerifyHash(System.Byte[] rgbHash, string str, System.Byte[] rgbSignature) => throw null; - } - - // Generated from `System.Security.Cryptography.SHA1CryptoServiceProvider` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SHA1CryptoServiceProvider : System.Security.Cryptography.SHA1 - { - protected override void Dispose(bool disposing) => throw null; - protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public SHA1CryptoServiceProvider() => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.SHA256CryptoServiceProvider` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SHA256CryptoServiceProvider : System.Security.Cryptography.SHA256 - { - protected override void Dispose(bool disposing) => throw null; - protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public SHA256CryptoServiceProvider() => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.SHA384CryptoServiceProvider` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SHA384CryptoServiceProvider : System.Security.Cryptography.SHA384 - { - protected override void Dispose(bool disposing) => throw null; - protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public SHA384CryptoServiceProvider() => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.SHA512CryptoServiceProvider` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SHA512CryptoServiceProvider : System.Security.Cryptography.SHA512 - { - protected override void Dispose(bool disposing) => throw null; - protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public override void Initialize() => throw null; - public SHA512CryptoServiceProvider() => throw null; - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.TripleDESCryptoServiceProvider` in `System.Security.Cryptography.Csp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class TripleDESCryptoServiceProvider : System.Security.Cryptography.TripleDES - { - public override int BlockSize { get => throw null; set => throw null; } - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; - public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; - protected override void Dispose(bool disposing) => throw null; - public override int FeedbackSize { get => throw null; set => throw null; } - public override void GenerateIV() => throw null; - public override void GenerateKey() => throw null; - public override System.Byte[] IV { get => throw null; set => throw null; } - public override System.Byte[] Key { get => throw null; set => throw null; } - public override int KeySize { get => throw null; set => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalBlockSizes { get => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - public override System.Security.Cryptography.CipherMode Mode { get => throw null; set => throw null; } - public override System.Security.Cryptography.PaddingMode Padding { get => throw null; set => throw null; } - public TripleDESCryptoServiceProvider() => throw null; - } - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Encoding.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Encoding.cs deleted file mode 100644 index 67908c660ac..00000000000 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Encoding.cs +++ /dev/null @@ -1,168 +0,0 @@ -// This file contains auto-generated code. - -namespace System -{ - namespace Security - { - namespace Cryptography - { - // Generated from `System.Security.Cryptography.AsnEncodedData` in `System.Security.Cryptography.Encoding, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class AsnEncodedData - { - protected AsnEncodedData() => throw null; - public AsnEncodedData(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; - public AsnEncodedData(System.Byte[] rawData) => throw null; - public AsnEncodedData(System.Security.Cryptography.Oid oid, System.Byte[] rawData) => throw null; - public AsnEncodedData(System.Security.Cryptography.Oid oid, System.ReadOnlySpan rawData) => throw null; - public AsnEncodedData(System.ReadOnlySpan rawData) => throw null; - public AsnEncodedData(string oid, System.Byte[] rawData) => throw null; - public AsnEncodedData(string oid, System.ReadOnlySpan rawData) => throw null; - public virtual void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; - public virtual string Format(bool multiLine) => throw null; - public System.Security.Cryptography.Oid Oid { get => throw null; set => throw null; } - public System.Byte[] RawData { get => throw null; set => throw null; } - } - - // Generated from `System.Security.Cryptography.AsnEncodedDataCollection` in `System.Security.Cryptography.Encoding, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class AsnEncodedDataCollection : System.Collections.ICollection, System.Collections.IEnumerable - { - public int Add(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; - public AsnEncodedDataCollection() => throw null; - public AsnEncodedDataCollection(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; - void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; - public void CopyTo(System.Security.Cryptography.AsnEncodedData[] array, int index) => throw null; - public int Count { get => throw null; } - public System.Security.Cryptography.AsnEncodedDataEnumerator GetEnumerator() => throw null; - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; - public bool IsSynchronized { get => throw null; } - public System.Security.Cryptography.AsnEncodedData this[int index] { get => throw null; } - public void Remove(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; - public object SyncRoot { get => throw null; } - } - - // Generated from `System.Security.Cryptography.AsnEncodedDataEnumerator` in `System.Security.Cryptography.Encoding, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class AsnEncodedDataEnumerator : System.Collections.IEnumerator - { - public System.Security.Cryptography.AsnEncodedData Current { get => throw null; } - object System.Collections.IEnumerator.Current { get => throw null; } - public bool MoveNext() => throw null; - public void Reset() => throw null; - } - - // Generated from `System.Security.Cryptography.FromBase64Transform` in `System.Security.Cryptography.Encoding, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class FromBase64Transform : System.IDisposable, System.Security.Cryptography.ICryptoTransform - { - public virtual bool CanReuseTransform { get => throw null; } - public bool CanTransformMultipleBlocks { get => throw null; } - public void Clear() => throw null; - public void Dispose() => throw null; - protected virtual void Dispose(bool disposing) => throw null; - public FromBase64Transform() => throw null; - public FromBase64Transform(System.Security.Cryptography.FromBase64TransformMode whitespaces) => throw null; - public int InputBlockSize { get => throw null; } - public int OutputBlockSize { get => throw null; } - public int TransformBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount, System.Byte[] outputBuffer, int outputOffset) => throw null; - public System.Byte[] TransformFinalBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount) => throw null; - // ERR: Stub generator didn't handle member: ~FromBase64Transform - } - - // Generated from `System.Security.Cryptography.FromBase64TransformMode` in `System.Security.Cryptography.Encoding, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum FromBase64TransformMode : int - { - DoNotIgnoreWhiteSpaces = 1, - IgnoreWhiteSpaces = 0, - } - - // Generated from `System.Security.Cryptography.Oid` in `System.Security.Cryptography.Encoding, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class Oid - { - public string FriendlyName { get => throw null; set => throw null; } - public static System.Security.Cryptography.Oid FromFriendlyName(string friendlyName, System.Security.Cryptography.OidGroup group) => throw null; - public static System.Security.Cryptography.Oid FromOidValue(string oidValue, System.Security.Cryptography.OidGroup group) => throw null; - public Oid() => throw null; - public Oid(System.Security.Cryptography.Oid oid) => throw null; - public Oid(string oid) => throw null; - public Oid(string value, string friendlyName) => throw null; - public string Value { get => throw null; set => throw null; } - } - - // Generated from `System.Security.Cryptography.OidCollection` in `System.Security.Cryptography.Encoding, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class OidCollection : System.Collections.ICollection, System.Collections.IEnumerable - { - public int Add(System.Security.Cryptography.Oid oid) => throw null; - void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; - public void CopyTo(System.Security.Cryptography.Oid[] array, int index) => throw null; - public int Count { get => throw null; } - public System.Security.Cryptography.OidEnumerator GetEnumerator() => throw null; - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; - public bool IsSynchronized { get => throw null; } - public System.Security.Cryptography.Oid this[int index] { get => throw null; } - public System.Security.Cryptography.Oid this[string oid] { get => throw null; } - public OidCollection() => throw null; - public object SyncRoot { get => throw null; } - } - - // Generated from `System.Security.Cryptography.OidEnumerator` in `System.Security.Cryptography.Encoding, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class OidEnumerator : System.Collections.IEnumerator - { - public System.Security.Cryptography.Oid Current { get => throw null; } - object System.Collections.IEnumerator.Current { get => throw null; } - public bool MoveNext() => throw null; - public void Reset() => throw null; - } - - // Generated from `System.Security.Cryptography.OidGroup` in `System.Security.Cryptography.Encoding, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum OidGroup : int - { - All = 0, - Attribute = 5, - EncryptionAlgorithm = 2, - EnhancedKeyUsage = 7, - ExtensionOrAttribute = 6, - HashAlgorithm = 1, - KeyDerivationFunction = 10, - Policy = 8, - PublicKeyAlgorithm = 3, - SignatureAlgorithm = 4, - Template = 9, - } - - // Generated from `System.Security.Cryptography.PemEncoding` in `System.Security.Cryptography.Encoding, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public static class PemEncoding - { - public static System.Security.Cryptography.PemFields Find(System.ReadOnlySpan pemData) => throw null; - public static int GetEncodedSize(int labelLength, int dataLength) => throw null; - public static bool TryFind(System.ReadOnlySpan pemData, out System.Security.Cryptography.PemFields fields) => throw null; - public static bool TryWrite(System.ReadOnlySpan label, System.ReadOnlySpan data, System.Span destination, out int charsWritten) => throw null; - public static System.Char[] Write(System.ReadOnlySpan label, System.ReadOnlySpan data) => throw null; - } - - // Generated from `System.Security.Cryptography.PemFields` in `System.Security.Cryptography.Encoding, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct PemFields - { - public System.Range Base64Data { get => throw null; } - public int DecodedDataLength { get => throw null; } - public System.Range Label { get => throw null; } - public System.Range Location { get => throw null; } - // Stub generator skipped constructor - } - - // Generated from `System.Security.Cryptography.ToBase64Transform` in `System.Security.Cryptography.Encoding, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class ToBase64Transform : System.IDisposable, System.Security.Cryptography.ICryptoTransform - { - public virtual bool CanReuseTransform { get => throw null; } - public bool CanTransformMultipleBlocks { get => throw null; } - public void Clear() => throw null; - public void Dispose() => throw null; - protected virtual void Dispose(bool disposing) => throw null; - public int InputBlockSize { get => throw null; } - public int OutputBlockSize { get => throw null; } - public ToBase64Transform() => throw null; - public int TransformBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount, System.Byte[] outputBuffer, int outputOffset) => throw null; - public System.Byte[] TransformFinalBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount) => throw null; - // ERR: Stub generator didn't handle member: ~ToBase64Transform - } - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.OpenSsl.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.OpenSsl.cs deleted file mode 100644 index a3e404fc36b..00000000000 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.OpenSsl.cs +++ /dev/null @@ -1,106 +0,0 @@ -// This file contains auto-generated code. - -namespace System -{ - namespace Security - { - namespace Cryptography - { - // Generated from `System.Security.Cryptography.DSAOpenSsl` in `System.Security.Cryptography.OpenSsl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class DSAOpenSsl : System.Security.Cryptography.DSA - { - public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; - public DSAOpenSsl() => throw null; - public DSAOpenSsl(System.Security.Cryptography.DSAParameters parameters) => throw null; - public DSAOpenSsl(System.IntPtr handle) => throw null; - public DSAOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle) => throw null; - public DSAOpenSsl(int keySize) => throw null; - protected override void Dispose(bool disposing) => throw null; - public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateKeyHandle() => throw null; - public override System.Security.Cryptography.DSAParameters ExportParameters(bool includePrivateParameters) => throw null; - protected override System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - protected override System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public override void ImportParameters(System.Security.Cryptography.DSAParameters parameters) => throw null; - public override int KeySize { set => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; - } - - // Generated from `System.Security.Cryptography.ECDiffieHellmanOpenSsl` in `System.Security.Cryptography.OpenSsl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class ECDiffieHellmanOpenSsl : System.Security.Cryptography.ECDiffieHellman - { - public override System.Byte[] DeriveKeyFromHash(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] secretPrepend, System.Byte[] secretAppend) => throw null; - public override System.Byte[] DeriveKeyFromHmac(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] hmacKey, System.Byte[] secretPrepend, System.Byte[] secretAppend) => throw null; - public override System.Byte[] DeriveKeyMaterial(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey) => throw null; - public override System.Byte[] DeriveKeyTls(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Byte[] prfLabel, System.Byte[] prfSeed) => throw null; - public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateKeyHandle() => throw null; - public ECDiffieHellmanOpenSsl() => throw null; - public ECDiffieHellmanOpenSsl(System.Security.Cryptography.ECCurve curve) => throw null; - public ECDiffieHellmanOpenSsl(System.IntPtr handle) => throw null; - public ECDiffieHellmanOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle) => throw null; - public ECDiffieHellmanOpenSsl(int keySize) => throw null; - public override System.Security.Cryptography.ECParameters ExportExplicitParameters(bool includePrivateParameters) => throw null; - public override System.Security.Cryptography.ECParameters ExportParameters(bool includePrivateParameters) => throw null; - public override void GenerateKey(System.Security.Cryptography.ECCurve curve) => throw null; - public override void ImportParameters(System.Security.Cryptography.ECParameters parameters) => throw null; - public override System.Security.Cryptography.ECDiffieHellmanPublicKey PublicKey { get => throw null; } - } - - // Generated from `System.Security.Cryptography.ECDsaOpenSsl` in `System.Security.Cryptography.OpenSsl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class ECDsaOpenSsl : System.Security.Cryptography.ECDsa - { - protected override void Dispose(bool disposing) => throw null; - public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateKeyHandle() => throw null; - public ECDsaOpenSsl() => throw null; - public ECDsaOpenSsl(System.Security.Cryptography.ECCurve curve) => throw null; - public ECDsaOpenSsl(System.IntPtr handle) => throw null; - public ECDsaOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle) => throw null; - public ECDsaOpenSsl(int keySize) => throw null; - public override System.Security.Cryptography.ECParameters ExportExplicitParameters(bool includePrivateParameters) => throw null; - public override System.Security.Cryptography.ECParameters ExportParameters(bool includePrivateParameters) => throw null; - public override void GenerateKey(System.Security.Cryptography.ECCurve curve) => throw null; - protected override System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - protected override System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public override void ImportParameters(System.Security.Cryptography.ECParameters parameters) => throw null; - public override int KeySize { get => throw null; set => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - public override System.Byte[] SignHash(System.Byte[] hash) => throw null; - public override bool VerifyHash(System.Byte[] hash, System.Byte[] signature) => throw null; - } - - // Generated from `System.Security.Cryptography.RSAOpenSsl` in `System.Security.Cryptography.OpenSsl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class RSAOpenSsl : System.Security.Cryptography.RSA - { - public override System.Byte[] Decrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; - protected override void Dispose(bool disposing) => throw null; - public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateKeyHandle() => throw null; - public override System.Byte[] Encrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; - public override System.Security.Cryptography.RSAParameters ExportParameters(bool includePrivateParameters) => throw null; - protected override System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - protected override System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public override void ImportParameters(System.Security.Cryptography.RSAParameters parameters) => throw null; - public override int KeySize { set => throw null; } - public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - public RSAOpenSsl() => throw null; - public RSAOpenSsl(System.IntPtr handle) => throw null; - public RSAOpenSsl(System.Security.Cryptography.RSAParameters parameters) => throw null; - public RSAOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle) => throw null; - public RSAOpenSsl(int keySize) => throw null; - public override System.Byte[] SignHash(System.Byte[] hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public override bool VerifyHash(System.Byte[] hash, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - } - - // Generated from `System.Security.Cryptography.SafeEvpPKeyHandle` in `System.Security.Cryptography.OpenSsl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SafeEvpPKeyHandle : System.Runtime.InteropServices.SafeHandle - { - public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateHandle() => throw null; - public override bool IsInvalid { get => throw null; } - public static System.Int64 OpenSslVersion { get => throw null; } - protected override bool ReleaseHandle() => throw null; - public SafeEvpPKeyHandle() : base(default(System.IntPtr), default(bool)) => throw null; - public SafeEvpPKeyHandle(System.IntPtr handle, bool ownsHandle) : base(default(System.IntPtr), default(bool)) => throw null; - } - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Primitives.cs deleted file mode 100644 index b638b8da71d..00000000000 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.Primitives.cs +++ /dev/null @@ -1,314 +0,0 @@ -// This file contains auto-generated code. - -namespace System -{ - namespace Security - { - namespace Cryptography - { - // Generated from `System.Security.Cryptography.AsymmetricAlgorithm` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class AsymmetricAlgorithm : System.IDisposable - { - protected AsymmetricAlgorithm() => throw null; - public void Clear() => throw null; - public static System.Security.Cryptography.AsymmetricAlgorithm Create() => throw null; - public static System.Security.Cryptography.AsymmetricAlgorithm Create(string algName) => throw null; - public void Dispose() => throw null; - protected virtual void Dispose(bool disposing) => throw null; - public virtual System.Byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) => throw null; - public virtual System.Byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters) => throw null; - public virtual System.Byte[] ExportPkcs8PrivateKey() => throw null; - public virtual System.Byte[] ExportSubjectPublicKeyInfo() => throw null; - public virtual void FromXmlString(string xmlString) => throw null; - public virtual void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; - public virtual void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; - public virtual void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan passwordBytes) => throw null; - public virtual void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan password) => throw null; - public virtual void ImportFromPem(System.ReadOnlySpan input) => throw null; - public virtual void ImportPkcs8PrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; - public virtual void ImportSubjectPublicKeyInfo(System.ReadOnlySpan source, out int bytesRead) => throw null; - public virtual string KeyExchangeAlgorithm { get => throw null; } - public virtual int KeySize { get => throw null; set => throw null; } - protected int KeySizeValue; - public virtual System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - protected System.Security.Cryptography.KeySizes[] LegalKeySizesValue; - public virtual string SignatureAlgorithm { get => throw null; } - public virtual string ToXmlString(bool includePrivateParameters) => throw null; - public virtual bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; - public virtual bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; - public virtual bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten) => throw null; - public virtual bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.CipherMode` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum CipherMode : int - { - CBC = 1, - CFB = 4, - CTS = 5, - ECB = 2, - OFB = 3, - } - - // Generated from `System.Security.Cryptography.CryptoStream` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CryptoStream : System.IO.Stream, System.IDisposable - { - public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; - public override System.IAsyncResult BeginWrite(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; - public override bool CanRead { get => throw null; } - public override bool CanSeek { get => throw null; } - public override bool CanWrite { get => throw null; } - public void Clear() => throw null; - public override void CopyTo(System.IO.Stream destination, int bufferSize) => throw null; - public override System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken) => throw null; - public CryptoStream(System.IO.Stream stream, System.Security.Cryptography.ICryptoTransform transform, System.Security.Cryptography.CryptoStreamMode mode) => throw null; - public CryptoStream(System.IO.Stream stream, System.Security.Cryptography.ICryptoTransform transform, System.Security.Cryptography.CryptoStreamMode mode, bool leaveOpen) => throw null; - protected override void Dispose(bool disposing) => throw null; - public override System.Threading.Tasks.ValueTask DisposeAsync() => throw null; - public override int EndRead(System.IAsyncResult asyncResult) => throw null; - public override void EndWrite(System.IAsyncResult asyncResult) => throw null; - public override void Flush() => throw null; - public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) => throw null; - public void FlushFinalBlock() => throw null; - public System.Threading.Tasks.ValueTask FlushFinalBlockAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; - public bool HasFlushedFinalBlock { get => throw null; } - public override System.Int64 Length { get => throw null; } - public override System.Int64 Position { get => throw null; set => throw null; } - public override int Read(System.Byte[] buffer, int offset, int count) => throw null; - public override System.Threading.Tasks.Task ReadAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) => throw null; - public override System.Threading.Tasks.ValueTask ReadAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; - public override int ReadByte() => throw null; - public override System.Int64 Seek(System.Int64 offset, System.IO.SeekOrigin origin) => throw null; - public override void SetLength(System.Int64 value) => throw null; - public override void Write(System.Byte[] buffer, int offset, int count) => throw null; - public override System.Threading.Tasks.Task WriteAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) => throw null; - public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; - public override void WriteByte(System.Byte value) => throw null; - } - - // Generated from `System.Security.Cryptography.CryptoStreamMode` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum CryptoStreamMode : int - { - Read = 0, - Write = 1, - } - - // Generated from `System.Security.Cryptography.CryptographicOperations` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public static class CryptographicOperations - { - public static bool FixedTimeEquals(System.ReadOnlySpan left, System.ReadOnlySpan right) => throw null; - public static void ZeroMemory(System.Span buffer) => throw null; - } - - // Generated from `System.Security.Cryptography.CryptographicUnexpectedOperationException` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CryptographicUnexpectedOperationException : System.Security.Cryptography.CryptographicException - { - public CryptographicUnexpectedOperationException() => throw null; - protected CryptographicUnexpectedOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; - public CryptographicUnexpectedOperationException(string message) => throw null; - public CryptographicUnexpectedOperationException(string message, System.Exception inner) => throw null; - public CryptographicUnexpectedOperationException(string format, string insert) => throw null; - } - - // Generated from `System.Security.Cryptography.HMAC` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class HMAC : System.Security.Cryptography.KeyedHashAlgorithm - { - protected int BlockSizeValue { get => throw null; set => throw null; } - public static System.Security.Cryptography.HMAC Create() => throw null; - public static System.Security.Cryptography.HMAC Create(string algorithmName) => throw null; - protected override void Dispose(bool disposing) => throw null; - protected HMAC() => throw null; - protected override void HashCore(System.Byte[] rgb, int ib, int cb) => throw null; - protected override void HashCore(System.ReadOnlySpan source) => throw null; - protected override System.Byte[] HashFinal() => throw null; - public string HashName { get => throw null; set => throw null; } - public override void Initialize() => throw null; - public override System.Byte[] Key { get => throw null; set => throw null; } - protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.HashAlgorithm` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class HashAlgorithm : System.IDisposable, System.Security.Cryptography.ICryptoTransform - { - public virtual bool CanReuseTransform { get => throw null; } - public virtual bool CanTransformMultipleBlocks { get => throw null; } - public void Clear() => throw null; - public System.Byte[] ComputeHash(System.Byte[] buffer) => throw null; - public System.Byte[] ComputeHash(System.Byte[] buffer, int offset, int count) => throw null; - public System.Byte[] ComputeHash(System.IO.Stream inputStream) => throw null; - public System.Threading.Tasks.Task ComputeHashAsync(System.IO.Stream inputStream, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; - public static System.Security.Cryptography.HashAlgorithm Create() => throw null; - public static System.Security.Cryptography.HashAlgorithm Create(string hashName) => throw null; - public void Dispose() => throw null; - protected virtual void Dispose(bool disposing) => throw null; - public virtual System.Byte[] Hash { get => throw null; } - protected HashAlgorithm() => throw null; - protected abstract void HashCore(System.Byte[] array, int ibStart, int cbSize); - protected virtual void HashCore(System.ReadOnlySpan source) => throw null; - protected abstract System.Byte[] HashFinal(); - public virtual int HashSize { get => throw null; } - protected int HashSizeValue; - protected internal System.Byte[] HashValue; - public abstract void Initialize(); - public virtual int InputBlockSize { get => throw null; } - public virtual int OutputBlockSize { get => throw null; } - protected int State; - public int TransformBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount, System.Byte[] outputBuffer, int outputOffset) => throw null; - public System.Byte[] TransformFinalBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount) => throw null; - public bool TryComputeHash(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; - protected virtual bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.HashAlgorithmName` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct HashAlgorithmName : System.IEquatable - { - public static bool operator !=(System.Security.Cryptography.HashAlgorithmName left, System.Security.Cryptography.HashAlgorithmName right) => throw null; - public static bool operator ==(System.Security.Cryptography.HashAlgorithmName left, System.Security.Cryptography.HashAlgorithmName right) => throw null; - public bool Equals(System.Security.Cryptography.HashAlgorithmName other) => throw null; - public override bool Equals(object obj) => throw null; - public static System.Security.Cryptography.HashAlgorithmName FromOid(string oidValue) => throw null; - public override int GetHashCode() => throw null; - // Stub generator skipped constructor - public HashAlgorithmName(string name) => throw null; - public static System.Security.Cryptography.HashAlgorithmName MD5 { get => throw null; } - public string Name { get => throw null; } - public static System.Security.Cryptography.HashAlgorithmName SHA1 { get => throw null; } - public static System.Security.Cryptography.HashAlgorithmName SHA256 { get => throw null; } - public static System.Security.Cryptography.HashAlgorithmName SHA384 { get => throw null; } - public static System.Security.Cryptography.HashAlgorithmName SHA512 { get => throw null; } - public override string ToString() => throw null; - public static bool TryFromOid(string oidValue, out System.Security.Cryptography.HashAlgorithmName value) => throw null; - } - - // Generated from `System.Security.Cryptography.ICryptoTransform` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public interface ICryptoTransform : System.IDisposable - { - bool CanReuseTransform { get; } - bool CanTransformMultipleBlocks { get; } - int InputBlockSize { get; } - int OutputBlockSize { get; } - int TransformBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount, System.Byte[] outputBuffer, int outputOffset); - System.Byte[] TransformFinalBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount); - } - - // Generated from `System.Security.Cryptography.KeySizes` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class KeySizes - { - public KeySizes(int minSize, int maxSize, int skipSize) => throw null; - public int MaxSize { get => throw null; } - public int MinSize { get => throw null; } - public int SkipSize { get => throw null; } - } - - // Generated from `System.Security.Cryptography.KeyedHashAlgorithm` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class KeyedHashAlgorithm : System.Security.Cryptography.HashAlgorithm - { - public static System.Security.Cryptography.KeyedHashAlgorithm Create() => throw null; - public static System.Security.Cryptography.KeyedHashAlgorithm Create(string algName) => throw null; - protected override void Dispose(bool disposing) => throw null; - public virtual System.Byte[] Key { get => throw null; set => throw null; } - protected System.Byte[] KeyValue; - protected KeyedHashAlgorithm() => throw null; - } - - // Generated from `System.Security.Cryptography.PaddingMode` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum PaddingMode : int - { - ANSIX923 = 4, - ISO10126 = 5, - None = 1, - PKCS7 = 2, - Zeros = 3, - } - - // Generated from `System.Security.Cryptography.PbeEncryptionAlgorithm` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum PbeEncryptionAlgorithm : int - { - Aes128Cbc = 1, - Aes192Cbc = 2, - Aes256Cbc = 3, - TripleDes3KeyPkcs12 = 4, - Unknown = 0, - } - - // Generated from `System.Security.Cryptography.PbeParameters` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class PbeParameters - { - public System.Security.Cryptography.PbeEncryptionAlgorithm EncryptionAlgorithm { get => throw null; } - public System.Security.Cryptography.HashAlgorithmName HashAlgorithm { get => throw null; } - public int IterationCount { get => throw null; } - public PbeParameters(System.Security.Cryptography.PbeEncryptionAlgorithm encryptionAlgorithm, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int iterationCount) => throw null; - } - - // Generated from `System.Security.Cryptography.SymmetricAlgorithm` in `System.Security.Cryptography.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class SymmetricAlgorithm : System.IDisposable - { - public virtual int BlockSize { get => throw null; set => throw null; } - protected int BlockSizeValue; - public void Clear() => throw null; - public static System.Security.Cryptography.SymmetricAlgorithm Create() => throw null; - public static System.Security.Cryptography.SymmetricAlgorithm Create(string algName) => throw null; - public virtual System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; - public abstract System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV); - public virtual System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; - public abstract System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV); - public System.Byte[] DecryptCbc(System.Byte[] ciphertext, System.Byte[] iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; - public System.Byte[] DecryptCbc(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; - public int DecryptCbc(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; - public System.Byte[] DecryptCfb(System.Byte[] ciphertext, System.Byte[] iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; - public System.Byte[] DecryptCfb(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; - public int DecryptCfb(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; - public System.Byte[] DecryptEcb(System.Byte[] ciphertext, System.Security.Cryptography.PaddingMode paddingMode) => throw null; - public System.Byte[] DecryptEcb(System.ReadOnlySpan ciphertext, System.Security.Cryptography.PaddingMode paddingMode) => throw null; - public int DecryptEcb(System.ReadOnlySpan ciphertext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode) => throw null; - public void Dispose() => throw null; - protected virtual void Dispose(bool disposing) => throw null; - public System.Byte[] EncryptCbc(System.Byte[] plaintext, System.Byte[] iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; - public System.Byte[] EncryptCbc(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; - public int EncryptCbc(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; - public System.Byte[] EncryptCfb(System.Byte[] plaintext, System.Byte[] iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; - public System.Byte[] EncryptCfb(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; - public int EncryptCfb(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; - public System.Byte[] EncryptEcb(System.Byte[] plaintext, System.Security.Cryptography.PaddingMode paddingMode) => throw null; - public System.Byte[] EncryptEcb(System.ReadOnlySpan plaintext, System.Security.Cryptography.PaddingMode paddingMode) => throw null; - public int EncryptEcb(System.ReadOnlySpan plaintext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode) => throw null; - public virtual int FeedbackSize { get => throw null; set => throw null; } - protected int FeedbackSizeValue; - public abstract void GenerateIV(); - public abstract void GenerateKey(); - public int GetCiphertextLengthCbc(int plaintextLength, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; - public int GetCiphertextLengthCfb(int plaintextLength, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; - public int GetCiphertextLengthEcb(int plaintextLength, System.Security.Cryptography.PaddingMode paddingMode) => throw null; - public virtual System.Byte[] IV { get => throw null; set => throw null; } - protected System.Byte[] IVValue; - public virtual System.Byte[] Key { get => throw null; set => throw null; } - public virtual int KeySize { get => throw null; set => throw null; } - protected int KeySizeValue; - protected System.Byte[] KeyValue; - public virtual System.Security.Cryptography.KeySizes[] LegalBlockSizes { get => throw null; } - protected System.Security.Cryptography.KeySizes[] LegalBlockSizesValue; - public virtual System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } - protected System.Security.Cryptography.KeySizes[] LegalKeySizesValue; - public virtual System.Security.Cryptography.CipherMode Mode { get => throw null; set => throw null; } - protected System.Security.Cryptography.CipherMode ModeValue; - public virtual System.Security.Cryptography.PaddingMode Padding { get => throw null; set => throw null; } - protected System.Security.Cryptography.PaddingMode PaddingValue; - protected SymmetricAlgorithm() => throw null; - public bool TryDecryptCbc(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, out int bytesWritten, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; - protected virtual bool TryDecryptCbcCore(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; - public bool TryDecryptCfb(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, out int bytesWritten, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; - protected virtual bool TryDecryptCfbCore(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, int feedbackSizeInBits, out int bytesWritten) => throw null; - public bool TryDecryptEcb(System.ReadOnlySpan ciphertext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; - protected virtual bool TryDecryptEcbCore(System.ReadOnlySpan ciphertext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; - public bool TryEncryptCbc(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, out int bytesWritten, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; - protected virtual bool TryEncryptCbcCore(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; - public bool TryEncryptCfb(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, out int bytesWritten, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; - protected virtual bool TryEncryptCfbCore(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, int feedbackSizeInBits, out int bytesWritten) => throw null; - public bool TryEncryptEcb(System.ReadOnlySpan plaintext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; - protected virtual bool TryEncryptEcbCore(System.ReadOnlySpan plaintext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; - public bool ValidKeySize(int bitLength) => throw null; - } - - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.X509Certificates.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.X509Certificates.cs deleted file mode 100644 index 443f319acb5..00000000000 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.X509Certificates.cs +++ /dev/null @@ -1,732 +0,0 @@ -// This file contains auto-generated code. - -namespace Microsoft -{ - namespace Win32 - { - namespace SafeHandles - { - // Generated from `Microsoft.Win32.SafeHandles.SafeX509ChainHandle` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SafeX509ChainHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid - { - protected override void Dispose(bool disposing) => throw null; - protected override bool ReleaseHandle() => throw null; - public SafeX509ChainHandle() : base(default(bool)) => throw null; - } - - } - } -} -namespace System -{ - namespace Security - { - namespace Cryptography - { - namespace X509Certificates - { - // Generated from `System.Security.Cryptography.X509Certificates.CertificateRequest` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class CertificateRequest - { - public System.Collections.ObjectModel.Collection CertificateExtensions { get => throw null; } - public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.ECDsa key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.X509Certificates.PublicKey publicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.RSA key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public CertificateRequest(string subjectName, System.Security.Cryptography.ECDsa key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public CertificateRequest(string subjectName, System.Security.Cryptography.RSA key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; - public System.Security.Cryptography.X509Certificates.X509Certificate2 Create(System.Security.Cryptography.X509Certificates.X500DistinguishedName issuerName, System.Security.Cryptography.X509Certificates.X509SignatureGenerator generator, System.DateTimeOffset notBefore, System.DateTimeOffset notAfter, System.Byte[] serialNumber) => throw null; - public System.Security.Cryptography.X509Certificates.X509Certificate2 Create(System.Security.Cryptography.X509Certificates.X500DistinguishedName issuerName, System.Security.Cryptography.X509Certificates.X509SignatureGenerator generator, System.DateTimeOffset notBefore, System.DateTimeOffset notAfter, System.ReadOnlySpan serialNumber) => throw null; - public System.Security.Cryptography.X509Certificates.X509Certificate2 Create(System.Security.Cryptography.X509Certificates.X509Certificate2 issuerCertificate, System.DateTimeOffset notBefore, System.DateTimeOffset notAfter, System.Byte[] serialNumber) => throw null; - public System.Security.Cryptography.X509Certificates.X509Certificate2 Create(System.Security.Cryptography.X509Certificates.X509Certificate2 issuerCertificate, System.DateTimeOffset notBefore, System.DateTimeOffset notAfter, System.ReadOnlySpan serialNumber) => throw null; - public System.Security.Cryptography.X509Certificates.X509Certificate2 CreateSelfSigned(System.DateTimeOffset notBefore, System.DateTimeOffset notAfter) => throw null; - public System.Byte[] CreateSigningRequest() => throw null; - public System.Byte[] CreateSigningRequest(System.Security.Cryptography.X509Certificates.X509SignatureGenerator signatureGenerator) => throw null; - public System.Security.Cryptography.HashAlgorithmName HashAlgorithm { get => throw null; } - public System.Security.Cryptography.X509Certificates.PublicKey PublicKey { get => throw null; } - public System.Security.Cryptography.X509Certificates.X500DistinguishedName SubjectName { get => throw null; } - } - - // Generated from `System.Security.Cryptography.X509Certificates.DSACertificateExtensions` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public static class DSACertificateExtensions - { - public static System.Security.Cryptography.X509Certificates.X509Certificate2 CopyWithPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.DSA privateKey) => throw null; - public static System.Security.Cryptography.DSA GetDSAPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - public static System.Security.Cryptography.DSA GetDSAPublicKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.ECDsaCertificateExtensions` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public static class ECDsaCertificateExtensions - { - public static System.Security.Cryptography.X509Certificates.X509Certificate2 CopyWithPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.ECDsa privateKey) => throw null; - public static System.Security.Cryptography.ECDsa GetECDsaPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - public static System.Security.Cryptography.ECDsa GetECDsaPublicKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.OpenFlags` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum OpenFlags : int - { - IncludeArchived = 8, - MaxAllowed = 2, - OpenExistingOnly = 4, - ReadOnly = 0, - ReadWrite = 1, - } - - // Generated from `System.Security.Cryptography.X509Certificates.PublicKey` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class PublicKey - { - public static System.Security.Cryptography.X509Certificates.PublicKey CreateFromSubjectPublicKeyInfo(System.ReadOnlySpan source, out int bytesRead) => throw null; - public System.Security.Cryptography.AsnEncodedData EncodedKeyValue { get => throw null; } - public System.Security.Cryptography.AsnEncodedData EncodedParameters { get => throw null; } - public System.Byte[] ExportSubjectPublicKeyInfo() => throw null; - public System.Security.Cryptography.DSA GetDSAPublicKey() => throw null; - public System.Security.Cryptography.ECDiffieHellman GetECDiffieHellmanPublicKey() => throw null; - public System.Security.Cryptography.ECDsa GetECDsaPublicKey() => throw null; - public System.Security.Cryptography.RSA GetRSAPublicKey() => throw null; - public System.Security.Cryptography.AsymmetricAlgorithm Key { get => throw null; } - public System.Security.Cryptography.Oid Oid { get => throw null; } - public PublicKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; - public PublicKey(System.Security.Cryptography.Oid oid, System.Security.Cryptography.AsnEncodedData parameters, System.Security.Cryptography.AsnEncodedData keyValue) => throw null; - public bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.RSACertificateExtensions` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public static class RSACertificateExtensions - { - public static System.Security.Cryptography.X509Certificates.X509Certificate2 CopyWithPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.RSA privateKey) => throw null; - public static System.Security.Cryptography.RSA GetRSAPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - public static System.Security.Cryptography.RSA GetRSAPublicKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.StoreLocation` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum StoreLocation : int - { - CurrentUser = 1, - LocalMachine = 2, - } - - // Generated from `System.Security.Cryptography.X509Certificates.StoreName` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum StoreName : int - { - AddressBook = 1, - AuthRoot = 2, - CertificateAuthority = 3, - Disallowed = 4, - My = 5, - Root = 6, - TrustedPeople = 7, - TrustedPublisher = 8, - } - - // Generated from `System.Security.Cryptography.X509Certificates.SubjectAlternativeNameBuilder` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class SubjectAlternativeNameBuilder - { - public void AddDnsName(string dnsName) => throw null; - public void AddEmailAddress(string emailAddress) => throw null; - public void AddIpAddress(System.Net.IPAddress ipAddress) => throw null; - public void AddUri(System.Uri uri) => throw null; - public void AddUserPrincipalName(string upn) => throw null; - public System.Security.Cryptography.X509Certificates.X509Extension Build(bool critical = default(bool)) => throw null; - public SubjectAlternativeNameBuilder() => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X500DistinguishedName` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X500DistinguishedName : System.Security.Cryptography.AsnEncodedData - { - public string Decode(System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags flag) => throw null; - public override string Format(bool multiLine) => throw null; - public string Name { get => throw null; } - public X500DistinguishedName(System.Security.Cryptography.AsnEncodedData encodedDistinguishedName) => throw null; - public X500DistinguishedName(System.Byte[] encodedDistinguishedName) => throw null; - public X500DistinguishedName(System.ReadOnlySpan encodedDistinguishedName) => throw null; - public X500DistinguishedName(System.Security.Cryptography.X509Certificates.X500DistinguishedName distinguishedName) => throw null; - public X500DistinguishedName(string distinguishedName) => throw null; - public X500DistinguishedName(string distinguishedName, System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags flag) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum X500DistinguishedNameFlags : int - { - DoNotUsePlusSign = 32, - DoNotUseQuotes = 64, - ForceUTF8Encoding = 16384, - None = 0, - Reversed = 1, - UseCommas = 128, - UseNewLines = 256, - UseSemicolons = 16, - UseT61Encoding = 8192, - UseUTF8Encoding = 4096, - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509BasicConstraintsExtension : System.Security.Cryptography.X509Certificates.X509Extension - { - public bool CertificateAuthority { get => throw null; } - public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; - public bool HasPathLengthConstraint { get => throw null; } - public int PathLengthConstraint { get => throw null; } - public X509BasicConstraintsExtension() => throw null; - public X509BasicConstraintsExtension(System.Security.Cryptography.AsnEncodedData encodedBasicConstraints, bool critical) => throw null; - public X509BasicConstraintsExtension(bool certificateAuthority, bool hasPathLengthConstraint, int pathLengthConstraint, bool critical) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509Certificate` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509Certificate : System.IDisposable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable - { - public static System.Security.Cryptography.X509Certificates.X509Certificate CreateFromCertFile(string filename) => throw null; - public static System.Security.Cryptography.X509Certificates.X509Certificate CreateFromSignedFile(string filename) => throw null; - public void Dispose() => throw null; - protected virtual void Dispose(bool disposing) => throw null; - public virtual bool Equals(System.Security.Cryptography.X509Certificates.X509Certificate other) => throw null; - public override bool Equals(object obj) => throw null; - public virtual System.Byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType) => throw null; - public virtual System.Byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType, System.Security.SecureString password) => throw null; - public virtual System.Byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType, string password) => throw null; - protected static string FormatDate(System.DateTime date) => throw null; - public virtual System.Byte[] GetCertHash() => throw null; - public virtual System.Byte[] GetCertHash(System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public virtual string GetCertHashString() => throw null; - public virtual string GetCertHashString(System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; - public virtual string GetEffectiveDateString() => throw null; - public virtual string GetExpirationDateString() => throw null; - public virtual string GetFormat() => throw null; - public override int GetHashCode() => throw null; - public virtual string GetIssuerName() => throw null; - public virtual string GetKeyAlgorithm() => throw null; - public virtual System.Byte[] GetKeyAlgorithmParameters() => throw null; - public virtual string GetKeyAlgorithmParametersString() => throw null; - public virtual string GetName() => throw null; - void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; - public virtual System.Byte[] GetPublicKey() => throw null; - public virtual string GetPublicKeyString() => throw null; - public virtual System.Byte[] GetRawCertData() => throw null; - public virtual string GetRawCertDataString() => throw null; - public virtual System.Byte[] GetSerialNumber() => throw null; - public virtual string GetSerialNumberString() => throw null; - public System.IntPtr Handle { get => throw null; } - public virtual void Import(System.Byte[] rawData) => throw null; - public virtual void Import(System.Byte[] rawData, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public virtual void Import(System.Byte[] rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public virtual void Import(string fileName) => throw null; - public virtual void Import(string fileName, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public virtual void Import(string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public string Issuer { get => throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) => throw null; - public virtual void Reset() => throw null; - public string Subject { get => throw null; } - public override string ToString() => throw null; - public virtual string ToString(bool fVerbose) => throw null; - public virtual bool TryGetCertHash(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Span destination, out int bytesWritten) => throw null; - public X509Certificate() => throw null; - public X509Certificate(System.Byte[] data) => throw null; - public X509Certificate(System.Byte[] rawData, System.Security.SecureString password) => throw null; - public X509Certificate(System.Byte[] rawData, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public X509Certificate(System.Byte[] rawData, string password) => throw null; - public X509Certificate(System.Byte[] rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public X509Certificate(System.IntPtr handle) => throw null; - public X509Certificate(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; - public X509Certificate(System.Security.Cryptography.X509Certificates.X509Certificate cert) => throw null; - public X509Certificate(string fileName) => throw null; - public X509Certificate(string fileName, System.Security.SecureString password) => throw null; - public X509Certificate(string fileName, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public X509Certificate(string fileName, string password) => throw null; - public X509Certificate(string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509Certificate2` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509Certificate2 : System.Security.Cryptography.X509Certificates.X509Certificate - { - public bool Archived { get => throw null; set => throw null; } - public System.Security.Cryptography.X509Certificates.X509Certificate2 CopyWithPrivateKey(System.Security.Cryptography.ECDiffieHellman privateKey) => throw null; - public static System.Security.Cryptography.X509Certificates.X509Certificate2 CreateFromEncryptedPem(System.ReadOnlySpan certPem, System.ReadOnlySpan keyPem, System.ReadOnlySpan password) => throw null; - public static System.Security.Cryptography.X509Certificates.X509Certificate2 CreateFromEncryptedPemFile(string certPemFilePath, System.ReadOnlySpan password, string keyPemFilePath = default(string)) => throw null; - public static System.Security.Cryptography.X509Certificates.X509Certificate2 CreateFromPem(System.ReadOnlySpan certPem) => throw null; - public static System.Security.Cryptography.X509Certificates.X509Certificate2 CreateFromPem(System.ReadOnlySpan certPem, System.ReadOnlySpan keyPem) => throw null; - public static System.Security.Cryptography.X509Certificates.X509Certificate2 CreateFromPemFile(string certPemFilePath, string keyPemFilePath = default(string)) => throw null; - public System.Security.Cryptography.X509Certificates.X509ExtensionCollection Extensions { get => throw null; } - public string FriendlyName { get => throw null; set => throw null; } - public static System.Security.Cryptography.X509Certificates.X509ContentType GetCertContentType(System.Byte[] rawData) => throw null; - public static System.Security.Cryptography.X509Certificates.X509ContentType GetCertContentType(System.ReadOnlySpan rawData) => throw null; - public static System.Security.Cryptography.X509Certificates.X509ContentType GetCertContentType(string fileName) => throw null; - public System.Security.Cryptography.ECDiffieHellman GetECDiffieHellmanPrivateKey() => throw null; - public System.Security.Cryptography.ECDiffieHellman GetECDiffieHellmanPublicKey() => throw null; - public string GetNameInfo(System.Security.Cryptography.X509Certificates.X509NameType nameType, bool forIssuer) => throw null; - public bool HasPrivateKey { get => throw null; } - public override void Import(System.Byte[] rawData) => throw null; - public override void Import(System.Byte[] rawData, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public override void Import(System.Byte[] rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public override void Import(string fileName) => throw null; - public override void Import(string fileName, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public override void Import(string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public System.Security.Cryptography.X509Certificates.X500DistinguishedName IssuerName { get => throw null; } - public System.DateTime NotAfter { get => throw null; } - public System.DateTime NotBefore { get => throw null; } - public System.Security.Cryptography.AsymmetricAlgorithm PrivateKey { get => throw null; set => throw null; } - public System.Security.Cryptography.X509Certificates.PublicKey PublicKey { get => throw null; } - public System.Byte[] RawData { get => throw null; } - public override void Reset() => throw null; - public string SerialNumber { get => throw null; } - public System.Security.Cryptography.Oid SignatureAlgorithm { get => throw null; } - public System.Security.Cryptography.X509Certificates.X500DistinguishedName SubjectName { get => throw null; } - public string Thumbprint { get => throw null; } - public override string ToString() => throw null; - public override string ToString(bool verbose) => throw null; - public bool Verify() => throw null; - public int Version { get => throw null; } - public X509Certificate2() => throw null; - public X509Certificate2(System.Byte[] rawData) => throw null; - public X509Certificate2(System.Byte[] rawData, System.Security.SecureString password) => throw null; - public X509Certificate2(System.Byte[] rawData, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public X509Certificate2(System.Byte[] rawData, string password) => throw null; - public X509Certificate2(System.Byte[] rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public X509Certificate2(System.IntPtr handle) => throw null; - public X509Certificate2(System.ReadOnlySpan rawData) => throw null; - public X509Certificate2(System.ReadOnlySpan rawData, System.ReadOnlySpan password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; - protected X509Certificate2(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; - public X509Certificate2(System.Security.Cryptography.X509Certificates.X509Certificate certificate) => throw null; - public X509Certificate2(string fileName) => throw null; - public X509Certificate2(string fileName, System.ReadOnlySpan password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; - public X509Certificate2(string fileName, System.Security.SecureString password) => throw null; - public X509Certificate2(string fileName, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - public X509Certificate2(string fileName, string password) => throw null; - public X509Certificate2(string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509Certificate2Collection` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509Certificate2Collection : System.Security.Cryptography.X509Certificates.X509CertificateCollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable - { - public int Add(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) => throw null; - public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates) => throw null; - public bool Contains(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - public System.Byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType) => throw null; - public System.Byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType, string password) => throw null; - public System.Security.Cryptography.X509Certificates.X509Certificate2Collection Find(System.Security.Cryptography.X509Certificates.X509FindType findType, object findValue, bool validOnly) => throw null; - public System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator GetEnumerator() => throw null; - System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null; - public void Import(System.Byte[] rawData) => throw null; - public void Import(System.Byte[] rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; - public void Import(System.ReadOnlySpan rawData) => throw null; - public void Import(System.ReadOnlySpan rawData, System.ReadOnlySpan password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; - public void Import(System.ReadOnlySpan rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; - public void Import(string fileName) => throw null; - public void Import(string fileName, System.ReadOnlySpan password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; - public void Import(string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; - public void ImportFromPem(System.ReadOnlySpan certPem) => throw null; - public void ImportFromPemFile(string certPemFilePath) => throw null; - public void Insert(int index, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - public System.Security.Cryptography.X509Certificates.X509Certificate2 this[int index] { get => throw null; set => throw null; } - public void Remove(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - public void RemoveRange(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) => throw null; - public void RemoveRange(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates) => throw null; - public X509Certificate2Collection() => throw null; - public X509Certificate2Collection(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - public X509Certificate2Collection(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) => throw null; - public X509Certificate2Collection(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509Certificate2Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable - { - public System.Security.Cryptography.X509Certificates.X509Certificate2 Current { get => throw null; } - object System.Collections.IEnumerator.Current { get => throw null; } - void System.IDisposable.Dispose() => throw null; - public bool MoveNext() => throw null; - bool System.Collections.IEnumerator.MoveNext() => throw null; - public void Reset() => throw null; - void System.Collections.IEnumerator.Reset() => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509CertificateCollection` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509CertificateCollection : System.Collections.CollectionBase - { - // Generated from `System.Security.Cryptography.X509Certificates.X509CertificateCollection+X509CertificateEnumerator` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509CertificateEnumerator : System.Collections.IEnumerator - { - public System.Security.Cryptography.X509Certificates.X509Certificate Current { get => throw null; } - object System.Collections.IEnumerator.Current { get => throw null; } - public bool MoveNext() => throw null; - bool System.Collections.IEnumerator.MoveNext() => throw null; - public void Reset() => throw null; - void System.Collections.IEnumerator.Reset() => throw null; - public X509CertificateEnumerator(System.Security.Cryptography.X509Certificates.X509CertificateCollection mappings) => throw null; - } - - - public int Add(System.Security.Cryptography.X509Certificates.X509Certificate value) => throw null; - public void AddRange(System.Security.Cryptography.X509Certificates.X509CertificateCollection value) => throw null; - public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate[] value) => throw null; - public bool Contains(System.Security.Cryptography.X509Certificates.X509Certificate value) => throw null; - public void CopyTo(System.Security.Cryptography.X509Certificates.X509Certificate[] array, int index) => throw null; - public System.Security.Cryptography.X509Certificates.X509CertificateCollection.X509CertificateEnumerator GetEnumerator() => throw null; - public override int GetHashCode() => throw null; - public int IndexOf(System.Security.Cryptography.X509Certificates.X509Certificate value) => throw null; - public void Insert(int index, System.Security.Cryptography.X509Certificates.X509Certificate value) => throw null; - public System.Security.Cryptography.X509Certificates.X509Certificate this[int index] { get => throw null; set => throw null; } - protected override void OnValidate(object value) => throw null; - public void Remove(System.Security.Cryptography.X509Certificates.X509Certificate value) => throw null; - public X509CertificateCollection() => throw null; - public X509CertificateCollection(System.Security.Cryptography.X509Certificates.X509CertificateCollection value) => throw null; - public X509CertificateCollection(System.Security.Cryptography.X509Certificates.X509Certificate[] value) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509Chain` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509Chain : System.IDisposable - { - public bool Build(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - public System.IntPtr ChainContext { get => throw null; } - public System.Security.Cryptography.X509Certificates.X509ChainElementCollection ChainElements { get => throw null; } - public System.Security.Cryptography.X509Certificates.X509ChainPolicy ChainPolicy { get => throw null; set => throw null; } - public System.Security.Cryptography.X509Certificates.X509ChainStatus[] ChainStatus { get => throw null; } - public static System.Security.Cryptography.X509Certificates.X509Chain Create() => throw null; - public void Dispose() => throw null; - protected virtual void Dispose(bool disposing) => throw null; - public void Reset() => throw null; - public Microsoft.Win32.SafeHandles.SafeX509ChainHandle SafeHandle { get => throw null; } - public X509Chain() => throw null; - public X509Chain(System.IntPtr chainContext) => throw null; - public X509Chain(bool useMachineContext) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainElement` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509ChainElement - { - public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get => throw null; } - public System.Security.Cryptography.X509Certificates.X509ChainStatus[] ChainElementStatus { get => throw null; } - public string Information { get => throw null; } - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainElementCollection` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509ChainElementCollection : System.Collections.Generic.IEnumerable, System.Collections.ICollection, System.Collections.IEnumerable - { - void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; - public void CopyTo(System.Security.Cryptography.X509Certificates.X509ChainElement[] array, int index) => throw null; - public int Count { get => throw null; } - public System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator GetEnumerator() => throw null; - System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null; - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; - public bool IsSynchronized { get => throw null; } - public System.Security.Cryptography.X509Certificates.X509ChainElement this[int index] { get => throw null; } - public object SyncRoot { get => throw null; } - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509ChainElementEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable - { - public System.Security.Cryptography.X509Certificates.X509ChainElement Current { get => throw null; } - object System.Collections.IEnumerator.Current { get => throw null; } - void System.IDisposable.Dispose() => throw null; - public bool MoveNext() => throw null; - public void Reset() => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainPolicy` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509ChainPolicy - { - public System.Security.Cryptography.OidCollection ApplicationPolicy { get => throw null; } - public System.Security.Cryptography.OidCollection CertificatePolicy { get => throw null; } - public System.Security.Cryptography.X509Certificates.X509Certificate2Collection CustomTrustStore { get => throw null; } - public bool DisableCertificateDownloads { get => throw null; set => throw null; } - public System.Security.Cryptography.X509Certificates.X509Certificate2Collection ExtraStore { get => throw null; } - public void Reset() => throw null; - public System.Security.Cryptography.X509Certificates.X509RevocationFlag RevocationFlag { get => throw null; set => throw null; } - public System.Security.Cryptography.X509Certificates.X509RevocationMode RevocationMode { get => throw null; set => throw null; } - public System.Security.Cryptography.X509Certificates.X509ChainTrustMode TrustMode { get => throw null; set => throw null; } - public System.TimeSpan UrlRetrievalTimeout { get => throw null; set => throw null; } - public System.Security.Cryptography.X509Certificates.X509VerificationFlags VerificationFlags { get => throw null; set => throw null; } - public System.DateTime VerificationTime { get => throw null; set => throw null; } - public X509ChainPolicy() => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainStatus` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct X509ChainStatus - { - public System.Security.Cryptography.X509Certificates.X509ChainStatusFlags Status { get => throw null; set => throw null; } - public string StatusInformation { get => throw null; set => throw null; } - // Stub generator skipped constructor - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainStatusFlags` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum X509ChainStatusFlags : int - { - CtlNotSignatureValid = 262144, - CtlNotTimeValid = 131072, - CtlNotValidForUsage = 524288, - Cyclic = 128, - ExplicitDistrust = 67108864, - HasExcludedNameConstraint = 32768, - HasNotDefinedNameConstraint = 8192, - HasNotPermittedNameConstraint = 16384, - HasNotSupportedCriticalExtension = 134217728, - HasNotSupportedNameConstraint = 4096, - HasWeakSignature = 1048576, - InvalidBasicConstraints = 1024, - InvalidExtension = 256, - InvalidNameConstraints = 2048, - InvalidPolicyConstraints = 512, - NoError = 0, - NoIssuanceChainPolicy = 33554432, - NotSignatureValid = 8, - NotTimeNested = 2, - NotTimeValid = 1, - NotValidForUsage = 16, - OfflineRevocation = 16777216, - PartialChain = 65536, - RevocationStatusUnknown = 64, - Revoked = 4, - UntrustedRoot = 32, - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainTrustMode` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum X509ChainTrustMode : int - { - CustomRootTrust = 1, - System = 0, - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509ContentType` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum X509ContentType : int - { - Authenticode = 6, - Cert = 1, - Pfx = 3, - Pkcs12 = 3, - Pkcs7 = 5, - SerializedCert = 2, - SerializedStore = 4, - Unknown = 0, - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509EnhancedKeyUsageExtension : System.Security.Cryptography.X509Certificates.X509Extension - { - public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; - public System.Security.Cryptography.OidCollection EnhancedKeyUsages { get => throw null; } - public X509EnhancedKeyUsageExtension() => throw null; - public X509EnhancedKeyUsageExtension(System.Security.Cryptography.AsnEncodedData encodedEnhancedKeyUsages, bool critical) => throw null; - public X509EnhancedKeyUsageExtension(System.Security.Cryptography.OidCollection enhancedKeyUsages, bool critical) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509Extension` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509Extension : System.Security.Cryptography.AsnEncodedData - { - public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; - public bool Critical { get => throw null; set => throw null; } - protected X509Extension() => throw null; - public X509Extension(System.Security.Cryptography.AsnEncodedData encodedExtension, bool critical) => throw null; - public X509Extension(System.Security.Cryptography.Oid oid, System.Byte[] rawData, bool critical) => throw null; - public X509Extension(System.Security.Cryptography.Oid oid, System.ReadOnlySpan rawData, bool critical) => throw null; - public X509Extension(string oid, System.Byte[] rawData, bool critical) => throw null; - public X509Extension(string oid, System.ReadOnlySpan rawData, bool critical) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509ExtensionCollection` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509ExtensionCollection : System.Collections.Generic.IEnumerable, System.Collections.ICollection, System.Collections.IEnumerable - { - public int Add(System.Security.Cryptography.X509Certificates.X509Extension extension) => throw null; - void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; - public void CopyTo(System.Security.Cryptography.X509Certificates.X509Extension[] array, int index) => throw null; - public int Count { get => throw null; } - public System.Security.Cryptography.X509Certificates.X509ExtensionEnumerator GetEnumerator() => throw null; - System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null; - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; - public bool IsSynchronized { get => throw null; } - public System.Security.Cryptography.X509Certificates.X509Extension this[int index] { get => throw null; } - public System.Security.Cryptography.X509Certificates.X509Extension this[string oid] { get => throw null; } - public object SyncRoot { get => throw null; } - public X509ExtensionCollection() => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509ExtensionEnumerator` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509ExtensionEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable - { - public System.Security.Cryptography.X509Certificates.X509Extension Current { get => throw null; } - object System.Collections.IEnumerator.Current { get => throw null; } - void System.IDisposable.Dispose() => throw null; - public bool MoveNext() => throw null; - public void Reset() => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509FindType` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum X509FindType : int - { - FindByApplicationPolicy = 10, - FindByCertificatePolicy = 11, - FindByExtension = 12, - FindByIssuerDistinguishedName = 4, - FindByIssuerName = 3, - FindByKeyUsage = 13, - FindBySerialNumber = 5, - FindBySubjectDistinguishedName = 2, - FindBySubjectKeyIdentifier = 14, - FindBySubjectName = 1, - FindByTemplateName = 9, - FindByThumbprint = 0, - FindByTimeExpired = 8, - FindByTimeNotYetValid = 7, - FindByTimeValid = 6, - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509IncludeOption` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum X509IncludeOption : int - { - EndCertOnly = 2, - ExcludeRoot = 1, - None = 0, - WholeChain = 3, - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509KeyStorageFlags` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum X509KeyStorageFlags : int - { - DefaultKeySet = 0, - EphemeralKeySet = 32, - Exportable = 4, - MachineKeySet = 2, - PersistKeySet = 16, - UserKeySet = 1, - UserProtected = 8, - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509KeyUsageExtension` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509KeyUsageExtension : System.Security.Cryptography.X509Certificates.X509Extension - { - public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; - public System.Security.Cryptography.X509Certificates.X509KeyUsageFlags KeyUsages { get => throw null; } - public X509KeyUsageExtension() => throw null; - public X509KeyUsageExtension(System.Security.Cryptography.AsnEncodedData encodedKeyUsage, bool critical) => throw null; - public X509KeyUsageExtension(System.Security.Cryptography.X509Certificates.X509KeyUsageFlags keyUsages, bool critical) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509KeyUsageFlags` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum X509KeyUsageFlags : int - { - CrlSign = 2, - DataEncipherment = 16, - DecipherOnly = 32768, - DigitalSignature = 128, - EncipherOnly = 1, - KeyAgreement = 8, - KeyCertSign = 4, - KeyEncipherment = 32, - NonRepudiation = 64, - None = 0, - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509NameType` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum X509NameType : int - { - DnsFromAlternativeName = 4, - DnsName = 3, - EmailName = 1, - SimpleName = 0, - UpnName = 2, - UrlName = 5, - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509RevocationFlag` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum X509RevocationFlag : int - { - EndCertificateOnly = 0, - EntireChain = 1, - ExcludeRoot = 2, - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509RevocationMode` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum X509RevocationMode : int - { - NoCheck = 0, - Offline = 2, - Online = 1, - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509SignatureGenerator` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public abstract class X509SignatureGenerator - { - protected abstract System.Security.Cryptography.X509Certificates.PublicKey BuildPublicKey(); - public static System.Security.Cryptography.X509Certificates.X509SignatureGenerator CreateForECDsa(System.Security.Cryptography.ECDsa key) => throw null; - public static System.Security.Cryptography.X509Certificates.X509SignatureGenerator CreateForRSA(System.Security.Cryptography.RSA key, System.Security.Cryptography.RSASignaturePadding signaturePadding) => throw null; - public abstract System.Byte[] GetSignatureAlgorithmIdentifier(System.Security.Cryptography.HashAlgorithmName hashAlgorithm); - public System.Security.Cryptography.X509Certificates.PublicKey PublicKey { get => throw null; } - public abstract System.Byte[] SignData(System.Byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm); - protected X509SignatureGenerator() => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509Store` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509Store : System.IDisposable - { - public void Add(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) => throw null; - public System.Security.Cryptography.X509Certificates.X509Certificate2Collection Certificates { get => throw null; } - public void Close() => throw null; - public void Dispose() => throw null; - public bool IsOpen { get => throw null; } - public System.Security.Cryptography.X509Certificates.StoreLocation Location { get => throw null; } - public string Name { get => throw null; } - public void Open(System.Security.Cryptography.X509Certificates.OpenFlags flags) => throw null; - public void Remove(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; - public void RemoveRange(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) => throw null; - public System.IntPtr StoreHandle { get => throw null; } - public X509Store() => throw null; - public X509Store(System.IntPtr storeHandle) => throw null; - public X509Store(System.Security.Cryptography.X509Certificates.StoreLocation storeLocation) => throw null; - public X509Store(System.Security.Cryptography.X509Certificates.StoreName storeName) => throw null; - public X509Store(System.Security.Cryptography.X509Certificates.StoreName storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation) => throw null; - public X509Store(System.Security.Cryptography.X509Certificates.StoreName storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, System.Security.Cryptography.X509Certificates.OpenFlags flags) => throw null; - public X509Store(string storeName) => throw null; - public X509Store(string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation) => throw null; - public X509Store(string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, System.Security.Cryptography.X509Certificates.OpenFlags flags) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public class X509SubjectKeyIdentifierExtension : System.Security.Cryptography.X509Certificates.X509Extension - { - public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; - public string SubjectKeyIdentifier { get => throw null; } - public X509SubjectKeyIdentifierExtension() => throw null; - public X509SubjectKeyIdentifierExtension(System.Security.Cryptography.AsnEncodedData encodedSubjectKeyIdentifier, bool critical) => throw null; - public X509SubjectKeyIdentifierExtension(System.Byte[] subjectKeyIdentifier, bool critical) => throw null; - public X509SubjectKeyIdentifierExtension(System.Security.Cryptography.X509Certificates.PublicKey key, System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm algorithm, bool critical) => throw null; - public X509SubjectKeyIdentifierExtension(System.Security.Cryptography.X509Certificates.PublicKey key, bool critical) => throw null; - public X509SubjectKeyIdentifierExtension(System.ReadOnlySpan subjectKeyIdentifier, bool critical) => throw null; - public X509SubjectKeyIdentifierExtension(string subjectKeyIdentifier, bool critical) => throw null; - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public enum X509SubjectKeyIdentifierHashAlgorithm : int - { - CapiSha1 = 2, - Sha1 = 0, - ShortSha1 = 1, - } - - // Generated from `System.Security.Cryptography.X509Certificates.X509VerificationFlags` in `System.Security.Cryptography.X509Certificates, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - [System.Flags] - public enum X509VerificationFlags : int - { - AllFlags = 4095, - AllowUnknownCertificateAuthority = 16, - IgnoreCertificateAuthorityRevocationUnknown = 1024, - IgnoreCtlNotTimeValid = 2, - IgnoreCtlSignerRevocationUnknown = 512, - IgnoreEndRevocationUnknown = 256, - IgnoreInvalidBasicConstraints = 8, - IgnoreInvalidName = 64, - IgnoreInvalidPolicy = 128, - IgnoreNotTimeNested = 4, - IgnoreNotTimeValid = 1, - IgnoreRootRevocationUnknown = 2048, - IgnoreWrongUsage = 32, - NoFlag = 0, - } - - } - } - } -} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.cs new file mode 100644 index 00000000000..4a32cc3af37 --- /dev/null +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.cs @@ -0,0 +1,3246 @@ +// This file contains auto-generated code. + +namespace Microsoft +{ + namespace Win32 + { + namespace SafeHandles + { + // Generated from `Microsoft.Win32.SafeHandles.SafeNCryptHandle` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class SafeNCryptHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid + { + protected override bool ReleaseHandle() => throw null; + protected abstract bool ReleaseNativeHandle(); + protected SafeNCryptHandle() : base(default(bool)) => throw null; + protected SafeNCryptHandle(System.IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle) : base(default(bool)) => throw null; + } + + // Generated from `Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SafeNCryptKeyHandle : Microsoft.Win32.SafeHandles.SafeNCryptHandle + { + protected override bool ReleaseNativeHandle() => throw null; + public SafeNCryptKeyHandle() => throw null; + public SafeNCryptKeyHandle(System.IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle) => throw null; + } + + // Generated from `Microsoft.Win32.SafeHandles.SafeNCryptProviderHandle` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SafeNCryptProviderHandle : Microsoft.Win32.SafeHandles.SafeNCryptHandle + { + protected override bool ReleaseNativeHandle() => throw null; + public SafeNCryptProviderHandle() => throw null; + } + + // Generated from `Microsoft.Win32.SafeHandles.SafeNCryptSecretHandle` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SafeNCryptSecretHandle : Microsoft.Win32.SafeHandles.SafeNCryptHandle + { + protected override bool ReleaseNativeHandle() => throw null; + public SafeNCryptSecretHandle() => throw null; + } + + // Generated from `Microsoft.Win32.SafeHandles.SafeX509ChainHandle` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SafeX509ChainHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid + { + protected override void Dispose(bool disposing) => throw null; + protected override bool ReleaseHandle() => throw null; + public SafeX509ChainHandle() : base(default(bool)) => throw null; + } + + } + } +} +namespace System +{ + namespace Security + { + namespace Cryptography + { + // Generated from `System.Security.Cryptography.Aes` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class Aes : System.Security.Cryptography.SymmetricAlgorithm + { + protected Aes() => throw null; + public static System.Security.Cryptography.Aes Create() => throw null; + public static System.Security.Cryptography.Aes Create(string algorithmName) => throw null; + } + + // Generated from `System.Security.Cryptography.AesCcm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class AesCcm : System.IDisposable + { + public AesCcm(System.Byte[] key) => throw null; + public AesCcm(System.ReadOnlySpan key) => throw null; + public void Decrypt(System.Byte[] nonce, System.Byte[] ciphertext, System.Byte[] tag, System.Byte[] plaintext, System.Byte[] associatedData = default(System.Byte[])) => throw null; + public void Decrypt(System.ReadOnlySpan nonce, System.ReadOnlySpan ciphertext, System.ReadOnlySpan tag, System.Span plaintext, System.ReadOnlySpan associatedData = default(System.ReadOnlySpan)) => throw null; + public void Dispose() => throw null; + public void Encrypt(System.Byte[] nonce, System.Byte[] plaintext, System.Byte[] ciphertext, System.Byte[] tag, System.Byte[] associatedData = default(System.Byte[])) => throw null; + public void Encrypt(System.ReadOnlySpan nonce, System.ReadOnlySpan plaintext, System.Span ciphertext, System.Span tag, System.ReadOnlySpan associatedData = default(System.ReadOnlySpan)) => throw null; + public static bool IsSupported { get => throw null; } + public static System.Security.Cryptography.KeySizes NonceByteSizes { get => throw null; } + public static System.Security.Cryptography.KeySizes TagByteSizes { get => throw null; } + } + + // Generated from `System.Security.Cryptography.AesCng` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class AesCng : System.Security.Cryptography.Aes + { + public AesCng() => throw null; + public AesCng(string keyName) => throw null; + public AesCng(string keyName, System.Security.Cryptography.CngProvider provider) => throw null; + public AesCng(string keyName, System.Security.Cryptography.CngProvider provider, System.Security.Cryptography.CngKeyOpenOptions openOptions) => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + protected override void Dispose(bool disposing) => throw null; + public override void GenerateIV() => throw null; + public override void GenerateKey() => throw null; + public override System.Byte[] Key { get => throw null; set => throw null; } + public override int KeySize { get => throw null; set => throw null; } + protected override bool TryDecryptCbcCore(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + protected override bool TryDecryptCfbCore(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, int feedbackSizeInBits, out int bytesWritten) => throw null; + protected override bool TryDecryptEcbCore(System.ReadOnlySpan ciphertext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + protected override bool TryEncryptCbcCore(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + protected override bool TryEncryptCfbCore(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, int feedbackSizeInBits, out int bytesWritten) => throw null; + protected override bool TryEncryptEcbCore(System.ReadOnlySpan plaintext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.AesCryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class AesCryptoServiceProvider : System.Security.Cryptography.Aes + { + public AesCryptoServiceProvider() => throw null; + public override int BlockSize { get => throw null; set => throw null; } + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + protected override void Dispose(bool disposing) => throw null; + public override int FeedbackSize { get => throw null; set => throw null; } + public override void GenerateIV() => throw null; + public override void GenerateKey() => throw null; + public override System.Byte[] IV { get => throw null; set => throw null; } + public override System.Byte[] Key { get => throw null; set => throw null; } + public override int KeySize { get => throw null; set => throw null; } + public override System.Security.Cryptography.KeySizes[] LegalBlockSizes { get => throw null; } + public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } + public override System.Security.Cryptography.CipherMode Mode { get => throw null; set => throw null; } + public override System.Security.Cryptography.PaddingMode Padding { get => throw null; set => throw null; } + } + + // Generated from `System.Security.Cryptography.AesGcm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class AesGcm : System.IDisposable + { + public AesGcm(System.Byte[] key) => throw null; + public AesGcm(System.ReadOnlySpan key) => throw null; + public void Decrypt(System.Byte[] nonce, System.Byte[] ciphertext, System.Byte[] tag, System.Byte[] plaintext, System.Byte[] associatedData = default(System.Byte[])) => throw null; + public void Decrypt(System.ReadOnlySpan nonce, System.ReadOnlySpan ciphertext, System.ReadOnlySpan tag, System.Span plaintext, System.ReadOnlySpan associatedData = default(System.ReadOnlySpan)) => throw null; + public void Dispose() => throw null; + public void Encrypt(System.Byte[] nonce, System.Byte[] plaintext, System.Byte[] ciphertext, System.Byte[] tag, System.Byte[] associatedData = default(System.Byte[])) => throw null; + public void Encrypt(System.ReadOnlySpan nonce, System.ReadOnlySpan plaintext, System.Span ciphertext, System.Span tag, System.ReadOnlySpan associatedData = default(System.ReadOnlySpan)) => throw null; + public static bool IsSupported { get => throw null; } + public static System.Security.Cryptography.KeySizes NonceByteSizes { get => throw null; } + public static System.Security.Cryptography.KeySizes TagByteSizes { get => throw null; } + } + + // Generated from `System.Security.Cryptography.AesManaged` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class AesManaged : System.Security.Cryptography.Aes + { + public AesManaged() => throw null; + public override int BlockSize { get => throw null; set => throw null; } + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + protected override void Dispose(bool disposing) => throw null; + public override int FeedbackSize { get => throw null; set => throw null; } + public override void GenerateIV() => throw null; + public override void GenerateKey() => throw null; + public override System.Byte[] IV { get => throw null; set => throw null; } + public override System.Byte[] Key { get => throw null; set => throw null; } + public override int KeySize { get => throw null; set => throw null; } + public override System.Security.Cryptography.KeySizes[] LegalBlockSizes { get => throw null; } + public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } + public override System.Security.Cryptography.CipherMode Mode { get => throw null; set => throw null; } + public override System.Security.Cryptography.PaddingMode Padding { get => throw null; set => throw null; } + } + + // Generated from `System.Security.Cryptography.AsnEncodedData` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class AsnEncodedData + { + protected AsnEncodedData() => throw null; + public AsnEncodedData(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; + public AsnEncodedData(System.Byte[] rawData) => throw null; + public AsnEncodedData(System.Security.Cryptography.Oid oid, System.Byte[] rawData) => throw null; + public AsnEncodedData(System.Security.Cryptography.Oid oid, System.ReadOnlySpan rawData) => throw null; + public AsnEncodedData(System.ReadOnlySpan rawData) => throw null; + public AsnEncodedData(string oid, System.Byte[] rawData) => throw null; + public AsnEncodedData(string oid, System.ReadOnlySpan rawData) => throw null; + public virtual void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; + public virtual string Format(bool multiLine) => throw null; + public System.Security.Cryptography.Oid Oid { get => throw null; set => throw null; } + public System.Byte[] RawData { get => throw null; set => throw null; } + } + + // Generated from `System.Security.Cryptography.AsnEncodedDataCollection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class AsnEncodedDataCollection : System.Collections.ICollection, System.Collections.IEnumerable + { + public int Add(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; + public AsnEncodedDataCollection() => throw null; + public AsnEncodedDataCollection(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; + void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; + public void CopyTo(System.Security.Cryptography.AsnEncodedData[] array, int index) => throw null; + public int Count { get => throw null; } + public System.Security.Cryptography.AsnEncodedDataEnumerator GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public bool IsSynchronized { get => throw null; } + public System.Security.Cryptography.AsnEncodedData this[int index] { get => throw null; } + public void Remove(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; + public object SyncRoot { get => throw null; } + } + + // Generated from `System.Security.Cryptography.AsnEncodedDataEnumerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class AsnEncodedDataEnumerator : System.Collections.IEnumerator + { + public System.Security.Cryptography.AsnEncodedData Current { get => throw null; } + object System.Collections.IEnumerator.Current { get => throw null; } + public bool MoveNext() => throw null; + public void Reset() => throw null; + } + + // Generated from `System.Security.Cryptography.AsymmetricAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class AsymmetricAlgorithm : System.IDisposable + { + protected AsymmetricAlgorithm() => throw null; + public void Clear() => throw null; + public static System.Security.Cryptography.AsymmetricAlgorithm Create() => throw null; + public static System.Security.Cryptography.AsymmetricAlgorithm Create(string algName) => throw null; + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + public virtual System.Byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) => throw null; + public virtual System.Byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters) => throw null; + public string ExportEncryptedPkcs8PrivateKeyPem(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters) => throw null; + public virtual System.Byte[] ExportPkcs8PrivateKey() => throw null; + public string ExportPkcs8PrivateKeyPem() => throw null; + public virtual System.Byte[] ExportSubjectPublicKeyInfo() => throw null; + public string ExportSubjectPublicKeyInfoPem() => throw null; + public virtual void FromXmlString(string xmlString) => throw null; + public virtual void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; + public virtual void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; + public virtual void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan passwordBytes) => throw null; + public virtual void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan password) => throw null; + public virtual void ImportFromPem(System.ReadOnlySpan input) => throw null; + public virtual void ImportPkcs8PrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; + public virtual void ImportSubjectPublicKeyInfo(System.ReadOnlySpan source, out int bytesRead) => throw null; + public virtual string KeyExchangeAlgorithm { get => throw null; } + public virtual int KeySize { get => throw null; set => throw null; } + protected int KeySizeValue; + public virtual System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } + protected System.Security.Cryptography.KeySizes[] LegalKeySizesValue; + public virtual string SignatureAlgorithm { get => throw null; } + public virtual string ToXmlString(bool includePrivateParameters) => throw null; + public virtual bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public virtual bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public bool TryExportEncryptedPkcs8PrivateKeyPem(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int charsWritten) => throw null; + public virtual bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten) => throw null; + public bool TryExportPkcs8PrivateKeyPem(System.Span destination, out int charsWritten) => throw null; + public virtual bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; + public bool TryExportSubjectPublicKeyInfoPem(System.Span destination, out int charsWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.AsymmetricKeyExchangeDeformatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class AsymmetricKeyExchangeDeformatter + { + protected AsymmetricKeyExchangeDeformatter() => throw null; + public abstract System.Byte[] DecryptKeyExchange(System.Byte[] rgb); + public abstract string Parameters { get; set; } + public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key); + } + + // Generated from `System.Security.Cryptography.AsymmetricKeyExchangeFormatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class AsymmetricKeyExchangeFormatter + { + protected AsymmetricKeyExchangeFormatter() => throw null; + public abstract System.Byte[] CreateKeyExchange(System.Byte[] data); + public abstract System.Byte[] CreateKeyExchange(System.Byte[] data, System.Type symAlgType); + public abstract string Parameters { get; } + public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key); + } + + // Generated from `System.Security.Cryptography.AsymmetricSignatureDeformatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class AsymmetricSignatureDeformatter + { + protected AsymmetricSignatureDeformatter() => throw null; + public abstract void SetHashAlgorithm(string strName); + public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key); + public abstract bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature); + public virtual bool VerifySignature(System.Security.Cryptography.HashAlgorithm hash, System.Byte[] rgbSignature) => throw null; + } + + // Generated from `System.Security.Cryptography.AsymmetricSignatureFormatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class AsymmetricSignatureFormatter + { + protected AsymmetricSignatureFormatter() => throw null; + public abstract System.Byte[] CreateSignature(System.Byte[] rgbHash); + public virtual System.Byte[] CreateSignature(System.Security.Cryptography.HashAlgorithm hash) => throw null; + public abstract void SetHashAlgorithm(string strName); + public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key); + } + + // Generated from `System.Security.Cryptography.ChaCha20Poly1305` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class ChaCha20Poly1305 : System.IDisposable + { + public ChaCha20Poly1305(System.Byte[] key) => throw null; + public ChaCha20Poly1305(System.ReadOnlySpan key) => throw null; + public void Decrypt(System.Byte[] nonce, System.Byte[] ciphertext, System.Byte[] tag, System.Byte[] plaintext, System.Byte[] associatedData = default(System.Byte[])) => throw null; + public void Decrypt(System.ReadOnlySpan nonce, System.ReadOnlySpan ciphertext, System.ReadOnlySpan tag, System.Span plaintext, System.ReadOnlySpan associatedData = default(System.ReadOnlySpan)) => throw null; + public void Dispose() => throw null; + public void Encrypt(System.Byte[] nonce, System.Byte[] plaintext, System.Byte[] ciphertext, System.Byte[] tag, System.Byte[] associatedData = default(System.Byte[])) => throw null; + public void Encrypt(System.ReadOnlySpan nonce, System.ReadOnlySpan plaintext, System.Span ciphertext, System.Span tag, System.ReadOnlySpan associatedData = default(System.ReadOnlySpan)) => throw null; + public static bool IsSupported { get => throw null; } + } + + // Generated from `System.Security.Cryptography.CipherMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum CipherMode : int + { + CBC = 1, + CFB = 4, + CTS = 5, + ECB = 2, + OFB = 3, + } + + // Generated from `System.Security.Cryptography.CngAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CngAlgorithm : System.IEquatable + { + public static bool operator !=(System.Security.Cryptography.CngAlgorithm left, System.Security.Cryptography.CngAlgorithm right) => throw null; + public static bool operator ==(System.Security.Cryptography.CngAlgorithm left, System.Security.Cryptography.CngAlgorithm right) => throw null; + public string Algorithm { get => throw null; } + public CngAlgorithm(string algorithm) => throw null; + public static System.Security.Cryptography.CngAlgorithm ECDiffieHellman { get => throw null; } + public static System.Security.Cryptography.CngAlgorithm ECDiffieHellmanP256 { get => throw null; } + public static System.Security.Cryptography.CngAlgorithm ECDiffieHellmanP384 { get => throw null; } + public static System.Security.Cryptography.CngAlgorithm ECDiffieHellmanP521 { get => throw null; } + public static System.Security.Cryptography.CngAlgorithm ECDsa { get => throw null; } + public static System.Security.Cryptography.CngAlgorithm ECDsaP256 { get => throw null; } + public static System.Security.Cryptography.CngAlgorithm ECDsaP384 { get => throw null; } + public static System.Security.Cryptography.CngAlgorithm ECDsaP521 { get => throw null; } + public bool Equals(System.Security.Cryptography.CngAlgorithm other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public static System.Security.Cryptography.CngAlgorithm MD5 { get => throw null; } + public static System.Security.Cryptography.CngAlgorithm Rsa { get => throw null; } + public static System.Security.Cryptography.CngAlgorithm Sha1 { get => throw null; } + public static System.Security.Cryptography.CngAlgorithm Sha256 { get => throw null; } + public static System.Security.Cryptography.CngAlgorithm Sha384 { get => throw null; } + public static System.Security.Cryptography.CngAlgorithm Sha512 { get => throw null; } + public override string ToString() => throw null; + } + + // Generated from `System.Security.Cryptography.CngAlgorithmGroup` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CngAlgorithmGroup : System.IEquatable + { + public static bool operator !=(System.Security.Cryptography.CngAlgorithmGroup left, System.Security.Cryptography.CngAlgorithmGroup right) => throw null; + public static bool operator ==(System.Security.Cryptography.CngAlgorithmGroup left, System.Security.Cryptography.CngAlgorithmGroup right) => throw null; + public string AlgorithmGroup { get => throw null; } + public CngAlgorithmGroup(string algorithmGroup) => throw null; + public static System.Security.Cryptography.CngAlgorithmGroup DiffieHellman { get => throw null; } + public static System.Security.Cryptography.CngAlgorithmGroup Dsa { get => throw null; } + public static System.Security.Cryptography.CngAlgorithmGroup ECDiffieHellman { get => throw null; } + public static System.Security.Cryptography.CngAlgorithmGroup ECDsa { get => throw null; } + public bool Equals(System.Security.Cryptography.CngAlgorithmGroup other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public static System.Security.Cryptography.CngAlgorithmGroup Rsa { get => throw null; } + public override string ToString() => throw null; + } + + // Generated from `System.Security.Cryptography.CngExportPolicies` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum CngExportPolicies : int + { + AllowArchiving = 4, + AllowExport = 1, + AllowPlaintextArchiving = 8, + AllowPlaintextExport = 2, + None = 0, + } + + // Generated from `System.Security.Cryptography.CngKey` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CngKey : System.IDisposable + { + public System.Security.Cryptography.CngAlgorithm Algorithm { get => throw null; } + public System.Security.Cryptography.CngAlgorithmGroup AlgorithmGroup { get => throw null; } + public static System.Security.Cryptography.CngKey Create(System.Security.Cryptography.CngAlgorithm algorithm) => throw null; + public static System.Security.Cryptography.CngKey Create(System.Security.Cryptography.CngAlgorithm algorithm, string keyName) => throw null; + public static System.Security.Cryptography.CngKey Create(System.Security.Cryptography.CngAlgorithm algorithm, string keyName, System.Security.Cryptography.CngKeyCreationParameters creationParameters) => throw null; + public void Delete() => throw null; + public void Dispose() => throw null; + public static bool Exists(string keyName) => throw null; + public static bool Exists(string keyName, System.Security.Cryptography.CngProvider provider) => throw null; + public static bool Exists(string keyName, System.Security.Cryptography.CngProvider provider, System.Security.Cryptography.CngKeyOpenOptions options) => throw null; + public System.Byte[] Export(System.Security.Cryptography.CngKeyBlobFormat format) => throw null; + public System.Security.Cryptography.CngExportPolicies ExportPolicy { get => throw null; } + public System.Security.Cryptography.CngProperty GetProperty(string name, System.Security.Cryptography.CngPropertyOptions options) => throw null; + public Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle Handle { get => throw null; } + public bool HasProperty(string name, System.Security.Cryptography.CngPropertyOptions options) => throw null; + public static System.Security.Cryptography.CngKey Import(System.Byte[] keyBlob, System.Security.Cryptography.CngKeyBlobFormat format) => throw null; + public static System.Security.Cryptography.CngKey Import(System.Byte[] keyBlob, System.Security.Cryptography.CngKeyBlobFormat format, System.Security.Cryptography.CngProvider provider) => throw null; + public bool IsEphemeral { get => throw null; } + public bool IsMachineKey { get => throw null; } + public string KeyName { get => throw null; } + public int KeySize { get => throw null; } + public System.Security.Cryptography.CngKeyUsages KeyUsage { get => throw null; } + public static System.Security.Cryptography.CngKey Open(Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle keyHandle, System.Security.Cryptography.CngKeyHandleOpenOptions keyHandleOpenOptions) => throw null; + public static System.Security.Cryptography.CngKey Open(string keyName) => throw null; + public static System.Security.Cryptography.CngKey Open(string keyName, System.Security.Cryptography.CngProvider provider) => throw null; + public static System.Security.Cryptography.CngKey Open(string keyName, System.Security.Cryptography.CngProvider provider, System.Security.Cryptography.CngKeyOpenOptions openOptions) => throw null; + public System.IntPtr ParentWindowHandle { get => throw null; set => throw null; } + public System.Security.Cryptography.CngProvider Provider { get => throw null; } + public Microsoft.Win32.SafeHandles.SafeNCryptProviderHandle ProviderHandle { get => throw null; } + public void SetProperty(System.Security.Cryptography.CngProperty property) => throw null; + public System.Security.Cryptography.CngUIPolicy UIPolicy { get => throw null; } + public string UniqueName { get => throw null; } + } + + // Generated from `System.Security.Cryptography.CngKeyBlobFormat` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CngKeyBlobFormat : System.IEquatable + { + public static bool operator !=(System.Security.Cryptography.CngKeyBlobFormat left, System.Security.Cryptography.CngKeyBlobFormat right) => throw null; + public static bool operator ==(System.Security.Cryptography.CngKeyBlobFormat left, System.Security.Cryptography.CngKeyBlobFormat right) => throw null; + public CngKeyBlobFormat(string format) => throw null; + public static System.Security.Cryptography.CngKeyBlobFormat EccFullPrivateBlob { get => throw null; } + public static System.Security.Cryptography.CngKeyBlobFormat EccFullPublicBlob { get => throw null; } + public static System.Security.Cryptography.CngKeyBlobFormat EccPrivateBlob { get => throw null; } + public static System.Security.Cryptography.CngKeyBlobFormat EccPublicBlob { get => throw null; } + public bool Equals(System.Security.Cryptography.CngKeyBlobFormat other) => throw null; + public override bool Equals(object obj) => throw null; + public string Format { get => throw null; } + public static System.Security.Cryptography.CngKeyBlobFormat GenericPrivateBlob { get => throw null; } + public static System.Security.Cryptography.CngKeyBlobFormat GenericPublicBlob { get => throw null; } + public override int GetHashCode() => throw null; + public static System.Security.Cryptography.CngKeyBlobFormat OpaqueTransportBlob { get => throw null; } + public static System.Security.Cryptography.CngKeyBlobFormat Pkcs8PrivateBlob { get => throw null; } + public override string ToString() => throw null; + } + + // Generated from `System.Security.Cryptography.CngKeyCreationOptions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum CngKeyCreationOptions : int + { + MachineKey = 32, + None = 0, + OverwriteExistingKey = 128, + } + + // Generated from `System.Security.Cryptography.CngKeyCreationParameters` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CngKeyCreationParameters + { + public CngKeyCreationParameters() => throw null; + public System.Security.Cryptography.CngExportPolicies? ExportPolicy { get => throw null; set => throw null; } + public System.Security.Cryptography.CngKeyCreationOptions KeyCreationOptions { get => throw null; set => throw null; } + public System.Security.Cryptography.CngKeyUsages? KeyUsage { get => throw null; set => throw null; } + public System.Security.Cryptography.CngPropertyCollection Parameters { get => throw null; } + public System.IntPtr ParentWindowHandle { get => throw null; set => throw null; } + public System.Security.Cryptography.CngProvider Provider { get => throw null; set => throw null; } + public System.Security.Cryptography.CngUIPolicy UIPolicy { get => throw null; set => throw null; } + } + + // Generated from `System.Security.Cryptography.CngKeyHandleOpenOptions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum CngKeyHandleOpenOptions : int + { + EphemeralKey = 1, + None = 0, + } + + // Generated from `System.Security.Cryptography.CngKeyOpenOptions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum CngKeyOpenOptions : int + { + MachineKey = 32, + None = 0, + Silent = 64, + UserKey = 0, + } + + // Generated from `System.Security.Cryptography.CngKeyUsages` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum CngKeyUsages : int + { + AllUsages = 16777215, + Decryption = 1, + KeyAgreement = 4, + None = 0, + Signing = 2, + } + + // Generated from `System.Security.Cryptography.CngProperty` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct CngProperty : System.IEquatable + { + public static bool operator !=(System.Security.Cryptography.CngProperty left, System.Security.Cryptography.CngProperty right) => throw null; + public static bool operator ==(System.Security.Cryptography.CngProperty left, System.Security.Cryptography.CngProperty right) => throw null; + // Stub generator skipped constructor + public CngProperty(string name, System.Byte[] value, System.Security.Cryptography.CngPropertyOptions options) => throw null; + public bool Equals(System.Security.Cryptography.CngProperty other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public System.Byte[] GetValue() => throw null; + public string Name { get => throw null; } + public System.Security.Cryptography.CngPropertyOptions Options { get => throw null; } + } + + // Generated from `System.Security.Cryptography.CngPropertyCollection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CngPropertyCollection : System.Collections.ObjectModel.Collection + { + public CngPropertyCollection() => throw null; + } + + // Generated from `System.Security.Cryptography.CngPropertyOptions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum CngPropertyOptions : int + { + CustomProperty = 1073741824, + None = 0, + Persist = -2147483648, + } + + // Generated from `System.Security.Cryptography.CngProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CngProvider : System.IEquatable + { + public static bool operator !=(System.Security.Cryptography.CngProvider left, System.Security.Cryptography.CngProvider right) => throw null; + public static bool operator ==(System.Security.Cryptography.CngProvider left, System.Security.Cryptography.CngProvider right) => throw null; + public CngProvider(string provider) => throw null; + public bool Equals(System.Security.Cryptography.CngProvider other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public static System.Security.Cryptography.CngProvider MicrosoftPlatformCryptoProvider { get => throw null; } + public static System.Security.Cryptography.CngProvider MicrosoftSmartCardKeyStorageProvider { get => throw null; } + public static System.Security.Cryptography.CngProvider MicrosoftSoftwareKeyStorageProvider { get => throw null; } + public string Provider { get => throw null; } + public override string ToString() => throw null; + } + + // Generated from `System.Security.Cryptography.CngUIPolicy` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CngUIPolicy + { + public CngUIPolicy(System.Security.Cryptography.CngUIProtectionLevels protectionLevel) => throw null; + public CngUIPolicy(System.Security.Cryptography.CngUIProtectionLevels protectionLevel, string friendlyName) => throw null; + public CngUIPolicy(System.Security.Cryptography.CngUIProtectionLevels protectionLevel, string friendlyName, string description) => throw null; + public CngUIPolicy(System.Security.Cryptography.CngUIProtectionLevels protectionLevel, string friendlyName, string description, string useContext) => throw null; + public CngUIPolicy(System.Security.Cryptography.CngUIProtectionLevels protectionLevel, string friendlyName, string description, string useContext, string creationTitle) => throw null; + public string CreationTitle { get => throw null; } + public string Description { get => throw null; } + public string FriendlyName { get => throw null; } + public System.Security.Cryptography.CngUIProtectionLevels ProtectionLevel { get => throw null; } + public string UseContext { get => throw null; } + } + + // Generated from `System.Security.Cryptography.CngUIProtectionLevels` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum CngUIProtectionLevels : int + { + ForceHighProtection = 2, + None = 0, + ProtectKey = 1, + } + + // Generated from `System.Security.Cryptography.CryptoConfig` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CryptoConfig + { + public static void AddAlgorithm(System.Type algorithm, params string[] names) => throw null; + public static void AddOID(string oid, params string[] names) => throw null; + public static bool AllowOnlyFipsAlgorithms { get => throw null; } + public static object CreateFromName(string name) => throw null; + public static object CreateFromName(string name, params object[] args) => throw null; + public CryptoConfig() => throw null; + public static System.Byte[] EncodeOID(string str) => throw null; + public static string MapNameToOID(string name) => throw null; + } + + // Generated from `System.Security.Cryptography.CryptoStream` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CryptoStream : System.IO.Stream, System.IDisposable + { + public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; + public override System.IAsyncResult BeginWrite(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; + public override bool CanRead { get => throw null; } + public override bool CanSeek { get => throw null; } + public override bool CanWrite { get => throw null; } + public void Clear() => throw null; + public override void CopyTo(System.IO.Stream destination, int bufferSize) => throw null; + public override System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken) => throw null; + public CryptoStream(System.IO.Stream stream, System.Security.Cryptography.ICryptoTransform transform, System.Security.Cryptography.CryptoStreamMode mode) => throw null; + public CryptoStream(System.IO.Stream stream, System.Security.Cryptography.ICryptoTransform transform, System.Security.Cryptography.CryptoStreamMode mode, bool leaveOpen) => throw null; + protected override void Dispose(bool disposing) => throw null; + public override System.Threading.Tasks.ValueTask DisposeAsync() => throw null; + public override int EndRead(System.IAsyncResult asyncResult) => throw null; + public override void EndWrite(System.IAsyncResult asyncResult) => throw null; + public override void Flush() => throw null; + public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public void FlushFinalBlock() => throw null; + public System.Threading.Tasks.ValueTask FlushFinalBlockAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public bool HasFlushedFinalBlock { get => throw null; } + public override System.Int64 Length { get => throw null; } + public override System.Int64 Position { get => throw null; set => throw null; } + public override int Read(System.Byte[] buffer, int offset, int count) => throw null; + public override System.Threading.Tasks.Task ReadAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.Threading.Tasks.ValueTask ReadAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override int ReadByte() => throw null; + public override System.Int64 Seek(System.Int64 offset, System.IO.SeekOrigin origin) => throw null; + public override void SetLength(System.Int64 value) => throw null; + public override void Write(System.Byte[] buffer, int offset, int count) => throw null; + public override System.Threading.Tasks.Task WriteAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override void WriteByte(System.Byte value) => throw null; + } + + // Generated from `System.Security.Cryptography.CryptoStreamMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum CryptoStreamMode : int + { + Read = 0, + Write = 1, + } + + // Generated from `System.Security.Cryptography.CryptographicOperations` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class CryptographicOperations + { + public static bool FixedTimeEquals(System.ReadOnlySpan left, System.ReadOnlySpan right) => throw null; + public static void ZeroMemory(System.Span buffer) => throw null; + } + + // Generated from `System.Security.Cryptography.CryptographicUnexpectedOperationException` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CryptographicUnexpectedOperationException : System.Security.Cryptography.CryptographicException + { + public CryptographicUnexpectedOperationException() => throw null; + protected CryptographicUnexpectedOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + public CryptographicUnexpectedOperationException(string message) => throw null; + public CryptographicUnexpectedOperationException(string message, System.Exception inner) => throw null; + public CryptographicUnexpectedOperationException(string format, string insert) => throw null; + } + + // Generated from `System.Security.Cryptography.CspKeyContainerInfo` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CspKeyContainerInfo + { + public bool Accessible { get => throw null; } + public CspKeyContainerInfo(System.Security.Cryptography.CspParameters parameters) => throw null; + public bool Exportable { get => throw null; } + public bool HardwareDevice { get => throw null; } + public string KeyContainerName { get => throw null; } + public System.Security.Cryptography.KeyNumber KeyNumber { get => throw null; } + public bool MachineKeyStore { get => throw null; } + public bool Protected { get => throw null; } + public string ProviderName { get => throw null; } + public int ProviderType { get => throw null; } + public bool RandomlyGenerated { get => throw null; } + public bool Removable { get => throw null; } + public string UniqueKeyContainerName { get => throw null; } + } + + // Generated from `System.Security.Cryptography.CspParameters` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CspParameters + { + public CspParameters() => throw null; + public CspParameters(int dwTypeIn) => throw null; + public CspParameters(int dwTypeIn, string strProviderNameIn) => throw null; + public CspParameters(int dwTypeIn, string strProviderNameIn, string strContainerNameIn) => throw null; + public System.Security.Cryptography.CspProviderFlags Flags { get => throw null; set => throw null; } + public string KeyContainerName; + public int KeyNumber; + public System.Security.SecureString KeyPassword { get => throw null; set => throw null; } + public System.IntPtr ParentWindowHandle { get => throw null; set => throw null; } + public string ProviderName; + public int ProviderType; + } + + // Generated from `System.Security.Cryptography.CspProviderFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum CspProviderFlags : int + { + CreateEphemeralKey = 128, + NoFlags = 0, + NoPrompt = 64, + UseArchivableKey = 16, + UseDefaultKeyContainer = 2, + UseExistingKey = 8, + UseMachineKeyStore = 1, + UseNonExportableKey = 4, + UseUserProtectedKey = 32, + } + + // Generated from `System.Security.Cryptography.DES` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class DES : System.Security.Cryptography.SymmetricAlgorithm + { + public static System.Security.Cryptography.DES Create() => throw null; + public static System.Security.Cryptography.DES Create(string algName) => throw null; + protected DES() => throw null; + public static bool IsSemiWeakKey(System.Byte[] rgbKey) => throw null; + public static bool IsWeakKey(System.Byte[] rgbKey) => throw null; + public override System.Byte[] Key { get => throw null; set => throw null; } + } + + // Generated from `System.Security.Cryptography.DESCryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class DESCryptoServiceProvider : System.Security.Cryptography.DES + { + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + public DESCryptoServiceProvider() => throw null; + public override void GenerateIV() => throw null; + public override void GenerateKey() => throw null; + } + + // Generated from `System.Security.Cryptography.DSA` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class DSA : System.Security.Cryptography.AsymmetricAlgorithm + { + public static System.Security.Cryptography.DSA Create() => throw null; + public static System.Security.Cryptography.DSA Create(System.Security.Cryptography.DSAParameters parameters) => throw null; + public static System.Security.Cryptography.DSA Create(int keySizeInBits) => throw null; + public static System.Security.Cryptography.DSA Create(string algName) => throw null; + public abstract System.Byte[] CreateSignature(System.Byte[] rgbHash); + public System.Byte[] CreateSignature(System.Byte[] rgbHash, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual System.Byte[] CreateSignatureCore(System.ReadOnlySpan hash, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected DSA() => throw null; + public abstract System.Security.Cryptography.DSAParameters ExportParameters(bool includePrivateParameters); + public override void FromXmlString(string xmlString) => throw null; + public int GetMaxSignatureSize(System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + protected virtual System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan passwordBytes) => throw null; + public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan password) => throw null; + public override void ImportFromPem(System.ReadOnlySpan input) => throw null; + public abstract void ImportParameters(System.Security.Cryptography.DSAParameters parameters); + public override void ImportPkcs8PrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportSubjectPublicKeyInfo(System.ReadOnlySpan source, out int bytesRead) => throw null; + public System.Byte[] SignData(System.Byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public System.Byte[] SignData(System.Byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public virtual System.Byte[] SignData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public System.Byte[] SignData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public virtual System.Byte[] SignData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public System.Byte[] SignData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual System.Byte[] SignDataCore(System.ReadOnlySpan data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual System.Byte[] SignDataCore(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public override string ToXmlString(bool includePrivateParameters) => throw null; + public bool TryCreateSignature(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; + public virtual bool TryCreateSignature(System.ReadOnlySpan hash, System.Span destination, out int bytesWritten) => throw null; + protected virtual bool TryCreateSignatureCore(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; + protected virtual bool TryHashData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out int bytesWritten) => throw null; + public bool TrySignData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; + public virtual bool TrySignData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out int bytesWritten) => throw null; + protected virtual bool TrySignDataCore(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; + public bool VerifyData(System.Byte[] data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public bool VerifyData(System.Byte[] data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public virtual bool VerifyData(System.Byte[] data, int offset, int count, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public bool VerifyData(System.Byte[] data, int offset, int count, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public virtual bool VerifyData(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public bool VerifyData(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public virtual bool VerifyData(System.IO.Stream data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public bool VerifyData(System.IO.Stream data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual bool VerifyDataCore(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual bool VerifyDataCore(System.IO.Stream data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public abstract bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature); + public bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public virtual bool VerifySignature(System.ReadOnlySpan hash, System.ReadOnlySpan signature) => throw null; + public bool VerifySignature(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual bool VerifySignatureCore(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + } + + // Generated from `System.Security.Cryptography.DSACng` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class DSACng : System.Security.Cryptography.DSA + { + public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; + public DSACng() => throw null; + public DSACng(System.Security.Cryptography.CngKey key) => throw null; + public DSACng(int keySize) => throw null; + protected override void Dispose(bool disposing) => throw null; + public override System.Byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) => throw null; + public override System.Byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters) => throw null; + public override System.Security.Cryptography.DSAParameters ExportParameters(bool includePrivateParameters) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportParameters(System.Security.Cryptography.DSAParameters parameters) => throw null; + public System.Security.Cryptography.CngKey Key { get => throw null; } + public override string KeyExchangeAlgorithm { get => throw null; } + public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } + public override string SignatureAlgorithm { get => throw null; } + protected override bool TryCreateSignatureCore(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten) => throw null; + public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; + protected override bool VerifySignatureCore(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + } + + // Generated from `System.Security.Cryptography.DSACryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class DSACryptoServiceProvider : System.Security.Cryptography.DSA, System.Security.Cryptography.ICspAsymmetricAlgorithm + { + public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; + public System.Security.Cryptography.CspKeyContainerInfo CspKeyContainerInfo { get => throw null; } + public DSACryptoServiceProvider() => throw null; + public DSACryptoServiceProvider(System.Security.Cryptography.CspParameters parameters) => throw null; + public DSACryptoServiceProvider(int dwKeySize) => throw null; + public DSACryptoServiceProvider(int dwKeySize, System.Security.Cryptography.CspParameters parameters) => throw null; + protected override void Dispose(bool disposing) => throw null; + public System.Byte[] ExportCspBlob(bool includePrivateParameters) => throw null; + public override System.Security.Cryptography.DSAParameters ExportParameters(bool includePrivateParameters) => throw null; + protected override System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + protected override System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public void ImportCspBlob(System.Byte[] keyBlob) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportParameters(System.Security.Cryptography.DSAParameters parameters) => throw null; + public override string KeyExchangeAlgorithm { get => throw null; } + public override int KeySize { get => throw null; } + public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } + public bool PersistKeyInCsp { get => throw null; set => throw null; } + public bool PublicOnly { get => throw null; } + public System.Byte[] SignData(System.Byte[] buffer) => throw null; + public System.Byte[] SignData(System.Byte[] buffer, int offset, int count) => throw null; + public System.Byte[] SignData(System.IO.Stream inputStream) => throw null; + public System.Byte[] SignHash(System.Byte[] rgbHash, string str) => throw null; + public override string SignatureAlgorithm { get => throw null; } + public static bool UseMachineKeyStore { get => throw null; set => throw null; } + public bool VerifyData(System.Byte[] rgbData, System.Byte[] rgbSignature) => throw null; + public bool VerifyHash(System.Byte[] rgbHash, string str, System.Byte[] rgbSignature) => throw null; + public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; + } + + // Generated from `System.Security.Cryptography.DSAOpenSsl` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class DSAOpenSsl : System.Security.Cryptography.DSA + { + public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; + public DSAOpenSsl() => throw null; + public DSAOpenSsl(System.Security.Cryptography.DSAParameters parameters) => throw null; + public DSAOpenSsl(System.IntPtr handle) => throw null; + public DSAOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle) => throw null; + public DSAOpenSsl(int keySize) => throw null; + public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateKeyHandle() => throw null; + public override System.Security.Cryptography.DSAParameters ExportParameters(bool includePrivateParameters) => throw null; + public override void ImportParameters(System.Security.Cryptography.DSAParameters parameters) => throw null; + public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; + } + + // Generated from `System.Security.Cryptography.DSAParameters` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct DSAParameters + { + public int Counter; + // Stub generator skipped constructor + public System.Byte[] G; + public System.Byte[] J; + public System.Byte[] P; + public System.Byte[] Q; + public System.Byte[] Seed; + public System.Byte[] X; + public System.Byte[] Y; + } + + // Generated from `System.Security.Cryptography.DSASignatureDeformatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class DSASignatureDeformatter : System.Security.Cryptography.AsymmetricSignatureDeformatter + { + public DSASignatureDeformatter() => throw null; + public DSASignatureDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + public override void SetHashAlgorithm(string strName) => throw null; + public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; + } + + // Generated from `System.Security.Cryptography.DSASignatureFormat` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum DSASignatureFormat : int + { + IeeeP1363FixedFieldConcatenation = 0, + Rfc3279DerSequence = 1, + } + + // Generated from `System.Security.Cryptography.DSASignatureFormatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class DSASignatureFormatter : System.Security.Cryptography.AsymmetricSignatureFormatter + { + public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; + public DSASignatureFormatter() => throw null; + public DSASignatureFormatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + public override void SetHashAlgorithm(string strName) => throw null; + public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + } + + // Generated from `System.Security.Cryptography.DeriveBytes` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class DeriveBytes : System.IDisposable + { + protected DeriveBytes() => throw null; + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + public abstract System.Byte[] GetBytes(int cb); + public abstract void Reset(); + } + + // Generated from `System.Security.Cryptography.ECAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class ECAlgorithm : System.Security.Cryptography.AsymmetricAlgorithm + { + protected ECAlgorithm() => throw null; + public virtual System.Byte[] ExportECPrivateKey() => throw null; + public string ExportECPrivateKeyPem() => throw null; + public virtual System.Security.Cryptography.ECParameters ExportExplicitParameters(bool includePrivateParameters) => throw null; + public virtual System.Security.Cryptography.ECParameters ExportParameters(bool includePrivateParameters) => throw null; + public virtual void GenerateKey(System.Security.Cryptography.ECCurve curve) => throw null; + public virtual void ImportECPrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan passwordBytes) => throw null; + public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan password) => throw null; + public override void ImportFromPem(System.ReadOnlySpan input) => throw null; + public virtual void ImportParameters(System.Security.Cryptography.ECParameters parameters) => throw null; + public override void ImportPkcs8PrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportSubjectPublicKeyInfo(System.ReadOnlySpan source, out int bytesRead) => throw null; + public virtual bool TryExportECPrivateKey(System.Span destination, out int bytesWritten) => throw null; + public bool TryExportECPrivateKeyPem(System.Span destination, out int charsWritten) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.ECCurve` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ECCurve + { + // Generated from `System.Security.Cryptography.ECCurve+ECCurveType` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum ECCurveType : int + { + Characteristic2 = 4, + Implicit = 0, + Named = 5, + PrimeMontgomery = 3, + PrimeShortWeierstrass = 1, + PrimeTwistedEdwards = 2, + } + + + // Generated from `System.Security.Cryptography.ECCurve+NamedCurves` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class NamedCurves + { + public static System.Security.Cryptography.ECCurve brainpoolP160r1 { get => throw null; } + public static System.Security.Cryptography.ECCurve brainpoolP160t1 { get => throw null; } + public static System.Security.Cryptography.ECCurve brainpoolP192r1 { get => throw null; } + public static System.Security.Cryptography.ECCurve brainpoolP192t1 { get => throw null; } + public static System.Security.Cryptography.ECCurve brainpoolP224r1 { get => throw null; } + public static System.Security.Cryptography.ECCurve brainpoolP224t1 { get => throw null; } + public static System.Security.Cryptography.ECCurve brainpoolP256r1 { get => throw null; } + public static System.Security.Cryptography.ECCurve brainpoolP256t1 { get => throw null; } + public static System.Security.Cryptography.ECCurve brainpoolP320r1 { get => throw null; } + public static System.Security.Cryptography.ECCurve brainpoolP320t1 { get => throw null; } + public static System.Security.Cryptography.ECCurve brainpoolP384r1 { get => throw null; } + public static System.Security.Cryptography.ECCurve brainpoolP384t1 { get => throw null; } + public static System.Security.Cryptography.ECCurve brainpoolP512r1 { get => throw null; } + public static System.Security.Cryptography.ECCurve brainpoolP512t1 { get => throw null; } + public static System.Security.Cryptography.ECCurve nistP256 { get => throw null; } + public static System.Security.Cryptography.ECCurve nistP384 { get => throw null; } + public static System.Security.Cryptography.ECCurve nistP521 { get => throw null; } + } + + + public System.Byte[] A; + public System.Byte[] B; + public System.Byte[] Cofactor; + public static System.Security.Cryptography.ECCurve CreateFromFriendlyName(string oidFriendlyName) => throw null; + public static System.Security.Cryptography.ECCurve CreateFromOid(System.Security.Cryptography.Oid curveOid) => throw null; + public static System.Security.Cryptography.ECCurve CreateFromValue(string oidValue) => throw null; + public System.Security.Cryptography.ECCurve.ECCurveType CurveType; + // Stub generator skipped constructor + public System.Security.Cryptography.ECPoint G; + public System.Security.Cryptography.HashAlgorithmName? Hash; + public bool IsCharacteristic2 { get => throw null; } + public bool IsExplicit { get => throw null; } + public bool IsNamed { get => throw null; } + public bool IsPrime { get => throw null; } + public System.Security.Cryptography.Oid Oid { get => throw null; } + public System.Byte[] Order; + public System.Byte[] Polynomial; + public System.Byte[] Prime; + public System.Byte[] Seed; + public void Validate() => throw null; + } + + // Generated from `System.Security.Cryptography.ECDiffieHellman` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class ECDiffieHellman : System.Security.Cryptography.ECAlgorithm + { + public static System.Security.Cryptography.ECDiffieHellman Create() => throw null; + public static System.Security.Cryptography.ECDiffieHellman Create(System.Security.Cryptography.ECCurve curve) => throw null; + public static System.Security.Cryptography.ECDiffieHellman Create(System.Security.Cryptography.ECParameters parameters) => throw null; + public static System.Security.Cryptography.ECDiffieHellman Create(string algorithm) => throw null; + public System.Byte[] DeriveKeyFromHash(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public virtual System.Byte[] DeriveKeyFromHash(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] secretPrepend, System.Byte[] secretAppend) => throw null; + public System.Byte[] DeriveKeyFromHmac(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] hmacKey) => throw null; + public virtual System.Byte[] DeriveKeyFromHmac(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] hmacKey, System.Byte[] secretPrepend, System.Byte[] secretAppend) => throw null; + public virtual System.Byte[] DeriveKeyMaterial(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey) => throw null; + public virtual System.Byte[] DeriveKeyTls(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Byte[] prfLabel, System.Byte[] prfSeed) => throw null; + protected ECDiffieHellman() => throw null; + public override void FromXmlString(string xmlString) => throw null; + public override string KeyExchangeAlgorithm { get => throw null; } + public abstract System.Security.Cryptography.ECDiffieHellmanPublicKey PublicKey { get; } + public override string SignatureAlgorithm { get => throw null; } + public override string ToXmlString(bool includePrivateParameters) => throw null; + } + + // Generated from `System.Security.Cryptography.ECDiffieHellmanCng` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class ECDiffieHellmanCng : System.Security.Cryptography.ECDiffieHellman + { + public override System.Byte[] DeriveKeyFromHash(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] secretPrepend, System.Byte[] secretAppend) => throw null; + public override System.Byte[] DeriveKeyFromHmac(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] hmacKey, System.Byte[] secretPrepend, System.Byte[] secretAppend) => throw null; + public System.Byte[] DeriveKeyMaterial(System.Security.Cryptography.CngKey otherPartyPublicKey) => throw null; + public override System.Byte[] DeriveKeyMaterial(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey) => throw null; + public override System.Byte[] DeriveKeyTls(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Byte[] prfLabel, System.Byte[] prfSeed) => throw null; + public Microsoft.Win32.SafeHandles.SafeNCryptSecretHandle DeriveSecretAgreementHandle(System.Security.Cryptography.CngKey otherPartyPublicKey) => throw null; + public Microsoft.Win32.SafeHandles.SafeNCryptSecretHandle DeriveSecretAgreementHandle(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey) => throw null; + protected override void Dispose(bool disposing) => throw null; + public ECDiffieHellmanCng() => throw null; + public ECDiffieHellmanCng(System.Security.Cryptography.CngKey key) => throw null; + public ECDiffieHellmanCng(System.Security.Cryptography.ECCurve curve) => throw null; + public ECDiffieHellmanCng(int keySize) => throw null; + public override System.Byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) => throw null; + public override System.Byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters) => throw null; + public override System.Security.Cryptography.ECParameters ExportExplicitParameters(bool includePrivateParameters) => throw null; + public override System.Security.Cryptography.ECParameters ExportParameters(bool includePrivateParameters) => throw null; + public void FromXmlString(string xml, System.Security.Cryptography.ECKeyXmlFormat format) => throw null; + public override void GenerateKey(System.Security.Cryptography.ECCurve curve) => throw null; + public System.Security.Cryptography.CngAlgorithm HashAlgorithm { get => throw null; set => throw null; } + public System.Byte[] HmacKey { get => throw null; set => throw null; } + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportParameters(System.Security.Cryptography.ECParameters parameters) => throw null; + public override void ImportPkcs8PrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; + public System.Security.Cryptography.CngKey Key { get => throw null; } + public System.Security.Cryptography.ECDiffieHellmanKeyDerivationFunction KeyDerivationFunction { get => throw null; set => throw null; } + public override int KeySize { get => throw null; set => throw null; } + public System.Byte[] Label { get => throw null; set => throw null; } + public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } + public override System.Security.Cryptography.ECDiffieHellmanPublicKey PublicKey { get => throw null; } + public System.Byte[] SecretAppend { get => throw null; set => throw null; } + public System.Byte[] SecretPrepend { get => throw null; set => throw null; } + public System.Byte[] Seed { get => throw null; set => throw null; } + public string ToXmlString(System.Security.Cryptography.ECKeyXmlFormat format) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten) => throw null; + public bool UseSecretAgreementAsHmacKey { get => throw null; } + } + + // Generated from `System.Security.Cryptography.ECDiffieHellmanCngPublicKey` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class ECDiffieHellmanCngPublicKey : System.Security.Cryptography.ECDiffieHellmanPublicKey + { + public System.Security.Cryptography.CngKeyBlobFormat BlobFormat { get => throw null; } + protected override void Dispose(bool disposing) => throw null; + public override System.Security.Cryptography.ECParameters ExportExplicitParameters() => throw null; + public override System.Security.Cryptography.ECParameters ExportParameters() => throw null; + public static System.Security.Cryptography.ECDiffieHellmanPublicKey FromByteArray(System.Byte[] publicKeyBlob, System.Security.Cryptography.CngKeyBlobFormat format) => throw null; + public static System.Security.Cryptography.ECDiffieHellmanCngPublicKey FromXmlString(string xml) => throw null; + public System.Security.Cryptography.CngKey Import() => throw null; + public override string ToXmlString() => throw null; + } + + // Generated from `System.Security.Cryptography.ECDiffieHellmanKeyDerivationFunction` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum ECDiffieHellmanKeyDerivationFunction : int + { + Hash = 0, + Hmac = 1, + Tls = 2, + } + + // Generated from `System.Security.Cryptography.ECDiffieHellmanOpenSsl` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class ECDiffieHellmanOpenSsl : System.Security.Cryptography.ECDiffieHellman + { + public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateKeyHandle() => throw null; + public ECDiffieHellmanOpenSsl() => throw null; + public ECDiffieHellmanOpenSsl(System.Security.Cryptography.ECCurve curve) => throw null; + public ECDiffieHellmanOpenSsl(System.IntPtr handle) => throw null; + public ECDiffieHellmanOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle) => throw null; + public ECDiffieHellmanOpenSsl(int keySize) => throw null; + public override System.Security.Cryptography.ECParameters ExportParameters(bool includePrivateParameters) => throw null; + public override void ImportParameters(System.Security.Cryptography.ECParameters parameters) => throw null; + public override System.Security.Cryptography.ECDiffieHellmanPublicKey PublicKey { get => throw null; } + } + + // Generated from `System.Security.Cryptography.ECDiffieHellmanPublicKey` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class ECDiffieHellmanPublicKey : System.IDisposable + { + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + protected ECDiffieHellmanPublicKey() => throw null; + protected ECDiffieHellmanPublicKey(System.Byte[] keyBlob) => throw null; + public virtual System.Security.Cryptography.ECParameters ExportExplicitParameters() => throw null; + public virtual System.Security.Cryptography.ECParameters ExportParameters() => throw null; + public virtual System.Byte[] ExportSubjectPublicKeyInfo() => throw null; + public virtual System.Byte[] ToByteArray() => throw null; + public virtual string ToXmlString() => throw null; + public virtual bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.ECDsa` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class ECDsa : System.Security.Cryptography.ECAlgorithm + { + public static System.Security.Cryptography.ECDsa Create() => throw null; + public static System.Security.Cryptography.ECDsa Create(System.Security.Cryptography.ECCurve curve) => throw null; + public static System.Security.Cryptography.ECDsa Create(System.Security.Cryptography.ECParameters parameters) => throw null; + public static System.Security.Cryptography.ECDsa Create(string algorithm) => throw null; + protected ECDsa() => throw null; + public override void FromXmlString(string xmlString) => throw null; + public int GetMaxSignatureSize(System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + protected virtual System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public override string KeyExchangeAlgorithm { get => throw null; } + public virtual System.Byte[] SignData(System.Byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public System.Byte[] SignData(System.Byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public virtual System.Byte[] SignData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public System.Byte[] SignData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public System.Byte[] SignData(System.ReadOnlySpan data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public System.Byte[] SignData(System.ReadOnlySpan data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public int SignData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public int SignData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public virtual System.Byte[] SignData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public System.Byte[] SignData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual System.Byte[] SignDataCore(System.ReadOnlySpan data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual System.Byte[] SignDataCore(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public abstract System.Byte[] SignHash(System.Byte[] hash); + public System.Byte[] SignHash(System.Byte[] hash, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public System.Byte[] SignHash(System.ReadOnlySpan hash) => throw null; + public System.Byte[] SignHash(System.ReadOnlySpan hash, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public int SignHash(System.ReadOnlySpan hash, System.Span destination) => throw null; + public int SignHash(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual System.Byte[] SignHashCore(System.ReadOnlySpan hash, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public override string SignatureAlgorithm { get => throw null; } + public override string ToXmlString(bool includePrivateParameters) => throw null; + protected virtual bool TryHashData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out int bytesWritten) => throw null; + public bool TrySignData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; + public virtual bool TrySignData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out int bytesWritten) => throw null; + protected virtual bool TrySignDataCore(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; + public bool TrySignHash(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; + public virtual bool TrySignHash(System.ReadOnlySpan hash, System.Span destination, out int bytesWritten) => throw null; + protected virtual bool TrySignHashCore(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; + public bool VerifyData(System.Byte[] data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public bool VerifyData(System.Byte[] data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public virtual bool VerifyData(System.Byte[] data, int offset, int count, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public bool VerifyData(System.Byte[] data, int offset, int count, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public virtual bool VerifyData(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public bool VerifyData(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public bool VerifyData(System.IO.Stream data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public bool VerifyData(System.IO.Stream data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual bool VerifyDataCore(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual bool VerifyDataCore(System.IO.Stream data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public abstract bool VerifyHash(System.Byte[] hash, System.Byte[] signature); + public bool VerifyHash(System.Byte[] hash, System.Byte[] signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + public virtual bool VerifyHash(System.ReadOnlySpan hash, System.ReadOnlySpan signature) => throw null; + public bool VerifyHash(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + protected virtual bool VerifyHashCore(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + } + + // Generated from `System.Security.Cryptography.ECDsaCng` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class ECDsaCng : System.Security.Cryptography.ECDsa + { + protected override void Dispose(bool disposing) => throw null; + public ECDsaCng() => throw null; + public ECDsaCng(System.Security.Cryptography.CngKey key) => throw null; + public ECDsaCng(System.Security.Cryptography.ECCurve curve) => throw null; + public ECDsaCng(int keySize) => throw null; + public override System.Byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) => throw null; + public override System.Byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters) => throw null; + public override System.Security.Cryptography.ECParameters ExportExplicitParameters(bool includePrivateParameters) => throw null; + public override System.Security.Cryptography.ECParameters ExportParameters(bool includePrivateParameters) => throw null; + public void FromXmlString(string xml, System.Security.Cryptography.ECKeyXmlFormat format) => throw null; + public override void GenerateKey(System.Security.Cryptography.ECCurve curve) => throw null; + public System.Security.Cryptography.CngAlgorithm HashAlgorithm { get => throw null; set => throw null; } + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportParameters(System.Security.Cryptography.ECParameters parameters) => throw null; + public override void ImportPkcs8PrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; + public System.Security.Cryptography.CngKey Key { get => throw null; } + public override int KeySize { get => throw null; set => throw null; } + public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } + public System.Byte[] SignData(System.Byte[] data) => throw null; + public System.Byte[] SignData(System.Byte[] data, int offset, int count) => throw null; + public System.Byte[] SignData(System.IO.Stream data) => throw null; + public override System.Byte[] SignHash(System.Byte[] hash) => throw null; + public string ToXmlString(System.Security.Cryptography.ECKeyXmlFormat format) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten) => throw null; + public override bool TrySignHash(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; + protected override bool TrySignHashCore(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten) => throw null; + public bool VerifyData(System.Byte[] data, System.Byte[] signature) => throw null; + public bool VerifyData(System.Byte[] data, int offset, int count, System.Byte[] signature) => throw null; + public bool VerifyData(System.IO.Stream data, System.Byte[] signature) => throw null; + public override bool VerifyHash(System.Byte[] hash, System.Byte[] signature) => throw null; + public override bool VerifyHash(System.ReadOnlySpan hash, System.ReadOnlySpan signature) => throw null; + protected override bool VerifyHashCore(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; + } + + // Generated from `System.Security.Cryptography.ECDsaOpenSsl` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class ECDsaOpenSsl : System.Security.Cryptography.ECDsa + { + public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateKeyHandle() => throw null; + public ECDsaOpenSsl() => throw null; + public ECDsaOpenSsl(System.Security.Cryptography.ECCurve curve) => throw null; + public ECDsaOpenSsl(System.IntPtr handle) => throw null; + public ECDsaOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle) => throw null; + public ECDsaOpenSsl(int keySize) => throw null; + public override System.Byte[] SignHash(System.Byte[] hash) => throw null; + public override bool VerifyHash(System.Byte[] hash, System.Byte[] signature) => throw null; + } + + // Generated from `System.Security.Cryptography.ECKeyXmlFormat` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum ECKeyXmlFormat : int + { + Rfc4050 = 0, + } + + // Generated from `System.Security.Cryptography.ECParameters` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ECParameters + { + public System.Security.Cryptography.ECCurve Curve; + public System.Byte[] D; + // Stub generator skipped constructor + public System.Security.Cryptography.ECPoint Q; + public void Validate() => throw null; + } + + // Generated from `System.Security.Cryptography.ECPoint` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ECPoint + { + // Stub generator skipped constructor + public System.Byte[] X; + public System.Byte[] Y; + } + + // Generated from `System.Security.Cryptography.FromBase64Transform` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class FromBase64Transform : System.IDisposable, System.Security.Cryptography.ICryptoTransform + { + public virtual bool CanReuseTransform { get => throw null; } + public bool CanTransformMultipleBlocks { get => throw null; } + public void Clear() => throw null; + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + public FromBase64Transform() => throw null; + public FromBase64Transform(System.Security.Cryptography.FromBase64TransformMode whitespaces) => throw null; + public int InputBlockSize { get => throw null; } + public int OutputBlockSize { get => throw null; } + public int TransformBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount, System.Byte[] outputBuffer, int outputOffset) => throw null; + public System.Byte[] TransformFinalBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount) => throw null; + // ERR: Stub generator didn't handle member: ~FromBase64Transform + } + + // Generated from `System.Security.Cryptography.FromBase64TransformMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum FromBase64TransformMode : int + { + DoNotIgnoreWhiteSpaces = 1, + IgnoreWhiteSpaces = 0, + } + + // Generated from `System.Security.Cryptography.HKDF` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class HKDF + { + public static System.Byte[] DeriveKey(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.Byte[] ikm, int outputLength, System.Byte[] salt = default(System.Byte[]), System.Byte[] info = default(System.Byte[])) => throw null; + public static void DeriveKey(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.ReadOnlySpan ikm, System.Span output, System.ReadOnlySpan salt, System.ReadOnlySpan info) => throw null; + public static System.Byte[] Expand(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.Byte[] prk, int outputLength, System.Byte[] info = default(System.Byte[])) => throw null; + public static void Expand(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.ReadOnlySpan prk, System.Span output, System.ReadOnlySpan info) => throw null; + public static System.Byte[] Extract(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.Byte[] ikm, System.Byte[] salt = default(System.Byte[])) => throw null; + public static int Extract(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.ReadOnlySpan ikm, System.ReadOnlySpan salt, System.Span prk) => throw null; + } + + // Generated from `System.Security.Cryptography.HMAC` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class HMAC : System.Security.Cryptography.KeyedHashAlgorithm + { + protected int BlockSizeValue { get => throw null; set => throw null; } + public static System.Security.Cryptography.HMAC Create() => throw null; + public static System.Security.Cryptography.HMAC Create(string algorithmName) => throw null; + protected override void Dispose(bool disposing) => throw null; + protected HMAC() => throw null; + protected override void HashCore(System.Byte[] rgb, int ib, int cb) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public string HashName { get => throw null; set => throw null; } + public override void Initialize() => throw null; + public override System.Byte[] Key { get => throw null; set => throw null; } + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.HMACMD5` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class HMACMD5 : System.Security.Cryptography.HMAC + { + protected override void Dispose(bool disposing) => throw null; + public HMACMD5() => throw null; + public HMACMD5(System.Byte[] key) => throw null; + protected override void HashCore(System.Byte[] rgb, int ib, int cb) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + public static System.Byte[] HashData(System.Byte[] key, System.Byte[] source) => throw null; + public static System.Byte[] HashData(System.Byte[] key, System.IO.Stream source) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan key, System.ReadOnlySpan source) => throw null; + public static int HashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan key, System.IO.Stream source) => throw null; + public static int HashData(System.ReadOnlySpan key, System.IO.Stream source, System.Span destination) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.Byte[] key, System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.ReadOnlyMemory key, System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.ReadOnlyMemory key, System.IO.Stream source, System.Memory destination, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public const int HashSizeInBits = default; + public const int HashSizeInBytes = default; + public override void Initialize() => throw null; + public override System.Byte[] Key { get => throw null; set => throw null; } + public static bool TryHashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.HMACSHA1` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class HMACSHA1 : System.Security.Cryptography.HMAC + { + protected override void Dispose(bool disposing) => throw null; + public HMACSHA1() => throw null; + public HMACSHA1(System.Byte[] key) => throw null; + public HMACSHA1(System.Byte[] key, bool useManagedSha1) => throw null; + protected override void HashCore(System.Byte[] rgb, int ib, int cb) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + public static System.Byte[] HashData(System.Byte[] key, System.Byte[] source) => throw null; + public static System.Byte[] HashData(System.Byte[] key, System.IO.Stream source) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan key, System.ReadOnlySpan source) => throw null; + public static int HashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan key, System.IO.Stream source) => throw null; + public static int HashData(System.ReadOnlySpan key, System.IO.Stream source, System.Span destination) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.Byte[] key, System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.ReadOnlyMemory key, System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.ReadOnlyMemory key, System.IO.Stream source, System.Memory destination, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public const int HashSizeInBits = default; + public const int HashSizeInBytes = default; + public override void Initialize() => throw null; + public override System.Byte[] Key { get => throw null; set => throw null; } + public static bool TryHashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.HMACSHA256` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class HMACSHA256 : System.Security.Cryptography.HMAC + { + protected override void Dispose(bool disposing) => throw null; + public HMACSHA256() => throw null; + public HMACSHA256(System.Byte[] key) => throw null; + protected override void HashCore(System.Byte[] rgb, int ib, int cb) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + public static System.Byte[] HashData(System.Byte[] key, System.Byte[] source) => throw null; + public static System.Byte[] HashData(System.Byte[] key, System.IO.Stream source) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan key, System.ReadOnlySpan source) => throw null; + public static int HashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan key, System.IO.Stream source) => throw null; + public static int HashData(System.ReadOnlySpan key, System.IO.Stream source, System.Span destination) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.Byte[] key, System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.ReadOnlyMemory key, System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.ReadOnlyMemory key, System.IO.Stream source, System.Memory destination, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public const int HashSizeInBits = default; + public const int HashSizeInBytes = default; + public override void Initialize() => throw null; + public override System.Byte[] Key { get => throw null; set => throw null; } + public static bool TryHashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.HMACSHA384` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class HMACSHA384 : System.Security.Cryptography.HMAC + { + protected override void Dispose(bool disposing) => throw null; + public HMACSHA384() => throw null; + public HMACSHA384(System.Byte[] key) => throw null; + protected override void HashCore(System.Byte[] rgb, int ib, int cb) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + public static System.Byte[] HashData(System.Byte[] key, System.Byte[] source) => throw null; + public static System.Byte[] HashData(System.Byte[] key, System.IO.Stream source) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan key, System.ReadOnlySpan source) => throw null; + public static int HashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan key, System.IO.Stream source) => throw null; + public static int HashData(System.ReadOnlySpan key, System.IO.Stream source, System.Span destination) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.Byte[] key, System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.ReadOnlyMemory key, System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.ReadOnlyMemory key, System.IO.Stream source, System.Memory destination, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public const int HashSizeInBits = default; + public const int HashSizeInBytes = default; + public override void Initialize() => throw null; + public override System.Byte[] Key { get => throw null; set => throw null; } + public bool ProduceLegacyHmacValues { get => throw null; set => throw null; } + public static bool TryHashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.HMACSHA512` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class HMACSHA512 : System.Security.Cryptography.HMAC + { + protected override void Dispose(bool disposing) => throw null; + public HMACSHA512() => throw null; + public HMACSHA512(System.Byte[] key) => throw null; + protected override void HashCore(System.Byte[] rgb, int ib, int cb) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + public static System.Byte[] HashData(System.Byte[] key, System.Byte[] source) => throw null; + public static System.Byte[] HashData(System.Byte[] key, System.IO.Stream source) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan key, System.ReadOnlySpan source) => throw null; + public static int HashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan key, System.IO.Stream source) => throw null; + public static int HashData(System.ReadOnlySpan key, System.IO.Stream source, System.Span destination) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.Byte[] key, System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.ReadOnlyMemory key, System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.ReadOnlyMemory key, System.IO.Stream source, System.Memory destination, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public const int HashSizeInBits = default; + public const int HashSizeInBytes = default; + public override void Initialize() => throw null; + public override System.Byte[] Key { get => throw null; set => throw null; } + public bool ProduceLegacyHmacValues { get => throw null; set => throw null; } + public static bool TryHashData(System.ReadOnlySpan key, System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.HashAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class HashAlgorithm : System.IDisposable, System.Security.Cryptography.ICryptoTransform + { + public virtual bool CanReuseTransform { get => throw null; } + public virtual bool CanTransformMultipleBlocks { get => throw null; } + public void Clear() => throw null; + public System.Byte[] ComputeHash(System.Byte[] buffer) => throw null; + public System.Byte[] ComputeHash(System.Byte[] buffer, int offset, int count) => throw null; + public System.Byte[] ComputeHash(System.IO.Stream inputStream) => throw null; + public System.Threading.Tasks.Task ComputeHashAsync(System.IO.Stream inputStream, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Security.Cryptography.HashAlgorithm Create() => throw null; + public static System.Security.Cryptography.HashAlgorithm Create(string hashName) => throw null; + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + public virtual System.Byte[] Hash { get => throw null; } + protected HashAlgorithm() => throw null; + protected abstract void HashCore(System.Byte[] array, int ibStart, int cbSize); + protected virtual void HashCore(System.ReadOnlySpan source) => throw null; + protected abstract System.Byte[] HashFinal(); + public virtual int HashSize { get => throw null; } + protected int HashSizeValue; + protected internal System.Byte[] HashValue; + public abstract void Initialize(); + public virtual int InputBlockSize { get => throw null; } + public virtual int OutputBlockSize { get => throw null; } + protected int State; + public int TransformBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount, System.Byte[] outputBuffer, int outputOffset) => throw null; + public System.Byte[] TransformFinalBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount) => throw null; + public bool TryComputeHash(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; + protected virtual bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.HashAlgorithmName` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct HashAlgorithmName : System.IEquatable + { + public static bool operator !=(System.Security.Cryptography.HashAlgorithmName left, System.Security.Cryptography.HashAlgorithmName right) => throw null; + public static bool operator ==(System.Security.Cryptography.HashAlgorithmName left, System.Security.Cryptography.HashAlgorithmName right) => throw null; + public bool Equals(System.Security.Cryptography.HashAlgorithmName other) => throw null; + public override bool Equals(object obj) => throw null; + public static System.Security.Cryptography.HashAlgorithmName FromOid(string oidValue) => throw null; + public override int GetHashCode() => throw null; + // Stub generator skipped constructor + public HashAlgorithmName(string name) => throw null; + public static System.Security.Cryptography.HashAlgorithmName MD5 { get => throw null; } + public string Name { get => throw null; } + public static System.Security.Cryptography.HashAlgorithmName SHA1 { get => throw null; } + public static System.Security.Cryptography.HashAlgorithmName SHA256 { get => throw null; } + public static System.Security.Cryptography.HashAlgorithmName SHA384 { get => throw null; } + public static System.Security.Cryptography.HashAlgorithmName SHA512 { get => throw null; } + public override string ToString() => throw null; + public static bool TryFromOid(string oidValue, out System.Security.Cryptography.HashAlgorithmName value) => throw null; + } + + // Generated from `System.Security.Cryptography.ICryptoTransform` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface ICryptoTransform : System.IDisposable + { + bool CanReuseTransform { get; } + bool CanTransformMultipleBlocks { get; } + int InputBlockSize { get; } + int OutputBlockSize { get; } + int TransformBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount, System.Byte[] outputBuffer, int outputOffset); + System.Byte[] TransformFinalBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount); + } + + // Generated from `System.Security.Cryptography.ICspAsymmetricAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public interface ICspAsymmetricAlgorithm + { + System.Security.Cryptography.CspKeyContainerInfo CspKeyContainerInfo { get; } + System.Byte[] ExportCspBlob(bool includePrivateParameters); + void ImportCspBlob(System.Byte[] rawData); + } + + // Generated from `System.Security.Cryptography.IncrementalHash` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class IncrementalHash : System.IDisposable + { + public System.Security.Cryptography.HashAlgorithmName AlgorithmName { get => throw null; } + public void AppendData(System.Byte[] data) => throw null; + public void AppendData(System.Byte[] data, int offset, int count) => throw null; + public void AppendData(System.ReadOnlySpan data) => throw null; + public static System.Security.Cryptography.IncrementalHash CreateHMAC(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] key) => throw null; + public static System.Security.Cryptography.IncrementalHash CreateHMAC(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.ReadOnlySpan key) => throw null; + public static System.Security.Cryptography.IncrementalHash CreateHash(System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public void Dispose() => throw null; + public System.Byte[] GetCurrentHash() => throw null; + public int GetCurrentHash(System.Span destination) => throw null; + public System.Byte[] GetHashAndReset() => throw null; + public int GetHashAndReset(System.Span destination) => throw null; + public int HashLengthInBytes { get => throw null; } + public bool TryGetCurrentHash(System.Span destination, out int bytesWritten) => throw null; + public bool TryGetHashAndReset(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.KeyNumber` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum KeyNumber : int + { + Exchange = 1, + Signature = 2, + } + + // Generated from `System.Security.Cryptography.KeySizes` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class KeySizes + { + public KeySizes(int minSize, int maxSize, int skipSize) => throw null; + public int MaxSize { get => throw null; } + public int MinSize { get => throw null; } + public int SkipSize { get => throw null; } + } + + // Generated from `System.Security.Cryptography.KeyedHashAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class KeyedHashAlgorithm : System.Security.Cryptography.HashAlgorithm + { + public static System.Security.Cryptography.KeyedHashAlgorithm Create() => throw null; + public static System.Security.Cryptography.KeyedHashAlgorithm Create(string algName) => throw null; + protected override void Dispose(bool disposing) => throw null; + public virtual System.Byte[] Key { get => throw null; set => throw null; } + protected System.Byte[] KeyValue; + protected KeyedHashAlgorithm() => throw null; + } + + // Generated from `System.Security.Cryptography.MD5` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class MD5 : System.Security.Cryptography.HashAlgorithm + { + public static System.Security.Cryptography.MD5 Create() => throw null; + public static System.Security.Cryptography.MD5 Create(string algName) => throw null; + public static System.Byte[] HashData(System.Byte[] source) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan source) => throw null; + public static int HashData(System.ReadOnlySpan source, System.Span destination) => throw null; + public static System.Byte[] HashData(System.IO.Stream source) => throw null; + public static int HashData(System.IO.Stream source, System.Span destination) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.IO.Stream source, System.Memory destination, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public const int HashSizeInBits = default; + public const int HashSizeInBytes = default; + protected MD5() => throw null; + public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.MD5CryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class MD5CryptoServiceProvider : System.Security.Cryptography.MD5 + { + protected override void Dispose(bool disposing) => throw null; + protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public override void Initialize() => throw null; + public MD5CryptoServiceProvider() => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.MaskGenerationMethod` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class MaskGenerationMethod + { + public abstract System.Byte[] GenerateMask(System.Byte[] rgbSeed, int cbReturn); + protected MaskGenerationMethod() => throw null; + } + + // Generated from `System.Security.Cryptography.Oid` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Oid + { + public string FriendlyName { get => throw null; set => throw null; } + public static System.Security.Cryptography.Oid FromFriendlyName(string friendlyName, System.Security.Cryptography.OidGroup group) => throw null; + public static System.Security.Cryptography.Oid FromOidValue(string oidValue, System.Security.Cryptography.OidGroup group) => throw null; + public Oid() => throw null; + public Oid(System.Security.Cryptography.Oid oid) => throw null; + public Oid(string oid) => throw null; + public Oid(string value, string friendlyName) => throw null; + public string Value { get => throw null; set => throw null; } + } + + // Generated from `System.Security.Cryptography.OidCollection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class OidCollection : System.Collections.ICollection, System.Collections.IEnumerable + { + public int Add(System.Security.Cryptography.Oid oid) => throw null; + void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; + public void CopyTo(System.Security.Cryptography.Oid[] array, int index) => throw null; + public int Count { get => throw null; } + public System.Security.Cryptography.OidEnumerator GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public bool IsSynchronized { get => throw null; } + public System.Security.Cryptography.Oid this[int index] { get => throw null; } + public System.Security.Cryptography.Oid this[string oid] { get => throw null; } + public OidCollection() => throw null; + public object SyncRoot { get => throw null; } + } + + // Generated from `System.Security.Cryptography.OidEnumerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class OidEnumerator : System.Collections.IEnumerator + { + public System.Security.Cryptography.Oid Current { get => throw null; } + object System.Collections.IEnumerator.Current { get => throw null; } + public bool MoveNext() => throw null; + public void Reset() => throw null; + } + + // Generated from `System.Security.Cryptography.OidGroup` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum OidGroup : int + { + All = 0, + Attribute = 5, + EncryptionAlgorithm = 2, + EnhancedKeyUsage = 7, + ExtensionOrAttribute = 6, + HashAlgorithm = 1, + KeyDerivationFunction = 10, + Policy = 8, + PublicKeyAlgorithm = 3, + SignatureAlgorithm = 4, + Template = 9, + } + + // Generated from `System.Security.Cryptography.PKCS1MaskGenerationMethod` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class PKCS1MaskGenerationMethod : System.Security.Cryptography.MaskGenerationMethod + { + public override System.Byte[] GenerateMask(System.Byte[] rgbSeed, int cbReturn) => throw null; + public string HashName { get => throw null; set => throw null; } + public PKCS1MaskGenerationMethod() => throw null; + } + + // Generated from `System.Security.Cryptography.PaddingMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum PaddingMode : int + { + ANSIX923 = 4, + ISO10126 = 5, + None = 1, + PKCS7 = 2, + Zeros = 3, + } + + // Generated from `System.Security.Cryptography.PasswordDeriveBytes` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class PasswordDeriveBytes : System.Security.Cryptography.DeriveBytes + { + public System.Byte[] CryptDeriveKey(string algname, string alghashname, int keySize, System.Byte[] rgbIV) => throw null; + protected override void Dispose(bool disposing) => throw null; + public override System.Byte[] GetBytes(int cb) => throw null; + public string HashName { get => throw null; set => throw null; } + public int IterationCount { get => throw null; set => throw null; } + public PasswordDeriveBytes(System.Byte[] password, System.Byte[] salt) => throw null; + public PasswordDeriveBytes(System.Byte[] password, System.Byte[] salt, System.Security.Cryptography.CspParameters cspParams) => throw null; + public PasswordDeriveBytes(System.Byte[] password, System.Byte[] salt, string hashName, int iterations) => throw null; + public PasswordDeriveBytes(System.Byte[] password, System.Byte[] salt, string hashName, int iterations, System.Security.Cryptography.CspParameters cspParams) => throw null; + public PasswordDeriveBytes(string strPassword, System.Byte[] rgbSalt) => throw null; + public PasswordDeriveBytes(string strPassword, System.Byte[] rgbSalt, System.Security.Cryptography.CspParameters cspParams) => throw null; + public PasswordDeriveBytes(string strPassword, System.Byte[] rgbSalt, string strHashName, int iterations) => throw null; + public PasswordDeriveBytes(string strPassword, System.Byte[] rgbSalt, string strHashName, int iterations, System.Security.Cryptography.CspParameters cspParams) => throw null; + public override void Reset() => throw null; + public System.Byte[] Salt { get => throw null; set => throw null; } + } + + // Generated from `System.Security.Cryptography.PbeEncryptionAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum PbeEncryptionAlgorithm : int + { + Aes128Cbc = 1, + Aes192Cbc = 2, + Aes256Cbc = 3, + TripleDes3KeyPkcs12 = 4, + Unknown = 0, + } + + // Generated from `System.Security.Cryptography.PbeParameters` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class PbeParameters + { + public System.Security.Cryptography.PbeEncryptionAlgorithm EncryptionAlgorithm { get => throw null; } + public System.Security.Cryptography.HashAlgorithmName HashAlgorithm { get => throw null; } + public int IterationCount { get => throw null; } + public PbeParameters(System.Security.Cryptography.PbeEncryptionAlgorithm encryptionAlgorithm, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int iterationCount) => throw null; + } + + // Generated from `System.Security.Cryptography.PemEncoding` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class PemEncoding + { + public static System.Security.Cryptography.PemFields Find(System.ReadOnlySpan pemData) => throw null; + public static int GetEncodedSize(int labelLength, int dataLength) => throw null; + public static bool TryFind(System.ReadOnlySpan pemData, out System.Security.Cryptography.PemFields fields) => throw null; + public static bool TryWrite(System.ReadOnlySpan label, System.ReadOnlySpan data, System.Span destination, out int charsWritten) => throw null; + public static System.Char[] Write(System.ReadOnlySpan label, System.ReadOnlySpan data) => throw null; + public static string WriteString(System.ReadOnlySpan label, System.ReadOnlySpan data) => throw null; + } + + // Generated from `System.Security.Cryptography.PemFields` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct PemFields + { + public System.Range Base64Data { get => throw null; } + public int DecodedDataLength { get => throw null; } + public System.Range Label { get => throw null; } + public System.Range Location { get => throw null; } + // Stub generator skipped constructor + } + + // Generated from `System.Security.Cryptography.RC2` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class RC2 : System.Security.Cryptography.SymmetricAlgorithm + { + public static System.Security.Cryptography.RC2 Create() => throw null; + public static System.Security.Cryptography.RC2 Create(string AlgName) => throw null; + public virtual int EffectiveKeySize { get => throw null; set => throw null; } + protected int EffectiveKeySizeValue; + public override int KeySize { get => throw null; set => throw null; } + protected RC2() => throw null; + } + + // Generated from `System.Security.Cryptography.RC2CryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RC2CryptoServiceProvider : System.Security.Cryptography.RC2 + { + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + public override int EffectiveKeySize { get => throw null; set => throw null; } + public override void GenerateIV() => throw null; + public override void GenerateKey() => throw null; + public RC2CryptoServiceProvider() => throw null; + public bool UseSalt { get => throw null; set => throw null; } + } + + // Generated from `System.Security.Cryptography.RNGCryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RNGCryptoServiceProvider : System.Security.Cryptography.RandomNumberGenerator + { + protected override void Dispose(bool disposing) => throw null; + public override void GetBytes(System.Byte[] data) => throw null; + public override void GetBytes(System.Byte[] data, int offset, int count) => throw null; + public override void GetBytes(System.Span data) => throw null; + public override void GetNonZeroBytes(System.Byte[] data) => throw null; + public override void GetNonZeroBytes(System.Span data) => throw null; + public RNGCryptoServiceProvider() => throw null; + public RNGCryptoServiceProvider(System.Byte[] rgb) => throw null; + public RNGCryptoServiceProvider(System.Security.Cryptography.CspParameters cspParams) => throw null; + public RNGCryptoServiceProvider(string str) => throw null; + } + + // Generated from `System.Security.Cryptography.RSA` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class RSA : System.Security.Cryptography.AsymmetricAlgorithm + { + public static System.Security.Cryptography.RSA Create() => throw null; + public static System.Security.Cryptography.RSA Create(System.Security.Cryptography.RSAParameters parameters) => throw null; + public static System.Security.Cryptography.RSA Create(int keySizeInBits) => throw null; + public static System.Security.Cryptography.RSA Create(string algName) => throw null; + public virtual System.Byte[] Decrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; + public System.Byte[] Decrypt(System.ReadOnlySpan data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; + public int Decrypt(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; + public virtual System.Byte[] DecryptValue(System.Byte[] rgb) => throw null; + public virtual System.Byte[] Encrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; + public System.Byte[] Encrypt(System.ReadOnlySpan data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; + public int Encrypt(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; + public virtual System.Byte[] EncryptValue(System.Byte[] rgb) => throw null; + public abstract System.Security.Cryptography.RSAParameters ExportParameters(bool includePrivateParameters); + public virtual System.Byte[] ExportRSAPrivateKey() => throw null; + public string ExportRSAPrivateKeyPem() => throw null; + public virtual System.Byte[] ExportRSAPublicKey() => throw null; + public string ExportRSAPublicKeyPem() => throw null; + public override void FromXmlString(string xmlString) => throw null; + protected virtual System.Byte[] HashData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + protected virtual System.Byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan passwordBytes) => throw null; + public override void ImportFromEncryptedPem(System.ReadOnlySpan input, System.ReadOnlySpan password) => throw null; + public override void ImportFromPem(System.ReadOnlySpan input) => throw null; + public abstract void ImportParameters(System.Security.Cryptography.RSAParameters parameters); + public override void ImportPkcs8PrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; + public virtual void ImportRSAPrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; + public virtual void ImportRSAPublicKey(System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportSubjectPublicKeyInfo(System.ReadOnlySpan source, out int bytesRead) => throw null; + public override string KeyExchangeAlgorithm { get => throw null; } + protected RSA() => throw null; + public System.Byte[] SignData(System.Byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public virtual System.Byte[] SignData(System.Byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public System.Byte[] SignData(System.ReadOnlySpan data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public int SignData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public virtual System.Byte[] SignData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public virtual System.Byte[] SignHash(System.Byte[] hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public System.Byte[] SignHash(System.ReadOnlySpan hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public int SignHash(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public override string SignatureAlgorithm { get => throw null; } + public override string ToXmlString(bool includePrivateParameters) => throw null; + public virtual bool TryDecrypt(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.RSAEncryptionPadding padding, out int bytesWritten) => throw null; + public virtual bool TryEncrypt(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.RSAEncryptionPadding padding, out int bytesWritten) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten) => throw null; + public virtual bool TryExportRSAPrivateKey(System.Span destination, out int bytesWritten) => throw null; + public bool TryExportRSAPrivateKeyPem(System.Span destination, out int charsWritten) => throw null; + public virtual bool TryExportRSAPublicKey(System.Span destination, out int bytesWritten) => throw null; + public bool TryExportRSAPublicKeyPem(System.Span destination, out int charsWritten) => throw null; + public override bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; + protected virtual bool TryHashData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out int bytesWritten) => throw null; + public virtual bool TrySignData(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding, out int bytesWritten) => throw null; + public virtual bool TrySignHash(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding, out int bytesWritten) => throw null; + public bool VerifyData(System.Byte[] data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public virtual bool VerifyData(System.Byte[] data, int offset, int count, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public virtual bool VerifyData(System.ReadOnlySpan data, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public bool VerifyData(System.IO.Stream data, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public virtual bool VerifyHash(System.Byte[] hash, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public virtual bool VerifyHash(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + } + + // Generated from `System.Security.Cryptography.RSACng` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RSACng : System.Security.Cryptography.RSA + { + public override System.Byte[] Decrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; + protected override void Dispose(bool disposing) => throw null; + public override System.Byte[] Encrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; + public override System.Byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) => throw null; + public override System.Byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters) => throw null; + public override System.Security.Cryptography.RSAParameters ExportParameters(bool includePrivateParameters) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportParameters(System.Security.Cryptography.RSAParameters parameters) => throw null; + public override void ImportPkcs8PrivateKey(System.ReadOnlySpan source, out int bytesRead) => throw null; + public System.Security.Cryptography.CngKey Key { get => throw null; } + public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } + public RSACng() => throw null; + public RSACng(System.Security.Cryptography.CngKey key) => throw null; + public RSACng(int keySize) => throw null; + public override System.Byte[] SignHash(System.Byte[] hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public override bool TryDecrypt(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.RSAEncryptionPadding padding, out int bytesWritten) => throw null; + public override bool TryEncrypt(System.ReadOnlySpan data, System.Span destination, System.Security.Cryptography.RSAEncryptionPadding padding, out int bytesWritten) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) => throw null; + public override bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten) => throw null; + public override bool TrySignHash(System.ReadOnlySpan hash, System.Span destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding, out int bytesWritten) => throw null; + public override bool VerifyHash(System.Byte[] hash, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public override bool VerifyHash(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + } + + // Generated from `System.Security.Cryptography.RSACryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RSACryptoServiceProvider : System.Security.Cryptography.RSA, System.Security.Cryptography.ICspAsymmetricAlgorithm + { + public System.Security.Cryptography.CspKeyContainerInfo CspKeyContainerInfo { get => throw null; } + public override System.Byte[] Decrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; + public System.Byte[] Decrypt(System.Byte[] rgb, bool fOAEP) => throw null; + public override System.Byte[] DecryptValue(System.Byte[] rgb) => throw null; + protected override void Dispose(bool disposing) => throw null; + public override System.Byte[] Encrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; + public System.Byte[] Encrypt(System.Byte[] rgb, bool fOAEP) => throw null; + public override System.Byte[] EncryptValue(System.Byte[] rgb) => throw null; + public System.Byte[] ExportCspBlob(bool includePrivateParameters) => throw null; + public override System.Security.Cryptography.RSAParameters ExportParameters(bool includePrivateParameters) => throw null; + public void ImportCspBlob(System.Byte[] keyBlob) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source, out int bytesRead) => throw null; + public override void ImportParameters(System.Security.Cryptography.RSAParameters parameters) => throw null; + public override string KeyExchangeAlgorithm { get => throw null; } + public override int KeySize { get => throw null; } + public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } + public bool PersistKeyInCsp { get => throw null; set => throw null; } + public bool PublicOnly { get => throw null; } + public RSACryptoServiceProvider() => throw null; + public RSACryptoServiceProvider(System.Security.Cryptography.CspParameters parameters) => throw null; + public RSACryptoServiceProvider(int dwKeySize) => throw null; + public RSACryptoServiceProvider(int dwKeySize, System.Security.Cryptography.CspParameters parameters) => throw null; + public System.Byte[] SignData(System.Byte[] buffer, int offset, int count, object halg) => throw null; + public System.Byte[] SignData(System.Byte[] buffer, object halg) => throw null; + public System.Byte[] SignData(System.IO.Stream inputStream, object halg) => throw null; + public override System.Byte[] SignHash(System.Byte[] hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public System.Byte[] SignHash(System.Byte[] rgbHash, string str) => throw null; + public override string SignatureAlgorithm { get => throw null; } + public static bool UseMachineKeyStore { get => throw null; set => throw null; } + public bool VerifyData(System.Byte[] buffer, object halg, System.Byte[] signature) => throw null; + public override bool VerifyHash(System.Byte[] hash, System.Byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public bool VerifyHash(System.Byte[] rgbHash, string str, System.Byte[] rgbSignature) => throw null; + } + + // Generated from `System.Security.Cryptography.RSAEncryptionPadding` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RSAEncryptionPadding : System.IEquatable + { + public static bool operator !=(System.Security.Cryptography.RSAEncryptionPadding left, System.Security.Cryptography.RSAEncryptionPadding right) => throw null; + public static bool operator ==(System.Security.Cryptography.RSAEncryptionPadding left, System.Security.Cryptography.RSAEncryptionPadding right) => throw null; + public static System.Security.Cryptography.RSAEncryptionPadding CreateOaep(System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public bool Equals(System.Security.Cryptography.RSAEncryptionPadding other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public System.Security.Cryptography.RSAEncryptionPaddingMode Mode { get => throw null; } + public System.Security.Cryptography.HashAlgorithmName OaepHashAlgorithm { get => throw null; } + public static System.Security.Cryptography.RSAEncryptionPadding OaepSHA1 { get => throw null; } + public static System.Security.Cryptography.RSAEncryptionPadding OaepSHA256 { get => throw null; } + public static System.Security.Cryptography.RSAEncryptionPadding OaepSHA384 { get => throw null; } + public static System.Security.Cryptography.RSAEncryptionPadding OaepSHA512 { get => throw null; } + public static System.Security.Cryptography.RSAEncryptionPadding Pkcs1 { get => throw null; } + public override string ToString() => throw null; + } + + // Generated from `System.Security.Cryptography.RSAEncryptionPaddingMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum RSAEncryptionPaddingMode : int + { + Oaep = 1, + Pkcs1 = 0, + } + + // Generated from `System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RSAOAEPKeyExchangeDeformatter : System.Security.Cryptography.AsymmetricKeyExchangeDeformatter + { + public override System.Byte[] DecryptKeyExchange(System.Byte[] rgbData) => throw null; + public override string Parameters { get => throw null; set => throw null; } + public RSAOAEPKeyExchangeDeformatter() => throw null; + public RSAOAEPKeyExchangeDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + } + + // Generated from `System.Security.Cryptography.RSAOAEPKeyExchangeFormatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RSAOAEPKeyExchangeFormatter : System.Security.Cryptography.AsymmetricKeyExchangeFormatter + { + public override System.Byte[] CreateKeyExchange(System.Byte[] rgbData) => throw null; + public override System.Byte[] CreateKeyExchange(System.Byte[] rgbData, System.Type symAlgType) => throw null; + public System.Byte[] Parameter { get => throw null; set => throw null; } + public override string Parameters { get => throw null; } + public RSAOAEPKeyExchangeFormatter() => throw null; + public RSAOAEPKeyExchangeFormatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + public System.Security.Cryptography.RandomNumberGenerator Rng { get => throw null; set => throw null; } + public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + } + + // Generated from `System.Security.Cryptography.RSAOpenSsl` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RSAOpenSsl : System.Security.Cryptography.RSA + { + public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateKeyHandle() => throw null; + public override System.Security.Cryptography.RSAParameters ExportParameters(bool includePrivateParameters) => throw null; + public override void ImportParameters(System.Security.Cryptography.RSAParameters parameters) => throw null; + public RSAOpenSsl() => throw null; + public RSAOpenSsl(System.IntPtr handle) => throw null; + public RSAOpenSsl(System.Security.Cryptography.RSAParameters parameters) => throw null; + public RSAOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle) => throw null; + public RSAOpenSsl(int keySize) => throw null; + } + + // Generated from `System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RSAPKCS1KeyExchangeDeformatter : System.Security.Cryptography.AsymmetricKeyExchangeDeformatter + { + public override System.Byte[] DecryptKeyExchange(System.Byte[] rgbIn) => throw null; + public override string Parameters { get => throw null; set => throw null; } + public System.Security.Cryptography.RandomNumberGenerator RNG { get => throw null; set => throw null; } + public RSAPKCS1KeyExchangeDeformatter() => throw null; + public RSAPKCS1KeyExchangeDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + } + + // Generated from `System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RSAPKCS1KeyExchangeFormatter : System.Security.Cryptography.AsymmetricKeyExchangeFormatter + { + public override System.Byte[] CreateKeyExchange(System.Byte[] rgbData) => throw null; + public override System.Byte[] CreateKeyExchange(System.Byte[] rgbData, System.Type symAlgType) => throw null; + public override string Parameters { get => throw null; } + public RSAPKCS1KeyExchangeFormatter() => throw null; + public RSAPKCS1KeyExchangeFormatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + public System.Security.Cryptography.RandomNumberGenerator Rng { get => throw null; set => throw null; } + public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + } + + // Generated from `System.Security.Cryptography.RSAPKCS1SignatureDeformatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RSAPKCS1SignatureDeformatter : System.Security.Cryptography.AsymmetricSignatureDeformatter + { + public RSAPKCS1SignatureDeformatter() => throw null; + public RSAPKCS1SignatureDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + public override void SetHashAlgorithm(string strName) => throw null; + public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; + } + + // Generated from `System.Security.Cryptography.RSAPKCS1SignatureFormatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RSAPKCS1SignatureFormatter : System.Security.Cryptography.AsymmetricSignatureFormatter + { + public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; + public RSAPKCS1SignatureFormatter() => throw null; + public RSAPKCS1SignatureFormatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + public override void SetHashAlgorithm(string strName) => throw null; + public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + } + + // Generated from `System.Security.Cryptography.RSAParameters` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct RSAParameters + { + public System.Byte[] D; + public System.Byte[] DP; + public System.Byte[] DQ; + public System.Byte[] Exponent; + public System.Byte[] InverseQ; + public System.Byte[] Modulus; + public System.Byte[] P; + public System.Byte[] Q; + // Stub generator skipped constructor + } + + // Generated from `System.Security.Cryptography.RSASignaturePadding` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RSASignaturePadding : System.IEquatable + { + public static bool operator !=(System.Security.Cryptography.RSASignaturePadding left, System.Security.Cryptography.RSASignaturePadding right) => throw null; + public static bool operator ==(System.Security.Cryptography.RSASignaturePadding left, System.Security.Cryptography.RSASignaturePadding right) => throw null; + public bool Equals(System.Security.Cryptography.RSASignaturePadding other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public System.Security.Cryptography.RSASignaturePaddingMode Mode { get => throw null; } + public static System.Security.Cryptography.RSASignaturePadding Pkcs1 { get => throw null; } + public static System.Security.Cryptography.RSASignaturePadding Pss { get => throw null; } + public override string ToString() => throw null; + } + + // Generated from `System.Security.Cryptography.RSASignaturePaddingMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum RSASignaturePaddingMode : int + { + Pkcs1 = 0, + Pss = 1, + } + + // Generated from `System.Security.Cryptography.RandomNumberGenerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class RandomNumberGenerator : System.IDisposable + { + public static System.Security.Cryptography.RandomNumberGenerator Create() => throw null; + public static System.Security.Cryptography.RandomNumberGenerator Create(string rngName) => throw null; + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + public static void Fill(System.Span data) => throw null; + public abstract void GetBytes(System.Byte[] data); + public virtual void GetBytes(System.Byte[] data, int offset, int count) => throw null; + public virtual void GetBytes(System.Span data) => throw null; + public static System.Byte[] GetBytes(int count) => throw null; + public static int GetInt32(int toExclusive) => throw null; + public static int GetInt32(int fromInclusive, int toExclusive) => throw null; + public virtual void GetNonZeroBytes(System.Byte[] data) => throw null; + public virtual void GetNonZeroBytes(System.Span data) => throw null; + protected RandomNumberGenerator() => throw null; + } + + // Generated from `System.Security.Cryptography.Rfc2898DeriveBytes` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class Rfc2898DeriveBytes : System.Security.Cryptography.DeriveBytes + { + public System.Byte[] CryptDeriveKey(string algname, string alghashname, int keySize, System.Byte[] rgbIV) => throw null; + protected override void Dispose(bool disposing) => throw null; + public override System.Byte[] GetBytes(int cb) => throw null; + public System.Security.Cryptography.HashAlgorithmName HashAlgorithm { get => throw null; } + public int IterationCount { get => throw null; set => throw null; } + public static System.Byte[] Pbkdf2(System.Byte[] password, System.Byte[] salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int outputLength) => throw null; + public static void Pbkdf2(System.ReadOnlySpan password, System.ReadOnlySpan salt, System.Span destination, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public static System.Byte[] Pbkdf2(System.ReadOnlySpan password, System.ReadOnlySpan salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int outputLength) => throw null; + public static void Pbkdf2(System.ReadOnlySpan password, System.ReadOnlySpan salt, System.Span destination, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public static System.Byte[] Pbkdf2(System.ReadOnlySpan password, System.ReadOnlySpan salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int outputLength) => throw null; + public static System.Byte[] Pbkdf2(string password, System.Byte[] salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int outputLength) => throw null; + public override void Reset() => throw null; + public Rfc2898DeriveBytes(System.Byte[] password, System.Byte[] salt, int iterations) => throw null; + public Rfc2898DeriveBytes(System.Byte[] password, System.Byte[] salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public Rfc2898DeriveBytes(string password, System.Byte[] salt) => throw null; + public Rfc2898DeriveBytes(string password, System.Byte[] salt, int iterations) => throw null; + public Rfc2898DeriveBytes(string password, System.Byte[] salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public Rfc2898DeriveBytes(string password, int saltSize) => throw null; + public Rfc2898DeriveBytes(string password, int saltSize, int iterations) => throw null; + public Rfc2898DeriveBytes(string password, int saltSize, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public System.Byte[] Salt { get => throw null; set => throw null; } + } + + // Generated from `System.Security.Cryptography.Rijndael` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class Rijndael : System.Security.Cryptography.SymmetricAlgorithm + { + public static System.Security.Cryptography.Rijndael Create() => throw null; + public static System.Security.Cryptography.Rijndael Create(string algName) => throw null; + protected Rijndael() => throw null; + } + + // Generated from `System.Security.Cryptography.RijndaelManaged` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class RijndaelManaged : System.Security.Cryptography.Rijndael + { + public override int BlockSize { get => throw null; set => throw null; } + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + protected override void Dispose(bool disposing) => throw null; + public override int FeedbackSize { get => throw null; set => throw null; } + public override void GenerateIV() => throw null; + public override void GenerateKey() => throw null; + public override System.Byte[] IV { get => throw null; set => throw null; } + public override System.Byte[] Key { get => throw null; set => throw null; } + public override int KeySize { get => throw null; set => throw null; } + public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } + public override System.Security.Cryptography.CipherMode Mode { get => throw null; set => throw null; } + public override System.Security.Cryptography.PaddingMode Padding { get => throw null; set => throw null; } + public RijndaelManaged() => throw null; + } + + // Generated from `System.Security.Cryptography.SHA1` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class SHA1 : System.Security.Cryptography.HashAlgorithm + { + public static System.Security.Cryptography.SHA1 Create() => throw null; + public static System.Security.Cryptography.SHA1 Create(string hashName) => throw null; + public static System.Byte[] HashData(System.Byte[] source) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan source) => throw null; + public static int HashData(System.ReadOnlySpan source, System.Span destination) => throw null; + public static System.Byte[] HashData(System.IO.Stream source) => throw null; + public static int HashData(System.IO.Stream source, System.Span destination) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.IO.Stream source, System.Memory destination, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public const int HashSizeInBits = default; + public const int HashSizeInBytes = default; + protected SHA1() => throw null; + public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.SHA1CryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SHA1CryptoServiceProvider : System.Security.Cryptography.SHA1 + { + protected override void Dispose(bool disposing) => throw null; + protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public override void Initialize() => throw null; + public SHA1CryptoServiceProvider() => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.SHA1Managed` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SHA1Managed : System.Security.Cryptography.SHA1 + { + protected override void Dispose(bool disposing) => throw null; + protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public override void Initialize() => throw null; + public SHA1Managed() => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.SHA256` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class SHA256 : System.Security.Cryptography.HashAlgorithm + { + public static System.Security.Cryptography.SHA256 Create() => throw null; + public static System.Security.Cryptography.SHA256 Create(string hashName) => throw null; + public static System.Byte[] HashData(System.Byte[] source) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan source) => throw null; + public static int HashData(System.ReadOnlySpan source, System.Span destination) => throw null; + public static System.Byte[] HashData(System.IO.Stream source) => throw null; + public static int HashData(System.IO.Stream source, System.Span destination) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.IO.Stream source, System.Memory destination, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public const int HashSizeInBits = default; + public const int HashSizeInBytes = default; + protected SHA256() => throw null; + public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.SHA256CryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SHA256CryptoServiceProvider : System.Security.Cryptography.SHA256 + { + protected override void Dispose(bool disposing) => throw null; + protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public override void Initialize() => throw null; + public SHA256CryptoServiceProvider() => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.SHA256Managed` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SHA256Managed : System.Security.Cryptography.SHA256 + { + protected override void Dispose(bool disposing) => throw null; + protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public override void Initialize() => throw null; + public SHA256Managed() => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.SHA384` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class SHA384 : System.Security.Cryptography.HashAlgorithm + { + public static System.Security.Cryptography.SHA384 Create() => throw null; + public static System.Security.Cryptography.SHA384 Create(string hashName) => throw null; + public static System.Byte[] HashData(System.Byte[] source) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan source) => throw null; + public static int HashData(System.ReadOnlySpan source, System.Span destination) => throw null; + public static System.Byte[] HashData(System.IO.Stream source) => throw null; + public static int HashData(System.IO.Stream source, System.Span destination) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.IO.Stream source, System.Memory destination, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public const int HashSizeInBits = default; + public const int HashSizeInBytes = default; + protected SHA384() => throw null; + public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.SHA384CryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SHA384CryptoServiceProvider : System.Security.Cryptography.SHA384 + { + protected override void Dispose(bool disposing) => throw null; + protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public override void Initialize() => throw null; + public SHA384CryptoServiceProvider() => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.SHA384Managed` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SHA384Managed : System.Security.Cryptography.SHA384 + { + protected override void Dispose(bool disposing) => throw null; + protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public override void Initialize() => throw null; + public SHA384Managed() => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.SHA512` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class SHA512 : System.Security.Cryptography.HashAlgorithm + { + public static System.Security.Cryptography.SHA512 Create() => throw null; + public static System.Security.Cryptography.SHA512 Create(string hashName) => throw null; + public static System.Byte[] HashData(System.Byte[] source) => throw null; + public static System.Byte[] HashData(System.ReadOnlySpan source) => throw null; + public static int HashData(System.ReadOnlySpan source, System.Span destination) => throw null; + public static System.Byte[] HashData(System.IO.Stream source) => throw null; + public static int HashData(System.IO.Stream source, System.Span destination) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.IO.Stream source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask HashDataAsync(System.IO.Stream source, System.Memory destination, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public const int HashSizeInBits = default; + public const int HashSizeInBytes = default; + protected SHA512() => throw null; + public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.SHA512CryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SHA512CryptoServiceProvider : System.Security.Cryptography.SHA512 + { + protected override void Dispose(bool disposing) => throw null; + protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public override void Initialize() => throw null; + public SHA512CryptoServiceProvider() => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.SHA512Managed` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SHA512Managed : System.Security.Cryptography.SHA512 + { + protected override void Dispose(bool disposing) => throw null; + protected override void HashCore(System.Byte[] array, int ibStart, int cbSize) => throw null; + protected override void HashCore(System.ReadOnlySpan source) => throw null; + protected override System.Byte[] HashFinal() => throw null; + public override void Initialize() => throw null; + public SHA512Managed() => throw null; + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.SafeEvpPKeyHandle` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SafeEvpPKeyHandle : System.Runtime.InteropServices.SafeHandle + { + public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateHandle() => throw null; + public override bool IsInvalid { get => throw null; } + public static System.Int64 OpenSslVersion { get => throw null; } + protected override bool ReleaseHandle() => throw null; + public SafeEvpPKeyHandle() : base(default(System.IntPtr), default(bool)) => throw null; + public SafeEvpPKeyHandle(System.IntPtr handle, bool ownsHandle) : base(default(System.IntPtr), default(bool)) => throw null; + } + + // Generated from `System.Security.Cryptography.SignatureDescription` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SignatureDescription + { + public virtual System.Security.Cryptography.AsymmetricSignatureDeformatter CreateDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + public virtual System.Security.Cryptography.HashAlgorithm CreateDigest() => throw null; + public virtual System.Security.Cryptography.AsymmetricSignatureFormatter CreateFormatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + public string DeformatterAlgorithm { get => throw null; set => throw null; } + public string DigestAlgorithm { get => throw null; set => throw null; } + public string FormatterAlgorithm { get => throw null; set => throw null; } + public string KeyAlgorithm { get => throw null; set => throw null; } + public SignatureDescription() => throw null; + public SignatureDescription(System.Security.SecurityElement el) => throw null; + } + + // Generated from `System.Security.Cryptography.SymmetricAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class SymmetricAlgorithm : System.IDisposable + { + public virtual int BlockSize { get => throw null; set => throw null; } + protected int BlockSizeValue; + public void Clear() => throw null; + public static System.Security.Cryptography.SymmetricAlgorithm Create() => throw null; + public static System.Security.Cryptography.SymmetricAlgorithm Create(string algName) => throw null; + public virtual System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; + public abstract System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV); + public virtual System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; + public abstract System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV); + public System.Byte[] DecryptCbc(System.Byte[] ciphertext, System.Byte[] iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; + public System.Byte[] DecryptCbc(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; + public int DecryptCbc(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; + public System.Byte[] DecryptCfb(System.Byte[] ciphertext, System.Byte[] iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; + public System.Byte[] DecryptCfb(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; + public int DecryptCfb(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; + public System.Byte[] DecryptEcb(System.Byte[] ciphertext, System.Security.Cryptography.PaddingMode paddingMode) => throw null; + public System.Byte[] DecryptEcb(System.ReadOnlySpan ciphertext, System.Security.Cryptography.PaddingMode paddingMode) => throw null; + public int DecryptEcb(System.ReadOnlySpan ciphertext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode) => throw null; + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + public System.Byte[] EncryptCbc(System.Byte[] plaintext, System.Byte[] iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; + public System.Byte[] EncryptCbc(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; + public int EncryptCbc(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; + public System.Byte[] EncryptCfb(System.Byte[] plaintext, System.Byte[] iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; + public System.Byte[] EncryptCfb(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; + public int EncryptCfb(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; + public System.Byte[] EncryptEcb(System.Byte[] plaintext, System.Security.Cryptography.PaddingMode paddingMode) => throw null; + public System.Byte[] EncryptEcb(System.ReadOnlySpan plaintext, System.Security.Cryptography.PaddingMode paddingMode) => throw null; + public int EncryptEcb(System.ReadOnlySpan plaintext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode) => throw null; + public virtual int FeedbackSize { get => throw null; set => throw null; } + protected int FeedbackSizeValue; + public abstract void GenerateIV(); + public abstract void GenerateKey(); + public int GetCiphertextLengthCbc(int plaintextLength, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; + public int GetCiphertextLengthCfb(int plaintextLength, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; + public int GetCiphertextLengthEcb(int plaintextLength, System.Security.Cryptography.PaddingMode paddingMode) => throw null; + public virtual System.Byte[] IV { get => throw null; set => throw null; } + protected System.Byte[] IVValue; + public virtual System.Byte[] Key { get => throw null; set => throw null; } + public virtual int KeySize { get => throw null; set => throw null; } + protected int KeySizeValue; + protected System.Byte[] KeyValue; + public virtual System.Security.Cryptography.KeySizes[] LegalBlockSizes { get => throw null; } + protected System.Security.Cryptography.KeySizes[] LegalBlockSizesValue; + public virtual System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } + protected System.Security.Cryptography.KeySizes[] LegalKeySizesValue; + public virtual System.Security.Cryptography.CipherMode Mode { get => throw null; set => throw null; } + protected System.Security.Cryptography.CipherMode ModeValue; + public virtual System.Security.Cryptography.PaddingMode Padding { get => throw null; set => throw null; } + protected System.Security.Cryptography.PaddingMode PaddingValue; + protected SymmetricAlgorithm() => throw null; + public bool TryDecryptCbc(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, out int bytesWritten, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; + protected virtual bool TryDecryptCbcCore(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + public bool TryDecryptCfb(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, out int bytesWritten, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; + protected virtual bool TryDecryptCfbCore(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, int feedbackSizeInBits, out int bytesWritten) => throw null; + public bool TryDecryptEcb(System.ReadOnlySpan ciphertext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + protected virtual bool TryDecryptEcbCore(System.ReadOnlySpan ciphertext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + public bool TryEncryptCbc(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, out int bytesWritten, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode)) => throw null; + protected virtual bool TryEncryptCbcCore(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + public bool TryEncryptCfb(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, out int bytesWritten, System.Security.Cryptography.PaddingMode paddingMode = default(System.Security.Cryptography.PaddingMode), int feedbackSizeInBits = default(int)) => throw null; + protected virtual bool TryEncryptCfbCore(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, int feedbackSizeInBits, out int bytesWritten) => throw null; + public bool TryEncryptEcb(System.ReadOnlySpan plaintext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + protected virtual bool TryEncryptEcbCore(System.ReadOnlySpan plaintext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + public bool ValidKeySize(int bitLength) => throw null; + } + + // Generated from `System.Security.Cryptography.ToBase64Transform` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class ToBase64Transform : System.IDisposable, System.Security.Cryptography.ICryptoTransform + { + public virtual bool CanReuseTransform { get => throw null; } + public bool CanTransformMultipleBlocks { get => throw null; } + public void Clear() => throw null; + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + public int InputBlockSize { get => throw null; } + public int OutputBlockSize { get => throw null; } + public ToBase64Transform() => throw null; + public int TransformBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount, System.Byte[] outputBuffer, int outputOffset) => throw null; + public System.Byte[] TransformFinalBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount) => throw null; + // ERR: Stub generator didn't handle member: ~ToBase64Transform + } + + // Generated from `System.Security.Cryptography.TripleDES` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class TripleDES : System.Security.Cryptography.SymmetricAlgorithm + { + public static System.Security.Cryptography.TripleDES Create() => throw null; + public static System.Security.Cryptography.TripleDES Create(string str) => throw null; + public static bool IsWeakKey(System.Byte[] rgbKey) => throw null; + public override System.Byte[] Key { get => throw null; set => throw null; } + protected TripleDES() => throw null; + } + + // Generated from `System.Security.Cryptography.TripleDESCng` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class TripleDESCng : System.Security.Cryptography.TripleDES + { + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + protected override void Dispose(bool disposing) => throw null; + public override void GenerateIV() => throw null; + public override void GenerateKey() => throw null; + public override System.Byte[] Key { get => throw null; set => throw null; } + public override int KeySize { get => throw null; set => throw null; } + public TripleDESCng() => throw null; + public TripleDESCng(string keyName) => throw null; + public TripleDESCng(string keyName, System.Security.Cryptography.CngProvider provider) => throw null; + public TripleDESCng(string keyName, System.Security.Cryptography.CngProvider provider, System.Security.Cryptography.CngKeyOpenOptions openOptions) => throw null; + protected override bool TryDecryptCbcCore(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + protected override bool TryDecryptCfbCore(System.ReadOnlySpan ciphertext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, int feedbackSizeInBits, out int bytesWritten) => throw null; + protected override bool TryDecryptEcbCore(System.ReadOnlySpan ciphertext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + protected override bool TryEncryptCbcCore(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + protected override bool TryEncryptCfbCore(System.ReadOnlySpan plaintext, System.ReadOnlySpan iv, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, int feedbackSizeInBits, out int bytesWritten) => throw null; + protected override bool TryEncryptEcbCore(System.ReadOnlySpan plaintext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.TripleDESCryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class TripleDESCryptoServiceProvider : System.Security.Cryptography.TripleDES + { + public override int BlockSize { get => throw null; set => throw null; } + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor() => throw null; + public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; + protected override void Dispose(bool disposing) => throw null; + public override int FeedbackSize { get => throw null; set => throw null; } + public override void GenerateIV() => throw null; + public override void GenerateKey() => throw null; + public override System.Byte[] IV { get => throw null; set => throw null; } + public override System.Byte[] Key { get => throw null; set => throw null; } + public override int KeySize { get => throw null; set => throw null; } + public override System.Security.Cryptography.KeySizes[] LegalBlockSizes { get => throw null; } + public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get => throw null; } + public override System.Security.Cryptography.CipherMode Mode { get => throw null; set => throw null; } + public override System.Security.Cryptography.PaddingMode Padding { get => throw null; set => throw null; } + public TripleDESCryptoServiceProvider() => throw null; + } + + namespace X509Certificates + { + // Generated from `System.Security.Cryptography.X509Certificates.CertificateRequest` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CertificateRequest + { + public System.Collections.ObjectModel.Collection CertificateExtensions { get => throw null; } + public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.ECDsa key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.X509Certificates.PublicKey publicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.X509Certificates.PublicKey publicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding rsaSignaturePadding = default(System.Security.Cryptography.RSASignaturePadding)) => throw null; + public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.RSA key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public CertificateRequest(string subjectName, System.Security.Cryptography.ECDsa key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public CertificateRequest(string subjectName, System.Security.Cryptography.RSA key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; + public System.Security.Cryptography.X509Certificates.X509Certificate2 Create(System.Security.Cryptography.X509Certificates.X500DistinguishedName issuerName, System.Security.Cryptography.X509Certificates.X509SignatureGenerator generator, System.DateTimeOffset notBefore, System.DateTimeOffset notAfter, System.Byte[] serialNumber) => throw null; + public System.Security.Cryptography.X509Certificates.X509Certificate2 Create(System.Security.Cryptography.X509Certificates.X500DistinguishedName issuerName, System.Security.Cryptography.X509Certificates.X509SignatureGenerator generator, System.DateTimeOffset notBefore, System.DateTimeOffset notAfter, System.ReadOnlySpan serialNumber) => throw null; + public System.Security.Cryptography.X509Certificates.X509Certificate2 Create(System.Security.Cryptography.X509Certificates.X509Certificate2 issuerCertificate, System.DateTimeOffset notBefore, System.DateTimeOffset notAfter, System.Byte[] serialNumber) => throw null; + public System.Security.Cryptography.X509Certificates.X509Certificate2 Create(System.Security.Cryptography.X509Certificates.X509Certificate2 issuerCertificate, System.DateTimeOffset notBefore, System.DateTimeOffset notAfter, System.ReadOnlySpan serialNumber) => throw null; + public System.Security.Cryptography.X509Certificates.X509Certificate2 CreateSelfSigned(System.DateTimeOffset notBefore, System.DateTimeOffset notAfter) => throw null; + public System.Byte[] CreateSigningRequest() => throw null; + public System.Byte[] CreateSigningRequest(System.Security.Cryptography.X509Certificates.X509SignatureGenerator signatureGenerator) => throw null; + public string CreateSigningRequestPem() => throw null; + public string CreateSigningRequestPem(System.Security.Cryptography.X509Certificates.X509SignatureGenerator signatureGenerator) => throw null; + public System.Security.Cryptography.HashAlgorithmName HashAlgorithm { get => throw null; } + public static System.Security.Cryptography.X509Certificates.CertificateRequest LoadSigningRequest(System.Byte[] pkcs10, System.Security.Cryptography.HashAlgorithmName signerHashAlgorithm, System.Security.Cryptography.X509Certificates.CertificateRequestLoadOptions options = default(System.Security.Cryptography.X509Certificates.CertificateRequestLoadOptions), System.Security.Cryptography.RSASignaturePadding signerSignaturePadding = default(System.Security.Cryptography.RSASignaturePadding)) => throw null; + public static System.Security.Cryptography.X509Certificates.CertificateRequest LoadSigningRequest(System.ReadOnlySpan pkcs10, System.Security.Cryptography.HashAlgorithmName signerHashAlgorithm, out int bytesConsumed, System.Security.Cryptography.X509Certificates.CertificateRequestLoadOptions options = default(System.Security.Cryptography.X509Certificates.CertificateRequestLoadOptions), System.Security.Cryptography.RSASignaturePadding signerSignaturePadding = default(System.Security.Cryptography.RSASignaturePadding)) => throw null; + public static System.Security.Cryptography.X509Certificates.CertificateRequest LoadSigningRequestPem(System.ReadOnlySpan pkcs10Pem, System.Security.Cryptography.HashAlgorithmName signerHashAlgorithm, System.Security.Cryptography.X509Certificates.CertificateRequestLoadOptions options = default(System.Security.Cryptography.X509Certificates.CertificateRequestLoadOptions), System.Security.Cryptography.RSASignaturePadding signerSignaturePadding = default(System.Security.Cryptography.RSASignaturePadding)) => throw null; + public static System.Security.Cryptography.X509Certificates.CertificateRequest LoadSigningRequestPem(string pkcs10Pem, System.Security.Cryptography.HashAlgorithmName signerHashAlgorithm, System.Security.Cryptography.X509Certificates.CertificateRequestLoadOptions options = default(System.Security.Cryptography.X509Certificates.CertificateRequestLoadOptions), System.Security.Cryptography.RSASignaturePadding signerSignaturePadding = default(System.Security.Cryptography.RSASignaturePadding)) => throw null; + public System.Collections.ObjectModel.Collection OtherRequestAttributes { get => throw null; } + public System.Security.Cryptography.X509Certificates.PublicKey PublicKey { get => throw null; } + public System.Security.Cryptography.X509Certificates.X500DistinguishedName SubjectName { get => throw null; } + } + + // Generated from `System.Security.Cryptography.X509Certificates.CertificateRequestLoadOptions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum CertificateRequestLoadOptions : int + { + Default = 0, + SkipSignatureValidation = 1, + UnsafeLoadCertificateExtensions = 2, + } + + // Generated from `System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class CertificateRevocationListBuilder + { + public void AddEntry(System.Byte[] serialNumber, System.DateTimeOffset? revocationTime = default(System.DateTimeOffset?), System.Security.Cryptography.X509Certificates.X509RevocationReason? reason = default(System.Security.Cryptography.X509Certificates.X509RevocationReason?)) => throw null; + public void AddEntry(System.ReadOnlySpan serialNumber, System.DateTimeOffset? revocationTime = default(System.DateTimeOffset?), System.Security.Cryptography.X509Certificates.X509RevocationReason? reason = default(System.Security.Cryptography.X509Certificates.X509RevocationReason?)) => throw null; + public void AddEntry(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.DateTimeOffset? revocationTime = default(System.DateTimeOffset?), System.Security.Cryptography.X509Certificates.X509RevocationReason? reason = default(System.Security.Cryptography.X509Certificates.X509RevocationReason?)) => throw null; + public System.Byte[] Build(System.Security.Cryptography.X509Certificates.X500DistinguishedName issuerName, System.Security.Cryptography.X509Certificates.X509SignatureGenerator generator, System.Numerics.BigInteger crlNumber, System.DateTimeOffset nextUpdate, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension authorityKeyIdentifier, System.DateTimeOffset? thisUpdate = default(System.DateTimeOffset?)) => throw null; + public System.Byte[] Build(System.Security.Cryptography.X509Certificates.X509Certificate2 issuerCertificate, System.Numerics.BigInteger crlNumber, System.DateTimeOffset nextUpdate, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding rsaSignaturePadding = default(System.Security.Cryptography.RSASignaturePadding), System.DateTimeOffset? thisUpdate = default(System.DateTimeOffset?)) => throw null; + public static System.Security.Cryptography.X509Certificates.X509Extension BuildCrlDistributionPointExtension(System.Collections.Generic.IEnumerable uris, bool critical = default(bool)) => throw null; + public CertificateRevocationListBuilder() => throw null; + public static System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder Load(System.Byte[] currentCrl, out System.Numerics.BigInteger currentCrlNumber) => throw null; + public static System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder Load(System.ReadOnlySpan currentCrl, out System.Numerics.BigInteger currentCrlNumber, out int bytesConsumed) => throw null; + public static System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder LoadPem(System.ReadOnlySpan currentCrl, out System.Numerics.BigInteger currentCrlNumber) => throw null; + public static System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder LoadPem(string currentCrl, out System.Numerics.BigInteger currentCrlNumber) => throw null; + public bool RemoveEntry(System.Byte[] serialNumber) => throw null; + public bool RemoveEntry(System.ReadOnlySpan serialNumber) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.DSACertificateExtensions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class DSACertificateExtensions + { + public static System.Security.Cryptography.X509Certificates.X509Certificate2 CopyWithPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.DSA privateKey) => throw null; + public static System.Security.Cryptography.DSA GetDSAPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + public static System.Security.Cryptography.DSA GetDSAPublicKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.ECDsaCertificateExtensions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class ECDsaCertificateExtensions + { + public static System.Security.Cryptography.X509Certificates.X509Certificate2 CopyWithPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.ECDsa privateKey) => throw null; + public static System.Security.Cryptography.ECDsa GetECDsaPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + public static System.Security.Cryptography.ECDsa GetECDsaPublicKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.OpenFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum OpenFlags : int + { + IncludeArchived = 8, + MaxAllowed = 2, + OpenExistingOnly = 4, + ReadOnly = 0, + ReadWrite = 1, + } + + // Generated from `System.Security.Cryptography.X509Certificates.PublicKey` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class PublicKey + { + public static System.Security.Cryptography.X509Certificates.PublicKey CreateFromSubjectPublicKeyInfo(System.ReadOnlySpan source, out int bytesRead) => throw null; + public System.Security.Cryptography.AsnEncodedData EncodedKeyValue { get => throw null; } + public System.Security.Cryptography.AsnEncodedData EncodedParameters { get => throw null; } + public System.Byte[] ExportSubjectPublicKeyInfo() => throw null; + public System.Security.Cryptography.DSA GetDSAPublicKey() => throw null; + public System.Security.Cryptography.ECDiffieHellman GetECDiffieHellmanPublicKey() => throw null; + public System.Security.Cryptography.ECDsa GetECDsaPublicKey() => throw null; + public System.Security.Cryptography.RSA GetRSAPublicKey() => throw null; + public System.Security.Cryptography.AsymmetricAlgorithm Key { get => throw null; } + public System.Security.Cryptography.Oid Oid { get => throw null; } + public PublicKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; + public PublicKey(System.Security.Cryptography.Oid oid, System.Security.Cryptography.AsnEncodedData parameters, System.Security.Cryptography.AsnEncodedData keyValue) => throw null; + public bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.RSACertificateExtensions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public static class RSACertificateExtensions + { + public static System.Security.Cryptography.X509Certificates.X509Certificate2 CopyWithPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.RSA privateKey) => throw null; + public static System.Security.Cryptography.RSA GetRSAPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + public static System.Security.Cryptography.RSA GetRSAPublicKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.StoreLocation` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum StoreLocation : int + { + CurrentUser = 1, + LocalMachine = 2, + } + + // Generated from `System.Security.Cryptography.X509Certificates.StoreName` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum StoreName : int + { + AddressBook = 1, + AuthRoot = 2, + CertificateAuthority = 3, + Disallowed = 4, + My = 5, + Root = 6, + TrustedPeople = 7, + TrustedPublisher = 8, + } + + // Generated from `System.Security.Cryptography.X509Certificates.SubjectAlternativeNameBuilder` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class SubjectAlternativeNameBuilder + { + public void AddDnsName(string dnsName) => throw null; + public void AddEmailAddress(string emailAddress) => throw null; + public void AddIpAddress(System.Net.IPAddress ipAddress) => throw null; + public void AddUri(System.Uri uri) => throw null; + public void AddUserPrincipalName(string upn) => throw null; + public System.Security.Cryptography.X509Certificates.X509Extension Build(bool critical = default(bool)) => throw null; + public SubjectAlternativeNameBuilder() => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X500DistinguishedName` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X500DistinguishedName : System.Security.Cryptography.AsnEncodedData + { + public string Decode(System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags flag) => throw null; + public System.Collections.Generic.IEnumerable EnumerateRelativeDistinguishedNames(bool reversed = default(bool)) => throw null; + public override string Format(bool multiLine) => throw null; + public string Name { get => throw null; } + public X500DistinguishedName(System.Security.Cryptography.AsnEncodedData encodedDistinguishedName) => throw null; + public X500DistinguishedName(System.Byte[] encodedDistinguishedName) => throw null; + public X500DistinguishedName(System.ReadOnlySpan encodedDistinguishedName) => throw null; + public X500DistinguishedName(System.Security.Cryptography.X509Certificates.X500DistinguishedName distinguishedName) => throw null; + public X500DistinguishedName(string distinguishedName) => throw null; + public X500DistinguishedName(string distinguishedName, System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags flag) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X500DistinguishedNameBuilder` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X500DistinguishedNameBuilder + { + public void Add(System.Security.Cryptography.Oid oid, string value, System.Formats.Asn1.UniversalTagNumber? stringEncodingType = default(System.Formats.Asn1.UniversalTagNumber?)) => throw null; + public void Add(string oidValue, string value, System.Formats.Asn1.UniversalTagNumber? stringEncodingType = default(System.Formats.Asn1.UniversalTagNumber?)) => throw null; + public void AddCommonName(string commonName) => throw null; + public void AddCountryOrRegion(string twoLetterCode) => throw null; + public void AddDomainComponent(string domainComponent) => throw null; + public void AddEmailAddress(string emailAddress) => throw null; + public void AddLocalityName(string localityName) => throw null; + public void AddOrganizationName(string organizationName) => throw null; + public void AddOrganizationalUnitName(string organizationalUnitName) => throw null; + public void AddStateOrProvinceName(string stateOrProvinceName) => throw null; + public System.Security.Cryptography.X509Certificates.X500DistinguishedName Build() => throw null; + public X500DistinguishedNameBuilder() => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum X500DistinguishedNameFlags : int + { + DoNotUsePlusSign = 32, + DoNotUseQuotes = 64, + ForceUTF8Encoding = 16384, + None = 0, + Reversed = 1, + UseCommas = 128, + UseNewLines = 256, + UseSemicolons = 16, + UseT61Encoding = 8192, + UseUTF8Encoding = 4096, + } + + // Generated from `System.Security.Cryptography.X509Certificates.X500RelativeDistinguishedName` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X500RelativeDistinguishedName + { + public System.Security.Cryptography.Oid GetSingleElementType() => throw null; + public string GetSingleElementValue() => throw null; + public bool HasMultipleElements { get => throw null; } + public System.ReadOnlyMemory RawData { get => throw null; } + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509AuthorityInformationAccessExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509AuthorityInformationAccessExtension : System.Security.Cryptography.X509Certificates.X509Extension + { + public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; + public System.Collections.Generic.IEnumerable EnumerateCAIssuersUris() => throw null; + public System.Collections.Generic.IEnumerable EnumerateOcspUris() => throw null; + public System.Collections.Generic.IEnumerable EnumerateUris(System.Security.Cryptography.Oid accessMethodOid) => throw null; + public System.Collections.Generic.IEnumerable EnumerateUris(string accessMethodOid) => throw null; + public X509AuthorityInformationAccessExtension() => throw null; + public X509AuthorityInformationAccessExtension(System.Byte[] rawData, bool critical = default(bool)) => throw null; + public X509AuthorityInformationAccessExtension(System.Collections.Generic.IEnumerable ocspUris, System.Collections.Generic.IEnumerable caIssuersUris, bool critical = default(bool)) => throw null; + public X509AuthorityInformationAccessExtension(System.ReadOnlySpan rawData, bool critical = default(bool)) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509AuthorityKeyIdentifierExtension : System.Security.Cryptography.X509Certificates.X509Extension + { + public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; + public static System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension Create(System.Byte[] keyIdentifier, System.Security.Cryptography.X509Certificates.X500DistinguishedName issuerName, System.Byte[] serialNumber) => throw null; + public static System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension Create(System.ReadOnlySpan keyIdentifier, System.Security.Cryptography.X509Certificates.X500DistinguishedName issuerName, System.ReadOnlySpan serialNumber) => throw null; + public static System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension CreateFromCertificate(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, bool includeKeyIdentifier, bool includeIssuerAndSerial) => throw null; + public static System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension CreateFromIssuerNameAndSerialNumber(System.Security.Cryptography.X509Certificates.X500DistinguishedName issuerName, System.Byte[] serialNumber) => throw null; + public static System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension CreateFromIssuerNameAndSerialNumber(System.Security.Cryptography.X509Certificates.X500DistinguishedName issuerName, System.ReadOnlySpan serialNumber) => throw null; + public static System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension CreateFromSubjectKeyIdentifier(System.Byte[] subjectKeyIdentifier) => throw null; + public static System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension CreateFromSubjectKeyIdentifier(System.ReadOnlySpan subjectKeyIdentifier) => throw null; + public static System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension CreateFromSubjectKeyIdentifier(System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension subjectKeyIdentifier) => throw null; + public System.ReadOnlyMemory? KeyIdentifier { get => throw null; } + public System.Security.Cryptography.X509Certificates.X500DistinguishedName NamedIssuer { get => throw null; } + public System.ReadOnlyMemory? RawIssuer { get => throw null; } + public System.ReadOnlyMemory? SerialNumber { get => throw null; } + public X509AuthorityKeyIdentifierExtension() => throw null; + public X509AuthorityKeyIdentifierExtension(System.Byte[] rawData, bool critical = default(bool)) => throw null; + public X509AuthorityKeyIdentifierExtension(System.ReadOnlySpan rawData, bool critical = default(bool)) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509BasicConstraintsExtension : System.Security.Cryptography.X509Certificates.X509Extension + { + public bool CertificateAuthority { get => throw null; } + public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; + public static System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension CreateForCertificateAuthority(int? pathLengthConstraint = default(int?)) => throw null; + public static System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension CreateForEndEntity(bool critical = default(bool)) => throw null; + public bool HasPathLengthConstraint { get => throw null; } + public int PathLengthConstraint { get => throw null; } + public X509BasicConstraintsExtension() => throw null; + public X509BasicConstraintsExtension(System.Security.Cryptography.AsnEncodedData encodedBasicConstraints, bool critical) => throw null; + public X509BasicConstraintsExtension(bool certificateAuthority, bool hasPathLengthConstraint, int pathLengthConstraint, bool critical) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509Certificate` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509Certificate : System.IDisposable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable + { + public static System.Security.Cryptography.X509Certificates.X509Certificate CreateFromCertFile(string filename) => throw null; + public static System.Security.Cryptography.X509Certificates.X509Certificate CreateFromSignedFile(string filename) => throw null; + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + public virtual bool Equals(System.Security.Cryptography.X509Certificates.X509Certificate other) => throw null; + public override bool Equals(object obj) => throw null; + public virtual System.Byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType) => throw null; + public virtual System.Byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType, System.Security.SecureString password) => throw null; + public virtual System.Byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType, string password) => throw null; + protected static string FormatDate(System.DateTime date) => throw null; + public virtual System.Byte[] GetCertHash() => throw null; + public virtual System.Byte[] GetCertHash(System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public virtual string GetCertHashString() => throw null; + public virtual string GetCertHashString(System.Security.Cryptography.HashAlgorithmName hashAlgorithm) => throw null; + public virtual string GetEffectiveDateString() => throw null; + public virtual string GetExpirationDateString() => throw null; + public virtual string GetFormat() => throw null; + public override int GetHashCode() => throw null; + public virtual string GetIssuerName() => throw null; + public virtual string GetKeyAlgorithm() => throw null; + public virtual System.Byte[] GetKeyAlgorithmParameters() => throw null; + public virtual string GetKeyAlgorithmParametersString() => throw null; + public virtual string GetName() => throw null; + void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + public virtual System.Byte[] GetPublicKey() => throw null; + public virtual string GetPublicKeyString() => throw null; + public virtual System.Byte[] GetRawCertData() => throw null; + public virtual string GetRawCertDataString() => throw null; + public virtual System.Byte[] GetSerialNumber() => throw null; + public virtual string GetSerialNumberString() => throw null; + public System.IntPtr Handle { get => throw null; } + public virtual void Import(System.Byte[] rawData) => throw null; + public virtual void Import(System.Byte[] rawData, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public virtual void Import(System.Byte[] rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public virtual void Import(string fileName) => throw null; + public virtual void Import(string fileName, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public virtual void Import(string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public string Issuer { get => throw null; } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) => throw null; + public virtual void Reset() => throw null; + public System.ReadOnlyMemory SerialNumberBytes { get => throw null; } + public string Subject { get => throw null; } + public override string ToString() => throw null; + public virtual string ToString(bool fVerbose) => throw null; + public virtual bool TryGetCertHash(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Span destination, out int bytesWritten) => throw null; + public X509Certificate() => throw null; + public X509Certificate(System.Byte[] data) => throw null; + public X509Certificate(System.Byte[] rawData, System.Security.SecureString password) => throw null; + public X509Certificate(System.Byte[] rawData, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public X509Certificate(System.Byte[] rawData, string password) => throw null; + public X509Certificate(System.Byte[] rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public X509Certificate(System.IntPtr handle) => throw null; + public X509Certificate(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + public X509Certificate(System.Security.Cryptography.X509Certificates.X509Certificate cert) => throw null; + public X509Certificate(string fileName) => throw null; + public X509Certificate(string fileName, System.Security.SecureString password) => throw null; + public X509Certificate(string fileName, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public X509Certificate(string fileName, string password) => throw null; + public X509Certificate(string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509Certificate2` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509Certificate2 : System.Security.Cryptography.X509Certificates.X509Certificate + { + public bool Archived { get => throw null; set => throw null; } + public System.Security.Cryptography.X509Certificates.X509Certificate2 CopyWithPrivateKey(System.Security.Cryptography.ECDiffieHellman privateKey) => throw null; + public static System.Security.Cryptography.X509Certificates.X509Certificate2 CreateFromEncryptedPem(System.ReadOnlySpan certPem, System.ReadOnlySpan keyPem, System.ReadOnlySpan password) => throw null; + public static System.Security.Cryptography.X509Certificates.X509Certificate2 CreateFromEncryptedPemFile(string certPemFilePath, System.ReadOnlySpan password, string keyPemFilePath = default(string)) => throw null; + public static System.Security.Cryptography.X509Certificates.X509Certificate2 CreateFromPem(System.ReadOnlySpan certPem) => throw null; + public static System.Security.Cryptography.X509Certificates.X509Certificate2 CreateFromPem(System.ReadOnlySpan certPem, System.ReadOnlySpan keyPem) => throw null; + public static System.Security.Cryptography.X509Certificates.X509Certificate2 CreateFromPemFile(string certPemFilePath, string keyPemFilePath = default(string)) => throw null; + public string ExportCertificatePem() => throw null; + public System.Security.Cryptography.X509Certificates.X509ExtensionCollection Extensions { get => throw null; } + public string FriendlyName { get => throw null; set => throw null; } + public static System.Security.Cryptography.X509Certificates.X509ContentType GetCertContentType(System.Byte[] rawData) => throw null; + public static System.Security.Cryptography.X509Certificates.X509ContentType GetCertContentType(System.ReadOnlySpan rawData) => throw null; + public static System.Security.Cryptography.X509Certificates.X509ContentType GetCertContentType(string fileName) => throw null; + public System.Security.Cryptography.ECDiffieHellman GetECDiffieHellmanPrivateKey() => throw null; + public System.Security.Cryptography.ECDiffieHellman GetECDiffieHellmanPublicKey() => throw null; + public string GetNameInfo(System.Security.Cryptography.X509Certificates.X509NameType nameType, bool forIssuer) => throw null; + public bool HasPrivateKey { get => throw null; } + public override void Import(System.Byte[] rawData) => throw null; + public override void Import(System.Byte[] rawData, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public override void Import(System.Byte[] rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public override void Import(string fileName) => throw null; + public override void Import(string fileName, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public override void Import(string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public System.Security.Cryptography.X509Certificates.X500DistinguishedName IssuerName { get => throw null; } + public bool MatchesHostname(string hostname, bool allowWildcards = default(bool), bool allowCommonName = default(bool)) => throw null; + public System.DateTime NotAfter { get => throw null; } + public System.DateTime NotBefore { get => throw null; } + public System.Security.Cryptography.AsymmetricAlgorithm PrivateKey { get => throw null; set => throw null; } + public System.Security.Cryptography.X509Certificates.PublicKey PublicKey { get => throw null; } + public System.Byte[] RawData { get => throw null; } + public System.ReadOnlyMemory RawDataMemory { get => throw null; } + public override void Reset() => throw null; + public string SerialNumber { get => throw null; } + public System.Security.Cryptography.Oid SignatureAlgorithm { get => throw null; } + public System.Security.Cryptography.X509Certificates.X500DistinguishedName SubjectName { get => throw null; } + public string Thumbprint { get => throw null; } + public override string ToString() => throw null; + public override string ToString(bool verbose) => throw null; + public bool TryExportCertificatePem(System.Span destination, out int charsWritten) => throw null; + public bool Verify() => throw null; + public int Version { get => throw null; } + public X509Certificate2() => throw null; + public X509Certificate2(System.Byte[] rawData) => throw null; + public X509Certificate2(System.Byte[] rawData, System.Security.SecureString password) => throw null; + public X509Certificate2(System.Byte[] rawData, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public X509Certificate2(System.Byte[] rawData, string password) => throw null; + public X509Certificate2(System.Byte[] rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public X509Certificate2(System.IntPtr handle) => throw null; + public X509Certificate2(System.ReadOnlySpan rawData) => throw null; + public X509Certificate2(System.ReadOnlySpan rawData, System.ReadOnlySpan password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; + protected X509Certificate2(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + public X509Certificate2(System.Security.Cryptography.X509Certificates.X509Certificate certificate) => throw null; + public X509Certificate2(string fileName) => throw null; + public X509Certificate2(string fileName, System.ReadOnlySpan password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; + public X509Certificate2(string fileName, System.Security.SecureString password) => throw null; + public X509Certificate2(string fileName, System.Security.SecureString password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + public X509Certificate2(string fileName, string password) => throw null; + public X509Certificate2(string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509Certificate2Collection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509Certificate2Collection : System.Security.Cryptography.X509Certificates.X509CertificateCollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + public int Add(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) => throw null; + public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates) => throw null; + public bool Contains(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + public System.Byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType) => throw null; + public System.Byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType, string password) => throw null; + public string ExportCertificatePems() => throw null; + public string ExportPkcs7Pem() => throw null; + public System.Security.Cryptography.X509Certificates.X509Certificate2Collection Find(System.Security.Cryptography.X509Certificates.X509FindType findType, object findValue, bool validOnly) => throw null; + public System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator GetEnumerator() => throw null; + System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null; + public void Import(System.Byte[] rawData) => throw null; + public void Import(System.Byte[] rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; + public void Import(System.ReadOnlySpan rawData) => throw null; + public void Import(System.ReadOnlySpan rawData, System.ReadOnlySpan password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; + public void Import(System.ReadOnlySpan rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; + public void Import(string fileName) => throw null; + public void Import(string fileName, System.ReadOnlySpan password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; + public void Import(string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags = default(System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)) => throw null; + public void ImportFromPem(System.ReadOnlySpan certPem) => throw null; + public void ImportFromPemFile(string certPemFilePath) => throw null; + public void Insert(int index, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + public System.Security.Cryptography.X509Certificates.X509Certificate2 this[int index] { get => throw null; set => throw null; } + public void Remove(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + public void RemoveRange(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) => throw null; + public void RemoveRange(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates) => throw null; + public bool TryExportCertificatePems(System.Span destination, out int charsWritten) => throw null; + public bool TryExportPkcs7Pem(System.Span destination, out int charsWritten) => throw null; + public X509Certificate2Collection() => throw null; + public X509Certificate2Collection(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + public X509Certificate2Collection(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) => throw null; + public X509Certificate2Collection(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509Certificate2Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable + { + public System.Security.Cryptography.X509Certificates.X509Certificate2 Current { get => throw null; } + object System.Collections.IEnumerator.Current { get => throw null; } + void System.IDisposable.Dispose() => throw null; + public bool MoveNext() => throw null; + bool System.Collections.IEnumerator.MoveNext() => throw null; + public void Reset() => throw null; + void System.Collections.IEnumerator.Reset() => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509CertificateCollection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509CertificateCollection : System.Collections.CollectionBase + { + // Generated from `System.Security.Cryptography.X509Certificates.X509CertificateCollection+X509CertificateEnumerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509CertificateEnumerator : System.Collections.IEnumerator + { + public System.Security.Cryptography.X509Certificates.X509Certificate Current { get => throw null; } + object System.Collections.IEnumerator.Current { get => throw null; } + public bool MoveNext() => throw null; + bool System.Collections.IEnumerator.MoveNext() => throw null; + public void Reset() => throw null; + void System.Collections.IEnumerator.Reset() => throw null; + public X509CertificateEnumerator(System.Security.Cryptography.X509Certificates.X509CertificateCollection mappings) => throw null; + } + + + public int Add(System.Security.Cryptography.X509Certificates.X509Certificate value) => throw null; + public void AddRange(System.Security.Cryptography.X509Certificates.X509CertificateCollection value) => throw null; + public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate[] value) => throw null; + public bool Contains(System.Security.Cryptography.X509Certificates.X509Certificate value) => throw null; + public void CopyTo(System.Security.Cryptography.X509Certificates.X509Certificate[] array, int index) => throw null; + public System.Security.Cryptography.X509Certificates.X509CertificateCollection.X509CertificateEnumerator GetEnumerator() => throw null; + public override int GetHashCode() => throw null; + public int IndexOf(System.Security.Cryptography.X509Certificates.X509Certificate value) => throw null; + public void Insert(int index, System.Security.Cryptography.X509Certificates.X509Certificate value) => throw null; + public System.Security.Cryptography.X509Certificates.X509Certificate this[int index] { get => throw null; set => throw null; } + protected override void OnValidate(object value) => throw null; + public void Remove(System.Security.Cryptography.X509Certificates.X509Certificate value) => throw null; + public X509CertificateCollection() => throw null; + public X509CertificateCollection(System.Security.Cryptography.X509Certificates.X509CertificateCollection value) => throw null; + public X509CertificateCollection(System.Security.Cryptography.X509Certificates.X509Certificate[] value) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509Chain` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509Chain : System.IDisposable + { + public bool Build(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + public System.IntPtr ChainContext { get => throw null; } + public System.Security.Cryptography.X509Certificates.X509ChainElementCollection ChainElements { get => throw null; } + public System.Security.Cryptography.X509Certificates.X509ChainPolicy ChainPolicy { get => throw null; set => throw null; } + public System.Security.Cryptography.X509Certificates.X509ChainStatus[] ChainStatus { get => throw null; } + public static System.Security.Cryptography.X509Certificates.X509Chain Create() => throw null; + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + public void Reset() => throw null; + public Microsoft.Win32.SafeHandles.SafeX509ChainHandle SafeHandle { get => throw null; } + public X509Chain() => throw null; + public X509Chain(System.IntPtr chainContext) => throw null; + public X509Chain(bool useMachineContext) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509ChainElement` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509ChainElement + { + public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get => throw null; } + public System.Security.Cryptography.X509Certificates.X509ChainStatus[] ChainElementStatus { get => throw null; } + public string Information { get => throw null; } + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509ChainElementCollection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509ChainElementCollection : System.Collections.Generic.IEnumerable, System.Collections.ICollection, System.Collections.IEnumerable + { + void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; + public void CopyTo(System.Security.Cryptography.X509Certificates.X509ChainElement[] array, int index) => throw null; + public int Count { get => throw null; } + public System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator GetEnumerator() => throw null; + System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public bool IsSynchronized { get => throw null; } + public System.Security.Cryptography.X509Certificates.X509ChainElement this[int index] { get => throw null; } + public object SyncRoot { get => throw null; } + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509ChainElementEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable + { + public System.Security.Cryptography.X509Certificates.X509ChainElement Current { get => throw null; } + object System.Collections.IEnumerator.Current { get => throw null; } + void System.IDisposable.Dispose() => throw null; + public bool MoveNext() => throw null; + public void Reset() => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509ChainPolicy` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509ChainPolicy + { + public System.Security.Cryptography.OidCollection ApplicationPolicy { get => throw null; } + public System.Security.Cryptography.OidCollection CertificatePolicy { get => throw null; } + public System.Security.Cryptography.X509Certificates.X509ChainPolicy Clone() => throw null; + public System.Security.Cryptography.X509Certificates.X509Certificate2Collection CustomTrustStore { get => throw null; } + public bool DisableCertificateDownloads { get => throw null; set => throw null; } + public System.Security.Cryptography.X509Certificates.X509Certificate2Collection ExtraStore { get => throw null; } + public void Reset() => throw null; + public System.Security.Cryptography.X509Certificates.X509RevocationFlag RevocationFlag { get => throw null; set => throw null; } + public System.Security.Cryptography.X509Certificates.X509RevocationMode RevocationMode { get => throw null; set => throw null; } + public System.Security.Cryptography.X509Certificates.X509ChainTrustMode TrustMode { get => throw null; set => throw null; } + public System.TimeSpan UrlRetrievalTimeout { get => throw null; set => throw null; } + public System.Security.Cryptography.X509Certificates.X509VerificationFlags VerificationFlags { get => throw null; set => throw null; } + public System.DateTime VerificationTime { get => throw null; set => throw null; } + public bool VerificationTimeIgnored { get => throw null; set => throw null; } + public X509ChainPolicy() => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509ChainStatus` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct X509ChainStatus + { + public System.Security.Cryptography.X509Certificates.X509ChainStatusFlags Status { get => throw null; set => throw null; } + public string StatusInformation { get => throw null; set => throw null; } + // Stub generator skipped constructor + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509ChainStatusFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum X509ChainStatusFlags : int + { + CtlNotSignatureValid = 262144, + CtlNotTimeValid = 131072, + CtlNotValidForUsage = 524288, + Cyclic = 128, + ExplicitDistrust = 67108864, + HasExcludedNameConstraint = 32768, + HasNotDefinedNameConstraint = 8192, + HasNotPermittedNameConstraint = 16384, + HasNotSupportedCriticalExtension = 134217728, + HasNotSupportedNameConstraint = 4096, + HasWeakSignature = 1048576, + InvalidBasicConstraints = 1024, + InvalidExtension = 256, + InvalidNameConstraints = 2048, + InvalidPolicyConstraints = 512, + NoError = 0, + NoIssuanceChainPolicy = 33554432, + NotSignatureValid = 8, + NotTimeNested = 2, + NotTimeValid = 1, + NotValidForUsage = 16, + OfflineRevocation = 16777216, + PartialChain = 65536, + RevocationStatusUnknown = 64, + Revoked = 4, + UntrustedRoot = 32, + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509ChainTrustMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum X509ChainTrustMode : int + { + CustomRootTrust = 1, + System = 0, + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509ContentType` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum X509ContentType : int + { + Authenticode = 6, + Cert = 1, + Pfx = 3, + Pkcs12 = 3, + Pkcs7 = 5, + SerializedCert = 2, + SerializedStore = 4, + Unknown = 0, + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509EnhancedKeyUsageExtension : System.Security.Cryptography.X509Certificates.X509Extension + { + public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; + public System.Security.Cryptography.OidCollection EnhancedKeyUsages { get => throw null; } + public X509EnhancedKeyUsageExtension() => throw null; + public X509EnhancedKeyUsageExtension(System.Security.Cryptography.AsnEncodedData encodedEnhancedKeyUsages, bool critical) => throw null; + public X509EnhancedKeyUsageExtension(System.Security.Cryptography.OidCollection enhancedKeyUsages, bool critical) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509Extension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509Extension : System.Security.Cryptography.AsnEncodedData + { + public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; + public bool Critical { get => throw null; set => throw null; } + protected X509Extension() => throw null; + public X509Extension(System.Security.Cryptography.AsnEncodedData encodedExtension, bool critical) => throw null; + public X509Extension(System.Security.Cryptography.Oid oid, System.Byte[] rawData, bool critical) => throw null; + public X509Extension(System.Security.Cryptography.Oid oid, System.ReadOnlySpan rawData, bool critical) => throw null; + public X509Extension(string oid, System.Byte[] rawData, bool critical) => throw null; + public X509Extension(string oid, System.ReadOnlySpan rawData, bool critical) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509ExtensionCollection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509ExtensionCollection : System.Collections.Generic.IEnumerable, System.Collections.ICollection, System.Collections.IEnumerable + { + public int Add(System.Security.Cryptography.X509Certificates.X509Extension extension) => throw null; + void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; + public void CopyTo(System.Security.Cryptography.X509Certificates.X509Extension[] array, int index) => throw null; + public int Count { get => throw null; } + public System.Security.Cryptography.X509Certificates.X509ExtensionEnumerator GetEnumerator() => throw null; + System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public bool IsSynchronized { get => throw null; } + public System.Security.Cryptography.X509Certificates.X509Extension this[int index] { get => throw null; } + public System.Security.Cryptography.X509Certificates.X509Extension this[string oid] { get => throw null; } + public object SyncRoot { get => throw null; } + public X509ExtensionCollection() => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509ExtensionEnumerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509ExtensionEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable + { + public System.Security.Cryptography.X509Certificates.X509Extension Current { get => throw null; } + object System.Collections.IEnumerator.Current { get => throw null; } + void System.IDisposable.Dispose() => throw null; + public bool MoveNext() => throw null; + public void Reset() => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509FindType` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum X509FindType : int + { + FindByApplicationPolicy = 10, + FindByCertificatePolicy = 11, + FindByExtension = 12, + FindByIssuerDistinguishedName = 4, + FindByIssuerName = 3, + FindByKeyUsage = 13, + FindBySerialNumber = 5, + FindBySubjectDistinguishedName = 2, + FindBySubjectKeyIdentifier = 14, + FindBySubjectName = 1, + FindByTemplateName = 9, + FindByThumbprint = 0, + FindByTimeExpired = 8, + FindByTimeNotYetValid = 7, + FindByTimeValid = 6, + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509IncludeOption` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum X509IncludeOption : int + { + EndCertOnly = 2, + ExcludeRoot = 1, + None = 0, + WholeChain = 3, + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509KeyStorageFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum X509KeyStorageFlags : int + { + DefaultKeySet = 0, + EphemeralKeySet = 32, + Exportable = 4, + MachineKeySet = 2, + PersistKeySet = 16, + UserKeySet = 1, + UserProtected = 8, + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509KeyUsageExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509KeyUsageExtension : System.Security.Cryptography.X509Certificates.X509Extension + { + public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; + public System.Security.Cryptography.X509Certificates.X509KeyUsageFlags KeyUsages { get => throw null; } + public X509KeyUsageExtension() => throw null; + public X509KeyUsageExtension(System.Security.Cryptography.AsnEncodedData encodedKeyUsage, bool critical) => throw null; + public X509KeyUsageExtension(System.Security.Cryptography.X509Certificates.X509KeyUsageFlags keyUsages, bool critical) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509KeyUsageFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum X509KeyUsageFlags : int + { + CrlSign = 2, + DataEncipherment = 16, + DecipherOnly = 32768, + DigitalSignature = 128, + EncipherOnly = 1, + KeyAgreement = 8, + KeyCertSign = 4, + KeyEncipherment = 32, + NonRepudiation = 64, + None = 0, + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509NameType` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum X509NameType : int + { + DnsFromAlternativeName = 4, + DnsName = 3, + EmailName = 1, + SimpleName = 0, + UpnName = 2, + UrlName = 5, + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509RevocationFlag` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum X509RevocationFlag : int + { + EndCertificateOnly = 0, + EntireChain = 1, + ExcludeRoot = 2, + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509RevocationMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum X509RevocationMode : int + { + NoCheck = 0, + Offline = 2, + Online = 1, + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509RevocationReason` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum X509RevocationReason : int + { + AACompromise = 10, + AffiliationChanged = 3, + CACompromise = 2, + CertificateHold = 6, + CessationOfOperation = 5, + KeyCompromise = 1, + PrivilegeWithdrawn = 9, + RemoveFromCrl = 8, + Superseded = 4, + Unspecified = 0, + WeakAlgorithmOrKey = 11, + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509SignatureGenerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public abstract class X509SignatureGenerator + { + protected abstract System.Security.Cryptography.X509Certificates.PublicKey BuildPublicKey(); + public static System.Security.Cryptography.X509Certificates.X509SignatureGenerator CreateForECDsa(System.Security.Cryptography.ECDsa key) => throw null; + public static System.Security.Cryptography.X509Certificates.X509SignatureGenerator CreateForRSA(System.Security.Cryptography.RSA key, System.Security.Cryptography.RSASignaturePadding signaturePadding) => throw null; + public abstract System.Byte[] GetSignatureAlgorithmIdentifier(System.Security.Cryptography.HashAlgorithmName hashAlgorithm); + public System.Security.Cryptography.X509Certificates.PublicKey PublicKey { get => throw null; } + public abstract System.Byte[] SignData(System.Byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm); + protected X509SignatureGenerator() => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509Store` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509Store : System.IDisposable + { + public void Add(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) => throw null; + public System.Security.Cryptography.X509Certificates.X509Certificate2Collection Certificates { get => throw null; } + public void Close() => throw null; + public void Dispose() => throw null; + public bool IsOpen { get => throw null; } + public System.Security.Cryptography.X509Certificates.StoreLocation Location { get => throw null; } + public string Name { get => throw null; } + public void Open(System.Security.Cryptography.X509Certificates.OpenFlags flags) => throw null; + public void Remove(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; + public void RemoveRange(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) => throw null; + public System.IntPtr StoreHandle { get => throw null; } + public X509Store() => throw null; + public X509Store(System.IntPtr storeHandle) => throw null; + public X509Store(System.Security.Cryptography.X509Certificates.StoreLocation storeLocation) => throw null; + public X509Store(System.Security.Cryptography.X509Certificates.StoreName storeName) => throw null; + public X509Store(System.Security.Cryptography.X509Certificates.StoreName storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation) => throw null; + public X509Store(System.Security.Cryptography.X509Certificates.StoreName storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, System.Security.Cryptography.X509Certificates.OpenFlags flags) => throw null; + public X509Store(string storeName) => throw null; + public X509Store(string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation) => throw null; + public X509Store(string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, System.Security.Cryptography.X509Certificates.OpenFlags flags) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509SubjectAlternativeNameExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509SubjectAlternativeNameExtension : System.Security.Cryptography.X509Certificates.X509Extension + { + public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; + public System.Collections.Generic.IEnumerable EnumerateDnsNames() => throw null; + public System.Collections.Generic.IEnumerable EnumerateIPAddresses() => throw null; + public X509SubjectAlternativeNameExtension() => throw null; + public X509SubjectAlternativeNameExtension(System.Byte[] rawData, bool critical = default(bool)) => throw null; + public X509SubjectAlternativeNameExtension(System.ReadOnlySpan rawData, bool critical = default(bool)) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class X509SubjectKeyIdentifierExtension : System.Security.Cryptography.X509Certificates.X509Extension + { + public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; + public string SubjectKeyIdentifier { get => throw null; } + public System.ReadOnlyMemory SubjectKeyIdentifierBytes { get => throw null; } + public X509SubjectKeyIdentifierExtension() => throw null; + public X509SubjectKeyIdentifierExtension(System.Security.Cryptography.AsnEncodedData encodedSubjectKeyIdentifier, bool critical) => throw null; + public X509SubjectKeyIdentifierExtension(System.Byte[] subjectKeyIdentifier, bool critical) => throw null; + public X509SubjectKeyIdentifierExtension(System.Security.Cryptography.X509Certificates.PublicKey key, System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm algorithm, bool critical) => throw null; + public X509SubjectKeyIdentifierExtension(System.Security.Cryptography.X509Certificates.PublicKey key, bool critical) => throw null; + public X509SubjectKeyIdentifierExtension(System.ReadOnlySpan subjectKeyIdentifier, bool critical) => throw null; + public X509SubjectKeyIdentifierExtension(string subjectKeyIdentifier, bool critical) => throw null; + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public enum X509SubjectKeyIdentifierHashAlgorithm : int + { + CapiSha1 = 2, + Sha1 = 0, + ShortSha1 = 1, + } + + // Generated from `System.Security.Cryptography.X509Certificates.X509VerificationFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + [System.Flags] + public enum X509VerificationFlags : int + { + AllFlags = 4095, + AllowUnknownCertificateAuthority = 16, + IgnoreCertificateAuthorityRevocationUnknown = 1024, + IgnoreCtlNotTimeValid = 2, + IgnoreCtlSignerRevocationUnknown = 512, + IgnoreEndRevocationUnknown = 256, + IgnoreInvalidBasicConstraints = 8, + IgnoreInvalidName = 64, + IgnoreInvalidPolicy = 128, + IgnoreNotTimeNested = 4, + IgnoreNotTimeValid = 1, + IgnoreRootRevocationUnknown = 2048, + IgnoreWrongUsage = 32, + NoFlag = 0, + } + + } + } + } +} diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Principal.Windows.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Principal.Windows.cs index e3a98486457..f79ef83dafa 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Principal.Windows.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Principal.Windows.cs @@ -6,7 +6,7 @@ namespace Microsoft { namespace SafeHandles { - // Generated from `Microsoft.Win32.SafeHandles.SafeAccessTokenHandle` in `System.Security.Principal.Windows, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `Microsoft.Win32.SafeHandles.SafeAccessTokenHandle` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeAccessTokenHandle : System.Runtime.InteropServices.SafeHandle { public static Microsoft.Win32.SafeHandles.SafeAccessTokenHandle InvalidHandle { get => throw null; } @@ -25,7 +25,7 @@ namespace System { namespace Principal { - // Generated from `System.Security.Principal.IdentityNotMappedException` in `System.Security.Principal.Windows, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.IdentityNotMappedException` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IdentityNotMappedException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -35,7 +35,7 @@ namespace System public System.Security.Principal.IdentityReferenceCollection UnmappedIdentities { get => throw null; } } - // Generated from `System.Security.Principal.IdentityReference` in `System.Security.Principal.Windows, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.IdentityReference` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IdentityReference { public static bool operator !=(System.Security.Principal.IdentityReference left, System.Security.Principal.IdentityReference right) => throw null; @@ -49,7 +49,7 @@ namespace System public abstract string Value { get; } } - // Generated from `System.Security.Principal.IdentityReferenceCollection` in `System.Security.Principal.Windows, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.IdentityReferenceCollection` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IdentityReferenceCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public void Add(System.Security.Principal.IdentityReference identity) => throw null; @@ -68,7 +68,7 @@ namespace System public System.Security.Principal.IdentityReferenceCollection Translate(System.Type targetType, bool forceSuccess) => throw null; } - // Generated from `System.Security.Principal.NTAccount` in `System.Security.Principal.Windows, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.NTAccount` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NTAccount : System.Security.Principal.IdentityReference { public static bool operator !=(System.Security.Principal.NTAccount left, System.Security.Principal.NTAccount right) => throw null; @@ -83,7 +83,7 @@ namespace System public override string Value { get => throw null; } } - // Generated from `System.Security.Principal.SecurityIdentifier` in `System.Security.Principal.Windows, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.SecurityIdentifier` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityIdentifier : System.Security.Principal.IdentityReference, System.IComparable { public static bool operator !=(System.Security.Principal.SecurityIdentifier left, System.Security.Principal.SecurityIdentifier right) => throw null; @@ -110,7 +110,7 @@ namespace System public override string Value { get => throw null; } } - // Generated from `System.Security.Principal.TokenAccessLevels` in `System.Security.Principal.Windows, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.TokenAccessLevels` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TokenAccessLevels : int { @@ -129,7 +129,7 @@ namespace System Write = 131296, } - // Generated from `System.Security.Principal.WellKnownSidType` in `System.Security.Principal.Windows, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.WellKnownSidType` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WellKnownSidType : int { AccountAdministratorSid = 38, @@ -230,7 +230,7 @@ namespace System WorldSid = 1, } - // Generated from `System.Security.Principal.WindowsAccountType` in `System.Security.Principal.Windows, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.WindowsAccountType` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WindowsAccountType : int { Anonymous = 3, @@ -239,7 +239,7 @@ namespace System System = 2, } - // Generated from `System.Security.Principal.WindowsBuiltInRole` in `System.Security.Principal.Windows, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.WindowsBuiltInRole` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WindowsBuiltInRole : int { AccountOperator = 548, @@ -253,7 +253,7 @@ namespace System User = 545, } - // Generated from `System.Security.Principal.WindowsIdentity` in `System.Security.Principal.Windows, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.WindowsIdentity` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WindowsIdentity : System.Security.Claims.ClaimsIdentity, System.IDisposable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public Microsoft.Win32.SafeHandles.SafeAccessTokenHandle AccessToken { get => throw null; } @@ -294,7 +294,7 @@ namespace System public WindowsIdentity(string sUserPrincipalName) => throw null; } - // Generated from `System.Security.Principal.WindowsPrincipal` in `System.Security.Principal.Windows, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Security.Principal.WindowsPrincipal` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WindowsPrincipal : System.Security.Claims.ClaimsPrincipal { public virtual System.Collections.Generic.IEnumerable DeviceClaims { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.CodePages.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.CodePages.cs index 7d62b664685..3f1a653e166 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.CodePages.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.CodePages.cs @@ -4,7 +4,7 @@ namespace System { namespace Text { - // Generated from `System.Text.CodePagesEncodingProvider` in `System.Text.Encoding.CodePages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.CodePagesEncodingProvider` in `System.Text.Encoding.CodePages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CodePagesEncodingProvider : System.Text.EncodingProvider { public override System.Text.Encoding GetEncoding(int codepage) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.Extensions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.Extensions.cs index 310193c3e58..5b4f0ec85c1 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.Extensions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.Extensions.cs @@ -4,7 +4,7 @@ namespace System { namespace Text { - // Generated from `System.Text.ASCIIEncoding` in `System.Text.Encoding.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.ASCIIEncoding` in `System.Text.Encoding.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ASCIIEncoding : System.Text.Encoding { public ASCIIEncoding() => throw null; @@ -30,7 +30,7 @@ namespace System public override bool IsSingleByte { get => throw null; } } - // Generated from `System.Text.UTF32Encoding` in `System.Text.Encoding.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.UTF32Encoding` in `System.Text.Encoding.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UTF32Encoding : System.Text.Encoding { public override bool Equals(object value) => throw null; @@ -57,7 +57,7 @@ namespace System public UTF32Encoding(bool bigEndian, bool byteOrderMark, bool throwOnInvalidCharacters) => throw null; } - // Generated from `System.Text.UTF7Encoding` in `System.Text.Encoding.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.UTF7Encoding` in `System.Text.Encoding.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UTF7Encoding : System.Text.Encoding { public override bool Equals(object value) => throw null; @@ -81,7 +81,7 @@ namespace System public UTF7Encoding(bool allowOptionals) => throw null; } - // Generated from `System.Text.UTF8Encoding` in `System.Text.Encoding.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.UTF8Encoding` in `System.Text.Encoding.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UTF8Encoding : System.Text.Encoding { public override bool Equals(object value) => throw null; @@ -112,7 +112,7 @@ namespace System public UTF8Encoding(bool encoderShouldEmitUTF8Identifier, bool throwOnInvalidBytes) => throw null; } - // Generated from `System.Text.UnicodeEncoding` in `System.Text.Encoding.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.UnicodeEncoding` in `System.Text.Encoding.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnicodeEncoding : System.Text.Encoding { public const int CharSize = default; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encodings.Web.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encodings.Web.cs index 2801844f0fd..6c78fcca304 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encodings.Web.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encodings.Web.cs @@ -8,7 +8,7 @@ namespace System { namespace Web { - // Generated from `System.Text.Encodings.Web.HtmlEncoder` in `System.Text.Encodings.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Encodings.Web.HtmlEncoder` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class HtmlEncoder : System.Text.Encodings.Web.TextEncoder { public static System.Text.Encodings.Web.HtmlEncoder Create(System.Text.Encodings.Web.TextEncoderSettings settings) => throw null; @@ -17,7 +17,7 @@ namespace System protected HtmlEncoder() => throw null; } - // Generated from `System.Text.Encodings.Web.JavaScriptEncoder` in `System.Text.Encodings.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Encodings.Web.JavaScriptEncoder` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JavaScriptEncoder : System.Text.Encodings.Web.TextEncoder { public static System.Text.Encodings.Web.JavaScriptEncoder Create(System.Text.Encodings.Web.TextEncoderSettings settings) => throw null; @@ -27,7 +27,7 @@ namespace System public static System.Text.Encodings.Web.JavaScriptEncoder UnsafeRelaxedJsonEscaping { get => throw null; } } - // Generated from `System.Text.Encodings.Web.TextEncoder` in `System.Text.Encodings.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Encodings.Web.TextEncoder` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class TextEncoder { public virtual System.Buffers.OperationStatus Encode(System.ReadOnlySpan source, System.Span destination, out int charsConsumed, out int charsWritten, bool isFinalBlock = default(bool)) => throw null; @@ -44,7 +44,7 @@ namespace System public abstract bool WillEncode(int unicodeScalar); } - // Generated from `System.Text.Encodings.Web.TextEncoderSettings` in `System.Text.Encodings.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Encodings.Web.TextEncoderSettings` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TextEncoderSettings { public virtual void AllowCharacter(System.Char character) => throw null; @@ -63,7 +63,7 @@ namespace System public TextEncoderSettings(params System.Text.Unicode.UnicodeRange[] allowedRanges) => throw null; } - // Generated from `System.Text.Encodings.Web.UrlEncoder` in `System.Text.Encodings.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Encodings.Web.UrlEncoder` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class UrlEncoder : System.Text.Encodings.Web.TextEncoder { public static System.Text.Encodings.Web.UrlEncoder Create(System.Text.Encodings.Web.TextEncoderSettings settings) => throw null; @@ -76,7 +76,7 @@ namespace System } namespace Unicode { - // Generated from `System.Text.Unicode.UnicodeRange` in `System.Text.Encodings.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Unicode.UnicodeRange` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UnicodeRange { public static System.Text.Unicode.UnicodeRange Create(System.Char firstCharacter, System.Char lastCharacter) => throw null; @@ -85,13 +85,14 @@ namespace System public UnicodeRange(int firstCodePoint, int length) => throw null; } - // Generated from `System.Text.Unicode.UnicodeRanges` in `System.Text.Encodings.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Unicode.UnicodeRanges` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class UnicodeRanges { public static System.Text.Unicode.UnicodeRange All { get => throw null; } public static System.Text.Unicode.UnicodeRange AlphabeticPresentationForms { get => throw null; } public static System.Text.Unicode.UnicodeRange Arabic { get => throw null; } public static System.Text.Unicode.UnicodeRange ArabicExtendedA { get => throw null; } + public static System.Text.Unicode.UnicodeRange ArabicExtendedB { get => throw null; } public static System.Text.Unicode.UnicodeRange ArabicPresentationFormsA { get => throw null; } public static System.Text.Unicode.UnicodeRange ArabicPresentationFormsB { get => throw null; } public static System.Text.Unicode.UnicodeRange ArabicSupplement { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Json.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Json.cs index a54b0b4c83e..a7c7d5dace8 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Json.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Json.cs @@ -6,7 +6,7 @@ namespace System { namespace Json { - // Generated from `System.Text.Json.JsonCommentHandling` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonCommentHandling` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonCommentHandling : byte { Allow = 2, @@ -14,7 +14,7 @@ namespace System Skip = 1, } - // Generated from `System.Text.Json.JsonDocument` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonDocument` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonDocument : System.IDisposable { public void Dispose() => throw null; @@ -30,7 +30,7 @@ namespace System public void WriteTo(System.Text.Json.Utf8JsonWriter writer) => throw null; } - // Generated from `System.Text.Json.JsonDocumentOptions` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonDocumentOptions` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonDocumentOptions { public bool AllowTrailingCommas { get => throw null; set => throw null; } @@ -39,10 +39,10 @@ namespace System public int MaxDepth { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.JsonElement` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonElement` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonElement { - // Generated from `System.Text.Json.JsonElement+ArrayEnumerator` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonElement+ArrayEnumerator` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ArrayEnumerator : System.Collections.Generic.IEnumerable, System.Collections.Generic.IEnumerator, System.Collections.IEnumerable, System.Collections.IEnumerator, System.IDisposable { // Stub generator skipped constructor @@ -57,7 +57,7 @@ namespace System } - // Generated from `System.Text.Json.JsonElement+ObjectEnumerator` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonElement+ObjectEnumerator` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ObjectEnumerator : System.Collections.Generic.IEnumerable, System.Collections.Generic.IEnumerator, System.Collections.IEnumerable, System.Collections.IEnumerator, System.IDisposable { public System.Text.Json.JsonProperty Current { get => throw null; } @@ -127,7 +127,7 @@ namespace System public void WriteTo(System.Text.Json.Utf8JsonWriter writer) => throw null; } - // Generated from `System.Text.Json.JsonEncodedText` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonEncodedText` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonEncodedText : System.IEquatable { public static System.Text.Json.JsonEncodedText Encode(System.ReadOnlySpan utf8Value, System.Text.Encodings.Web.JavaScriptEncoder encoder = default(System.Text.Encodings.Web.JavaScriptEncoder)) => throw null; @@ -141,7 +141,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Text.Json.JsonException` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonException` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonException : System.Exception { public System.Int64? BytePositionInLine { get => throw null; } @@ -157,7 +157,7 @@ namespace System public string Path { get => throw null; } } - // Generated from `System.Text.Json.JsonNamingPolicy` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonNamingPolicy` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonNamingPolicy { public static System.Text.Json.JsonNamingPolicy CamelCase { get => throw null; } @@ -165,7 +165,7 @@ namespace System protected JsonNamingPolicy() => throw null; } - // Generated from `System.Text.Json.JsonProperty` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonProperty` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonProperty { // Stub generator skipped constructor @@ -178,7 +178,7 @@ namespace System public void WriteTo(System.Text.Json.Utf8JsonWriter writer) => throw null; } - // Generated from `System.Text.Json.JsonReaderOptions` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonReaderOptions` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonReaderOptions { public bool AllowTrailingCommas { get => throw null; set => throw null; } @@ -187,7 +187,7 @@ namespace System public int MaxDepth { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.JsonReaderState` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonReaderState` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonReaderState { // Stub generator skipped constructor @@ -195,7 +195,7 @@ namespace System public System.Text.Json.JsonReaderOptions Options { get => throw null; } } - // Generated from `System.Text.Json.JsonSerializer` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonSerializer` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class JsonSerializer { public static object Deserialize(this System.Text.Json.JsonDocument document, System.Type returnType, System.Text.Json.Serialization.JsonSerializerContext context) => throw null; @@ -235,6 +235,7 @@ namespace System public static System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream utf8Json, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream utf8Json, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Collections.Generic.IAsyncEnumerable DeserializeAsyncEnumerable(System.IO.Stream utf8Json, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Collections.Generic.IAsyncEnumerable DeserializeAsyncEnumerable(System.IO.Stream utf8Json, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static void Serialize(System.IO.Stream utf8Json, object value, System.Type inputType, System.Text.Json.Serialization.JsonSerializerContext context) => throw null; public static void Serialize(System.IO.Stream utf8Json, object value, System.Type inputType, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions)) => throw null; public static void Serialize(System.Text.Json.Utf8JsonWriter writer, object value, System.Type inputType, System.Text.Json.Serialization.JsonSerializerContext context) => throw null; @@ -269,24 +270,26 @@ namespace System public static System.Byte[] SerializeToUtf8Bytes(TValue value, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo) => throw null; } - // Generated from `System.Text.Json.JsonSerializerDefaults` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonSerializerDefaults` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonSerializerDefaults : int { General = 0, Web = 1, } - // Generated from `System.Text.Json.JsonSerializerOptions` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonSerializerOptions` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonSerializerOptions { public void AddContext() where TContext : System.Text.Json.Serialization.JsonSerializerContext, new() => throw null; public bool AllowTrailingCommas { get => throw null; set => throw null; } public System.Collections.Generic.IList Converters { get => throw null; } + public static System.Text.Json.JsonSerializerOptions Default { get => throw null; } public int DefaultBufferSize { get => throw null; set => throw null; } public System.Text.Json.Serialization.JsonIgnoreCondition DefaultIgnoreCondition { get => throw null; set => throw null; } public System.Text.Json.JsonNamingPolicy DictionaryKeyPolicy { get => throw null; set => throw null; } public System.Text.Encodings.Web.JavaScriptEncoder Encoder { get => throw null; set => throw null; } public System.Text.Json.Serialization.JsonConverter GetConverter(System.Type typeToConvert) => throw null; + public System.Text.Json.Serialization.Metadata.JsonTypeInfo GetTypeInfo(System.Type type) => throw null; public bool IgnoreNullValues { get => throw null; set => throw null; } public bool IgnoreReadOnlyFields { get => throw null; set => throw null; } public bool IgnoreReadOnlyProperties { get => throw null; set => throw null; } @@ -300,11 +303,12 @@ namespace System public System.Text.Json.JsonNamingPolicy PropertyNamingPolicy { get => throw null; set => throw null; } public System.Text.Json.JsonCommentHandling ReadCommentHandling { get => throw null; set => throw null; } public System.Text.Json.Serialization.ReferenceHandler ReferenceHandler { get => throw null; set => throw null; } + public System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver TypeInfoResolver { get => throw null; set => throw null; } public System.Text.Json.Serialization.JsonUnknownTypeHandling UnknownTypeHandling { get => throw null; set => throw null; } public bool WriteIndented { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.JsonTokenType` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonTokenType` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonTokenType : byte { Comment = 6, @@ -321,7 +325,7 @@ namespace System True = 9, } - // Generated from `System.Text.Json.JsonValueKind` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonValueKind` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonValueKind : byte { Array = 2, @@ -334,19 +338,22 @@ namespace System Undefined = 0, } - // Generated from `System.Text.Json.JsonWriterOptions` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.JsonWriterOptions` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonWriterOptions { public System.Text.Encodings.Web.JavaScriptEncoder Encoder { get => throw null; set => throw null; } public bool Indented { get => throw null; set => throw null; } // Stub generator skipped constructor + public int MaxDepth { get => throw null; set => throw null; } public bool SkipValidation { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Utf8JsonReader` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Utf8JsonReader` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Utf8JsonReader { public System.Int64 BytesConsumed { get => throw null; } + public int CopyString(System.Span utf8Destination) => throw null; + public int CopyString(System.Span destination) => throw null; public int CurrentDepth { get => throw null; } public System.Text.Json.JsonReaderState CurrentState { get => throw null; } public bool GetBoolean() => throw null; @@ -395,6 +402,7 @@ namespace System public Utf8JsonReader(System.Buffers.ReadOnlySequence jsonData, bool isFinalBlock, System.Text.Json.JsonReaderState state) => throw null; public Utf8JsonReader(System.ReadOnlySpan jsonData, System.Text.Json.JsonReaderOptions options = default(System.Text.Json.JsonReaderOptions)) => throw null; public Utf8JsonReader(System.ReadOnlySpan jsonData, bool isFinalBlock, System.Text.Json.JsonReaderState state) => throw null; + public bool ValueIsEscaped { get => throw null; } public System.Buffers.ReadOnlySequence ValueSequence { get => throw null; } public System.ReadOnlySpan ValueSpan { get => throw null; } public bool ValueTextEquals(System.ReadOnlySpan utf8Text) => throw null; @@ -402,7 +410,7 @@ namespace System public bool ValueTextEquals(string text) => throw null; } - // Generated from `System.Text.Json.Utf8JsonWriter` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Utf8JsonWriter` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Utf8JsonWriter : System.IAsyncDisposable, System.IDisposable { public System.Int64 BytesCommitted { get => throw null; } @@ -529,7 +537,7 @@ namespace System namespace Nodes { - // Generated from `System.Text.Json.Nodes.JsonArray` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Nodes.JsonArray` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonArray : System.Text.Json.Nodes.JsonNode, System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.IEnumerable { public void Add(System.Text.Json.Nodes.JsonNode item) => throw null; @@ -552,7 +560,7 @@ namespace System public override void WriteTo(System.Text.Json.Utf8JsonWriter writer, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions)) => throw null; } - // Generated from `System.Text.Json.Nodes.JsonNode` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Nodes.JsonNode` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonNode { public System.Text.Json.Nodes.JsonArray AsArray() => throw null; @@ -641,14 +649,14 @@ namespace System public static implicit operator System.Text.Json.Nodes.JsonNode(System.UInt16? value) => throw null; } - // Generated from `System.Text.Json.Nodes.JsonNodeOptions` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Nodes.JsonNodeOptions` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonNodeOptions { // Stub generator skipped constructor public bool PropertyNameCaseInsensitive { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Nodes.JsonObject` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Nodes.JsonObject` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonObject : System.Text.Json.Nodes.JsonNode, System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { public void Add(System.Collections.Generic.KeyValuePair property) => throw null; @@ -673,7 +681,7 @@ namespace System public override void WriteTo(System.Text.Json.Utf8JsonWriter writer, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions)) => throw null; } - // Generated from `System.Text.Json.Nodes.JsonValue` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Nodes.JsonValue` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonValue : System.Text.Json.Nodes.JsonNode { public static System.Text.Json.Nodes.JsonValue Create(System.DateTime value, System.Text.Json.Nodes.JsonNodeOptions? options = default(System.Text.Json.Nodes.JsonNodeOptions?)) => throw null; @@ -719,50 +727,50 @@ namespace System } namespace Serialization { - // Generated from `System.Text.Json.Serialization.IJsonOnDeserialized` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.IJsonOnDeserialized` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IJsonOnDeserialized { void OnDeserialized(); } - // Generated from `System.Text.Json.Serialization.IJsonOnDeserializing` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.IJsonOnDeserializing` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IJsonOnDeserializing { void OnDeserializing(); } - // Generated from `System.Text.Json.Serialization.IJsonOnSerialized` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.IJsonOnSerialized` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IJsonOnSerialized { void OnSerialized(); } - // Generated from `System.Text.Json.Serialization.IJsonOnSerializing` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.IJsonOnSerializing` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IJsonOnSerializing { void OnSerializing(); } - // Generated from `System.Text.Json.Serialization.JsonAttribute` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonAttribute : System.Attribute { protected JsonAttribute() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonConstructorAttribute` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonConstructorAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonConstructorAttribute : System.Text.Json.Serialization.JsonAttribute { public JsonConstructorAttribute() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonConverter` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonConverter` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonConverter { public abstract bool CanConvert(System.Type typeToConvert); internal JsonConverter() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonConverter<>` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonConverter<>` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonConverter : System.Text.Json.Serialization.JsonConverter { public override bool CanConvert(System.Type typeToConvert) => throw null; @@ -774,7 +782,7 @@ namespace System public virtual void WriteAsPropertyName(System.Text.Json.Utf8JsonWriter writer, T value, System.Text.Json.JsonSerializerOptions options) => throw null; } - // Generated from `System.Text.Json.Serialization.JsonConverterAttribute` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonConverterAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonConverterAttribute : System.Text.Json.Serialization.JsonAttribute { public System.Type ConverterType { get => throw null; } @@ -783,27 +791,37 @@ namespace System public JsonConverterAttribute(System.Type converterType) => throw null; } - // Generated from `System.Text.Json.Serialization.JsonConverterFactory` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonConverterFactory` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonConverterFactory : System.Text.Json.Serialization.JsonConverter { public abstract System.Text.Json.Serialization.JsonConverter CreateConverter(System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options); protected JsonConverterFactory() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonExtensionDataAttribute` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonDerivedTypeAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class JsonDerivedTypeAttribute : System.Text.Json.Serialization.JsonAttribute + { + public System.Type DerivedType { get => throw null; } + public JsonDerivedTypeAttribute(System.Type derivedType) => throw null; + public JsonDerivedTypeAttribute(System.Type derivedType, int typeDiscriminator) => throw null; + public JsonDerivedTypeAttribute(System.Type derivedType, string typeDiscriminator) => throw null; + public object TypeDiscriminator { get => throw null; } + } + + // Generated from `System.Text.Json.Serialization.JsonExtensionDataAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonExtensionDataAttribute : System.Text.Json.Serialization.JsonAttribute { public JsonExtensionDataAttribute() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonIgnoreAttribute` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonIgnoreAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonIgnoreAttribute : System.Text.Json.Serialization.JsonAttribute { public System.Text.Json.Serialization.JsonIgnoreCondition Condition { get => throw null; set => throw null; } public JsonIgnoreAttribute() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonIgnoreCondition` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonIgnoreCondition` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonIgnoreCondition : int { Always = 1, @@ -812,20 +830,20 @@ namespace System WhenWritingNull = 3, } - // Generated from `System.Text.Json.Serialization.JsonIncludeAttribute` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonIncludeAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonIncludeAttribute : System.Text.Json.Serialization.JsonAttribute { public JsonIncludeAttribute() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonKnownNamingPolicy` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonKnownNamingPolicy` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonKnownNamingPolicy : int { CamelCase = 1, Unspecified = 0, } - // Generated from `System.Text.Json.Serialization.JsonNumberHandling` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonNumberHandling` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum JsonNumberHandling : int { @@ -835,28 +853,43 @@ namespace System WriteAsString = 2, } - // Generated from `System.Text.Json.Serialization.JsonNumberHandlingAttribute` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonNumberHandlingAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonNumberHandlingAttribute : System.Text.Json.Serialization.JsonAttribute { public System.Text.Json.Serialization.JsonNumberHandling Handling { get => throw null; } public JsonNumberHandlingAttribute(System.Text.Json.Serialization.JsonNumberHandling handling) => throw null; } - // Generated from `System.Text.Json.Serialization.JsonPropertyNameAttribute` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonPolymorphicAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class JsonPolymorphicAttribute : System.Text.Json.Serialization.JsonAttribute + { + public bool IgnoreUnrecognizedTypeDiscriminators { get => throw null; set => throw null; } + public JsonPolymorphicAttribute() => throw null; + public string TypeDiscriminatorPropertyName { get => throw null; set => throw null; } + public System.Text.Json.Serialization.JsonUnknownDerivedTypeHandling UnknownDerivedTypeHandling { get => throw null; set => throw null; } + } + + // Generated from `System.Text.Json.Serialization.JsonPropertyNameAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonPropertyNameAttribute : System.Text.Json.Serialization.JsonAttribute { public JsonPropertyNameAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `System.Text.Json.Serialization.JsonPropertyOrderAttribute` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonPropertyOrderAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonPropertyOrderAttribute : System.Text.Json.Serialization.JsonAttribute { public JsonPropertyOrderAttribute(int order) => throw null; public int Order { get => throw null; } } - // Generated from `System.Text.Json.Serialization.JsonSerializableAttribute` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonRequiredAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class JsonRequiredAttribute : System.Text.Json.Serialization.JsonAttribute + { + public JsonRequiredAttribute() => throw null; + } + + // Generated from `System.Text.Json.Serialization.JsonSerializableAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonSerializableAttribute : System.Text.Json.Serialization.JsonAttribute { public System.Text.Json.Serialization.JsonSourceGenerationMode GenerationMode { get => throw null; set => throw null; } @@ -864,16 +897,17 @@ namespace System public string TypeInfoPropertyName { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.JsonSerializerContext` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` - public abstract class JsonSerializerContext + // Generated from `System.Text.Json.Serialization.JsonSerializerContext` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public abstract class JsonSerializerContext : System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver { protected abstract System.Text.Json.JsonSerializerOptions GeneratedSerializerOptions { get; } public abstract System.Text.Json.Serialization.Metadata.JsonTypeInfo GetTypeInfo(System.Type type); + System.Text.Json.Serialization.Metadata.JsonTypeInfo System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(System.Type type, System.Text.Json.JsonSerializerOptions options) => throw null; protected JsonSerializerContext(System.Text.Json.JsonSerializerOptions options) => throw null; public System.Text.Json.JsonSerializerOptions Options { get => throw null; } } - // Generated from `System.Text.Json.Serialization.JsonSourceGenerationMode` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonSourceGenerationMode` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum JsonSourceGenerationMode : int { @@ -882,7 +916,7 @@ namespace System Serialization = 2, } - // Generated from `System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonSourceGenerationOptionsAttribute : System.Text.Json.Serialization.JsonAttribute { public System.Text.Json.Serialization.JsonIgnoreCondition DefaultIgnoreCondition { get => throw null; set => throw null; } @@ -895,7 +929,7 @@ namespace System public bool WriteIndented { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.JsonStringEnumConverter` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonStringEnumConverter` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonStringEnumConverter : System.Text.Json.Serialization.JsonConverterFactory { public override bool CanConvert(System.Type typeToConvert) => throw null; @@ -904,14 +938,22 @@ namespace System public JsonStringEnumConverter(System.Text.Json.JsonNamingPolicy namingPolicy = default(System.Text.Json.JsonNamingPolicy), bool allowIntegerValues = default(bool)) => throw null; } - // Generated from `System.Text.Json.Serialization.JsonUnknownTypeHandling` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.JsonUnknownDerivedTypeHandling` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public enum JsonUnknownDerivedTypeHandling : int + { + FailSerialization = 0, + FallBackToBaseType = 1, + FallBackToNearestAncestor = 2, + } + + // Generated from `System.Text.Json.Serialization.JsonUnknownTypeHandling` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonUnknownTypeHandling : int { JsonElement = 0, JsonNode = 1, } - // Generated from `System.Text.Json.Serialization.ReferenceHandler` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.ReferenceHandler` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ReferenceHandler { public abstract System.Text.Json.Serialization.ReferenceResolver CreateResolver(); @@ -920,14 +962,14 @@ namespace System protected ReferenceHandler() => throw null; } - // Generated from `System.Text.Json.Serialization.ReferenceHandler<>` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.ReferenceHandler<>` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ReferenceHandler : System.Text.Json.Serialization.ReferenceHandler where T : System.Text.Json.Serialization.ReferenceResolver, new() { public override System.Text.Json.Serialization.ReferenceResolver CreateResolver() => throw null; public ReferenceHandler() => throw null; } - // Generated from `System.Text.Json.Serialization.ReferenceResolver` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.ReferenceResolver` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ReferenceResolver { public abstract void AddReference(string referenceId, object value); @@ -938,7 +980,21 @@ namespace System namespace Metadata { - // Generated from `System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<>` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class DefaultJsonTypeInfoResolver : System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver + { + public DefaultJsonTypeInfoResolver() => throw null; + public virtual System.Text.Json.Serialization.Metadata.JsonTypeInfo GetTypeInfo(System.Type type, System.Text.Json.JsonSerializerOptions options) => throw null; + public System.Collections.Generic.IList> Modifiers { get => throw null; } + } + + // Generated from `System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public interface IJsonTypeInfoResolver + { + System.Text.Json.Serialization.Metadata.JsonTypeInfo GetTypeInfo(System.Type type, System.Text.Json.JsonSerializerOptions options); + } + + // Generated from `System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<>` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonCollectionInfoValues { public System.Text.Json.Serialization.Metadata.JsonTypeInfo ElementInfo { get => throw null; set => throw null; } @@ -949,7 +1005,18 @@ namespace System public System.Action SerializeHandler { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonMetadataServices` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.Metadata.JsonDerivedType` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public struct JsonDerivedType + { + public System.Type DerivedType { get => throw null; } + // Stub generator skipped constructor + public JsonDerivedType(System.Type derivedType) => throw null; + public JsonDerivedType(System.Type derivedType, int typeDiscriminator) => throw null; + public JsonDerivedType(System.Type derivedType, string typeDiscriminator) => throw null; + public object TypeDiscriminator { get => throw null; } + } + + // Generated from `System.Text.Json.Serialization.Metadata.JsonMetadataServices` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class JsonMetadataServices { public static System.Text.Json.Serialization.JsonConverter BooleanConverter { get => throw null; } @@ -960,6 +1027,7 @@ namespace System public static System.Text.Json.Serialization.Metadata.JsonTypeInfo CreateConcurrentQueueInfo(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues collectionInfo) where TCollection : System.Collections.Concurrent.ConcurrentQueue => throw null; public static System.Text.Json.Serialization.Metadata.JsonTypeInfo CreateConcurrentStackInfo(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues collectionInfo) where TCollection : System.Collections.Concurrent.ConcurrentStack => throw null; public static System.Text.Json.Serialization.Metadata.JsonTypeInfo CreateDictionaryInfo(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues collectionInfo) where TCollection : System.Collections.Generic.Dictionary => throw null; + public static System.Text.Json.Serialization.Metadata.JsonTypeInfo CreateIAsyncEnumerableInfo(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues collectionInfo) where TCollection : System.Collections.Generic.IAsyncEnumerable => throw null; public static System.Text.Json.Serialization.Metadata.JsonTypeInfo CreateICollectionInfo(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues collectionInfo) where TCollection : System.Collections.Generic.ICollection => throw null; public static System.Text.Json.Serialization.Metadata.JsonTypeInfo CreateIDictionaryInfo(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues collectionInfo) where TCollection : System.Collections.Generic.IDictionary => throw null; public static System.Text.Json.Serialization.Metadata.JsonTypeInfo CreateIDictionaryInfo(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues collectionInfo) where TCollection : System.Collections.IDictionary => throw null; @@ -979,11 +1047,13 @@ namespace System public static System.Text.Json.Serialization.Metadata.JsonTypeInfo CreateStackInfo(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues collectionInfo) where TCollection : System.Collections.Generic.Stack => throw null; public static System.Text.Json.Serialization.Metadata.JsonTypeInfo CreateStackInfo(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues collectionInfo, System.Action addFunc) where TCollection : System.Collections.IEnumerable => throw null; public static System.Text.Json.Serialization.Metadata.JsonTypeInfo CreateValueInfo(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.JsonConverter converter) => throw null; + public static System.Text.Json.Serialization.JsonConverter DateOnlyConverter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter DateTimeConverter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter DateTimeOffsetConverter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter DecimalConverter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter DoubleConverter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter GetEnumConverter(System.Text.Json.JsonSerializerOptions options) where T : struct => throw null; + public static System.Text.Json.Serialization.JsonConverter GetNullableConverter(System.Text.Json.JsonSerializerOptions options) where T : struct => throw null; public static System.Text.Json.Serialization.JsonConverter GetNullableConverter(System.Text.Json.Serialization.Metadata.JsonTypeInfo underlyingTypeInfo) where T : struct => throw null; public static System.Text.Json.Serialization.JsonConverter GetUnsupportedTypeConverter() => throw null; public static System.Text.Json.Serialization.JsonConverter GuidConverter { get => throw null; } @@ -991,6 +1061,7 @@ namespace System public static System.Text.Json.Serialization.JsonConverter Int32Converter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter Int64Converter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter JsonArrayConverter { get => throw null; } + public static System.Text.Json.Serialization.JsonConverter JsonDocumentConverter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter JsonElementConverter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter JsonNodeConverter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter JsonObjectConverter { get => throw null; } @@ -999,6 +1070,7 @@ namespace System public static System.Text.Json.Serialization.JsonConverter SByteConverter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter SingleConverter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter StringConverter { get => throw null; } + public static System.Text.Json.Serialization.JsonConverter TimeOnlyConverter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter TimeSpanConverter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter UInt16Converter { get => throw null; } public static System.Text.Json.Serialization.JsonConverter UInt32Converter { get => throw null; } @@ -1007,7 +1079,7 @@ namespace System public static System.Text.Json.Serialization.JsonConverter VersionConverter { get => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<>` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<>` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonObjectInfoValues { public System.Func ConstructorParameterMetadataInitializer { get => throw null; set => throw null; } @@ -1019,7 +1091,7 @@ namespace System public System.Action SerializeHandler { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonParameterInfoValues` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.Metadata.JsonParameterInfoValues` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonParameterInfoValues { public object DefaultValue { get => throw null; set => throw null; } @@ -1030,12 +1102,34 @@ namespace System public int Position { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonPropertyInfo` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` - public abstract class JsonPropertyInfo + // Generated from `System.Text.Json.Serialization.Metadata.JsonPolymorphismOptions` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public class JsonPolymorphismOptions { + public System.Collections.Generic.IList DerivedTypes { get => throw null; } + public bool IgnoreUnrecognizedTypeDiscriminators { get => throw null; set => throw null; } + public JsonPolymorphismOptions() => throw null; + public string TypeDiscriminatorPropertyName { get => throw null; set => throw null; } + public System.Text.Json.Serialization.JsonUnknownDerivedTypeHandling UnknownDerivedTypeHandling { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<>` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.Metadata.JsonPropertyInfo` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public abstract class JsonPropertyInfo + { + public System.Reflection.ICustomAttributeProvider AttributeProvider { get => throw null; set => throw null; } + public System.Text.Json.Serialization.JsonConverter CustomConverter { get => throw null; set => throw null; } + public System.Func Get { get => throw null; set => throw null; } + public bool IsExtensionData { get => throw null; set => throw null; } + public bool IsRequired { get => throw null; set => throw null; } + public string Name { get => throw null; set => throw null; } + public System.Text.Json.Serialization.JsonNumberHandling? NumberHandling { get => throw null; set => throw null; } + public System.Text.Json.JsonSerializerOptions Options { get => throw null; } + public int Order { get => throw null; set => throw null; } + public System.Type PropertyType { get => throw null; } + public System.Action Set { get => throw null; set => throw null; } + public System.Func ShouldSerialize { get => throw null; set => throw null; } + } + + // Generated from `System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<>` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonPropertyInfoValues { public System.Text.Json.Serialization.JsonConverter Converter { get => throw null; set => throw null; } @@ -1055,18 +1149,51 @@ namespace System public System.Action Setter { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonTypeInfo` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` - public class JsonTypeInfo + // Generated from `System.Text.Json.Serialization.Metadata.JsonTypeInfo` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public abstract class JsonTypeInfo { + public System.Text.Json.Serialization.JsonConverter Converter { get => throw null; } + public System.Text.Json.Serialization.Metadata.JsonPropertyInfo CreateJsonPropertyInfo(System.Type propertyType, string name) => throw null; + public static System.Text.Json.Serialization.Metadata.JsonTypeInfo CreateJsonTypeInfo(System.Type type, System.Text.Json.JsonSerializerOptions options) => throw null; + public static System.Text.Json.Serialization.Metadata.JsonTypeInfo CreateJsonTypeInfo(System.Text.Json.JsonSerializerOptions options) => throw null; + public System.Func CreateObject { get => throw null; set => throw null; } + public bool IsReadOnly { get => throw null; } internal JsonTypeInfo() => throw null; + public System.Text.Json.Serialization.Metadata.JsonTypeInfoKind Kind { get => throw null; } + public void MakeReadOnly() => throw null; + public System.Text.Json.Serialization.JsonNumberHandling? NumberHandling { get => throw null; set => throw null; } + public System.Action OnDeserialized { get => throw null; set => throw null; } + public System.Action OnDeserializing { get => throw null; set => throw null; } + public System.Action OnSerialized { get => throw null; set => throw null; } + public System.Action OnSerializing { get => throw null; set => throw null; } + public System.Text.Json.JsonSerializerOptions Options { get => throw null; } + public System.Text.Json.Serialization.Metadata.JsonPolymorphismOptions PolymorphismOptions { get => throw null; set => throw null; } + public System.Collections.Generic.IList Properties { get => throw null; } + public System.Type Type { get => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonTypeInfo<>` in `System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Text.Json.Serialization.Metadata.JsonTypeInfo<>` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonTypeInfo : System.Text.Json.Serialization.Metadata.JsonTypeInfo { + public System.Func CreateObject { get => throw null; set => throw null; } public System.Action SerializeHandler { get => throw null; } } + // Generated from `System.Text.Json.Serialization.Metadata.JsonTypeInfoKind` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public enum JsonTypeInfoKind : int + { + Dictionary = 3, + Enumerable = 2, + None = 0, + Object = 1, + } + + // Generated from `System.Text.Json.Serialization.Metadata.JsonTypeInfoResolver` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public static class JsonTypeInfoResolver + { + public static System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Combine(params System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver[] resolvers) => throw null; + } + } } } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.RegularExpressions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.RegularExpressions.cs index ee63bfff6fd..220a0838c91 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.RegularExpressions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.RegularExpressions.cs @@ -6,7 +6,7 @@ namespace System { namespace RegularExpressions { - // Generated from `System.Text.RegularExpressions.Capture` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.Capture` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Capture { internal Capture() => throw null; @@ -17,7 +17,7 @@ namespace System public System.ReadOnlySpan ValueSpan { get => throw null; } } - // Generated from `System.Text.RegularExpressions.CaptureCollection` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.CaptureCollection` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CaptureCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { void System.Collections.Generic.ICollection.Add(System.Text.RegularExpressions.Capture item) => throw null; @@ -48,7 +48,21 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Text.RegularExpressions.Group` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.GeneratedRegexAttribute` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public class GeneratedRegexAttribute : System.Attribute + { + public string CultureName { get => throw null; } + public GeneratedRegexAttribute(string pattern) => throw null; + public GeneratedRegexAttribute(string pattern, System.Text.RegularExpressions.RegexOptions options) => throw null; + public GeneratedRegexAttribute(string pattern, System.Text.RegularExpressions.RegexOptions options, int matchTimeoutMilliseconds) => throw null; + public GeneratedRegexAttribute(string pattern, System.Text.RegularExpressions.RegexOptions options, int matchTimeoutMilliseconds, string cultureName) => throw null; + public GeneratedRegexAttribute(string pattern, System.Text.RegularExpressions.RegexOptions options, string cultureName) => throw null; + public int MatchTimeoutMilliseconds { get => throw null; } + public System.Text.RegularExpressions.RegexOptions Options { get => throw null; } + public string Pattern { get => throw null; } + } + + // Generated from `System.Text.RegularExpressions.Group` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Group : System.Text.RegularExpressions.Capture { public System.Text.RegularExpressions.CaptureCollection Captures { get => throw null; } @@ -58,7 +72,7 @@ namespace System public static System.Text.RegularExpressions.Group Synchronized(System.Text.RegularExpressions.Group inner) => throw null; } - // Generated from `System.Text.RegularExpressions.GroupCollection` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.GroupCollection` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GroupCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyDictionary, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { void System.Collections.Generic.ICollection.Add(System.Text.RegularExpressions.Group item) => throw null; @@ -95,7 +109,7 @@ namespace System public System.Collections.Generic.IEnumerable Values { get => throw null; } } - // Generated from `System.Text.RegularExpressions.Match` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.Match` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Match : System.Text.RegularExpressions.Group { public static System.Text.RegularExpressions.Match Empty { get => throw null; } @@ -105,7 +119,7 @@ namespace System public static System.Text.RegularExpressions.Match Synchronized(System.Text.RegularExpressions.Match inner) => throw null; } - // Generated from `System.Text.RegularExpressions.MatchCollection` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.MatchCollection` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MatchCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { void System.Collections.Generic.ICollection.Add(System.Text.RegularExpressions.Match item) => throw null; @@ -136,18 +150,42 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Text.RegularExpressions.MatchEvaluator` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.MatchEvaluator` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate string MatchEvaluator(System.Text.RegularExpressions.Match match); - // Generated from `System.Text.RegularExpressions.Regex` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.Regex` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Regex : System.Runtime.Serialization.ISerializable { + // Generated from `System.Text.RegularExpressions.Regex+ValueMatchEnumerator` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ValueMatchEnumerator + { + public System.Text.RegularExpressions.ValueMatch Current { get => throw null; } + public System.Text.RegularExpressions.Regex.ValueMatchEnumerator GetEnumerator() => throw null; + public bool MoveNext() => throw null; + // Stub generator skipped constructor + } + + public static int CacheSize { get => throw null; set => throw null; } protected System.Collections.IDictionary CapNames { get => throw null; set => throw null; } protected System.Collections.IDictionary Caps { get => throw null; set => throw null; } public static void CompileToAssembly(System.Text.RegularExpressions.RegexCompilationInfo[] regexinfos, System.Reflection.AssemblyName assemblyname) => throw null; public static void CompileToAssembly(System.Text.RegularExpressions.RegexCompilationInfo[] regexinfos, System.Reflection.AssemblyName assemblyname, System.Reflection.Emit.CustomAttributeBuilder[] attributes) => throw null; public static void CompileToAssembly(System.Text.RegularExpressions.RegexCompilationInfo[] regexinfos, System.Reflection.AssemblyName assemblyname, System.Reflection.Emit.CustomAttributeBuilder[] attributes, string resourceFile) => throw null; + public int Count(System.ReadOnlySpan input) => throw null; + public int Count(System.ReadOnlySpan input, int startat) => throw null; + public static int Count(System.ReadOnlySpan input, string pattern) => throw null; + public static int Count(System.ReadOnlySpan input, string pattern, System.Text.RegularExpressions.RegexOptions options) => throw null; + public static int Count(System.ReadOnlySpan input, string pattern, System.Text.RegularExpressions.RegexOptions options, System.TimeSpan matchTimeout) => throw null; + public int Count(string input) => throw null; + public static int Count(string input, string pattern) => throw null; + public static int Count(string input, string pattern, System.Text.RegularExpressions.RegexOptions options) => throw null; + public static int Count(string input, string pattern, System.Text.RegularExpressions.RegexOptions options, System.TimeSpan matchTimeout) => throw null; + public System.Text.RegularExpressions.Regex.ValueMatchEnumerator EnumerateMatches(System.ReadOnlySpan input) => throw null; + public System.Text.RegularExpressions.Regex.ValueMatchEnumerator EnumerateMatches(System.ReadOnlySpan input, int startat) => throw null; + public static System.Text.RegularExpressions.Regex.ValueMatchEnumerator EnumerateMatches(System.ReadOnlySpan input, string pattern) => throw null; + public static System.Text.RegularExpressions.Regex.ValueMatchEnumerator EnumerateMatches(System.ReadOnlySpan input, string pattern, System.Text.RegularExpressions.RegexOptions options) => throw null; + public static System.Text.RegularExpressions.Regex.ValueMatchEnumerator EnumerateMatches(System.ReadOnlySpan input, string pattern, System.Text.RegularExpressions.RegexOptions options, System.TimeSpan matchTimeout) => throw null; public static string Escape(string str) => throw null; public string[] GetGroupNames() => throw null; public int[] GetGroupNumbers() => throw null; @@ -156,6 +194,11 @@ namespace System public int GroupNumberFromName(string name) => throw null; public static System.TimeSpan InfiniteMatchTimeout; protected void InitializeReferences() => throw null; + public bool IsMatch(System.ReadOnlySpan input) => throw null; + public bool IsMatch(System.ReadOnlySpan input, int startat) => throw null; + public static bool IsMatch(System.ReadOnlySpan input, string pattern) => throw null; + public static bool IsMatch(System.ReadOnlySpan input, string pattern, System.Text.RegularExpressions.RegexOptions options) => throw null; + public static bool IsMatch(System.ReadOnlySpan input, string pattern, System.Text.RegularExpressions.RegexOptions options, System.TimeSpan matchTimeout) => throw null; public bool IsMatch(string input) => throw null; public bool IsMatch(string input, int startat) => throw null; public static bool IsMatch(string input, string pattern) => throw null; @@ -213,7 +256,7 @@ namespace System protected internal System.Text.RegularExpressions.RegexOptions roptions; } - // Generated from `System.Text.RegularExpressions.RegexCompilationInfo` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.RegexCompilationInfo` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegexCompilationInfo { public bool IsPublic { get => throw null; set => throw null; } @@ -226,7 +269,7 @@ namespace System public RegexCompilationInfo(string pattern, System.Text.RegularExpressions.RegexOptions options, string name, string fullnamespace, bool ispublic, System.TimeSpan matchTimeout) => throw null; } - // Generated from `System.Text.RegularExpressions.RegexMatchTimeoutException` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.RegexMatchTimeoutException` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegexMatchTimeoutException : System.TimeoutException, System.Runtime.Serialization.ISerializable { void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -240,7 +283,7 @@ namespace System public RegexMatchTimeoutException(string regexInput, string regexPattern, System.TimeSpan matchTimeout) => throw null; } - // Generated from `System.Text.RegularExpressions.RegexOptions` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.RegexOptions` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum RegexOptions : int { @@ -251,12 +294,13 @@ namespace System IgnoreCase = 1, IgnorePatternWhitespace = 32, Multiline = 2, + NonBacktracking = 1024, None = 0, RightToLeft = 64, Singleline = 16, } - // Generated from `System.Text.RegularExpressions.RegexParseError` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.RegexParseError` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RegexParseError : int { AlternationHasComment = 17, @@ -293,7 +337,7 @@ namespace System UnterminatedComment = 14, } - // Generated from `System.Text.RegularExpressions.RegexParseException` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.RegexParseException` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegexParseException : System.ArgumentException { public System.Text.RegularExpressions.RegexParseError Error { get => throw null; } @@ -301,7 +345,7 @@ namespace System public int Offset { get => throw null; } } - // Generated from `System.Text.RegularExpressions.RegexRunner` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.RegexRunner` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class RegexRunner { protected void Capture(int capnum, int start, int end) => throw null; @@ -314,9 +358,9 @@ namespace System protected void DoubleStack() => throw null; protected void DoubleTrack() => throw null; protected void EnsureStorage() => throw null; - protected abstract bool FindFirstChar(); - protected abstract void Go(); - protected abstract void InitTrackCount(); + protected virtual bool FindFirstChar() => throw null; + protected virtual void Go() => throw null; + protected virtual void InitTrackCount() => throw null; protected bool IsBoundary(int index, int startpos, int endpos) => throw null; protected bool IsECMABoundary(int index, int startpos, int endpos) => throw null; protected bool IsMatched(int cap) => throw null; @@ -324,6 +368,7 @@ namespace System protected int MatchLength(int cap) => throw null; protected int Popcrawl() => throw null; protected internal RegexRunner() => throw null; + protected internal virtual void Scan(System.ReadOnlySpan text) => throw null; protected internal System.Text.RegularExpressions.Match Scan(System.Text.RegularExpressions.Regex regex, string text, int textbeg, int textend, int textstart, int prevlen, bool quick) => throw null; protected internal System.Text.RegularExpressions.Match Scan(System.Text.RegularExpressions.Regex regex, string text, int textbeg, int textend, int textstart, int prevlen, bool quick, System.TimeSpan timeout) => throw null; protected void TransferCapture(int capnum, int uncapnum, int start, int end) => throw null; @@ -344,13 +389,21 @@ namespace System protected internal int runtrackpos; } - // Generated from `System.Text.RegularExpressions.RegexRunnerFactory` in `System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Text.RegularExpressions.RegexRunnerFactory` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class RegexRunnerFactory { protected internal abstract System.Text.RegularExpressions.RegexRunner CreateInstance(); protected RegexRunnerFactory() => throw null; } + // Generated from `System.Text.RegularExpressions.ValueMatch` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct ValueMatch + { + public int Index { get => throw null; } + public int Length { get => throw null; } + // Stub generator skipped constructor + } + } } } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Channels.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Channels.cs index 6e076885906..140b75c98f5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Channels.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Channels.cs @@ -6,7 +6,7 @@ namespace System { namespace Channels { - // Generated from `System.Threading.Channels.BoundedChannelFullMode` in `System.Threading.Channels, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Threading.Channels.BoundedChannelFullMode` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum BoundedChannelFullMode : int { DropNewest = 1, @@ -15,7 +15,7 @@ namespace System Wait = 0, } - // Generated from `System.Threading.Channels.BoundedChannelOptions` in `System.Threading.Channels, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Threading.Channels.BoundedChannelOptions` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class BoundedChannelOptions : System.Threading.Channels.ChannelOptions { public BoundedChannelOptions(int capacity) => throw null; @@ -23,7 +23,7 @@ namespace System public System.Threading.Channels.BoundedChannelFullMode FullMode { get => throw null; set => throw null; } } - // Generated from `System.Threading.Channels.Channel` in `System.Threading.Channels, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Threading.Channels.Channel` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Channel { public static System.Threading.Channels.Channel CreateBounded(System.Threading.Channels.BoundedChannelOptions options) => throw null; @@ -33,7 +33,7 @@ namespace System public static System.Threading.Channels.Channel CreateUnbounded(System.Threading.Channels.UnboundedChannelOptions options) => throw null; } - // Generated from `System.Threading.Channels.Channel<,>` in `System.Threading.Channels, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Threading.Channels.Channel<,>` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Channel { protected Channel() => throw null; @@ -43,13 +43,13 @@ namespace System public static implicit operator System.Threading.Channels.ChannelWriter(System.Threading.Channels.Channel channel) => throw null; } - // Generated from `System.Threading.Channels.Channel<>` in `System.Threading.Channels, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Threading.Channels.Channel<>` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Channel : System.Threading.Channels.Channel { protected Channel() => throw null; } - // Generated from `System.Threading.Channels.ChannelClosedException` in `System.Threading.Channels, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Threading.Channels.ChannelClosedException` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ChannelClosedException : System.InvalidOperationException { public ChannelClosedException() => throw null; @@ -59,7 +59,7 @@ namespace System public ChannelClosedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.Channels.ChannelOptions` in `System.Threading.Channels, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Threading.Channels.ChannelOptions` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ChannelOptions { public bool AllowSynchronousContinuations { get => throw null; set => throw null; } @@ -68,7 +68,7 @@ namespace System public bool SingleWriter { get => throw null; set => throw null; } } - // Generated from `System.Threading.Channels.ChannelReader<>` in `System.Threading.Channels, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Threading.Channels.ChannelReader<>` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ChannelReader { public virtual bool CanCount { get => throw null; } @@ -83,7 +83,7 @@ namespace System public abstract System.Threading.Tasks.ValueTask WaitToReadAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `System.Threading.Channels.ChannelWriter<>` in `System.Threading.Channels, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Threading.Channels.ChannelWriter<>` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ChannelWriter { protected ChannelWriter() => throw null; @@ -94,7 +94,7 @@ namespace System public virtual System.Threading.Tasks.ValueTask WriteAsync(T item, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.Threading.Channels.UnboundedChannelOptions` in `System.Threading.Channels, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Threading.Channels.UnboundedChannelOptions` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UnboundedChannelOptions : System.Threading.Channels.ChannelOptions { public UnboundedChannelOptions() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Overlapped.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Overlapped.cs index b9fb80be02d..d4d29658180 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Overlapped.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Overlapped.cs @@ -4,10 +4,10 @@ namespace System { namespace Threading { - // Generated from `System.Threading.IOCompletionCallback` in `System.Threading.Overlapped, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.IOCompletionCallback` in `System.Threading.Overlapped, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` unsafe public delegate void IOCompletionCallback(System.UInt32 errorCode, System.UInt32 numBytes, System.Threading.NativeOverlapped* pOVERLAP); - // Generated from `System.Threading.NativeOverlapped` in `System.Threading.Overlapped, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.NativeOverlapped` in `System.Threading.Overlapped, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct NativeOverlapped { public System.IntPtr EventHandle; @@ -18,7 +18,7 @@ namespace System public int OffsetLow; } - // Generated from `System.Threading.Overlapped` in `System.Threading.Overlapped, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Overlapped` in `System.Threading.Overlapped, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Overlapped { public System.IAsyncResult AsyncResult { get => throw null; set => throw null; } @@ -37,7 +37,7 @@ namespace System unsafe public System.Threading.NativeOverlapped* UnsafePack(System.Threading.IOCompletionCallback iocb, object userData) => throw null; } - // Generated from `System.Threading.PreAllocatedOverlapped` in `System.Threading.Overlapped, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.PreAllocatedOverlapped` in `System.Threading.Overlapped, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PreAllocatedOverlapped : System.IDisposable { public void Dispose() => throw null; @@ -46,7 +46,7 @@ namespace System // ERR: Stub generator didn't handle member: ~PreAllocatedOverlapped } - // Generated from `System.Threading.ThreadPoolBoundHandle` in `System.Threading.Overlapped, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ThreadPoolBoundHandle` in `System.Threading.Overlapped, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadPoolBoundHandle : System.IDisposable { unsafe public System.Threading.NativeOverlapped* AllocateNativeOverlapped(System.Threading.IOCompletionCallback callback, object state, object pinData) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Dataflow.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Dataflow.cs index a4d85274e18..3d6201cb73d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Dataflow.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Dataflow.cs @@ -8,7 +8,7 @@ namespace System { namespace Dataflow { - // Generated from `System.Threading.Tasks.Dataflow.ActionBlock<>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.ActionBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ActionBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public ActionBlock(System.Action action) => throw null; @@ -24,7 +24,7 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.BatchBlock<>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.BatchBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BatchBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public BatchBlock(int batchSize) => throw null; @@ -45,7 +45,7 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.BatchedJoinBlock<,,>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.BatchedJoinBlock<,,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BatchedJoinBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Collections.Generic.IList, System.Collections.Generic.IList>>, System.Threading.Tasks.Dataflow.ISourceBlock, System.Collections.Generic.IList, System.Collections.Generic.IList>> { public int BatchSize { get => throw null; } @@ -67,7 +67,7 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList, System.Collections.Generic.IList, System.Collections.Generic.IList>> items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.BatchedJoinBlock<,>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.BatchedJoinBlock<,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BatchedJoinBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Collections.Generic.IList>>, System.Threading.Tasks.Dataflow.ISourceBlock, System.Collections.Generic.IList>> { public int BatchSize { get => throw null; } @@ -88,7 +88,7 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList, System.Collections.Generic.IList>> items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.BroadcastBlock<>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.BroadcastBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BroadcastBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public BroadcastBlock(System.Func cloningFunction) => throw null; @@ -106,7 +106,7 @@ namespace System bool System.Threading.Tasks.Dataflow.IReceivableSourceBlock.TryReceiveAll(out System.Collections.Generic.IList items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.BufferBlock<>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.BufferBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BufferBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public BufferBlock() => throw null; @@ -125,7 +125,7 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.DataflowBlock` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.DataflowBlock` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DataflowBlock { public static System.IObservable AsObservable(this System.Threading.Tasks.Dataflow.ISourceBlock source) => throw null; @@ -156,7 +156,7 @@ namespace System public static bool TryReceive(this System.Threading.Tasks.Dataflow.IReceivableSourceBlock source, out TOutput item) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.DataflowBlockOptions` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.DataflowBlockOptions` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataflowBlockOptions { public int BoundedCapacity { get => throw null; set => throw null; } @@ -169,7 +169,7 @@ namespace System public const int Unbounded = default; } - // Generated from `System.Threading.Tasks.Dataflow.DataflowLinkOptions` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.DataflowLinkOptions` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataflowLinkOptions { public bool Append { get => throw null; set => throw null; } @@ -178,7 +178,7 @@ namespace System public bool PropagateCompletion { get => throw null; set => throw null; } } - // Generated from `System.Threading.Tasks.Dataflow.DataflowMessageHeader` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.DataflowMessageHeader` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DataflowMessageHeader : System.IEquatable { public static bool operator !=(System.Threading.Tasks.Dataflow.DataflowMessageHeader left, System.Threading.Tasks.Dataflow.DataflowMessageHeader right) => throw null; @@ -192,7 +192,7 @@ namespace System public bool IsValid { get => throw null; } } - // Generated from `System.Threading.Tasks.Dataflow.DataflowMessageStatus` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.DataflowMessageStatus` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DataflowMessageStatus : int { Accepted = 0, @@ -202,7 +202,7 @@ namespace System Postponed = 2, } - // Generated from `System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExecutionDataflowBlockOptions : System.Threading.Tasks.Dataflow.DataflowBlockOptions { public ExecutionDataflowBlockOptions() => throw null; @@ -210,7 +210,7 @@ namespace System public bool SingleProducerConstrained { get => throw null; set => throw null; } } - // Generated from `System.Threading.Tasks.Dataflow.GroupingDataflowBlockOptions` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.GroupingDataflowBlockOptions` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GroupingDataflowBlockOptions : System.Threading.Tasks.Dataflow.DataflowBlockOptions { public bool Greedy { get => throw null; set => throw null; } @@ -218,7 +218,7 @@ namespace System public System.Int64 MaxNumberOfGroups { get => throw null; set => throw null; } } - // Generated from `System.Threading.Tasks.Dataflow.IDataflowBlock` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.IDataflowBlock` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataflowBlock { void Complete(); @@ -226,19 +226,19 @@ namespace System void Fault(System.Exception exception); } - // Generated from `System.Threading.Tasks.Dataflow.IPropagatorBlock<,>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.IPropagatorBlock<,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IPropagatorBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { } - // Generated from `System.Threading.Tasks.Dataflow.IReceivableSourceBlock<>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.IReceivableSourceBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReceivableSourceBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.ISourceBlock { bool TryReceive(System.Predicate filter, out TOutput item); bool TryReceiveAll(out System.Collections.Generic.IList items); } - // Generated from `System.Threading.Tasks.Dataflow.ISourceBlock<>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.ISourceBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISourceBlock : System.Threading.Tasks.Dataflow.IDataflowBlock { TOutput ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed); @@ -247,13 +247,13 @@ namespace System bool ReserveMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target); } - // Generated from `System.Threading.Tasks.Dataflow.ITargetBlock<>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.ITargetBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITargetBlock : System.Threading.Tasks.Dataflow.IDataflowBlock { System.Threading.Tasks.Dataflow.DataflowMessageStatus OfferMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, TInput messageValue, System.Threading.Tasks.Dataflow.ISourceBlock source, bool consumeToAccept); } - // Generated from `System.Threading.Tasks.Dataflow.JoinBlock<,,>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.JoinBlock<,,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JoinBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock>, System.Threading.Tasks.Dataflow.ISourceBlock> { public void Complete() => throw null; @@ -274,7 +274,7 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList> items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.JoinBlock<,>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.JoinBlock<,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JoinBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock>, System.Threading.Tasks.Dataflow.ISourceBlock> { public void Complete() => throw null; @@ -294,7 +294,7 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList> items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.TransformBlock<,>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.TransformBlock<,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TransformBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public void Complete() => throw null; @@ -316,7 +316,7 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.TransformManyBlock<,>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.TransformManyBlock<,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TransformManyBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public void Complete() => throw null; @@ -330,6 +330,8 @@ namespace System void System.Threading.Tasks.Dataflow.ISourceBlock.ReleaseReservation(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) => throw null; bool System.Threading.Tasks.Dataflow.ISourceBlock.ReserveMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) => throw null; public override string ToString() => throw null; + public TransformManyBlock(System.Func> transform) => throw null; + public TransformManyBlock(System.Func> transform, System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions dataflowBlockOptions) => throw null; public TransformManyBlock(System.Func> transform) => throw null; public TransformManyBlock(System.Func> transform, System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions dataflowBlockOptions) => throw null; public TransformManyBlock(System.Func>> transform) => throw null; @@ -338,7 +340,7 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.WriteOnceBlock<>` in `System.Threading.Tasks.Dataflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Dataflow.WriteOnceBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WriteOnceBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public void Complete() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Parallel.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Parallel.cs index 598ad1d2393..2a6e8b01213 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Parallel.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Parallel.cs @@ -6,7 +6,7 @@ namespace System { namespace Tasks { - // Generated from `System.Threading.Tasks.Parallel` in `System.Threading.Tasks.Parallel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.Parallel` in `System.Threading.Tasks.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Parallel { public static System.Threading.Tasks.ParallelLoopResult For(int fromInclusive, int toExclusive, System.Action body) => throw null; @@ -51,7 +51,7 @@ namespace System public static void Invoke(params System.Action[] actions) => throw null; } - // Generated from `System.Threading.Tasks.ParallelLoopResult` in `System.Threading.Tasks.Parallel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.ParallelLoopResult` in `System.Threading.Tasks.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ParallelLoopResult { public bool IsCompleted { get => throw null; } @@ -59,7 +59,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Threading.Tasks.ParallelLoopState` in `System.Threading.Tasks.Parallel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.ParallelLoopState` in `System.Threading.Tasks.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParallelLoopState { public void Break() => throw null; @@ -70,7 +70,7 @@ namespace System public void Stop() => throw null; } - // Generated from `System.Threading.Tasks.ParallelOptions` in `System.Threading.Tasks.Parallel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Tasks.ParallelOptions` in `System.Threading.Tasks.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParallelOptions { public System.Threading.CancellationToken CancellationToken { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Thread.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Thread.cs index 1f3e228c6a0..93327b0f8fc 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Thread.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Thread.cs @@ -2,7 +2,7 @@ namespace System { - // Generated from `System.LocalDataStoreSlot` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.LocalDataStoreSlot` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LocalDataStoreSlot { // ERR: Stub generator didn't handle member: ~LocalDataStoreSlot @@ -10,7 +10,7 @@ namespace System namespace Threading { - // Generated from `System.Threading.ApartmentState` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ApartmentState` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ApartmentState : int { MTA = 1, @@ -18,7 +18,7 @@ namespace System Unknown = 2, } - // Generated from `System.Threading.CompressedStack` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.CompressedStack` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompressedStack : System.Runtime.Serialization.ISerializable { public static System.Threading.CompressedStack Capture() => throw null; @@ -28,10 +28,10 @@ namespace System public static void Run(System.Threading.CompressedStack compressedStack, System.Threading.ContextCallback callback, object state) => throw null; } - // Generated from `System.Threading.ParameterizedThreadStart` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ParameterizedThreadStart` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ParameterizedThreadStart(object obj); - // Generated from `System.Threading.Thread` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Thread` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Thread : System.Runtime.ConstrainedExecution.CriticalFinalizerObject { public void Abort() => throw null; @@ -118,23 +118,23 @@ namespace System // ERR: Stub generator didn't handle member: ~Thread } - // Generated from `System.Threading.ThreadAbortException` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ThreadAbortException` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadAbortException : System.SystemException { public object ExceptionState { get => throw null; } } - // Generated from `System.Threading.ThreadExceptionEventArgs` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ThreadExceptionEventArgs` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadExceptionEventArgs : System.EventArgs { public System.Exception Exception { get => throw null; } public ThreadExceptionEventArgs(System.Exception t) => throw null; } - // Generated from `System.Threading.ThreadExceptionEventHandler` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ThreadExceptionEventHandler` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ThreadExceptionEventHandler(object sender, System.Threading.ThreadExceptionEventArgs e); - // Generated from `System.Threading.ThreadInterruptedException` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ThreadInterruptedException` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadInterruptedException : System.SystemException { public ThreadInterruptedException() => throw null; @@ -143,7 +143,7 @@ namespace System public ThreadInterruptedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.ThreadPriority` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ThreadPriority` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ThreadPriority : int { AboveNormal = 3, @@ -153,15 +153,15 @@ namespace System Normal = 2, } - // Generated from `System.Threading.ThreadStart` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ThreadStart` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ThreadStart(); - // Generated from `System.Threading.ThreadStartException` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ThreadStartException` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadStartException : System.SystemException { } - // Generated from `System.Threading.ThreadState` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ThreadState` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ThreadState : int { @@ -177,7 +177,7 @@ namespace System WaitSleepJoin = 32, } - // Generated from `System.Threading.ThreadStateException` in `System.Threading.Thread, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ThreadStateException` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadStateException : System.SystemException { public ThreadStateException() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.ThreadPool.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.ThreadPool.cs index 0dadac294dc..56e213f9d8a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.ThreadPool.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.ThreadPool.cs @@ -4,19 +4,19 @@ namespace System { namespace Threading { - // Generated from `System.Threading.IThreadPoolWorkItem` in `System.Threading.ThreadPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.IThreadPoolWorkItem` in `System.Threading.ThreadPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IThreadPoolWorkItem { void Execute(); } - // Generated from `System.Threading.RegisteredWaitHandle` in `System.Threading.ThreadPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.RegisteredWaitHandle` in `System.Threading.ThreadPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegisteredWaitHandle : System.MarshalByRefObject { public bool Unregister(System.Threading.WaitHandle waitObject) => throw null; } - // Generated from `System.Threading.ThreadPool` in `System.Threading.ThreadPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ThreadPool` in `System.Threading.ThreadPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ThreadPool { public static bool BindHandle(System.IntPtr osHandle) => throw null; @@ -46,10 +46,10 @@ namespace System public static System.Threading.RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle waitObject, System.Threading.WaitOrTimerCallback callBack, object state, System.UInt32 millisecondsTimeOutInterval, bool executeOnlyOnce) => throw null; } - // Generated from `System.Threading.WaitCallback` in `System.Threading.ThreadPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.WaitCallback` in `System.Threading.ThreadPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void WaitCallback(object state); - // Generated from `System.Threading.WaitOrTimerCallback` in `System.Threading.ThreadPool, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.WaitOrTimerCallback` in `System.Threading.ThreadPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void WaitOrTimerCallback(object state, bool timedOut); } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.cs index 04111625dbb..c6d43c9297e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.cs @@ -4,7 +4,7 @@ namespace System { namespace Threading { - // Generated from `System.Threading.AbandonedMutexException` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.AbandonedMutexException` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AbandonedMutexException : System.SystemException { public AbandonedMutexException() => throw null; @@ -18,7 +18,7 @@ namespace System public int MutexIndex { get => throw null; } } - // Generated from `System.Threading.AsyncFlowControl` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.AsyncFlowControl` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncFlowControl : System.IDisposable, System.IEquatable { public static bool operator !=(System.Threading.AsyncFlowControl a, System.Threading.AsyncFlowControl b) => throw null; @@ -31,7 +31,7 @@ namespace System public void Undo() => throw null; } - // Generated from `System.Threading.AsyncLocal<>` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.AsyncLocal<>` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsyncLocal { public AsyncLocal() => throw null; @@ -39,7 +39,7 @@ namespace System public T Value { get => throw null; set => throw null; } } - // Generated from `System.Threading.AsyncLocalValueChangedArgs<>` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.AsyncLocalValueChangedArgs<>` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncLocalValueChangedArgs { // Stub generator skipped constructor @@ -48,13 +48,13 @@ namespace System public bool ThreadContextChanged { get => throw null; } } - // Generated from `System.Threading.AutoResetEvent` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.AutoResetEvent` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AutoResetEvent : System.Threading.EventWaitHandle { public AutoResetEvent(bool initialState) : base(default(bool), default(System.Threading.EventResetMode)) => throw null; } - // Generated from `System.Threading.Barrier` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Barrier` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Barrier : System.IDisposable { public System.Int64 AddParticipant() => throw null; @@ -76,7 +76,7 @@ namespace System public bool SignalAndWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Threading.BarrierPostPhaseException` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.BarrierPostPhaseException` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BarrierPostPhaseException : System.Exception { public BarrierPostPhaseException() => throw null; @@ -86,10 +86,10 @@ namespace System public BarrierPostPhaseException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.ContextCallback` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ContextCallback` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ContextCallback(object state); - // Generated from `System.Threading.CountdownEvent` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.CountdownEvent` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CountdownEvent : System.IDisposable { public void AddCount() => throw null; @@ -115,14 +115,14 @@ namespace System public System.Threading.WaitHandle WaitHandle { get => throw null; } } - // Generated from `System.Threading.EventResetMode` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.EventResetMode` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventResetMode : int { AutoReset = 0, ManualReset = 1, } - // Generated from `System.Threading.EventWaitHandle` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.EventWaitHandle` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventWaitHandle : System.Threading.WaitHandle { public EventWaitHandle(bool initialState, System.Threading.EventResetMode mode) => throw null; @@ -134,7 +134,7 @@ namespace System public static bool TryOpenExisting(string name, out System.Threading.EventWaitHandle result) => throw null; } - // Generated from `System.Threading.ExecutionContext` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ExecutionContext` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExecutionContext : System.IDisposable, System.Runtime.Serialization.ISerializable { public static System.Threading.ExecutionContext Capture() => throw null; @@ -148,7 +148,7 @@ namespace System public static System.Threading.AsyncFlowControl SuppressFlow() => throw null; } - // Generated from `System.Threading.HostExecutionContext` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.HostExecutionContext` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HostExecutionContext : System.IDisposable { public virtual System.Threading.HostExecutionContext CreateCopy() => throw null; @@ -159,7 +159,7 @@ namespace System protected internal object State { get => throw null; set => throw null; } } - // Generated from `System.Threading.HostExecutionContextManager` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.HostExecutionContextManager` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HostExecutionContextManager { public virtual System.Threading.HostExecutionContext Capture() => throw null; @@ -168,7 +168,7 @@ namespace System public virtual object SetHostExecutionContext(System.Threading.HostExecutionContext hostExecutionContext) => throw null; } - // Generated from `System.Threading.Interlocked` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Interlocked` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Interlocked { public static int Add(ref int location1, int value) => throw null; @@ -180,6 +180,7 @@ namespace System public static System.UInt32 And(ref System.UInt32 location1, System.UInt32 value) => throw null; public static System.UInt64 And(ref System.UInt64 location1, System.UInt64 value) => throw null; public static System.IntPtr CompareExchange(ref System.IntPtr location1, System.IntPtr value, System.IntPtr comparand) => throw null; + public static System.UIntPtr CompareExchange(ref System.UIntPtr location1, System.UIntPtr value, System.UIntPtr comparand) => throw null; public static double CompareExchange(ref double location1, double value, double comparand) => throw null; public static float CompareExchange(ref float location1, float value, float comparand) => throw null; public static int CompareExchange(ref int location1, int value, int comparand) => throw null; @@ -193,6 +194,7 @@ namespace System public static System.UInt32 Decrement(ref System.UInt32 location) => throw null; public static System.UInt64 Decrement(ref System.UInt64 location) => throw null; public static System.IntPtr Exchange(ref System.IntPtr location1, System.IntPtr value) => throw null; + public static System.UIntPtr Exchange(ref System.UIntPtr location1, System.UIntPtr value) => throw null; public static double Exchange(ref double location1, double value) => throw null; public static float Exchange(ref float location1, float value) => throw null; public static int Exchange(ref int location1, int value) => throw null; @@ -215,7 +217,7 @@ namespace System public static System.UInt64 Read(ref System.UInt64 location) => throw null; } - // Generated from `System.Threading.LazyInitializer` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.LazyInitializer` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class LazyInitializer { public static T EnsureInitialized(ref T target) where T : class => throw null; @@ -225,8 +227,8 @@ namespace System public static T EnsureInitialized(ref T target, ref object syncLock, System.Func valueFactory) where T : class => throw null; } - // Generated from `System.Threading.LockCookie` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` - public struct LockCookie + // Generated from `System.Threading.LockCookie` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + public struct LockCookie : System.IEquatable { public static bool operator !=(System.Threading.LockCookie a, System.Threading.LockCookie b) => throw null; public static bool operator ==(System.Threading.LockCookie a, System.Threading.LockCookie b) => throw null; @@ -236,7 +238,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Threading.LockRecursionException` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.LockRecursionException` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LockRecursionException : System.Exception { public LockRecursionException() => throw null; @@ -245,20 +247,20 @@ namespace System public LockRecursionException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.LockRecursionPolicy` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.LockRecursionPolicy` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LockRecursionPolicy : int { NoRecursion = 0, SupportsRecursion = 1, } - // Generated from `System.Threading.ManualResetEvent` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ManualResetEvent` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ManualResetEvent : System.Threading.EventWaitHandle { public ManualResetEvent(bool initialState) : base(default(bool), default(System.Threading.EventResetMode)) => throw null; } - // Generated from `System.Threading.ManualResetEventSlim` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ManualResetEventSlim` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ManualResetEventSlim : System.IDisposable { public void Dispose() => throw null; @@ -279,7 +281,7 @@ namespace System public System.Threading.WaitHandle WaitHandle { get => throw null; } } - // Generated from `System.Threading.Monitor` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Monitor` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Monitor { public static void Enter(object obj) => throw null; @@ -302,7 +304,7 @@ namespace System public static bool Wait(object obj, int millisecondsTimeout, bool exitContext) => throw null; } - // Generated from `System.Threading.Mutex` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Mutex` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Mutex : System.Threading.WaitHandle { public Mutex() => throw null; @@ -314,7 +316,7 @@ namespace System public static bool TryOpenExisting(string name, out System.Threading.Mutex result) => throw null; } - // Generated from `System.Threading.ReaderWriterLock` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ReaderWriterLock` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReaderWriterLock : System.Runtime.ConstrainedExecution.CriticalFinalizerObject { public void AcquireReaderLock(System.TimeSpan timeout) => throw null; @@ -335,7 +337,7 @@ namespace System public int WriterSeqNum { get => throw null; } } - // Generated from `System.Threading.ReaderWriterLockSlim` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ReaderWriterLockSlim` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReaderWriterLockSlim : System.IDisposable { public int CurrentReadCount { get => throw null; } @@ -366,7 +368,7 @@ namespace System public int WaitingWriteCount { get => throw null; } } - // Generated from `System.Threading.Semaphore` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Semaphore` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Semaphore : System.Threading.WaitHandle { public static System.Threading.Semaphore OpenExisting(string name) => throw null; @@ -378,7 +380,7 @@ namespace System public static bool TryOpenExisting(string name, out System.Threading.Semaphore result) => throw null; } - // Generated from `System.Threading.SemaphoreFullException` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.SemaphoreFullException` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SemaphoreFullException : System.SystemException { public SemaphoreFullException() => throw null; @@ -387,7 +389,7 @@ namespace System public SemaphoreFullException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.SemaphoreSlim` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.SemaphoreSlim` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SemaphoreSlim : System.IDisposable { public System.Threading.WaitHandle AvailableWaitHandle { get => throw null; } @@ -412,10 +414,10 @@ namespace System public System.Threading.Tasks.Task WaitAsync(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Threading.SendOrPostCallback` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.SendOrPostCallback` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void SendOrPostCallback(object state); - // Generated from `System.Threading.SpinLock` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.SpinLock` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SpinLock { public void Enter(ref bool lockTaken) => throw null; @@ -431,7 +433,7 @@ namespace System public void TryEnter(ref bool lockTaken) => throw null; } - // Generated from `System.Threading.SpinWait` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.SpinWait` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SpinWait { public int Count { get => throw null; } @@ -445,7 +447,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Threading.SynchronizationContext` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.SynchronizationContext` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SynchronizationContext { public virtual System.Threading.SynchronizationContext CreateCopy() => throw null; @@ -462,7 +464,7 @@ namespace System protected static int WaitHelper(System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) => throw null; } - // Generated from `System.Threading.SynchronizationLockException` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.SynchronizationLockException` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SynchronizationLockException : System.SystemException { public SynchronizationLockException() => throw null; @@ -471,7 +473,7 @@ namespace System public SynchronizationLockException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.ThreadLocal<>` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.ThreadLocal<>` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadLocal : System.IDisposable { public void Dispose() => throw null; @@ -487,7 +489,7 @@ namespace System // ERR: Stub generator didn't handle member: ~ThreadLocal } - // Generated from `System.Threading.Volatile` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.Volatile` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Volatile { public static System.IntPtr Read(ref System.IntPtr location) => throw null; @@ -520,7 +522,7 @@ namespace System public static void Write(ref T location, T value) where T : class => throw null; } - // Generated from `System.Threading.WaitHandleCannotBeOpenedException` in `System.Threading, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Threading.WaitHandleCannotBeOpenedException` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WaitHandleCannotBeOpenedException : System.ApplicationException { public WaitHandleCannotBeOpenedException() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Transactions.Local.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Transactions.Local.cs index 1851691a6a0..76efd10fee1 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Transactions.Local.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Transactions.Local.cs @@ -4,7 +4,7 @@ namespace System { namespace Transactions { - // Generated from `System.Transactions.CommittableTransaction` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.CommittableTransaction` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class CommittableTransaction : System.Transactions.Transaction, System.IAsyncResult { object System.IAsyncResult.AsyncState { get => throw null; } @@ -19,27 +19,27 @@ namespace System bool System.IAsyncResult.IsCompleted { get => throw null; } } - // Generated from `System.Transactions.DependentCloneOption` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.DependentCloneOption` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum DependentCloneOption : int { BlockCommitUntilComplete = 0, RollbackIfNotComplete = 1, } - // Generated from `System.Transactions.DependentTransaction` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.DependentTransaction` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DependentTransaction : System.Transactions.Transaction { public void Complete() => throw null; } - // Generated from `System.Transactions.Enlistment` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.Enlistment` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Enlistment { public void Done() => throw null; internal Enlistment() => throw null; } - // Generated from `System.Transactions.EnlistmentOptions` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.EnlistmentOptions` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum EnlistmentOptions : int { @@ -47,7 +47,7 @@ namespace System None = 0, } - // Generated from `System.Transactions.EnterpriseServicesInteropOption` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.EnterpriseServicesInteropOption` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum EnterpriseServicesInteropOption : int { Automatic = 1, @@ -55,10 +55,10 @@ namespace System None = 0, } - // Generated from `System.Transactions.HostCurrentTransactionCallback` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.HostCurrentTransactionCallback` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate System.Transactions.Transaction HostCurrentTransactionCallback(); - // Generated from `System.Transactions.IDtcTransaction` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.IDtcTransaction` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IDtcTransaction { void Abort(System.IntPtr reason, int retaining, int async); @@ -66,7 +66,7 @@ namespace System void GetTransactionInfo(System.IntPtr transactionInformation); } - // Generated from `System.Transactions.IEnlistmentNotification` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.IEnlistmentNotification` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IEnlistmentNotification { void Commit(System.Transactions.Enlistment enlistment); @@ -75,7 +75,7 @@ namespace System void Rollback(System.Transactions.Enlistment enlistment); } - // Generated from `System.Transactions.IPromotableSinglePhaseNotification` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.IPromotableSinglePhaseNotification` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IPromotableSinglePhaseNotification : System.Transactions.ITransactionPromoter { void Initialize(); @@ -83,25 +83,25 @@ namespace System void SinglePhaseCommit(System.Transactions.SinglePhaseEnlistment singlePhaseEnlistment); } - // Generated from `System.Transactions.ISimpleTransactionSuperior` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.ISimpleTransactionSuperior` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface ISimpleTransactionSuperior : System.Transactions.ITransactionPromoter { void Rollback(); } - // Generated from `System.Transactions.ISinglePhaseNotification` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.ISinglePhaseNotification` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface ISinglePhaseNotification : System.Transactions.IEnlistmentNotification { void SinglePhaseCommit(System.Transactions.SinglePhaseEnlistment singlePhaseEnlistment); } - // Generated from `System.Transactions.ITransactionPromoter` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.ITransactionPromoter` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface ITransactionPromoter { System.Byte[] Promote(); } - // Generated from `System.Transactions.IsolationLevel` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.IsolationLevel` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum IsolationLevel : int { Chaos = 5, @@ -113,7 +113,7 @@ namespace System Unspecified = 6, } - // Generated from `System.Transactions.PreparingEnlistment` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.PreparingEnlistment` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class PreparingEnlistment : System.Transactions.Enlistment { public void ForceRollback() => throw null; @@ -122,7 +122,7 @@ namespace System public System.Byte[] RecoveryInformation() => throw null; } - // Generated from `System.Transactions.SinglePhaseEnlistment` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.SinglePhaseEnlistment` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SinglePhaseEnlistment : System.Transactions.Enlistment { public void Aborted() => throw null; @@ -132,13 +132,13 @@ namespace System public void InDoubt(System.Exception e) => throw null; } - // Generated from `System.Transactions.SubordinateTransaction` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.SubordinateTransaction` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SubordinateTransaction : System.Transactions.Transaction { public SubordinateTransaction(System.Transactions.IsolationLevel isoLevel, System.Transactions.ISimpleTransactionSuperior superior) => throw null; } - // Generated from `System.Transactions.Transaction` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.Transaction` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Transaction : System.IDisposable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.Transactions.Transaction x, System.Transactions.Transaction y) => throw null; @@ -168,7 +168,7 @@ namespace System public System.Transactions.TransactionInformation TransactionInformation { get => throw null; } } - // Generated from `System.Transactions.TransactionAbortedException` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionAbortedException` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionAbortedException : System.Transactions.TransactionException { public TransactionAbortedException() => throw null; @@ -177,17 +177,17 @@ namespace System public TransactionAbortedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Transactions.TransactionCompletedEventHandler` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionCompletedEventHandler` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void TransactionCompletedEventHandler(object sender, System.Transactions.TransactionEventArgs e); - // Generated from `System.Transactions.TransactionEventArgs` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionEventArgs` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionEventArgs : System.EventArgs { public System.Transactions.Transaction Transaction { get => throw null; } public TransactionEventArgs() => throw null; } - // Generated from `System.Transactions.TransactionException` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionException` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionException : System.SystemException { public TransactionException() => throw null; @@ -196,7 +196,7 @@ namespace System public TransactionException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Transactions.TransactionInDoubtException` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionInDoubtException` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionInDoubtException : System.Transactions.TransactionException { public TransactionInDoubtException() => throw null; @@ -205,7 +205,7 @@ namespace System public TransactionInDoubtException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Transactions.TransactionInformation` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionInformation` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionInformation { public System.DateTime CreationTime { get => throw null; } @@ -214,7 +214,7 @@ namespace System public System.Transactions.TransactionStatus Status { get => throw null; } } - // Generated from `System.Transactions.TransactionInterop` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionInterop` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class TransactionInterop { public static System.Transactions.IDtcTransaction GetDtcTransaction(System.Transactions.Transaction transaction) => throw null; @@ -227,18 +227,19 @@ namespace System public static System.Guid PromoterTypeDtc; } - // Generated from `System.Transactions.TransactionManager` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionManager` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class TransactionManager { - public static System.TimeSpan DefaultTimeout { get => throw null; } + public static System.TimeSpan DefaultTimeout { get => throw null; set => throw null; } public static event System.Transactions.TransactionStartedEventHandler DistributedTransactionStarted; public static System.Transactions.HostCurrentTransactionCallback HostCurrentCallback { get => throw null; set => throw null; } - public static System.TimeSpan MaximumTimeout { get => throw null; } + public static bool ImplicitDistributedTransactions { get => throw null; set => throw null; } + public static System.TimeSpan MaximumTimeout { get => throw null; set => throw null; } public static void RecoveryComplete(System.Guid resourceManagerIdentifier) => throw null; public static System.Transactions.Enlistment Reenlist(System.Guid resourceManagerIdentifier, System.Byte[] recoveryInformation, System.Transactions.IEnlistmentNotification enlistmentNotification) => throw null; } - // Generated from `System.Transactions.TransactionManagerCommunicationException` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionManagerCommunicationException` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionManagerCommunicationException : System.Transactions.TransactionException { public TransactionManagerCommunicationException() => throw null; @@ -247,11 +248,12 @@ namespace System public TransactionManagerCommunicationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Transactions.TransactionOptions` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` - public struct TransactionOptions + // Generated from `System.Transactions.TransactionOptions` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + public struct TransactionOptions : System.IEquatable { public static bool operator !=(System.Transactions.TransactionOptions x, System.Transactions.TransactionOptions y) => throw null; public static bool operator ==(System.Transactions.TransactionOptions x, System.Transactions.TransactionOptions y) => throw null; + public bool Equals(System.Transactions.TransactionOptions other) => throw null; public override bool Equals(object obj) => throw null; public override int GetHashCode() => throw null; public System.Transactions.IsolationLevel IsolationLevel { get => throw null; set => throw null; } @@ -259,7 +261,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Transactions.TransactionPromotionException` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionPromotionException` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionPromotionException : System.Transactions.TransactionException { public TransactionPromotionException() => throw null; @@ -268,7 +270,7 @@ namespace System public TransactionPromotionException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Transactions.TransactionScope` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionScope` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionScope : System.IDisposable { public void Complete() => throw null; @@ -289,14 +291,14 @@ namespace System public TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption) => throw null; } - // Generated from `System.Transactions.TransactionScopeAsyncFlowOption` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionScopeAsyncFlowOption` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum TransactionScopeAsyncFlowOption : int { Enabled = 1, Suppress = 0, } - // Generated from `System.Transactions.TransactionScopeOption` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionScopeOption` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum TransactionScopeOption : int { Required = 0, @@ -304,10 +306,10 @@ namespace System Suppress = 2, } - // Generated from `System.Transactions.TransactionStartedEventHandler` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionStartedEventHandler` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void TransactionStartedEventHandler(object sender, System.Transactions.TransactionEventArgs e); - // Generated from `System.Transactions.TransactionStatus` in `System.Transactions.Local, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Transactions.TransactionStatus` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum TransactionStatus : int { Aborted = 2, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Web.HttpUtility.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Web.HttpUtility.cs index b0420c2dc3f..f76e1e332da 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Web.HttpUtility.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Web.HttpUtility.cs @@ -4,7 +4,7 @@ namespace System { namespace Web { - // Generated from `System.Web.HttpUtility` in `System.Web.HttpUtility, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` + // Generated from `System.Web.HttpUtility` in `System.Web.HttpUtility, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpUtility { public static string HtmlAttributeEncode(string s) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.ReaderWriter.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.ReaderWriter.cs index 87c2b5b1210..1dc257b5521 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.ReaderWriter.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.ReaderWriter.cs @@ -4,7 +4,7 @@ namespace System { namespace Xml { - // Generated from `System.Xml.ConformanceLevel` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.ConformanceLevel` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ConformanceLevel : int { Auto = 0, @@ -12,7 +12,7 @@ namespace System Fragment = 1, } - // Generated from `System.Xml.DtdProcessing` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.DtdProcessing` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DtdProcessing : int { Ignore = 1, @@ -20,33 +20,33 @@ namespace System Prohibit = 0, } - // Generated from `System.Xml.EntityHandling` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.EntityHandling` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EntityHandling : int { ExpandCharEntities = 2, ExpandEntities = 1, } - // Generated from `System.Xml.Formatting` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Formatting` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum Formatting : int { Indented = 1, None = 0, } - // Generated from `System.Xml.IApplicationResourceStreamResolver` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.IApplicationResourceStreamResolver` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IApplicationResourceStreamResolver { System.IO.Stream GetApplicationResourceStream(System.Uri relativeUri); } - // Generated from `System.Xml.IHasXmlNode` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.IHasXmlNode` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IHasXmlNode { System.Xml.XmlNode GetNode(); } - // Generated from `System.Xml.IXmlLineInfo` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.IXmlLineInfo` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlLineInfo { bool HasLineInfo(); @@ -54,7 +54,7 @@ namespace System int LinePosition { get; } } - // Generated from `System.Xml.IXmlNamespaceResolver` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.IXmlNamespaceResolver` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlNamespaceResolver { System.Collections.Generic.IDictionary GetNamespacesInScope(System.Xml.XmlNamespaceScope scope); @@ -62,7 +62,7 @@ namespace System string LookupPrefix(string namespaceName); } - // Generated from `System.Xml.NameTable` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.NameTable` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NameTable : System.Xml.XmlNameTable { public override string Add(System.Char[] key, int start, int len) => throw null; @@ -72,7 +72,7 @@ namespace System public NameTable() => throw null; } - // Generated from `System.Xml.NamespaceHandling` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.NamespaceHandling` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum NamespaceHandling : int { @@ -80,7 +80,7 @@ namespace System OmitDuplicates = 1, } - // Generated from `System.Xml.NewLineHandling` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.NewLineHandling` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NewLineHandling : int { Entitize = 1, @@ -88,7 +88,7 @@ namespace System Replace = 0, } - // Generated from `System.Xml.ReadState` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.ReadState` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ReadState : int { Closed = 4, @@ -98,7 +98,7 @@ namespace System Interactive = 1, } - // Generated from `System.Xml.ValidationType` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.ValidationType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ValidationType : int { Auto = 1, @@ -108,7 +108,7 @@ namespace System XDR = 3, } - // Generated from `System.Xml.WhitespaceHandling` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.WhitespaceHandling` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WhitespaceHandling : int { All = 0, @@ -116,7 +116,7 @@ namespace System Significant = 1, } - // Generated from `System.Xml.WriteState` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.WriteState` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WriteState : int { Attribute = 3, @@ -128,7 +128,7 @@ namespace System Start = 0, } - // Generated from `System.Xml.XmlAttribute` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAttribute : System.Xml.XmlNode { public override System.Xml.XmlNode AppendChild(System.Xml.XmlNode newChild) => throw null; @@ -157,7 +157,7 @@ namespace System protected internal XmlAttribute(string prefix, string localName, string namespaceURI, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlAttributeCollection` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlAttributeCollection` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAttributeCollection : System.Xml.XmlNamedNodeMap, System.Collections.ICollection, System.Collections.IEnumerable { public System.Xml.XmlAttribute Append(System.Xml.XmlAttribute node) => throw null; @@ -181,7 +181,7 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Xml.XmlCDataSection` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlCDataSection` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlCDataSection : System.Xml.XmlCharacterData { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -195,7 +195,7 @@ namespace System protected internal XmlCDataSection(string data, System.Xml.XmlDocument doc) : base(default(string), default(System.Xml.XmlDocument)) => throw null; } - // Generated from `System.Xml.XmlCharacterData` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlCharacterData` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlCharacterData : System.Xml.XmlLinkedNode { public virtual void AppendData(string strData) => throw null; @@ -210,7 +210,7 @@ namespace System protected internal XmlCharacterData(string data, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlComment` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlComment` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlComment : System.Xml.XmlCharacterData { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -222,7 +222,7 @@ namespace System protected internal XmlComment(string comment, System.Xml.XmlDocument doc) : base(default(string), default(System.Xml.XmlDocument)) => throw null; } - // Generated from `System.Xml.XmlConvert` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlConvert` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlConvert { public static string DecodeName(string name) => throw null; @@ -287,7 +287,7 @@ namespace System public XmlConvert() => throw null; } - // Generated from `System.Xml.XmlDateTimeSerializationMode` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlDateTimeSerializationMode` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlDateTimeSerializationMode : int { Local = 0, @@ -296,7 +296,7 @@ namespace System Utc = 1, } - // Generated from `System.Xml.XmlDeclaration` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlDeclaration` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDeclaration : System.Xml.XmlLinkedNode { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -313,7 +313,7 @@ namespace System protected internal XmlDeclaration(string version, string encoding, string standalone, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlDocument` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlDocument` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDocument : System.Xml.XmlNode { public override string BaseURI { get => throw null; } @@ -385,7 +385,7 @@ namespace System public virtual System.Xml.XmlResolver XmlResolver { set => throw null; } } - // Generated from `System.Xml.XmlDocumentFragment` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlDocumentFragment` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDocumentFragment : System.Xml.XmlNode { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -400,7 +400,7 @@ namespace System protected internal XmlDocumentFragment(System.Xml.XmlDocument ownerDocument) => throw null; } - // Generated from `System.Xml.XmlDocumentType` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlDocumentType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDocumentType : System.Xml.XmlLinkedNode { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -418,7 +418,7 @@ namespace System protected internal XmlDocumentType(string name, string publicId, string systemId, string internalSubset, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlElement` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlElement` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlElement : System.Xml.XmlLinkedNode { public override System.Xml.XmlAttributeCollection Attributes { get => throw null; } @@ -460,7 +460,7 @@ namespace System protected internal XmlElement(string prefix, string localName, string namespaceURI, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlEntity` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlEntity` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlEntity : System.Xml.XmlNode { public override string BaseURI { get => throw null; } @@ -479,7 +479,7 @@ namespace System public override void WriteTo(System.Xml.XmlWriter w) => throw null; } - // Generated from `System.Xml.XmlEntityReference` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlEntityReference` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlEntityReference : System.Xml.XmlLinkedNode { public override string BaseURI { get => throw null; } @@ -494,7 +494,7 @@ namespace System protected internal XmlEntityReference(string name, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlException` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlException` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -509,7 +509,7 @@ namespace System public XmlException(string message, System.Exception innerException, int lineNumber, int linePosition) => throw null; } - // Generated from `System.Xml.XmlImplementation` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlImplementation` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlImplementation { public virtual System.Xml.XmlDocument CreateDocument() => throw null; @@ -518,7 +518,7 @@ namespace System public XmlImplementation(System.Xml.XmlNameTable nt) => throw null; } - // Generated from `System.Xml.XmlLinkedNode` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlLinkedNode` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlLinkedNode : System.Xml.XmlNode { public override System.Xml.XmlNode NextSibling { get => throw null; } @@ -526,7 +526,7 @@ namespace System internal XmlLinkedNode() => throw null; } - // Generated from `System.Xml.XmlNameTable` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlNameTable` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlNameTable { public abstract string Add(System.Char[] array, int offset, int length); @@ -536,7 +536,7 @@ namespace System protected XmlNameTable() => throw null; } - // Generated from `System.Xml.XmlNamedNodeMap` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlNamedNodeMap` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNamedNodeMap : System.Collections.IEnumerable { public virtual int Count { get => throw null; } @@ -550,7 +550,7 @@ namespace System internal XmlNamedNodeMap() => throw null; } - // Generated from `System.Xml.XmlNamespaceManager` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlNamespaceManager` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNamespaceManager : System.Collections.IEnumerable, System.Xml.IXmlNamespaceResolver { public virtual void AddNamespace(string prefix, string uri) => throw null; @@ -567,7 +567,7 @@ namespace System public XmlNamespaceManager(System.Xml.XmlNameTable nameTable) => throw null; } - // Generated from `System.Xml.XmlNamespaceScope` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlNamespaceScope` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlNamespaceScope : int { All = 0, @@ -575,7 +575,7 @@ namespace System Local = 2, } - // Generated from `System.Xml.XmlNode` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlNode` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlNode : System.Collections.IEnumerable, System.ICloneable, System.Xml.XPath.IXPathNavigable { public virtual System.Xml.XmlNode AppendChild(System.Xml.XmlNode newChild) => throw null; @@ -628,7 +628,7 @@ namespace System internal XmlNode() => throw null; } - // Generated from `System.Xml.XmlNodeChangedAction` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlNodeChangedAction` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlNodeChangedAction : int { Change = 2, @@ -636,7 +636,7 @@ namespace System Remove = 1, } - // Generated from `System.Xml.XmlNodeChangedEventArgs` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlNodeChangedEventArgs` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNodeChangedEventArgs : System.EventArgs { public System.Xml.XmlNodeChangedAction Action { get => throw null; } @@ -648,10 +648,10 @@ namespace System public XmlNodeChangedEventArgs(System.Xml.XmlNode node, System.Xml.XmlNode oldParent, System.Xml.XmlNode newParent, string oldValue, string newValue, System.Xml.XmlNodeChangedAction action) => throw null; } - // Generated from `System.Xml.XmlNodeChangedEventHandler` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlNodeChangedEventHandler` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlNodeChangedEventHandler(object sender, System.Xml.XmlNodeChangedEventArgs e); - // Generated from `System.Xml.XmlNodeList` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlNodeList` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlNodeList : System.Collections.IEnumerable, System.IDisposable { public abstract int Count { get; } @@ -664,7 +664,7 @@ namespace System protected XmlNodeList() => throw null; } - // Generated from `System.Xml.XmlNodeOrder` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlNodeOrder` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlNodeOrder : int { After = 1, @@ -673,7 +673,7 @@ namespace System Unknown = 3, } - // Generated from `System.Xml.XmlNodeReader` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlNodeReader` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNodeReader : System.Xml.XmlReader, System.Xml.IXmlNamespaceResolver { public override int AttributeCount { get => throw null; } @@ -723,7 +723,7 @@ namespace System public override System.Xml.XmlSpace XmlSpace { get => throw null; } } - // Generated from `System.Xml.XmlNodeType` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlNodeType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlNodeType : int { Attribute = 2, @@ -746,7 +746,7 @@ namespace System XmlDeclaration = 17, } - // Generated from `System.Xml.XmlNotation` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlNotation` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNotation : System.Xml.XmlNode { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -762,7 +762,7 @@ namespace System public override void WriteTo(System.Xml.XmlWriter w) => throw null; } - // Generated from `System.Xml.XmlOutputMethod` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlOutputMethod` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlOutputMethod : int { AutoDetect = 3, @@ -771,7 +771,7 @@ namespace System Xml = 0, } - // Generated from `System.Xml.XmlParserContext` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlParserContext` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlParserContext { public string BaseURI { get => throw null; set => throw null; } @@ -790,7 +790,7 @@ namespace System public System.Xml.XmlSpace XmlSpace { get => throw null; set => throw null; } } - // Generated from `System.Xml.XmlProcessingInstruction` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlProcessingInstruction` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlProcessingInstruction : System.Xml.XmlLinkedNode { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -806,7 +806,7 @@ namespace System protected internal XmlProcessingInstruction(string target, string data, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlQualifiedName` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlQualifiedName` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlQualifiedName { public static bool operator !=(System.Xml.XmlQualifiedName a, System.Xml.XmlQualifiedName b) => throw null; @@ -824,7 +824,7 @@ namespace System public XmlQualifiedName(string name, string ns) => throw null; } - // Generated from `System.Xml.XmlReader` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlReader` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlReader : System.IDisposable { public abstract int AttributeCount { get; } @@ -963,7 +963,7 @@ namespace System public virtual System.Xml.XmlSpace XmlSpace { get => throw null; } } - // Generated from `System.Xml.XmlReaderSettings` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlReaderSettings` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlReaderSettings { public bool Async { get => throw null; set => throw null; } @@ -990,7 +990,7 @@ namespace System public System.Xml.XmlResolver XmlResolver { set => throw null; } } - // Generated from `System.Xml.XmlResolver` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlResolver` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlResolver { public virtual System.Net.ICredentials Credentials { set => throw null; } @@ -998,10 +998,11 @@ namespace System public virtual System.Threading.Tasks.Task GetEntityAsync(System.Uri absoluteUri, string role, System.Type ofObjectToReturn) => throw null; public virtual System.Uri ResolveUri(System.Uri baseUri, string relativeUri) => throw null; public virtual bool SupportsType(System.Uri absoluteUri, System.Type type) => throw null; + public static System.Xml.XmlResolver ThrowingResolver { get => throw null; } protected XmlResolver() => throw null; } - // Generated from `System.Xml.XmlSecureResolver` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlSecureResolver` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSecureResolver : System.Xml.XmlResolver { public override System.Net.ICredentials Credentials { set => throw null; } @@ -1011,7 +1012,7 @@ namespace System public XmlSecureResolver(System.Xml.XmlResolver resolver, string securityUrl) => throw null; } - // Generated from `System.Xml.XmlSignificantWhitespace` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlSignificantWhitespace` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSignificantWhitespace : System.Xml.XmlCharacterData { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -1026,7 +1027,7 @@ namespace System protected internal XmlSignificantWhitespace(string strData, System.Xml.XmlDocument doc) : base(default(string), default(System.Xml.XmlDocument)) => throw null; } - // Generated from `System.Xml.XmlSpace` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlSpace` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSpace : int { Default = 1, @@ -1034,7 +1035,7 @@ namespace System Preserve = 2, } - // Generated from `System.Xml.XmlText` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlText` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlText : System.Xml.XmlCharacterData { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -1050,7 +1051,7 @@ namespace System protected internal XmlText(string strData, System.Xml.XmlDocument doc) : base(default(string), default(System.Xml.XmlDocument)) => throw null; } - // Generated from `System.Xml.XmlTextReader` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlTextReader` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlTextReader : System.Xml.XmlReader, System.Xml.IXmlLineInfo, System.Xml.IXmlNamespaceResolver { public override int AttributeCount { get => throw null; } @@ -1130,7 +1131,7 @@ namespace System public XmlTextReader(string xmlFragment, System.Xml.XmlNodeType fragType, System.Xml.XmlParserContext context) => throw null; } - // Generated from `System.Xml.XmlTextWriter` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlTextWriter` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlTextWriter : System.Xml.XmlWriter { public System.IO.Stream BaseStream { get => throw null; } @@ -1175,7 +1176,7 @@ namespace System public XmlTextWriter(string filename, System.Text.Encoding encoding) => throw null; } - // Generated from `System.Xml.XmlTokenizedType` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlTokenizedType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlTokenizedType : int { CDATA = 0, @@ -1193,7 +1194,7 @@ namespace System QName = 10, } - // Generated from `System.Xml.XmlUrlResolver` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlUrlResolver` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlUrlResolver : System.Xml.XmlResolver { public System.Net.Cache.RequestCachePolicy CachePolicy { set => throw null; } @@ -1205,7 +1206,7 @@ namespace System public XmlUrlResolver() => throw null; } - // Generated from `System.Xml.XmlValidatingReader` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlValidatingReader` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlValidatingReader : System.Xml.XmlReader, System.Xml.IXmlLineInfo, System.Xml.IXmlNamespaceResolver { public override int AttributeCount { get => throw null; } @@ -1268,7 +1269,7 @@ namespace System public XmlValidatingReader(string xmlFragment, System.Xml.XmlNodeType fragType, System.Xml.XmlParserContext context) => throw null; } - // Generated from `System.Xml.XmlWhitespace` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlWhitespace` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlWhitespace : System.Xml.XmlCharacterData { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -1283,7 +1284,7 @@ namespace System protected internal XmlWhitespace(string strData, System.Xml.XmlDocument doc) : base(default(string), default(System.Xml.XmlDocument)) => throw null; } - // Generated from `System.Xml.XmlWriter` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlWriter` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlWriter : System.IAsyncDisposable, System.IDisposable { public virtual void Close() => throw null; @@ -1389,7 +1390,7 @@ namespace System protected XmlWriter() => throw null; } - // Generated from `System.Xml.XmlWriterSettings` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XmlWriterSettings` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlWriterSettings { public bool Async { get => throw null; set => throw null; } @@ -1414,7 +1415,7 @@ namespace System namespace Resolvers { - // Generated from `System.Xml.Resolvers.XmlKnownDtds` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Resolvers.XmlKnownDtds` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum XmlKnownDtds : int { @@ -1424,7 +1425,7 @@ namespace System Xhtml10 = 1, } - // Generated from `System.Xml.Resolvers.XmlPreloadedResolver` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Resolvers.XmlPreloadedResolver` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlPreloadedResolver : System.Xml.XmlResolver { public void Add(System.Uri uri, System.Byte[] value) => throw null; @@ -1448,7 +1449,7 @@ namespace System } namespace Schema { - // Generated from `System.Xml.Schema.IXmlSchemaInfo` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.IXmlSchemaInfo` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlSchemaInfo { bool IsDefault { get; } @@ -1460,7 +1461,7 @@ namespace System System.Xml.Schema.XmlSchemaValidity Validity { get; } } - // Generated from `System.Xml.Schema.ValidationEventArgs` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.ValidationEventArgs` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValidationEventArgs : System.EventArgs { public System.Xml.Schema.XmlSchemaException Exception { get => throw null; } @@ -1468,10 +1469,10 @@ namespace System public System.Xml.Schema.XmlSeverityType Severity { get => throw null; } } - // Generated from `System.Xml.Schema.ValidationEventHandler` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.ValidationEventHandler` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ValidationEventHandler(object sender, System.Xml.Schema.ValidationEventArgs e); - // Generated from `System.Xml.Schema.XmlAtomicValue` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlAtomicValue` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAtomicValue : System.Xml.XPath.XPathItem, System.ICloneable { public System.Xml.Schema.XmlAtomicValue Clone() => throw null; @@ -1490,7 +1491,7 @@ namespace System public override System.Xml.Schema.XmlSchemaType XmlType { get => throw null; } } - // Generated from `System.Xml.Schema.XmlSchema` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchema` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchema : System.Xml.Schema.XmlSchemaObject { public System.Xml.Schema.XmlSchemaForm AttributeFormDefault { get => throw null; set => throw null; } @@ -1526,14 +1527,14 @@ namespace System public XmlSchema() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAll` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaAll` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAll : System.Xml.Schema.XmlSchemaGroupBase { public override System.Xml.Schema.XmlSchemaObjectCollection Items { get => throw null; } public XmlSchemaAll() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAnnotated` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaAnnotated` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAnnotated : System.Xml.Schema.XmlSchemaObject { public System.Xml.Schema.XmlSchemaAnnotation Annotation { get => throw null; set => throw null; } @@ -1542,7 +1543,7 @@ namespace System public XmlSchemaAnnotated() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAnnotation` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaAnnotation` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAnnotation : System.Xml.Schema.XmlSchemaObject { public string Id { get => throw null; set => throw null; } @@ -1551,7 +1552,7 @@ namespace System public XmlSchemaAnnotation() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAny` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaAny` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAny : System.Xml.Schema.XmlSchemaParticle { public string Namespace { get => throw null; set => throw null; } @@ -1559,7 +1560,7 @@ namespace System public XmlSchemaAny() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAnyAttribute` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaAnyAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAnyAttribute : System.Xml.Schema.XmlSchemaAnnotated { public string Namespace { get => throw null; set => throw null; } @@ -1567,7 +1568,7 @@ namespace System public XmlSchemaAnyAttribute() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAppInfo` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaAppInfo` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAppInfo : System.Xml.Schema.XmlSchemaObject { public System.Xml.XmlNode[] Markup { get => throw null; set => throw null; } @@ -1575,7 +1576,7 @@ namespace System public XmlSchemaAppInfo() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAttribute` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAttribute : System.Xml.Schema.XmlSchemaAnnotated { public System.Xml.Schema.XmlSchemaSimpleType AttributeSchemaType { get => throw null; } @@ -1592,7 +1593,7 @@ namespace System public XmlSchemaAttribute() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAttributeGroup` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaAttributeGroup` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAttributeGroup : System.Xml.Schema.XmlSchemaAnnotated { public System.Xml.Schema.XmlSchemaAnyAttribute AnyAttribute { get => throw null; set => throw null; } @@ -1603,21 +1604,21 @@ namespace System public XmlSchemaAttributeGroup() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAttributeGroupRef` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaAttributeGroupRef` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAttributeGroupRef : System.Xml.Schema.XmlSchemaAnnotated { public System.Xml.XmlQualifiedName RefName { get => throw null; set => throw null; } public XmlSchemaAttributeGroupRef() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaChoice` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaChoice` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaChoice : System.Xml.Schema.XmlSchemaGroupBase { public override System.Xml.Schema.XmlSchemaObjectCollection Items { get => throw null; } public XmlSchemaChoice() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaCollection` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaCollection` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaCollection : System.Collections.ICollection, System.Collections.IEnumerable { public System.Xml.Schema.XmlSchema Add(System.Xml.Schema.XmlSchema schema) => throw null; @@ -1643,7 +1644,7 @@ namespace System public XmlSchemaCollection(System.Xml.XmlNameTable nametable) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaCollectionEnumerator` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaCollectionEnumerator` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaCollectionEnumerator : System.Collections.IEnumerator { public System.Xml.Schema.XmlSchema Current { get => throw null; } @@ -1653,14 +1654,14 @@ namespace System void System.Collections.IEnumerator.Reset() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaCompilationSettings` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaCompilationSettings` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaCompilationSettings { public bool EnableUpaCheck { get => throw null; set => throw null; } public XmlSchemaCompilationSettings() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaComplexContent` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaComplexContent` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaComplexContent : System.Xml.Schema.XmlSchemaContentModel { public override System.Xml.Schema.XmlSchemaContent Content { get => throw null; set => throw null; } @@ -1668,7 +1669,7 @@ namespace System public XmlSchemaComplexContent() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaComplexContentExtension` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaComplexContentExtension` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaComplexContentExtension : System.Xml.Schema.XmlSchemaContent { public System.Xml.Schema.XmlSchemaAnyAttribute AnyAttribute { get => throw null; set => throw null; } @@ -1678,7 +1679,7 @@ namespace System public XmlSchemaComplexContentExtension() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaComplexContentRestriction` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaComplexContentRestriction` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaComplexContentRestriction : System.Xml.Schema.XmlSchemaContent { public System.Xml.Schema.XmlSchemaAnyAttribute AnyAttribute { get => throw null; set => throw null; } @@ -1688,7 +1689,7 @@ namespace System public XmlSchemaComplexContentRestriction() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaComplexType` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaComplexType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaComplexType : System.Xml.Schema.XmlSchemaType { public System.Xml.Schema.XmlSchemaAnyAttribute AnyAttribute { get => throw null; set => throw null; } @@ -1706,20 +1707,20 @@ namespace System public XmlSchemaComplexType() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaContent` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaContent` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaContent : System.Xml.Schema.XmlSchemaAnnotated { protected XmlSchemaContent() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaContentModel` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaContentModel` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaContentModel : System.Xml.Schema.XmlSchemaAnnotated { public abstract System.Xml.Schema.XmlSchemaContent Content { get; set; } protected XmlSchemaContentModel() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaContentProcessing` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaContentProcessing` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSchemaContentProcessing : int { Lax = 2, @@ -1728,7 +1729,7 @@ namespace System Strict = 3, } - // Generated from `System.Xml.Schema.XmlSchemaContentType` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaContentType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSchemaContentType : int { ElementOnly = 2, @@ -1737,7 +1738,7 @@ namespace System TextOnly = 0, } - // Generated from `System.Xml.Schema.XmlSchemaDatatype` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaDatatype` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaDatatype { public virtual object ChangeType(object value, System.Type targetType) => throw null; @@ -1750,7 +1751,7 @@ namespace System public virtual System.Xml.Schema.XmlSchemaDatatypeVariety Variety { get => throw null; } } - // Generated from `System.Xml.Schema.XmlSchemaDatatypeVariety` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaDatatypeVariety` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSchemaDatatypeVariety : int { Atomic = 0, @@ -1758,7 +1759,7 @@ namespace System Union = 2, } - // Generated from `System.Xml.Schema.XmlSchemaDerivationMethod` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaDerivationMethod` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum XmlSchemaDerivationMethod : int { @@ -1772,7 +1773,7 @@ namespace System Union = 16, } - // Generated from `System.Xml.Schema.XmlSchemaDocumentation` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaDocumentation` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaDocumentation : System.Xml.Schema.XmlSchemaObject { public string Language { get => throw null; set => throw null; } @@ -1781,7 +1782,7 @@ namespace System public XmlSchemaDocumentation() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaElement` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaElement` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaElement : System.Xml.Schema.XmlSchemaParticle { public System.Xml.Schema.XmlSchemaDerivationMethod Block { get => throw null; set => throw null; } @@ -1805,13 +1806,13 @@ namespace System public XmlSchemaElement() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaEnumerationFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaEnumerationFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaEnumerationFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaEnumerationFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaException` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaException` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -1827,7 +1828,7 @@ namespace System public XmlSchemaException(string message, System.Exception innerException, int lineNumber, int linePosition) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaExternal` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaExternal` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaExternal : System.Xml.Schema.XmlSchemaObject { public string Id { get => throw null; set => throw null; } @@ -1837,7 +1838,7 @@ namespace System protected XmlSchemaExternal() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaFacet : System.Xml.Schema.XmlSchemaAnnotated { public virtual bool IsFixed { get => throw null; set => throw null; } @@ -1845,7 +1846,7 @@ namespace System protected XmlSchemaFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaForm` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaForm` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSchemaForm : int { None = 0, @@ -1853,13 +1854,13 @@ namespace System Unqualified = 2, } - // Generated from `System.Xml.Schema.XmlSchemaFractionDigitsFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaFractionDigitsFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaFractionDigitsFacet : System.Xml.Schema.XmlSchemaNumericFacet { public XmlSchemaFractionDigitsFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaGroup` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaGroup` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaGroup : System.Xml.Schema.XmlSchemaAnnotated { public string Name { get => throw null; set => throw null; } @@ -1868,14 +1869,14 @@ namespace System public XmlSchemaGroup() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaGroupBase` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaGroupBase` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaGroupBase : System.Xml.Schema.XmlSchemaParticle { public abstract System.Xml.Schema.XmlSchemaObjectCollection Items { get; } internal XmlSchemaGroupBase() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaGroupRef` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaGroupRef` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaGroupRef : System.Xml.Schema.XmlSchemaParticle { public System.Xml.Schema.XmlSchemaGroupBase Particle { get => throw null; } @@ -1883,7 +1884,7 @@ namespace System public XmlSchemaGroupRef() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaIdentityConstraint` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaIdentityConstraint` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaIdentityConstraint : System.Xml.Schema.XmlSchemaAnnotated { public System.Xml.Schema.XmlSchemaObjectCollection Fields { get => throw null; } @@ -1893,7 +1894,7 @@ namespace System public XmlSchemaIdentityConstraint() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaImport` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaImport` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaImport : System.Xml.Schema.XmlSchemaExternal { public System.Xml.Schema.XmlSchemaAnnotation Annotation { get => throw null; set => throw null; } @@ -1901,17 +1902,17 @@ namespace System public XmlSchemaImport() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaInclude` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaInclude` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaInclude : System.Xml.Schema.XmlSchemaExternal { public System.Xml.Schema.XmlSchemaAnnotation Annotation { get => throw null; set => throw null; } public XmlSchemaInclude() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaInference` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaInference` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaInference { - // Generated from `System.Xml.Schema.XmlSchemaInference+InferenceOption` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaInference+InferenceOption` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum InferenceOption : int { Relaxed = 1, @@ -1926,7 +1927,7 @@ namespace System public XmlSchemaInference() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaInferenceException` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaInferenceException` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaInferenceException : System.Xml.Schema.XmlSchemaException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -1937,7 +1938,7 @@ namespace System public XmlSchemaInferenceException(string message, System.Exception innerException, int lineNumber, int linePosition) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaInfo` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaInfo` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaInfo : System.Xml.Schema.IXmlSchemaInfo { public System.Xml.Schema.XmlSchemaContentType ContentType { get => throw null; set => throw null; } @@ -1951,62 +1952,62 @@ namespace System public XmlSchemaInfo() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaKey` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaKey` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaKey : System.Xml.Schema.XmlSchemaIdentityConstraint { public XmlSchemaKey() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaKeyref` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaKeyref` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaKeyref : System.Xml.Schema.XmlSchemaIdentityConstraint { public System.Xml.XmlQualifiedName Refer { get => throw null; set => throw null; } public XmlSchemaKeyref() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaLengthFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaLengthFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaLengthFacet : System.Xml.Schema.XmlSchemaNumericFacet { public XmlSchemaLengthFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaMaxExclusiveFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaMaxExclusiveFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaMaxExclusiveFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaMaxExclusiveFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaMaxInclusiveFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaMaxInclusiveFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaMaxInclusiveFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaMaxInclusiveFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaMaxLengthFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaMaxLengthFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaMaxLengthFacet : System.Xml.Schema.XmlSchemaNumericFacet { public XmlSchemaMaxLengthFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaMinExclusiveFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaMinExclusiveFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaMinExclusiveFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaMinExclusiveFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaMinInclusiveFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaMinInclusiveFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaMinInclusiveFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaMinInclusiveFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaMinLengthFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaMinLengthFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaMinLengthFacet : System.Xml.Schema.XmlSchemaNumericFacet { public XmlSchemaMinLengthFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaNotation` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaNotation` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaNotation : System.Xml.Schema.XmlSchemaAnnotated { public string Name { get => throw null; set => throw null; } @@ -2015,13 +2016,13 @@ namespace System public XmlSchemaNotation() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaNumericFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaNumericFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaNumericFacet : System.Xml.Schema.XmlSchemaFacet { protected XmlSchemaNumericFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaObject` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaObject` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaObject { public int LineNumber { get => throw null; set => throw null; } @@ -2032,7 +2033,7 @@ namespace System protected XmlSchemaObject() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaObjectCollection` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaObjectCollection` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaObjectCollection : System.Collections.CollectionBase { public int Add(System.Xml.Schema.XmlSchemaObject item) => throw null; @@ -2051,7 +2052,7 @@ namespace System public XmlSchemaObjectCollection(System.Xml.Schema.XmlSchemaObject parent) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaObjectEnumerator` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaObjectEnumerator` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaObjectEnumerator : System.Collections.IEnumerator { public System.Xml.Schema.XmlSchemaObject Current { get => throw null; } @@ -2062,7 +2063,7 @@ namespace System void System.Collections.IEnumerator.Reset() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaObjectTable` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaObjectTable` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaObjectTable { public bool Contains(System.Xml.XmlQualifiedName name) => throw null; @@ -2073,7 +2074,7 @@ namespace System public System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Xml.Schema.XmlSchemaParticle` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaParticle` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaParticle : System.Xml.Schema.XmlSchemaAnnotated { public System.Decimal MaxOccurs { get => throw null; set => throw null; } @@ -2083,13 +2084,13 @@ namespace System protected XmlSchemaParticle() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaPatternFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaPatternFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaPatternFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaPatternFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaRedefine` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaRedefine` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaRedefine : System.Xml.Schema.XmlSchemaExternal { public System.Xml.Schema.XmlSchemaObjectTable AttributeGroups { get => throw null; } @@ -2099,14 +2100,14 @@ namespace System public XmlSchemaRedefine() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSequence` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaSequence` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSequence : System.Xml.Schema.XmlSchemaGroupBase { public override System.Xml.Schema.XmlSchemaObjectCollection Items { get => throw null; } public XmlSchemaSequence() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaSet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSet { public System.Xml.Schema.XmlSchema Add(System.Xml.Schema.XmlSchema schema) => throw null; @@ -2135,14 +2136,14 @@ namespace System public XmlSchemaSet(System.Xml.XmlNameTable nameTable) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleContent` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaSimpleContent` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleContent : System.Xml.Schema.XmlSchemaContentModel { public override System.Xml.Schema.XmlSchemaContent Content { get => throw null; set => throw null; } public XmlSchemaSimpleContent() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleContentExtension` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaSimpleContentExtension` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleContentExtension : System.Xml.Schema.XmlSchemaContent { public System.Xml.Schema.XmlSchemaAnyAttribute AnyAttribute { get => throw null; set => throw null; } @@ -2151,7 +2152,7 @@ namespace System public XmlSchemaSimpleContentExtension() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleContentRestriction` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaSimpleContentRestriction` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleContentRestriction : System.Xml.Schema.XmlSchemaContent { public System.Xml.Schema.XmlSchemaAnyAttribute AnyAttribute { get => throw null; set => throw null; } @@ -2162,20 +2163,20 @@ namespace System public XmlSchemaSimpleContentRestriction() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleType` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaSimpleType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleType : System.Xml.Schema.XmlSchemaType { public System.Xml.Schema.XmlSchemaSimpleTypeContent Content { get => throw null; set => throw null; } public XmlSchemaSimpleType() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleTypeContent` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaSimpleTypeContent` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaSimpleTypeContent : System.Xml.Schema.XmlSchemaAnnotated { protected XmlSchemaSimpleTypeContent() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleTypeList` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaSimpleTypeList` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleTypeList : System.Xml.Schema.XmlSchemaSimpleTypeContent { public System.Xml.Schema.XmlSchemaSimpleType BaseItemType { get => throw null; set => throw null; } @@ -2184,7 +2185,7 @@ namespace System public XmlSchemaSimpleTypeList() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleTypeRestriction` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaSimpleTypeRestriction` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleTypeRestriction : System.Xml.Schema.XmlSchemaSimpleTypeContent { public System.Xml.Schema.XmlSchemaSimpleType BaseType { get => throw null; set => throw null; } @@ -2193,7 +2194,7 @@ namespace System public XmlSchemaSimpleTypeRestriction() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleTypeUnion` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaSimpleTypeUnion` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleTypeUnion : System.Xml.Schema.XmlSchemaSimpleTypeContent { public System.Xml.Schema.XmlSchemaSimpleType[] BaseMemberTypes { get => throw null; } @@ -2202,13 +2203,13 @@ namespace System public XmlSchemaSimpleTypeUnion() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaTotalDigitsFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaTotalDigitsFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaTotalDigitsFacet : System.Xml.Schema.XmlSchemaNumericFacet { public XmlSchemaTotalDigitsFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaType` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaType : System.Xml.Schema.XmlSchemaAnnotated { public object BaseSchemaType { get => throw null; } @@ -2229,13 +2230,13 @@ namespace System public XmlSchemaType() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaUnique` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaUnique` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaUnique : System.Xml.Schema.XmlSchemaIdentityConstraint { public XmlSchemaUnique() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaUse` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaUse` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSchemaUse : int { None = 0, @@ -2244,7 +2245,7 @@ namespace System Required = 3, } - // Generated from `System.Xml.Schema.XmlSchemaValidationException` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaValidationException` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaValidationException : System.Xml.Schema.XmlSchemaException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -2257,7 +2258,7 @@ namespace System public XmlSchemaValidationException(string message, System.Exception innerException, int lineNumber, int linePosition) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaValidationFlags` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaValidationFlags` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum XmlSchemaValidationFlags : int { @@ -2269,7 +2270,7 @@ namespace System ReportValidationWarnings = 4, } - // Generated from `System.Xml.Schema.XmlSchemaValidator` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaValidator` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaValidator { public void AddSchema(System.Xml.Schema.XmlSchema schema) => throw null; @@ -2299,7 +2300,7 @@ namespace System public XmlSchemaValidator(System.Xml.XmlNameTable nameTable, System.Xml.Schema.XmlSchemaSet schemas, System.Xml.IXmlNamespaceResolver namespaceResolver, System.Xml.Schema.XmlSchemaValidationFlags validationFlags) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaValidity` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaValidity` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSchemaValidity : int { Invalid = 2, @@ -2307,27 +2308,27 @@ namespace System Valid = 1, } - // Generated from `System.Xml.Schema.XmlSchemaWhiteSpaceFacet` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaWhiteSpaceFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaWhiteSpaceFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaWhiteSpaceFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaXPath` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSchemaXPath` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaXPath : System.Xml.Schema.XmlSchemaAnnotated { public string XPath { get => throw null; set => throw null; } public XmlSchemaXPath() => throw null; } - // Generated from `System.Xml.Schema.XmlSeverityType` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlSeverityType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSeverityType : int { Error = 0, Warning = 1, } - // Generated from `System.Xml.Schema.XmlTypeCode` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlTypeCode` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlTypeCode : int { AnyAtomicType = 10, @@ -2387,13 +2388,13 @@ namespace System YearMonthDuration = 53, } - // Generated from `System.Xml.Schema.XmlValueGetter` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.XmlValueGetter` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate object XmlValueGetter(); } namespace Serialization { - // Generated from `System.Xml.Serialization.IXmlSerializable` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.IXmlSerializable` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlSerializable { System.Xml.Schema.XmlSchema GetSchema(); @@ -2401,13 +2402,13 @@ namespace System void WriteXml(System.Xml.XmlWriter writer); } - // Generated from `System.Xml.Serialization.XmlAnyAttributeAttribute` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlAnyAttributeAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAnyAttributeAttribute : System.Attribute { public XmlAnyAttributeAttribute() => throw null; } - // Generated from `System.Xml.Serialization.XmlAnyElementAttribute` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlAnyElementAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAnyElementAttribute : System.Attribute { public string Name { get => throw null; set => throw null; } @@ -2418,7 +2419,7 @@ namespace System public XmlAnyElementAttribute(string name, string ns) => throw null; } - // Generated from `System.Xml.Serialization.XmlAttributeAttribute` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlAttributeAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAttributeAttribute : System.Attribute { public string AttributeName { get => throw null; set => throw null; } @@ -2432,7 +2433,7 @@ namespace System public XmlAttributeAttribute(string attributeName, System.Type type) => throw null; } - // Generated from `System.Xml.Serialization.XmlElementAttribute` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlElementAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlElementAttribute : System.Attribute { public string DataType { get => throw null; set => throw null; } @@ -2448,7 +2449,7 @@ namespace System public XmlElementAttribute(string elementName, System.Type type) => throw null; } - // Generated from `System.Xml.Serialization.XmlEnumAttribute` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlEnumAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlEnumAttribute : System.Attribute { public string Name { get => throw null; set => throw null; } @@ -2456,19 +2457,19 @@ namespace System public XmlEnumAttribute(string name) => throw null; } - // Generated from `System.Xml.Serialization.XmlIgnoreAttribute` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlIgnoreAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlIgnoreAttribute : System.Attribute { public XmlIgnoreAttribute() => throw null; } - // Generated from `System.Xml.Serialization.XmlNamespaceDeclarationsAttribute` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlNamespaceDeclarationsAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNamespaceDeclarationsAttribute : System.Attribute { public XmlNamespaceDeclarationsAttribute() => throw null; } - // Generated from `System.Xml.Serialization.XmlRootAttribute` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlRootAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlRootAttribute : System.Attribute { public string DataType { get => throw null; set => throw null; } @@ -2479,7 +2480,7 @@ namespace System public XmlRootAttribute(string elementName) => throw null; } - // Generated from `System.Xml.Serialization.XmlSchemaProviderAttribute` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSchemaProviderAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaProviderAttribute : System.Attribute { public bool IsAny { get => throw null; set => throw null; } @@ -2487,7 +2488,7 @@ namespace System public XmlSchemaProviderAttribute(string methodName) => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializerNamespaces` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializerNamespaces` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSerializerNamespaces { public void Add(string prefix, string ns) => throw null; @@ -2498,7 +2499,7 @@ namespace System public XmlSerializerNamespaces(System.Xml.Serialization.XmlSerializerNamespaces namespaces) => throw null; } - // Generated from `System.Xml.Serialization.XmlTextAttribute` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlTextAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlTextAttribute : System.Attribute { public string DataType { get => throw null; set => throw null; } @@ -2510,13 +2511,13 @@ namespace System } namespace XPath { - // Generated from `System.Xml.XPath.IXPathNavigable` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.IXPathNavigable` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXPathNavigable { System.Xml.XPath.XPathNavigator CreateNavigator(); } - // Generated from `System.Xml.XPath.XPathExpression` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.XPathExpression` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XPathExpression { public abstract void AddSort(object expr, System.Collections.IComparer comparer); @@ -2530,7 +2531,7 @@ namespace System public abstract void SetContext(System.Xml.XmlNamespaceManager nsManager); } - // Generated from `System.Xml.XPath.XPathItem` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.XPathItem` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XPathItem { public abstract bool IsNode { get; } @@ -2548,7 +2549,7 @@ namespace System public abstract System.Xml.Schema.XmlSchemaType XmlType { get; } } - // Generated from `System.Xml.XPath.XPathNamespaceScope` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.XPathNamespaceScope` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XPathNamespaceScope : int { All = 0, @@ -2556,7 +2557,7 @@ namespace System Local = 2, } - // Generated from `System.Xml.XPath.XPathNavigator` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.XPathNavigator` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XPathNavigator : System.Xml.XPath.XPathItem, System.ICloneable, System.Xml.IXmlNamespaceResolver, System.Xml.XPath.IXPathNavigable { public virtual System.Xml.XmlWriter AppendChild() => throw null; @@ -2677,7 +2678,7 @@ namespace System public override System.Xml.Schema.XmlSchemaType XmlType { get => throw null; } } - // Generated from `System.Xml.XPath.XPathNodeIterator` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.XPathNodeIterator` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XPathNodeIterator : System.Collections.IEnumerable, System.ICloneable { public abstract System.Xml.XPath.XPathNodeIterator Clone(); @@ -2690,7 +2691,7 @@ namespace System protected XPathNodeIterator() => throw null; } - // Generated from `System.Xml.XPath.XPathNodeType` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.XPathNodeType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XPathNodeType : int { All = 9, @@ -2705,7 +2706,7 @@ namespace System Whitespace = 6, } - // Generated from `System.Xml.XPath.XPathResultType` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.XPathResultType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XPathResultType : int { Any = 5, @@ -2717,7 +2718,7 @@ namespace System String = 1, } - // Generated from `System.Xml.XPath.XmlCaseOrder` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.XmlCaseOrder` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlCaseOrder : int { LowerFirst = 2, @@ -2725,14 +2726,14 @@ namespace System UpperFirst = 1, } - // Generated from `System.Xml.XPath.XmlDataType` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.XmlDataType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlDataType : int { Number = 2, Text = 1, } - // Generated from `System.Xml.XPath.XmlSortOrder` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.XmlSortOrder` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSortOrder : int { Ascending = 1, @@ -2742,7 +2743,7 @@ namespace System } namespace Xsl { - // Generated from `System.Xml.Xsl.IXsltContextFunction` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Xsl.IXsltContextFunction` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXsltContextFunction { System.Xml.XPath.XPathResultType[] ArgTypes { get; } @@ -2752,7 +2753,7 @@ namespace System System.Xml.XPath.XPathResultType ReturnType { get; } } - // Generated from `System.Xml.Xsl.IXsltContextVariable` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Xsl.IXsltContextVariable` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXsltContextVariable { object Evaluate(System.Xml.Xsl.XsltContext xsltContext); @@ -2761,7 +2762,7 @@ namespace System System.Xml.XPath.XPathResultType VariableType { get; } } - // Generated from `System.Xml.Xsl.XslCompiledTransform` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Xsl.XslCompiledTransform` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XslCompiledTransform { public void Load(System.Xml.XPath.IXPathNavigable stylesheet) => throw null; @@ -2792,7 +2793,7 @@ namespace System public XslCompiledTransform(bool enableDebug) => throw null; } - // Generated from `System.Xml.Xsl.XslTransform` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Xsl.XslTransform` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XslTransform { public void Load(System.Xml.XPath.IXPathNavigable stylesheet) => throw null; @@ -2825,7 +2826,7 @@ namespace System public XslTransform() => throw null; } - // Generated from `System.Xml.Xsl.XsltArgumentList` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Xsl.XsltArgumentList` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XsltArgumentList { public void AddExtensionObject(string namespaceUri, object extension) => throw null; @@ -2839,7 +2840,7 @@ namespace System public event System.Xml.Xsl.XsltMessageEncounteredEventHandler XsltMessageEncountered; } - // Generated from `System.Xml.Xsl.XsltCompileException` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Xsl.XsltCompileException` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XsltCompileException : System.Xml.Xsl.XsltException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -2850,7 +2851,7 @@ namespace System public XsltCompileException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Xml.Xsl.XsltContext` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Xsl.XsltContext` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XsltContext : System.Xml.XmlNamespaceManager { public abstract int CompareDocument(string baseUri, string nextbaseUri); @@ -2862,7 +2863,7 @@ namespace System protected XsltContext(System.Xml.NameTable table) : base(default(System.Xml.XmlNameTable)) => throw null; } - // Generated from `System.Xml.Xsl.XsltException` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Xsl.XsltException` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XsltException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -2876,17 +2877,17 @@ namespace System public XsltException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Xml.Xsl.XsltMessageEncounteredEventArgs` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Xsl.XsltMessageEncounteredEventArgs` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XsltMessageEncounteredEventArgs : System.EventArgs { public abstract string Message { get; } protected XsltMessageEncounteredEventArgs() => throw null; } - // Generated from `System.Xml.Xsl.XsltMessageEncounteredEventHandler` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Xsl.XsltMessageEncounteredEventHandler` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XsltMessageEncounteredEventHandler(object sender, System.Xml.Xsl.XsltMessageEncounteredEventArgs e); - // Generated from `System.Xml.Xsl.XsltSettings` in `System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Xsl.XsltSettings` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XsltSettings { public static System.Xml.Xsl.XsltSettings Default { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XDocument.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XDocument.cs index 25d2e33c43d..05c82be7de1 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XDocument.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XDocument.cs @@ -6,7 +6,7 @@ namespace System { namespace Linq { - // Generated from `System.Xml.Linq.Extensions` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.Extensions` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Extensions { public static System.Collections.Generic.IEnumerable Ancestors(this System.Collections.Generic.IEnumerable source) where T : System.Xml.Linq.XNode => throw null; @@ -29,7 +29,7 @@ namespace System public static void Remove(this System.Collections.Generic.IEnumerable source) where T : System.Xml.Linq.XNode => throw null; } - // Generated from `System.Xml.Linq.LoadOptions` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.LoadOptions` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum LoadOptions : int { @@ -39,7 +39,7 @@ namespace System SetLineInfo = 4, } - // Generated from `System.Xml.Linq.ReaderOptions` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.ReaderOptions` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ReaderOptions : int { @@ -47,7 +47,7 @@ namespace System OmitDuplicateNamespaces = 1, } - // Generated from `System.Xml.Linq.SaveOptions` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.SaveOptions` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SaveOptions : int { @@ -56,7 +56,7 @@ namespace System OmitDuplicateNamespaces = 2, } - // Generated from `System.Xml.Linq.XAttribute` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XAttribute` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XAttribute : System.Xml.Linq.XObject { public static System.Collections.Generic.IEnumerable EmptySequence { get => throw null; } @@ -98,7 +98,7 @@ namespace System public static explicit operator string(System.Xml.Linq.XAttribute attribute) => throw null; } - // Generated from `System.Xml.Linq.XCData` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XCData` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XCData : System.Xml.Linq.XText { public override System.Xml.XmlNodeType NodeType { get => throw null; } @@ -108,7 +108,7 @@ namespace System public XCData(string value) : base(default(System.Xml.Linq.XText)) => throw null; } - // Generated from `System.Xml.Linq.XComment` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XComment` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XComment : System.Xml.Linq.XNode { public override System.Xml.XmlNodeType NodeType { get => throw null; } @@ -119,7 +119,7 @@ namespace System public XComment(string value) => throw null; } - // Generated from `System.Xml.Linq.XContainer` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XContainer` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XContainer : System.Xml.Linq.XNode { public void Add(object content) => throw null; @@ -142,7 +142,7 @@ namespace System internal XContainer() => throw null; } - // Generated from `System.Xml.Linq.XDeclaration` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XDeclaration` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XDeclaration { public string Encoding { get => throw null; set => throw null; } @@ -153,7 +153,7 @@ namespace System public XDeclaration(string version, string encoding, string standalone) => throw null; } - // Generated from `System.Xml.Linq.XDocument` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XDocument` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XDocument : System.Xml.Linq.XContainer { public System.Xml.Linq.XDeclaration Declaration { get => throw null; set => throw null; } @@ -191,7 +191,7 @@ namespace System public XDocument(params object[] content) => throw null; } - // Generated from `System.Xml.Linq.XDocumentType` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XDocumentType` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XDocumentType : System.Xml.Linq.XNode { public string InternalSubset { get => throw null; set => throw null; } @@ -205,7 +205,7 @@ namespace System public XDocumentType(string name, string publicId, string systemId, string internalSubset) => throw null; } - // Generated from `System.Xml.Linq.XElement` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XElement` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XElement : System.Xml.Linq.XContainer, System.Xml.Serialization.IXmlSerializable { public System.Collections.Generic.IEnumerable AncestorsAndSelf() => throw null; @@ -297,7 +297,7 @@ namespace System public static explicit operator string(System.Xml.Linq.XElement element) => throw null; } - // Generated from `System.Xml.Linq.XName` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XName` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XName : System.IEquatable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.Xml.Linq.XName left, System.Xml.Linq.XName right) => throw null; @@ -315,7 +315,7 @@ namespace System public static implicit operator System.Xml.Linq.XName(string expandedName) => throw null; } - // Generated from `System.Xml.Linq.XNamespace` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XNamespace` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XNamespace { public static bool operator !=(System.Xml.Linq.XNamespace left, System.Xml.Linq.XNamespace right) => throw null; @@ -333,7 +333,7 @@ namespace System public static implicit operator System.Xml.Linq.XNamespace(string namespaceName) => throw null; } - // Generated from `System.Xml.Linq.XNode` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XNode` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XNode : System.Xml.Linq.XObject { public void AddAfterSelf(object content) => throw null; @@ -370,7 +370,7 @@ namespace System internal XNode() => throw null; } - // Generated from `System.Xml.Linq.XNodeDocumentOrderComparer` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XNodeDocumentOrderComparer` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XNodeDocumentOrderComparer : System.Collections.Generic.IComparer, System.Collections.IComparer { public int Compare(System.Xml.Linq.XNode x, System.Xml.Linq.XNode y) => throw null; @@ -378,7 +378,7 @@ namespace System public XNodeDocumentOrderComparer() => throw null; } - // Generated from `System.Xml.Linq.XNodeEqualityComparer` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XNodeEqualityComparer` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XNodeEqualityComparer : System.Collections.Generic.IEqualityComparer, System.Collections.IEqualityComparer { public bool Equals(System.Xml.Linq.XNode x, System.Xml.Linq.XNode y) => throw null; @@ -388,7 +388,7 @@ namespace System public XNodeEqualityComparer() => throw null; } - // Generated from `System.Xml.Linq.XObject` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XObject` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XObject : System.Xml.IXmlLineInfo { public void AddAnnotation(object annotation) => throw null; @@ -410,7 +410,7 @@ namespace System internal XObject() => throw null; } - // Generated from `System.Xml.Linq.XObjectChange` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XObjectChange` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XObjectChange : int { Add = 0, @@ -419,7 +419,7 @@ namespace System Value = 3, } - // Generated from `System.Xml.Linq.XObjectChangeEventArgs` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XObjectChangeEventArgs` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XObjectChangeEventArgs : System.EventArgs { public static System.Xml.Linq.XObjectChangeEventArgs Add; @@ -430,7 +430,7 @@ namespace System public XObjectChangeEventArgs(System.Xml.Linq.XObjectChange objectChange) => throw null; } - // Generated from `System.Xml.Linq.XProcessingInstruction` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XProcessingInstruction` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XProcessingInstruction : System.Xml.Linq.XNode { public string Data { get => throw null; set => throw null; } @@ -442,7 +442,7 @@ namespace System public XProcessingInstruction(string target, string data) => throw null; } - // Generated from `System.Xml.Linq.XStreamingElement` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XStreamingElement` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XStreamingElement { public void Add(object content) => throw null; @@ -463,7 +463,7 @@ namespace System public XStreamingElement(System.Xml.Linq.XName name, params object[] content) => throw null; } - // Generated from `System.Xml.Linq.XText` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Linq.XText` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XText : System.Xml.Linq.XNode { public override System.Xml.XmlNodeType NodeType { get => throw null; } @@ -477,7 +477,7 @@ namespace System } namespace Schema { - // Generated from `System.Xml.Schema.Extensions` in `System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Schema.Extensions` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Extensions { public static System.Xml.Schema.IXmlSchemaInfo GetSchemaInfo(this System.Xml.Linq.XAttribute source) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.XDocument.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.XDocument.cs index ee8b0ec0f95..4770fc85133 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.XDocument.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.XDocument.cs @@ -6,7 +6,7 @@ namespace System { namespace XPath { - // Generated from `System.Xml.XPath.Extensions` in `System.Xml.XPath.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.Extensions` in `System.Xml.XPath.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Extensions { public static System.Xml.XPath.XPathNavigator CreateNavigator(this System.Xml.Linq.XNode node) => throw null; @@ -19,7 +19,7 @@ namespace System public static System.Collections.Generic.IEnumerable XPathSelectElements(this System.Xml.Linq.XNode node, string expression, System.Xml.IXmlNamespaceResolver resolver) => throw null; } - // Generated from `System.Xml.XPath.XDocumentExtensions` in `System.Xml.XPath.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.XDocumentExtensions` in `System.Xml.XPath.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class XDocumentExtensions { public static System.Xml.XPath.IXPathNavigable ToXPathNavigable(this System.Xml.Linq.XNode node) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.cs index f92e22f5228..b942127f234 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.cs @@ -6,7 +6,7 @@ namespace System { namespace XPath { - // Generated from `System.Xml.XPath.XPathDocument` in `System.Xml.XPath, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.XPathDocument` in `System.Xml.XPath, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XPathDocument : System.Xml.XPath.IXPathNavigable { public System.Xml.XPath.XPathNavigator CreateNavigator() => throw null; @@ -18,7 +18,7 @@ namespace System public XPathDocument(string uri, System.Xml.XmlSpace space) => throw null; } - // Generated from `System.Xml.XPath.XPathException` in `System.Xml.XPath, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.XPath.XPathException` in `System.Xml.XPath, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XPathException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XmlSerializer.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XmlSerializer.cs index 05ffee9e018..0e63a16183f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XmlSerializer.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XmlSerializer.cs @@ -6,7 +6,7 @@ namespace System { namespace Serialization { - // Generated from `System.Xml.Serialization.CodeGenerationOptions` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.CodeGenerationOptions` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CodeGenerationOptions : int { @@ -18,7 +18,7 @@ namespace System None = 0, } - // Generated from `System.Xml.Serialization.CodeIdentifier` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.CodeIdentifier` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CodeIdentifier { public CodeIdentifier() => throw null; @@ -27,7 +27,7 @@ namespace System public static string MakeValid(string identifier) => throw null; } - // Generated from `System.Xml.Serialization.CodeIdentifiers` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.CodeIdentifiers` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CodeIdentifiers { public void Add(string identifier, object value) => throw null; @@ -45,14 +45,14 @@ namespace System public bool UseCamelCasing { get => throw null; set => throw null; } } - // Generated from `System.Xml.Serialization.IXmlTextParser` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.IXmlTextParser` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlTextParser { bool Normalized { get; set; } System.Xml.WhitespaceHandling WhitespaceHandling { get; set; } } - // Generated from `System.Xml.Serialization.ImportContext` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.ImportContext` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImportContext { public ImportContext(System.Xml.Serialization.CodeIdentifiers identifiers, bool shareTypes) => throw null; @@ -61,13 +61,13 @@ namespace System public System.Collections.Specialized.StringCollection Warnings { get => throw null; } } - // Generated from `System.Xml.Serialization.SchemaImporter` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.SchemaImporter` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SchemaImporter { internal SchemaImporter() => throw null; } - // Generated from `System.Xml.Serialization.SoapAttributeAttribute` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.SoapAttributeAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapAttributeAttribute : System.Attribute { public string AttributeName { get => throw null; set => throw null; } @@ -77,7 +77,7 @@ namespace System public SoapAttributeAttribute(string attributeName) => throw null; } - // Generated from `System.Xml.Serialization.SoapAttributeOverrides` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.SoapAttributeOverrides` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapAttributeOverrides { public void Add(System.Type type, System.Xml.Serialization.SoapAttributes attributes) => throw null; @@ -87,7 +87,7 @@ namespace System public SoapAttributeOverrides() => throw null; } - // Generated from `System.Xml.Serialization.SoapAttributes` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.SoapAttributes` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapAttributes { public System.Xml.Serialization.SoapAttributeAttribute SoapAttribute { get => throw null; set => throw null; } @@ -100,7 +100,7 @@ namespace System public System.Xml.Serialization.SoapTypeAttribute SoapType { get => throw null; set => throw null; } } - // Generated from `System.Xml.Serialization.SoapElementAttribute` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.SoapElementAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapElementAttribute : System.Attribute { public string DataType { get => throw null; set => throw null; } @@ -110,7 +110,7 @@ namespace System public SoapElementAttribute(string elementName) => throw null; } - // Generated from `System.Xml.Serialization.SoapEnumAttribute` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.SoapEnumAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapEnumAttribute : System.Attribute { public string Name { get => throw null; set => throw null; } @@ -118,20 +118,20 @@ namespace System public SoapEnumAttribute(string name) => throw null; } - // Generated from `System.Xml.Serialization.SoapIgnoreAttribute` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.SoapIgnoreAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapIgnoreAttribute : System.Attribute { public SoapIgnoreAttribute() => throw null; } - // Generated from `System.Xml.Serialization.SoapIncludeAttribute` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.SoapIncludeAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapIncludeAttribute : System.Attribute { public SoapIncludeAttribute(System.Type type) => throw null; public System.Type Type { get => throw null; set => throw null; } } - // Generated from `System.Xml.Serialization.SoapReflectionImporter` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.SoapReflectionImporter` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapReflectionImporter { public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping(string elementName, string ns, System.Xml.Serialization.XmlReflectionMember[] members) => throw null; @@ -148,7 +148,7 @@ namespace System public SoapReflectionImporter(string defaultNamespace) => throw null; } - // Generated from `System.Xml.Serialization.SoapSchemaMember` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.SoapSchemaMember` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapSchemaMember { public string MemberName { get => throw null; set => throw null; } @@ -156,7 +156,7 @@ namespace System public SoapSchemaMember() => throw null; } - // Generated from `System.Xml.Serialization.SoapTypeAttribute` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.SoapTypeAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapTypeAttribute : System.Attribute { public bool IncludeInSchema { get => throw null; set => throw null; } @@ -167,7 +167,7 @@ namespace System public string TypeName { get => throw null; set => throw null; } } - // Generated from `System.Xml.Serialization.UnreferencedObjectEventArgs` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.UnreferencedObjectEventArgs` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnreferencedObjectEventArgs : System.EventArgs { public string UnreferencedId { get => throw null; } @@ -175,10 +175,10 @@ namespace System public UnreferencedObjectEventArgs(object o, string id) => throw null; } - // Generated from `System.Xml.Serialization.UnreferencedObjectEventHandler` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.UnreferencedObjectEventHandler` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void UnreferencedObjectEventHandler(object sender, System.Xml.Serialization.UnreferencedObjectEventArgs e); - // Generated from `System.Xml.Serialization.XmlAnyElementAttributes` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlAnyElementAttributes` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAnyElementAttributes : System.Collections.CollectionBase { public int Add(System.Xml.Serialization.XmlAnyElementAttribute attribute) => throw null; @@ -191,7 +191,7 @@ namespace System public XmlAnyElementAttributes() => throw null; } - // Generated from `System.Xml.Serialization.XmlArrayAttribute` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlArrayAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlArrayAttribute : System.Attribute { public string ElementName { get => throw null; set => throw null; } @@ -203,7 +203,7 @@ namespace System public XmlArrayAttribute(string elementName) => throw null; } - // Generated from `System.Xml.Serialization.XmlArrayItemAttribute` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlArrayItemAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlArrayItemAttribute : System.Attribute { public string DataType { get => throw null; set => throw null; } @@ -219,7 +219,7 @@ namespace System public XmlArrayItemAttribute(string elementName, System.Type type) => throw null; } - // Generated from `System.Xml.Serialization.XmlArrayItemAttributes` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlArrayItemAttributes` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlArrayItemAttributes : System.Collections.CollectionBase { public int Add(System.Xml.Serialization.XmlArrayItemAttribute attribute) => throw null; @@ -232,7 +232,7 @@ namespace System public XmlArrayItemAttributes() => throw null; } - // Generated from `System.Xml.Serialization.XmlAttributeEventArgs` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlAttributeEventArgs` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAttributeEventArgs : System.EventArgs { public System.Xml.XmlAttribute Attr { get => throw null; } @@ -242,10 +242,10 @@ namespace System public object ObjectBeingDeserialized { get => throw null; } } - // Generated from `System.Xml.Serialization.XmlAttributeEventHandler` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlAttributeEventHandler` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlAttributeEventHandler(object sender, System.Xml.Serialization.XmlAttributeEventArgs e); - // Generated from `System.Xml.Serialization.XmlAttributeOverrides` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlAttributeOverrides` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAttributeOverrides { public void Add(System.Type type, System.Xml.Serialization.XmlAttributes attributes) => throw null; @@ -255,7 +255,7 @@ namespace System public XmlAttributeOverrides() => throw null; } - // Generated from `System.Xml.Serialization.XmlAttributes` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlAttributes` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAttributes { public System.Xml.Serialization.XmlAnyAttributeAttribute XmlAnyAttribute { get => throw null; set => throw null; } @@ -276,7 +276,7 @@ namespace System public bool Xmlns { get => throw null; set => throw null; } } - // Generated from `System.Xml.Serialization.XmlChoiceIdentifierAttribute` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlChoiceIdentifierAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlChoiceIdentifierAttribute : System.Attribute { public string MemberName { get => throw null; set => throw null; } @@ -284,7 +284,7 @@ namespace System public XmlChoiceIdentifierAttribute(string name) => throw null; } - // Generated from `System.Xml.Serialization.XmlDeserializationEvents` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlDeserializationEvents` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct XmlDeserializationEvents { public System.Xml.Serialization.XmlAttributeEventHandler OnUnknownAttribute { get => throw null; set => throw null; } @@ -294,7 +294,7 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Xml.Serialization.XmlElementAttributes` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlElementAttributes` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlElementAttributes : System.Collections.CollectionBase { public int Add(System.Xml.Serialization.XmlElementAttribute attribute) => throw null; @@ -307,7 +307,7 @@ namespace System public XmlElementAttributes() => throw null; } - // Generated from `System.Xml.Serialization.XmlElementEventArgs` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlElementEventArgs` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlElementEventArgs : System.EventArgs { public System.Xml.XmlElement Element { get => throw null; } @@ -317,17 +317,17 @@ namespace System public object ObjectBeingDeserialized { get => throw null; } } - // Generated from `System.Xml.Serialization.XmlElementEventHandler` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlElementEventHandler` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlElementEventHandler(object sender, System.Xml.Serialization.XmlElementEventArgs e); - // Generated from `System.Xml.Serialization.XmlIncludeAttribute` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlIncludeAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlIncludeAttribute : System.Attribute { public System.Type Type { get => throw null; set => throw null; } public XmlIncludeAttribute(System.Type type) => throw null; } - // Generated from `System.Xml.Serialization.XmlMapping` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlMapping` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlMapping { public string ElementName { get => throw null; } @@ -337,7 +337,7 @@ namespace System public string XsdElementName { get => throw null; } } - // Generated from `System.Xml.Serialization.XmlMappingAccess` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlMappingAccess` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum XmlMappingAccess : int { @@ -346,7 +346,7 @@ namespace System Write = 2, } - // Generated from `System.Xml.Serialization.XmlMemberMapping` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlMemberMapping` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlMemberMapping { public bool Any { get => throw null; } @@ -360,7 +360,7 @@ namespace System public string XsdElementName { get => throw null; } } - // Generated from `System.Xml.Serialization.XmlMembersMapping` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlMembersMapping` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlMembersMapping : System.Xml.Serialization.XmlMapping { public int Count { get => throw null; } @@ -369,7 +369,7 @@ namespace System public string TypeNamespace { get => throw null; } } - // Generated from `System.Xml.Serialization.XmlNodeEventArgs` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlNodeEventArgs` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNodeEventArgs : System.EventArgs { public int LineNumber { get => throw null; } @@ -382,10 +382,10 @@ namespace System public string Text { get => throw null; } } - // Generated from `System.Xml.Serialization.XmlNodeEventHandler` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlNodeEventHandler` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlNodeEventHandler(object sender, System.Xml.Serialization.XmlNodeEventArgs e); - // Generated from `System.Xml.Serialization.XmlReflectionImporter` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlReflectionImporter` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlReflectionImporter { public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping(string elementName, string ns, System.Xml.Serialization.XmlReflectionMember[] members, bool hasWrapperElement) => throw null; @@ -404,7 +404,7 @@ namespace System public XmlReflectionImporter(string defaultNamespace) => throw null; } - // Generated from `System.Xml.Serialization.XmlReflectionMember` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlReflectionMember` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlReflectionMember { public bool IsReturnValue { get => throw null; set => throw null; } @@ -416,7 +416,7 @@ namespace System public XmlReflectionMember() => throw null; } - // Generated from `System.Xml.Serialization.XmlSchemaEnumerator` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSchemaEnumerator` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Xml.Schema.XmlSchema Current { get => throw null; } @@ -427,7 +427,7 @@ namespace System public XmlSchemaEnumerator(System.Xml.Serialization.XmlSchemas list) => throw null; } - // Generated from `System.Xml.Serialization.XmlSchemaExporter` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSchemaExporter` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaExporter { public string ExportAnyType(System.Xml.Serialization.XmlMembersMapping members) => throw null; @@ -439,7 +439,7 @@ namespace System public XmlSchemaExporter(System.Xml.Serialization.XmlSchemas schemas) => throw null; } - // Generated from `System.Xml.Serialization.XmlSchemaImporter` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSchemaImporter` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaImporter : System.Xml.Serialization.SchemaImporter { public System.Xml.Serialization.XmlMembersMapping ImportAnyType(System.Xml.XmlQualifiedName typeName, string elementName) => throw null; @@ -457,7 +457,7 @@ namespace System public XmlSchemaImporter(System.Xml.Serialization.XmlSchemas schemas, System.Xml.Serialization.CodeIdentifiers typeIdentifiers) => throw null; } - // Generated from `System.Xml.Serialization.XmlSchemas` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSchemas` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemas : System.Collections.CollectionBase, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public int Add(System.Xml.Schema.XmlSchema schema) => throw null; @@ -485,25 +485,25 @@ namespace System public XmlSchemas() => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializationCollectionFixupCallback` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializationCollectionFixupCallback` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlSerializationCollectionFixupCallback(object collection, object collectionItems); - // Generated from `System.Xml.Serialization.XmlSerializationFixupCallback` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializationFixupCallback` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlSerializationFixupCallback(object fixup); - // Generated from `System.Xml.Serialization.XmlSerializationGeneratedCode` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializationGeneratedCode` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSerializationGeneratedCode { protected XmlSerializationGeneratedCode() => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializationReadCallback` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializationReadCallback` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate object XmlSerializationReadCallback(); - // Generated from `System.Xml.Serialization.XmlSerializationReader` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializationReader` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSerializationReader : System.Xml.Serialization.XmlSerializationGeneratedCode { - // Generated from `System.Xml.Serialization.XmlSerializationReader+CollectionFixup` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializationReader+CollectionFixup` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` protected class CollectionFixup { public System.Xml.Serialization.XmlSerializationCollectionFixupCallback Callback { get => throw null; } @@ -513,7 +513,7 @@ namespace System } - // Generated from `System.Xml.Serialization.XmlSerializationReader+Fixup` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializationReader+Fixup` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` protected class Fixup { public System.Xml.Serialization.XmlSerializationFixupCallback Callback { get => throw null; } @@ -603,10 +603,10 @@ namespace System protected XmlSerializationReader() => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializationWriteCallback` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializationWriteCallback` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlSerializationWriteCallback(object o); - // Generated from `System.Xml.Serialization.XmlSerializationWriter` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializationWriter` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSerializationWriter : System.Xml.Serialization.XmlSerializationGeneratedCode { protected void AddWriteCallback(System.Type type, string typeName, string typeNs, System.Xml.Serialization.XmlSerializationWriteCallback callback) => throw null; @@ -706,7 +706,7 @@ namespace System protected XmlSerializationWriter() => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializer` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializer` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSerializer { public virtual bool CanDeserialize(System.Xml.XmlReader xmlReader) => throw null; @@ -748,7 +748,7 @@ namespace System public XmlSerializer(System.Xml.Serialization.XmlTypeMapping xmlTypeMapping) => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializerAssemblyAttribute` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializerAssemblyAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSerializerAssemblyAttribute : System.Attribute { public string AssemblyName { get => throw null; set => throw null; } @@ -758,7 +758,7 @@ namespace System public XmlSerializerAssemblyAttribute(string assemblyName, string codeBase) => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializerFactory` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializerFactory` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSerializerFactory { public System.Xml.Serialization.XmlSerializer CreateSerializer(System.Type type) => throw null; @@ -772,7 +772,7 @@ namespace System public XmlSerializerFactory() => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializerImplementation` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializerImplementation` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSerializerImplementation { public virtual bool CanSerialize(System.Type type) => throw null; @@ -785,7 +785,7 @@ namespace System protected XmlSerializerImplementation() => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializerVersionAttribute` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlSerializerVersionAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSerializerVersionAttribute : System.Attribute { public string Namespace { get => throw null; set => throw null; } @@ -796,7 +796,7 @@ namespace System public XmlSerializerVersionAttribute(System.Type type) => throw null; } - // Generated from `System.Xml.Serialization.XmlTypeAttribute` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlTypeAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlTypeAttribute : System.Attribute { public bool AnonymousType { get => throw null; set => throw null; } @@ -807,7 +807,7 @@ namespace System public XmlTypeAttribute(string typeName) => throw null; } - // Generated from `System.Xml.Serialization.XmlTypeMapping` in `System.Xml.XmlSerializer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` + // Generated from `System.Xml.Serialization.XmlTypeMapping` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlTypeMapping : System.Xml.Serialization.XmlMapping { public string TypeFullName { get => throw null; } From 24fa2be7b38f8522d04b8bdb8149bbfc2ba36a9a Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Thu, 2 Mar 2023 15:58:08 +0100 Subject: [PATCH 053/145] C#: Update flow summaries expected output test. --- .../dataflow/library/FlowSummaries.expected | 980 +++++++++++++++++- .../library/FlowSummariesFiltered.expected | 63 ++ 2 files changed, 1004 insertions(+), 39 deletions(-) diff --git a/csharp/ql/test/library-tests/dataflow/library/FlowSummaries.expected b/csharp/ql/test/library-tests/dataflow/library/FlowSummaries.expected index ad09add3853..10ef552105a 100644 --- a/csharp/ql/test/library-tests/dataflow/library/FlowSummaries.expected +++ b/csharp/ql/test/library-tests/dataflow/library/FlowSummaries.expected @@ -143,21 +143,25 @@ summary | Microsoft.AspNetCore.Server.IIS.Core;ThrowingWasUpgradedWriteOnlyStream;false;WriteAsync;(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken);;Argument[0].Element;Argument[this];taint;manual | | Microsoft.AspNetCore.Server.IIS.Core;WriteOnlyStream;false;Read;(System.Byte[],System.Int32,System.Int32);;Argument[this];Argument[0].Element;taint;manual | | Microsoft.AspNetCore.Server.IIS.Core;WriteOnlyStream;false;ReadAsync;(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken);;Argument[this];Argument[0].Element;taint;manual | +| Microsoft.AspNetCore.Server.IIS.Core;WriteOnlyStream;false;ReadAsync;(System.Memory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | Microsoft.AspNetCore.WebUtilities;BufferedReadStream;false;FlushAsync;(System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | Microsoft.AspNetCore.WebUtilities;BufferedReadStream;false;Read;(System.Byte[],System.Int32,System.Int32);;Argument[this];Argument[0].Element;taint;manual | | Microsoft.AspNetCore.WebUtilities;BufferedReadStream;false;ReadAsync;(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken);;Argument[this];Argument[0].Element;taint;manual | | Microsoft.AspNetCore.WebUtilities;BufferedReadStream;false;ReadAsync;(System.Memory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | Microsoft.AspNetCore.WebUtilities;BufferedReadStream;false;Write;(System.Byte[],System.Int32,System.Int32);;Argument[0].Element;Argument[this];taint;manual | | Microsoft.AspNetCore.WebUtilities;BufferedReadStream;false;WriteAsync;(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken);;Argument[0].Element;Argument[this];taint;manual | +| Microsoft.AspNetCore.WebUtilities;BufferedReadStream;false;WriteAsync;(System.ReadOnlyMemory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | Microsoft.AspNetCore.WebUtilities;FileBufferingReadStream;false;CopyToAsync;(System.IO.Stream,System.Int32,System.Threading.CancellationToken);;Argument[this];Argument[0];taint;manual | | Microsoft.AspNetCore.WebUtilities;FileBufferingReadStream;false;Read;(System.Byte[],System.Int32,System.Int32);;Argument[this];Argument[0].Element;taint;manual | | Microsoft.AspNetCore.WebUtilities;FileBufferingReadStream;false;ReadAsync;(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken);;Argument[this];Argument[0].Element;taint;manual | | Microsoft.AspNetCore.WebUtilities;FileBufferingReadStream;false;ReadAsync;(System.Memory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | Microsoft.AspNetCore.WebUtilities;FileBufferingReadStream;false;Write;(System.Byte[],System.Int32,System.Int32);;Argument[0].Element;Argument[this];taint;manual | | Microsoft.AspNetCore.WebUtilities;FileBufferingReadStream;false;WriteAsync;(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken);;Argument[0].Element;Argument[this];taint;manual | +| Microsoft.AspNetCore.WebUtilities;FileBufferingReadStream;false;WriteAsync;(System.ReadOnlyMemory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | Microsoft.AspNetCore.WebUtilities;FileBufferingWriteStream;false;FlushAsync;(System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | Microsoft.AspNetCore.WebUtilities;FileBufferingWriteStream;false;Read;(System.Byte[],System.Int32,System.Int32);;Argument[this];Argument[0].Element;taint;manual | | Microsoft.AspNetCore.WebUtilities;FileBufferingWriteStream;false;ReadAsync;(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken);;Argument[this];Argument[0].Element;taint;manual | +| Microsoft.AspNetCore.WebUtilities;FileBufferingWriteStream;false;ReadAsync;(System.Memory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | Microsoft.AspNetCore.WebUtilities;FileBufferingWriteStream;false;Write;(System.Byte[],System.Int32,System.Int32);;Argument[0].Element;Argument[this];taint;manual | | Microsoft.AspNetCore.WebUtilities;FileBufferingWriteStream;false;WriteAsync;(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken);;Argument[0].Element;Argument[this];taint;manual | | Microsoft.AspNetCore.WebUtilities;FileBufferingWriteStream;false;WriteAsync;(System.ReadOnlyMemory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | @@ -178,9 +182,14 @@ summary | Microsoft.AspNetCore.WebUtilities;HttpResponseStreamWriter;false;WriteAsync;(System.ReadOnlyMemory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | Microsoft.AspNetCore.WebUtilities;HttpResponseStreamWriter;false;WriteAsync;(System.String);;Argument[0];ReturnValue;taint;generated | | Microsoft.AspNetCore.WebUtilities;HttpResponseStreamWriter;false;WriteAsync;(System.String);;Argument[this];ReturnValue;taint;generated | +| Microsoft.AspNetCore.WebUtilities;HttpResponseStreamWriter;false;WriteLineAsync;(System.Char);;Argument[this];ReturnValue;taint;generated | +| Microsoft.AspNetCore.WebUtilities;HttpResponseStreamWriter;false;WriteLineAsync;(System.Char[],System.Int32,System.Int32);;Argument[0].Element;ReturnValue;taint;generated | +| Microsoft.AspNetCore.WebUtilities;HttpResponseStreamWriter;false;WriteLineAsync;(System.Char[],System.Int32,System.Int32);;Argument[this];ReturnValue;taint;generated | | Microsoft.AspNetCore.WebUtilities;HttpResponseStreamWriter;false;WriteLineAsync;(System.ReadOnlyMemory,System.Threading.CancellationToken);;Argument[0];ReturnValue;taint;generated | | Microsoft.AspNetCore.WebUtilities;HttpResponseStreamWriter;false;WriteLineAsync;(System.ReadOnlyMemory,System.Threading.CancellationToken);;Argument[1];ReturnValue;taint;generated | | Microsoft.AspNetCore.WebUtilities;HttpResponseStreamWriter;false;WriteLineAsync;(System.ReadOnlyMemory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | +| Microsoft.AspNetCore.WebUtilities;HttpResponseStreamWriter;false;WriteLineAsync;(System.String);;Argument[0];ReturnValue;taint;generated | +| Microsoft.AspNetCore.WebUtilities;HttpResponseStreamWriter;false;WriteLineAsync;(System.String);;Argument[this];ReturnValue;taint;generated | | Microsoft.CSharp.RuntimeBinder;Binder;false;BinaryOperation;(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags,System.Linq.Expressions.ExpressionType,System.Type,System.Collections.Generic.IEnumerable);;Argument[2];ReturnValue;taint;generated | | Microsoft.CSharp.RuntimeBinder;Binder;false;BinaryOperation;(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags,System.Linq.Expressions.ExpressionType,System.Type,System.Collections.Generic.IEnumerable);;Argument[3].Element;ReturnValue;taint;generated | | Microsoft.CSharp.RuntimeBinder;Binder;false;Convert;(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags,System.Type,System.Type);;Argument[2];ReturnValue;taint;generated | @@ -781,6 +790,7 @@ summary | System.Buffers;ReadOnlySequence<>;false;get_First;();;Argument[this];ReturnValue;taint;generated | | System.Buffers;ReadOnlySequence<>;false;get_Start;();;Argument[this];ReturnValue;taint;generated | | System.Buffers;SequenceReader<>;false;SequenceReader;(System.Buffers.ReadOnlySequence);;Argument[0];Argument[this];taint;generated | +| System.Buffers;SequenceReader<>;false;TryReadExact;(System.Int32,System.Buffers.ReadOnlySequence);;Argument[this];ReturnValue;taint;generated | | System.Buffers;SequenceReader<>;false;TryReadTo;(System.Buffers.ReadOnlySequence,System.ReadOnlySpan,System.Boolean);;Argument[this];ReturnValue;taint;generated | | System.Buffers;SequenceReader<>;false;TryReadTo;(System.Buffers.ReadOnlySequence,T,System.Boolean);;Argument[this];ReturnValue;taint;generated | | System.Buffers;SequenceReader<>;false;TryReadTo;(System.Buffers.ReadOnlySequence,T,T,System.Boolean);;Argument[this];ReturnValue;taint;generated | @@ -913,6 +923,8 @@ summary | System.Collections.Concurrent;Partitioner;false;Create<>;(System.Collections.Generic.IEnumerable,System.Collections.Concurrent.EnumerablePartitionerOptions);;Argument[0].Element;ReturnValue;taint;generated | | System.Collections.Concurrent;Partitioner;false;Create<>;(System.Collections.Generic.IList,System.Boolean);;Argument[0].Element;ReturnValue;taint;generated | | System.Collections.Concurrent;Partitioner;false;Create<>;(TSource[],System.Boolean);;Argument[0].Element;ReturnValue;taint;generated | +| System.Collections.Generic;CollectionExtensions;false;AsReadOnly<,>;(System.Collections.Generic.IDictionary);;Argument[0].Element;ReturnValue;taint;generated | +| System.Collections.Generic;CollectionExtensions;false;AsReadOnly<>;(System.Collections.Generic.IList);;Argument[0].Element;ReturnValue;taint;generated | | System.Collections.Generic;CollectionExtensions;false;GetValueOrDefault<,>;(System.Collections.Generic.IReadOnlyDictionary,TKey,TValue);;Argument[0].Element;ReturnValue;taint;generated | | System.Collections.Generic;CollectionExtensions;false;GetValueOrDefault<,>;(System.Collections.Generic.IReadOnlyDictionary,TKey,TValue);;Argument[1];ReturnValue;taint;generated | | System.Collections.Generic;CollectionExtensions;false;GetValueOrDefault<,>;(System.Collections.Generic.IReadOnlyDictionary,TKey,TValue);;Argument[2];ReturnValue;taint;generated | @@ -1174,6 +1186,9 @@ summary | System.Collections.Generic;SortedList<,>;false;CopyTo;(System.Collections.Generic.KeyValuePair[],System.Int32);;Argument[this].Element;Argument[0].Element;value;manual | | System.Collections.Generic;SortedList<,>;false;GetEnumerator;();;Argument[this].Element;ReturnValue.Property[System.Collections.Generic.IEnumerator<>.Current];value;manual | | System.Collections.Generic;SortedList<,>;false;GetEnumerator;();;Argument[this].Element;ReturnValue.Property[System.Collections.IEnumerator.Current];value;manual | +| System.Collections.Generic;SortedList<,>;false;GetKeyAtIndex;(System.Int32);;Argument[this];ReturnValue;taint;generated | +| System.Collections.Generic;SortedList<,>;false;GetValueAtIndex;(System.Int32);;Argument[this];ReturnValue;taint;generated | +| System.Collections.Generic;SortedList<,>;false;SetValueAtIndex;(System.Int32,TValue);;Argument[1];Argument[this];taint;generated | | System.Collections.Generic;SortedList<,>;false;SortedList;(System.Collections.Generic.IComparer);;Argument[0];Argument[this];taint;generated | | System.Collections.Generic;SortedList<,>;false;SortedList;(System.Collections.Generic.IDictionary);;Argument[0].Element.Property[System.Collections.Generic.KeyValuePair<,>.Key];Argument[this].Element.Property[System.Collections.Generic.KeyValuePair<,>.Key];value;manual | | System.Collections.Generic;SortedList<,>;false;SortedList;(System.Collections.Generic.IDictionary);;Argument[0].Element.Property[System.Collections.Generic.KeyValuePair<,>.Value];Argument[this].Element.Property[System.Collections.Generic.KeyValuePair<,>.Value];value;manual | @@ -5796,6 +5811,18 @@ summary | System.Net.NetworkInformation;UnicastIPAddressInformationCollection;false;GetEnumerator;();;Argument[this].Element;ReturnValue.Property[System.Collections.Generic.IEnumerator<>.Current];value;manual | | System.Net.NetworkInformation;UnicastIPAddressInformationCollection;false;GetEnumerator;();;Argument[this].Element;ReturnValue.Property[System.Collections.IEnumerator.Current];value;manual | | System.Net.NetworkInformation;UnicastIPAddressInformationCollection;false;get_Item;(System.Int32);;Argument[this];ReturnValue;taint;generated | +| System.Net.Quic;QuicConnection;false;get_LocalEndPoint;();;Argument[this];ReturnValue;taint;generated | +| System.Net.Quic;QuicConnection;false;get_NegotiatedApplicationProtocol;();;Argument[this];ReturnValue;taint;generated | +| System.Net.Quic;QuicConnection;false;get_RemoteEndPoint;();;Argument[this];ReturnValue;taint;generated | +| System.Net.Quic;QuicStream;false;BeginRead;(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object);;Argument[this];Argument[0].Element;taint;manual | +| System.Net.Quic;QuicStream;false;BeginWrite;(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object);;Argument[0].Element;Argument[this];taint;manual | +| System.Net.Quic;QuicStream;false;FlushAsync;(System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | +| System.Net.Quic;QuicStream;false;Read;(System.Byte[],System.Int32,System.Int32);;Argument[this];Argument[0].Element;taint;manual | +| System.Net.Quic;QuicStream;false;ReadAsync;(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken);;Argument[this];Argument[0].Element;taint;manual | +| System.Net.Quic;QuicStream;false;ReadAsync;(System.Memory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | +| System.Net.Quic;QuicStream;false;Write;(System.Byte[],System.Int32,System.Int32);;Argument[0].Element;Argument[this];taint;manual | +| System.Net.Quic;QuicStream;false;WriteAsync;(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken);;Argument[0].Element;Argument[this];taint;manual | +| System.Net.Quic;QuicStream;false;WriteAsync;(System.ReadOnlyMemory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | System.Net.Security;AuthenticatedStream;false;AuthenticatedStream;(System.IO.Stream,System.Boolean);;Argument[0];Argument[this];taint;generated | | System.Net.Security;AuthenticatedStream;false;DisposeAsync;();;Argument[this];ReturnValue;taint;generated | | System.Net.Security;AuthenticatedStream;false;get_InnerStream;();;Argument[this];ReturnValue;taint;generated | @@ -5909,6 +5936,9 @@ summary | System.Net.Sockets;Socket;false;ReceiveAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Threading.CancellationToken);;Argument[0];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveAsync;(System.Memory,System.Threading.CancellationToken);;Argument[0];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveAsync;(System.Memory,System.Threading.CancellationToken);;Argument[1];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveAsync;(System.Memory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveAsync;(System.Net.Sockets.SocketAsyncEventArgs);;Argument[this];Argument[0];taint;generated | | System.Net.Sockets;Socket;false;ReceiveFrom;(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[4];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;ReceiveFrom;(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[4];ReturnValue;taint;generated | @@ -5922,7 +5952,12 @@ summary | System.Net.Sockets;Socket;false;ReceiveFrom;(System.Span,System.Net.EndPoint);;Argument[1];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveFrom;(System.Span,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;ReceiveFrom;(System.Span,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.ArraySegment,System.Net.EndPoint);;Argument[1];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.ArraySegment,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[0];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[1];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[0];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[3];ReturnValue;taint;generated | @@ -5932,7 +5967,12 @@ summary | System.Net.Sockets;Socket;false;ReceiveMessageFrom;(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Net.Sockets.IPPacketInformation);;Argument[4];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveMessageFrom;(System.Span,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Net.Sockets.IPPacketInformation);;Argument[2];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;ReceiveMessageFrom;(System.Span,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Net.Sockets.IPPacketInformation);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.ArraySegment,System.Net.EndPoint);;Argument[1];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.ArraySegment,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[0];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[1];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[0];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[3];ReturnValue;taint;generated | @@ -5941,6 +5981,8 @@ summary | System.Net.Sockets;Socket;false;SendAsync;(System.Net.Sockets.SocketAsyncEventArgs);;Argument[this];Argument[0];taint;generated | | System.Net.Sockets;Socket;false;SendAsync;(System.ReadOnlyMemory,System.Net.Sockets.SocketFlags,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;SendAsync;(System.ReadOnlyMemory,System.Net.Sockets.SocketFlags,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;SendAsync;(System.ReadOnlyMemory,System.Threading.CancellationToken);;Argument[1];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;SendAsync;(System.ReadOnlyMemory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;SendFileAsync;(System.String,System.ReadOnlyMemory,System.ReadOnlyMemory,System.Net.Sockets.TransmitFileOptions,System.Threading.CancellationToken);;Argument[4];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;SendFileAsync;(System.String,System.ReadOnlyMemory,System.ReadOnlyMemory,System.Net.Sockets.TransmitFileOptions,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;SendFileAsync;(System.String,System.Threading.CancellationToken);;Argument[1];ReturnValue;taint;generated | @@ -5952,9 +5994,14 @@ summary | System.Net.Sockets;Socket;false;SendTo;(System.Byte[],System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;SendTo;(System.ReadOnlySpan,System.Net.EndPoint);;Argument[1];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;SendTo;(System.ReadOnlySpan,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];Argument[this];taint;generated | +| System.Net.Sockets;Socket;false;SendToAsync;(System.ArraySegment,System.Net.EndPoint);;Argument[1];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;SendToAsync;(System.ArraySegment,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;SendToAsync;(System.Net.Sockets.SocketAsyncEventArgs);;Argument[0];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;SendToAsync;(System.Net.Sockets.SocketAsyncEventArgs);;Argument[this];Argument[0];taint;generated | +| System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[1];Argument[this];taint;generated | +| System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[1];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[3];ReturnValue;taint;generated | @@ -6035,6 +6082,7 @@ summary | System.Net.Sockets;UdpReceiveResult;false;UdpReceiveResult;(System.Byte[],System.Net.IPEndPoint);;Argument[1];Argument[this];taint;generated | | System.Net.Sockets;UdpReceiveResult;false;get_Buffer;();;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;UdpReceiveResult;false;get_RemoteEndPoint;();;Argument[this];ReturnValue;taint;generated | +| System.Net.Sockets;UnixDomainSocketEndPoint;false;ToString;();;Argument[this];ReturnValue;taint;generated | | System.Net.WebSockets;ClientWebSocketOptions;false;SetBuffer;(System.Int32,System.Int32,System.ArraySegment);;Argument[2].Element;Argument[this];taint;generated | | System.Net.WebSockets;ClientWebSocketOptions;false;get_Cookies;();;Argument[this];ReturnValue;taint;generated | | System.Net.WebSockets;ClientWebSocketOptions;false;get_Credentials;();;Argument[this];ReturnValue;taint;generated | @@ -7136,6 +7184,7 @@ summary | System.Reflection;TypeDelegator;false;GetInterfaceMap;(System.Type);;Argument[this];ReturnValue;taint;generated | | System.Reflection;TypeDelegator;false;GetInterfaces;();;Argument[this];ReturnValue;taint;generated | | System.Reflection;TypeDelegator;false;GetMember;(System.String,System.Reflection.MemberTypes,System.Reflection.BindingFlags);;Argument[this];ReturnValue;taint;generated | +| System.Reflection;TypeDelegator;false;GetMemberWithSameMetadataDefinitionAs;(System.Reflection.MemberInfo);;Argument[this];ReturnValue;taint;generated | | System.Reflection;TypeDelegator;false;GetMembers;(System.Reflection.BindingFlags);;Argument[this];ReturnValue;taint;generated | | System.Reflection;TypeDelegator;false;GetMethodImpl;(System.String,System.Reflection.BindingFlags,System.Reflection.Binder,System.Reflection.CallingConventions,System.Type[],System.Reflection.ParameterModifier[]);;Argument[this];ReturnValue;taint;generated | | System.Reflection;TypeDelegator;false;GetMethods;(System.Reflection.BindingFlags);;Argument[this];ReturnValue;taint;generated | @@ -7334,10 +7383,13 @@ summary | System.Runtime.InteropServices;SequenceMarshal;false;TryGetArray<>;(System.Buffers.ReadOnlySequence,System.ArraySegment);;Argument[0];ReturnValue;taint;generated | | System.Runtime.InteropServices;SequenceMarshal;false;TryGetReadOnlyMemory<>;(System.Buffers.ReadOnlySequence,System.ReadOnlyMemory);;Argument[0];ReturnValue;taint;generated | | System.Runtime.InteropServices;SequenceMarshal;false;TryGetReadOnlySequenceSegment<>;(System.Buffers.ReadOnlySequence,System.Buffers.ReadOnlySequenceSegment,System.Int32,System.Buffers.ReadOnlySequenceSegment,System.Int32);;Argument[0];ReturnValue;taint;generated | +| System.Runtime.Intrinsics;Vector64;false;Abs<>;(System.Runtime.Intrinsics.Vector64);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector64;false;WithElement<>;(System.Runtime.Intrinsics.Vector64,System.Int32,T);;Argument[0];ReturnValue;taint;generated | +| System.Runtime.Intrinsics;Vector128;false;Abs<>;(System.Runtime.Intrinsics.Vector128);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector128;false;WithElement<>;(System.Runtime.Intrinsics.Vector128,System.Int32,T);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector128;false;WithLower<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector64);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector128;false;WithUpper<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector64);;Argument[0];ReturnValue;taint;generated | +| System.Runtime.Intrinsics;Vector256;false;Abs<>;(System.Runtime.Intrinsics.Vector256);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector256;false;WithElement<>;(System.Runtime.Intrinsics.Vector256,System.Int32,T);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector256;false;WithLower<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector128);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector256;false;WithUpper<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector128);;Argument[0];ReturnValue;taint;generated | @@ -8520,6 +8572,14 @@ summary | System.Text;UnicodeEncoding;false;GetDecoder;();;Argument[this];ReturnValue;taint;generated | | System.Text;UnicodeEncoding;false;GetEncoder;();;Argument[this];ReturnValue;taint;generated | | System.Text;UnicodeEncoding;false;GetString;(System.Byte[],System.Int32,System.Int32);;Argument[0].Element;ReturnValue;taint;manual | +| System.Threading.RateLimiting;ConcurrencyLimiter;false;ConcurrencyLimiter;(System.Threading.RateLimiting.ConcurrencyLimiterOptions);;Argument[0];Argument[this];taint;generated | +| System.Threading.RateLimiting;MetadataName;false;Create<>;(System.String);;Argument[0];ReturnValue;taint;generated | +| System.Threading.RateLimiting;MetadataName<>;false;MetadataName;(System.String);;Argument[0];Argument[this];taint;generated | +| System.Threading.RateLimiting;MetadataName<>;false;ToString;();;Argument[this];ReturnValue;taint;generated | +| System.Threading.RateLimiting;MetadataName<>;false;get_Name;();;Argument[this];ReturnValue;taint;generated | +| System.Threading.RateLimiting;RateLimitLease;false;TryGetMetadata<>;(System.Threading.RateLimiting.MetadataName,T);;Argument[this];ReturnValue;taint;generated | +| System.Threading.RateLimiting;RateLimitLease;true;GetAllMetadata;();;Argument[this];ReturnValue;taint;generated | +| System.Threading.RateLimiting;TokenBucketRateLimiter;false;TokenBucketRateLimiter;(System.Threading.RateLimiting.TokenBucketRateLimiterOptions);;Argument[0];Argument[this];taint;generated | | System.Threading.Tasks.Dataflow;BatchBlock<>;false;BatchBlock;(System.Int32,System.Threading.Tasks.Dataflow.GroupingDataflowBlockOptions);;Argument[1];Argument[this];taint;generated | | System.Threading.Tasks.Dataflow;BatchBlock<>;false;LinkTo;(System.Threading.Tasks.Dataflow.ITargetBlock,System.Threading.Tasks.Dataflow.DataflowLinkOptions);;Argument[0];ReturnValue;taint;generated | | System.Threading.Tasks.Dataflow;BatchBlock<>;false;LinkTo;(System.Threading.Tasks.Dataflow.ITargetBlock,System.Threading.Tasks.Dataflow.DataflowLinkOptions);;Argument[this];ReturnValue;taint;generated | @@ -11052,6 +11112,8 @@ summary | System;FormattableString;false;Invariant;(System.FormattableString);;Argument[0];ReturnValue;taint;generated | | System;FormattableString;false;ToString;();;Argument[this];ReturnValue;taint;generated | | System;FormattableString;false;ToString;(System.String,System.IFormatProvider);;Argument[this];ReturnValue;taint;generated | +| System;Half;false;BitDecrement;(System.Half);;Argument[0];ReturnValue;taint;generated | +| System;Half;false;BitIncrement;(System.Half);;Argument[0];ReturnValue;taint;generated | | System;Half;false;ToString;(System.IFormatProvider);;Argument[0];ReturnValue;taint;generated | | System;Half;false;ToString;(System.String,System.IFormatProvider);;Argument[1];ReturnValue;taint;generated | | System;Int32;false;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);;Argument[0].Element;ReturnValue;taint;manual | @@ -11067,7 +11129,17 @@ summary | System;Int32;false;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Int32);;Argument[0];ReturnValue;taint;manual | | System;Int32;false;TryParse;(System.String,System.Int32);;Argument[0];Argument[1];taint;manual | | System;Int32;false;TryParse;(System.String,System.Int32);;Argument[0];ReturnValue;taint;manual | +| System;IntPtr;false;Abs;(System.IntPtr);;Argument[0];ReturnValue;taint;generated | +| System;IntPtr;false;Clamp;(System.IntPtr,System.IntPtr,System.IntPtr);;Argument[0];ReturnValue;taint;generated | +| System;IntPtr;false;Clamp;(System.IntPtr,System.IntPtr,System.IntPtr);;Argument[1];ReturnValue;taint;generated | +| System;IntPtr;false;Clamp;(System.IntPtr,System.IntPtr,System.IntPtr);;Argument[2];ReturnValue;taint;generated | +| System;IntPtr;false;CreateSaturating<>;(TOther);;Argument[0];ReturnValue;taint;generated | +| System;IntPtr;false;CreateTruncating<>;(TOther);;Argument[0];ReturnValue;taint;generated | | System;IntPtr;false;IntPtr;(System.Void*);;Argument[0];Argument[this];taint;generated | +| System;IntPtr;false;Max;(System.IntPtr,System.IntPtr);;Argument[0];ReturnValue;taint;generated | +| System;IntPtr;false;Max;(System.IntPtr,System.IntPtr);;Argument[1];ReturnValue;taint;generated | +| System;IntPtr;false;Min;(System.IntPtr,System.IntPtr);;Argument[0];ReturnValue;taint;generated | +| System;IntPtr;false;Min;(System.IntPtr,System.IntPtr);;Argument[1];ReturnValue;taint;generated | | System;IntPtr;false;ToPointer;();;Argument[this];ReturnValue;taint;generated | | System;Lazy<,>;false;Lazy;(TMetadata);;Argument[0];Argument[this];taint;generated | | System;Lazy<,>;false;Lazy;(TMetadata,System.Boolean);;Argument[0];Argument[this];taint;generated | @@ -11745,6 +11817,16 @@ summary | System;TypeLoadException;false;TypeLoadException;(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext);;Argument[0];Argument[this];taint;generated | | System;TypeLoadException;false;get_Message;();;Argument[this];ReturnValue;taint;generated | | System;TypeLoadException;false;get_TypeName;();;Argument[this];ReturnValue;taint;generated | +| System;UIntPtr;false;Abs;(System.UIntPtr);;Argument[0];ReturnValue;taint;generated | +| System;UIntPtr;false;Clamp;(System.UIntPtr,System.UIntPtr,System.UIntPtr);;Argument[0];ReturnValue;taint;generated | +| System;UIntPtr;false;Clamp;(System.UIntPtr,System.UIntPtr,System.UIntPtr);;Argument[1];ReturnValue;taint;generated | +| System;UIntPtr;false;Clamp;(System.UIntPtr,System.UIntPtr,System.UIntPtr);;Argument[2];ReturnValue;taint;generated | +| System;UIntPtr;false;CreateSaturating<>;(TOther);;Argument[0];ReturnValue;taint;generated | +| System;UIntPtr;false;CreateTruncating<>;(TOther);;Argument[0];ReturnValue;taint;generated | +| System;UIntPtr;false;Max;(System.UIntPtr,System.UIntPtr);;Argument[0];ReturnValue;taint;generated | +| System;UIntPtr;false;Max;(System.UIntPtr,System.UIntPtr);;Argument[1];ReturnValue;taint;generated | +| System;UIntPtr;false;Min;(System.UIntPtr,System.UIntPtr);;Argument[0];ReturnValue;taint;generated | +| System;UIntPtr;false;Min;(System.UIntPtr,System.UIntPtr);;Argument[1];ReturnValue;taint;generated | | System;UIntPtr;false;ToPointer;();;Argument[this];ReturnValue;taint;generated | | System;UIntPtr;false;UIntPtr;(System.Void*);;Argument[0];Argument[this];taint;generated | | System;UnhandledExceptionEventArgs;false;UnhandledExceptionEventArgs;(System.Object,System.Boolean);;Argument[0];Argument[this];taint;generated | @@ -11985,6 +12067,7 @@ neutral | Microsoft.Extensions.Caching.Memory;IMemoryCache;CreateEntry;(System.Object);generated | | Microsoft.Extensions.Caching.Memory;IMemoryCache;Remove;(System.Object);generated | | Microsoft.Extensions.Caching.Memory;IMemoryCache;TryGetValue;(System.Object,System.Object);generated | +| Microsoft.Extensions.Caching.Memory;MemoryCache;Clear;();generated | | Microsoft.Extensions.Caching.Memory;MemoryCache;Compact;(System.Double);generated | | Microsoft.Extensions.Caching.Memory;MemoryCache;Dispose;();generated | | Microsoft.Extensions.Caching.Memory;MemoryCache;Dispose;(System.Boolean);generated | @@ -11999,9 +12082,11 @@ neutral | Microsoft.Extensions.Caching.Memory;MemoryCacheOptions;get_Clock;();generated | | Microsoft.Extensions.Caching.Memory;MemoryCacheOptions;get_CompactionPercentage;();generated | | Microsoft.Extensions.Caching.Memory;MemoryCacheOptions;get_ExpirationScanFrequency;();generated | +| Microsoft.Extensions.Caching.Memory;MemoryCacheOptions;get_TrackLinkedCacheEntries;();generated | | Microsoft.Extensions.Caching.Memory;MemoryCacheOptions;set_Clock;(Microsoft.Extensions.Internal.ISystemClock);generated | | Microsoft.Extensions.Caching.Memory;MemoryCacheOptions;set_CompactionPercentage;(System.Double);generated | | Microsoft.Extensions.Caching.Memory;MemoryCacheOptions;set_ExpirationScanFrequency;(System.TimeSpan);generated | +| Microsoft.Extensions.Caching.Memory;MemoryCacheOptions;set_TrackLinkedCacheEntries;(System.Boolean);generated | | Microsoft.Extensions.Caching.Memory;MemoryDistributedCacheOptions;MemoryDistributedCacheOptions;();generated | | Microsoft.Extensions.Caching.Memory;PostEvictionCallbackRegistration;get_EvictionCallback;();generated | | Microsoft.Extensions.Caching.Memory;PostEvictionCallbackRegistration;get_State;();generated | @@ -12064,6 +12149,11 @@ neutral | Microsoft.Extensions.Configuration;ConfigurationBuilder;Build;();generated | | Microsoft.Extensions.Configuration;ConfigurationBuilder;get_Properties;();generated | | Microsoft.Extensions.Configuration;ConfigurationBuilder;get_Sources;();generated | +| Microsoft.Extensions.Configuration;ConfigurationDebugViewContext;ConfigurationDebugViewContext;(System.String,System.String,System.String,Microsoft.Extensions.Configuration.IConfigurationProvider);generated | +| Microsoft.Extensions.Configuration;ConfigurationDebugViewContext;get_ConfigurationProvider;();generated | +| Microsoft.Extensions.Configuration;ConfigurationDebugViewContext;get_Key;();generated | +| Microsoft.Extensions.Configuration;ConfigurationDebugViewContext;get_Path;();generated | +| Microsoft.Extensions.Configuration;ConfigurationDebugViewContext;get_Value;();generated | | Microsoft.Extensions.Configuration;ConfigurationExtensions;AsEnumerable;(Microsoft.Extensions.Configuration.IConfiguration);generated | | Microsoft.Extensions.Configuration;ConfigurationExtensions;AsEnumerable;(Microsoft.Extensions.Configuration.IConfiguration,System.Boolean);generated | | Microsoft.Extensions.Configuration;ConfigurationExtensions;Exists;(Microsoft.Extensions.Configuration.IConfigurationSection);generated | @@ -13570,7 +13660,6 @@ neutral | Microsoft.Win32.SafeHandles;SafeNCryptHandle;ReleaseNativeHandle;();generated | | Microsoft.Win32.SafeHandles;SafeNCryptHandle;SafeNCryptHandle;();generated | | Microsoft.Win32.SafeHandles;SafeNCryptHandle;SafeNCryptHandle;(System.IntPtr,System.Runtime.InteropServices.SafeHandle);generated | -| Microsoft.Win32.SafeHandles;SafeNCryptHandle;get_IsInvalid;();generated | | Microsoft.Win32.SafeHandles;SafeNCryptKeyHandle;ReleaseNativeHandle;();generated | | Microsoft.Win32.SafeHandles;SafeNCryptKeyHandle;SafeNCryptKeyHandle;();generated | | Microsoft.Win32.SafeHandles;SafeNCryptKeyHandle;SafeNCryptKeyHandle;(System.IntPtr,System.Runtime.InteropServices.SafeHandle);generated | @@ -18050,6 +18139,10 @@ neutral | System.Data;VersionNotFoundException;VersionNotFoundException;(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext);generated | | System.Data;VersionNotFoundException;VersionNotFoundException;(System.String);generated | | System.Data;VersionNotFoundException;VersionNotFoundException;(System.String,System.Exception);generated | +| System.Diagnostics.CodeAnalysis;ConstantExpectedAttribute;get_Max;();generated | +| System.Diagnostics.CodeAnalysis;ConstantExpectedAttribute;get_Min;();generated | +| System.Diagnostics.CodeAnalysis;ConstantExpectedAttribute;set_Max;(System.Object);generated | +| System.Diagnostics.CodeAnalysis;ConstantExpectedAttribute;set_Min;(System.Object);generated | | System.Diagnostics.CodeAnalysis;DoesNotReturnIfAttribute;DoesNotReturnIfAttribute;(System.Boolean);generated | | System.Diagnostics.CodeAnalysis;DoesNotReturnIfAttribute;get_ParameterValue;();generated | | System.Diagnostics.CodeAnalysis;DynamicDependencyAttribute;DynamicDependencyAttribute;(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes,System.String,System.String);generated | @@ -18087,6 +18180,10 @@ neutral | System.Diagnostics.CodeAnalysis;RequiresAssemblyFilesAttribute;get_Message;();generated | | System.Diagnostics.CodeAnalysis;RequiresAssemblyFilesAttribute;get_Url;();generated | | System.Diagnostics.CodeAnalysis;RequiresAssemblyFilesAttribute;set_Url;(System.String);generated | +| System.Diagnostics.CodeAnalysis;RequiresDynamicCodeAttribute;RequiresDynamicCodeAttribute;(System.String);generated | +| System.Diagnostics.CodeAnalysis;RequiresDynamicCodeAttribute;get_Message;();generated | +| System.Diagnostics.CodeAnalysis;RequiresDynamicCodeAttribute;get_Url;();generated | +| System.Diagnostics.CodeAnalysis;RequiresDynamicCodeAttribute;set_Url;(System.String);generated | | System.Diagnostics.CodeAnalysis;RequiresUnreferencedCodeAttribute;RequiresUnreferencedCodeAttribute;(System.String);generated | | System.Diagnostics.CodeAnalysis;RequiresUnreferencedCodeAttribute;get_Message;();generated | | System.Diagnostics.CodeAnalysis;RequiresUnreferencedCodeAttribute;get_Url;();generated | @@ -20603,6 +20700,7 @@ neutral | System.IO.Compression;DeflateStream;Seek;(System.Int64,System.IO.SeekOrigin);generated | | System.IO.Compression;DeflateStream;SetLength;(System.Int64);generated | | System.IO.Compression;DeflateStream;Write;(System.ReadOnlySpan);generated | +| System.IO.Compression;DeflateStream;WriteByte;(System.Byte);generated | | System.IO.Compression;DeflateStream;get_CanRead;();generated | | System.IO.Compression;DeflateStream;get_CanSeek;();generated | | System.IO.Compression;DeflateStream;get_CanWrite;();generated | @@ -20621,6 +20719,7 @@ neutral | System.IO.Compression;GZipStream;Seek;(System.Int64,System.IO.SeekOrigin);generated | | System.IO.Compression;GZipStream;SetLength;(System.Int64);generated | | System.IO.Compression;GZipStream;Write;(System.ReadOnlySpan);generated | +| System.IO.Compression;GZipStream;WriteByte;(System.Byte);generated | | System.IO.Compression;GZipStream;get_CanRead;();generated | | System.IO.Compression;GZipStream;get_CanSeek;();generated | | System.IO.Compression;GZipStream;get_CanWrite;();generated | @@ -22356,6 +22455,12 @@ neutral | System.Net.Http.Json;HttpClientJsonExtensions;GetFromJsonAsync<>;(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken);generated | | System.Net.Http.Json;HttpClientJsonExtensions;GetFromJsonAsync<>;(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo,System.Threading.CancellationToken);generated | | System.Net.Http.Json;HttpClientJsonExtensions;GetFromJsonAsync<>;(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken);generated | +| System.Net.Http.Json;HttpClientJsonExtensions;PatchAsJsonAsync<>;(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken);generated | +| System.Net.Http.Json;HttpClientJsonExtensions;PatchAsJsonAsync<>;(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo,System.Threading.CancellationToken);generated | +| System.Net.Http.Json;HttpClientJsonExtensions;PatchAsJsonAsync<>;(System.Net.Http.HttpClient,System.String,TValue,System.Threading.CancellationToken);generated | +| System.Net.Http.Json;HttpClientJsonExtensions;PatchAsJsonAsync<>;(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken);generated | +| System.Net.Http.Json;HttpClientJsonExtensions;PatchAsJsonAsync<>;(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo,System.Threading.CancellationToken);generated | +| System.Net.Http.Json;HttpClientJsonExtensions;PatchAsJsonAsync<>;(System.Net.Http.HttpClient,System.Uri,TValue,System.Threading.CancellationToken);generated | | System.Net.Http.Json;HttpClientJsonExtensions;PostAsJsonAsync<>;(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken);generated | | System.Net.Http.Json;HttpClientJsonExtensions;PostAsJsonAsync<>;(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo,System.Threading.CancellationToken);generated | | System.Net.Http.Json;HttpClientJsonExtensions;PostAsJsonAsync<>;(System.Net.Http.HttpClient,System.String,TValue,System.Threading.CancellationToken);generated | @@ -22997,6 +23102,46 @@ neutral | System.Net.NetworkInformation;UnicastIPAddressInformationCollection;UnicastIPAddressInformationCollection;();generated | | System.Net.NetworkInformation;UnicastIPAddressInformationCollection;get_Count;();generated | | System.Net.NetworkInformation;UnicastIPAddressInformationCollection;get_IsReadOnly;();generated | +| System.Net.Quic;QuicClientConnectionOptions;QuicClientConnectionOptions;();generated | +| System.Net.Quic;QuicClientConnectionOptions;get_ClientAuthenticationOptions;();generated | +| System.Net.Quic;QuicClientConnectionOptions;get_LocalEndPoint;();generated | +| System.Net.Quic;QuicClientConnectionOptions;get_RemoteEndPoint;();generated | +| System.Net.Quic;QuicClientConnectionOptions;set_ClientAuthenticationOptions;(System.Net.Security.SslClientAuthenticationOptions);generated | +| System.Net.Quic;QuicClientConnectionOptions;set_LocalEndPoint;(System.Net.IPEndPoint);generated | +| System.Net.Quic;QuicClientConnectionOptions;set_RemoteEndPoint;(System.Net.EndPoint);generated | +| System.Net.Quic;QuicConnection;CloseAsync;(System.Int64,System.Threading.CancellationToken);generated | +| System.Net.Quic;QuicConnection;get_RemoteCertificate;();generated | +| System.Net.Quic;QuicListener;AcceptConnectionAsync;(System.Threading.CancellationToken);generated | +| System.Net.Quic;QuicListenerOptions;QuicListenerOptions;();generated | +| System.Net.Quic;QuicListenerOptions;get_ListenBacklog;();generated | +| System.Net.Quic;QuicListenerOptions;get_ListenEndPoint;();generated | +| System.Net.Quic;QuicListenerOptions;set_ListenBacklog;(System.Int32);generated | +| System.Net.Quic;QuicListenerOptions;set_ListenEndPoint;(System.Net.IPEndPoint);generated | +| System.Net.Quic;QuicStream;Dispose;(System.Boolean);generated | +| System.Net.Quic;QuicStream;EndRead;(System.IAsyncResult);generated | +| System.Net.Quic;QuicStream;EndWrite;(System.IAsyncResult);generated | +| System.Net.Quic;QuicStream;Flush;();generated | +| System.Net.Quic;QuicStream;FlushAsync;(System.Threading.CancellationToken);generated | +| System.Net.Quic;QuicStream;Read;(System.Span);generated | +| System.Net.Quic;QuicStream;ReadAsync;(System.Memory,System.Threading.CancellationToken);generated | +| System.Net.Quic;QuicStream;ReadByte;();generated | +| System.Net.Quic;QuicStream;Seek;(System.Int64,System.IO.SeekOrigin);generated | +| System.Net.Quic;QuicStream;SetLength;(System.Int64);generated | +| System.Net.Quic;QuicStream;Write;(System.ReadOnlySpan);generated | +| System.Net.Quic;QuicStream;WriteAsync;(System.ReadOnlyMemory,System.Boolean,System.Threading.CancellationToken);generated | +| System.Net.Quic;QuicStream;WriteAsync;(System.ReadOnlyMemory,System.Threading.CancellationToken);generated | +| System.Net.Quic;QuicStream;WriteByte;(System.Byte);generated | +| System.Net.Quic;QuicStream;get_CanRead;();generated | +| System.Net.Quic;QuicStream;get_CanSeek;();generated | +| System.Net.Quic;QuicStream;get_CanTimeout;();generated | +| System.Net.Quic;QuicStream;get_CanWrite;();generated | +| System.Net.Quic;QuicStream;get_Length;();generated | +| System.Net.Quic;QuicStream;get_Position;();generated | +| System.Net.Quic;QuicStream;get_ReadTimeout;();generated | +| System.Net.Quic;QuicStream;get_WriteTimeout;();generated | +| System.Net.Quic;QuicStream;set_Position;(System.Int64);generated | +| System.Net.Quic;QuicStream;set_ReadTimeout;(System.Int32);generated | +| System.Net.Quic;QuicStream;set_WriteTimeout;(System.Int32);generated | | System.Net.Security;AuthenticatedStream;Dispose;(System.Boolean);generated | | System.Net.Security;AuthenticatedStream;get_IsAuthenticated;();generated | | System.Net.Security;AuthenticatedStream;get_IsEncrypted;();generated | @@ -23188,6 +23333,7 @@ neutral | System.Net.Sockets;NetworkStream;set_Writeable;(System.Boolean);generated | | System.Net.Sockets;SafeSocketHandle;ReleaseHandle;();generated | | System.Net.Sockets;SafeSocketHandle;SafeSocketHandle;();generated | +| System.Net.Sockets;SafeSocketHandle;get_IsInvalid;();generated | | System.Net.Sockets;SendPacketsElement;SendPacketsElement;(System.Byte[]);generated | | System.Net.Sockets;SendPacketsElement;SendPacketsElement;(System.Byte[],System.Int32,System.Int32);generated | | System.Net.Sockets;SendPacketsElement;SendPacketsElement;(System.Byte[],System.Int32,System.Int32,System.Boolean);generated | @@ -23254,7 +23400,9 @@ neutral | System.Net.Sockets;Socket;Receive;(System.Span);generated | | System.Net.Sockets;Socket;Receive;(System.Span,System.Net.Sockets.SocketFlags);generated | | System.Net.Sockets;Socket;Receive;(System.Span,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError);generated | +| System.Net.Sockets;Socket;ReceiveAsync;(System.ArraySegment);generated | | System.Net.Sockets;Socket;ReceiveAsync;(System.ArraySegment,System.Net.Sockets.SocketFlags);generated | +| System.Net.Sockets;Socket;ReceiveAsync;(System.Collections.Generic.IList>);generated | | System.Net.Sockets;Socket;ReceiveAsync;(System.Collections.Generic.IList>,System.Net.Sockets.SocketFlags);generated | | System.Net.Sockets;Socket;Select;(System.Collections.IList,System.Collections.IList,System.Collections.IList,System.Int32);generated | | System.Net.Sockets;Socket;Send;(System.Byte[]);generated | @@ -23268,7 +23416,9 @@ neutral | System.Net.Sockets;Socket;Send;(System.ReadOnlySpan);generated | | System.Net.Sockets;Socket;Send;(System.ReadOnlySpan,System.Net.Sockets.SocketFlags);generated | | System.Net.Sockets;Socket;Send;(System.ReadOnlySpan,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError);generated | +| System.Net.Sockets;Socket;SendAsync;(System.ArraySegment);generated | | System.Net.Sockets;Socket;SendAsync;(System.ArraySegment,System.Net.Sockets.SocketFlags);generated | +| System.Net.Sockets;Socket;SendAsync;(System.Collections.Generic.IList>);generated | | System.Net.Sockets;Socket;SendAsync;(System.Collections.Generic.IList>,System.Net.Sockets.SocketFlags);generated | | System.Net.Sockets;Socket;SendFile;(System.String);generated | | System.Net.Sockets;Socket;SendFile;(System.String,System.Byte[],System.Byte[],System.Net.Sockets.TransmitFileOptions);generated | @@ -23449,7 +23599,10 @@ neutral | System.Net.Sockets;UdpReceiveResult;Equals;(System.Net.Sockets.UdpReceiveResult);generated | | System.Net.Sockets;UdpReceiveResult;Equals;(System.Object);generated | | System.Net.Sockets;UdpReceiveResult;GetHashCode;();generated | +| System.Net.Sockets;UnixDomainSocketEndPoint;Create;(System.Net.SocketAddress);generated | +| System.Net.Sockets;UnixDomainSocketEndPoint;Serialize;();generated | | System.Net.Sockets;UnixDomainSocketEndPoint;UnixDomainSocketEndPoint;(System.String);generated | +| System.Net.Sockets;UnixDomainSocketEndPoint;get_AddressFamily;();generated | | System.Net.WebSockets;ClientWebSocket;Abort;();generated | | System.Net.WebSockets;ClientWebSocket;ClientWebSocket;();generated | | System.Net.WebSockets;ClientWebSocket;CloseAsync;(System.Net.WebSockets.WebSocketCloseStatus,System.String,System.Threading.CancellationToken);generated | @@ -24204,24 +24357,34 @@ neutral | System.Numerics;BigInteger;get_Zero;();generated | | System.Numerics;BitOperations;IsPow2;(System.Int32);generated | | System.Numerics;BitOperations;IsPow2;(System.Int64);generated | +| System.Numerics;BitOperations;IsPow2;(System.IntPtr);generated | | System.Numerics;BitOperations;IsPow2;(System.UInt32);generated | | System.Numerics;BitOperations;IsPow2;(System.UInt64);generated | +| System.Numerics;BitOperations;IsPow2;(System.UIntPtr);generated | | System.Numerics;BitOperations;LeadingZeroCount;(System.UInt32);generated | | System.Numerics;BitOperations;LeadingZeroCount;(System.UInt64);generated | +| System.Numerics;BitOperations;LeadingZeroCount;(System.UIntPtr);generated | | System.Numerics;BitOperations;Log2;(System.UInt32);generated | | System.Numerics;BitOperations;Log2;(System.UInt64);generated | +| System.Numerics;BitOperations;Log2;(System.UIntPtr);generated | | System.Numerics;BitOperations;PopCount;(System.UInt32);generated | | System.Numerics;BitOperations;PopCount;(System.UInt64);generated | +| System.Numerics;BitOperations;PopCount;(System.UIntPtr);generated | | System.Numerics;BitOperations;RotateLeft;(System.UInt32,System.Int32);generated | | System.Numerics;BitOperations;RotateLeft;(System.UInt64,System.Int32);generated | +| System.Numerics;BitOperations;RotateLeft;(System.UIntPtr,System.Int32);generated | | System.Numerics;BitOperations;RotateRight;(System.UInt32,System.Int32);generated | | System.Numerics;BitOperations;RotateRight;(System.UInt64,System.Int32);generated | +| System.Numerics;BitOperations;RotateRight;(System.UIntPtr,System.Int32);generated | | System.Numerics;BitOperations;RoundUpToPowerOf2;(System.UInt32);generated | | System.Numerics;BitOperations;RoundUpToPowerOf2;(System.UInt64);generated | +| System.Numerics;BitOperations;RoundUpToPowerOf2;(System.UIntPtr);generated | | System.Numerics;BitOperations;TrailingZeroCount;(System.Int32);generated | | System.Numerics;BitOperations;TrailingZeroCount;(System.Int64);generated | +| System.Numerics;BitOperations;TrailingZeroCount;(System.IntPtr);generated | | System.Numerics;BitOperations;TrailingZeroCount;(System.UInt32);generated | | System.Numerics;BitOperations;TrailingZeroCount;(System.UInt64);generated | +| System.Numerics;BitOperations;TrailingZeroCount;(System.UIntPtr);generated | | System.Numerics;Complex;Abs;(System.Numerics.Complex);generated | | System.Numerics;Complex;Acos;(System.Numerics.Complex);generated | | System.Numerics;Complex;Add;(System.Double,System.Numerics.Complex);generated | @@ -24295,7 +24458,9 @@ neutral | System.Numerics;Matrix3x2;ToString;();generated | | System.Numerics;Matrix3x2;get_Identity;();generated | | System.Numerics;Matrix3x2;get_IsIdentity;();generated | +| System.Numerics;Matrix3x2;get_Item;(System.Int32,System.Int32);generated | | System.Numerics;Matrix3x2;get_Translation;();generated | +| System.Numerics;Matrix3x2;set_Item;(System.Int32,System.Int32,System.Single);generated | | System.Numerics;Matrix3x2;set_Translation;(System.Numerics.Vector2);generated | | System.Numerics;Matrix4x4;CreateBillboard;(System.Numerics.Vector3,System.Numerics.Vector3,System.Numerics.Vector3,System.Numerics.Vector3);generated | | System.Numerics;Matrix4x4;CreateConstrainedBillboard;(System.Numerics.Vector3,System.Numerics.Vector3,System.Numerics.Vector3,System.Numerics.Vector3,System.Numerics.Vector3);generated | @@ -24337,7 +24502,9 @@ neutral | System.Numerics;Matrix4x4;Transform;(System.Numerics.Matrix4x4,System.Numerics.Quaternion);generated | | System.Numerics;Matrix4x4;get_Identity;();generated | | System.Numerics;Matrix4x4;get_IsIdentity;();generated | +| System.Numerics;Matrix4x4;get_Item;(System.Int32,System.Int32);generated | | System.Numerics;Matrix4x4;get_Translation;();generated | +| System.Numerics;Matrix4x4;set_Item;(System.Int32,System.Int32,System.Single);generated | | System.Numerics;Matrix4x4;set_Translation;(System.Numerics.Vector3);generated | | System.Numerics;Plane;CreateFromVertices;(System.Numerics.Vector3,System.Numerics.Vector3,System.Numerics.Vector3);generated | | System.Numerics;Plane;Dot;(System.Numerics.Plane,System.Numerics.Vector4);generated | @@ -24376,6 +24543,9 @@ neutral | System.Numerics;Quaternion;ToString;();generated | | System.Numerics;Quaternion;get_Identity;();generated | | System.Numerics;Quaternion;get_IsIdentity;();generated | +| System.Numerics;Quaternion;get_Item;(System.Int32);generated | +| System.Numerics;Quaternion;get_Zero;();generated | +| System.Numerics;Quaternion;set_Item;(System.Int32,System.Single);generated | | System.Numerics;Vector2;Abs;(System.Numerics.Vector2);generated | | System.Numerics;Vector2;Add;(System.Numerics.Vector2,System.Numerics.Vector2);generated | | System.Numerics;Vector2;Clamp;(System.Numerics.Vector2,System.Numerics.Vector2,System.Numerics.Vector2);generated | @@ -24414,10 +24584,12 @@ neutral | System.Numerics;Vector2;Vector2;(System.ReadOnlySpan);generated | | System.Numerics;Vector2;Vector2;(System.Single);generated | | System.Numerics;Vector2;Vector2;(System.Single,System.Single);generated | +| System.Numerics;Vector2;get_Item;(System.Int32);generated | | System.Numerics;Vector2;get_One;();generated | | System.Numerics;Vector2;get_UnitX;();generated | | System.Numerics;Vector2;get_UnitY;();generated | | System.Numerics;Vector2;get_Zero;();generated | +| System.Numerics;Vector2;set_Item;(System.Int32,System.Single);generated | | System.Numerics;Vector3;Abs;(System.Numerics.Vector3);generated | | System.Numerics;Vector3;Add;(System.Numerics.Vector3,System.Numerics.Vector3);generated | | System.Numerics;Vector3;Clamp;(System.Numerics.Vector3,System.Numerics.Vector3,System.Numerics.Vector3);generated | @@ -24456,11 +24628,13 @@ neutral | System.Numerics;Vector3;Vector3;(System.ReadOnlySpan);generated | | System.Numerics;Vector3;Vector3;(System.Single);generated | | System.Numerics;Vector3;Vector3;(System.Single,System.Single,System.Single);generated | +| System.Numerics;Vector3;get_Item;(System.Int32);generated | | System.Numerics;Vector3;get_One;();generated | | System.Numerics;Vector3;get_UnitX;();generated | | System.Numerics;Vector3;get_UnitY;();generated | | System.Numerics;Vector3;get_UnitZ;();generated | | System.Numerics;Vector3;get_Zero;();generated | +| System.Numerics;Vector3;set_Item;(System.Int32,System.Single);generated | | System.Numerics;Vector4;Abs;(System.Numerics.Vector4);generated | | System.Numerics;Vector4;Add;(System.Numerics.Vector4,System.Numerics.Vector4);generated | | System.Numerics;Vector4;Clamp;(System.Numerics.Vector4,System.Numerics.Vector4,System.Numerics.Vector4);generated | @@ -24501,12 +24675,14 @@ neutral | System.Numerics;Vector4;Vector4;(System.ReadOnlySpan);generated | | System.Numerics;Vector4;Vector4;(System.Single);generated | | System.Numerics;Vector4;Vector4;(System.Single,System.Single,System.Single,System.Single);generated | +| System.Numerics;Vector4;get_Item;(System.Int32);generated | | System.Numerics;Vector4;get_One;();generated | | System.Numerics;Vector4;get_UnitW;();generated | | System.Numerics;Vector4;get_UnitX;();generated | | System.Numerics;Vector4;get_UnitY;();generated | | System.Numerics;Vector4;get_UnitZ;();generated | | System.Numerics;Vector4;get_Zero;();generated | +| System.Numerics;Vector4;set_Item;(System.Int32,System.Single);generated | | System.Numerics;Vector;Add<>;(System.Numerics.Vector,System.Numerics.Vector);generated | | System.Numerics;Vector;AndNot<>;(System.Numerics.Vector,System.Numerics.Vector);generated | | System.Numerics;Vector;As<,>;(System.Numerics.Vector);generated | @@ -25027,6 +25203,7 @@ neutral | System.Reflection.Metadata.Ecma335;ControlFlowBuilder;AddFaultRegion;(System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle);generated | | System.Reflection.Metadata.Ecma335;ControlFlowBuilder;AddFilterRegion;(System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle);generated | | System.Reflection.Metadata.Ecma335;ControlFlowBuilder;AddFinallyRegion;(System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle);generated | +| System.Reflection.Metadata.Ecma335;ControlFlowBuilder;Clear;();generated | | System.Reflection.Metadata.Ecma335;ControlFlowBuilder;ControlFlowBuilder;();generated | | System.Reflection.Metadata.Ecma335;CustomAttributeArrayTypeEncoder;CustomAttributeArrayTypeEncoder;(System.Reflection.Metadata.BlobBuilder);generated | | System.Reflection.Metadata.Ecma335;CustomAttributeArrayTypeEncoder;ElementType;();generated | @@ -27064,6 +27241,7 @@ neutral | System.Runtime.CompilerServices;RuntimeFeature;get_IsDynamicCodeCompiled;();generated | | System.Runtime.CompilerServices;RuntimeFeature;get_IsDynamicCodeSupported;();generated | | System.Runtime.CompilerServices;RuntimeHelpers;AllocateTypeAssociatedMemory;(System.Type,System.Int32);generated | +| System.Runtime.CompilerServices;RuntimeHelpers;CreateSpan<>;(System.RuntimeFieldHandle);generated | | System.Runtime.CompilerServices;RuntimeHelpers;EnsureSufficientExecutionStack;();generated | | System.Runtime.CompilerServices;RuntimeHelpers;Equals;(System.Object,System.Object);generated | | System.Runtime.CompilerServices;RuntimeHelpers;GetHashCode;(System.Object);generated | @@ -30046,6 +30224,7 @@ neutral | System.Runtime.Intrinsics.Arm;ArmBase;LeadingZeroCount;(System.UInt32);generated | | System.Runtime.Intrinsics.Arm;ArmBase;ReverseElementBits;(System.Int32);generated | | System.Runtime.Intrinsics.Arm;ArmBase;ReverseElementBits;(System.UInt32);generated | +| System.Runtime.Intrinsics.Arm;ArmBase;Yield;();generated | | System.Runtime.Intrinsics.Arm;ArmBase;get_IsSupported;();generated | | System.Runtime.Intrinsics.Arm;Crc32+Arm64;ComputeCrc32;(System.UInt32,System.UInt64);generated | | System.Runtime.Intrinsics.Arm;Crc32+Arm64;ComputeCrc32C;(System.UInt32,System.UInt64);generated | @@ -31457,17 +31636,39 @@ neutral | System.Runtime.Intrinsics.X86;Ssse3;get_IsSupported;();generated | | System.Runtime.Intrinsics.X86;X86Base+X64;get_IsSupported;();generated | | System.Runtime.Intrinsics.X86;X86Base;CpuId;(System.Int32,System.Int32);generated | +| System.Runtime.Intrinsics.X86;X86Base;Pause;();generated | | System.Runtime.Intrinsics.X86;X86Base;get_IsSupported;();generated | +| System.Runtime.Intrinsics;Vector64;Add<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;AndNot<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;As<,>;(System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;AsByte<>;(System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;AsDouble<>;(System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;AsInt16<>;(System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;AsInt32<>;(System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;AsInt64<>;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;AsNInt<>;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;AsNUInt<>;(System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;AsSByte<>;(System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;AsSingle<>;(System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;AsUInt16<>;(System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;AsUInt32<>;(System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;AsUInt64<>;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;BitwiseAnd<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;BitwiseOr<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Ceiling;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Ceiling;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;ConditionalSelect<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;ConvertToDouble;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;ConvertToDouble;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;ConvertToInt32;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;ConvertToInt64;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;ConvertToSingle;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;ConvertToSingle;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;ConvertToUInt32;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;ConvertToUInt64;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;CopyTo<>;(System.Runtime.Intrinsics.Vector64,System.Span);generated | +| System.Runtime.Intrinsics;Vector64;CopyTo<>;(System.Runtime.Intrinsics.Vector64,T[]);generated | +| System.Runtime.Intrinsics;Vector64;CopyTo<>;(System.Runtime.Intrinsics.Vector64,T[],System.Int32);generated | | System.Runtime.Intrinsics;Vector64;Create;(System.Byte);generated | | System.Runtime.Intrinsics;Vector64;Create;(System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte);generated | | System.Runtime.Intrinsics;Vector64;Create;(System.Double);generated | @@ -31476,6 +31677,7 @@ neutral | System.Runtime.Intrinsics;Vector64;Create;(System.Int32);generated | | System.Runtime.Intrinsics;Vector64;Create;(System.Int32,System.Int32);generated | | System.Runtime.Intrinsics;Vector64;Create;(System.Int64);generated | +| System.Runtime.Intrinsics;Vector64;Create;(System.IntPtr);generated | | System.Runtime.Intrinsics;Vector64;Create;(System.SByte);generated | | System.Runtime.Intrinsics;Vector64;Create;(System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte);generated | | System.Runtime.Intrinsics;Vector64;Create;(System.Single);generated | @@ -31485,39 +31687,99 @@ neutral | System.Runtime.Intrinsics;Vector64;Create;(System.UInt32);generated | | System.Runtime.Intrinsics;Vector64;Create;(System.UInt32,System.UInt32);generated | | System.Runtime.Intrinsics;Vector64;Create;(System.UInt64);generated | +| System.Runtime.Intrinsics;Vector64;Create;(System.UIntPtr);generated | +| System.Runtime.Intrinsics;Vector64;Create<>;(System.ReadOnlySpan);generated | +| System.Runtime.Intrinsics;Vector64;Create<>;(T);generated | +| System.Runtime.Intrinsics;Vector64;Create<>;(T[]);generated | +| System.Runtime.Intrinsics;Vector64;Create<>;(T[],System.Int32);generated | | System.Runtime.Intrinsics;Vector64;CreateScalar;(System.Byte);generated | | System.Runtime.Intrinsics;Vector64;CreateScalar;(System.Double);generated | | System.Runtime.Intrinsics;Vector64;CreateScalar;(System.Int16);generated | | System.Runtime.Intrinsics;Vector64;CreateScalar;(System.Int32);generated | | System.Runtime.Intrinsics;Vector64;CreateScalar;(System.Int64);generated | +| System.Runtime.Intrinsics;Vector64;CreateScalar;(System.IntPtr);generated | | System.Runtime.Intrinsics;Vector64;CreateScalar;(System.SByte);generated | | System.Runtime.Intrinsics;Vector64;CreateScalar;(System.Single);generated | | System.Runtime.Intrinsics;Vector64;CreateScalar;(System.UInt16);generated | | System.Runtime.Intrinsics;Vector64;CreateScalar;(System.UInt32);generated | | System.Runtime.Intrinsics;Vector64;CreateScalar;(System.UInt64);generated | +| System.Runtime.Intrinsics;Vector64;CreateScalar;(System.UIntPtr);generated | | System.Runtime.Intrinsics;Vector64;CreateScalarUnsafe;(System.Byte);generated | | System.Runtime.Intrinsics;Vector64;CreateScalarUnsafe;(System.Int16);generated | | System.Runtime.Intrinsics;Vector64;CreateScalarUnsafe;(System.Int32);generated | +| System.Runtime.Intrinsics;Vector64;CreateScalarUnsafe;(System.IntPtr);generated | | System.Runtime.Intrinsics;Vector64;CreateScalarUnsafe;(System.SByte);generated | | System.Runtime.Intrinsics;Vector64;CreateScalarUnsafe;(System.Single);generated | | System.Runtime.Intrinsics;Vector64;CreateScalarUnsafe;(System.UInt16);generated | | System.Runtime.Intrinsics;Vector64;CreateScalarUnsafe;(System.UInt32);generated | +| System.Runtime.Intrinsics;Vector64;CreateScalarUnsafe;(System.UIntPtr);generated | +| System.Runtime.Intrinsics;Vector64;Divide<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Dot<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Equals<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;EqualsAll<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;EqualsAny<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Floor;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Floor;(System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;GetElement<>;(System.Runtime.Intrinsics.Vector64,System.Int32);generated | +| System.Runtime.Intrinsics;Vector64;GreaterThan<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;GreaterThanAll<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;GreaterThanAny<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;GreaterThanOrEqual<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;GreaterThanOrEqualAll<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;GreaterThanOrEqualAny<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;LessThan<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;LessThanAll<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;LessThanAny<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;LessThanOrEqual<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;LessThanOrEqualAll<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;LessThanOrEqualAny<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Max<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Min<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Multiply<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Multiply<>;(System.Runtime.Intrinsics.Vector64,T);generated | +| System.Runtime.Intrinsics;Vector64;Multiply<>;(T,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Narrow;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Narrow;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Narrow;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Narrow;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Narrow;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Narrow;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Narrow;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Negate<>;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;OnesComplement<>;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Sqrt<>;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Subtract<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;ToScalar<>;(System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;ToVector128<>;(System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector64;ToVector128Unsafe<>;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;TryCopyTo<>;(System.Runtime.Intrinsics.Vector64,System.Span);generated | +| System.Runtime.Intrinsics;Vector64;Widen;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Widen;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Widen;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Widen;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Widen;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Widen;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Widen;(System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;Xor<>;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | +| System.Runtime.Intrinsics;Vector64;get_IsHardwareAccelerated;();generated | | System.Runtime.Intrinsics;Vector64<>;Equals;(System.Object);generated | | System.Runtime.Intrinsics;Vector64<>;Equals;(System.Runtime.Intrinsics.Vector64<>);generated | | System.Runtime.Intrinsics;Vector64<>;GetHashCode;();generated | | System.Runtime.Intrinsics;Vector64<>;ToString;();generated | | System.Runtime.Intrinsics;Vector64<>;get_AllBitsSet;();generated | | System.Runtime.Intrinsics;Vector64<>;get_Count;();generated | +| System.Runtime.Intrinsics;Vector64<>;get_Item;(System.Int32);generated | | System.Runtime.Intrinsics;Vector64<>;get_Zero;();generated | +| System.Runtime.Intrinsics;Vector128;Add<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;AndNot<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;As<,>;(System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector128;AsByte<>;(System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector128;AsDouble<>;(System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector128;AsInt16<>;(System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector128;AsInt32<>;(System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector128;AsInt64<>;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;AsNInt<>;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;AsNUInt<>;(System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector128;AsSByte<>;(System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector128;AsSingle<>;(System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector128;AsUInt16<>;(System.Runtime.Intrinsics.Vector128);generated | @@ -31531,6 +31793,22 @@ neutral | System.Runtime.Intrinsics;Vector128;AsVector128;(System.Numerics.Vector4);generated | | System.Runtime.Intrinsics;Vector128;AsVector128<>;(System.Numerics.Vector);generated | | System.Runtime.Intrinsics;Vector128;AsVector<>;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;BitwiseAnd<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;BitwiseOr<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Ceiling;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Ceiling;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;ConditionalSelect<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;ConvertToDouble;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;ConvertToDouble;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;ConvertToInt32;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;ConvertToInt64;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;ConvertToSingle;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;ConvertToSingle;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;ConvertToUInt32;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;ConvertToUInt64;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;CopyTo<>;(System.Runtime.Intrinsics.Vector128,System.Span);generated | +| System.Runtime.Intrinsics;Vector128;CopyTo<>;(System.Runtime.Intrinsics.Vector128,T[]);generated | +| System.Runtime.Intrinsics;Vector128;CopyTo<>;(System.Runtime.Intrinsics.Vector128,T[],System.Int32);generated | | System.Runtime.Intrinsics;Vector128;Create;(System.Byte);generated | | System.Runtime.Intrinsics;Vector128;Create;(System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte);generated | | System.Runtime.Intrinsics;Vector128;Create;(System.Double);generated | @@ -31541,6 +31819,7 @@ neutral | System.Runtime.Intrinsics;Vector128;Create;(System.Int32,System.Int32,System.Int32,System.Int32);generated | | System.Runtime.Intrinsics;Vector128;Create;(System.Int64);generated | | System.Runtime.Intrinsics;Vector128;Create;(System.Int64,System.Int64);generated | +| System.Runtime.Intrinsics;Vector128;Create;(System.IntPtr);generated | | System.Runtime.Intrinsics;Vector128;Create;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector128;Create;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | | System.Runtime.Intrinsics;Vector128;Create;(System.Runtime.Intrinsics.Vector64,System.Runtime.Intrinsics.Vector64);generated | @@ -31561,44 +31840,104 @@ neutral | System.Runtime.Intrinsics;Vector128;Create;(System.UInt32,System.UInt32,System.UInt32,System.UInt32);generated | | System.Runtime.Intrinsics;Vector128;Create;(System.UInt64);generated | | System.Runtime.Intrinsics;Vector128;Create;(System.UInt64,System.UInt64);generated | +| System.Runtime.Intrinsics;Vector128;Create;(System.UIntPtr);generated | +| System.Runtime.Intrinsics;Vector128;Create<>;(System.ReadOnlySpan);generated | +| System.Runtime.Intrinsics;Vector128;Create<>;(T);generated | +| System.Runtime.Intrinsics;Vector128;Create<>;(T[]);generated | +| System.Runtime.Intrinsics;Vector128;Create<>;(T[],System.Int32);generated | | System.Runtime.Intrinsics;Vector128;CreateScalar;(System.Byte);generated | | System.Runtime.Intrinsics;Vector128;CreateScalar;(System.Double);generated | | System.Runtime.Intrinsics;Vector128;CreateScalar;(System.Int16);generated | | System.Runtime.Intrinsics;Vector128;CreateScalar;(System.Int32);generated | | System.Runtime.Intrinsics;Vector128;CreateScalar;(System.Int64);generated | +| System.Runtime.Intrinsics;Vector128;CreateScalar;(System.IntPtr);generated | | System.Runtime.Intrinsics;Vector128;CreateScalar;(System.SByte);generated | | System.Runtime.Intrinsics;Vector128;CreateScalar;(System.Single);generated | | System.Runtime.Intrinsics;Vector128;CreateScalar;(System.UInt16);generated | | System.Runtime.Intrinsics;Vector128;CreateScalar;(System.UInt32);generated | | System.Runtime.Intrinsics;Vector128;CreateScalar;(System.UInt64);generated | +| System.Runtime.Intrinsics;Vector128;CreateScalar;(System.UIntPtr);generated | | System.Runtime.Intrinsics;Vector128;CreateScalarUnsafe;(System.Byte);generated | | System.Runtime.Intrinsics;Vector128;CreateScalarUnsafe;(System.Double);generated | | System.Runtime.Intrinsics;Vector128;CreateScalarUnsafe;(System.Int16);generated | | System.Runtime.Intrinsics;Vector128;CreateScalarUnsafe;(System.Int32);generated | | System.Runtime.Intrinsics;Vector128;CreateScalarUnsafe;(System.Int64);generated | +| System.Runtime.Intrinsics;Vector128;CreateScalarUnsafe;(System.IntPtr);generated | | System.Runtime.Intrinsics;Vector128;CreateScalarUnsafe;(System.SByte);generated | | System.Runtime.Intrinsics;Vector128;CreateScalarUnsafe;(System.Single);generated | | System.Runtime.Intrinsics;Vector128;CreateScalarUnsafe;(System.UInt16);generated | | System.Runtime.Intrinsics;Vector128;CreateScalarUnsafe;(System.UInt32);generated | | System.Runtime.Intrinsics;Vector128;CreateScalarUnsafe;(System.UInt64);generated | +| System.Runtime.Intrinsics;Vector128;CreateScalarUnsafe;(System.UIntPtr);generated | +| System.Runtime.Intrinsics;Vector128;Divide<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Dot<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Equals<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;EqualsAll<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;EqualsAny<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Floor;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Floor;(System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector128;GetElement<>;(System.Runtime.Intrinsics.Vector128,System.Int32);generated | | System.Runtime.Intrinsics;Vector128;GetLower<>;(System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector128;GetUpper<>;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;GreaterThan<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;GreaterThanAll<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;GreaterThanAny<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;GreaterThanOrEqual<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;GreaterThanOrEqualAll<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;GreaterThanOrEqualAny<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;LessThan<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;LessThanAll<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;LessThanAny<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;LessThanOrEqual<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;LessThanOrEqualAll<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;LessThanOrEqualAny<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Max<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Min<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Multiply<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Multiply<>;(System.Runtime.Intrinsics.Vector128,T);generated | +| System.Runtime.Intrinsics;Vector128;Multiply<>;(T,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Narrow;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Narrow;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Narrow;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Narrow;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Narrow;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Narrow;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Narrow;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Negate<>;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;OnesComplement<>;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Sqrt<>;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Subtract<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector128;ToScalar<>;(System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector128;ToVector256<>;(System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector128;ToVector256Unsafe<>;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;TryCopyTo<>;(System.Runtime.Intrinsics.Vector128,System.Span);generated | +| System.Runtime.Intrinsics;Vector128;Widen;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Widen;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Widen;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Widen;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Widen;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Widen;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Widen;(System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;Xor<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | +| System.Runtime.Intrinsics;Vector128;get_IsHardwareAccelerated;();generated | | System.Runtime.Intrinsics;Vector128<>;Equals;(System.Object);generated | | System.Runtime.Intrinsics;Vector128<>;Equals;(System.Runtime.Intrinsics.Vector128<>);generated | | System.Runtime.Intrinsics;Vector128<>;GetHashCode;();generated | | System.Runtime.Intrinsics;Vector128<>;ToString;();generated | | System.Runtime.Intrinsics;Vector128<>;get_AllBitsSet;();generated | | System.Runtime.Intrinsics;Vector128<>;get_Count;();generated | +| System.Runtime.Intrinsics;Vector128<>;get_Item;(System.Int32);generated | | System.Runtime.Intrinsics;Vector128<>;get_Zero;();generated | +| System.Runtime.Intrinsics;Vector256;Add<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;AndNot<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;As<,>;(System.Runtime.Intrinsics.Vector256);generated | | System.Runtime.Intrinsics;Vector256;AsByte<>;(System.Runtime.Intrinsics.Vector256);generated | | System.Runtime.Intrinsics;Vector256;AsDouble<>;(System.Runtime.Intrinsics.Vector256);generated | | System.Runtime.Intrinsics;Vector256;AsInt16<>;(System.Runtime.Intrinsics.Vector256);generated | | System.Runtime.Intrinsics;Vector256;AsInt32<>;(System.Runtime.Intrinsics.Vector256);generated | | System.Runtime.Intrinsics;Vector256;AsInt64<>;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;AsNInt<>;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;AsNUInt<>;(System.Runtime.Intrinsics.Vector256);generated | | System.Runtime.Intrinsics;Vector256;AsSByte<>;(System.Runtime.Intrinsics.Vector256);generated | | System.Runtime.Intrinsics;Vector256;AsSingle<>;(System.Runtime.Intrinsics.Vector256);generated | | System.Runtime.Intrinsics;Vector256;AsUInt16<>;(System.Runtime.Intrinsics.Vector256);generated | @@ -31606,6 +31945,22 @@ neutral | System.Runtime.Intrinsics;Vector256;AsUInt64<>;(System.Runtime.Intrinsics.Vector256);generated | | System.Runtime.Intrinsics;Vector256;AsVector256<>;(System.Numerics.Vector);generated | | System.Runtime.Intrinsics;Vector256;AsVector<>;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;BitwiseAnd<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;BitwiseOr<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Ceiling;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Ceiling;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;ConditionalSelect<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;ConvertToDouble;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;ConvertToDouble;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;ConvertToInt32;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;ConvertToInt64;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;ConvertToSingle;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;ConvertToSingle;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;ConvertToUInt32;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;ConvertToUInt64;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;CopyTo<>;(System.Runtime.Intrinsics.Vector256,System.Span);generated | +| System.Runtime.Intrinsics;Vector256;CopyTo<>;(System.Runtime.Intrinsics.Vector256,T[]);generated | +| System.Runtime.Intrinsics;Vector256;CopyTo<>;(System.Runtime.Intrinsics.Vector256,T[],System.Int32);generated | | System.Runtime.Intrinsics;Vector256;Create;(System.Byte);generated | | System.Runtime.Intrinsics;Vector256;Create;(System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte);generated | | System.Runtime.Intrinsics;Vector256;Create;(System.Double);generated | @@ -31616,6 +31971,7 @@ neutral | System.Runtime.Intrinsics;Vector256;Create;(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32);generated | | System.Runtime.Intrinsics;Vector256;Create;(System.Int64);generated | | System.Runtime.Intrinsics;Vector256;Create;(System.Int64,System.Int64,System.Int64,System.Int64);generated | +| System.Runtime.Intrinsics;Vector256;Create;(System.IntPtr);generated | | System.Runtime.Intrinsics;Vector256;Create;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector256;Create;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | | System.Runtime.Intrinsics;Vector256;Create;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector128);generated | @@ -31636,36 +31992,91 @@ neutral | System.Runtime.Intrinsics;Vector256;Create;(System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.UInt32);generated | | System.Runtime.Intrinsics;Vector256;Create;(System.UInt64);generated | | System.Runtime.Intrinsics;Vector256;Create;(System.UInt64,System.UInt64,System.UInt64,System.UInt64);generated | +| System.Runtime.Intrinsics;Vector256;Create;(System.UIntPtr);generated | +| System.Runtime.Intrinsics;Vector256;Create<>;(System.ReadOnlySpan);generated | +| System.Runtime.Intrinsics;Vector256;Create<>;(T);generated | +| System.Runtime.Intrinsics;Vector256;Create<>;(T[]);generated | +| System.Runtime.Intrinsics;Vector256;Create<>;(T[],System.Int32);generated | | System.Runtime.Intrinsics;Vector256;CreateScalar;(System.Byte);generated | | System.Runtime.Intrinsics;Vector256;CreateScalar;(System.Double);generated | | System.Runtime.Intrinsics;Vector256;CreateScalar;(System.Int16);generated | | System.Runtime.Intrinsics;Vector256;CreateScalar;(System.Int32);generated | | System.Runtime.Intrinsics;Vector256;CreateScalar;(System.Int64);generated | +| System.Runtime.Intrinsics;Vector256;CreateScalar;(System.IntPtr);generated | | System.Runtime.Intrinsics;Vector256;CreateScalar;(System.SByte);generated | | System.Runtime.Intrinsics;Vector256;CreateScalar;(System.Single);generated | | System.Runtime.Intrinsics;Vector256;CreateScalar;(System.UInt16);generated | | System.Runtime.Intrinsics;Vector256;CreateScalar;(System.UInt32);generated | | System.Runtime.Intrinsics;Vector256;CreateScalar;(System.UInt64);generated | +| System.Runtime.Intrinsics;Vector256;CreateScalar;(System.UIntPtr);generated | | System.Runtime.Intrinsics;Vector256;CreateScalarUnsafe;(System.Byte);generated | | System.Runtime.Intrinsics;Vector256;CreateScalarUnsafe;(System.Double);generated | | System.Runtime.Intrinsics;Vector256;CreateScalarUnsafe;(System.Int16);generated | | System.Runtime.Intrinsics;Vector256;CreateScalarUnsafe;(System.Int32);generated | | System.Runtime.Intrinsics;Vector256;CreateScalarUnsafe;(System.Int64);generated | +| System.Runtime.Intrinsics;Vector256;CreateScalarUnsafe;(System.IntPtr);generated | | System.Runtime.Intrinsics;Vector256;CreateScalarUnsafe;(System.SByte);generated | | System.Runtime.Intrinsics;Vector256;CreateScalarUnsafe;(System.Single);generated | | System.Runtime.Intrinsics;Vector256;CreateScalarUnsafe;(System.UInt16);generated | | System.Runtime.Intrinsics;Vector256;CreateScalarUnsafe;(System.UInt32);generated | | System.Runtime.Intrinsics;Vector256;CreateScalarUnsafe;(System.UInt64);generated | +| System.Runtime.Intrinsics;Vector256;CreateScalarUnsafe;(System.UIntPtr);generated | +| System.Runtime.Intrinsics;Vector256;Divide<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Dot<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Equals<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;EqualsAll<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;EqualsAny<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Floor;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Floor;(System.Runtime.Intrinsics.Vector256);generated | | System.Runtime.Intrinsics;Vector256;GetElement<>;(System.Runtime.Intrinsics.Vector256,System.Int32);generated | | System.Runtime.Intrinsics;Vector256;GetLower<>;(System.Runtime.Intrinsics.Vector256);generated | | System.Runtime.Intrinsics;Vector256;GetUpper<>;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;GreaterThan<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;GreaterThanAll<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;GreaterThanAny<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;GreaterThanOrEqual<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;GreaterThanOrEqualAll<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;GreaterThanOrEqualAny<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;LessThan<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;LessThanAll<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;LessThanAny<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;LessThanOrEqual<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;LessThanOrEqualAll<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;LessThanOrEqualAny<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Max<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Min<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Multiply<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Multiply<>;(System.Runtime.Intrinsics.Vector256,T);generated | +| System.Runtime.Intrinsics;Vector256;Multiply<>;(T,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Narrow;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Narrow;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Narrow;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Narrow;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Narrow;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Narrow;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Narrow;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Negate<>;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;OnesComplement<>;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Sqrt<>;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Subtract<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | | System.Runtime.Intrinsics;Vector256;ToScalar<>;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;TryCopyTo<>;(System.Runtime.Intrinsics.Vector256,System.Span);generated | +| System.Runtime.Intrinsics;Vector256;Widen;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Widen;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Widen;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Widen;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Widen;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Widen;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Widen;(System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;Xor<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector256);generated | +| System.Runtime.Intrinsics;Vector256;get_IsHardwareAccelerated;();generated | | System.Runtime.Intrinsics;Vector256<>;Equals;(System.Object);generated | | System.Runtime.Intrinsics;Vector256<>;Equals;(System.Runtime.Intrinsics.Vector256<>);generated | | System.Runtime.Intrinsics;Vector256<>;GetHashCode;();generated | | System.Runtime.Intrinsics;Vector256<>;ToString;();generated | | System.Runtime.Intrinsics;Vector256<>;get_AllBitsSet;();generated | | System.Runtime.Intrinsics;Vector256<>;get_Count;();generated | +| System.Runtime.Intrinsics;Vector256<>;get_Item;(System.Int32);generated | | System.Runtime.Intrinsics;Vector256<>;get_Zero;();generated | | System.Runtime.Loader;AssemblyDependencyResolver;AssemblyDependencyResolver;(System.String);generated | | System.Runtime.Loader;AssemblyLoadContext+ContextualReflectionScope;Dispose;();generated | @@ -32508,6 +32919,7 @@ neutral | System.Security.Cryptography.X509Certificates;X509Certificate2;CreateFromPem;(System.ReadOnlySpan);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;CreateFromPem;(System.ReadOnlySpan,System.ReadOnlySpan);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;CreateFromPemFile;(System.String,System.String);generated | +| System.Security.Cryptography.X509Certificates;X509Certificate2;ExportCertificatePem;();generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;GetCertContentType;(System.Byte[]);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;GetCertContentType;(System.ReadOnlySpan);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;GetCertContentType;(System.String);generated | @@ -32521,6 +32933,7 @@ neutral | System.Security.Cryptography.X509Certificates;X509Certificate2;Import;(System.String,System.Security.SecureString,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;Import;(System.String,System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;Reset;();generated | +| System.Security.Cryptography.X509Certificates;X509Certificate2;TryExportCertificatePem;(System.Span,System.Int32);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;Verify;();generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;X509Certificate2;();generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;X509Certificate2;(System.Byte[]);generated | @@ -32543,6 +32956,7 @@ neutral | System.Security.Cryptography.X509Certificates;X509Certificate2;get_FriendlyName;();generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;get_HasPrivateKey;();generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;get_RawData;();generated | +| System.Security.Cryptography.X509Certificates;X509Certificate2;get_RawDataMemory;();generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;get_Version;();generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;set_Archived;(System.Boolean);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2;set_FriendlyName;(System.String);generated | @@ -32550,6 +32964,8 @@ neutral | System.Security.Cryptography.X509Certificates;X509Certificate2Collection;Contains;(System.Security.Cryptography.X509Certificates.X509Certificate2);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2Collection;Export;(System.Security.Cryptography.X509Certificates.X509ContentType);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2Collection;Export;(System.Security.Cryptography.X509Certificates.X509ContentType,System.String);generated | +| System.Security.Cryptography.X509Certificates;X509Certificate2Collection;ExportCertificatePems;();generated | +| System.Security.Cryptography.X509Certificates;X509Certificate2Collection;ExportPkcs7Pem;();generated | | System.Security.Cryptography.X509Certificates;X509Certificate2Collection;Import;(System.Byte[]);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2Collection;Import;(System.Byte[],System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2Collection;Import;(System.ReadOnlySpan);generated | @@ -32560,6 +32976,8 @@ neutral | System.Security.Cryptography.X509Certificates;X509Certificate2Collection;Import;(System.String,System.String,System.Security.Cryptography.X509Certificates.X509KeyStorageFlags);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2Collection;ImportFromPem;(System.ReadOnlySpan);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2Collection;ImportFromPemFile;(System.String);generated | +| System.Security.Cryptography.X509Certificates;X509Certificate2Collection;TryExportCertificatePems;(System.Span,System.Int32);generated | +| System.Security.Cryptography.X509Certificates;X509Certificate2Collection;TryExportPkcs7Pem;(System.Span,System.Int32);generated | | System.Security.Cryptography.X509Certificates;X509Certificate2Collection;X509Certificate2Collection;();generated | | System.Security.Cryptography.X509Certificates;X509Certificate2Enumerator;Dispose;();generated | | System.Security.Cryptography.X509Certificates;X509Certificate2Enumerator;MoveNext;();generated | @@ -32983,8 +33401,11 @@ neutral | System.Security.Cryptography;AsymmetricAlgorithm;Dispose;(System.Boolean);generated | | System.Security.Cryptography;AsymmetricAlgorithm;ExportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.Security.Cryptography.PbeParameters);generated | | System.Security.Cryptography;AsymmetricAlgorithm;ExportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.Security.Cryptography.PbeParameters);generated | +| System.Security.Cryptography;AsymmetricAlgorithm;ExportEncryptedPkcs8PrivateKeyPem;(System.ReadOnlySpan,System.Security.Cryptography.PbeParameters);generated | | System.Security.Cryptography;AsymmetricAlgorithm;ExportPkcs8PrivateKey;();generated | +| System.Security.Cryptography;AsymmetricAlgorithm;ExportPkcs8PrivateKeyPem;();generated | | System.Security.Cryptography;AsymmetricAlgorithm;ExportSubjectPublicKeyInfo;();generated | +| System.Security.Cryptography;AsymmetricAlgorithm;ExportSubjectPublicKeyInfoPem;();generated | | System.Security.Cryptography;AsymmetricAlgorithm;FromXmlString;(System.String);generated | | System.Security.Cryptography;AsymmetricAlgorithm;ImportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.ReadOnlySpan,System.Int32);generated | | System.Security.Cryptography;AsymmetricAlgorithm;ImportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.ReadOnlySpan,System.Int32);generated | @@ -32996,8 +33417,11 @@ neutral | System.Security.Cryptography;AsymmetricAlgorithm;ToXmlString;(System.Boolean);generated | | System.Security.Cryptography;AsymmetricAlgorithm;TryExportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.Security.Cryptography.PbeParameters,System.Span,System.Int32);generated | | System.Security.Cryptography;AsymmetricAlgorithm;TryExportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.Security.Cryptography.PbeParameters,System.Span,System.Int32);generated | +| System.Security.Cryptography;AsymmetricAlgorithm;TryExportEncryptedPkcs8PrivateKeyPem;(System.ReadOnlySpan,System.Security.Cryptography.PbeParameters,System.Span,System.Int32);generated | | System.Security.Cryptography;AsymmetricAlgorithm;TryExportPkcs8PrivateKey;(System.Span,System.Int32);generated | +| System.Security.Cryptography;AsymmetricAlgorithm;TryExportPkcs8PrivateKeyPem;(System.Span,System.Int32);generated | | System.Security.Cryptography;AsymmetricAlgorithm;TryExportSubjectPublicKeyInfo;(System.Span,System.Int32);generated | +| System.Security.Cryptography;AsymmetricAlgorithm;TryExportSubjectPublicKeyInfoPem;(System.Span,System.Int32);generated | | System.Security.Cryptography;AsymmetricAlgorithm;get_KeyExchangeAlgorithm;();generated | | System.Security.Cryptography;AsymmetricAlgorithm;get_KeySize;();generated | | System.Security.Cryptography;AsymmetricAlgorithm;get_LegalKeySizes;();generated | @@ -33289,8 +33713,6 @@ neutral | System.Security.Cryptography;DSACng;DSACng;(System.Security.Cryptography.CngKey);generated | | System.Security.Cryptography;DSACng;Dispose;(System.Boolean);generated | | System.Security.Cryptography;DSACng;ExportParameters;(System.Boolean);generated | -| System.Security.Cryptography;DSACng;HashData;(System.Byte[],System.Int32,System.Int32,System.Security.Cryptography.HashAlgorithmName);generated | -| System.Security.Cryptography;DSACng;HashData;(System.IO.Stream,System.Security.Cryptography.HashAlgorithmName);generated | | System.Security.Cryptography;DSACng;ImportParameters;(System.Security.Cryptography.DSAParameters);generated | | System.Security.Cryptography;DSACng;VerifySignature;(System.Byte[],System.Byte[]);generated | | System.Security.Cryptography;DSACng;get_Key;();generated | @@ -33308,6 +33730,8 @@ neutral | System.Security.Cryptography;DSACryptoServiceProvider;HashData;(System.Byte[],System.Int32,System.Int32,System.Security.Cryptography.HashAlgorithmName);generated | | System.Security.Cryptography;DSACryptoServiceProvider;HashData;(System.IO.Stream,System.Security.Cryptography.HashAlgorithmName);generated | | System.Security.Cryptography;DSACryptoServiceProvider;ImportCspBlob;(System.Byte[]);generated | +| System.Security.Cryptography;DSACryptoServiceProvider;ImportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.ReadOnlySpan,System.Int32);generated | +| System.Security.Cryptography;DSACryptoServiceProvider;ImportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.ReadOnlySpan,System.Int32);generated | | System.Security.Cryptography;DSACryptoServiceProvider;ImportParameters;(System.Security.Cryptography.DSAParameters);generated | | System.Security.Cryptography;DSACryptoServiceProvider;SignData;(System.Byte[]);generated | | System.Security.Cryptography;DSACryptoServiceProvider;SignData;(System.Byte[],System.Int32,System.Int32);generated | @@ -33332,15 +33756,10 @@ neutral | System.Security.Cryptography;DSAOpenSsl;DSAOpenSsl;(System.IntPtr);generated | | System.Security.Cryptography;DSAOpenSsl;DSAOpenSsl;(System.Security.Cryptography.DSAParameters);generated | | System.Security.Cryptography;DSAOpenSsl;DSAOpenSsl;(System.Security.Cryptography.SafeEvpPKeyHandle);generated | -| System.Security.Cryptography;DSAOpenSsl;Dispose;(System.Boolean);generated | | System.Security.Cryptography;DSAOpenSsl;DuplicateKeyHandle;();generated | | System.Security.Cryptography;DSAOpenSsl;ExportParameters;(System.Boolean);generated | -| System.Security.Cryptography;DSAOpenSsl;HashData;(System.Byte[],System.Int32,System.Int32,System.Security.Cryptography.HashAlgorithmName);generated | -| System.Security.Cryptography;DSAOpenSsl;HashData;(System.IO.Stream,System.Security.Cryptography.HashAlgorithmName);generated | | System.Security.Cryptography;DSAOpenSsl;ImportParameters;(System.Security.Cryptography.DSAParameters);generated | | System.Security.Cryptography;DSAOpenSsl;VerifySignature;(System.Byte[],System.Byte[]);generated | -| System.Security.Cryptography;DSAOpenSsl;get_LegalKeySizes;();generated | -| System.Security.Cryptography;DSAOpenSsl;set_KeySize;(System.Int32);generated | | System.Security.Cryptography;DSASignatureDeformatter;DSASignatureDeformatter;();generated | | System.Security.Cryptography;DSASignatureDeformatter;SetHashAlgorithm;(System.String);generated | | System.Security.Cryptography;DSASignatureDeformatter;VerifySignature;(System.Byte[],System.Byte[]);generated | @@ -33351,6 +33770,26 @@ neutral | System.Security.Cryptography;DeriveBytes;Dispose;(System.Boolean);generated | | System.Security.Cryptography;DeriveBytes;GetBytes;(System.Int32);generated | | System.Security.Cryptography;DeriveBytes;Reset;();generated | +| System.Security.Cryptography;ECAlgorithm;ExportECPrivateKey;();generated | +| System.Security.Cryptography;ECAlgorithm;ExportECPrivateKeyPem;();generated | +| System.Security.Cryptography;ECAlgorithm;ExportExplicitParameters;(System.Boolean);generated | +| System.Security.Cryptography;ECAlgorithm;ExportParameters;(System.Boolean);generated | +| System.Security.Cryptography;ECAlgorithm;GenerateKey;(System.Security.Cryptography.ECCurve);generated | +| System.Security.Cryptography;ECAlgorithm;ImportECPrivateKey;(System.ReadOnlySpan,System.Int32);generated | +| System.Security.Cryptography;ECAlgorithm;ImportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.ReadOnlySpan,System.Int32);generated | +| System.Security.Cryptography;ECAlgorithm;ImportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.ReadOnlySpan,System.Int32);generated | +| System.Security.Cryptography;ECAlgorithm;ImportFromEncryptedPem;(System.ReadOnlySpan,System.ReadOnlySpan);generated | +| System.Security.Cryptography;ECAlgorithm;ImportFromEncryptedPem;(System.ReadOnlySpan,System.ReadOnlySpan);generated | +| System.Security.Cryptography;ECAlgorithm;ImportFromPem;(System.ReadOnlySpan);generated | +| System.Security.Cryptography;ECAlgorithm;ImportParameters;(System.Security.Cryptography.ECParameters);generated | +| System.Security.Cryptography;ECAlgorithm;ImportPkcs8PrivateKey;(System.ReadOnlySpan,System.Int32);generated | +| System.Security.Cryptography;ECAlgorithm;ImportSubjectPublicKeyInfo;(System.ReadOnlySpan,System.Int32);generated | +| System.Security.Cryptography;ECAlgorithm;TryExportECPrivateKey;(System.Span,System.Int32);generated | +| System.Security.Cryptography;ECAlgorithm;TryExportECPrivateKeyPem;(System.Span,System.Int32);generated | +| System.Security.Cryptography;ECAlgorithm;TryExportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.Security.Cryptography.PbeParameters,System.Span,System.Int32);generated | +| System.Security.Cryptography;ECAlgorithm;TryExportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.Security.Cryptography.PbeParameters,System.Span,System.Int32);generated | +| System.Security.Cryptography;ECAlgorithm;TryExportPkcs8PrivateKey;(System.Span,System.Int32);generated | +| System.Security.Cryptography;ECAlgorithm;TryExportSubjectPublicKeyInfo;(System.Span,System.Int32);generated | | System.Security.Cryptography;ECCurve+NamedCurves;get_brainpoolP160r1;();generated | | System.Security.Cryptography;ECCurve+NamedCurves;get_brainpoolP160t1;();generated | | System.Security.Cryptography;ECCurve+NamedCurves;get_brainpoolP192r1;();generated | @@ -33436,19 +33875,13 @@ neutral | System.Security.Cryptography;ECDiffieHellmanCngPublicKey;Import;();generated | | System.Security.Cryptography;ECDiffieHellmanCngPublicKey;ToXmlString;();generated | | System.Security.Cryptography;ECDiffieHellmanCngPublicKey;get_BlobFormat;();generated | -| System.Security.Cryptography;ECDiffieHellmanOpenSsl;DeriveKeyFromHash;(System.Security.Cryptography.ECDiffieHellmanPublicKey,System.Security.Cryptography.HashAlgorithmName,System.Byte[],System.Byte[]);generated | -| System.Security.Cryptography;ECDiffieHellmanOpenSsl;DeriveKeyFromHmac;(System.Security.Cryptography.ECDiffieHellmanPublicKey,System.Security.Cryptography.HashAlgorithmName,System.Byte[],System.Byte[],System.Byte[]);generated | -| System.Security.Cryptography;ECDiffieHellmanOpenSsl;DeriveKeyMaterial;(System.Security.Cryptography.ECDiffieHellmanPublicKey);generated | -| System.Security.Cryptography;ECDiffieHellmanOpenSsl;DeriveKeyTls;(System.Security.Cryptography.ECDiffieHellmanPublicKey,System.Byte[],System.Byte[]);generated | | System.Security.Cryptography;ECDiffieHellmanOpenSsl;DuplicateKeyHandle;();generated | | System.Security.Cryptography;ECDiffieHellmanOpenSsl;ECDiffieHellmanOpenSsl;();generated | | System.Security.Cryptography;ECDiffieHellmanOpenSsl;ECDiffieHellmanOpenSsl;(System.Int32);generated | | System.Security.Cryptography;ECDiffieHellmanOpenSsl;ECDiffieHellmanOpenSsl;(System.IntPtr);generated | | System.Security.Cryptography;ECDiffieHellmanOpenSsl;ECDiffieHellmanOpenSsl;(System.Security.Cryptography.ECCurve);generated | | System.Security.Cryptography;ECDiffieHellmanOpenSsl;ECDiffieHellmanOpenSsl;(System.Security.Cryptography.SafeEvpPKeyHandle);generated | -| System.Security.Cryptography;ECDiffieHellmanOpenSsl;ExportExplicitParameters;(System.Boolean);generated | | System.Security.Cryptography;ECDiffieHellmanOpenSsl;ExportParameters;(System.Boolean);generated | -| System.Security.Cryptography;ECDiffieHellmanOpenSsl;GenerateKey;(System.Security.Cryptography.ECCurve);generated | | System.Security.Cryptography;ECDiffieHellmanOpenSsl;ImportParameters;(System.Security.Cryptography.ECParameters);generated | | System.Security.Cryptography;ECDiffieHellmanOpenSsl;get_PublicKey;();generated | | System.Security.Cryptography;ECDiffieHellmanPublicKey;Dispose;();generated | @@ -33515,8 +33948,6 @@ neutral | System.Security.Cryptography;ECDsaCng;ExportParameters;(System.Boolean);generated | | System.Security.Cryptography;ECDsaCng;FromXmlString;(System.String,System.Security.Cryptography.ECKeyXmlFormat);generated | | System.Security.Cryptography;ECDsaCng;GenerateKey;(System.Security.Cryptography.ECCurve);generated | -| System.Security.Cryptography;ECDsaCng;HashData;(System.Byte[],System.Int32,System.Int32,System.Security.Cryptography.HashAlgorithmName);generated | -| System.Security.Cryptography;ECDsaCng;HashData;(System.IO.Stream,System.Security.Cryptography.HashAlgorithmName);generated | | System.Security.Cryptography;ECDsaCng;ImportParameters;(System.Security.Cryptography.ECParameters);generated | | System.Security.Cryptography;ECDsaCng;SignData;(System.Byte[]);generated | | System.Security.Cryptography;ECDsaCng;SignData;(System.Byte[],System.Int32,System.Int32);generated | @@ -33533,24 +33964,14 @@ neutral | System.Security.Cryptography;ECDsaCng;get_LegalKeySizes;();generated | | System.Security.Cryptography;ECDsaCng;set_HashAlgorithm;(System.Security.Cryptography.CngAlgorithm);generated | | System.Security.Cryptography;ECDsaCng;set_KeySize;(System.Int32);generated | -| System.Security.Cryptography;ECDsaOpenSsl;Dispose;(System.Boolean);generated | | System.Security.Cryptography;ECDsaOpenSsl;DuplicateKeyHandle;();generated | | System.Security.Cryptography;ECDsaOpenSsl;ECDsaOpenSsl;();generated | | System.Security.Cryptography;ECDsaOpenSsl;ECDsaOpenSsl;(System.Int32);generated | | System.Security.Cryptography;ECDsaOpenSsl;ECDsaOpenSsl;(System.IntPtr);generated | | System.Security.Cryptography;ECDsaOpenSsl;ECDsaOpenSsl;(System.Security.Cryptography.ECCurve);generated | | System.Security.Cryptography;ECDsaOpenSsl;ECDsaOpenSsl;(System.Security.Cryptography.SafeEvpPKeyHandle);generated | -| System.Security.Cryptography;ECDsaOpenSsl;ExportExplicitParameters;(System.Boolean);generated | -| System.Security.Cryptography;ECDsaOpenSsl;ExportParameters;(System.Boolean);generated | -| System.Security.Cryptography;ECDsaOpenSsl;GenerateKey;(System.Security.Cryptography.ECCurve);generated | -| System.Security.Cryptography;ECDsaOpenSsl;HashData;(System.Byte[],System.Int32,System.Int32,System.Security.Cryptography.HashAlgorithmName);generated | -| System.Security.Cryptography;ECDsaOpenSsl;HashData;(System.IO.Stream,System.Security.Cryptography.HashAlgorithmName);generated | -| System.Security.Cryptography;ECDsaOpenSsl;ImportParameters;(System.Security.Cryptography.ECParameters);generated | | System.Security.Cryptography;ECDsaOpenSsl;SignHash;(System.Byte[]);generated | | System.Security.Cryptography;ECDsaOpenSsl;VerifyHash;(System.Byte[],System.Byte[]);generated | -| System.Security.Cryptography;ECDsaOpenSsl;get_KeySize;();generated | -| System.Security.Cryptography;ECDsaOpenSsl;get_LegalKeySizes;();generated | -| System.Security.Cryptography;ECDsaOpenSsl;set_KeySize;(System.Int32);generated | | System.Security.Cryptography;ECParameters;Validate;();generated | | System.Security.Cryptography;FromBase64Transform;Clear;();generated | | System.Security.Cryptography;FromBase64Transform;Dispose;();generated | @@ -33808,7 +34229,9 @@ neutral | System.Security.Cryptography;RSA;EncryptValue;(System.Byte[]);generated | | System.Security.Cryptography;RSA;ExportParameters;(System.Boolean);generated | | System.Security.Cryptography;RSA;ExportRSAPrivateKey;();generated | +| System.Security.Cryptography;RSA;ExportRSAPrivateKeyPem;();generated | | System.Security.Cryptography;RSA;ExportRSAPublicKey;();generated | +| System.Security.Cryptography;RSA;ExportRSAPublicKeyPem;();generated | | System.Security.Cryptography;RSA;FromXmlString;(System.String);generated | | System.Security.Cryptography;RSA;HashData;(System.Byte[],System.Int32,System.Int32,System.Security.Cryptography.HashAlgorithmName);generated | | System.Security.Cryptography;RSA;HashData;(System.IO.Stream,System.Security.Cryptography.HashAlgorithmName);generated | @@ -33833,7 +34256,9 @@ neutral | System.Security.Cryptography;RSA;TryExportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.Security.Cryptography.PbeParameters,System.Span,System.Int32);generated | | System.Security.Cryptography;RSA;TryExportPkcs8PrivateKey;(System.Span,System.Int32);generated | | System.Security.Cryptography;RSA;TryExportRSAPrivateKey;(System.Span,System.Int32);generated | +| System.Security.Cryptography;RSA;TryExportRSAPrivateKeyPem;(System.Span,System.Int32);generated | | System.Security.Cryptography;RSA;TryExportRSAPublicKey;(System.Span,System.Int32);generated | +| System.Security.Cryptography;RSA;TryExportRSAPublicKeyPem;(System.Span,System.Int32);generated | | System.Security.Cryptography;RSA;TryExportSubjectPublicKeyInfo;(System.Span,System.Int32);generated | | System.Security.Cryptography;RSA;TryHashData;(System.ReadOnlySpan,System.Span,System.Security.Cryptography.HashAlgorithmName,System.Int32);generated | | System.Security.Cryptography;RSA;TrySignData;(System.ReadOnlySpan,System.Span,System.Security.Cryptography.HashAlgorithmName,System.Security.Cryptography.RSASignaturePadding,System.Int32);generated | @@ -33850,8 +34275,6 @@ neutral | System.Security.Cryptography;RSACng;Dispose;(System.Boolean);generated | | System.Security.Cryptography;RSACng;Encrypt;(System.Byte[],System.Security.Cryptography.RSAEncryptionPadding);generated | | System.Security.Cryptography;RSACng;ExportParameters;(System.Boolean);generated | -| System.Security.Cryptography;RSACng;HashData;(System.Byte[],System.Int32,System.Int32,System.Security.Cryptography.HashAlgorithmName);generated | -| System.Security.Cryptography;RSACng;HashData;(System.IO.Stream,System.Security.Cryptography.HashAlgorithmName);generated | | System.Security.Cryptography;RSACng;ImportParameters;(System.Security.Cryptography.RSAParameters);generated | | System.Security.Cryptography;RSACng;RSACng;();generated | | System.Security.Cryptography;RSACng;RSACng;(System.Int32);generated | @@ -33869,9 +34292,9 @@ neutral | System.Security.Cryptography;RSACryptoServiceProvider;EncryptValue;(System.Byte[]);generated | | System.Security.Cryptography;RSACryptoServiceProvider;ExportCspBlob;(System.Boolean);generated | | System.Security.Cryptography;RSACryptoServiceProvider;ExportParameters;(System.Boolean);generated | -| System.Security.Cryptography;RSACryptoServiceProvider;HashData;(System.Byte[],System.Int32,System.Int32,System.Security.Cryptography.HashAlgorithmName);generated | -| System.Security.Cryptography;RSACryptoServiceProvider;HashData;(System.IO.Stream,System.Security.Cryptography.HashAlgorithmName);generated | | System.Security.Cryptography;RSACryptoServiceProvider;ImportCspBlob;(System.Byte[]);generated | +| System.Security.Cryptography;RSACryptoServiceProvider;ImportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.ReadOnlySpan,System.Int32);generated | +| System.Security.Cryptography;RSACryptoServiceProvider;ImportEncryptedPkcs8PrivateKey;(System.ReadOnlySpan,System.ReadOnlySpan,System.Int32);generated | | System.Security.Cryptography;RSACryptoServiceProvider;ImportParameters;(System.Security.Cryptography.RSAParameters);generated | | System.Security.Cryptography;RSACryptoServiceProvider;RSACryptoServiceProvider;();generated | | System.Security.Cryptography;RSACryptoServiceProvider;RSACryptoServiceProvider;(System.Int32);generated | @@ -33914,23 +34337,14 @@ neutral | System.Security.Cryptography;RSAOAEPKeyExchangeFormatter;get_Parameter;();generated | | System.Security.Cryptography;RSAOAEPKeyExchangeFormatter;get_Parameters;();generated | | System.Security.Cryptography;RSAOAEPKeyExchangeFormatter;set_Parameter;(System.Byte[]);generated | -| System.Security.Cryptography;RSAOpenSsl;Decrypt;(System.Byte[],System.Security.Cryptography.RSAEncryptionPadding);generated | -| System.Security.Cryptography;RSAOpenSsl;Dispose;(System.Boolean);generated | | System.Security.Cryptography;RSAOpenSsl;DuplicateKeyHandle;();generated | -| System.Security.Cryptography;RSAOpenSsl;Encrypt;(System.Byte[],System.Security.Cryptography.RSAEncryptionPadding);generated | | System.Security.Cryptography;RSAOpenSsl;ExportParameters;(System.Boolean);generated | -| System.Security.Cryptography;RSAOpenSsl;HashData;(System.Byte[],System.Int32,System.Int32,System.Security.Cryptography.HashAlgorithmName);generated | -| System.Security.Cryptography;RSAOpenSsl;HashData;(System.IO.Stream,System.Security.Cryptography.HashAlgorithmName);generated | | System.Security.Cryptography;RSAOpenSsl;ImportParameters;(System.Security.Cryptography.RSAParameters);generated | | System.Security.Cryptography;RSAOpenSsl;RSAOpenSsl;();generated | | System.Security.Cryptography;RSAOpenSsl;RSAOpenSsl;(System.Int32);generated | | System.Security.Cryptography;RSAOpenSsl;RSAOpenSsl;(System.IntPtr);generated | | System.Security.Cryptography;RSAOpenSsl;RSAOpenSsl;(System.Security.Cryptography.RSAParameters);generated | | System.Security.Cryptography;RSAOpenSsl;RSAOpenSsl;(System.Security.Cryptography.SafeEvpPKeyHandle);generated | -| System.Security.Cryptography;RSAOpenSsl;SignHash;(System.Byte[],System.Security.Cryptography.HashAlgorithmName,System.Security.Cryptography.RSASignaturePadding);generated | -| System.Security.Cryptography;RSAOpenSsl;VerifyHash;(System.Byte[],System.Byte[],System.Security.Cryptography.HashAlgorithmName,System.Security.Cryptography.RSASignaturePadding);generated | -| System.Security.Cryptography;RSAOpenSsl;get_LegalKeySizes;();generated | -| System.Security.Cryptography;RSAOpenSsl;set_KeySize;(System.Int32);generated | | System.Security.Cryptography;RSAPKCS1KeyExchangeDeformatter;DecryptKeyExchange;(System.Byte[]);generated | | System.Security.Cryptography;RSAPKCS1KeyExchangeDeformatter;RSAPKCS1KeyExchangeDeformatter;();generated | | System.Security.Cryptography;RSAPKCS1KeyExchangeDeformatter;get_Parameters;();generated | @@ -34910,6 +35324,7 @@ neutral | System.Text.Json;JsonSerializerOptions;JsonSerializerOptions;(System.Text.Json.JsonSerializerDefaults);generated | | System.Text.Json;JsonSerializerOptions;get_AllowTrailingCommas;();generated | | System.Text.Json;JsonSerializerOptions;get_Converters;();generated | +| System.Text.Json;JsonSerializerOptions;get_Default;();generated | | System.Text.Json;JsonSerializerOptions;get_DefaultBufferSize;();generated | | System.Text.Json;JsonSerializerOptions;get_DefaultIgnoreCondition;();generated | | System.Text.Json;JsonSerializerOptions;get_IgnoreNullValues;();generated | @@ -34937,9 +35352,11 @@ neutral | System.Text.Json;JsonSerializerOptions;set_WriteIndented;(System.Boolean);generated | | System.Text.Json;JsonWriterOptions;get_Encoder;();generated | | System.Text.Json;JsonWriterOptions;get_Indented;();generated | +| System.Text.Json;JsonWriterOptions;get_MaxDepth;();generated | | System.Text.Json;JsonWriterOptions;get_SkipValidation;();generated | | System.Text.Json;JsonWriterOptions;set_Encoder;(System.Text.Encodings.Web.JavaScriptEncoder);generated | | System.Text.Json;JsonWriterOptions;set_Indented;(System.Boolean);generated | +| System.Text.Json;JsonWriterOptions;set_MaxDepth;(System.Int32);generated | | System.Text.Json;JsonWriterOptions;set_SkipValidation;(System.Boolean);generated | | System.Text.Json;Utf8JsonReader;GetBoolean;();generated | | System.Text.Json;Utf8JsonReader;GetByte;();generated | @@ -35735,6 +36152,34 @@ neutral | System.Threading.Channels;ChannelWriter<>;TryWrite;(T);generated | | System.Threading.Channels;ChannelWriter<>;WaitToWriteAsync;(System.Threading.CancellationToken);generated | | System.Threading.Channels;ChannelWriter<>;WriteAsync;(T,System.Threading.CancellationToken);generated | +| System.Threading.RateLimiting;ConcurrencyLimiter;Dispose;(System.Boolean);generated | +| System.Threading.RateLimiting;ConcurrencyLimiter;DisposeAsyncCore;();generated | +| System.Threading.RateLimiting;ConcurrencyLimiterOptions;get_PermitLimit;();generated | +| System.Threading.RateLimiting;ConcurrencyLimiterOptions;get_QueueLimit;();generated | +| System.Threading.RateLimiting;ConcurrencyLimiterOptions;get_QueueProcessingOrder;();generated | +| System.Threading.RateLimiting;MetadataName;get_ReasonPhrase;();generated | +| System.Threading.RateLimiting;MetadataName;get_RetryAfter;();generated | +| System.Threading.RateLimiting;MetadataName<>;Equals;(System.Object);generated | +| System.Threading.RateLimiting;MetadataName<>;Equals;(System.Threading.RateLimiting.MetadataName<>);generated | +| System.Threading.RateLimiting;MetadataName<>;GetHashCode;();generated | +| System.Threading.RateLimiting;RateLimitLease;Dispose;();generated | +| System.Threading.RateLimiting;RateLimitLease;Dispose;(System.Boolean);generated | +| System.Threading.RateLimiting;RateLimitLease;TryGetMetadata;(System.String,System.Object);generated | +| System.Threading.RateLimiting;RateLimitLease;get_IsAcquired;();generated | +| System.Threading.RateLimiting;RateLimitLease;get_MetadataNames;();generated | +| System.Threading.RateLimiting;RateLimiter;Dispose;();generated | +| System.Threading.RateLimiting;RateLimiter;Dispose;(System.Boolean);generated | +| System.Threading.RateLimiting;RateLimiter;DisposeAsync;();generated | +| System.Threading.RateLimiting;RateLimiter;DisposeAsyncCore;();generated | +| System.Threading.RateLimiting;TokenBucketRateLimiter;Dispose;(System.Boolean);generated | +| System.Threading.RateLimiting;TokenBucketRateLimiter;DisposeAsyncCore;();generated | +| System.Threading.RateLimiting;TokenBucketRateLimiter;TryReplenish;();generated | +| System.Threading.RateLimiting;TokenBucketRateLimiterOptions;get_AutoReplenishment;();generated | +| System.Threading.RateLimiting;TokenBucketRateLimiterOptions;get_QueueLimit;();generated | +| System.Threading.RateLimiting;TokenBucketRateLimiterOptions;get_QueueProcessingOrder;();generated | +| System.Threading.RateLimiting;TokenBucketRateLimiterOptions;get_ReplenishmentPeriod;();generated | +| System.Threading.RateLimiting;TokenBucketRateLimiterOptions;get_TokenLimit;();generated | +| System.Threading.RateLimiting;TokenBucketRateLimiterOptions;get_TokensPerPeriod;();generated | | System.Threading.Tasks.Dataflow;ActionBlock<>;Complete;();generated | | System.Threading.Tasks.Dataflow;ActionBlock<>;Fault;(System.Exception);generated | | System.Threading.Tasks.Dataflow;ActionBlock<>;OfferMessage;(System.Threading.Tasks.Dataflow.DataflowMessageHeader,TInput,System.Threading.Tasks.Dataflow.ISourceBlock,System.Boolean);generated | @@ -35942,6 +36387,7 @@ neutral | System.Threading.Tasks;Task;get_IsFaulted;();generated | | System.Threading.Tasks;Task;get_Status;();generated | | System.Threading.Tasks;Task<>;get_Factory;();generated | +| System.Threading.Tasks;TaskAsyncEnumerableExtensions;ToBlockingEnumerable<>;(System.Collections.Generic.IAsyncEnumerable,System.Threading.CancellationToken);generated | | System.Threading.Tasks;TaskCanceledException;TaskCanceledException;();generated | | System.Threading.Tasks;TaskCanceledException;TaskCanceledException;(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext);generated | | System.Threading.Tasks;TaskCanceledException;TaskCanceledException;(System.String);generated | @@ -38262,6 +38708,7 @@ neutral | System;AggregateException;Flatten;();generated | | System;AggregateException;get_InnerExceptions;();generated | | System;AppContext;GetData;(System.String);generated | +| System;AppContext;SetData;(System.String,System.Object);generated | | System;AppContext;SetSwitch;(System.String,System.Boolean);generated | | System;AppContext;TryGetSwitch;(System.String,System.Boolean);generated | | System;AppContext;get_BaseDirectory;();generated | @@ -38364,6 +38811,7 @@ neutral | System;ArgumentNullException;ArgumentNullException;(System.String,System.Exception);generated | | System;ArgumentNullException;ArgumentNullException;(System.String,System.String);generated | | System;ArgumentNullException;ThrowIfNull;(System.Object,System.String);generated | +| System;ArgumentNullException;ThrowIfNull;(System.Void*,System.String);generated | | System;ArgumentOutOfRangeException;ArgumentOutOfRangeException;();generated | | System;ArgumentOutOfRangeException;ArgumentOutOfRangeException;(System.String);generated | | System;ArgumentOutOfRangeException;ArgumentOutOfRangeException;(System.String,System.Exception);generated | @@ -38619,17 +39067,32 @@ neutral | System;Buffer;MemoryCopy;(System.Void*,System.Void*,System.Int64,System.Int64);generated | | System;Buffer;MemoryCopy;(System.Void*,System.Void*,System.UInt64,System.UInt64);generated | | System;Buffer;SetByte;(System.Array,System.Int32,System.Byte);generated | +| System;Byte;Abs;(System.Byte);generated | +| System;Byte;Clamp;(System.Byte,System.Byte,System.Byte);generated | | System;Byte;CompareTo;(System.Byte);generated | | System;Byte;CompareTo;(System.Object);generated | +| System;Byte;CreateSaturating<>;(TOther);generated | +| System;Byte;CreateTruncating<>;(TOther);generated | +| System;Byte;DivRem;(System.Byte,System.Byte);generated | | System;Byte;Equals;(System.Byte);generated | | System;Byte;Equals;(System.Object);generated | | System;Byte;GetHashCode;();generated | | System;Byte;GetTypeCode;();generated | +| System;Byte;IsPow2;(System.Byte);generated | +| System;Byte;LeadingZeroCount;(System.Byte);generated | +| System;Byte;Log2;(System.Byte);generated | +| System;Byte;Max;(System.Byte,System.Byte);generated | +| System;Byte;Min;(System.Byte,System.Byte);generated | | System;Byte;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;Byte;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;Byte;Parse;(System.String);generated | | System;Byte;Parse;(System.String,System.Globalization.NumberStyles);generated | | System;Byte;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | | System;Byte;Parse;(System.String,System.IFormatProvider);generated | +| System;Byte;PopCount;(System.Byte);generated | +| System;Byte;RotateLeft;(System.Byte,System.Int32);generated | +| System;Byte;RotateRight;(System.Byte,System.Int32);generated | +| System;Byte;Sign;(System.Byte);generated | | System;Byte;ToBoolean;(System.IFormatProvider);generated | | System;Byte;ToByte;(System.IFormatProvider);generated | | System;Byte;ToChar;(System.IFormatProvider);generated | @@ -38649,17 +39112,27 @@ neutral | System;Byte;ToUInt16;(System.IFormatProvider);generated | | System;Byte;ToUInt32;(System.IFormatProvider);generated | | System;Byte;ToUInt64;(System.IFormatProvider);generated | +| System;Byte;TrailingZeroCount;(System.Byte);generated | | System;Byte;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;Byte;TryParse;(System.ReadOnlySpan,System.Byte);generated | | System;Byte;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.Byte);generated | +| System;Byte;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Byte);generated | | System;Byte;TryParse;(System.String,System.Byte);generated | | System;Byte;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Byte);generated | +| System;Byte;TryParse;(System.String,System.IFormatProvider,System.Byte);generated | +| System;Byte;get_AdditiveIdentity;();generated | +| System;Byte;get_MaxValue;();generated | +| System;Byte;get_MinValue;();generated | +| System;Byte;get_MultiplicativeIdentity;();generated | +| System;Byte;get_One;();generated | +| System;Byte;get_Zero;();generated | | System;CLSCompliantAttribute;CLSCompliantAttribute;(System.Boolean);generated | | System;CLSCompliantAttribute;get_IsCompliant;();generated | | System;CannotUnloadAppDomainException;CannotUnloadAppDomainException;();generated | | System;CannotUnloadAppDomainException;CannotUnloadAppDomainException;(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext);generated | | System;CannotUnloadAppDomainException;CannotUnloadAppDomainException;(System.String);generated | | System;CannotUnloadAppDomainException;CannotUnloadAppDomainException;(System.String,System.Exception);generated | +| System;Char;Abs;(System.Char);generated | | System;Char;CompareTo;(System.Char);generated | | System;Char;CompareTo;(System.Object);generated | | System;Char;ConvertFromUtf32;(System.Int32);generated | @@ -38690,6 +39163,7 @@ neutral | System;Char;IsLower;(System.String,System.Int32);generated | | System;Char;IsNumber;(System.Char);generated | | System;Char;IsNumber;(System.String,System.Int32);generated | +| System;Char;IsPow2;(System.Char);generated | | System;Char;IsPunctuation;(System.Char);generated | | System;Char;IsPunctuation;(System.String,System.Int32);generated | | System;Char;IsSeparator;(System.Char);generated | @@ -38704,7 +39178,16 @@ neutral | System;Char;IsUpper;(System.String,System.Int32);generated | | System;Char;IsWhiteSpace;(System.Char);generated | | System;Char;IsWhiteSpace;(System.String,System.Int32);generated | +| System;Char;LeadingZeroCount;(System.Char);generated | +| System;Char;Log2;(System.Char);generated | +| System;Char;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;Char;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;Char;Parse;(System.String);generated | +| System;Char;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;Char;Parse;(System.String,System.IFormatProvider);generated | +| System;Char;PopCount;(System.Char);generated | +| System;Char;RotateLeft;(System.Char,System.Int32);generated | +| System;Char;RotateRight;(System.Char,System.Int32);generated | | System;Char;ToBoolean;(System.IFormatProvider);generated | | System;Char;ToByte;(System.IFormatProvider);generated | | System;Char;ToChar;(System.IFormatProvider);generated | @@ -38730,8 +39213,19 @@ neutral | System;Char;ToUpper;(System.Char);generated | | System;Char;ToUpper;(System.Char,System.Globalization.CultureInfo);generated | | System;Char;ToUpperInvariant;(System.Char);generated | +| System;Char;TrailingZeroCount;(System.Char);generated | | System;Char;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | +| System;Char;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.Char);generated | +| System;Char;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Char);generated | | System;Char;TryParse;(System.String,System.Char);generated | +| System;Char;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Char);generated | +| System;Char;TryParse;(System.String,System.IFormatProvider,System.Char);generated | +| System;Char;get_AdditiveIdentity;();generated | +| System;Char;get_MaxValue;();generated | +| System;Char;get_MinValue;();generated | +| System;Char;get_MultiplicativeIdentity;();generated | +| System;Char;get_One;();generated | +| System;Char;get_Zero;();generated | | System;CharEnumerator;Clone;();generated | | System;CharEnumerator;Dispose;();generated | | System;CharEnumerator;MoveNext;();generated | @@ -38888,8 +39382,10 @@ neutral | System;DateOnly;FromDateTime;(System.DateTime);generated | | System;DateOnly;FromDayNumber;(System.Int32);generated | | System;DateOnly;GetHashCode;();generated | +| System;DateOnly;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;DateOnly;Parse;(System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles);generated | | System;DateOnly;Parse;(System.String);generated | +| System;DateOnly;Parse;(System.String,System.IFormatProvider);generated | | System;DateOnly;Parse;(System.String,System.IFormatProvider,System.Globalization.DateTimeStyles);generated | | System;DateOnly;ParseExact;(System.ReadOnlySpan,System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles);generated | | System;DateOnly;ParseExact;(System.ReadOnlySpan,System.String[]);generated | @@ -38906,8 +39402,10 @@ neutral | System;DateOnly;ToString;(System.String);generated | | System;DateOnly;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;DateOnly;TryParse;(System.ReadOnlySpan,System.DateOnly);generated | +| System;DateOnly;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.DateOnly);generated | | System;DateOnly;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles,System.DateOnly);generated | | System;DateOnly;TryParse;(System.String,System.DateOnly);generated | +| System;DateOnly;TryParse;(System.String,System.IFormatProvider,System.DateOnly);generated | | System;DateOnly;TryParse;(System.String,System.IFormatProvider,System.Globalization.DateTimeStyles,System.DateOnly);generated | | System;DateOnly;TryParseExact;(System.ReadOnlySpan,System.ReadOnlySpan,System.DateOnly);generated | | System;DateOnly;TryParseExact;(System.ReadOnlySpan,System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles,System.DateOnly);generated | @@ -38964,6 +39462,7 @@ neutral | System;DateTime;GetTypeCode;();generated | | System;DateTime;IsDaylightSavingTime;();generated | | System;DateTime;IsLeapYear;(System.Int32);generated | +| System;DateTime;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;DateTime;Parse;(System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles);generated | | System;DateTime;Parse;(System.String);generated | | System;DateTime;Parse;(System.String,System.IFormatProvider);generated | @@ -39001,8 +39500,10 @@ neutral | System;DateTime;ToUInt64;(System.IFormatProvider);generated | | System;DateTime;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;DateTime;TryParse;(System.ReadOnlySpan,System.DateTime);generated | +| System;DateTime;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.DateTime);generated | | System;DateTime;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles,System.DateTime);generated | | System;DateTime;TryParse;(System.String,System.DateTime);generated | +| System;DateTime;TryParse;(System.String,System.IFormatProvider,System.DateTime);generated | | System;DateTime;TryParse;(System.String,System.IFormatProvider,System.Globalization.DateTimeStyles,System.DateTime);generated | | System;DateTime;TryParseExact;(System.ReadOnlySpan,System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles,System.DateTime);generated | | System;DateTime;TryParseExact;(System.ReadOnlySpan,System.String[],System.IFormatProvider,System.Globalization.DateTimeStyles,System.DateTime);generated | @@ -39051,6 +39552,7 @@ neutral | System;DateTimeOffset;FromUnixTimeSeconds;(System.Int64);generated | | System;DateTimeOffset;GetHashCode;();generated | | System;DateTimeOffset;OnDeserialization;(System.Object);generated | +| System;DateTimeOffset;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;DateTimeOffset;Parse;(System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles);generated | | System;DateTimeOffset;Parse;(System.String);generated | | System;DateTimeOffset;Parse;(System.String,System.IFormatProvider);generated | @@ -39072,8 +39574,10 @@ neutral | System;DateTimeOffset;ToUnixTimeSeconds;();generated | | System;DateTimeOffset;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;DateTimeOffset;TryParse;(System.ReadOnlySpan,System.DateTimeOffset);generated | +| System;DateTimeOffset;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.DateTimeOffset);generated | | System;DateTimeOffset;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles,System.DateTimeOffset);generated | | System;DateTimeOffset;TryParse;(System.String,System.DateTimeOffset);generated | +| System;DateTimeOffset;TryParse;(System.String,System.IFormatProvider,System.DateTimeOffset);generated | | System;DateTimeOffset;TryParse;(System.String,System.IFormatProvider,System.Globalization.DateTimeStyles,System.DateTimeOffset);generated | | System;DateTimeOffset;TryParseExact;(System.ReadOnlySpan,System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles,System.DateTimeOffset);generated | | System;DateTimeOffset;TryParseExact;(System.ReadOnlySpan,System.String[],System.IFormatProvider,System.Globalization.DateTimeStyles,System.DateTimeOffset);generated | @@ -39098,11 +39602,15 @@ neutral | System;DateTimeOffset;get_UtcNow;();generated | | System;DateTimeOffset;get_UtcTicks;();generated | | System;DateTimeOffset;get_Year;();generated | +| System;Decimal;Abs;(System.Decimal);generated | | System;Decimal;Add;(System.Decimal,System.Decimal);generated | | System;Decimal;Ceiling;(System.Decimal);generated | +| System;Decimal;Clamp;(System.Decimal,System.Decimal,System.Decimal);generated | | System;Decimal;Compare;(System.Decimal,System.Decimal);generated | | System;Decimal;CompareTo;(System.Decimal);generated | | System;Decimal;CompareTo;(System.Object);generated | +| System;Decimal;CreateSaturating<>;(TOther);generated | +| System;Decimal;CreateTruncating<>;(TOther);generated | | System;Decimal;Decimal;(System.Double);generated | | System;Decimal;Decimal;(System.Int32);generated | | System;Decimal;Decimal;(System.Int32,System.Int32,System.Int32,System.Boolean,System.Byte);generated | @@ -39123,10 +39631,13 @@ neutral | System;Decimal;GetHashCode;();generated | | System;Decimal;GetObjectData;(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext);generated | | System;Decimal;GetTypeCode;();generated | +| System;Decimal;Max;(System.Decimal,System.Decimal);generated | +| System;Decimal;Min;(System.Decimal,System.Decimal);generated | | System;Decimal;Multiply;(System.Decimal,System.Decimal);generated | | System;Decimal;Negate;(System.Decimal);generated | | System;Decimal;OnDeserialization;(System.Object);generated | | System;Decimal;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;Decimal;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;Decimal;Parse;(System.String);generated | | System;Decimal;Parse;(System.String,System.Globalization.NumberStyles);generated | | System;Decimal;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | @@ -39136,6 +39647,7 @@ neutral | System;Decimal;Round;(System.Decimal,System.Int32);generated | | System;Decimal;Round;(System.Decimal,System.Int32,System.MidpointRounding);generated | | System;Decimal;Round;(System.Decimal,System.MidpointRounding);generated | +| System;Decimal;Sign;(System.Decimal);generated | | System;Decimal;Subtract;(System.Decimal,System.Decimal);generated | | System;Decimal;ToBoolean;(System.IFormatProvider);generated | | System;Decimal;ToByte;(System.Decimal);generated | @@ -39171,8 +39683,17 @@ neutral | System;Decimal;TryGetBits;(System.Decimal,System.Span,System.Int32);generated | | System;Decimal;TryParse;(System.ReadOnlySpan,System.Decimal);generated | | System;Decimal;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.Decimal);generated | +| System;Decimal;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Decimal);generated | | System;Decimal;TryParse;(System.String,System.Decimal);generated | | System;Decimal;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Decimal);generated | +| System;Decimal;TryParse;(System.String,System.IFormatProvider,System.Decimal);generated | +| System;Decimal;get_AdditiveIdentity;();generated | +| System;Decimal;get_MaxValue;();generated | +| System;Decimal;get_MinValue;();generated | +| System;Decimal;get_MultiplicativeIdentity;();generated | +| System;Decimal;get_NegativeOne;();generated | +| System;Decimal;get_One;();generated | +| System;Decimal;get_Zero;();generated | | System;Delegate;Clone;();generated | | System;Delegate;CombineImpl;(System.Delegate);generated | | System;Delegate;CreateDelegate;(System.Type,System.Object,System.Reflection.MethodInfo);generated | @@ -39195,10 +39716,31 @@ neutral | System;DllNotFoundException;DllNotFoundException;(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext);generated | | System;DllNotFoundException;DllNotFoundException;(System.String);generated | | System;DllNotFoundException;DllNotFoundException;(System.String,System.Exception);generated | +| System;Double;Abs;(System.Double);generated | +| System;Double;Acos;(System.Double);generated | +| System;Double;Acosh;(System.Double);generated | +| System;Double;Asin;(System.Double);generated | +| System;Double;Asinh;(System.Double);generated | +| System;Double;Atan2;(System.Double,System.Double);generated | +| System;Double;Atan;(System.Double);generated | +| System;Double;Atanh;(System.Double);generated | +| System;Double;BitDecrement;(System.Double);generated | +| System;Double;BitIncrement;(System.Double);generated | +| System;Double;Cbrt;(System.Double);generated | +| System;Double;Ceiling;(System.Double);generated | +| System;Double;Clamp;(System.Double,System.Double,System.Double);generated | | System;Double;CompareTo;(System.Double);generated | | System;Double;CompareTo;(System.Object);generated | +| System;Double;CopySign;(System.Double,System.Double);generated | +| System;Double;Cos;(System.Double);generated | +| System;Double;Cosh;(System.Double);generated | +| System;Double;CreateSaturating<>;(TOther);generated | +| System;Double;CreateTruncating<>;(TOther);generated | | System;Double;Equals;(System.Double);generated | | System;Double;Equals;(System.Object);generated | +| System;Double;Exp;(System.Double);generated | +| System;Double;Floor;(System.Double);generated | +| System;Double;FusedMultiplyAdd;(System.Double,System.Double,System.Double);generated | | System;Double;GetHashCode;();generated | | System;Double;GetTypeCode;();generated | | System;Double;IsFinite;(System.Double);generated | @@ -39208,12 +39750,31 @@ neutral | System;Double;IsNegativeInfinity;(System.Double);generated | | System;Double;IsNormal;(System.Double);generated | | System;Double;IsPositiveInfinity;(System.Double);generated | +| System;Double;IsPow2;(System.Double);generated | | System;Double;IsSubnormal;(System.Double);generated | +| System;Double;Log2;(System.Double);generated | +| System;Double;Log10;(System.Double);generated | +| System;Double;Log;(System.Double);generated | +| System;Double;Log;(System.Double,System.Double);generated | +| System;Double;Max;(System.Double,System.Double);generated | +| System;Double;MaxMagnitude;(System.Double,System.Double);generated | +| System;Double;Min;(System.Double,System.Double);generated | +| System;Double;MinMagnitude;(System.Double,System.Double);generated | | System;Double;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;Double;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;Double;Parse;(System.String);generated | | System;Double;Parse;(System.String,System.Globalization.NumberStyles);generated | | System;Double;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | | System;Double;Parse;(System.String,System.IFormatProvider);generated | +| System;Double;Pow;(System.Double,System.Double);generated | +| System;Double;Round;(System.Double);generated | +| System;Double;Round;(System.Double,System.MidpointRounding);generated | +| System;Double;Sign;(System.Double);generated | +| System;Double;Sin;(System.Double);generated | +| System;Double;Sinh;(System.Double);generated | +| System;Double;Sqrt;(System.Double);generated | +| System;Double;Tan;(System.Double);generated | +| System;Double;Tanh;(System.Double);generated | | System;Double;ToBoolean;(System.IFormatProvider);generated | | System;Double;ToByte;(System.IFormatProvider);generated | | System;Double;ToChar;(System.IFormatProvider);generated | @@ -39230,11 +39791,29 @@ neutral | System;Double;ToUInt16;(System.IFormatProvider);generated | | System;Double;ToUInt32;(System.IFormatProvider);generated | | System;Double;ToUInt64;(System.IFormatProvider);generated | +| System;Double;Truncate;(System.Double);generated | | System;Double;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;Double;TryParse;(System.ReadOnlySpan,System.Double);generated | | System;Double;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.Double);generated | +| System;Double;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Double);generated | | System;Double;TryParse;(System.String,System.Double);generated | | System;Double;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Double);generated | +| System;Double;TryParse;(System.String,System.IFormatProvider,System.Double);generated | +| System;Double;get_AdditiveIdentity;();generated | +| System;Double;get_E;();generated | +| System;Double;get_Epsilon;();generated | +| System;Double;get_MaxValue;();generated | +| System;Double;get_MinValue;();generated | +| System;Double;get_MultiplicativeIdentity;();generated | +| System;Double;get_NaN;();generated | +| System;Double;get_NegativeInfinity;();generated | +| System;Double;get_NegativeOne;();generated | +| System;Double;get_NegativeZero;();generated | +| System;Double;get_One;();generated | +| System;Double;get_Pi;();generated | +| System;Double;get_PositiveInfinity;();generated | +| System;Double;get_Tau;();generated | +| System;Double;get_Zero;();generated | | System;DuplicateWaitObjectException;DuplicateWaitObjectException;();generated | | System;DuplicateWaitObjectException;DuplicateWaitObjectException;(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext);generated | | System;DuplicateWaitObjectException;DuplicateWaitObjectException;(System.String);generated | @@ -39434,7 +40013,9 @@ neutral | System;Guid;Guid;(System.UInt32,System.UInt16,System.UInt16,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte);generated | | System;Guid;NewGuid;();generated | | System;Guid;Parse;(System.ReadOnlySpan);generated | +| System;Guid;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;Guid;Parse;(System.String);generated | +| System;Guid;Parse;(System.String,System.IFormatProvider);generated | | System;Guid;ParseExact;(System.ReadOnlySpan,System.ReadOnlySpan);generated | | System;Guid;ParseExact;(System.String,System.String);generated | | System;Guid;ToByteArray;();generated | @@ -39444,14 +40025,35 @@ neutral | System;Guid;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan);generated | | System;Guid;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;Guid;TryParse;(System.ReadOnlySpan,System.Guid);generated | +| System;Guid;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Guid);generated | | System;Guid;TryParse;(System.String,System.Guid);generated | +| System;Guid;TryParse;(System.String,System.IFormatProvider,System.Guid);generated | | System;Guid;TryParseExact;(System.ReadOnlySpan,System.ReadOnlySpan,System.Guid);generated | | System;Guid;TryParseExact;(System.String,System.String,System.Guid);generated | | System;Guid;TryWriteBytes;(System.Span);generated | +| System;Half;Abs;(System.Half);generated | +| System;Half;Acos;(System.Half);generated | +| System;Half;Acosh;(System.Half);generated | +| System;Half;Asin;(System.Half);generated | +| System;Half;Asinh;(System.Half);generated | +| System;Half;Atan2;(System.Half,System.Half);generated | +| System;Half;Atan;(System.Half);generated | +| System;Half;Atanh;(System.Half);generated | +| System;Half;Cbrt;(System.Half);generated | +| System;Half;Ceiling;(System.Half);generated | +| System;Half;Clamp;(System.Half,System.Half,System.Half);generated | | System;Half;CompareTo;(System.Half);generated | | System;Half;CompareTo;(System.Object);generated | +| System;Half;CopySign;(System.Half,System.Half);generated | +| System;Half;Cos;(System.Half);generated | +| System;Half;Cosh;(System.Half);generated | +| System;Half;CreateSaturating<>;(TOther);generated | +| System;Half;CreateTruncating<>;(TOther);generated | | System;Half;Equals;(System.Half);generated | | System;Half;Equals;(System.Object);generated | +| System;Half;Exp;(System.Half);generated | +| System;Half;Floor;(System.Half);generated | +| System;Half;FusedMultiplyAdd;(System.Half,System.Half,System.Half);generated | | System;Half;GetHashCode;();generated | | System;Half;IsFinite;(System.Half);generated | | System;Half;IsInfinity;(System.Half);generated | @@ -39460,25 +40062,56 @@ neutral | System;Half;IsNegativeInfinity;(System.Half);generated | | System;Half;IsNormal;(System.Half);generated | | System;Half;IsPositiveInfinity;(System.Half);generated | +| System;Half;IsPow2;(System.Half);generated | | System;Half;IsSubnormal;(System.Half);generated | +| System;Half;Log2;(System.Half);generated | +| System;Half;Log10;(System.Half);generated | +| System;Half;Log;(System.Half);generated | +| System;Half;Log;(System.Half,System.Half);generated | +| System;Half;Max;(System.Half,System.Half);generated | +| System;Half;MaxMagnitude;(System.Half,System.Half);generated | +| System;Half;Min;(System.Half,System.Half);generated | +| System;Half;MinMagnitude;(System.Half,System.Half);generated | | System;Half;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;Half;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;Half;Parse;(System.String);generated | | System;Half;Parse;(System.String,System.Globalization.NumberStyles);generated | | System;Half;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | | System;Half;Parse;(System.String,System.IFormatProvider);generated | +| System;Half;Pow;(System.Half,System.Half);generated | +| System;Half;Round;(System.Half);generated | +| System;Half;Round;(System.Half,System.MidpointRounding);generated | +| System;Half;Sign;(System.Half);generated | +| System;Half;Sin;(System.Half);generated | +| System;Half;Sinh;(System.Half);generated | +| System;Half;Sqrt;(System.Half);generated | +| System;Half;Tan;(System.Half);generated | +| System;Half;Tanh;(System.Half);generated | | System;Half;ToString;();generated | | System;Half;ToString;(System.String);generated | +| System;Half;Truncate;(System.Half);generated | | System;Half;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;Half;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.Half);generated | | System;Half;TryParse;(System.ReadOnlySpan,System.Half);generated | +| System;Half;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Half);generated | | System;Half;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Half);generated | | System;Half;TryParse;(System.String,System.Half);generated | +| System;Half;TryParse;(System.String,System.IFormatProvider,System.Half);generated | +| System;Half;get_AdditiveIdentity;();generated | +| System;Half;get_E;();generated | | System;Half;get_Epsilon;();generated | | System;Half;get_MaxValue;();generated | | System;Half;get_MinValue;();generated | +| System;Half;get_MultiplicativeIdentity;();generated | | System;Half;get_NaN;();generated | | System;Half;get_NegativeInfinity;();generated | +| System;Half;get_NegativeOne;();generated | +| System;Half;get_NegativeZero;();generated | +| System;Half;get_One;();generated | +| System;Half;get_Pi;();generated | | System;Half;get_PositiveInfinity;();generated | +| System;Half;get_Tau;();generated | +| System;Half;get_Zero;();generated | | System;HashCode;Add<>;(T);generated | | System;HashCode;Add<>;(T,System.Collections.Generic.IEqualityComparer);generated | | System;HashCode;AddBytes;(System.ReadOnlySpan);generated | @@ -39552,17 +40185,32 @@ neutral | System;InsufficientMemoryException;InsufficientMemoryException;();generated | | System;InsufficientMemoryException;InsufficientMemoryException;(System.String);generated | | System;InsufficientMemoryException;InsufficientMemoryException;(System.String,System.Exception);generated | +| System;Int16;Abs;(System.Int16);generated | +| System;Int16;Clamp;(System.Int16,System.Int16,System.Int16);generated | | System;Int16;CompareTo;(System.Int16);generated | | System;Int16;CompareTo;(System.Object);generated | +| System;Int16;CreateSaturating<>;(TOther);generated | +| System;Int16;CreateTruncating<>;(TOther);generated | +| System;Int16;DivRem;(System.Int16,System.Int16);generated | | System;Int16;Equals;(System.Int16);generated | | System;Int16;Equals;(System.Object);generated | | System;Int16;GetHashCode;();generated | | System;Int16;GetTypeCode;();generated | +| System;Int16;IsPow2;(System.Int16);generated | +| System;Int16;LeadingZeroCount;(System.Int16);generated | +| System;Int16;Log2;(System.Int16);generated | +| System;Int16;Max;(System.Int16,System.Int16);generated | +| System;Int16;Min;(System.Int16,System.Int16);generated | | System;Int16;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;Int16;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;Int16;Parse;(System.String);generated | | System;Int16;Parse;(System.String,System.Globalization.NumberStyles);generated | | System;Int16;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | | System;Int16;Parse;(System.String,System.IFormatProvider);generated | +| System;Int16;PopCount;(System.Int16);generated | +| System;Int16;RotateLeft;(System.Int16,System.Int32);generated | +| System;Int16;RotateRight;(System.Int16,System.Int32);generated | +| System;Int16;Sign;(System.Int16);generated | | System;Int16;ToBoolean;(System.IFormatProvider);generated | | System;Int16;ToByte;(System.IFormatProvider);generated | | System;Int16;ToChar;(System.IFormatProvider);generated | @@ -39582,17 +40230,42 @@ neutral | System;Int16;ToUInt16;(System.IFormatProvider);generated | | System;Int16;ToUInt32;(System.IFormatProvider);generated | | System;Int16;ToUInt64;(System.IFormatProvider);generated | +| System;Int16;TrailingZeroCount;(System.Int16);generated | | System;Int16;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;Int16;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.Int16);generated | +| System;Int16;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Int16);generated | | System;Int16;TryParse;(System.ReadOnlySpan,System.Int16);generated | | System;Int16;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Int16);generated | +| System;Int16;TryParse;(System.String,System.IFormatProvider,System.Int16);generated | | System;Int16;TryParse;(System.String,System.Int16);generated | +| System;Int16;get_AdditiveIdentity;();generated | +| System;Int16;get_MaxValue;();generated | +| System;Int16;get_MinValue;();generated | +| System;Int16;get_MultiplicativeIdentity;();generated | +| System;Int16;get_NegativeOne;();generated | +| System;Int16;get_One;();generated | +| System;Int16;get_Zero;();generated | +| System;Int32;Abs;(System.Int32);generated | +| System;Int32;Clamp;(System.Int32,System.Int32,System.Int32);generated | | System;Int32;CompareTo;(System.Int32);generated | | System;Int32;CompareTo;(System.Object);generated | +| System;Int32;CreateSaturating<>;(TOther);generated | +| System;Int32;CreateTruncating<>;(TOther);generated | +| System;Int32;DivRem;(System.Int32,System.Int32);generated | | System;Int32;Equals;(System.Int32);generated | | System;Int32;Equals;(System.Object);generated | | System;Int32;GetHashCode;();generated | | System;Int32;GetTypeCode;();generated | +| System;Int32;IsPow2;(System.Int32);generated | +| System;Int32;LeadingZeroCount;(System.Int32);generated | +| System;Int32;Log2;(System.Int32);generated | +| System;Int32;Max;(System.Int32,System.Int32);generated | +| System;Int32;Min;(System.Int32,System.Int32);generated | +| System;Int32;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | +| System;Int32;PopCount;(System.Int32);generated | +| System;Int32;RotateLeft;(System.Int32,System.Int32);generated | +| System;Int32;RotateRight;(System.Int32,System.Int32);generated | +| System;Int32;Sign;(System.Int32);generated | | System;Int32;ToBoolean;(System.IFormatProvider);generated | | System;Int32;ToByte;(System.IFormatProvider);generated | | System;Int32;ToChar;(System.IFormatProvider);generated | @@ -39612,18 +40285,43 @@ neutral | System;Int32;ToUInt16;(System.IFormatProvider);generated | | System;Int32;ToUInt32;(System.IFormatProvider);generated | | System;Int32;ToUInt64;(System.IFormatProvider);generated | +| System;Int32;TrailingZeroCount;(System.Int32);generated | | System;Int32;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | +| System;Int32;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Int32);generated | +| System;Int32;TryParse;(System.String,System.IFormatProvider,System.Int32);generated | +| System;Int32;get_AdditiveIdentity;();generated | +| System;Int32;get_MaxValue;();generated | +| System;Int32;get_MinValue;();generated | +| System;Int32;get_MultiplicativeIdentity;();generated | +| System;Int32;get_NegativeOne;();generated | +| System;Int32;get_One;();generated | +| System;Int32;get_Zero;();generated | +| System;Int64;Abs;(System.Int64);generated | +| System;Int64;Clamp;(System.Int64,System.Int64,System.Int64);generated | | System;Int64;CompareTo;(System.Int64);generated | | System;Int64;CompareTo;(System.Object);generated | +| System;Int64;CreateSaturating<>;(TOther);generated | +| System;Int64;CreateTruncating<>;(TOther);generated | +| System;Int64;DivRem;(System.Int64,System.Int64);generated | | System;Int64;Equals;(System.Int64);generated | | System;Int64;Equals;(System.Object);generated | | System;Int64;GetHashCode;();generated | | System;Int64;GetTypeCode;();generated | +| System;Int64;IsPow2;(System.Int64);generated | +| System;Int64;LeadingZeroCount;(System.Int64);generated | +| System;Int64;Log2;(System.Int64);generated | +| System;Int64;Max;(System.Int64,System.Int64);generated | +| System;Int64;Min;(System.Int64,System.Int64);generated | | System;Int64;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;Int64;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;Int64;Parse;(System.String);generated | | System;Int64;Parse;(System.String,System.Globalization.NumberStyles);generated | | System;Int64;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | | System;Int64;Parse;(System.String,System.IFormatProvider);generated | +| System;Int64;PopCount;(System.Int64);generated | +| System;Int64;RotateLeft;(System.Int64,System.Int32);generated | +| System;Int64;RotateRight;(System.Int64,System.Int32);generated | +| System;Int64;Sign;(System.Int64);generated | | System;Int64;ToBoolean;(System.IFormatProvider);generated | | System;Int64;ToByte;(System.IFormatProvider);generated | | System;Int64;ToChar;(System.IFormatProvider);generated | @@ -39643,25 +40341,44 @@ neutral | System;Int64;ToUInt16;(System.IFormatProvider);generated | | System;Int64;ToUInt32;(System.IFormatProvider);generated | | System;Int64;ToUInt64;(System.IFormatProvider);generated | +| System;Int64;TrailingZeroCount;(System.Int64);generated | | System;Int64;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;Int64;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.Int64);generated | +| System;Int64;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Int64);generated | | System;Int64;TryParse;(System.ReadOnlySpan,System.Int64);generated | | System;Int64;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Int64);generated | +| System;Int64;TryParse;(System.String,System.IFormatProvider,System.Int64);generated | | System;Int64;TryParse;(System.String,System.Int64);generated | +| System;Int64;get_AdditiveIdentity;();generated | +| System;Int64;get_MaxValue;();generated | +| System;Int64;get_MinValue;();generated | +| System;Int64;get_MultiplicativeIdentity;();generated | +| System;Int64;get_NegativeOne;();generated | +| System;Int64;get_One;();generated | +| System;Int64;get_Zero;();generated | | System;IntPtr;Add;(System.IntPtr,System.Int32);generated | | System;IntPtr;CompareTo;(System.IntPtr);generated | | System;IntPtr;CompareTo;(System.Object);generated | +| System;IntPtr;DivRem;(System.IntPtr,System.IntPtr);generated | | System;IntPtr;Equals;(System.IntPtr);generated | | System;IntPtr;Equals;(System.Object);generated | | System;IntPtr;GetHashCode;();generated | | System;IntPtr;GetObjectData;(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext);generated | | System;IntPtr;IntPtr;(System.Int32);generated | | System;IntPtr;IntPtr;(System.Int64);generated | +| System;IntPtr;IsPow2;(System.IntPtr);generated | +| System;IntPtr;LeadingZeroCount;(System.IntPtr);generated | +| System;IntPtr;Log2;(System.IntPtr);generated | | System;IntPtr;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;IntPtr;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;IntPtr;Parse;(System.String);generated | | System;IntPtr;Parse;(System.String,System.Globalization.NumberStyles);generated | | System;IntPtr;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | | System;IntPtr;Parse;(System.String,System.IFormatProvider);generated | +| System;IntPtr;PopCount;(System.IntPtr);generated | +| System;IntPtr;RotateLeft;(System.IntPtr,System.Int32);generated | +| System;IntPtr;RotateRight;(System.IntPtr,System.Int32);generated | +| System;IntPtr;Sign;(System.IntPtr);generated | | System;IntPtr;Subtract;(System.IntPtr,System.Int32);generated | | System;IntPtr;ToInt32;();generated | | System;IntPtr;ToInt64;();generated | @@ -39669,14 +40386,22 @@ neutral | System;IntPtr;ToString;(System.IFormatProvider);generated | | System;IntPtr;ToString;(System.String);generated | | System;IntPtr;ToString;(System.String,System.IFormatProvider);generated | +| System;IntPtr;TrailingZeroCount;(System.IntPtr);generated | | System;IntPtr;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;IntPtr;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.IntPtr);generated | +| System;IntPtr;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.IntPtr);generated | | System;IntPtr;TryParse;(System.ReadOnlySpan,System.IntPtr);generated | | System;IntPtr;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.IntPtr);generated | +| System;IntPtr;TryParse;(System.String,System.IFormatProvider,System.IntPtr);generated | | System;IntPtr;TryParse;(System.String,System.IntPtr);generated | +| System;IntPtr;get_AdditiveIdentity;();generated | | System;IntPtr;get_MaxValue;();generated | | System;IntPtr;get_MinValue;();generated | +| System;IntPtr;get_MultiplicativeIdentity;();generated | +| System;IntPtr;get_NegativeOne;();generated | +| System;IntPtr;get_One;();generated | | System;IntPtr;get_Size;();generated | +| System;IntPtr;get_Zero;();generated | | System;InvalidCastException;InvalidCastException;();generated | | System;InvalidCastException;InvalidCastException;(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext);generated | | System;InvalidCastException;InvalidCastException;(System.String);generated | @@ -40055,6 +40780,8 @@ neutral | System;Object;ToString;();generated | | System;ObjectDisposedException;ObjectDisposedException;(System.String);generated | | System;ObjectDisposedException;ObjectDisposedException;(System.String,System.Exception);generated | +| System;ObjectDisposedException;ThrowIf;(System.Boolean,System.Object);generated | +| System;ObjectDisposedException;ThrowIf;(System.Boolean,System.Type);generated | | System;ObsoleteAttribute;ObsoleteAttribute;();generated | | System;ObsoleteAttribute;ObsoleteAttribute;(System.String);generated | | System;ObsoleteAttribute;ObsoleteAttribute;(System.String,System.Boolean);generated | @@ -40183,17 +40910,32 @@ neutral | System;RuntimeTypeHandle;GetHashCode;();generated | | System;RuntimeTypeHandle;GetModuleHandle;();generated | | System;RuntimeTypeHandle;GetObjectData;(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext);generated | +| System;SByte;Abs;(System.SByte);generated | +| System;SByte;Clamp;(System.SByte,System.SByte,System.SByte);generated | | System;SByte;CompareTo;(System.Object);generated | | System;SByte;CompareTo;(System.SByte);generated | +| System;SByte;CreateSaturating<>;(TOther);generated | +| System;SByte;CreateTruncating<>;(TOther);generated | +| System;SByte;DivRem;(System.SByte,System.SByte);generated | | System;SByte;Equals;(System.Object);generated | | System;SByte;Equals;(System.SByte);generated | | System;SByte;GetHashCode;();generated | | System;SByte;GetTypeCode;();generated | +| System;SByte;IsPow2;(System.SByte);generated | +| System;SByte;LeadingZeroCount;(System.SByte);generated | +| System;SByte;Log2;(System.SByte);generated | +| System;SByte;Max;(System.SByte,System.SByte);generated | +| System;SByte;Min;(System.SByte,System.SByte);generated | | System;SByte;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;SByte;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;SByte;Parse;(System.String);generated | | System;SByte;Parse;(System.String,System.Globalization.NumberStyles);generated | | System;SByte;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | | System;SByte;Parse;(System.String,System.IFormatProvider);generated | +| System;SByte;PopCount;(System.SByte);generated | +| System;SByte;RotateLeft;(System.SByte,System.Int32);generated | +| System;SByte;RotateRight;(System.SByte,System.Int32);generated | +| System;SByte;Sign;(System.SByte);generated | | System;SByte;ToBoolean;(System.IFormatProvider);generated | | System;SByte;ToByte;(System.IFormatProvider);generated | | System;SByte;ToChar;(System.IFormatProvider);generated | @@ -40213,21 +40955,52 @@ neutral | System;SByte;ToUInt16;(System.IFormatProvider);generated | | System;SByte;ToUInt32;(System.IFormatProvider);generated | | System;SByte;ToUInt64;(System.IFormatProvider);generated | +| System;SByte;TrailingZeroCount;(System.SByte);generated | | System;SByte;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;SByte;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.SByte);generated | +| System;SByte;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.SByte);generated | | System;SByte;TryParse;(System.ReadOnlySpan,System.SByte);generated | | System;SByte;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.SByte);generated | +| System;SByte;TryParse;(System.String,System.IFormatProvider,System.SByte);generated | | System;SByte;TryParse;(System.String,System.SByte);generated | +| System;SByte;get_AdditiveIdentity;();generated | +| System;SByte;get_MaxValue;();generated | +| System;SByte;get_MinValue;();generated | +| System;SByte;get_MultiplicativeIdentity;();generated | +| System;SByte;get_NegativeOne;();generated | +| System;SByte;get_One;();generated | +| System;SByte;get_Zero;();generated | | System;STAThreadAttribute;STAThreadAttribute;();generated | | System;SequencePosition;Equals;(System.Object);generated | | System;SequencePosition;Equals;(System.SequencePosition);generated | | System;SequencePosition;GetHashCode;();generated | | System;SequencePosition;GetInteger;();generated | | System;SerializableAttribute;SerializableAttribute;();generated | +| System;Single;Abs;(System.Single);generated | +| System;Single;Acos;(System.Single);generated | +| System;Single;Acosh;(System.Single);generated | +| System;Single;Asin;(System.Single);generated | +| System;Single;Asinh;(System.Single);generated | +| System;Single;Atan2;(System.Single,System.Single);generated | +| System;Single;Atan;(System.Single);generated | +| System;Single;Atanh;(System.Single);generated | +| System;Single;BitDecrement;(System.Single);generated | +| System;Single;BitIncrement;(System.Single);generated | +| System;Single;Cbrt;(System.Single);generated | +| System;Single;Ceiling;(System.Single);generated | +| System;Single;Clamp;(System.Single,System.Single,System.Single);generated | | System;Single;CompareTo;(System.Object);generated | | System;Single;CompareTo;(System.Single);generated | +| System;Single;CopySign;(System.Single,System.Single);generated | +| System;Single;Cos;(System.Single);generated | +| System;Single;Cosh;(System.Single);generated | +| System;Single;CreateSaturating<>;(TOther);generated | +| System;Single;CreateTruncating<>;(TOther);generated | | System;Single;Equals;(System.Object);generated | | System;Single;Equals;(System.Single);generated | +| System;Single;Exp;(System.Single);generated | +| System;Single;Floor;(System.Single);generated | +| System;Single;FusedMultiplyAdd;(System.Single,System.Single,System.Single);generated | | System;Single;GetHashCode;();generated | | System;Single;GetTypeCode;();generated | | System;Single;IsFinite;(System.Single);generated | @@ -40237,12 +41010,31 @@ neutral | System;Single;IsNegativeInfinity;(System.Single);generated | | System;Single;IsNormal;(System.Single);generated | | System;Single;IsPositiveInfinity;(System.Single);generated | +| System;Single;IsPow2;(System.Single);generated | | System;Single;IsSubnormal;(System.Single);generated | +| System;Single;Log2;(System.Single);generated | +| System;Single;Log10;(System.Single);generated | +| System;Single;Log;(System.Single);generated | +| System;Single;Log;(System.Single,System.Single);generated | +| System;Single;Max;(System.Single,System.Single);generated | +| System;Single;MaxMagnitude;(System.Single,System.Single);generated | +| System;Single;Min;(System.Single,System.Single);generated | +| System;Single;MinMagnitude;(System.Single,System.Single);generated | | System;Single;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;Single;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;Single;Parse;(System.String);generated | | System;Single;Parse;(System.String,System.Globalization.NumberStyles);generated | | System;Single;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | | System;Single;Parse;(System.String,System.IFormatProvider);generated | +| System;Single;Pow;(System.Single,System.Single);generated | +| System;Single;Round;(System.Single);generated | +| System;Single;Round;(System.Single,System.MidpointRounding);generated | +| System;Single;Sign;(System.Single);generated | +| System;Single;Sin;(System.Single);generated | +| System;Single;Sinh;(System.Single);generated | +| System;Single;Sqrt;(System.Single);generated | +| System;Single;Tan;(System.Single);generated | +| System;Single;Tanh;(System.Single);generated | | System;Single;ToBoolean;(System.IFormatProvider);generated | | System;Single;ToByte;(System.IFormatProvider);generated | | System;Single;ToChar;(System.IFormatProvider);generated | @@ -40259,11 +41051,29 @@ neutral | System;Single;ToUInt16;(System.IFormatProvider);generated | | System;Single;ToUInt32;(System.IFormatProvider);generated | | System;Single;ToUInt64;(System.IFormatProvider);generated | +| System;Single;Truncate;(System.Single);generated | | System;Single;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;Single;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.Single);generated | +| System;Single;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Single);generated | | System;Single;TryParse;(System.ReadOnlySpan,System.Single);generated | | System;Single;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Single);generated | +| System;Single;TryParse;(System.String,System.IFormatProvider,System.Single);generated | | System;Single;TryParse;(System.String,System.Single);generated | +| System;Single;get_AdditiveIdentity;();generated | +| System;Single;get_E;();generated | +| System;Single;get_Epsilon;();generated | +| System;Single;get_MaxValue;();generated | +| System;Single;get_MinValue;();generated | +| System;Single;get_MultiplicativeIdentity;();generated | +| System;Single;get_NaN;();generated | +| System;Single;get_NegativeInfinity;();generated | +| System;Single;get_NegativeOne;();generated | +| System;Single;get_NegativeZero;();generated | +| System;Single;get_One;();generated | +| System;Single;get_Pi;();generated | +| System;Single;get_PositiveInfinity;();generated | +| System;Single;get_Tau;();generated | +| System;Single;get_Zero;();generated | | System;Span<>+Enumerator;MoveNext;();generated | | System;Span<>+Enumerator;get_Current;();generated | | System;Span<>;Clear;();generated | @@ -40422,8 +41232,10 @@ neutral | System;TimeOnly;FromTimeSpan;(System.TimeSpan);generated | | System;TimeOnly;GetHashCode;();generated | | System;TimeOnly;IsBetween;(System.TimeOnly,System.TimeOnly);generated | +| System;TimeOnly;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;TimeOnly;Parse;(System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles);generated | | System;TimeOnly;Parse;(System.String);generated | +| System;TimeOnly;Parse;(System.String,System.IFormatProvider);generated | | System;TimeOnly;Parse;(System.String,System.IFormatProvider,System.Globalization.DateTimeStyles);generated | | System;TimeOnly;ParseExact;(System.ReadOnlySpan,System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles);generated | | System;TimeOnly;ParseExact;(System.ReadOnlySpan,System.String[]);generated | @@ -40443,8 +41255,10 @@ neutral | System;TimeOnly;ToTimeSpan;();generated | | System;TimeOnly;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;TimeOnly;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles,System.TimeOnly);generated | +| System;TimeOnly;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.TimeOnly);generated | | System;TimeOnly;TryParse;(System.ReadOnlySpan,System.TimeOnly);generated | | System;TimeOnly;TryParse;(System.String,System.IFormatProvider,System.Globalization.DateTimeStyles,System.TimeOnly);generated | +| System;TimeOnly;TryParse;(System.String,System.IFormatProvider,System.TimeOnly);generated | | System;TimeOnly;TryParse;(System.String,System.TimeOnly);generated | | System;TimeOnly;TryParseExact;(System.ReadOnlySpan,System.ReadOnlySpan,System.IFormatProvider,System.Globalization.DateTimeStyles,System.TimeOnly);generated | | System;TimeOnly;TryParseExact;(System.ReadOnlySpan,System.ReadOnlySpan,System.TimeOnly);generated | @@ -40791,17 +41605,32 @@ neutral | System;TypedReference;SetTypedReference;(System.TypedReference,System.Object);generated | | System;TypedReference;TargetTypeToken;(System.TypedReference);generated | | System;TypedReference;ToObject;(System.TypedReference);generated | +| System;UInt16;Abs;(System.UInt16);generated | +| System;UInt16;Clamp;(System.UInt16,System.UInt16,System.UInt16);generated | | System;UInt16;CompareTo;(System.Object);generated | | System;UInt16;CompareTo;(System.UInt16);generated | +| System;UInt16;CreateSaturating<>;(TOther);generated | +| System;UInt16;CreateTruncating<>;(TOther);generated | +| System;UInt16;DivRem;(System.UInt16,System.UInt16);generated | | System;UInt16;Equals;(System.Object);generated | | System;UInt16;Equals;(System.UInt16);generated | | System;UInt16;GetHashCode;();generated | | System;UInt16;GetTypeCode;();generated | +| System;UInt16;IsPow2;(System.UInt16);generated | +| System;UInt16;LeadingZeroCount;(System.UInt16);generated | +| System;UInt16;Log2;(System.UInt16);generated | +| System;UInt16;Max;(System.UInt16,System.UInt16);generated | +| System;UInt16;Min;(System.UInt16,System.UInt16);generated | | System;UInt16;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;UInt16;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;UInt16;Parse;(System.String);generated | | System;UInt16;Parse;(System.String,System.Globalization.NumberStyles);generated | | System;UInt16;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | | System;UInt16;Parse;(System.String,System.IFormatProvider);generated | +| System;UInt16;PopCount;(System.UInt16);generated | +| System;UInt16;RotateLeft;(System.UInt16,System.Int32);generated | +| System;UInt16;RotateRight;(System.UInt16,System.Int32);generated | +| System;UInt16;Sign;(System.UInt16);generated | | System;UInt16;ToBoolean;(System.IFormatProvider);generated | | System;UInt16;ToByte;(System.IFormatProvider);generated | | System;UInt16;ToChar;(System.IFormatProvider);generated | @@ -40821,22 +41650,46 @@ neutral | System;UInt16;ToUInt16;(System.IFormatProvider);generated | | System;UInt16;ToUInt32;(System.IFormatProvider);generated | | System;UInt16;ToUInt64;(System.IFormatProvider);generated | +| System;UInt16;TrailingZeroCount;(System.UInt16);generated | | System;UInt16;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;UInt16;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.UInt16);generated | +| System;UInt16;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.UInt16);generated | | System;UInt16;TryParse;(System.ReadOnlySpan,System.UInt16);generated | | System;UInt16;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.UInt16);generated | +| System;UInt16;TryParse;(System.String,System.IFormatProvider,System.UInt16);generated | | System;UInt16;TryParse;(System.String,System.UInt16);generated | +| System;UInt16;get_AdditiveIdentity;();generated | +| System;UInt16;get_MaxValue;();generated | +| System;UInt16;get_MinValue;();generated | +| System;UInt16;get_MultiplicativeIdentity;();generated | +| System;UInt16;get_One;();generated | +| System;UInt16;get_Zero;();generated | +| System;UInt32;Abs;(System.UInt32);generated | +| System;UInt32;Clamp;(System.UInt32,System.UInt32,System.UInt32);generated | | System;UInt32;CompareTo;(System.Object);generated | | System;UInt32;CompareTo;(System.UInt32);generated | +| System;UInt32;CreateSaturating<>;(TOther);generated | +| System;UInt32;CreateTruncating<>;(TOther);generated | +| System;UInt32;DivRem;(System.UInt32,System.UInt32);generated | | System;UInt32;Equals;(System.Object);generated | | System;UInt32;Equals;(System.UInt32);generated | | System;UInt32;GetHashCode;();generated | | System;UInt32;GetTypeCode;();generated | +| System;UInt32;IsPow2;(System.UInt32);generated | +| System;UInt32;LeadingZeroCount;(System.UInt32);generated | +| System;UInt32;Log2;(System.UInt32);generated | +| System;UInt32;Max;(System.UInt32,System.UInt32);generated | +| System;UInt32;Min;(System.UInt32,System.UInt32);generated | | System;UInt32;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;UInt32;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;UInt32;Parse;(System.String);generated | | System;UInt32;Parse;(System.String,System.Globalization.NumberStyles);generated | | System;UInt32;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | | System;UInt32;Parse;(System.String,System.IFormatProvider);generated | +| System;UInt32;PopCount;(System.UInt32);generated | +| System;UInt32;RotateLeft;(System.UInt32,System.Int32);generated | +| System;UInt32;RotateRight;(System.UInt32,System.Int32);generated | +| System;UInt32;Sign;(System.UInt32);generated | | System;UInt32;ToBoolean;(System.IFormatProvider);generated | | System;UInt32;ToByte;(System.IFormatProvider);generated | | System;UInt32;ToChar;(System.IFormatProvider);generated | @@ -40856,22 +41709,46 @@ neutral | System;UInt32;ToUInt16;(System.IFormatProvider);generated | | System;UInt32;ToUInt32;(System.IFormatProvider);generated | | System;UInt32;ToUInt64;(System.IFormatProvider);generated | +| System;UInt32;TrailingZeroCount;(System.UInt32);generated | | System;UInt32;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;UInt32;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.UInt32);generated | +| System;UInt32;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.UInt32);generated | | System;UInt32;TryParse;(System.ReadOnlySpan,System.UInt32);generated | | System;UInt32;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.UInt32);generated | +| System;UInt32;TryParse;(System.String,System.IFormatProvider,System.UInt32);generated | | System;UInt32;TryParse;(System.String,System.UInt32);generated | +| System;UInt32;get_AdditiveIdentity;();generated | +| System;UInt32;get_MaxValue;();generated | +| System;UInt32;get_MinValue;();generated | +| System;UInt32;get_MultiplicativeIdentity;();generated | +| System;UInt32;get_One;();generated | +| System;UInt32;get_Zero;();generated | +| System;UInt64;Abs;(System.UInt64);generated | +| System;UInt64;Clamp;(System.UInt64,System.UInt64,System.UInt64);generated | | System;UInt64;CompareTo;(System.Object);generated | | System;UInt64;CompareTo;(System.UInt64);generated | +| System;UInt64;CreateSaturating<>;(TOther);generated | +| System;UInt64;CreateTruncating<>;(TOther);generated | +| System;UInt64;DivRem;(System.UInt64,System.UInt64);generated | | System;UInt64;Equals;(System.Object);generated | | System;UInt64;Equals;(System.UInt64);generated | | System;UInt64;GetHashCode;();generated | | System;UInt64;GetTypeCode;();generated | +| System;UInt64;IsPow2;(System.UInt64);generated | +| System;UInt64;LeadingZeroCount;(System.UInt64);generated | +| System;UInt64;Log2;(System.UInt64);generated | +| System;UInt64;Max;(System.UInt64,System.UInt64);generated | +| System;UInt64;Min;(System.UInt64,System.UInt64);generated | | System;UInt64;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;UInt64;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;UInt64;Parse;(System.String);generated | | System;UInt64;Parse;(System.String,System.Globalization.NumberStyles);generated | | System;UInt64;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | | System;UInt64;Parse;(System.String,System.IFormatProvider);generated | +| System;UInt64;PopCount;(System.UInt64);generated | +| System;UInt64;RotateLeft;(System.UInt64,System.Int32);generated | +| System;UInt64;RotateRight;(System.UInt64,System.Int32);generated | +| System;UInt64;Sign;(System.UInt64);generated | | System;UInt64;ToBoolean;(System.IFormatProvider);generated | | System;UInt64;ToByte;(System.IFormatProvider);generated | | System;UInt64;ToChar;(System.IFormatProvider);generated | @@ -40891,23 +41768,41 @@ neutral | System;UInt64;ToUInt16;(System.IFormatProvider);generated | | System;UInt64;ToUInt32;(System.IFormatProvider);generated | | System;UInt64;ToUInt64;(System.IFormatProvider);generated | +| System;UInt64;TrailingZeroCount;(System.UInt64);generated | | System;UInt64;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;UInt64;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.UInt64);generated | +| System;UInt64;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.UInt64);generated | | System;UInt64;TryParse;(System.ReadOnlySpan,System.UInt64);generated | | System;UInt64;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.UInt64);generated | +| System;UInt64;TryParse;(System.String,System.IFormatProvider,System.UInt64);generated | | System;UInt64;TryParse;(System.String,System.UInt64);generated | +| System;UInt64;get_AdditiveIdentity;();generated | +| System;UInt64;get_MaxValue;();generated | +| System;UInt64;get_MinValue;();generated | +| System;UInt64;get_MultiplicativeIdentity;();generated | +| System;UInt64;get_One;();generated | +| System;UInt64;get_Zero;();generated | | System;UIntPtr;Add;(System.UIntPtr,System.Int32);generated | | System;UIntPtr;CompareTo;(System.Object);generated | | System;UIntPtr;CompareTo;(System.UIntPtr);generated | +| System;UIntPtr;DivRem;(System.UIntPtr,System.UIntPtr);generated | | System;UIntPtr;Equals;(System.Object);generated | | System;UIntPtr;Equals;(System.UIntPtr);generated | | System;UIntPtr;GetHashCode;();generated | | System;UIntPtr;GetObjectData;(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext);generated | +| System;UIntPtr;IsPow2;(System.UIntPtr);generated | +| System;UIntPtr;LeadingZeroCount;(System.UIntPtr);generated | +| System;UIntPtr;Log2;(System.UIntPtr);generated | | System;UIntPtr;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);generated | +| System;UIntPtr;Parse;(System.ReadOnlySpan,System.IFormatProvider);generated | | System;UIntPtr;Parse;(System.String);generated | | System;UIntPtr;Parse;(System.String,System.Globalization.NumberStyles);generated | | System;UIntPtr;Parse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider);generated | | System;UIntPtr;Parse;(System.String,System.IFormatProvider);generated | +| System;UIntPtr;PopCount;(System.UIntPtr);generated | +| System;UIntPtr;RotateLeft;(System.UIntPtr,System.Int32);generated | +| System;UIntPtr;RotateRight;(System.UIntPtr,System.Int32);generated | +| System;UIntPtr;Sign;(System.UIntPtr);generated | | System;UIntPtr;Subtract;(System.UIntPtr,System.Int32);generated | | System;UIntPtr;ToString;();generated | | System;UIntPtr;ToString;(System.IFormatProvider);generated | @@ -40915,16 +41810,23 @@ neutral | System;UIntPtr;ToString;(System.String,System.IFormatProvider);generated | | System;UIntPtr;ToUInt32;();generated | | System;UIntPtr;ToUInt64;();generated | +| System;UIntPtr;TrailingZeroCount;(System.UIntPtr);generated | | System;UIntPtr;TryFormat;(System.Span,System.Int32,System.ReadOnlySpan,System.IFormatProvider);generated | | System;UIntPtr;TryParse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider,System.UIntPtr);generated | +| System;UIntPtr;TryParse;(System.ReadOnlySpan,System.IFormatProvider,System.UIntPtr);generated | | System;UIntPtr;TryParse;(System.ReadOnlySpan,System.UIntPtr);generated | | System;UIntPtr;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.UIntPtr);generated | +| System;UIntPtr;TryParse;(System.String,System.IFormatProvider,System.UIntPtr);generated | | System;UIntPtr;TryParse;(System.String,System.UIntPtr);generated | | System;UIntPtr;UIntPtr;(System.UInt32);generated | | System;UIntPtr;UIntPtr;(System.UInt64);generated | +| System;UIntPtr;get_AdditiveIdentity;();generated | | System;UIntPtr;get_MaxValue;();generated | | System;UIntPtr;get_MinValue;();generated | +| System;UIntPtr;get_MultiplicativeIdentity;();generated | +| System;UIntPtr;get_One;();generated | | System;UIntPtr;get_Size;();generated | +| System;UIntPtr;get_Zero;();generated | | System;UnauthorizedAccessException;UnauthorizedAccessException;();generated | | System;UnauthorizedAccessException;UnauthorizedAccessException;(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext);generated | | System;UnauthorizedAccessException;UnauthorizedAccessException;(System.String);generated | diff --git a/csharp/ql/test/library-tests/dataflow/library/FlowSummariesFiltered.expected b/csharp/ql/test/library-tests/dataflow/library/FlowSummariesFiltered.expected index 880a71ca5d0..9a9063ffba9 100644 --- a/csharp/ql/test/library-tests/dataflow/library/FlowSummariesFiltered.expected +++ b/csharp/ql/test/library-tests/dataflow/library/FlowSummariesFiltered.expected @@ -527,6 +527,7 @@ summary | System.Buffers;ReadOnlySequence<>;false;get_First;();;Argument[this];ReturnValue;taint;generated | | System.Buffers;ReadOnlySequence<>;false;get_Start;();;Argument[this];ReturnValue;taint;generated | | System.Buffers;SequenceReader<>;false;SequenceReader;(System.Buffers.ReadOnlySequence);;Argument[0];Argument[this];taint;generated | +| System.Buffers;SequenceReader<>;false;TryReadExact;(System.Int32,System.Buffers.ReadOnlySequence);;Argument[this];ReturnValue;taint;generated | | System.Buffers;SequenceReader<>;false;TryReadTo;(System.Buffers.ReadOnlySequence,System.ReadOnlySpan,System.Boolean);;Argument[this];ReturnValue;taint;generated | | System.Buffers;SequenceReader<>;false;TryReadTo;(System.Buffers.ReadOnlySequence,T,System.Boolean);;Argument[this];ReturnValue;taint;generated | | System.Buffers;SequenceReader<>;false;TryReadTo;(System.Buffers.ReadOnlySequence,T,T,System.Boolean);;Argument[this];ReturnValue;taint;generated | @@ -585,6 +586,8 @@ summary | System.Collections.Concurrent;Partitioner;false;Create<>;(System.Collections.Generic.IEnumerable,System.Collections.Concurrent.EnumerablePartitionerOptions);;Argument[0].Element;ReturnValue;taint;generated | | System.Collections.Concurrent;Partitioner;false;Create<>;(System.Collections.Generic.IList,System.Boolean);;Argument[0].Element;ReturnValue;taint;generated | | System.Collections.Concurrent;Partitioner;false;Create<>;(TSource[],System.Boolean);;Argument[0].Element;ReturnValue;taint;generated | +| System.Collections.Generic;CollectionExtensions;false;AsReadOnly<,>;(System.Collections.Generic.IDictionary);;Argument[0].Element;ReturnValue;taint;generated | +| System.Collections.Generic;CollectionExtensions;false;AsReadOnly<>;(System.Collections.Generic.IList);;Argument[0].Element;ReturnValue;taint;generated | | System.Collections.Generic;CollectionExtensions;false;GetValueOrDefault<,>;(System.Collections.Generic.IReadOnlyDictionary,TKey,TValue);;Argument[0].Element;ReturnValue;taint;generated | | System.Collections.Generic;CollectionExtensions;false;GetValueOrDefault<,>;(System.Collections.Generic.IReadOnlyDictionary,TKey,TValue);;Argument[1];ReturnValue;taint;generated | | System.Collections.Generic;CollectionExtensions;false;GetValueOrDefault<,>;(System.Collections.Generic.IReadOnlyDictionary,TKey,TValue);;Argument[2];ReturnValue;taint;generated | @@ -752,6 +755,9 @@ summary | System.Collections.Generic;SortedList<,>;false;Add;(System.Collections.Generic.KeyValuePair);;Argument[0].Property[System.Collections.Generic.KeyValuePair<,>.Key];Argument[this].Element.Property[System.Collections.Generic.KeyValuePair<,>.Key];value;manual | | System.Collections.Generic;SortedList<,>;false;Add;(System.Collections.Generic.KeyValuePair);;Argument[0].Property[System.Collections.Generic.KeyValuePair<,>.Value];Argument[this].Element.Property[System.Collections.Generic.KeyValuePair<,>.Value];value;manual | | System.Collections.Generic;SortedList<,>;false;GetEnumerator;();;Argument[this].Element;ReturnValue.Property[System.Collections.Generic.IEnumerator<>.Current];value;manual | +| System.Collections.Generic;SortedList<,>;false;GetKeyAtIndex;(System.Int32);;Argument[this];ReturnValue;taint;generated | +| System.Collections.Generic;SortedList<,>;false;GetValueAtIndex;(System.Int32);;Argument[this];ReturnValue;taint;generated | +| System.Collections.Generic;SortedList<,>;false;SetValueAtIndex;(System.Int32,TValue);;Argument[1];Argument[this];taint;generated | | System.Collections.Generic;SortedList<,>;false;SortedList;(System.Collections.Generic.IComparer);;Argument[0];Argument[this];taint;generated | | System.Collections.Generic;SortedList<,>;false;SortedList;(System.Collections.Generic.IDictionary);;Argument[0].Element.Property[System.Collections.Generic.KeyValuePair<,>.Key];Argument[this].Element.Property[System.Collections.Generic.KeyValuePair<,>.Key];value;manual | | System.Collections.Generic;SortedList<,>;false;SortedList;(System.Collections.Generic.IDictionary);;Argument[0].Element.Property[System.Collections.Generic.KeyValuePair<,>.Value];Argument[this].Element.Property[System.Collections.Generic.KeyValuePair<,>.Value];value;manual | @@ -4591,6 +4597,9 @@ summary | System.Net.NetworkInformation;MulticastIPAddressInformationCollection;false;get_Item;(System.Int32);;Argument[this];ReturnValue;taint;generated | | System.Net.NetworkInformation;PhysicalAddress;false;PhysicalAddress;(System.Byte[]);;Argument[0].Element;Argument[this];taint;generated | | System.Net.NetworkInformation;UnicastIPAddressInformationCollection;false;get_Item;(System.Int32);;Argument[this];ReturnValue;taint;generated | +| System.Net.Quic;QuicConnection;false;get_LocalEndPoint;();;Argument[this];ReturnValue;taint;generated | +| System.Net.Quic;QuicConnection;false;get_NegotiatedApplicationProtocol;();;Argument[this];ReturnValue;taint;generated | +| System.Net.Quic;QuicConnection;false;get_RemoteEndPoint;();;Argument[this];ReturnValue;taint;generated | | System.Net.Security;AuthenticatedStream;false;AuthenticatedStream;(System.IO.Stream,System.Boolean);;Argument[0];Argument[this];taint;generated | | System.Net.Security;AuthenticatedStream;false;DisposeAsync;();;Argument[this];ReturnValue;taint;generated | | System.Net.Security;AuthenticatedStream;false;get_InnerStream;();;Argument[this];ReturnValue;taint;generated | @@ -4677,6 +4686,9 @@ summary | System.Net.Sockets;Socket;false;ReceiveAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Threading.CancellationToken);;Argument[0];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveAsync;(System.Memory,System.Threading.CancellationToken);;Argument[0];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveAsync;(System.Memory,System.Threading.CancellationToken);;Argument[1];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveAsync;(System.Memory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveAsync;(System.Net.Sockets.SocketAsyncEventArgs);;Argument[this];Argument[0];taint;generated | | System.Net.Sockets;Socket;false;ReceiveFrom;(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[4];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;ReceiveFrom;(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[4];ReturnValue;taint;generated | @@ -4690,7 +4702,12 @@ summary | System.Net.Sockets;Socket;false;ReceiveFrom;(System.Span,System.Net.EndPoint);;Argument[1];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveFrom;(System.Span,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;ReceiveFrom;(System.Span,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.ArraySegment,System.Net.EndPoint);;Argument[1];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.ArraySegment,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[0];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[1];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[0];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveFromAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[3];ReturnValue;taint;generated | @@ -4700,7 +4717,12 @@ summary | System.Net.Sockets;Socket;false;ReceiveMessageFrom;(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Net.Sockets.IPPacketInformation);;Argument[4];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveMessageFrom;(System.Span,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Net.Sockets.IPPacketInformation);;Argument[2];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;ReceiveMessageFrom;(System.Span,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Net.Sockets.IPPacketInformation);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.ArraySegment,System.Net.EndPoint);;Argument[1];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.ArraySegment,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[0];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[1];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[0];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;ReceiveMessageFromAsync;(System.Memory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[3];ReturnValue;taint;generated | @@ -4709,6 +4731,8 @@ summary | System.Net.Sockets;Socket;false;SendAsync;(System.Net.Sockets.SocketAsyncEventArgs);;Argument[this];Argument[0];taint;generated | | System.Net.Sockets;Socket;false;SendAsync;(System.ReadOnlyMemory,System.Net.Sockets.SocketFlags,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;SendAsync;(System.ReadOnlyMemory,System.Net.Sockets.SocketFlags,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;SendAsync;(System.ReadOnlyMemory,System.Threading.CancellationToken);;Argument[1];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;SendAsync;(System.ReadOnlyMemory,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;SendFileAsync;(System.String,System.ReadOnlyMemory,System.ReadOnlyMemory,System.Net.Sockets.TransmitFileOptions,System.Threading.CancellationToken);;Argument[4];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;SendFileAsync;(System.String,System.ReadOnlyMemory,System.ReadOnlyMemory,System.Net.Sockets.TransmitFileOptions,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;SendFileAsync;(System.String,System.Threading.CancellationToken);;Argument[1];ReturnValue;taint;generated | @@ -4720,9 +4744,14 @@ summary | System.Net.Sockets;Socket;false;SendTo;(System.Byte[],System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;SendTo;(System.ReadOnlySpan,System.Net.EndPoint);;Argument[1];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;SendTo;(System.ReadOnlySpan,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];Argument[this];taint;generated | +| System.Net.Sockets;Socket;false;SendToAsync;(System.ArraySegment,System.Net.EndPoint);;Argument[1];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;SendToAsync;(System.ArraySegment,System.Net.Sockets.SocketFlags,System.Net.EndPoint);;Argument[2];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;SendToAsync;(System.Net.Sockets.SocketAsyncEventArgs);;Argument[0];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;SendToAsync;(System.Net.Sockets.SocketAsyncEventArgs);;Argument[this];Argument[0];taint;generated | +| System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[1];Argument[this];taint;generated | +| System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[1];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | +| System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];Argument[this];taint;generated | | System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[2];ReturnValue;taint;generated | | System.Net.Sockets;Socket;false;SendToAsync;(System.ReadOnlyMemory,System.Net.Sockets.SocketFlags,System.Net.EndPoint,System.Threading.CancellationToken);;Argument[3];ReturnValue;taint;generated | @@ -4803,6 +4832,7 @@ summary | System.Net.Sockets;UdpReceiveResult;false;UdpReceiveResult;(System.Byte[],System.Net.IPEndPoint);;Argument[1];Argument[this];taint;generated | | System.Net.Sockets;UdpReceiveResult;false;get_Buffer;();;Argument[this];ReturnValue;taint;generated | | System.Net.Sockets;UdpReceiveResult;false;get_RemoteEndPoint;();;Argument[this];ReturnValue;taint;generated | +| System.Net.Sockets;UnixDomainSocketEndPoint;false;ToString;();;Argument[this];ReturnValue;taint;generated | | System.Net.WebSockets;ClientWebSocketOptions;false;SetBuffer;(System.Int32,System.Int32,System.ArraySegment);;Argument[2].Element;Argument[this];taint;generated | | System.Net.WebSockets;ClientWebSocketOptions;false;get_Cookies;();;Argument[this];ReturnValue;taint;generated | | System.Net.WebSockets;ClientWebSocketOptions;false;get_Credentials;();;Argument[this];ReturnValue;taint;generated | @@ -6011,10 +6041,13 @@ summary | System.Runtime.InteropServices;SequenceMarshal;false;TryGetArray<>;(System.Buffers.ReadOnlySequence,System.ArraySegment);;Argument[0];ReturnValue;taint;generated | | System.Runtime.InteropServices;SequenceMarshal;false;TryGetReadOnlyMemory<>;(System.Buffers.ReadOnlySequence,System.ReadOnlyMemory);;Argument[0];ReturnValue;taint;generated | | System.Runtime.InteropServices;SequenceMarshal;false;TryGetReadOnlySequenceSegment<>;(System.Buffers.ReadOnlySequence,System.Buffers.ReadOnlySequenceSegment,System.Int32,System.Buffers.ReadOnlySequenceSegment,System.Int32);;Argument[0];ReturnValue;taint;generated | +| System.Runtime.Intrinsics;Vector64;false;Abs<>;(System.Runtime.Intrinsics.Vector64);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector64;false;WithElement<>;(System.Runtime.Intrinsics.Vector64,System.Int32,T);;Argument[0];ReturnValue;taint;generated | +| System.Runtime.Intrinsics;Vector128;false;Abs<>;(System.Runtime.Intrinsics.Vector128);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector128;false;WithElement<>;(System.Runtime.Intrinsics.Vector128,System.Int32,T);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector128;false;WithLower<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector64);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector128;false;WithUpper<>;(System.Runtime.Intrinsics.Vector128,System.Runtime.Intrinsics.Vector64);;Argument[0];ReturnValue;taint;generated | +| System.Runtime.Intrinsics;Vector256;false;Abs<>;(System.Runtime.Intrinsics.Vector256);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector256;false;WithElement<>;(System.Runtime.Intrinsics.Vector256,System.Int32,T);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector256;false;WithLower<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector128);;Argument[0];ReturnValue;taint;generated | | System.Runtime.Intrinsics;Vector256;false;WithUpper<>;(System.Runtime.Intrinsics.Vector256,System.Runtime.Intrinsics.Vector128);;Argument[0];ReturnValue;taint;generated | @@ -7037,6 +7070,14 @@ summary | System.Text;StringBuilder;false;ToString;(System.Int32,System.Int32);;Argument[this].Element;ReturnValue;taint;manual | | System.Text;StringRuneEnumerator;false;GetEnumerator;();;Argument[this];ReturnValue;value;generated | | System.Text;StringRuneEnumerator;false;get_Current;();;Argument[this];ReturnValue;taint;generated | +| System.Threading.RateLimiting;ConcurrencyLimiter;false;ConcurrencyLimiter;(System.Threading.RateLimiting.ConcurrencyLimiterOptions);;Argument[0];Argument[this];taint;generated | +| System.Threading.RateLimiting;MetadataName;false;Create<>;(System.String);;Argument[0];ReturnValue;taint;generated | +| System.Threading.RateLimiting;MetadataName<>;false;MetadataName;(System.String);;Argument[0];Argument[this];taint;generated | +| System.Threading.RateLimiting;MetadataName<>;false;ToString;();;Argument[this];ReturnValue;taint;generated | +| System.Threading.RateLimiting;MetadataName<>;false;get_Name;();;Argument[this];ReturnValue;taint;generated | +| System.Threading.RateLimiting;RateLimitLease;false;TryGetMetadata<>;(System.Threading.RateLimiting.MetadataName,T);;Argument[this];ReturnValue;taint;generated | +| System.Threading.RateLimiting;RateLimitLease;true;GetAllMetadata;();;Argument[this];ReturnValue;taint;generated | +| System.Threading.RateLimiting;TokenBucketRateLimiter;false;TokenBucketRateLimiter;(System.Threading.RateLimiting.TokenBucketRateLimiterOptions);;Argument[0];Argument[this];taint;generated | | System.Threading.Tasks.Dataflow;BatchBlock<>;false;BatchBlock;(System.Int32,System.Threading.Tasks.Dataflow.GroupingDataflowBlockOptions);;Argument[1];Argument[this];taint;generated | | System.Threading.Tasks.Dataflow;BatchBlock<>;false;LinkTo;(System.Threading.Tasks.Dataflow.ITargetBlock,System.Threading.Tasks.Dataflow.DataflowLinkOptions);;Argument[0];ReturnValue;taint;generated | | System.Threading.Tasks.Dataflow;BatchBlock<>;false;LinkTo;(System.Threading.Tasks.Dataflow.ITargetBlock,System.Threading.Tasks.Dataflow.DataflowLinkOptions);;Argument[this];ReturnValue;taint;generated | @@ -9390,6 +9431,8 @@ summary | System;FormattableString;false;Invariant;(System.FormattableString);;Argument[0];ReturnValue;taint;generated | | System;FormattableString;false;ToString;();;Argument[this];ReturnValue;taint;generated | | System;FormattableString;false;ToString;(System.String,System.IFormatProvider);;Argument[this];ReturnValue;taint;generated | +| System;Half;false;BitDecrement;(System.Half);;Argument[0];ReturnValue;taint;generated | +| System;Half;false;BitIncrement;(System.Half);;Argument[0];ReturnValue;taint;generated | | System;Half;false;ToString;(System.IFormatProvider);;Argument[0];ReturnValue;taint;generated | | System;Half;false;ToString;(System.String,System.IFormatProvider);;Argument[1];ReturnValue;taint;generated | | System;Int32;false;Parse;(System.ReadOnlySpan,System.Globalization.NumberStyles,System.IFormatProvider);;Argument[0].Element;ReturnValue;taint;manual | @@ -9405,7 +9448,17 @@ summary | System;Int32;false;TryParse;(System.String,System.Globalization.NumberStyles,System.IFormatProvider,System.Int32);;Argument[0];ReturnValue;taint;manual | | System;Int32;false;TryParse;(System.String,System.Int32);;Argument[0];Argument[1];taint;manual | | System;Int32;false;TryParse;(System.String,System.Int32);;Argument[0];ReturnValue;taint;manual | +| System;IntPtr;false;Abs;(System.IntPtr);;Argument[0];ReturnValue;taint;generated | +| System;IntPtr;false;Clamp;(System.IntPtr,System.IntPtr,System.IntPtr);;Argument[0];ReturnValue;taint;generated | +| System;IntPtr;false;Clamp;(System.IntPtr,System.IntPtr,System.IntPtr);;Argument[1];ReturnValue;taint;generated | +| System;IntPtr;false;Clamp;(System.IntPtr,System.IntPtr,System.IntPtr);;Argument[2];ReturnValue;taint;generated | +| System;IntPtr;false;CreateSaturating<>;(TOther);;Argument[0];ReturnValue;taint;generated | +| System;IntPtr;false;CreateTruncating<>;(TOther);;Argument[0];ReturnValue;taint;generated | | System;IntPtr;false;IntPtr;(System.Void*);;Argument[0];Argument[this];taint;generated | +| System;IntPtr;false;Max;(System.IntPtr,System.IntPtr);;Argument[0];ReturnValue;taint;generated | +| System;IntPtr;false;Max;(System.IntPtr,System.IntPtr);;Argument[1];ReturnValue;taint;generated | +| System;IntPtr;false;Min;(System.IntPtr,System.IntPtr);;Argument[0];ReturnValue;taint;generated | +| System;IntPtr;false;Min;(System.IntPtr,System.IntPtr);;Argument[1];ReturnValue;taint;generated | | System;IntPtr;false;ToPointer;();;Argument[this];ReturnValue;taint;generated | | System;Lazy<,>;false;Lazy;(TMetadata);;Argument[0];Argument[this];taint;generated | | System;Lazy<,>;false;Lazy;(TMetadata,System.Boolean);;Argument[0];Argument[this];taint;generated | @@ -10079,6 +10132,16 @@ summary | System;TypeLoadException;false;TypeLoadException;(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext);;Argument[0];Argument[this];taint;generated | | System;TypeLoadException;false;get_Message;();;Argument[this];ReturnValue;taint;generated | | System;TypeLoadException;false;get_TypeName;();;Argument[this];ReturnValue;taint;generated | +| System;UIntPtr;false;Abs;(System.UIntPtr);;Argument[0];ReturnValue;taint;generated | +| System;UIntPtr;false;Clamp;(System.UIntPtr,System.UIntPtr,System.UIntPtr);;Argument[0];ReturnValue;taint;generated | +| System;UIntPtr;false;Clamp;(System.UIntPtr,System.UIntPtr,System.UIntPtr);;Argument[1];ReturnValue;taint;generated | +| System;UIntPtr;false;Clamp;(System.UIntPtr,System.UIntPtr,System.UIntPtr);;Argument[2];ReturnValue;taint;generated | +| System;UIntPtr;false;CreateSaturating<>;(TOther);;Argument[0];ReturnValue;taint;generated | +| System;UIntPtr;false;CreateTruncating<>;(TOther);;Argument[0];ReturnValue;taint;generated | +| System;UIntPtr;false;Max;(System.UIntPtr,System.UIntPtr);;Argument[0];ReturnValue;taint;generated | +| System;UIntPtr;false;Max;(System.UIntPtr,System.UIntPtr);;Argument[1];ReturnValue;taint;generated | +| System;UIntPtr;false;Min;(System.UIntPtr,System.UIntPtr);;Argument[0];ReturnValue;taint;generated | +| System;UIntPtr;false;Min;(System.UIntPtr,System.UIntPtr);;Argument[1];ReturnValue;taint;generated | | System;UIntPtr;false;ToPointer;();;Argument[this];ReturnValue;taint;generated | | System;UIntPtr;false;UIntPtr;(System.Void*);;Argument[0];Argument[this];taint;generated | | System;UnhandledExceptionEventArgs;false;UnhandledExceptionEventArgs;(System.Object,System.Boolean);;Argument[0];Argument[this];taint;generated | From 7f3e7224dfc42a7dc9d8c4ad7641e8515a8d77ca Mon Sep 17 00:00:00 2001 From: Alex Denisov Date: Fri, 3 Mar 2023 16:28:41 +0100 Subject: [PATCH 054/145] Swift: introduce type mangling --- swift/extractor/mangler/SwiftMangler.cpp | 8 ++++++++ swift/extractor/mangler/SwiftMangler.h | 12 ++++++++---- swift/extractor/translators/TypeTranslator.cpp | 6 +----- swift/extractor/translators/TypeTranslator.h | 18 +++++++++++++++--- 4 files changed, 32 insertions(+), 12 deletions(-) diff --git a/swift/extractor/mangler/SwiftMangler.cpp b/swift/extractor/mangler/SwiftMangler.cpp index 12f74b9496c..5797938e20b 100644 --- a/swift/extractor/mangler/SwiftMangler.cpp +++ b/swift/extractor/mangler/SwiftMangler.cpp @@ -30,3 +30,11 @@ std::string SwiftMangler::mangledName(const swift::Decl& decl) { } return ret.str(); } + +std::optional SwiftMangler::mangleType(const swift::ModuleType& type) { + auto key = type.getModule()->getRealName().str().str(); + if (type.getModule()->isNonSwiftModule()) { + key += "|clang"; + } + return key; +} diff --git a/swift/extractor/mangler/SwiftMangler.h b/swift/extractor/mangler/SwiftMangler.h index aae081ea6e2..43cdb79d99c 100644 --- a/swift/extractor/mangler/SwiftMangler.h +++ b/swift/extractor/mangler/SwiftMangler.h @@ -1,16 +1,20 @@ #pragma once -#include -#include -#include - #include +#include namespace codeql { class SwiftMangler { public: std::string mangledName(const swift::Decl& decl); + template + std::optional mangleType(const T& type) { + return std::nullopt; + } + + std::optional mangleType(const swift::ModuleType& type); + private: swift::Mangle::ASTMangler mangler; }; diff --git a/swift/extractor/translators/TypeTranslator.cpp b/swift/extractor/translators/TypeTranslator.cpp index f86aa7f72de..1732514bf2e 100644 --- a/swift/extractor/translators/TypeTranslator.cpp +++ b/swift/extractor/translators/TypeTranslator.cpp @@ -242,11 +242,7 @@ codeql::OpenedArchetypeType TypeTranslator::translateOpenedArchetypeType( } codeql::ModuleType TypeTranslator::translateModuleType(const swift::ModuleType& type) { - auto key = type.getModule()->getRealName().str().str(); - if (type.getModule()->isNonSwiftModule()) { - key += "|clang"; - } - auto entry = createTypeEntry(type, key); + auto entry = createTypeEntry(type); entry.module = dispatcher.fetchLabel(type.getModule()); return entry; } diff --git a/swift/extractor/translators/TypeTranslator.h b/swift/extractor/translators/TypeTranslator.h index 40b9db04d49..b46b271139d 100644 --- a/swift/extractor/translators/TypeTranslator.h +++ b/swift/extractor/translators/TypeTranslator.h @@ -2,6 +2,7 @@ #include "swift/extractor/translators/TranslatorBase.h" #include "swift/extractor/trap/generated/type/TrapClasses.h" +#include "swift/extractor/mangler/SwiftMangler.h" namespace codeql { class TypeTranslator : public TypeTranslatorBase { @@ -87,12 +88,23 @@ class TypeTranslator : public TypeTranslatorBase { void fillBoundGenericType(const swift::BoundGenericType& type, codeql::BoundGenericType& entry); void fillAnyGenericType(const swift::AnyGenericType& type, codeql::AnyGenericType& entry); - template - auto createTypeEntry(const T& type, const Args&... args) { - auto entry = dispatcher.createEntry(type, args...); + template + auto createMangledTypeEntry(const T& type) { + auto mangledName = mangler.mangleType(type); + if (mangledName) { + return dispatcher.createEntry(type, mangledName.value()); + } + return dispatcher.createEntry(type); + } + + template + auto createTypeEntry(const T& type) { + auto entry = createMangledTypeEntry(type); fillType(type, entry); return entry; } + + SwiftMangler mangler; }; } // namespace codeql From 391d9bed5b27ae6543e999bd965e26c4f94ae3be Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Fri, 3 Mar 2023 17:15:47 +0100 Subject: [PATCH 055/145] C++: Add `deprecated` to predicates that are deprecated according to the QLDoc --- cpp/ql/lib/semmle/code/cpp/Declaration.qll | 2 +- cpp/ql/lib/semmle/code/cpp/Function.qll | 2 +- cpp/ql/lib/semmle/code/cpp/commons/Alloc.qll | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cpp/ql/lib/semmle/code/cpp/Declaration.qll b/cpp/ql/lib/semmle/code/cpp/Declaration.qll index d7cc581c384..6c27ef7b3ec 100644 --- a/cpp/ql/lib/semmle/code/cpp/Declaration.qll +++ b/cpp/ql/lib/semmle/code/cpp/Declaration.qll @@ -186,7 +186,7 @@ class Declaration extends Locatable, @declaration { predicate hasDefinition() { exists(this.getDefinition()) } /** DEPRECATED: Use `hasDefinition` instead. */ - predicate isDefined() { this.hasDefinition() } + deprecated predicate isDefined() { this.hasDefinition() } /** Gets the preferred location of this declaration, if any. */ override Location getLocation() { none() } diff --git a/cpp/ql/lib/semmle/code/cpp/Function.qll b/cpp/ql/lib/semmle/code/cpp/Function.qll index 98b0e8525ce..eec7a433774 100644 --- a/cpp/ql/lib/semmle/code/cpp/Function.qll +++ b/cpp/ql/lib/semmle/code/cpp/Function.qll @@ -41,7 +41,7 @@ class Function extends Declaration, ControlFlowNode, AccessHolder, @function { * `min(int, int) -> int`, and the full signature of the uninstantiated * template on the first line would be `min(T, T) -> T`. */ - string getFullSignature() { + deprecated string getFullSignature() { exists(string name, string templateArgs, string args | result = name + templateArgs + args + " -> " + this.getType().toString() and name = this.getQualifiedName() and diff --git a/cpp/ql/lib/semmle/code/cpp/commons/Alloc.qll b/cpp/ql/lib/semmle/code/cpp/commons/Alloc.qll index ce3f6993525..a6fb84d3227 100644 --- a/cpp/ql/lib/semmle/code/cpp/commons/Alloc.qll +++ b/cpp/ql/lib/semmle/code/cpp/commons/Alloc.qll @@ -12,7 +12,9 @@ predicate freeFunction(Function f, int argNum) { argNum = f.(DeallocationFunctio * * DEPRECATED: Use `DeallocationExpr` instead (this also includes `delete` expressions). */ -predicate freeCall(FunctionCall fc, Expr arg) { arg = fc.(DeallocationExpr).getFreedExpr() } +deprecated predicate freeCall(FunctionCall fc, Expr arg) { + arg = fc.(DeallocationExpr).getFreedExpr() +} /** * Is e some kind of allocation or deallocation (`new`, `alloc`, `realloc`, `delete`, `free` etc)? From aa00424b75cbecaa07110f89b7933bd18c779cbf Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Fri, 3 Mar 2023 17:53:49 +0100 Subject: [PATCH 056/145] C++: Fix experimental query that uses the deprecated `freeCall` predicate --- cpp/ql/src/experimental/Security/CWE/CWE-415/DoubleFree.ql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/ql/src/experimental/Security/CWE/CWE-415/DoubleFree.ql b/cpp/ql/src/experimental/Security/CWE/CWE-415/DoubleFree.ql index a6b70d9c506..9b9684f12e2 100644 --- a/cpp/ql/src/experimental/Security/CWE/CWE-415/DoubleFree.ql +++ b/cpp/ql/src/experimental/Security/CWE/CWE-415/DoubleFree.ql @@ -14,8 +14,8 @@ import cpp from FunctionCall fc, FunctionCall fc2, LocalScopeVariable v where - freeCall(fc, v.getAnAccess()) and - freeCall(fc2, v.getAnAccess()) and + fc.(DeallocationExpr).getFreedExpr() = v.getAnAccess() and + fc2.(DeallocationExpr).getFreedExpr() = v.getAnAccess() and fc != fc2 and fc.getASuccessor*() = fc2 and not exists(Expr exptmp | From b342e9398969609c2c300d3f910bd5ab1797c320 Mon Sep 17 00:00:00 2001 From: Dave Bartolomeo Date: Fri, 3 Mar 2023 14:43:00 -0500 Subject: [PATCH 057/145] Move change note to appropriate pack --- javascript/ql/lib/CHANGELOG.md | 4 ---- javascript/ql/lib/change-notes/released/0.5.0.md | 4 ---- javascript/ql/src/CHANGELOG.md | 4 +++- javascript/ql/src/change-notes/released/0.5.4.md | 4 +++- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/javascript/ql/lib/CHANGELOG.md b/javascript/ql/lib/CHANGELOG.md index fe3158d447e..bb0c197b3f2 100644 --- a/javascript/ql/lib/CHANGELOG.md +++ b/javascript/ql/lib/CHANGELOG.md @@ -7,10 +7,6 @@ 2. Renaming the `getInput()` member predicate as `getAnInput()` 3. Implementing the `BlockMode getBlockMode()` member predicate. The implementation for this can be `none()` if the operation is a hashing operation or an encryption operation using a stream cipher. -### Minor Analysis Improvements - -* The `js/regex-injection` query now recognizes environment variables and command-line arguments as sources. - ## 0.4.3 ### Minor Analysis Improvements diff --git a/javascript/ql/lib/change-notes/released/0.5.0.md b/javascript/ql/lib/change-notes/released/0.5.0.md index 0c9209faec3..2f135af2cc9 100644 --- a/javascript/ql/lib/change-notes/released/0.5.0.md +++ b/javascript/ql/lib/change-notes/released/0.5.0.md @@ -6,7 +6,3 @@ 1. Extending `CryptographicOperation::Range` rather than `CryptographicOperation` 2. Renaming the `getInput()` member predicate as `getAnInput()` 3. Implementing the `BlockMode getBlockMode()` member predicate. The implementation for this can be `none()` if the operation is a hashing operation or an encryption operation using a stream cipher. - -### Minor Analysis Improvements - -* The `js/regex-injection` query now recognizes environment variables and command-line arguments as sources. diff --git a/javascript/ql/src/CHANGELOG.md b/javascript/ql/src/CHANGELOG.md index 070376b98d3..2b0ef33f565 100644 --- a/javascript/ql/src/CHANGELOG.md +++ b/javascript/ql/src/CHANGELOG.md @@ -1,6 +1,8 @@ ## 0.5.4 -No user-facing changes. +### Minor Analysis Improvements + +* The `js/regex-injection` query now recognizes environment variables and command-line arguments as sources. ## 0.5.3 diff --git a/javascript/ql/src/change-notes/released/0.5.4.md b/javascript/ql/src/change-notes/released/0.5.4.md index 1686ab4354d..3941ead6af6 100644 --- a/javascript/ql/src/change-notes/released/0.5.4.md +++ b/javascript/ql/src/change-notes/released/0.5.4.md @@ -1,3 +1,5 @@ ## 0.5.4 -No user-facing changes. +### Minor Analysis Improvements + +* The `js/regex-injection` query now recognizes environment variables and command-line arguments as sources. From af61b457855f1f37136bedd2356ba6958cd968f9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 4 Mar 2023 14:16:55 +0000 Subject: [PATCH 058/145] Post-release preparation for codeql-cli-2.12.4 --- cpp/ql/lib/qlpack.yml | 2 +- cpp/ql/src/qlpack.yml | 2 +- csharp/ql/campaigns/Solorigate/lib/qlpack.yml | 2 +- csharp/ql/campaigns/Solorigate/src/qlpack.yml | 2 +- csharp/ql/lib/qlpack.yml | 2 +- csharp/ql/src/qlpack.yml | 2 +- go/ql/lib/qlpack.yml | 2 +- go/ql/src/qlpack.yml | 2 +- java/ql/lib/qlpack.yml | 2 +- java/ql/src/qlpack.yml | 2 +- javascript/ql/lib/qlpack.yml | 2 +- javascript/ql/src/qlpack.yml | 2 +- misc/suite-helpers/qlpack.yml | 2 +- python/ql/lib/qlpack.yml | 2 +- python/ql/src/qlpack.yml | 2 +- ruby/ql/lib/qlpack.yml | 2 +- ruby/ql/src/qlpack.yml | 2 +- shared/regex/qlpack.yml | 2 +- shared/ssa/qlpack.yml | 2 +- shared/tutorial/qlpack.yml | 2 +- shared/typetracking/qlpack.yml | 2 +- shared/typos/qlpack.yml | 2 +- shared/util/qlpack.yml | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/cpp/ql/lib/qlpack.yml b/cpp/ql/lib/qlpack.yml index 97612ea6b11..8e6602b6634 100644 --- a/cpp/ql/lib/qlpack.yml +++ b/cpp/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/cpp-all -version: 0.5.4 +version: 0.5.5-dev groups: cpp dbscheme: semmlecode.cpp.dbscheme extractor: cpp diff --git a/cpp/ql/src/qlpack.yml b/cpp/ql/src/qlpack.yml index f67d3f0248a..9c312b5a568 100644 --- a/cpp/ql/src/qlpack.yml +++ b/cpp/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/cpp-queries -version: 0.5.4 +version: 0.5.5-dev groups: - cpp - queries diff --git a/csharp/ql/campaigns/Solorigate/lib/qlpack.yml b/csharp/ql/campaigns/Solorigate/lib/qlpack.yml index 730418ea972..14647a2593b 100644 --- a/csharp/ql/campaigns/Solorigate/lib/qlpack.yml +++ b/csharp/ql/campaigns/Solorigate/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/csharp-solorigate-all -version: 1.4.4 +version: 1.4.5-dev groups: - csharp - solorigate diff --git a/csharp/ql/campaigns/Solorigate/src/qlpack.yml b/csharp/ql/campaigns/Solorigate/src/qlpack.yml index 2c97f8de399..48bb9aecd88 100644 --- a/csharp/ql/campaigns/Solorigate/src/qlpack.yml +++ b/csharp/ql/campaigns/Solorigate/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/csharp-solorigate-queries -version: 1.4.4 +version: 1.4.5-dev groups: - csharp - solorigate diff --git a/csharp/ql/lib/qlpack.yml b/csharp/ql/lib/qlpack.yml index 27cc17e2358..34880f509e8 100644 --- a/csharp/ql/lib/qlpack.yml +++ b/csharp/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/csharp-all -version: 0.5.4 +version: 0.5.5-dev groups: csharp dbscheme: semmlecode.csharp.dbscheme extractor: csharp diff --git a/csharp/ql/src/qlpack.yml b/csharp/ql/src/qlpack.yml index 4620f3f25b0..3ed4e37fefc 100644 --- a/csharp/ql/src/qlpack.yml +++ b/csharp/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/csharp-queries -version: 0.5.4 +version: 0.5.5-dev groups: - csharp - queries diff --git a/go/ql/lib/qlpack.yml b/go/ql/lib/qlpack.yml index db73d562e3f..378f7b0e5e4 100644 --- a/go/ql/lib/qlpack.yml +++ b/go/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/go-all -version: 0.4.4 +version: 0.4.5-dev groups: go dbscheme: go.dbscheme extractor: go diff --git a/go/ql/src/qlpack.yml b/go/ql/src/qlpack.yml index 411f76bd023..02c9d788969 100644 --- a/go/ql/src/qlpack.yml +++ b/go/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/go-queries -version: 0.4.4 +version: 0.4.5-dev groups: - go - queries diff --git a/java/ql/lib/qlpack.yml b/java/ql/lib/qlpack.yml index 06d6abc7d8b..90fcc57cebf 100644 --- a/java/ql/lib/qlpack.yml +++ b/java/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/java-all -version: 0.5.4 +version: 0.5.5-dev groups: java dbscheme: config/semmlecode.dbscheme extractor: java diff --git a/java/ql/src/qlpack.yml b/java/ql/src/qlpack.yml index 6ed97fcf421..6c1783ce1cb 100644 --- a/java/ql/src/qlpack.yml +++ b/java/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/java-queries -version: 0.5.4 +version: 0.5.5-dev groups: - java - queries diff --git a/javascript/ql/lib/qlpack.yml b/javascript/ql/lib/qlpack.yml index 574c5a5e086..22328fa622b 100644 --- a/javascript/ql/lib/qlpack.yml +++ b/javascript/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/javascript-all -version: 0.5.0 +version: 0.5.1-dev groups: javascript dbscheme: semmlecode.javascript.dbscheme extractor: javascript diff --git a/javascript/ql/src/qlpack.yml b/javascript/ql/src/qlpack.yml index e8a72f1289c..eda7c965604 100644 --- a/javascript/ql/src/qlpack.yml +++ b/javascript/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/javascript-queries -version: 0.5.4 +version: 0.5.5-dev groups: - javascript - queries diff --git a/misc/suite-helpers/qlpack.yml b/misc/suite-helpers/qlpack.yml index 70df90036f1..e6e1a928060 100644 --- a/misc/suite-helpers/qlpack.yml +++ b/misc/suite-helpers/qlpack.yml @@ -1,3 +1,3 @@ name: codeql/suite-helpers -version: 0.4.4 +version: 0.4.5-dev groups: shared diff --git a/python/ql/lib/qlpack.yml b/python/ql/lib/qlpack.yml index 4ecb1af0493..77b07a5c101 100644 --- a/python/ql/lib/qlpack.yml +++ b/python/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/python-all -version: 0.8.1 +version: 0.8.2-dev groups: python dbscheme: semmlecode.python.dbscheme extractor: python diff --git a/python/ql/src/qlpack.yml b/python/ql/src/qlpack.yml index 4860d6cc765..99238b665e5 100644 --- a/python/ql/src/qlpack.yml +++ b/python/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/python-queries -version: 0.6.4 +version: 0.6.5-dev groups: - python - queries diff --git a/ruby/ql/lib/qlpack.yml b/ruby/ql/lib/qlpack.yml index bcdcbe723a6..767902b86d9 100644 --- a/ruby/ql/lib/qlpack.yml +++ b/ruby/ql/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/ruby-all -version: 0.5.4 +version: 0.5.5-dev groups: ruby extractor: ruby dbscheme: ruby.dbscheme diff --git a/ruby/ql/src/qlpack.yml b/ruby/ql/src/qlpack.yml index 7c01b3f58ac..ca67c75eca6 100644 --- a/ruby/ql/src/qlpack.yml +++ b/ruby/ql/src/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/ruby-queries -version: 0.5.4 +version: 0.5.5-dev groups: - ruby - queries diff --git a/shared/regex/qlpack.yml b/shared/regex/qlpack.yml index a17bd09b849..f688e4a8e28 100644 --- a/shared/regex/qlpack.yml +++ b/shared/regex/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/regex -version: 0.0.8 +version: 0.0.9-dev groups: shared library: true dependencies: diff --git a/shared/ssa/qlpack.yml b/shared/ssa/qlpack.yml index 3498095d656..da55082c66b 100644 --- a/shared/ssa/qlpack.yml +++ b/shared/ssa/qlpack.yml @@ -1,4 +1,4 @@ name: codeql/ssa -version: 0.0.12 +version: 0.0.13-dev groups: shared library: true diff --git a/shared/tutorial/qlpack.yml b/shared/tutorial/qlpack.yml index d8bd40febe0..b1958a441e0 100644 --- a/shared/tutorial/qlpack.yml +++ b/shared/tutorial/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/tutorial description: Library for the CodeQL detective tutorials, helping new users learn to write CodeQL queries. -version: 0.0.5 +version: 0.0.6-dev groups: shared library: true diff --git a/shared/typetracking/qlpack.yml b/shared/typetracking/qlpack.yml index bf5a9619207..c1d91c841cb 100644 --- a/shared/typetracking/qlpack.yml +++ b/shared/typetracking/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/typetracking -version: 0.0.5 +version: 0.0.6-dev groups: shared library: true dependencies: diff --git a/shared/typos/qlpack.yml b/shared/typos/qlpack.yml index 5e3dd217b5a..e913e54cb72 100644 --- a/shared/typos/qlpack.yml +++ b/shared/typos/qlpack.yml @@ -1,4 +1,4 @@ name: codeql/typos -version: 0.0.12 +version: 0.0.13-dev groups: shared library: true diff --git a/shared/util/qlpack.yml b/shared/util/qlpack.yml index ddc8b90e458..27ebf28723d 100644 --- a/shared/util/qlpack.yml +++ b/shared/util/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/util -version: 0.0.5 +version: 0.0.6-dev groups: shared library: true dependencies: From 72d03e40606018181c3e8bb2b986ffb6e59bd47e Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Mon, 6 Mar 2023 09:07:52 +0100 Subject: [PATCH 059/145] C++: Fix test that used deprecated function --- .../library-tests/CPP-205/elements.expected | 28 +++++++++---------- cpp/ql/test/library-tests/CPP-205/elements.ql | 10 ++++--- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/cpp/ql/test/library-tests/CPP-205/elements.expected b/cpp/ql/test/library-tests/CPP-205/elements.expected index 8fbe5a0734f..f64b9d4e08b 100644 --- a/cpp/ql/test/library-tests/CPP-205/elements.expected +++ b/cpp/ql/test/library-tests/CPP-205/elements.expected @@ -1,14 +1,14 @@ | CPP-205.cpp:0:0:0:0 | CPP-205.cpp | | | CPP-205.cpp:1:20:1:20 | T | | | CPP-205.cpp:1:20:1:20 | definition of T | | -| CPP-205.cpp:2:5:2:5 | definition of fn | function declaration entry for fn(int) -> int | -| CPP-205.cpp:2:5:2:5 | fn | function fn(int) -> int | -| CPP-205.cpp:2:5:2:6 | definition of fn | function declaration entry for fn(T) -> int | -| CPP-205.cpp:2:5:2:6 | fn | function fn(T) -> int | -| CPP-205.cpp:2:10:2:12 | definition of out | parameter declaration entry for fn(T) -> int | -| CPP-205.cpp:2:10:2:12 | definition of out | parameter declaration entry for fn(int) -> int | -| CPP-205.cpp:2:10:2:12 | out | parameter for fn(T) -> int | -| CPP-205.cpp:2:10:2:12 | out | parameter for fn(int) -> int | +| CPP-205.cpp:2:5:2:5 | definition of fn | function declaration entry for int fn(int) | +| CPP-205.cpp:2:5:2:5 | fn | function int fn(int) | +| CPP-205.cpp:2:5:2:6 | definition of fn | function declaration entry for int fn(T) | +| CPP-205.cpp:2:5:2:6 | fn | function int fn(T) | +| CPP-205.cpp:2:10:2:12 | definition of out | parameter declaration entry for int fn(T) | +| CPP-205.cpp:2:10:2:12 | definition of out | parameter declaration entry for int fn(int) | +| CPP-205.cpp:2:10:2:12 | out | parameter for int fn(T) | +| CPP-205.cpp:2:10:2:12 | out | parameter for int fn(int) | | CPP-205.cpp:2:15:5:1 | { ... } | | | CPP-205.cpp:2:15:5:1 | { ... } | | | CPP-205.cpp:3:3:3:33 | declaration | | @@ -20,16 +20,16 @@ | CPP-205.cpp:4:3:4:11 | return ... | | | CPP-205.cpp:4:10:4:10 | 0 | | | CPP-205.cpp:4:10:4:10 | 0 | | -| CPP-205.cpp:7:5:7:8 | definition of main | function declaration entry for main() -> int | -| CPP-205.cpp:7:5:7:8 | main | function main() -> int | +| CPP-205.cpp:7:5:7:8 | definition of main | function declaration entry for int main() | +| CPP-205.cpp:7:5:7:8 | main | function int main() | | CPP-205.cpp:7:12:9:1 | { ... } | | | CPP-205.cpp:8:3:8:15 | return ... | | | CPP-205.cpp:8:10:8:11 | call to fn | | | CPP-205.cpp:8:13:8:13 | 0 | | -| file://:0:0:0:0 | (unnamed parameter 0) | parameter for __va_list_tag::operator=(__va_list_tag &&) -> __va_list_tag & | -| file://:0:0:0:0 | (unnamed parameter 0) | parameter for __va_list_tag::operator=(const __va_list_tag &) -> __va_list_tag & | +| file://:0:0:0:0 | (unnamed parameter 0) | parameter for __va_list_tag& __va_list_tag::operator=(__va_list_tag const&) | +| file://:0:0:0:0 | (unnamed parameter 0) | parameter for __va_list_tag& __va_list_tag::operator=(__va_list_tag&&) | | file://:0:0:0:0 | __super | | | file://:0:0:0:0 | __va_list_tag | | -| file://:0:0:0:0 | operator= | function __va_list_tag::operator=(__va_list_tag &&) -> __va_list_tag & | -| file://:0:0:0:0 | operator= | function __va_list_tag::operator=(const __va_list_tag &) -> __va_list_tag & | +| file://:0:0:0:0 | operator= | function __va_list_tag& __va_list_tag::operator=(__va_list_tag const&) | +| file://:0:0:0:0 | operator= | function __va_list_tag& __va_list_tag::operator=(__va_list_tag&&) | | file://:0:0:0:0 | y | | diff --git a/cpp/ql/test/library-tests/CPP-205/elements.ql b/cpp/ql/test/library-tests/CPP-205/elements.ql index 0b75bca9bb2..9388a799dbc 100644 --- a/cpp/ql/test/library-tests/CPP-205/elements.ql +++ b/cpp/ql/test/library-tests/CPP-205/elements.ql @@ -1,17 +1,19 @@ import cpp +import semmle.code.cpp.Print string describe(Element e) { - result = "function " + e.(Function).getFullSignature() + e instanceof Function and + result = "function " + getIdentityString(e) or result = "function declaration entry for " + - e.(FunctionDeclarationEntry).getFunction().getFullSignature() + getIdentityString(e.(FunctionDeclarationEntry).getFunction()) or - result = "parameter for " + e.(Parameter).getFunction().getFullSignature() + result = "parameter for " + getIdentityString(e.(Parameter).getFunction()) or result = "parameter declaration entry for " + - e.(ParameterDeclarationEntry).getFunctionDeclarationEntry().getFunction().getFullSignature() + getIdentityString(e.(ParameterDeclarationEntry).getFunctionDeclarationEntry().getFunction()) } from Element e From 1e5b9045142c6e24be0701930313b1220633f6fc Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Mon, 6 Mar 2023 16:14:34 +0000 Subject: [PATCH 060/145] Swift: Add test cases for mutating pointers inside containers. --- .../taint/libraries/unsafepointer.swift | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/swift/ql/test/library-tests/dataflow/taint/libraries/unsafepointer.swift b/swift/ql/test/library-tests/dataflow/taint/libraries/unsafepointer.swift index e42bdb30404..1a87f74754e 100644 --- a/swift/ql/test/library-tests/dataflow/taint/libraries/unsafepointer.swift +++ b/swift/ql/test/library-tests/dataflow/taint/libraries/unsafepointer.swift @@ -99,3 +99,31 @@ func testMutatingMyPointerInCall(ptr: MyPointer) { sink(arg: ptr.pointee) // $ MISSING: tainted=87 sink(arg: ptr) } + +// --- + +struct MyPointerContainer { + var ptr: UnsafeMutablePointer +} + +struct MyGenericPointerContainer { + var ptr: UnsafeMutablePointer +} + +func writePointerContainer(mpc: MyPointerContainer) { + mpc.ptr.pointee = sourceString() + sink(arg: mpc.ptr.pointee) // $ tainted=114 +} + +func writeGenericPointerContainer(mgpc: MyGenericPointerContainer) { + mgpc.ptr.pointee = sourceString() as! T + sink(arg: mgpc.ptr.pointee) // $ tainted=119 +} + +func testWritingPointerContainersInCalls(mpc: MyPointerContainer, mgpc: MyGenericPointerContainer) { + writePointerContainer(mpc: mpc) + sink(arg: mpc.ptr.pointee) // $ tainted=114 + + writeGenericPointerContainer(mgpc: mgpc) + sink(arg: mgpc.ptr.pointee) // $ MISSING: tainted=119 +} From 61340c4b2014ce64705d477c0b3fc961f6af15e9 Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Mon, 6 Mar 2023 16:34:10 +0000 Subject: [PATCH 061/145] Swift: Permit data flow from generic arguments, rather than just pointers. --- .../ql/lib/codeql/swift/dataflow/internal/DataFlowPrivate.qll | 4 +--- .../dataflow/taint/libraries/unsafepointer.swift | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/swift/ql/lib/codeql/swift/dataflow/internal/DataFlowPrivate.qll b/swift/ql/lib/codeql/swift/dataflow/internal/DataFlowPrivate.qll index 40b9379a9da..498b5ea0f0e 100644 --- a/swift/ql/lib/codeql/swift/dataflow/internal/DataFlowPrivate.qll +++ b/swift/ql/lib/codeql/swift/dataflow/internal/DataFlowPrivate.qll @@ -211,9 +211,7 @@ private module Cached { private predicate modifiable(Argument arg) { arg.getExpr() instanceof InOutExpr or - arg.getExpr().getType() instanceof NominalType - or - arg.getExpr().getType() instanceof PointerType + arg.getExpr().getType() instanceof NominalOrBoundGenericNominalType } predicate modifiableParam(ParamDecl param) { diff --git a/swift/ql/test/library-tests/dataflow/taint/libraries/unsafepointer.swift b/swift/ql/test/library-tests/dataflow/taint/libraries/unsafepointer.swift index 1a87f74754e..032f0972f18 100644 --- a/swift/ql/test/library-tests/dataflow/taint/libraries/unsafepointer.swift +++ b/swift/ql/test/library-tests/dataflow/taint/libraries/unsafepointer.swift @@ -125,5 +125,5 @@ func testWritingPointerContainersInCalls(mpc: MyPointerContainer, mgpc: MyGeneri sink(arg: mpc.ptr.pointee) // $ tainted=114 writeGenericPointerContainer(mgpc: mgpc) - sink(arg: mgpc.ptr.pointee) // $ MISSING: tainted=119 + sink(arg: mgpc.ptr.pointee) // $ tainted=119 } From 4d327dbf4fb37330a7b108a4816c6fe947029a52 Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Mon, 6 Mar 2023 16:36:41 +0000 Subject: [PATCH 062/145] Swift: The PointerType class isn't used any d any more. --- .../frameworks/StandardLibrary/PointerTypes.qll | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/swift/ql/lib/codeql/swift/frameworks/StandardLibrary/PointerTypes.qll b/swift/ql/lib/codeql/swift/frameworks/StandardLibrary/PointerTypes.qll index c799e589ffb..8d84145c4fa 100644 --- a/swift/ql/lib/codeql/swift/frameworks/StandardLibrary/PointerTypes.qll +++ b/swift/ql/lib/codeql/swift/frameworks/StandardLibrary/PointerTypes.qll @@ -5,22 +5,6 @@ import swift -/** - * A type that is used as a pointer in Swift, such as `UnsafePointer`, - * `UnsafeBufferPointer` and similar types. - */ -class PointerType extends Type { - PointerType() { - this instanceof UnsafeTypedPointerType or - this instanceof UnsafeRawPointerType or - this instanceof OpaquePointerType or - this instanceof AutoreleasingUnsafeMutablePointerType or - this instanceof UnmanagedType or - this instanceof CVaListPointerType or - this instanceof ManagedBufferPointerType - } -} - /** * A Swift unsafe typed pointer type such as `UnsafePointer`, * `UnsafeMutablePointer` or `UnsafeBufferPointer`. From 2ed140c696c1988f67ff9e2095210f293d51b69d Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Mon, 6 Mar 2023 17:14:14 +0000 Subject: [PATCH 063/145] Swift: Update the pointertypes test. --- .../type/pointertypes/pointertypes.expected | 28 +++++++++---------- .../type/pointertypes/pointertypes.ql | 2 -- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/swift/ql/test/library-tests/elements/type/pointertypes/pointertypes.expected b/swift/ql/test/library-tests/elements/type/pointertypes/pointertypes.expected index 43fd401a491..54925891488 100644 --- a/swift/ql/test/library-tests/elements/type/pointertypes/pointertypes.expected +++ b/swift/ql/test/library-tests/elements/type/pointertypes/pointertypes.expected @@ -1,14 +1,14 @@ -| pointers.swift:2:8:2:8 | self | AutoreleasingUnsafeMutablePointer | AutoreleasingUnsafeMutablePointerType, PointerType | -| pointers.swift:14:6:14:6 | p1 | UnsafePointer | PointerType, UnsafeTypedPointerType | -| pointers.swift:15:6:15:6 | p2 | UnsafeMutablePointer | PointerType, UnsafeTypedPointerType | -| pointers.swift:16:6:16:6 | p3 | UnsafeBufferPointer | PointerType, UnsafeTypedPointerType | -| pointers.swift:17:6:17:6 | p4 | UnsafeMutableBufferPointer | PointerType, UnsafeTypedPointerType | -| pointers.swift:18:6:18:6 | p5 | UnsafeRawPointer | PointerType, UnsafeRawPointerType | -| pointers.swift:19:6:19:6 | p6 | UnsafeMutableRawPointer | PointerType, UnsafeRawPointerType | -| pointers.swift:20:6:20:6 | p7 | UnsafeRawBufferPointer | PointerType, UnsafeRawPointerType | -| pointers.swift:21:6:21:6 | p8 | UnsafeMutableRawBufferPointer | PointerType, UnsafeRawPointerType | -| pointers.swift:23:6:23:6 | op | OpaquePointer | OpaquePointerType, PointerType | -| pointers.swift:24:6:24:6 | aump | AutoreleasingUnsafeMutablePointer | AutoreleasingUnsafeMutablePointerType, PointerType | -| pointers.swift:25:6:25:6 | um | Unmanaged | PointerType, UnmanagedType | -| pointers.swift:26:6:26:6 | cvlp | CVaListPointer | CVaListPointerType, PointerType | -| pointers.swift:28:6:28:6 | mbp | ManagedBufferPointer | ManagedBufferPointerType, PointerType | +| pointers.swift:2:8:2:8 | self | AutoreleasingUnsafeMutablePointer | AutoreleasingUnsafeMutablePointerType | +| pointers.swift:14:6:14:6 | p1 | UnsafePointer | UnsafeTypedPointerType | +| pointers.swift:15:6:15:6 | p2 | UnsafeMutablePointer | UnsafeTypedPointerType | +| pointers.swift:16:6:16:6 | p3 | UnsafeBufferPointer | UnsafeTypedPointerType | +| pointers.swift:17:6:17:6 | p4 | UnsafeMutableBufferPointer | UnsafeTypedPointerType | +| pointers.swift:18:6:18:6 | p5 | UnsafeRawPointer | UnsafeRawPointerType | +| pointers.swift:19:6:19:6 | p6 | UnsafeMutableRawPointer | UnsafeRawPointerType | +| pointers.swift:20:6:20:6 | p7 | UnsafeRawBufferPointer | UnsafeRawPointerType | +| pointers.swift:21:6:21:6 | p8 | UnsafeMutableRawBufferPointer | UnsafeRawPointerType | +| pointers.swift:23:6:23:6 | op | OpaquePointer | OpaquePointerType | +| pointers.swift:24:6:24:6 | aump | AutoreleasingUnsafeMutablePointer | AutoreleasingUnsafeMutablePointerType | +| pointers.swift:25:6:25:6 | um | Unmanaged | UnmanagedType | +| pointers.swift:26:6:26:6 | cvlp | CVaListPointer | CVaListPointerType | +| pointers.swift:28:6:28:6 | mbp | ManagedBufferPointer | ManagedBufferPointerType | diff --git a/swift/ql/test/library-tests/elements/type/pointertypes/pointertypes.ql b/swift/ql/test/library-tests/elements/type/pointertypes/pointertypes.ql index d6316e01d88..fe0157fa6c7 100644 --- a/swift/ql/test/library-tests/elements/type/pointertypes/pointertypes.ql +++ b/swift/ql/test/library-tests/elements/type/pointertypes/pointertypes.ql @@ -2,8 +2,6 @@ import swift import codeql.swift.frameworks.StandardLibrary.PointerTypes string describe(Type t) { - t instanceof PointerType and result = "PointerType" - or t instanceof BuiltinRawPointerType and result = "BuiltinRawPointerType" or t instanceof UnsafeTypedPointerType and result = "UnsafeTypedPointerType" From 51599b3cae58b1bbc9f610b0aefbe484d3afe432 Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Mon, 6 Mar 2023 16:36:28 +0100 Subject: [PATCH 064/145] Address review comments --- .../com/semmle/js/extractor/AutoBuild.java | 20 ++++++++++++------- .../extractor/test/NodeJSDetectorTests.java | 2 -- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java index cae28587723..710dbe94fc7 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java +++ b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java @@ -8,10 +8,12 @@ import java.lang.ProcessBuilder.Redirect; import java.net.URI; import java.net.URISyntaxException; import java.nio.charset.StandardCharsets; +import java.nio.file.DirectoryNotEmptyException; import java.nio.file.FileVisitResult; import java.nio.file.FileVisitor; import java.nio.file.Files; import java.nio.file.InvalidPathException; +import java.nio.file.NoSuchFileException; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.SimpleFileVisitor; @@ -487,10 +489,13 @@ public class AutoBuild { } // ensuring that the finalize steps detects that no code was seen. Path srcFolder = Paths.get(EnvironmentVariables.getWipDatabase(), "src"); - // check that the srcFolder is empty - if (Files.list(srcFolder).count() == 0) { + try { // Non-recursive delete because "src/" should be empty. FileUtil8.delete(srcFolder); + } catch (NoSuchFileException e) { + Exceptions.ignore(e, "the directory did not exist"); + } catch (DirectoryNotEmptyException e) { + Exceptions.ignore(e, "just leave the directory if it is not empty"); } return 0; } @@ -1230,11 +1235,12 @@ protected DependencyInstallationResult preparePackagesAndDependencies(Set if (!extractor.getConfig().isExterns() && (loc == null || loc.getLinesOfCode() != 0)) seenCode = true; if (!extractor.getConfig().isExterns()) seenFiles = true; for (ParseError err : loc.getParseErrors()) { - String msg = "A parse error occurred: " + err.getMessage() + ". Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis."; + String msg = "A parse error occurred: " + StringUtil.escapeMarkdown(err.getMessage()) + + ". Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis."; // file, relative to the source root - String relativeFilePath = file.toString(); - if (relativeFilePath.startsWith(LGTM_SRC.toString())) { - relativeFilePath = relativeFilePath.substring(LGTM_SRC.toString().length() + 1); + String relativeFilePath = null; + if (file.startsWith(LGTM_SRC)) { + relativeFilePath = file.subpath(LGTM_SRC.getNameCount(), file.getNameCount()).toString(); } DiagnosticLocation diagLoc = DiagnosticLocation.builder() .setFile(relativeFilePath) @@ -1255,7 +1261,7 @@ protected DependencyInstallationResult preparePackagesAndDependencies(Set try { writeDiagnostics("Internal error: " + t, JSDiagnosticKind.INTERNAL_ERROR); } catch (IOException ignored) { - // ignore - we are already crashing + Exceptions.ignore(ignored, "we are already crashing"); } System.exit(1); } diff --git a/javascript/extractor/src/com/semmle/js/extractor/test/NodeJSDetectorTests.java b/javascript/extractor/src/com/semmle/js/extractor/test/NodeJSDetectorTests.java index fe709033cbe..14d5b323e7c 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/test/NodeJSDetectorTests.java +++ b/javascript/extractor/src/com/semmle/js/extractor/test/NodeJSDetectorTests.java @@ -1,7 +1,5 @@ package com.semmle.js.extractor.test; -import java.io.File; - import com.semmle.js.ast.Node; import com.semmle.js.extractor.ExtractionMetrics; import com.semmle.js.extractor.ExtractorConfig; From c9bccd9b4378edf6283bd4909c987e1459dbf1b2 Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Tue, 7 Mar 2023 09:01:13 +0100 Subject: [PATCH 065/145] C++: Fix more tests that used deprecated function --- .../allocators/allocators.expected | 84 +++++++++---------- .../library-tests/allocators/allocators.ql | 13 +-- .../copy_from_prototype.expected | 60 ++++++------- .../copy_from_prototype.ql | 3 +- 4 files changed, 81 insertions(+), 79 deletions(-) diff --git a/cpp/ql/test/library-tests/allocators/allocators.expected b/cpp/ql/test/library-tests/allocators/allocators.expected index 5fdf7e50b90..5e7d573c83e 100644 --- a/cpp/ql/test/library-tests/allocators/allocators.expected +++ b/cpp/ql/test/library-tests/allocators/allocators.expected @@ -1,51 +1,51 @@ newExprs -| allocators.cpp:49:3:49:9 | new | int | operator new(unsigned long) -> void * | 4 | 4 | | | -| allocators.cpp:50:3:50:15 | new | int | operator new(size_t, float) -> void * | 4 | 4 | | | -| allocators.cpp:51:3:51:11 | new | int | operator new(unsigned long) -> void * | 4 | 4 | | | -| allocators.cpp:52:3:52:14 | new | String | operator new(unsigned long) -> void * | 8 | 8 | | | -| allocators.cpp:53:3:53:27 | new | String | operator new(size_t, float) -> void * | 8 | 8 | | | -| allocators.cpp:54:3:54:17 | new | Overaligned | operator new(unsigned long, align_val_t) -> void * | 256 | 128 | aligned | | -| allocators.cpp:55:3:55:25 | new | Overaligned | operator new(size_t, align_val_t, float) -> void * | 256 | 128 | aligned | | -| allocators.cpp:107:3:107:18 | new | FailedInit | FailedInit::operator new(size_t) -> void * | 1 | 1 | | | -| allocators.cpp:109:3:109:35 | new | FailedInitOveraligned | FailedInitOveraligned::operator new(size_t, align_val_t, float) -> void * | 128 | 128 | aligned | | -| allocators.cpp:129:3:129:21 | new | int | operator new(size_t, void *) -> void * | 4 | 4 | | & ... | -| allocators.cpp:135:3:135:26 | new | int | operator new(size_t, const nothrow_t &) -> void * | 4 | 4 | | | +| allocators.cpp:49:3:49:9 | new | int | void* operator new(unsigned long) | 4 | 4 | | | +| allocators.cpp:50:3:50:15 | new | int | void* operator new(size_t, float) | 4 | 4 | | | +| allocators.cpp:51:3:51:11 | new | int | void* operator new(unsigned long) | 4 | 4 | | | +| allocators.cpp:52:3:52:14 | new | String | void* operator new(unsigned long) | 8 | 8 | | | +| allocators.cpp:53:3:53:27 | new | String | void* operator new(size_t, float) | 8 | 8 | | | +| allocators.cpp:54:3:54:17 | new | Overaligned | void* operator new(unsigned long, std::align_val_t) | 256 | 128 | aligned | | +| allocators.cpp:55:3:55:25 | new | Overaligned | void* operator new(size_t, std::align_val_t, float) | 256 | 128 | aligned | | +| allocators.cpp:107:3:107:18 | new | FailedInit | void* FailedInit::operator new(size_t) | 1 | 1 | | | +| allocators.cpp:109:3:109:35 | new | FailedInitOveraligned | void* FailedInitOveraligned::operator new(size_t, std::align_val_t, float) | 128 | 128 | aligned | | +| allocators.cpp:129:3:129:21 | new | int | void* operator new(std::size_t, void*) | 4 | 4 | | & ... | +| allocators.cpp:135:3:135:26 | new | int | void* operator new(std::size_t, std::nothrow_t const&) | 4 | 4 | | | newArrayExprs -| allocators.cpp:68:3:68:12 | new[] | int[] | int | operator new[](unsigned long) -> void * | 4 | 4 | | n | | -| allocators.cpp:69:3:69:18 | new[] | int[] | int | operator new[](size_t, float) -> void * | 4 | 4 | | n | | -| allocators.cpp:70:3:70:15 | new[] | String[] | String | operator new[](unsigned long) -> void * | 8 | 8 | | n | | -| allocators.cpp:71:3:71:20 | new[] | Overaligned[] | Overaligned | operator new[](unsigned long, align_val_t) -> void * | 256 | 128 | aligned | n | | -| allocators.cpp:72:3:72:16 | new[] | String[10] | String | operator new[](unsigned long) -> void * | 8 | 8 | | | | -| allocators.cpp:108:3:108:19 | new[] | FailedInit[] | FailedInit | FailedInit::operator new[](size_t) -> void * | 1 | 1 | | n | | -| allocators.cpp:110:3:110:37 | new[] | FailedInitOveraligned[10] | FailedInitOveraligned | FailedInitOveraligned::operator new[](size_t, align_val_t, float) -> void * | 128 | 128 | aligned | | | -| allocators.cpp:132:3:132:17 | new[] | int[1] | int | operator new[](size_t, void *) -> void * | 4 | 4 | | | buf | -| allocators.cpp:136:3:136:26 | new[] | int[2] | int | operator new[](size_t, const nothrow_t &) -> void * | 4 | 4 | | | | -| allocators.cpp:142:13:142:27 | new[] | char[][10] | char[10] | operator new[](unsigned long) -> void * | 10 | 1 | | x | | -| allocators.cpp:143:13:143:28 | new[] | char[20][20] | char[20] | operator new[](unsigned long) -> void * | 20 | 1 | | | | -| allocators.cpp:144:13:144:31 | new[] | char[][30][30] | char[30][30] | operator new[](unsigned long) -> void * | 900 | 1 | | x | | +| allocators.cpp:68:3:68:12 | new[] | int[] | int | void* operator new[](unsigned long) | 4 | 4 | | n | | +| allocators.cpp:69:3:69:18 | new[] | int[] | int | void* operator new[](size_t, float) | 4 | 4 | | n | | +| allocators.cpp:70:3:70:15 | new[] | String[] | String | void* operator new[](unsigned long) | 8 | 8 | | n | | +| allocators.cpp:71:3:71:20 | new[] | Overaligned[] | Overaligned | void* operator new[](unsigned long, std::align_val_t) | 256 | 128 | aligned | n | | +| allocators.cpp:72:3:72:16 | new[] | String[10] | String | void* operator new[](unsigned long) | 8 | 8 | | | | +| allocators.cpp:108:3:108:19 | new[] | FailedInit[] | FailedInit | void* FailedInit::operator new[](size_t) | 1 | 1 | | n | | +| allocators.cpp:110:3:110:37 | new[] | FailedInitOveraligned[10] | FailedInitOveraligned | void* FailedInitOveraligned::operator new[](size_t, std::align_val_t, float) | 128 | 128 | aligned | | | +| allocators.cpp:132:3:132:17 | new[] | int[1] | int | void* operator new[](std::size_t, void*) | 4 | 4 | | | buf | +| allocators.cpp:136:3:136:26 | new[] | int[2] | int | void* operator new[](std::size_t, std::nothrow_t const&) | 4 | 4 | | | | +| allocators.cpp:142:13:142:27 | new[] | char[][10] | char[10] | void* operator new[](unsigned long) | 10 | 1 | | x | | +| allocators.cpp:143:13:143:28 | new[] | char[20][20] | char[20] | void* operator new[](unsigned long) | 20 | 1 | | | | +| allocators.cpp:144:13:144:31 | new[] | char[][30][30] | char[30][30] | void* operator new[](unsigned long) | 900 | 1 | | x | | newExprDeallocators -| allocators.cpp:52:3:52:14 | new | String | operator delete(void *, unsigned long) -> void | 8 | 8 | sized | -| allocators.cpp:53:3:53:27 | new | String | operator delete(void *, float) -> void | 8 | 8 | | -| allocators.cpp:107:3:107:18 | new | FailedInit | FailedInit::operator delete(void *, size_t) -> void | 1 | 1 | sized | -| allocators.cpp:109:3:109:35 | new | FailedInitOveraligned | FailedInitOveraligned::operator delete(void *, align_val_t, float) -> void | 128 | 128 | aligned | +| allocators.cpp:52:3:52:14 | new | String | void operator delete(void*, unsigned long) | 8 | 8 | sized | +| allocators.cpp:53:3:53:27 | new | String | void operator delete(void*, float) | 8 | 8 | | +| allocators.cpp:107:3:107:18 | new | FailedInit | void FailedInit::operator delete(void*, size_t) | 1 | 1 | sized | +| allocators.cpp:109:3:109:35 | new | FailedInitOveraligned | void FailedInitOveraligned::operator delete(void*, std::align_val_t, float) | 128 | 128 | aligned | newArrayExprDeallocators -| allocators.cpp:70:3:70:15 | new[] | String | operator delete[](void *, unsigned long) -> void | 8 | 8 | sized | -| allocators.cpp:72:3:72:16 | new[] | String | operator delete[](void *, unsigned long) -> void | 8 | 8 | sized | -| allocators.cpp:108:3:108:19 | new[] | FailedInit | FailedInit::operator delete[](void *, size_t) -> void | 1 | 1 | sized | -| allocators.cpp:110:3:110:37 | new[] | FailedInitOveraligned | FailedInitOveraligned::operator delete[](void *, align_val_t, float) -> void | 128 | 128 | aligned | +| allocators.cpp:70:3:70:15 | new[] | String | void operator delete[](void*, unsigned long) | 8 | 8 | sized | +| allocators.cpp:72:3:72:16 | new[] | String | void operator delete[](void*, unsigned long) | 8 | 8 | sized | +| allocators.cpp:108:3:108:19 | new[] | FailedInit | void FailedInit::operator delete[](void*, size_t) | 1 | 1 | sized | +| allocators.cpp:110:3:110:37 | new[] | FailedInitOveraligned | void FailedInitOveraligned::operator delete[](void*, std::align_val_t, float) | 128 | 128 | aligned | deleteExprs -| allocators.cpp:59:3:59:35 | delete | int | operator delete(void *, unsigned long) -> void | 4 | 4 | sized | -| allocators.cpp:60:3:60:38 | delete | String | operator delete(void *, unsigned long) -> void | 8 | 8 | sized | -| allocators.cpp:61:3:61:44 | delete | SizedDealloc | SizedDealloc::operator delete(void *, size_t) -> void | 32 | 1 | sized | -| allocators.cpp:62:3:62:43 | delete | Overaligned | operator delete(void *, unsigned long, align_val_t) -> void | 256 | 128 | sized aligned | -| allocators.cpp:64:3:64:44 | delete | const String | operator delete(void *, unsigned long) -> void | 8 | 8 | sized | +| allocators.cpp:59:3:59:35 | delete | int | void operator delete(void*, unsigned long) | 4 | 4 | sized | +| allocators.cpp:60:3:60:38 | delete | String | void operator delete(void*, unsigned long) | 8 | 8 | sized | +| allocators.cpp:61:3:61:44 | delete | SizedDealloc | void SizedDealloc::operator delete(void*, size_t) | 32 | 1 | sized | +| allocators.cpp:62:3:62:43 | delete | Overaligned | void operator delete(void*, unsigned long, std::align_val_t) | 256 | 128 | sized aligned | +| allocators.cpp:64:3:64:44 | delete | const String | void operator delete(void*, unsigned long) | 8 | 8 | sized | deleteArrayExprs -| allocators.cpp:78:3:78:37 | delete[] | int | operator delete[](void *, unsigned long) -> void | 4 | 4 | sized | -| allocators.cpp:79:3:79:40 | delete[] | String | operator delete[](void *, unsigned long) -> void | 8 | 8 | sized | -| allocators.cpp:80:3:80:46 | delete[] | SizedDealloc | SizedDealloc::operator delete[](void *, size_t) -> void | 32 | 1 | sized | -| allocators.cpp:81:3:81:45 | delete[] | Overaligned | operator delete[](void *, unsigned long, align_val_t) -> void | 256 | 128 | sized aligned | -| allocators.cpp:82:3:82:49 | delete[] | PolymorphicBase | operator delete[](void *, unsigned long) -> void | 8 | 8 | sized | -| allocators.cpp:83:3:83:23 | delete[] | int | operator delete[](void *, unsigned long) -> void | 4 | 4 | sized | +| allocators.cpp:78:3:78:37 | delete[] | int | void operator delete[](void*, unsigned long) | 4 | 4 | sized | +| allocators.cpp:79:3:79:40 | delete[] | String | void operator delete[](void*, unsigned long) | 8 | 8 | sized | +| allocators.cpp:80:3:80:46 | delete[] | SizedDealloc | void SizedDealloc::operator delete[](void*, size_t) | 32 | 1 | sized | +| allocators.cpp:81:3:81:45 | delete[] | Overaligned | void operator delete[](void*, unsigned long, std::align_val_t) | 256 | 128 | sized aligned | +| allocators.cpp:82:3:82:49 | delete[] | PolymorphicBase | void operator delete[](void*, unsigned long) | 8 | 8 | sized | +| allocators.cpp:83:3:83:23 | delete[] | int | void operator delete[](void*, unsigned long) | 4 | 4 | sized | allocationFunctions | allocators.cpp:7:7:7:18 | operator new | getSizeArg = 0, requiresDealloc | | allocators.cpp:8:7:8:20 | operator new[] | getSizeArg = 0, requiresDealloc | diff --git a/cpp/ql/test/library-tests/allocators/allocators.ql b/cpp/ql/test/library-tests/allocators/allocators.ql index a2126cdfbce..2d70f2f5083 100644 --- a/cpp/ql/test/library-tests/allocators/allocators.ql +++ b/cpp/ql/test/library-tests/allocators/allocators.ql @@ -1,12 +1,13 @@ import cpp import semmle.code.cpp.models.implementations.Allocation +import semmle.code.cpp.Print query predicate newExprs( NewExpr expr, string type, string sig, int size, int alignment, string form, string placement ) { exists(Function allocator, Type allocatedType | expr.getAllocator() = allocator and - sig = allocator.getFullSignature() and + sig = getIdentityString(allocator) and allocatedType = expr.getAllocatedType() and type = allocatedType.toString() and size = allocatedType.getSize() and @@ -24,7 +25,7 @@ query predicate newArrayExprs( ) { exists(Function allocator, Type arrayType, Type elementType | expr.getAllocator() = allocator and - sig = allocator.getFullSignature() and + sig = getIdentityString(allocator) and arrayType = expr.getAllocatedType() and t1 = arrayType.toString() and elementType = expr.getAllocatedElementType() and @@ -44,7 +45,7 @@ query predicate newExprDeallocators( ) { exists(Function deallocator, Type allocatedType | expr.getDeallocator() = deallocator and - sig = deallocator.getFullSignature() and + sig = getIdentityString(deallocator) and allocatedType = expr.getAllocatedType() and type = allocatedType.toString() and size = allocatedType.getSize() and @@ -62,7 +63,7 @@ query predicate newArrayExprDeallocators( ) { exists(Function deallocator, Type elementType | expr.getDeallocator() = deallocator and - sig = deallocator.getFullSignature() and + sig = getIdentityString(deallocator) and elementType = expr.getAllocatedElementType() and type = elementType.toString() and size = elementType.getSize() and @@ -80,7 +81,7 @@ query predicate deleteExprs( ) { exists(Function deallocator, Type deletedType | expr.getDeallocator() = deallocator and - sig = deallocator.getFullSignature() and + sig = getIdentityString(deallocator) and deletedType = expr.getDeletedObjectType() and type = deletedType.toString() and size = deletedType.getSize() and @@ -98,7 +99,7 @@ query predicate deleteArrayExprs( ) { exists(Function deallocator, Type elementType | expr.getDeallocator() = deallocator and - sig = deallocator.getFullSignature() and + sig = getIdentityString(deallocator) and elementType = expr.getDeletedElementType() and type = elementType.toString() and size = elementType.getSize() and diff --git a/cpp/ql/test/library-tests/noexcept/copy_from_prototype/copy_from_prototype.expected b/cpp/ql/test/library-tests/noexcept/copy_from_prototype/copy_from_prototype.expected index 5488cf803e6..a5250dfccc5 100644 --- a/cpp/ql/test/library-tests/noexcept/copy_from_prototype/copy_from_prototype.expected +++ b/cpp/ql/test/library-tests/noexcept/copy_from_prototype/copy_from_prototype.expected @@ -1,30 +1,30 @@ -| copy_from_prototype.cpp:3:7:3:7 | a | a::a(a &&) -> void | copy_from_prototype.cpp:3:7:3:7 | a | | -| copy_from_prototype.cpp:3:7:3:7 | a | a::a(const a &) -> void | copy_from_prototype.cpp:3:7:3:7 | a | | -| copy_from_prototype.cpp:3:7:3:7 | operator= | a::operator=(a &&) -> a & | copy_from_prototype.cpp:3:7:3:7 | a | | -| copy_from_prototype.cpp:3:7:3:7 | operator= | a::operator=(const a &) -> a & | copy_from_prototype.cpp:3:7:3:7 | a | | -| copy_from_prototype.cpp:4:26:4:26 | a | a<>::a<(unnamed template parameter)>() -> void | copy_from_prototype.cpp:3:7:3:7 | a<> | 123 | -| copy_from_prototype.cpp:4:26:4:26 | a | a::a<(unnamed template parameter)>() -> void | copy_from_prototype.cpp:3:7:3:7 | a | | -| copy_from_prototype.cpp:7:7:7:7 | b | b::b() -> void | copy_from_prototype.cpp:7:7:7:7 | b | | -| copy_from_prototype.cpp:7:7:7:7 | b | b::b(b &&) -> void | copy_from_prototype.cpp:7:7:7:7 | b | | -| copy_from_prototype.cpp:7:7:7:7 | b | b::b(const b &) -> void | copy_from_prototype.cpp:7:7:7:7 | b | | -| copy_from_prototype.cpp:7:7:7:7 | operator= | b::operator=(b &&) -> b & | copy_from_prototype.cpp:7:7:7:7 | b | | -| copy_from_prototype.cpp:7:7:7:7 | operator= | b::operator=(const b &) -> b & | copy_from_prototype.cpp:7:7:7:7 | b | | -| copy_from_prototype.cpp:13:7:13:7 | c | c::c(c &&) -> void | copy_from_prototype.cpp:13:7:13:7 | c | | -| copy_from_prototype.cpp:13:7:13:7 | c | c::c(const c &) -> void | copy_from_prototype.cpp:13:7:13:7 | c | | -| copy_from_prototype.cpp:13:7:13:7 | operator= | c::operator=(c &&) -> c & | copy_from_prototype.cpp:13:7:13:7 | c | | -| copy_from_prototype.cpp:13:7:13:7 | operator= | c::operator=(const c &) -> c & | copy_from_prototype.cpp:13:7:13:7 | c | | -| copy_from_prototype.cpp:14:26:14:26 | c | c::c<(unnamed template parameter)>() -> void | copy_from_prototype.cpp:13:7:13:7 | c | X | -| copy_from_prototype.cpp:14:26:14:26 | c | c::c<(unnamed template parameter)>() -> void | copy_from_prototype.cpp:13:7:13:7 | c | | -| copy_from_prototype.cpp:17:7:17:7 | d | d::d() -> void | copy_from_prototype.cpp:17:7:17:7 | d | | -| copy_from_prototype.cpp:17:7:17:7 | d | d::d(const d &) -> void | copy_from_prototype.cpp:17:7:17:7 | d | | -| copy_from_prototype.cpp:17:7:17:7 | d | d::d(d &&) -> void | copy_from_prototype.cpp:17:7:17:7 | d | | -| copy_from_prototype.cpp:17:7:17:7 | operator= | d::operator=(const d &) -> d & | copy_from_prototype.cpp:17:7:17:7 | d | | -| copy_from_prototype.cpp:17:7:17:7 | operator= | d::operator=(d &&) -> d & | copy_from_prototype.cpp:17:7:17:7 | d | | -| copy_from_prototype.cpp:22:8:22:8 | e | e::e(const e &) -> void | copy_from_prototype.cpp:22:8:22:8 | e | | -| copy_from_prototype.cpp:22:8:22:8 | e | e::e(e &&) -> void | copy_from_prototype.cpp:22:8:22:8 | e | | -| copy_from_prototype.cpp:22:8:22:8 | operator= | e::operator=(const e &) -> e & | copy_from_prototype.cpp:22:8:22:8 | e | | -| copy_from_prototype.cpp:22:8:22:8 | operator= | e::operator=(e &&) -> e & | copy_from_prototype.cpp:22:8:22:8 | e | | -| copy_from_prototype.cpp:23:26:23:26 | e | e::e<(unnamed template parameter)>() -> void | copy_from_prototype.cpp:22:8:22:8 | e | 456 | -| copy_from_prototype.cpp:26:35:26:43 | e | e::e<(unnamed template parameter)>() -> void | copy_from_prototype.cpp:22:8:22:8 | e | 456 | -| file://:0:0:0:0 | operator= | __va_list_tag::operator=(__va_list_tag &&) -> __va_list_tag & | file://:0:0:0:0 | __va_list_tag | | -| file://:0:0:0:0 | operator= | __va_list_tag::operator=(const __va_list_tag &) -> __va_list_tag & | file://:0:0:0:0 | __va_list_tag | | +| copy_from_prototype.cpp:3:7:3:7 | a | void a::a(a const&) | copy_from_prototype.cpp:3:7:3:7 | a | | +| copy_from_prototype.cpp:3:7:3:7 | a | void a::a(a&&) | copy_from_prototype.cpp:3:7:3:7 | a | | +| copy_from_prototype.cpp:3:7:3:7 | operator= | a& a::operator=(a const&) | copy_from_prototype.cpp:3:7:3:7 | a | | +| copy_from_prototype.cpp:3:7:3:7 | operator= | a& a::operator=(a&&) | copy_from_prototype.cpp:3:7:3:7 | a | | +| copy_from_prototype.cpp:4:26:4:26 | a | void a<(unnamed template parameter)>::a<(unnamed template parameter)>() | copy_from_prototype.cpp:3:7:3:7 | a<> | 123 | +| copy_from_prototype.cpp:4:26:4:26 | a | void a::a<(unnamed template parameter)>() | copy_from_prototype.cpp:3:7:3:7 | a | | +| copy_from_prototype.cpp:7:7:7:7 | b | void b::b() | copy_from_prototype.cpp:7:7:7:7 | b | | +| copy_from_prototype.cpp:7:7:7:7 | b | void b::b(b const&) | copy_from_prototype.cpp:7:7:7:7 | b | | +| copy_from_prototype.cpp:7:7:7:7 | b | void b::b(b&&) | copy_from_prototype.cpp:7:7:7:7 | b | | +| copy_from_prototype.cpp:7:7:7:7 | operator= | b& b::operator=(b const&) | copy_from_prototype.cpp:7:7:7:7 | b | | +| copy_from_prototype.cpp:7:7:7:7 | operator= | b& b::operator=(b&&) | copy_from_prototype.cpp:7:7:7:7 | b | | +| copy_from_prototype.cpp:13:7:13:7 | c | void c::c(c const&) | copy_from_prototype.cpp:13:7:13:7 | c | | +| copy_from_prototype.cpp:13:7:13:7 | c | void c::c(c&&) | copy_from_prototype.cpp:13:7:13:7 | c | | +| copy_from_prototype.cpp:13:7:13:7 | operator= | c& c::operator=(c const&) | copy_from_prototype.cpp:13:7:13:7 | c | | +| copy_from_prototype.cpp:13:7:13:7 | operator= | c& c::operator=(c&&) | copy_from_prototype.cpp:13:7:13:7 | c | | +| copy_from_prototype.cpp:14:26:14:26 | c | void c::c<(unnamed template parameter)>() | copy_from_prototype.cpp:13:7:13:7 | c | X | +| copy_from_prototype.cpp:14:26:14:26 | c | void c::c<(unnamed template parameter)>() | copy_from_prototype.cpp:13:7:13:7 | c | | +| copy_from_prototype.cpp:17:7:17:7 | d | void d::d() | copy_from_prototype.cpp:17:7:17:7 | d | | +| copy_from_prototype.cpp:17:7:17:7 | d | void d::d(d const&) | copy_from_prototype.cpp:17:7:17:7 | d | | +| copy_from_prototype.cpp:17:7:17:7 | d | void d::d(d&&) | copy_from_prototype.cpp:17:7:17:7 | d | | +| copy_from_prototype.cpp:17:7:17:7 | operator= | d& d::operator=(d const&) | copy_from_prototype.cpp:17:7:17:7 | d | | +| copy_from_prototype.cpp:17:7:17:7 | operator= | d& d::operator=(d&&) | copy_from_prototype.cpp:17:7:17:7 | d | | +| copy_from_prototype.cpp:22:8:22:8 | e | void e::e(e const&) | copy_from_prototype.cpp:22:8:22:8 | e | | +| copy_from_prototype.cpp:22:8:22:8 | e | void e::e(e&&) | copy_from_prototype.cpp:22:8:22:8 | e | | +| copy_from_prototype.cpp:22:8:22:8 | operator= | e& e::operator=(e const&) | copy_from_prototype.cpp:22:8:22:8 | e | | +| copy_from_prototype.cpp:22:8:22:8 | operator= | e& e::operator=(e&&) | copy_from_prototype.cpp:22:8:22:8 | e | | +| copy_from_prototype.cpp:23:26:23:26 | e | void e::e<(unnamed template parameter)>() | copy_from_prototype.cpp:22:8:22:8 | e | 456 | +| copy_from_prototype.cpp:26:35:26:43 | e | void e::e<(unnamed template parameter)>() | copy_from_prototype.cpp:22:8:22:8 | e | 456 | +| file://:0:0:0:0 | operator= | __va_list_tag& __va_list_tag::operator=(__va_list_tag const&) | file://:0:0:0:0 | __va_list_tag | | +| file://:0:0:0:0 | operator= | __va_list_tag& __va_list_tag::operator=(__va_list_tag&&) | file://:0:0:0:0 | __va_list_tag | | diff --git a/cpp/ql/test/library-tests/noexcept/copy_from_prototype/copy_from_prototype.ql b/cpp/ql/test/library-tests/noexcept/copy_from_prototype/copy_from_prototype.ql index 9e1cc557510..be8ab9565f4 100644 --- a/cpp/ql/test/library-tests/noexcept/copy_from_prototype/copy_from_prototype.ql +++ b/cpp/ql/test/library-tests/noexcept/copy_from_prototype/copy_from_prototype.ql @@ -1,4 +1,5 @@ import cpp +import semmle.code.cpp.Print from Function f, string e where @@ -8,4 +9,4 @@ where then e = f.getADeclarationEntry().getNoExceptExpr().toString() else e = "" else e = "" -select f, f.getFullSignature(), f.getDeclaringType(), e +select f, getIdentityString(f), f.getDeclaringType(), e From aa4b98bbd560b6f9297b82ec4c9bec2cade0c90c Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Mon, 20 Feb 2023 16:26:39 +0100 Subject: [PATCH 066/145] C#: The stub generator should just format whitespaces. --- csharp/ql/src/Stubs/make_stubs_nuget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/ql/src/Stubs/make_stubs_nuget.py b/csharp/ql/src/Stubs/make_stubs_nuget.py index 2e7d093beba..09aadc366fc 100644 --- a/csharp/ql/src/Stubs/make_stubs_nuget.py +++ b/csharp/ql/src/Stubs/make_stubs_nuget.py @@ -109,7 +109,7 @@ with open(jsonFile) as json_data: print("\n --> Generated stub files: " + rawSrcOutputDir) print("\n* Formatting files") -run_cmd(['dotnet', 'format', rawSrcOutputDir]) +run_cmd(['dotnet', 'format', 'whitespace', rawSrcOutputDir]) print("\n --> Generated (formatted) stub files: " + rawSrcOutputDir) From b68e78d908a4919b304634afbb0bb05c0f1945d4 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Wed, 22 Feb 2023 13:35:10 +0100 Subject: [PATCH 067/145] C#: Stub generator support for static virtual and static abstract interface members. --- csharp/ql/src/Stubs/Stubs.qll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/csharp/ql/src/Stubs/Stubs.qll b/csharp/ql/src/Stubs/Stubs.qll index e4787a9b5ce..1738d10752d 100644 --- a/csharp/ql/src/Stubs/Stubs.qll +++ b/csharp/ql/src/Stubs/Stubs.qll @@ -443,7 +443,7 @@ private string stubStaticOrConst(Member m) { } private string stubOverride(Member m) { - if m.getDeclaringType() instanceof Interface + if m.getDeclaringType() instanceof Interface and not m.isStatic() then result = "" else if m.(Virtualizable).isVirtual() @@ -741,13 +741,13 @@ private string stubOperator(Operator o, Assembly assembly) { then result = " " + stubModifiers(o) + stubExplicit(o) + "operator " + stubClassName(o.getReturnType()) + - "(" + stubParameters(o) + ") => throw null;\n" + "(" + stubParameters(o) + ")" + stubImplementation(o) + ";\n" else if not o.getDeclaringType() instanceof Enum then result = " " + stubModifiers(o) + stubClassName(o.getReturnType()) + " operator " + o.getName() + - "(" + stubParameters(o) + ") => throw null;\n" + "(" + stubParameters(o) + ")" + stubImplementation(o) + ";\n" else result = " // Stub generator skipped operator: " + o.getName() + "\n" } From 5ba59fc9a82e58a6e8cf5a0ba8a32d16eb250529 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Fri, 24 Feb 2023 09:41:16 +0100 Subject: [PATCH 068/145] C#: Stub generator support for operators in interfaces and interface implementations. --- csharp/ql/src/Stubs/Stubs.qll | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/csharp/ql/src/Stubs/Stubs.qll b/csharp/ql/src/Stubs/Stubs.qll index 1738d10752d..c1c633d9909 100644 --- a/csharp/ql/src/Stubs/Stubs.qll +++ b/csharp/ql/src/Stubs/Stubs.qll @@ -740,14 +740,16 @@ private string stubOperator(Operator o, Assembly assembly) { if o instanceof ConversionOperator then result = - " " + stubModifiers(o) + stubExplicit(o) + "operator " + stubClassName(o.getReturnType()) + - "(" + stubParameters(o) + ")" + stubImplementation(o) + ";\n" + " " + stubModifiers(o) + stubExplicit(o) + "operator " + stubChecked(o) + + stubClassName(o.getReturnType()) + "(" + stubParameters(o) + ")" + stubImplementation(o) + + ";\n" else if not o.getDeclaringType() instanceof Enum then result = - " " + stubModifiers(o) + stubClassName(o.getReturnType()) + " operator " + o.getName() + - "(" + stubParameters(o) + ")" + stubImplementation(o) + ";\n" + " " + stubModifiers(o) + stubClassName(o.getReturnType()) + " " + + stubExplicitImplementation(o) + "operator " + o.getName() + "(" + stubParameters(o) + ")" + + stubImplementation(o) + ";\n" else result = " // Stub generator skipped operator: " + o.getName() + "\n" } @@ -888,7 +890,16 @@ private string stubConstructorInitializer(Constructor c) { private string stubExplicit(ConversionOperator op) { op instanceof ImplicitConversionOperator and result = "implicit " or - op instanceof ExplicitConversionOperator and result = "explicit " + ( + op instanceof ExplicitConversionOperator + or + op instanceof CheckedExplicitConversionOperator + ) and + result = "explicit " +} + +private string stubChecked(Operator o) { + if o instanceof CheckedExplicitConversionOperator then result = "checked " else result = "" } private string stubGetter(DeclarationWithGetSetAccessors p) { From 50570dc3ee57603c69196fd66df020056ac3b503 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Fri, 24 Feb 2023 11:32:41 +0100 Subject: [PATCH 069/145] C#: Only add explicit interface implementation to the generated stub if it is unique. --- csharp/ql/src/Stubs/Stubs.qll | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/csharp/ql/src/Stubs/Stubs.qll b/csharp/ql/src/Stubs/Stubs.qll index c1c633d9909..87a2456d9eb 100644 --- a/csharp/ql/src/Stubs/Stubs.qll +++ b/csharp/ql/src/Stubs/Stubs.qll @@ -400,7 +400,7 @@ private string stubAccessibility(Member m) { if m.getDeclaringType() instanceof Interface or - exists(m.(Virtualizable).getExplicitlyImplementedInterface()) + exists(getSingleSpecificImplementedInterface(m)) or m instanceof Constructor and m.isStatic() then result = "" @@ -713,9 +713,13 @@ private string stubEventAccessors(Event e) { else result = ";" } +private Interface getSingleSpecificImplementedInterface(Member c) { + result = unique(Interface i | i = c.(Virtualizable).getExplicitlyImplementedInterface()) +} + private string stubExplicitImplementation(Member c) { - if exists(c.(Virtualizable).getExplicitlyImplementedInterface()) - then result = stubClassName(c.(Virtualizable).getExplicitlyImplementedInterface()) + "." + if exists(getSingleSpecificImplementedInterface(c)) + then result = stubClassName(getSingleSpecificImplementedInterface(c)) + "." else result = "" } From 59349ed7c7be277330cf76f10251ec10b06ecd0c Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Mon, 27 Feb 2023 16:10:29 +0100 Subject: [PATCH 070/145] C#: Add test cases for static and virtual operators in interfaces and overlapping interface declarations. --- .../query-tests/Stubs/All/AllStubs.expected | 2 +- csharp/ql/test/query-tests/Stubs/All/Test.cs | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected b/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected index 2cef6a86400..7b308c96314 100644 --- a/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected +++ b/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected @@ -1 +1 @@ -| // This file contains auto-generated code.\n\nnamespace A1\n{\n// Generated from `A1.C1` in `Test.cs:185:18:185:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C1\n{\n}\n\n}\nnamespace A2\n{\nnamespace B2\n{\n// Generated from `A2.B2.C2` in `Test.cs:192:22:192:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C2\n{\n}\n\n}\n}\nnamespace A3\n{\n// Generated from `A3.C3` in `Test.cs:198:18:198:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C3\n{\n}\n\n}\nnamespace A4\n{\n// Generated from `A4.C4` in `Test.cs:208:18:208:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C4\n{\n}\n\nnamespace B4\n{\n// Generated from `A4.B4.D4` in `Test.cs:205:22:205:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class D4\n{\n}\n\n}\n}\nnamespace Test\n{\n// Generated from `Test.Class1` in `Test.cs:5:18:5:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class1\n{\n// Generated from `Test.Class1+Class11` in `Test.cs:34:22:34:28; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class11 : Test.Class1.Interface1, Test.Class1.Interface2\n{\n int Test.Class1.Interface2.this[int i] { get => throw null; }\n public void Method1() => throw null;\n void Test.Class1.Interface2.Method2() => throw null;\n}\n\n\n// Generated from `Test.Class1+Class12` in `Test.cs:51:22:51:28; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class12 : Test.Class1.Class11\n{\n}\n\n\n// Generated from `Test.Class1+Class13` in `Test.cs:63:31:63:37; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic abstract class Class13\n{\n protected internal virtual void M() => throw null;\n public virtual void M1() where T: Test.Class1.Class13 => throw null;\n public abstract void M2();\n}\n\n\n// Generated from `Test.Class1+Class14` in `Test.cs:70:31:70:37; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic abstract class Class14 : Test.Class1.Class13\n{\n protected internal override void M() => throw null;\n public override void M1() => throw null;\n public abstract override void M2();\n}\n\n\n// Generated from `Test.Class1+Delegate1<>` in `Test.cs:47:30:47:41; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic delegate void Delegate1(T i, int j);\n\n\n// Generated from `Test.Class1+GenericType<>` in `Test.cs:56:22:56:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class GenericType\n{\n// Generated from `Test.Class1+GenericType<>+X` in `Test.cs:58:26:58:26; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class X\n{\n}\n\n\n}\n\n\n// Generated from `Test.Class1+Interface1` in `Test.cs:18:26:18:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface Interface1\n{\n void Method1();\n}\n\n\n// Generated from `Test.Class1+Interface2` in `Test.cs:23:38:23:47; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\nprotected internal interface Interface2\n{\n int this[int i] { get; }\n void Method2();\n}\n\n\n// Generated from `Test.Class1+Struct1` in `Test.cs:7:23:7:29; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic struct Struct1\n{\n public void Method(Test.Class1.Struct1 s = default(Test.Class1.Struct1)) => throw null;\n public int i;\n public static int j = default;\n public System.ValueTuple t1;\n public (int,int) t2;\n}\n\n\n public event Test.Class1.Delegate1 Event1;\n public Test.Class1.GenericType.X Prop { get => throw null; }\n}\n\n// Generated from `Test.Class10` in `Test.cs:138:18:138:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class10\n{\n unsafe public void M1(delegate* unmanaged f) => throw null;\n}\n\n// Generated from `Test.Class3` in `Test.cs:84:18:84:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class3\n{\n public object Item { get => throw null; set => throw null; }\n [System.Runtime.CompilerServices.IndexerName("MyItem")]\n public object this[string index] { get => throw null; set => throw null; }\n}\n\n// Generated from `Test.Class4` in `Test.cs:91:18:91:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class4\n{\n unsafe public void M(int* p) => throw null;\n}\n\n// Generated from `Test.Class5` in `Test.cs:102:18:102:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class5 : Test.IInterface1\n{\n public void M2() => throw null;\n}\n\n// Generated from `Test.Class6<>` in `Test.cs:107:18:107:26; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class6 where T: class, Test.IInterface1\n{\n public virtual void M1() where T: class, Test.IInterface1, new() => throw null;\n}\n\n// Generated from `Test.Class7` in `Test.cs:114:18:114:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class7 : Test.Class6\n{\n public override void M1() where T: class => throw null;\n}\n\n// Generated from `Test.Class8` in `Test.cs:121:18:121:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class8\n{\n public static int @this = default;\n}\n\n// Generated from `Test.Class9` in `Test.cs:126:18:126:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class9\n{\n// Generated from `Test.Class9+Nested` in `Test.cs:130:22:130:27; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Nested : Test.Class9\n{\n}\n\n\n public Test.Class9.Nested NestedInstance { get => throw null; }\n}\n\n// Generated from `Test.Enum1` in `Test.cs:143:17:143:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum1 : int\n{\n None1 = 0,\n Some11 = 1,\n Some12 = 2,\n}\n\n// Generated from `Test.Enum2` in `Test.cs:150:17:150:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum2 : int\n{\n None2 = 2,\n Some21 = 1,\n Some22 = 3,\n}\n\n// Generated from `Test.Enum3` in `Test.cs:157:17:157:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum3 : int\n{\n None3 = 2,\n Some31 = 1,\n Some32 = 0,\n}\n\n// Generated from `Test.Enum4` in `Test.cs:164:17:164:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum4 : int\n{\n None4 = 2,\n Some41 = 7,\n Some42 = 6,\n}\n\n// Generated from `Test.EnumLong` in `Test.cs:171:17:171:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum EnumLong : long\n{\n None = 10,\n Some = 223372036854775807,\n}\n\n// Generated from `Test.IInterface1` in `Test.cs:96:22:96:32; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IInterface1\n{\n void M1() => throw null;\n void M2();\n}\n\n}\n\n\n | +| // This file contains auto-generated code.\n\nnamespace A1\n{\n// Generated from `A1.C1` in `Test.cs:212:18:212:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C1\n{\n}\n\n}\nnamespace A2\n{\nnamespace B2\n{\n// Generated from `A2.B2.C2` in `Test.cs:219:22:219:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C2\n{\n}\n\n}\n}\nnamespace A3\n{\n// Generated from `A3.C3` in `Test.cs:225:18:225:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C3\n{\n}\n\n}\nnamespace A4\n{\n// Generated from `A4.C4` in `Test.cs:235:18:235:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C4\n{\n}\n\nnamespace B4\n{\n// Generated from `A4.B4.D4` in `Test.cs:232:22:232:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class D4\n{\n}\n\n}\n}\nnamespace Test\n{\n// Generated from `Test.Class1` in `Test.cs:5:18:5:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class1\n{\n// Generated from `Test.Class1+Class11` in `Test.cs:34:22:34:28; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class11 : Test.Class1.Interface1, Test.Class1.Interface2\n{\n int Test.Class1.Interface2.this[int i] { get => throw null; }\n public void Method1() => throw null;\n void Test.Class1.Interface2.Method2() => throw null;\n}\n\n\n// Generated from `Test.Class1+Class12` in `Test.cs:51:22:51:28; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class12 : Test.Class1.Class11\n{\n}\n\n\n// Generated from `Test.Class1+Class13` in `Test.cs:63:31:63:37; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic abstract class Class13\n{\n protected internal virtual void M() => throw null;\n public virtual void M1() where T: Test.Class1.Class13 => throw null;\n public abstract void M2();\n}\n\n\n// Generated from `Test.Class1+Class14` in `Test.cs:70:31:70:37; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic abstract class Class14 : Test.Class1.Class13\n{\n protected internal override void M() => throw null;\n public override void M1() => throw null;\n public abstract override void M2();\n}\n\n\n// Generated from `Test.Class1+Delegate1<>` in `Test.cs:47:30:47:41; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic delegate void Delegate1(T i, int j);\n\n\n// Generated from `Test.Class1+GenericType<>` in `Test.cs:56:22:56:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class GenericType\n{\n// Generated from `Test.Class1+GenericType<>+X` in `Test.cs:58:26:58:26; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class X\n{\n}\n\n\n}\n\n\n// Generated from `Test.Class1+Interface1` in `Test.cs:18:26:18:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface Interface1\n{\n void Method1();\n}\n\n\n// Generated from `Test.Class1+Interface2` in `Test.cs:23:38:23:47; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\nprotected internal interface Interface2\n{\n int this[int i] { get; }\n void Method2();\n}\n\n\n// Generated from `Test.Class1+Struct1` in `Test.cs:7:23:7:29; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic struct Struct1\n{\n public void Method(Test.Class1.Struct1 s = default(Test.Class1.Struct1)) => throw null;\n public int i;\n public static int j = default;\n public System.ValueTuple t1;\n public (int,int) t2;\n}\n\n\n public event Test.Class1.Delegate1 Event1;\n public Test.Class1.GenericType.X Prop { get => throw null; }\n}\n\n// Generated from `Test.Class10` in `Test.cs:138:18:138:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class10\n{\n unsafe public void M1(delegate* unmanaged f) => throw null;\n}\n\n// Generated from `Test.Class11` in `Test.cs:160:18:160:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class11 : Test.IInterface2, Test.IInterface3\n{\n static Test.Class11 Test.IInterface2.operator *(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator +(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator -(Test.Class11 left, Test.Class11 right) => throw null;\n static Test.Class11 Test.IInterface2.operator /(Test.Class11 left, Test.Class11 right) => throw null;\n public void M1() => throw null;\n void Test.IInterface2.M2() => throw null;\n}\n\n// Generated from `Test.Class3` in `Test.cs:84:18:84:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class3\n{\n public object Item { get => throw null; set => throw null; }\n [System.Runtime.CompilerServices.IndexerName("MyItem")]\n public object this[string index] { get => throw null; set => throw null; }\n}\n\n// Generated from `Test.Class4` in `Test.cs:91:18:91:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class4\n{\n unsafe public void M(int* p) => throw null;\n}\n\n// Generated from `Test.Class5` in `Test.cs:102:18:102:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class5 : Test.IInterface1\n{\n public void M2() => throw null;\n}\n\n// Generated from `Test.Class6<>` in `Test.cs:107:18:107:26; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class6 where T: class, Test.IInterface1\n{\n public virtual void M1() where T: class, Test.IInterface1, new() => throw null;\n}\n\n// Generated from `Test.Class7` in `Test.cs:114:18:114:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class7 : Test.Class6\n{\n public override void M1() where T: class => throw null;\n}\n\n// Generated from `Test.Class8` in `Test.cs:121:18:121:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class8\n{\n public static int @this = default;\n}\n\n// Generated from `Test.Class9` in `Test.cs:126:18:126:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class9\n{\n// Generated from `Test.Class9+Nested` in `Test.cs:130:22:130:27; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Nested : Test.Class9\n{\n}\n\n\n public Test.Class9.Nested NestedInstance { get => throw null; }\n}\n\n// Generated from `Test.Enum1` in `Test.cs:170:17:170:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum1 : int\n{\n None1 = 0,\n Some11 = 1,\n Some12 = 2,\n}\n\n// Generated from `Test.Enum2` in `Test.cs:177:17:177:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum2 : int\n{\n None2 = 2,\n Some21 = 1,\n Some22 = 3,\n}\n\n// Generated from `Test.Enum3` in `Test.cs:184:17:184:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum3 : int\n{\n None3 = 2,\n Some31 = 1,\n Some32 = 0,\n}\n\n// Generated from `Test.Enum4` in `Test.cs:191:17:191:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum4 : int\n{\n None4 = 2,\n Some41 = 7,\n Some42 = 6,\n}\n\n// Generated from `Test.EnumLong` in `Test.cs:198:17:198:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum EnumLong : long\n{\n None = 10,\n Some = 223372036854775807,\n}\n\n// Generated from `Test.IInterface1` in `Test.cs:96:22:96:32; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IInterface1\n{\n void M1() => throw null;\n void M2();\n}\n\n// Generated from `Test.IInterface2<>` in `Test.cs:143:22:143:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IInterface2 where T: Test.IInterface2\n{\n static abstract T operator *(T left, T right);\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n static virtual T operator /(T left, T right) => throw null;\n void M1();\n void M2();\n}\n\n// Generated from `Test.IInterface3<>` in `Test.cs:153:22:153:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IInterface3 where T: Test.IInterface3\n{\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n void M1();\n}\n\n}\n\n\n | diff --git a/csharp/ql/test/query-tests/Stubs/All/Test.cs b/csharp/ql/test/query-tests/Stubs/All/Test.cs index 2b46b8ec987..b9678db710a 100644 --- a/csharp/ql/test/query-tests/Stubs/All/Test.cs +++ b/csharp/ql/test/query-tests/Stubs/All/Test.cs @@ -140,6 +140,33 @@ namespace Test unsafe public void M1(delegate* unmanaged f) => throw null; } + public interface IInterface2 where T : IInterface2 + { + static abstract T operator +(T left, T right); + static virtual T operator -(T left, T right) => throw null; + static abstract T operator *(T left, T right); + static virtual T operator /(T left, T right) => throw null; + void M1(); + void M2(); + } + + public interface IInterface3 where T : IInterface3 + { + static abstract T operator +(T left, T right); + static virtual T operator -(T left, T right) => throw null; + void M1(); + } + + public class Class11 : IInterface2, IInterface3 + { + public static Class11 operator +(Class11 left, Class11 right) => throw null; + public static Class11 operator -(Class11 left, Class11 right) => throw null; + static Class11 IInterface2.operator *(Class11 left, Class11 right) => throw null; + static Class11 IInterface2.operator /(Class11 left, Class11 right) => throw null; + public void M1() => throw null; + void IInterface2.M2() => throw null; + } + public enum Enum1 { None1, From d8acc7cd17d32ff631e6544d3647f2c8c13b20d5 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Tue, 28 Feb 2023 10:57:59 +0100 Subject: [PATCH 071/145] C#: Stub generator support for explicit interface implementations of explicit conversion operators including test cases. --- csharp/ql/src/Stubs/Stubs.qll | 6 +++--- csharp/ql/test/query-tests/Stubs/All/AllStubs.expected | 2 +- csharp/ql/test/query-tests/Stubs/All/Test.cs | 5 +++++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/csharp/ql/src/Stubs/Stubs.qll b/csharp/ql/src/Stubs/Stubs.qll index 87a2456d9eb..83e84c971b8 100644 --- a/csharp/ql/src/Stubs/Stubs.qll +++ b/csharp/ql/src/Stubs/Stubs.qll @@ -744,9 +744,9 @@ private string stubOperator(Operator o, Assembly assembly) { if o instanceof ConversionOperator then result = - " " + stubModifiers(o) + stubExplicit(o) + "operator " + stubChecked(o) + - stubClassName(o.getReturnType()) + "(" + stubParameters(o) + ")" + stubImplementation(o) + - ";\n" + " " + stubModifiers(o) + stubExplicit(o) + stubExplicitImplementation(o) + "operator " + + stubChecked(o) + stubClassName(o.getReturnType()) + "(" + stubParameters(o) + ")" + + stubImplementation(o) + ";\n" else if not o.getDeclaringType() instanceof Enum then diff --git a/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected b/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected index 7b308c96314..55dae1faff2 100644 --- a/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected +++ b/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected @@ -1 +1 @@ -| // This file contains auto-generated code.\n\nnamespace A1\n{\n// Generated from `A1.C1` in `Test.cs:212:18:212:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C1\n{\n}\n\n}\nnamespace A2\n{\nnamespace B2\n{\n// Generated from `A2.B2.C2` in `Test.cs:219:22:219:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C2\n{\n}\n\n}\n}\nnamespace A3\n{\n// Generated from `A3.C3` in `Test.cs:225:18:225:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C3\n{\n}\n\n}\nnamespace A4\n{\n// Generated from `A4.C4` in `Test.cs:235:18:235:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C4\n{\n}\n\nnamespace B4\n{\n// Generated from `A4.B4.D4` in `Test.cs:232:22:232:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class D4\n{\n}\n\n}\n}\nnamespace Test\n{\n// Generated from `Test.Class1` in `Test.cs:5:18:5:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class1\n{\n// Generated from `Test.Class1+Class11` in `Test.cs:34:22:34:28; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class11 : Test.Class1.Interface1, Test.Class1.Interface2\n{\n int Test.Class1.Interface2.this[int i] { get => throw null; }\n public void Method1() => throw null;\n void Test.Class1.Interface2.Method2() => throw null;\n}\n\n\n// Generated from `Test.Class1+Class12` in `Test.cs:51:22:51:28; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class12 : Test.Class1.Class11\n{\n}\n\n\n// Generated from `Test.Class1+Class13` in `Test.cs:63:31:63:37; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic abstract class Class13\n{\n protected internal virtual void M() => throw null;\n public virtual void M1() where T: Test.Class1.Class13 => throw null;\n public abstract void M2();\n}\n\n\n// Generated from `Test.Class1+Class14` in `Test.cs:70:31:70:37; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic abstract class Class14 : Test.Class1.Class13\n{\n protected internal override void M() => throw null;\n public override void M1() => throw null;\n public abstract override void M2();\n}\n\n\n// Generated from `Test.Class1+Delegate1<>` in `Test.cs:47:30:47:41; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic delegate void Delegate1(T i, int j);\n\n\n// Generated from `Test.Class1+GenericType<>` in `Test.cs:56:22:56:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class GenericType\n{\n// Generated from `Test.Class1+GenericType<>+X` in `Test.cs:58:26:58:26; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class X\n{\n}\n\n\n}\n\n\n// Generated from `Test.Class1+Interface1` in `Test.cs:18:26:18:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface Interface1\n{\n void Method1();\n}\n\n\n// Generated from `Test.Class1+Interface2` in `Test.cs:23:38:23:47; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\nprotected internal interface Interface2\n{\n int this[int i] { get; }\n void Method2();\n}\n\n\n// Generated from `Test.Class1+Struct1` in `Test.cs:7:23:7:29; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic struct Struct1\n{\n public void Method(Test.Class1.Struct1 s = default(Test.Class1.Struct1)) => throw null;\n public int i;\n public static int j = default;\n public System.ValueTuple t1;\n public (int,int) t2;\n}\n\n\n public event Test.Class1.Delegate1 Event1;\n public Test.Class1.GenericType.X Prop { get => throw null; }\n}\n\n// Generated from `Test.Class10` in `Test.cs:138:18:138:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class10\n{\n unsafe public void M1(delegate* unmanaged f) => throw null;\n}\n\n// Generated from `Test.Class11` in `Test.cs:160:18:160:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class11 : Test.IInterface2, Test.IInterface3\n{\n static Test.Class11 Test.IInterface2.operator *(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator +(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator -(Test.Class11 left, Test.Class11 right) => throw null;\n static Test.Class11 Test.IInterface2.operator /(Test.Class11 left, Test.Class11 right) => throw null;\n public void M1() => throw null;\n void Test.IInterface2.M2() => throw null;\n}\n\n// Generated from `Test.Class3` in `Test.cs:84:18:84:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class3\n{\n public object Item { get => throw null; set => throw null; }\n [System.Runtime.CompilerServices.IndexerName("MyItem")]\n public object this[string index] { get => throw null; set => throw null; }\n}\n\n// Generated from `Test.Class4` in `Test.cs:91:18:91:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class4\n{\n unsafe public void M(int* p) => throw null;\n}\n\n// Generated from `Test.Class5` in `Test.cs:102:18:102:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class5 : Test.IInterface1\n{\n public void M2() => throw null;\n}\n\n// Generated from `Test.Class6<>` in `Test.cs:107:18:107:26; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class6 where T: class, Test.IInterface1\n{\n public virtual void M1() where T: class, Test.IInterface1, new() => throw null;\n}\n\n// Generated from `Test.Class7` in `Test.cs:114:18:114:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class7 : Test.Class6\n{\n public override void M1() where T: class => throw null;\n}\n\n// Generated from `Test.Class8` in `Test.cs:121:18:121:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class8\n{\n public static int @this = default;\n}\n\n// Generated from `Test.Class9` in `Test.cs:126:18:126:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class9\n{\n// Generated from `Test.Class9+Nested` in `Test.cs:130:22:130:27; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Nested : Test.Class9\n{\n}\n\n\n public Test.Class9.Nested NestedInstance { get => throw null; }\n}\n\n// Generated from `Test.Enum1` in `Test.cs:170:17:170:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum1 : int\n{\n None1 = 0,\n Some11 = 1,\n Some12 = 2,\n}\n\n// Generated from `Test.Enum2` in `Test.cs:177:17:177:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum2 : int\n{\n None2 = 2,\n Some21 = 1,\n Some22 = 3,\n}\n\n// Generated from `Test.Enum3` in `Test.cs:184:17:184:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum3 : int\n{\n None3 = 2,\n Some31 = 1,\n Some32 = 0,\n}\n\n// Generated from `Test.Enum4` in `Test.cs:191:17:191:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum4 : int\n{\n None4 = 2,\n Some41 = 7,\n Some42 = 6,\n}\n\n// Generated from `Test.EnumLong` in `Test.cs:198:17:198:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum EnumLong : long\n{\n None = 10,\n Some = 223372036854775807,\n}\n\n// Generated from `Test.IInterface1` in `Test.cs:96:22:96:32; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IInterface1\n{\n void M1() => throw null;\n void M2();\n}\n\n// Generated from `Test.IInterface2<>` in `Test.cs:143:22:143:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IInterface2 where T: Test.IInterface2\n{\n static abstract T operator *(T left, T right);\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n static virtual T operator /(T left, T right) => throw null;\n void M1();\n void M2();\n}\n\n// Generated from `Test.IInterface3<>` in `Test.cs:153:22:153:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IInterface3 where T: Test.IInterface3\n{\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n void M1();\n}\n\n}\n\n\n | +| // This file contains auto-generated code.\n\nnamespace A1\n{\n// Generated from `A1.C1` in `Test.cs:217:18:217:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C1\n{\n}\n\n}\nnamespace A2\n{\nnamespace B2\n{\n// Generated from `A2.B2.C2` in `Test.cs:224:22:224:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C2\n{\n}\n\n}\n}\nnamespace A3\n{\n// Generated from `A3.C3` in `Test.cs:230:18:230:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C3\n{\n}\n\n}\nnamespace A4\n{\n// Generated from `A4.C4` in `Test.cs:240:18:240:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C4\n{\n}\n\nnamespace B4\n{\n// Generated from `A4.B4.D4` in `Test.cs:237:22:237:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class D4\n{\n}\n\n}\n}\nnamespace Test\n{\n// Generated from `Test.Class1` in `Test.cs:5:18:5:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class1\n{\n// Generated from `Test.Class1+Class11` in `Test.cs:34:22:34:28; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class11 : Test.Class1.Interface1, Test.Class1.Interface2\n{\n int Test.Class1.Interface2.this[int i] { get => throw null; }\n public void Method1() => throw null;\n void Test.Class1.Interface2.Method2() => throw null;\n}\n\n\n// Generated from `Test.Class1+Class12` in `Test.cs:51:22:51:28; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class12 : Test.Class1.Class11\n{\n}\n\n\n// Generated from `Test.Class1+Class13` in `Test.cs:63:31:63:37; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic abstract class Class13\n{\n protected internal virtual void M() => throw null;\n public virtual void M1() where T: Test.Class1.Class13 => throw null;\n public abstract void M2();\n}\n\n\n// Generated from `Test.Class1+Class14` in `Test.cs:70:31:70:37; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic abstract class Class14 : Test.Class1.Class13\n{\n protected internal override void M() => throw null;\n public override void M1() => throw null;\n public abstract override void M2();\n}\n\n\n// Generated from `Test.Class1+Delegate1<>` in `Test.cs:47:30:47:41; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic delegate void Delegate1(T i, int j);\n\n\n// Generated from `Test.Class1+GenericType<>` in `Test.cs:56:22:56:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class GenericType\n{\n// Generated from `Test.Class1+GenericType<>+X` in `Test.cs:58:26:58:26; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class X\n{\n}\n\n\n}\n\n\n// Generated from `Test.Class1+Interface1` in `Test.cs:18:26:18:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface Interface1\n{\n void Method1();\n}\n\n\n// Generated from `Test.Class1+Interface2` in `Test.cs:23:38:23:47; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\nprotected internal interface Interface2\n{\n int this[int i] { get; }\n void Method2();\n}\n\n\n// Generated from `Test.Class1+Struct1` in `Test.cs:7:23:7:29; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic struct Struct1\n{\n public void Method(Test.Class1.Struct1 s = default(Test.Class1.Struct1)) => throw null;\n public int i;\n public static int j = default;\n public System.ValueTuple t1;\n public (int,int) t2;\n}\n\n\n public event Test.Class1.Delegate1 Event1;\n public Test.Class1.GenericType.X Prop { get => throw null; }\n}\n\n// Generated from `Test.Class10` in `Test.cs:138:18:138:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class10\n{\n unsafe public void M1(delegate* unmanaged f) => throw null;\n}\n\n// Generated from `Test.Class11` in `Test.cs:163:18:163:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class11 : Test.IInterface2, Test.IInterface3\n{\n static Test.Class11 Test.IInterface2.operator *(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator +(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator -(Test.Class11 left, Test.Class11 right) => throw null;\n static Test.Class11 Test.IInterface2.operator /(Test.Class11 left, Test.Class11 right) => throw null;\n public void M1() => throw null;\n void Test.IInterface2.M2() => throw null;\n public static explicit operator System.Int16(Test.Class11 n) => throw null;\n static explicit Test.IInterface2.operator int(Test.Class11 n) => throw null;\n}\n\n// Generated from `Test.Class3` in `Test.cs:84:18:84:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class3\n{\n public object Item { get => throw null; set => throw null; }\n [System.Runtime.CompilerServices.IndexerName("MyItem")]\n public object this[string index] { get => throw null; set => throw null; }\n}\n\n// Generated from `Test.Class4` in `Test.cs:91:18:91:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class4\n{\n unsafe public void M(int* p) => throw null;\n}\n\n// Generated from `Test.Class5` in `Test.cs:102:18:102:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class5 : Test.IInterface1\n{\n public void M2() => throw null;\n}\n\n// Generated from `Test.Class6<>` in `Test.cs:107:18:107:26; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class6 where T: class, Test.IInterface1\n{\n public virtual void M1() where T: class, Test.IInterface1, new() => throw null;\n}\n\n// Generated from `Test.Class7` in `Test.cs:114:18:114:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class7 : Test.Class6\n{\n public override void M1() where T: class => throw null;\n}\n\n// Generated from `Test.Class8` in `Test.cs:121:18:121:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class8\n{\n public static int @this = default;\n}\n\n// Generated from `Test.Class9` in `Test.cs:126:18:126:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class9\n{\n// Generated from `Test.Class9+Nested` in `Test.cs:130:22:130:27; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Nested : Test.Class9\n{\n}\n\n\n public Test.Class9.Nested NestedInstance { get => throw null; }\n}\n\n// Generated from `Test.Enum1` in `Test.cs:175:17:175:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum1 : int\n{\n None1 = 0,\n Some11 = 1,\n Some12 = 2,\n}\n\n// Generated from `Test.Enum2` in `Test.cs:182:17:182:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum2 : int\n{\n None2 = 2,\n Some21 = 1,\n Some22 = 3,\n}\n\n// Generated from `Test.Enum3` in `Test.cs:189:17:189:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum3 : int\n{\n None3 = 2,\n Some31 = 1,\n Some32 = 0,\n}\n\n// Generated from `Test.Enum4` in `Test.cs:196:17:196:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum4 : int\n{\n None4 = 2,\n Some41 = 7,\n Some42 = 6,\n}\n\n// Generated from `Test.EnumLong` in `Test.cs:203:17:203:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum EnumLong : long\n{\n None = 10,\n Some = 223372036854775807,\n}\n\n// Generated from `Test.IInterface1` in `Test.cs:96:22:96:32; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IInterface1\n{\n void M1() => throw null;\n void M2();\n}\n\n// Generated from `Test.IInterface2<>` in `Test.cs:143:22:143:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IInterface2 where T: Test.IInterface2\n{\n static abstract T operator *(T left, T right);\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n static virtual T operator /(T left, T right) => throw null;\n void M1();\n void M2();\n static abstract explicit operator System.Int16(T n);\n static abstract explicit operator int(T n);\n}\n\n// Generated from `Test.IInterface3<>` in `Test.cs:155:22:155:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IInterface3 where T: Test.IInterface3\n{\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n void M1();\n static abstract explicit operator System.Int16(T n);\n}\n\n}\n\n\n | diff --git a/csharp/ql/test/query-tests/Stubs/All/Test.cs b/csharp/ql/test/query-tests/Stubs/All/Test.cs index b9678db710a..d8a8fdb443c 100644 --- a/csharp/ql/test/query-tests/Stubs/All/Test.cs +++ b/csharp/ql/test/query-tests/Stubs/All/Test.cs @@ -146,6 +146,8 @@ namespace Test static virtual T operator -(T left, T right) => throw null; static abstract T operator *(T left, T right); static virtual T operator /(T left, T right) => throw null; + static abstract explicit operator short(T n); + static abstract explicit operator int(T n); void M1(); void M2(); } @@ -154,6 +156,7 @@ namespace Test { static abstract T operator +(T left, T right); static virtual T operator -(T left, T right) => throw null; + static abstract explicit operator short(T n); void M1(); } @@ -165,6 +168,8 @@ namespace Test static Class11 IInterface2.operator /(Class11 left, Class11 right) => throw null; public void M1() => throw null; void IInterface2.M2() => throw null; + public static explicit operator short(Class11 n) => 0; + static explicit IInterface2.operator int(Class11 n) => 0; } public enum Enum1 From e797b5c22670c37142a6a196685109d79aec7d99 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Fri, 3 Mar 2023 09:14:35 +0100 Subject: [PATCH 072/145] C#: Narrow the set of declarations where we make explicit interface implementations. --- csharp/ql/src/Stubs/Stubs.qll | 46 +++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/csharp/ql/src/Stubs/Stubs.qll b/csharp/ql/src/Stubs/Stubs.qll index 83e84c971b8..5e5593cc8ae 100644 --- a/csharp/ql/src/Stubs/Stubs.qll +++ b/csharp/ql/src/Stubs/Stubs.qll @@ -400,7 +400,7 @@ private string stubAccessibility(Member m) { if m.getDeclaringType() instanceof Interface or - exists(getSingleSpecificImplementedInterface(m)) + exists(useExplicitImplementedInterface(m)) or m instanceof Constructor and m.isStatic() then result = "" @@ -713,13 +713,49 @@ private string stubEventAccessors(Event e) { else result = ";" } -private Interface getSingleSpecificImplementedInterface(Member c) { - result = unique(Interface i | i = c.(Virtualizable).getExplicitlyImplementedInterface()) +/** + * Returns an interface that `c` explicitly implements, if either or the + * following holds. + * (1) `c` is not static. + * (2) `c` is static and an implementation of a generic with type constraints. + * (3) `c` is static and there is another member with the same name + * but different return types. + * + * We use these rules, as explicit interfaces are needed in some cases, eg. + * for compilation purposes (both to distinguish members but also to ensure + * type constraints are satisfied). We can't always use the explicit interface + * due to the generic math support, because then in some cases we will only be + * able to access a static via a type variable with type + * constraints (C# 11 language feature). + */ +private Interface useExplicitImplementedInterface(Virtualizable c) { + result = unique(Interface i | i = c.getExplicitlyImplementedInterface()) and + ( + not c.isStatic() + or + c.isStatic() and + ( + not c instanceof Method + or + c instanceof Method and + ( + exists(TypeParameter t | t = c.getImplementee().(UnboundGeneric).getATypeParameter() | + exists(t.getConstraints().getATypeConstraint()) + ) + or + exists(Member m | + (not m.isStatic() or m.(Method).getReturnType() != c.(Method).getReturnType()) and + m.getName() = c.getName() and + m.getDeclaringType() = c.getDeclaringType() + ) + ) + ) + ) } private string stubExplicitImplementation(Member c) { - if exists(getSingleSpecificImplementedInterface(c)) - then result = stubClassName(getSingleSpecificImplementedInterface(c)) + "." + if exists(useExplicitImplementedInterface(c)) + then result = stubClassName(useExplicitImplementedInterface(c)) + "." else result = "" } From c8f7304d9b9268b21ed3a180a097cfc47c7a888a Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Tue, 7 Mar 2023 09:48:11 +0100 Subject: [PATCH 073/145] C#: Address review comments. --- csharp/ql/src/Stubs/Stubs.qll | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/csharp/ql/src/Stubs/Stubs.qll b/csharp/ql/src/Stubs/Stubs.qll index 5e5593cc8ae..e2198fc00dd 100644 --- a/csharp/ql/src/Stubs/Stubs.qll +++ b/csharp/ql/src/Stubs/Stubs.qll @@ -400,7 +400,7 @@ private string stubAccessibility(Member m) { if m.getDeclaringType() instanceof Interface or - exists(useExplicitImplementedInterface(m)) + exists(getExplicitImplementedInterface(m)) or m instanceof Constructor and m.isStatic() then result = "" @@ -714,21 +714,21 @@ private string stubEventAccessors(Event e) { } /** - * Returns an interface that `c` explicitly implements, if either or the - * following holds. + * Returns an interface that `c` explicitly implements, if either of the + * following also holds. * (1) `c` is not static. * (2) `c` is static and an implementation of a generic with type constraints. * (3) `c` is static and there is another member with the same name - * but different return types. + * but different return type. * - * We use these rules, as explicit interfaces are needed in some cases, eg. + * We use these rules as explicit interfaces are needed in some cases * for compilation purposes (both to distinguish members but also to ensure - * type constraints are satisfied). We can't always use the explicit interface - * due to the generic math support, because then in some cases we will only be - * able to access a static via a type variable with type + * type constraints are satisfied). We can't always use explicit interface + * implementation due to the generic math support, because then in some cases + * we will only be able to access a static via a type variable with type * constraints (C# 11 language feature). */ -private Interface useExplicitImplementedInterface(Virtualizable c) { +private Interface getExplicitImplementedInterface(Virtualizable c) { result = unique(Interface i | i = c.getExplicitlyImplementedInterface()) and ( not c.isStatic() @@ -754,8 +754,8 @@ private Interface useExplicitImplementedInterface(Virtualizable c) { } private string stubExplicitImplementation(Member c) { - if exists(useExplicitImplementedInterface(c)) - then result = stubClassName(useExplicitImplementedInterface(c)) + "." + if exists(getExplicitImplementedInterface(c)) + then result = stubClassName(getExplicitImplementedInterface(c)) + "." else result = "" } From e85b2ebd20c5b89cc8a51e242ff4dbe724d985d9 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Tue, 7 Mar 2023 09:53:26 +0100 Subject: [PATCH 074/145] C#: Replace stub member comment with file level comment. --- csharp/ql/src/Stubs/Stubs.qll | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/csharp/ql/src/Stubs/Stubs.qll b/csharp/ql/src/Stubs/Stubs.qll index e2198fc00dd..276f3f7e8ab 100644 --- a/csharp/ql/src/Stubs/Stubs.qll +++ b/csharp/ql/src/Stubs/Stubs.qll @@ -120,15 +120,6 @@ abstract private class GeneratedType extends Type, GeneratedElement { else result = "" } - private string stubComment() { - exists(string qualifier, string name | - this.hasQualifiedName(qualifier, name) and - result = - "// Generated from `" + getQualifiedName(qualifier, name) + "` in `" + - concat(this.getALocation().toString(), "; ") + "`\n" - ) - } - /** Gets the entire C# stub code for this type. */ pragma[nomagic] final string getStub(Assembly assembly) { @@ -141,17 +132,16 @@ abstract private class GeneratedType extends Type, GeneratedElement { else ( not this instanceof DelegateType and result = - this.stubComment() + this.stubAttributes() + stubAccessibility(this) + - this.stubAbstractModifier() + this.stubStaticModifier() + this.stubPartialModifier() + - this.stubKeyword() + " " + this.getUndecoratedName() + stubGenericArguments(this) + - this.stubBaseTypesString() + stubTypeParametersConstraints(this) + "\n{\n" + - this.stubPrivateConstructor() + this.stubMembers(assembly) + "}\n\n" + this.stubAttributes() + stubAccessibility(this) + this.stubAbstractModifier() + + this.stubStaticModifier() + this.stubPartialModifier() + this.stubKeyword() + " " + + this.getUndecoratedName() + stubGenericArguments(this) + this.stubBaseTypesString() + + stubTypeParametersConstraints(this) + "\n{\n" + this.stubPrivateConstructor() + + this.stubMembers(assembly) + "}\n\n" or result = - this.stubComment() + this.stubAttributes() + stubUnsafe(this) + stubAccessibility(this) + - this.stubKeyword() + " " + stubClassName(this.(DelegateType).getReturnType()) + " " + - this.getUndecoratedName() + stubGenericArguments(this) + "(" + stubParameters(this) + - ");\n\n" + this.stubAttributes() + stubUnsafe(this) + stubAccessibility(this) + this.stubKeyword() + + " " + stubClassName(this.(DelegateType).getReturnType()) + " " + this.getUndecoratedName() + + stubGenericArguments(this) + "(" + stubParameters(this) + ");\n\n" ) } @@ -968,6 +958,8 @@ private string stubSemmleExtractorOptions() { /** Gets the generated C# code. */ string generatedCode(Assembly assembly) { result = - "// This file contains auto-generated code.\n" + stubSemmleExtractorOptions() + "\n" + - any(GeneratedNamespace ns | ns.isGlobalNamespace()).getStubs(assembly) + "// This file contains auto-generated code.\n" // + + "// Generated from `" + assembly.getFullName() + "`.\n" // + + stubSemmleExtractorOptions() + "\n" // + + any(GeneratedNamespace ns | ns.isGlobalNamespace()).getStubs(assembly) } From 676c3528196a6ea00d41b62d2be8801388c08ed4 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Tue, 7 Mar 2023 09:53:53 +0100 Subject: [PATCH 075/145] C#: Update expected test output. --- csharp/ql/test/query-tests/Stubs/All/AllStubs.expected | 2 +- .../query-tests/Stubs/Minimal/MinimalStubsFromSource.expected | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected b/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected index 55dae1faff2..187485652aa 100644 --- a/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected +++ b/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected @@ -1 +1 @@ -| // This file contains auto-generated code.\n\nnamespace A1\n{\n// Generated from `A1.C1` in `Test.cs:217:18:217:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C1\n{\n}\n\n}\nnamespace A2\n{\nnamespace B2\n{\n// Generated from `A2.B2.C2` in `Test.cs:224:22:224:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C2\n{\n}\n\n}\n}\nnamespace A3\n{\n// Generated from `A3.C3` in `Test.cs:230:18:230:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C3\n{\n}\n\n}\nnamespace A4\n{\n// Generated from `A4.C4` in `Test.cs:240:18:240:19; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class C4\n{\n}\n\nnamespace B4\n{\n// Generated from `A4.B4.D4` in `Test.cs:237:22:237:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class D4\n{\n}\n\n}\n}\nnamespace Test\n{\n// Generated from `Test.Class1` in `Test.cs:5:18:5:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class1\n{\n// Generated from `Test.Class1+Class11` in `Test.cs:34:22:34:28; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class11 : Test.Class1.Interface1, Test.Class1.Interface2\n{\n int Test.Class1.Interface2.this[int i] { get => throw null; }\n public void Method1() => throw null;\n void Test.Class1.Interface2.Method2() => throw null;\n}\n\n\n// Generated from `Test.Class1+Class12` in `Test.cs:51:22:51:28; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class12 : Test.Class1.Class11\n{\n}\n\n\n// Generated from `Test.Class1+Class13` in `Test.cs:63:31:63:37; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic abstract class Class13\n{\n protected internal virtual void M() => throw null;\n public virtual void M1() where T: Test.Class1.Class13 => throw null;\n public abstract void M2();\n}\n\n\n// Generated from `Test.Class1+Class14` in `Test.cs:70:31:70:37; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic abstract class Class14 : Test.Class1.Class13\n{\n protected internal override void M() => throw null;\n public override void M1() => throw null;\n public abstract override void M2();\n}\n\n\n// Generated from `Test.Class1+Delegate1<>` in `Test.cs:47:30:47:41; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic delegate void Delegate1(T i, int j);\n\n\n// Generated from `Test.Class1+GenericType<>` in `Test.cs:56:22:56:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class GenericType\n{\n// Generated from `Test.Class1+GenericType<>+X` in `Test.cs:58:26:58:26; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class X\n{\n}\n\n\n}\n\n\n// Generated from `Test.Class1+Interface1` in `Test.cs:18:26:18:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface Interface1\n{\n void Method1();\n}\n\n\n// Generated from `Test.Class1+Interface2` in `Test.cs:23:38:23:47; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\nprotected internal interface Interface2\n{\n int this[int i] { get; }\n void Method2();\n}\n\n\n// Generated from `Test.Class1+Struct1` in `Test.cs:7:23:7:29; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic struct Struct1\n{\n public void Method(Test.Class1.Struct1 s = default(Test.Class1.Struct1)) => throw null;\n public int i;\n public static int j = default;\n public System.ValueTuple t1;\n public (int,int) t2;\n}\n\n\n public event Test.Class1.Delegate1 Event1;\n public Test.Class1.GenericType.X Prop { get => throw null; }\n}\n\n// Generated from `Test.Class10` in `Test.cs:138:18:138:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class10\n{\n unsafe public void M1(delegate* unmanaged f) => throw null;\n}\n\n// Generated from `Test.Class11` in `Test.cs:163:18:163:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class11 : Test.IInterface2, Test.IInterface3\n{\n static Test.Class11 Test.IInterface2.operator *(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator +(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator -(Test.Class11 left, Test.Class11 right) => throw null;\n static Test.Class11 Test.IInterface2.operator /(Test.Class11 left, Test.Class11 right) => throw null;\n public void M1() => throw null;\n void Test.IInterface2.M2() => throw null;\n public static explicit operator System.Int16(Test.Class11 n) => throw null;\n static explicit Test.IInterface2.operator int(Test.Class11 n) => throw null;\n}\n\n// Generated from `Test.Class3` in `Test.cs:84:18:84:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class3\n{\n public object Item { get => throw null; set => throw null; }\n [System.Runtime.CompilerServices.IndexerName("MyItem")]\n public object this[string index] { get => throw null; set => throw null; }\n}\n\n// Generated from `Test.Class4` in `Test.cs:91:18:91:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class4\n{\n unsafe public void M(int* p) => throw null;\n}\n\n// Generated from `Test.Class5` in `Test.cs:102:18:102:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class5 : Test.IInterface1\n{\n public void M2() => throw null;\n}\n\n// Generated from `Test.Class6<>` in `Test.cs:107:18:107:26; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class6 where T: class, Test.IInterface1\n{\n public virtual void M1() where T: class, Test.IInterface1, new() => throw null;\n}\n\n// Generated from `Test.Class7` in `Test.cs:114:18:114:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class7 : Test.Class6\n{\n public override void M1() where T: class => throw null;\n}\n\n// Generated from `Test.Class8` in `Test.cs:121:18:121:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class8\n{\n public static int @this = default;\n}\n\n// Generated from `Test.Class9` in `Test.cs:126:18:126:23; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Class9\n{\n// Generated from `Test.Class9+Nested` in `Test.cs:130:22:130:27; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Nested : Test.Class9\n{\n}\n\n\n public Test.Class9.Nested NestedInstance { get => throw null; }\n}\n\n// Generated from `Test.Enum1` in `Test.cs:175:17:175:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum1 : int\n{\n None1 = 0,\n Some11 = 1,\n Some12 = 2,\n}\n\n// Generated from `Test.Enum2` in `Test.cs:182:17:182:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum2 : int\n{\n None2 = 2,\n Some21 = 1,\n Some22 = 3,\n}\n\n// Generated from `Test.Enum3` in `Test.cs:189:17:189:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum3 : int\n{\n None3 = 2,\n Some31 = 1,\n Some32 = 0,\n}\n\n// Generated from `Test.Enum4` in `Test.cs:196:17:196:21; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum Enum4 : int\n{\n None4 = 2,\n Some41 = 7,\n Some42 = 6,\n}\n\n// Generated from `Test.EnumLong` in `Test.cs:203:17:203:24; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic enum EnumLong : long\n{\n None = 10,\n Some = 223372036854775807,\n}\n\n// Generated from `Test.IInterface1` in `Test.cs:96:22:96:32; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IInterface1\n{\n void M1() => throw null;\n void M2();\n}\n\n// Generated from `Test.IInterface2<>` in `Test.cs:143:22:143:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IInterface2 where T: Test.IInterface2\n{\n static abstract T operator *(T left, T right);\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n static virtual T operator /(T left, T right) => throw null;\n void M1();\n void M2();\n static abstract explicit operator System.Int16(T n);\n static abstract explicit operator int(T n);\n}\n\n// Generated from `Test.IInterface3<>` in `Test.cs:155:22:155:35; Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IInterface3 where T: Test.IInterface3\n{\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n void M1();\n static abstract explicit operator System.Int16(T n);\n}\n\n}\n\n\n | +| // This file contains auto-generated code.\n// Generated from `Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`.\n\nnamespace A1\n{\npublic class C1\n{\n}\n\n}\nnamespace A2\n{\nnamespace B2\n{\npublic class C2\n{\n}\n\n}\n}\nnamespace A3\n{\npublic class C3\n{\n}\n\n}\nnamespace A4\n{\npublic class C4\n{\n}\n\nnamespace B4\n{\npublic class D4\n{\n}\n\n}\n}\nnamespace Test\n{\npublic class Class1\n{\npublic class Class11 : Test.Class1.Interface1, Test.Class1.Interface2\n{\n int Test.Class1.Interface2.this[int i] { get => throw null; }\n public void Method1() => throw null;\n void Test.Class1.Interface2.Method2() => throw null;\n}\n\n\npublic class Class12 : Test.Class1.Class11\n{\n}\n\n\npublic abstract class Class13\n{\n protected internal virtual void M() => throw null;\n public virtual void M1() where T: Test.Class1.Class13 => throw null;\n public abstract void M2();\n}\n\n\npublic abstract class Class14 : Test.Class1.Class13\n{\n protected internal override void M() => throw null;\n public override void M1() => throw null;\n public abstract override void M2();\n}\n\n\npublic delegate void Delegate1(T i, int j);\n\n\npublic class GenericType\n{\npublic class X\n{\n}\n\n\n}\n\n\npublic interface Interface1\n{\n void Method1();\n}\n\n\nprotected internal interface Interface2\n{\n int this[int i] { get; }\n void Method2();\n}\n\n\npublic struct Struct1\n{\n public void Method(Test.Class1.Struct1 s = default(Test.Class1.Struct1)) => throw null;\n public int i;\n public static int j = default;\n public System.ValueTuple t1;\n public (int,int) t2;\n}\n\n\n public event Test.Class1.Delegate1 Event1;\n public Test.Class1.GenericType.X Prop { get => throw null; }\n}\n\npublic class Class10\n{\n unsafe public void M1(delegate* unmanaged f) => throw null;\n}\n\npublic class Class11 : Test.IInterface2, Test.IInterface3\n{\n static Test.Class11 Test.IInterface2.operator *(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator +(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator -(Test.Class11 left, Test.Class11 right) => throw null;\n static Test.Class11 Test.IInterface2.operator /(Test.Class11 left, Test.Class11 right) => throw null;\n public void M1() => throw null;\n void Test.IInterface2.M2() => throw null;\n public static explicit operator System.Int16(Test.Class11 n) => throw null;\n static explicit Test.IInterface2.operator int(Test.Class11 n) => throw null;\n}\n\npublic class Class3\n{\n public object Item { get => throw null; set => throw null; }\n [System.Runtime.CompilerServices.IndexerName("MyItem")]\n public object this[string index] { get => throw null; set => throw null; }\n}\n\npublic class Class4\n{\n unsafe public void M(int* p) => throw null;\n}\n\npublic class Class5 : Test.IInterface1\n{\n public void M2() => throw null;\n}\n\npublic class Class6 where T: class, Test.IInterface1\n{\n public virtual void M1() where T: class, Test.IInterface1, new() => throw null;\n}\n\npublic class Class7 : Test.Class6\n{\n public override void M1() where T: class => throw null;\n}\n\npublic class Class8\n{\n public static int @this = default;\n}\n\npublic class Class9\n{\npublic class Nested : Test.Class9\n{\n}\n\n\n public Test.Class9.Nested NestedInstance { get => throw null; }\n}\n\npublic enum Enum1 : int\n{\n None1 = 0,\n Some11 = 1,\n Some12 = 2,\n}\n\npublic enum Enum2 : int\n{\n None2 = 2,\n Some21 = 1,\n Some22 = 3,\n}\n\npublic enum Enum3 : int\n{\n None3 = 2,\n Some31 = 1,\n Some32 = 0,\n}\n\npublic enum Enum4 : int\n{\n None4 = 2,\n Some41 = 7,\n Some42 = 6,\n}\n\npublic enum EnumLong : long\n{\n None = 10,\n Some = 223372036854775807,\n}\n\npublic interface IInterface1\n{\n void M1() => throw null;\n void M2();\n}\n\npublic interface IInterface2 where T: Test.IInterface2\n{\n static abstract T operator *(T left, T right);\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n static virtual T operator /(T left, T right) => throw null;\n void M1();\n void M2();\n static abstract explicit operator System.Int16(T n);\n static abstract explicit operator int(T n);\n}\n\npublic interface IInterface3 where T: Test.IInterface3\n{\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n void M1();\n static abstract explicit operator System.Int16(T n);\n}\n\n}\n\n\n | diff --git a/csharp/ql/test/query-tests/Stubs/Minimal/MinimalStubsFromSource.expected b/csharp/ql/test/query-tests/Stubs/Minimal/MinimalStubsFromSource.expected index ca740f0a899..629addbb336 100644 --- a/csharp/ql/test/query-tests/Stubs/Minimal/MinimalStubsFromSource.expected +++ b/csharp/ql/test/query-tests/Stubs/Minimal/MinimalStubsFromSource.expected @@ -1 +1 @@ -| // This file contains auto-generated code.\n\nnamespace System\n{\n// Generated from `System.Uri` in `System.Private.Uri, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class Uri : System.Runtime.Serialization.ISerializable\n{\n public override bool Equals(object comparand) => throw null;\n public override int GetHashCode() => throw null;\n void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null;\n public override string ToString() => throw null;\n}\n\n}\n\n\n// This file contains auto-generated code.\n\nnamespace System\n{\nnamespace Collections\n{\n// Generated from `System.Collections.SortedList` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class SortedList : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.ICloneable\n{\n public virtual void Add(object key, object value) => throw null;\n public virtual void Clear() => throw null;\n public virtual object Clone() => throw null;\n public virtual bool Contains(object key) => throw null;\n public virtual void CopyTo(System.Array array, int arrayIndex) => throw null;\n public virtual int Count { get => throw null; }\n public virtual object GetByIndex(int index) => throw null;\n public virtual System.Collections.IDictionaryEnumerator GetEnumerator() => throw null;\n System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null;\n public virtual bool IsFixedSize { get => throw null; }\n public virtual bool IsReadOnly { get => throw null; }\n public virtual bool IsSynchronized { get => throw null; }\n public virtual object this[object key] { get => throw null; set => throw null; }\n public virtual System.Collections.ICollection Keys { get => throw null; }\n public virtual void Remove(object key) => throw null;\n public virtual object SyncRoot { get => throw null; }\n public virtual System.Collections.ICollection Values { get => throw null; }\n}\n\n}\n}\n\n\n// This file contains auto-generated code.\n\nnamespace System\n{\nnamespace Collections\n{\nnamespace Generic\n{\n// Generated from `System.Collections.Generic.Stack<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class Stack : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable\n{\n void System.Collections.ICollection.CopyTo(System.Array array, int arrayIndex) => throw null;\n public int Count { get => throw null; }\n System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null;\n System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null;\n bool System.Collections.ICollection.IsSynchronized { get => throw null; }\n public T Peek() => throw null;\n object System.Collections.ICollection.SyncRoot { get => throw null; }\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n\nnamespace System\n{\nnamespace Collections\n{\nnamespace Specialized\n{\n// Generated from `System.Collections.Specialized.NameObjectCollectionBase` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic abstract class NameObjectCollectionBase : System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable\n{\n void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null;\n public virtual int Count { get => throw null; }\n public virtual System.Collections.IEnumerator GetEnumerator() => throw null;\n public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null;\n bool System.Collections.ICollection.IsSynchronized { get => throw null; }\n public virtual void OnDeserialization(object sender) => throw null;\n object System.Collections.ICollection.SyncRoot { get => throw null; }\n}\n\n// Generated from `System.Collections.Specialized.NameValueCollection` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class NameValueCollection : System.Collections.Specialized.NameObjectCollectionBase\n{\n public string this[string name] { get => throw null; set => throw null; }\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n\nnamespace System\n{\nnamespace ComponentModel\n{\n// Generated from `System.ComponentModel.ComponentConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class ComponentConverter : System.ComponentModel.ReferenceConverter\n{\n}\n\n// Generated from `System.ComponentModel.DefaultEventAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class DefaultEventAttribute : System.Attribute\n{\n public DefaultEventAttribute(string name) => throw null;\n public override bool Equals(object obj) => throw null;\n public override int GetHashCode() => throw null;\n}\n\n// Generated from `System.ComponentModel.DefaultPropertyAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class DefaultPropertyAttribute : System.Attribute\n{\n public DefaultPropertyAttribute(string name) => throw null;\n public override bool Equals(object obj) => throw null;\n public override int GetHashCode() => throw null;\n}\n\n// Generated from `System.ComponentModel.ReferenceConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class ReferenceConverter : System.ComponentModel.TypeConverter\n{\n}\n\n// Generated from `System.ComponentModel.TypeConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class TypeConverter\n{\n}\n\n}\nnamespace Timers\n{\n// Generated from `System.Timers.TimersDescriptionAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class TimersDescriptionAttribute\n{\n public TimersDescriptionAttribute(string description) => throw null;\n internal TimersDescriptionAttribute(string description, string unused) => throw null;\n}\n\n}\n}\n\n\n// This file contains auto-generated code.\n\nnamespace System\n{\nnamespace ComponentModel\n{\n// Generated from `System.ComponentModel.TypeConverterAttribute` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class TypeConverterAttribute : System.Attribute\n{\n public override bool Equals(object obj) => throw null;\n public override int GetHashCode() => throw null;\n public TypeConverterAttribute() => throw null;\n public TypeConverterAttribute(System.Type type) => throw null;\n public TypeConverterAttribute(string typeName) => throw null;\n}\n\n// Generated from `System.ComponentModel.TypeDescriptionProviderAttribute` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class TypeDescriptionProviderAttribute : System.Attribute\n{\n public TypeDescriptionProviderAttribute(System.Type type) => throw null;\n public TypeDescriptionProviderAttribute(string typeName) => throw null;\n}\n\n}\nnamespace Windows\n{\nnamespace Markup\n{\n// Generated from `System.Windows.Markup.ValueSerializerAttribute` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class ValueSerializerAttribute : System.Attribute\n{\n public ValueSerializerAttribute(System.Type valueSerializerType) => throw null;\n public ValueSerializerAttribute(string valueSerializerTypeName) => throw null;\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n\nnamespace System\n{\nnamespace Linq\n{\n// Generated from `System.Linq.Enumerable` in `System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic static class Enumerable\n{\n public static System.Collections.Generic.IEnumerable Select(this System.Collections.Generic.IEnumerable source, System.Func selector) => throw null;\n}\n\n}\n}\n\n\n// This file contains auto-generated code.\n\nnamespace System\n{\nnamespace Linq\n{\n// Generated from `System.Linq.IQueryable` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic interface IQueryable : System.Collections.IEnumerable\n{\n}\n\n}\nnamespace Runtime\n{\nnamespace CompilerServices\n{\n// Generated from `System.Runtime.CompilerServices.CallSite` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class CallSite\n{\n internal CallSite(System.Runtime.CompilerServices.CallSiteBinder binder) => throw null;\n}\n\n// Generated from `System.Runtime.CompilerServices.CallSite<>` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class CallSite : System.Runtime.CompilerServices.CallSite where T: class\n{\n private CallSite() : base(default(System.Runtime.CompilerServices.CallSiteBinder)) => throw null;\n private CallSite(System.Runtime.CompilerServices.CallSiteBinder binder) : base(default(System.Runtime.CompilerServices.CallSiteBinder)) => throw null;\n}\n\n// Generated from `System.Runtime.CompilerServices.CallSiteBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic abstract class CallSiteBinder\n{\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n\nnamespace System\n{\nnamespace Linq\n{\n// Generated from `System.Linq.ParallelEnumerable` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic static class ParallelEnumerable\n{\n public static System.Linq.ParallelQuery AsParallel(this System.Collections.IEnumerable source) => throw null;\n}\n\n// Generated from `System.Linq.ParallelQuery` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class ParallelQuery : System.Collections.IEnumerable\n{\n System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null;\n internal ParallelQuery(System.Linq.Parallel.QuerySettings specifiedSettings) => throw null;\n}\n\nnamespace Parallel\n{\n// Generated from `System.Linq.Parallel.QuerySettings` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\ninternal struct QuerySettings\n{\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n\nnamespace System\n{\nnamespace Linq\n{\n// Generated from `System.Linq.Queryable` in `System.Linq.Queryable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic static class Queryable\n{\n public static System.Linq.IQueryable AsQueryable(this System.Collections.IEnumerable source) => throw null;\n}\n\n}\n}\n\n\n// This file contains auto-generated code.\n\nnamespace System\n{\nnamespace Runtime\n{\nnamespace Serialization\n{\n// Generated from `System.Runtime.Serialization.DataContractAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class DataContractAttribute : System.Attribute\n{\n public DataContractAttribute() => throw null;\n}\n\n// Generated from `System.Runtime.Serialization.DataMemberAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class DataMemberAttribute : System.Attribute\n{\n public DataMemberAttribute() => throw null;\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n\nnamespace System\n{\nnamespace Text\n{\nnamespace RegularExpressions\n{\n// Generated from `System.Text.RegularExpressions.Capture` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class Capture\n{\n internal Capture(string text, int index, int length) => throw null;\n public override string ToString() => throw null;\n}\n\n// Generated from `System.Text.RegularExpressions.GeneratedRegexAttribute` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class GeneratedRegexAttribute : System.Attribute\n{\n public GeneratedRegexAttribute(string pattern) => throw null;\n public GeneratedRegexAttribute(string pattern, System.Text.RegularExpressions.RegexOptions options) => throw null;\n public GeneratedRegexAttribute(string pattern, System.Text.RegularExpressions.RegexOptions options, int matchTimeoutMilliseconds) => throw null;\n public GeneratedRegexAttribute(string pattern, System.Text.RegularExpressions.RegexOptions options, int matchTimeoutMilliseconds, string cultureName) => throw null;\n public GeneratedRegexAttribute(string pattern, System.Text.RegularExpressions.RegexOptions options, string cultureName) => throw null;\n}\n\n// Generated from `System.Text.RegularExpressions.Group` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class Group : System.Text.RegularExpressions.Capture\n{\n internal Group(string text, int[] caps, int capcount, string name) : base(default(string), default(int), default(int)) => throw null;\n}\n\n// Generated from `System.Text.RegularExpressions.Match` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class Match : System.Text.RegularExpressions.Group\n{\n internal Match(System.Text.RegularExpressions.Regex regex, int capcount, string text, int textLength) : base(default(string), default(int[]), default(int), default(string)) => throw null;\n}\n\n// Generated from `System.Text.RegularExpressions.Regex` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\npublic class Regex : System.Runtime.Serialization.ISerializable\n{\n void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) => throw null;\n public System.Text.RegularExpressions.Match Match(string input) => throw null;\n public static System.Text.RegularExpressions.Match Match(string input, string pattern) => throw null;\n public static System.Text.RegularExpressions.Match Match(string input, string pattern, System.Text.RegularExpressions.RegexOptions options, System.TimeSpan matchTimeout) => throw null;\n public Regex(string pattern) => throw null;\n public Regex(string pattern, System.Text.RegularExpressions.RegexOptions options, System.TimeSpan matchTimeout) => throw null;\n public string Replace(string input, string replacement) => throw null;\n public override string ToString() => throw null;\n}\n\n// Generated from `System.Text.RegularExpressions.RegexOptions` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`\n[System.Flags]\npublic enum RegexOptions : int\n{\n IgnoreCase = 1,\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n\nnamespace System\n{\nnamespace Web\n{\n// Generated from `System.Web.HtmlString` in `../../../resources/stubs/System.Web.cs:34:18:34:27; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class HtmlString : System.Web.IHtmlString\n{\n}\n\n// Generated from `System.Web.HttpContextBase` in `../../../resources/stubs/System.Web.cs:24:18:24:32; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class HttpContextBase\n{\n public virtual System.Web.HttpRequestBase Request { get => throw null; }\n}\n\n// Generated from `System.Web.HttpCookie` in `../../../resources/stubs/System.Web.cs:174:18:174:27; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class HttpCookie\n{\n}\n\n// Generated from `System.Web.HttpCookieCollection` in `../../../resources/stubs/System.Web.cs:192:27:192:46; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic abstract class HttpCookieCollection : System.Collections.Specialized.NameObjectCollectionBase\n{\n}\n\n// Generated from `System.Web.HttpRequest` in `../../../resources/stubs/System.Web.cs:145:18:145:28; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class HttpRequest\n{\n}\n\n// Generated from `System.Web.HttpRequestBase` in `../../../resources/stubs/System.Web.cs:10:18:10:32; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class HttpRequestBase\n{\n public virtual System.Collections.Specialized.NameValueCollection QueryString { get => throw null; }\n}\n\n// Generated from `System.Web.HttpResponse` in `../../../resources/stubs/System.Web.cs:156:18:156:29; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class HttpResponse\n{\n}\n\n// Generated from `System.Web.HttpResponseBase` in `../../../resources/stubs/System.Web.cs:19:18:19:33; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class HttpResponseBase\n{\n}\n\n// Generated from `System.Web.HttpServerUtility` in `../../../resources/stubs/System.Web.cs:41:18:41:34; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class HttpServerUtility\n{\n}\n\n// Generated from `System.Web.IHtmlString` in `../../../resources/stubs/System.Web.cs:30:22:30:32; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IHtmlString\n{\n}\n\n// Generated from `System.Web.IHttpHandler` in `../../../resources/stubs/System.Web.cs:132:22:132:33; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IHttpHandler\n{\n}\n\n// Generated from `System.Web.IServiceProvider` in `../../../resources/stubs/System.Web.cs:136:22:136:37; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IServiceProvider\n{\n}\n\n// Generated from `System.Web.UnvalidatedRequestValues` in `../../../resources/stubs/System.Web.cs:140:18:140:41; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class UnvalidatedRequestValues\n{\n}\n\n// Generated from `System.Web.UnvalidatedRequestValuesBase` in `../../../resources/stubs/System.Web.cs:5:18:5:45; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class UnvalidatedRequestValuesBase\n{\n}\n\nnamespace Mvc\n{\n// Generated from `System.Web.Mvc.ActionMethodSelectorAttribute` in `../../../resources/stubs/System.Web.cs:241:18:241:46; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class ActionMethodSelectorAttribute : System.Attribute\n{\n}\n\n// Generated from `System.Web.Mvc.ActionResult` in `../../../resources/stubs/System.Web.cs:233:18:233:29; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class ActionResult\n{\n}\n\n// Generated from `System.Web.Mvc.ControllerContext` in `../../../resources/stubs/System.Web.cs:211:18:211:34; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class ControllerContext\n{\n}\n\n// Generated from `System.Web.Mvc.FilterAttribute` in `../../../resources/stubs/System.Web.cs:237:18:237:32; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class FilterAttribute : System.Attribute\n{\n}\n\n// Generated from `System.Web.Mvc.GlobalFilterCollection` in `../../../resources/stubs/System.Web.cs:281:18:281:39; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class GlobalFilterCollection\n{\n}\n\n// Generated from `System.Web.Mvc.IFilterProvider` in `../../../resources/stubs/System.Web.cs:277:15:277:29; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\ninternal interface IFilterProvider\n{\n}\n\n// Generated from `System.Web.Mvc.IViewDataContainer` in `../../../resources/stubs/System.Web.cs:219:22:219:39; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic interface IViewDataContainer\n{\n}\n\n// Generated from `System.Web.Mvc.ViewContext` in `../../../resources/stubs/System.Web.cs:215:18:215:28; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class ViewContext : System.Web.Mvc.ControllerContext\n{\n}\n\n// Generated from `System.Web.Mvc.ViewResult` in `../../../resources/stubs/System.Web.cs:273:18:273:27; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class ViewResult : System.Web.Mvc.ViewResultBase\n{\n}\n\n// Generated from `System.Web.Mvc.ViewResultBase` in `../../../resources/stubs/System.Web.cs:269:18:269:31; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class ViewResultBase : System.Web.Mvc.ActionResult\n{\n}\n\n}\nnamespace Routing\n{\n// Generated from `System.Web.Routing.RequestContext` in `../../../resources/stubs/System.Web.cs:300:18:300:31; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class RequestContext\n{\n}\n\n}\nnamespace Script\n{\nnamespace Serialization\n{\n// Generated from `System.Web.Script.Serialization.JavaScriptTypeResolver` in `../../../resources/stubs/System.Web.cs:365:27:365:48; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic abstract class JavaScriptTypeResolver\n{\n}\n\n}\n}\nnamespace Security\n{\n// Generated from `System.Web.Security.MembershipUser` in `../../../resources/stubs/System.Web.cs:323:18:323:31; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class MembershipUser\n{\n}\n\n}\nnamespace SessionState\n{\n// Generated from `System.Web.SessionState.HttpSessionState` in `../../../resources/stubs/System.Web.cs:201:18:201:33; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class HttpSessionState\n{\n}\n\n}\nnamespace UI\n{\n// Generated from `System.Web.UI.Control` in `../../../resources/stubs/System.Web.cs:76:18:76:24; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class Control\n{\n}\n\nnamespace WebControls\n{\n// Generated from `System.Web.UI.WebControls.WebControl` in `../../../resources/stubs/System.Web.cs:104:18:104:27; System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`\npublic class WebControl : System.Web.UI.Control\n{\n}\n\n}\n}\n}\n}\n\n\n | +| // This file contains auto-generated code.\n// Generated from `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.\n\nnamespace System\n{\nnamespace Collections\n{\nnamespace Generic\n{\npublic class Stack : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable\n{\n void System.Collections.ICollection.CopyTo(System.Array array, int arrayIndex) => throw null;\n public int Count { get => throw null; }\n System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null;\n System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null;\n bool System.Collections.ICollection.IsSynchronized { get => throw null; }\n public T Peek() => throw null;\n object System.Collections.ICollection.SyncRoot { get => throw null; }\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n// Generated from `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.\n\nnamespace System\n{\nnamespace Collections\n{\npublic class SortedList : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.ICloneable\n{\n public virtual void Add(object key, object value) => throw null;\n public virtual void Clear() => throw null;\n public virtual object Clone() => throw null;\n public virtual bool Contains(object key) => throw null;\n public virtual void CopyTo(System.Array array, int arrayIndex) => throw null;\n public virtual int Count { get => throw null; }\n public virtual object GetByIndex(int index) => throw null;\n public virtual System.Collections.IDictionaryEnumerator GetEnumerator() => throw null;\n System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null;\n public virtual bool IsFixedSize { get => throw null; }\n public virtual bool IsReadOnly { get => throw null; }\n public virtual bool IsSynchronized { get => throw null; }\n public virtual object this[object key] { get => throw null; set => throw null; }\n public virtual System.Collections.ICollection Keys { get => throw null; }\n public virtual void Remove(object key) => throw null;\n public virtual object SyncRoot { get => throw null; }\n public virtual System.Collections.ICollection Values { get => throw null; }\n}\n\n}\n}\n\n\n// This file contains auto-generated code.\n// Generated from `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.\n\nnamespace System\n{\nnamespace Collections\n{\nnamespace Specialized\n{\npublic abstract class NameObjectCollectionBase : System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable\n{\n void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null;\n public virtual int Count { get => throw null; }\n public virtual System.Collections.IEnumerator GetEnumerator() => throw null;\n public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null;\n bool System.Collections.ICollection.IsSynchronized { get => throw null; }\n public virtual void OnDeserialization(object sender) => throw null;\n object System.Collections.ICollection.SyncRoot { get => throw null; }\n}\n\npublic class NameValueCollection : System.Collections.Specialized.NameObjectCollectionBase\n{\n public string this[string name] { get => throw null; set => throw null; }\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n// Generated from `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.\n\nnamespace System\n{\nnamespace ComponentModel\n{\npublic class ComponentConverter : System.ComponentModel.ReferenceConverter\n{\n}\n\npublic class DefaultEventAttribute : System.Attribute\n{\n public DefaultEventAttribute(string name) => throw null;\n public override bool Equals(object obj) => throw null;\n public override int GetHashCode() => throw null;\n}\n\npublic class DefaultPropertyAttribute : System.Attribute\n{\n public DefaultPropertyAttribute(string name) => throw null;\n public override bool Equals(object obj) => throw null;\n public override int GetHashCode() => throw null;\n}\n\npublic class ReferenceConverter : System.ComponentModel.TypeConverter\n{\n}\n\npublic class TypeConverter\n{\n}\n\n}\nnamespace Timers\n{\npublic class TimersDescriptionAttribute\n{\n public TimersDescriptionAttribute(string description) => throw null;\n internal TimersDescriptionAttribute(string description, string unused) => throw null;\n}\n\n}\n}\n\n\n// This file contains auto-generated code.\n// Generated from `System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.\n\nnamespace System\n{\nnamespace Linq\n{\npublic static class Enumerable\n{\n public static System.Collections.Generic.IEnumerable Select(this System.Collections.Generic.IEnumerable source, System.Func selector) => throw null;\n}\n\n}\n}\n\n\n// This file contains auto-generated code.\n// Generated from `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.\n\nnamespace System\n{\nnamespace Linq\n{\npublic interface IQueryable : System.Collections.IEnumerable\n{\n}\n\n}\nnamespace Runtime\n{\nnamespace CompilerServices\n{\npublic class CallSite\n{\n internal CallSite(System.Runtime.CompilerServices.CallSiteBinder binder) => throw null;\n}\n\npublic class CallSite : System.Runtime.CompilerServices.CallSite where T: class\n{\n private CallSite() : base(default(System.Runtime.CompilerServices.CallSiteBinder)) => throw null;\n private CallSite(System.Runtime.CompilerServices.CallSiteBinder binder) : base(default(System.Runtime.CompilerServices.CallSiteBinder)) => throw null;\n}\n\npublic abstract class CallSiteBinder\n{\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n// Generated from `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.\n\nnamespace System\n{\nnamespace Linq\n{\npublic static class ParallelEnumerable\n{\n public static System.Linq.ParallelQuery AsParallel(this System.Collections.IEnumerable source) => throw null;\n}\n\npublic class ParallelQuery : System.Collections.IEnumerable\n{\n System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null;\n internal ParallelQuery(System.Linq.Parallel.QuerySettings specifiedSettings) => throw null;\n}\n\nnamespace Parallel\n{\ninternal struct QuerySettings\n{\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n// Generated from `System.Linq.Queryable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.\n\nnamespace System\n{\nnamespace Linq\n{\npublic static class Queryable\n{\n public static System.Linq.IQueryable AsQueryable(this System.Collections.IEnumerable source) => throw null;\n}\n\n}\n}\n\n\n// This file contains auto-generated code.\n// Generated from `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.\n\nnamespace System\n{\nnamespace ComponentModel\n{\npublic class TypeConverterAttribute : System.Attribute\n{\n public override bool Equals(object obj) => throw null;\n public override int GetHashCode() => throw null;\n public TypeConverterAttribute() => throw null;\n public TypeConverterAttribute(System.Type type) => throw null;\n public TypeConverterAttribute(string typeName) => throw null;\n}\n\npublic class TypeDescriptionProviderAttribute : System.Attribute\n{\n public TypeDescriptionProviderAttribute(System.Type type) => throw null;\n public TypeDescriptionProviderAttribute(string typeName) => throw null;\n}\n\n}\nnamespace Windows\n{\nnamespace Markup\n{\npublic class ValueSerializerAttribute : System.Attribute\n{\n public ValueSerializerAttribute(System.Type valueSerializerType) => throw null;\n public ValueSerializerAttribute(string valueSerializerTypeName) => throw null;\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n// Generated from `System.Private.Uri, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.\n\nnamespace System\n{\npublic class Uri : System.Runtime.Serialization.ISerializable\n{\n public override bool Equals(object comparand) => throw null;\n public override int GetHashCode() => throw null;\n void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null;\n public override string ToString() => throw null;\n}\n\n}\n\n\n// This file contains auto-generated code.\n// Generated from `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.\n\nnamespace System\n{\nnamespace Runtime\n{\nnamespace Serialization\n{\npublic class DataContractAttribute : System.Attribute\n{\n public DataContractAttribute() => throw null;\n}\n\npublic class DataMemberAttribute : System.Attribute\n{\n public DataMemberAttribute() => throw null;\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n// Generated from `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.\n\nnamespace System\n{\nnamespace Text\n{\nnamespace RegularExpressions\n{\npublic class Capture\n{\n internal Capture(string text, int index, int length) => throw null;\n public override string ToString() => throw null;\n}\n\npublic class GeneratedRegexAttribute : System.Attribute\n{\n public GeneratedRegexAttribute(string pattern) => throw null;\n public GeneratedRegexAttribute(string pattern, System.Text.RegularExpressions.RegexOptions options) => throw null;\n public GeneratedRegexAttribute(string pattern, System.Text.RegularExpressions.RegexOptions options, int matchTimeoutMilliseconds) => throw null;\n public GeneratedRegexAttribute(string pattern, System.Text.RegularExpressions.RegexOptions options, int matchTimeoutMilliseconds, string cultureName) => throw null;\n public GeneratedRegexAttribute(string pattern, System.Text.RegularExpressions.RegexOptions options, string cultureName) => throw null;\n}\n\npublic class Group : System.Text.RegularExpressions.Capture\n{\n internal Group(string text, int[] caps, int capcount, string name) : base(default(string), default(int), default(int)) => throw null;\n}\n\npublic class Match : System.Text.RegularExpressions.Group\n{\n internal Match(System.Text.RegularExpressions.Regex regex, int capcount, string text, int textLength) : base(default(string), default(int[]), default(int), default(string)) => throw null;\n}\n\npublic class Regex : System.Runtime.Serialization.ISerializable\n{\n void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) => throw null;\n public System.Text.RegularExpressions.Match Match(string input) => throw null;\n public static System.Text.RegularExpressions.Match Match(string input, string pattern) => throw null;\n public static System.Text.RegularExpressions.Match Match(string input, string pattern, System.Text.RegularExpressions.RegexOptions options, System.TimeSpan matchTimeout) => throw null;\n public Regex(string pattern) => throw null;\n public Regex(string pattern, System.Text.RegularExpressions.RegexOptions options, System.TimeSpan matchTimeout) => throw null;\n public string Replace(string input, string replacement) => throw null;\n public override string ToString() => throw null;\n}\n\n[System.Flags]\npublic enum RegexOptions : int\n{\n IgnoreCase = 1,\n}\n\n}\n}\n}\n\n\n// This file contains auto-generated code.\n// Generated from `System.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`.\n\nnamespace System\n{\nnamespace Web\n{\npublic class HtmlString : System.Web.IHtmlString\n{\n}\n\npublic class HttpContextBase\n{\n public virtual System.Web.HttpRequestBase Request { get => throw null; }\n}\n\npublic class HttpCookie\n{\n}\n\npublic abstract class HttpCookieCollection : System.Collections.Specialized.NameObjectCollectionBase\n{\n}\n\npublic class HttpRequest\n{\n}\n\npublic class HttpRequestBase\n{\n public virtual System.Collections.Specialized.NameValueCollection QueryString { get => throw null; }\n}\n\npublic class HttpResponse\n{\n}\n\npublic class HttpResponseBase\n{\n}\n\npublic class HttpServerUtility\n{\n}\n\npublic interface IHtmlString\n{\n}\n\npublic interface IHttpHandler\n{\n}\n\npublic interface IServiceProvider\n{\n}\n\npublic class UnvalidatedRequestValues\n{\n}\n\npublic class UnvalidatedRequestValuesBase\n{\n}\n\nnamespace Mvc\n{\npublic class ActionMethodSelectorAttribute : System.Attribute\n{\n}\n\npublic class ActionResult\n{\n}\n\npublic class ControllerContext\n{\n}\n\npublic class FilterAttribute : System.Attribute\n{\n}\n\npublic class GlobalFilterCollection\n{\n}\n\ninternal interface IFilterProvider\n{\n}\n\npublic interface IViewDataContainer\n{\n}\n\npublic class ViewContext : System.Web.Mvc.ControllerContext\n{\n}\n\npublic class ViewResult : System.Web.Mvc.ViewResultBase\n{\n}\n\npublic class ViewResultBase : System.Web.Mvc.ActionResult\n{\n}\n\n}\nnamespace Routing\n{\npublic class RequestContext\n{\n}\n\n}\nnamespace Script\n{\nnamespace Serialization\n{\npublic abstract class JavaScriptTypeResolver\n{\n}\n\n}\n}\nnamespace Security\n{\npublic class MembershipUser\n{\n}\n\n}\nnamespace SessionState\n{\npublic class HttpSessionState\n{\n}\n\n}\nnamespace UI\n{\npublic class Control\n{\n}\n\nnamespace WebControls\n{\npublic class WebControl : System.Web.UI.Control\n{\n}\n\n}\n}\n}\n}\n\n\n | From af12affc366ed8d1abfc79b50133003e320990d0 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Tue, 7 Mar 2023 10:35:13 +0100 Subject: [PATCH 076/145] C#: Re-generate stubs to update comments. --- .../Microsoft.AspNetCore.Antiforgery.cs | 7 +- ....AspNetCore.Authentication.Abstractions.cs | 21 +- ...osoft.AspNetCore.Authentication.Cookies.cs | 15 +- ...icrosoft.AspNetCore.Authentication.Core.cs | 7 +- ...crosoft.AspNetCore.Authentication.OAuth.cs | 20 +- .../Microsoft.AspNetCore.Authentication.cs | 38 +- ...crosoft.AspNetCore.Authorization.Policy.cs | 10 +- .../Microsoft.AspNetCore.Authorization.cs | 34 +- ...oft.AspNetCore.Components.Authorization.cs | 9 +- .../Microsoft.AspNetCore.Components.Forms.cs | 10 +- .../Microsoft.AspNetCore.Components.Server.cs | 16 +- .../Microsoft.AspNetCore.Components.Web.cs | 63 +- .../Microsoft.AspNetCore.Components.cs | 73 +- ...oft.AspNetCore.Connections.Abstractions.cs | 49 +- .../Microsoft.AspNetCore.CookiePolicy.cs | 8 +- .../Microsoft.AspNetCore.Cors.cs | 20 +- ...t.AspNetCore.Cryptography.KeyDerivation.cs | 3 +- ....AspNetCore.DataProtection.Abstractions.cs | 5 +- ...ft.AspNetCore.DataProtection.Extensions.cs | 4 +- .../Microsoft.AspNetCore.DataProtection.cs | 68 +- ...oft.AspNetCore.Diagnostics.Abstractions.cs | 10 +- ...oft.AspNetCore.Diagnostics.HealthChecks.cs | 5 +- .../Microsoft.AspNetCore.Diagnostics.cs | 18 +- .../Microsoft.AspNetCore.HostFiltering.cs | 5 +- ...crosoft.AspNetCore.Hosting.Abstractions.cs | 17 +- ....AspNetCore.Hosting.Server.Abstractions.cs | 7 +- .../Microsoft.AspNetCore.Hosting.cs | 17 +- .../Microsoft.AspNetCore.Html.Abstractions.cs | 8 +- .../Microsoft.AspNetCore.Http.Abstractions.cs | 84 +- ...soft.AspNetCore.Http.Connections.Common.cs | 6 +- .../Microsoft.AspNetCore.Http.Connections.cs | 13 +- .../Microsoft.AspNetCore.Http.Extensions.cs | 24 +- .../Microsoft.AspNetCore.Http.Features.cs | 45 +- .../Microsoft.AspNetCore.Http.Results.cs | 47 +- .../Microsoft.AspNetCore.Http.cs | 38 +- .../Microsoft.AspNetCore.HttpLogging.cs | 8 +- .../Microsoft.AspNetCore.HttpOverrides.cs | 14 +- .../Microsoft.AspNetCore.HttpsPolicy.cs | 9 +- .../Microsoft.AspNetCore.Identity.cs | 19 +- ...crosoft.AspNetCore.Localization.Routing.cs | 2 +- .../Microsoft.AspNetCore.Localization.cs | 16 +- .../Microsoft.AspNetCore.Metadata.cs | 3 +- .../Microsoft.AspNetCore.Mvc.Abstractions.cs | 132 +-- .../Microsoft.AspNetCore.Mvc.ApiExplorer.cs | 9 +- .../Microsoft.AspNetCore.Mvc.Core.cs | 403 +------- .../Microsoft.AspNetCore.Mvc.Cors.cs | 4 +- ...icrosoft.AspNetCore.Mvc.DataAnnotations.cs | 12 +- ...Microsoft.AspNetCore.Mvc.Formatters.Xml.cs | 23 +- .../Microsoft.AspNetCore.Mvc.Localization.cs | 13 +- .../Microsoft.AspNetCore.Mvc.Razor.cs | 48 +- .../Microsoft.AspNetCore.Mvc.RazorPages.cs | 69 +- .../Microsoft.AspNetCore.Mvc.TagHelpers.cs | 37 +- .../Microsoft.AspNetCore.Mvc.ViewFeatures.cs | 137 +-- .../Microsoft.AspNetCore.Mvc.cs | 2 +- .../Microsoft.AspNetCore.OutputCaching.cs | 12 +- .../Microsoft.AspNetCore.RateLimiting.cs | 10 +- .../Microsoft.AspNetCore.Razor.Runtime.cs | 14 +- .../Microsoft.AspNetCore.Razor.cs | 21 +- ...crosoft.AspNetCore.RequestDecompression.cs | 6 +- ...AspNetCore.ResponseCaching.Abstractions.cs | 2 +- .../Microsoft.AspNetCore.ResponseCaching.cs | 6 +- ...icrosoft.AspNetCore.ResponseCompression.cs | 14 +- .../Microsoft.AspNetCore.Rewrite.cs | 10 +- ...crosoft.AspNetCore.Routing.Abstractions.cs | 16 +- .../Microsoft.AspNetCore.Routing.cs | 136 +-- .../Microsoft.AspNetCore.Server.HttpSys.cs | 17 +- .../Microsoft.AspNetCore.Server.IIS.cs | 10 +- ...rosoft.AspNetCore.Server.IISIntegration.cs | 6 +- ...icrosoft.AspNetCore.Server.Kestrel.Core.cs | 36 +- ...spNetCore.Server.Kestrel.Transport.Quic.cs | 3 +- ...etCore.Server.Kestrel.Transport.Sockets.cs | 6 +- .../Microsoft.AspNetCore.Server.Kestrel.cs | 2 +- .../Microsoft.AspNetCore.Session.cs | 10 +- .../Microsoft.AspNetCore.SignalR.Common.cs | 23 +- .../Microsoft.AspNetCore.SignalR.Core.cs | 44 +- ...osoft.AspNetCore.SignalR.Protocols.Json.cs | 4 +- .../Microsoft.AspNetCore.SignalR.cs | 6 +- .../Microsoft.AspNetCore.StaticFiles.cs | 21 +- .../Microsoft.AspNetCore.WebSockets.cs | 6 +- .../Microsoft.AspNetCore.WebUtilities.cs | 23 +- .../Microsoft.AspNetCore.cs | 8 +- ...crosoft.Extensions.Caching.Abstractions.cs | 18 +- .../Microsoft.Extensions.Caching.Memory.cs | 6 +- ...t.Extensions.Configuration.Abstractions.cs | 12 +- ...crosoft.Extensions.Configuration.Binder.cs | 3 +- ...ft.Extensions.Configuration.CommandLine.cs | 4 +- ...ions.Configuration.EnvironmentVariables.cs | 4 +- ...Extensions.Configuration.FileExtensions.cs | 5 +- .../Microsoft.Extensions.Configuration.Ini.cs | 6 +- ...Microsoft.Extensions.Configuration.Json.cs | 6 +- ...oft.Extensions.Configuration.KeyPerFile.cs | 4 +- ...ft.Extensions.Configuration.UserSecrets.cs | 4 +- .../Microsoft.Extensions.Configuration.Xml.cs | 7 +- .../Microsoft.Extensions.Configuration.cs | 16 +- ...nsions.DependencyInjection.Abstractions.cs | 17 +- ...icrosoft.Extensions.DependencyInjection.cs | 5 +- ...s.Diagnostics.HealthChecks.Abstractions.cs | 9 +- ...oft.Extensions.Diagnostics.HealthChecks.cs | 8 +- .../Microsoft.Extensions.Features.cs | 6 +- ...t.Extensions.FileProviders.Abstractions.cs | 8 +- ...soft.Extensions.FileProviders.Composite.cs | 3 +- ...osoft.Extensions.FileProviders.Embedded.cs | 4 +- ...osoft.Extensions.FileProviders.Physical.cs | 9 +- ...Microsoft.Extensions.FileSystemGlobbing.cs | 33 +- ...crosoft.Extensions.Hosting.Abstractions.cs | 20 +- .../Microsoft.Extensions.Hosting.cs | 13 +- .../Microsoft.Extensions.Http.cs | 14 +- .../Microsoft.Extensions.Identity.Core.cs | 67 +- .../Microsoft.Extensions.Identity.Stores.cs | 13 +- ...ft.Extensions.Localization.Abstractions.cs | 7 +- .../Microsoft.Extensions.Localization.cs | 9 +- ...crosoft.Extensions.Logging.Abstractions.cs | 21 +- ...rosoft.Extensions.Logging.Configuration.cs | 7 +- .../Microsoft.Extensions.Logging.Console.cs | 12 +- .../Microsoft.Extensions.Logging.Debug.cs | 3 +- .../Microsoft.Extensions.Logging.EventLog.cs | 4 +- ...icrosoft.Extensions.Logging.EventSource.cs | 5 +- ...icrosoft.Extensions.Logging.TraceSource.cs | 3 +- .../Microsoft.Extensions.Logging.cs | 11 +- .../Microsoft.Extensions.ObjectPool.cs | 13 +- ...ensions.Options.ConfigurationExtensions.cs | 6 +- ...soft.Extensions.Options.DataAnnotations.cs | 3 +- .../Microsoft.Extensions.Options.cs | 41 +- .../Microsoft.Extensions.Primitives.cs | 12 +- .../Microsoft.Extensions.WebEncoders.cs | 6 +- .../Microsoft.JSInterop.cs | 30 +- .../Microsoft.Net.Http.Headers.cs | 20 +- .../System.Diagnostics.EventLog.cs | 45 +- .../System.IO.Pipelines.cs | 12 +- .../System.Security.Cryptography.Xml.cs | 41 +- .../System.Threading.RateLimiting.cs | 20 +- .../Microsoft.NETCore.App/Microsoft.CSharp.cs | 7 +- .../Microsoft.VisualBasic.Core.cs | 76 +- .../Microsoft.Win32.Primitives.cs | 2 +- .../Microsoft.Win32.Registry.cs | 14 +- .../System.Collections.Concurrent.cs | 11 +- .../System.Collections.Immutable.cs | 38 +- .../System.Collections.NonGeneric.cs | 10 +- .../System.Collections.Specialized.cs | 13 +- .../System.Collections.cs | 36 +- .../System.ComponentModel.Annotations.cs | 44 +- .../System.ComponentModel.EventBasedAsync.cs | 12 +- .../System.ComponentModel.Primitives.cs | 31 +- .../System.ComponentModel.TypeConverter.cs | 218 +---- .../System.ComponentModel.cs | 6 +- .../Microsoft.NETCore.App/System.Console.cs | 9 +- .../System.Data.Common.cs | 172 +--- .../System.Diagnostics.Contracts.cs | 16 +- .../System.Diagnostics.DiagnosticSource.cs | 40 +- .../System.Diagnostics.FileVersionInfo.cs | 2 +- .../System.Diagnostics.Process.cs | 16 +- .../System.Diagnostics.StackTrace.cs | 19 +- ...tem.Diagnostics.TextWriterTraceListener.cs | 5 +- .../System.Diagnostics.TraceSource.cs | 23 +- .../System.Diagnostics.Tracing.cs | 32 +- .../System.Drawing.Primitives.cs | 11 +- .../System.Formats.Asn1.cs | 11 +- .../System.Formats.Tar.cs | 13 +- .../System.IO.Compression.Brotli.cs | 4 +- .../System.IO.Compression.ZipFile.cs | 3 +- .../System.IO.Compression.cs | 9 +- .../System.IO.FileSystem.AccessControl.cs | 9 +- .../System.IO.FileSystem.DriveInfo.cs | 4 +- .../System.IO.FileSystem.Watcher.cs | 12 +- .../System.IO.IsolatedStorage.cs | 7 +- .../System.IO.MemoryMappedFiles.cs | 9 +- .../System.IO.Pipes.AccessControl.cs | 8 +- .../Microsoft.NETCore.App/System.IO.Pipes.cs | 11 +- .../System.Linq.Expressions.cs | 78 +- .../System.Linq.Parallel.cs | 7 +- .../System.Linq.Queryable.cs | 6 +- .../Microsoft.NETCore.App/System.Linq.cs | 6 +- .../Microsoft.NETCore.App/System.Memory.cs | 22 +- .../System.Net.Http.Json.cs | 4 +- .../Microsoft.NETCore.App/System.Net.Http.cs | 59 +- .../System.Net.HttpListener.cs | 12 +- .../Microsoft.NETCore.App/System.Net.Mail.cs | 29 +- .../System.Net.NameResolution.cs | 3 +- .../System.Net.NetworkInformation.cs | 37 +- .../Microsoft.NETCore.App/System.Net.Ping.cs | 8 +- .../System.Net.Primitives.cs | 34 +- .../Microsoft.NETCore.App/System.Net.Quic.cs | 12 +- .../System.Net.Requests.cs | 27 +- .../System.Net.Security.cs | 28 +- .../System.Net.ServicePoint.cs | 5 +- .../System.Net.Sockets.cs | 32 +- .../System.Net.WebClient.cs | 24 +- .../System.Net.WebHeaderCollection.cs | 4 +- .../System.Net.WebProxy.cs | 3 +- .../System.Net.WebSockets.Client.cs | 3 +- .../System.Net.WebSockets.cs | 13 +- .../System.Numerics.Vectors.cs | 10 +- .../System.ObjectModel.cs | 21 +- .../System.Reflection.DispatchProxy.cs | 2 +- .../System.Reflection.Emit.ILGeneration.cs | 7 +- .../System.Reflection.Emit.Lightweight.cs | 3 +- .../System.Reflection.Emit.cs | 12 +- .../System.Reflection.Metadata.cs | 264 +----- .../System.Reflection.Primitives.cs | 8 +- .../System.Reflection.TypeExtensions.cs | 8 +- .../System.Resources.Writer.cs | 3 +- ...System.Runtime.CompilerServices.VisualC.cs | 17 +- ...stem.Runtime.InteropServices.JavaScript.cs | 31 +- .../System.Runtime.InteropServices.cs | 176 +--- .../System.Runtime.Intrinsics.cs | 60 +- .../System.Runtime.Loader.cs | 9 +- .../System.Runtime.Numerics.cs | 3 +- ...System.Runtime.Serialization.Formatters.cs | 17 +- .../System.Runtime.Serialization.Json.cs | 8 +- ...System.Runtime.Serialization.Primitives.cs | 11 +- .../System.Runtime.Serialization.Xml.cs | 34 +- .../Microsoft.NETCore.App/System.Runtime.cs | 861 +----------------- .../System.Security.AccessControl.cs | 48 +- .../System.Security.Claims.cs | 8 +- .../System.Security.Cryptography.cs | 197 +--- .../System.Security.Principal.Windows.cs | 13 +- .../System.Text.Encoding.CodePages.cs | 2 +- .../System.Text.Encoding.Extensions.cs | 6 +- .../System.Text.Encodings.Web.cs | 8 +- .../Microsoft.NETCore.App/System.Text.Json.cs | 72 +- .../System.Text.RegularExpressions.cs | 19 +- .../System.Threading.Channels.cs | 11 +- .../System.Threading.Overlapped.cs | 6 +- .../System.Threading.Tasks.Dataflow.cs | 24 +- .../System.Threading.Tasks.Parallel.cs | 5 +- .../System.Threading.Thread.cs | 15 +- .../System.Threading.ThreadPool.cs | 6 +- .../Microsoft.NETCore.App/System.Threading.cs | 37 +- .../System.Transactions.Local.cs | 35 +- .../System.Web.HttpUtility.cs | 2 +- .../System.Xml.ReaderWriter.cs | 189 +--- .../System.Xml.XDocument.cs | 25 +- .../System.Xml.XPath.XDocument.cs | 3 +- .../Microsoft.NETCore.App/System.Xml.XPath.cs | 3 +- .../System.Xml.XmlSerializer.cs | 61 +- 235 files changed, 235 insertions(+), 6455 deletions(-) diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Antiforgery.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Antiforgery.cs index f854bac2ef9..bce42e8da38 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Antiforgery.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Antiforgery.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Antiforgery { - // Generated from `Microsoft.AspNetCore.Antiforgery.AntiforgeryOptions` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AntiforgeryOptions { public AntiforgeryOptions() => throw null; @@ -17,7 +17,6 @@ namespace Microsoft public bool SuppressXFrameOptionsHeader { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AntiforgeryTokenSet { public AntiforgeryTokenSet(string requestToken, string cookieToken, string formFieldName, string headerName) => throw null; @@ -27,14 +26,12 @@ namespace Microsoft public string RequestToken { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AntiforgeryValidationException : System.Exception { public AntiforgeryValidationException(string message) => throw null; public AntiforgeryValidationException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.AspNetCore.Antiforgery.IAntiforgery` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAntiforgery { Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet GetAndStoreTokens(Microsoft.AspNetCore.Http.HttpContext httpContext); @@ -44,7 +41,6 @@ namespace Microsoft System.Threading.Tasks.Task ValidateRequestAsync(Microsoft.AspNetCore.Http.HttpContext httpContext); } - // Generated from `Microsoft.AspNetCore.Antiforgery.IAntiforgeryAdditionalDataProvider` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAntiforgeryAdditionalDataProvider { string GetAdditionalData(Microsoft.AspNetCore.Http.HttpContext context); @@ -57,7 +53,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.AntiforgeryServiceCollectionExtensions` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AntiforgeryServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAntiforgery(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Abstractions.cs index fec47df160e..e36260275d5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Authentication { - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticateResult` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticateResult { protected AuthenticateResult() => throw null; @@ -25,7 +25,6 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationTicket Ticket { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthenticationHttpContextExtensions { public static System.Threading.Tasks.Task AuthenticateAsync(this Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -50,7 +49,6 @@ namespace Microsoft public static System.Threading.Tasks.Task SignOutAsync(this Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationOptions` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationOptions { public void AddScheme(string name, System.Action configureBuilder) => throw null; @@ -67,7 +65,6 @@ namespace Microsoft public System.Collections.Generic.IEnumerable Schemes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationProperties` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationProperties { public bool? AllowRefresh { get => throw null; set => throw null; } @@ -91,7 +88,6 @@ namespace Microsoft public void SetString(string key, string value) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationScheme` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationScheme { public AuthenticationScheme(string name, string displayName, System.Type handlerType) => throw null; @@ -100,7 +96,6 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationSchemeBuilder` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationSchemeBuilder { public AuthenticationSchemeBuilder(string name) => throw null; @@ -110,7 +105,6 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationTicket` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationTicket { public string AuthenticationScheme { get => throw null; } @@ -121,7 +115,6 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationToken` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationToken { public AuthenticationToken() => throw null; @@ -129,7 +122,6 @@ namespace Microsoft public string Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationTokenExtensions` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthenticationTokenExtensions { public static System.Threading.Tasks.Task GetTokenAsync(this Microsoft.AspNetCore.Authentication.IAuthenticationService auth, Microsoft.AspNetCore.Http.HttpContext context, string tokenName) => throw null; @@ -140,26 +132,22 @@ namespace Microsoft public static bool UpdateTokenValue(this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string tokenName, string tokenValue) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticateResultFeature` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticateResultFeature { Microsoft.AspNetCore.Authentication.AuthenticateResult AuthenticateResult { get; set; } } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationConfigurationProvider` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationConfigurationProvider { Microsoft.Extensions.Configuration.IConfiguration AuthenticationConfiguration { get; } } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationFeature` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationFeature { Microsoft.AspNetCore.Http.PathString OriginalPath { get; set; } Microsoft.AspNetCore.Http.PathString OriginalPathBase { get; set; } } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationHandler { System.Threading.Tasks.Task AuthenticateAsync(); @@ -168,19 +156,16 @@ namespace Microsoft System.Threading.Tasks.Task InitializeAsync(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Http.HttpContext context); } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationHandlerProvider { System.Threading.Tasks.Task GetHandlerAsync(Microsoft.AspNetCore.Http.HttpContext context, string authenticationScheme); } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationRequestHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler { System.Threading.Tasks.Task HandleRequestAsync(); } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationSchemeProvider { void AddScheme(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme); @@ -196,7 +181,6 @@ namespace Microsoft bool TryAddScheme(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationService` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationService { System.Threading.Tasks.Task AuthenticateAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme); @@ -206,19 +190,16 @@ namespace Microsoft System.Threading.Tasks.Task SignOutAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties); } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationSignInHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationSignInHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler { System.Threading.Tasks.Task SignInAsync(System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties); } - // Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticationSignOutHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler { System.Threading.Tasks.Task SignOutAsync(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties); } - // Generated from `Microsoft.AspNetCore.Authentication.IClaimsTransformation` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IClaimsTransformation { System.Threading.Tasks.Task TransformAsync(System.Security.Claims.ClaimsPrincipal principal); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Cookies.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Cookies.cs index 0a5d3d30059..d2df2b11c4f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Cookies.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Cookies.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Cookies { - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.ChunkingCookieManager` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ChunkingCookieManager : Microsoft.AspNetCore.Authentication.Cookies.ICookieManager { public void AppendResponseCookie(Microsoft.AspNetCore.Http.HttpContext context, string key, string value, Microsoft.AspNetCore.Http.CookieOptions options) => throw null; @@ -20,7 +20,6 @@ namespace Microsoft public bool ThrowForPartialCookies { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationDefaults` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CookieAuthenticationDefaults { public static Microsoft.AspNetCore.Http.PathString AccessDeniedPath; @@ -31,7 +30,6 @@ namespace Microsoft public static string ReturnUrlParameter; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationEvents` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieAuthenticationEvents { public virtual System.Threading.Tasks.Task CheckSlidingExpiration(Microsoft.AspNetCore.Authentication.Cookies.CookieSlidingExpirationContext context) => throw null; @@ -55,7 +53,6 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ValidatePrincipal(Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieAuthenticationHandler : Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler { public CookieAuthenticationHandler(Microsoft.Extensions.Options.IOptionsMonitor options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock) : base(default(Microsoft.Extensions.Options.IOptionsMonitor), default(Microsoft.Extensions.Logging.ILoggerFactory), default(System.Text.Encodings.Web.UrlEncoder), default(Microsoft.AspNetCore.Authentication.ISystemClock)) => throw null; @@ -70,7 +67,6 @@ namespace Microsoft protected override System.Threading.Tasks.Task InitializeHandlerAsync() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public Microsoft.AspNetCore.Http.PathString AccessDeniedPath { get => throw null; set => throw null; } @@ -88,27 +84,23 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.ISecureDataFormat TicketDataFormat { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieSignedInContext : Microsoft.AspNetCore.Authentication.PrincipalContext { public CookieSignedInContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieSigningInContext : Microsoft.AspNetCore.Authentication.PrincipalContext { public Microsoft.AspNetCore.Http.CookieOptions CookieOptions { get => throw null; set => throw null; } public CookieSigningInContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.CookieOptions cookieOptions) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieSigningOutContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieSigningOutContext : Microsoft.AspNetCore.Authentication.PropertiesContext { public Microsoft.AspNetCore.Http.CookieOptions CookieOptions { get => throw null; set => throw null; } public CookieSigningOutContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.CookieOptions cookieOptions) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieSlidingExpirationContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieSlidingExpirationContext : Microsoft.AspNetCore.Authentication.PrincipalContext { public CookieSlidingExpirationContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, System.TimeSpan elapsedTime, System.TimeSpan remainingTime) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; @@ -117,7 +109,6 @@ namespace Microsoft public bool ShouldRenew { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieValidatePrincipalContext : Microsoft.AspNetCore.Authentication.PrincipalContext { public CookieValidatePrincipalContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; @@ -126,7 +117,6 @@ namespace Microsoft public bool ShouldRenew { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.ICookieManager` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICookieManager { void AppendResponseCookie(Microsoft.AspNetCore.Http.HttpContext context, string key, string value, Microsoft.AspNetCore.Http.CookieOptions options); @@ -134,7 +124,6 @@ namespace Microsoft string GetRequestCookie(Microsoft.AspNetCore.Http.HttpContext context, string key); } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.ITicketStore` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITicketStore { System.Threading.Tasks.Task RemoveAsync(string key); @@ -151,7 +140,6 @@ namespace Microsoft System.Threading.Tasks.Task StoreAsync(Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, Microsoft.AspNetCore.Http.HttpContext httpContext, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Cookies.PostConfigureCookieAuthenticationOptions` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureCookieAuthenticationOptions : Microsoft.Extensions.Options.IPostConfigureOptions { public void PostConfigure(string name, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options) => throw null; @@ -165,7 +153,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.CookieExtensions` in `Microsoft.AspNetCore.Authentication.Cookies, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CookieExtensions { public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCookie(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Core.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Core.cs index a9a5cc6f31f..23ddbd0373c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Core.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Core.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Authentication { - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationFeature` in `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationFeature : Microsoft.AspNetCore.Authentication.IAuthenticationFeature { public AuthenticationFeature() => throw null; @@ -14,7 +14,6 @@ namespace Microsoft public Microsoft.AspNetCore.Http.PathString OriginalPathBase { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationHandlerProvider` in `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationHandlerProvider : Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider { public AuthenticationHandlerProvider(Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider schemes) => throw null; @@ -22,7 +21,6 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider Schemes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider` in `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationSchemeProvider : Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider { public virtual void AddScheme(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme) => throw null; @@ -40,7 +38,6 @@ namespace Microsoft public virtual bool TryAddScheme(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationService` in `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationService : Microsoft.AspNetCore.Authentication.IAuthenticationService { public virtual System.Threading.Tasks.Task AuthenticateAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme) => throw null; @@ -55,7 +52,6 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.IClaimsTransformation Transform { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.NoopClaimsTransformation` in `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NoopClaimsTransformation : Microsoft.AspNetCore.Authentication.IClaimsTransformation { public NoopClaimsTransformation() => throw null; @@ -68,7 +64,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.AuthenticationCoreServiceCollectionExtensions` in `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthenticationCoreServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthenticationCore(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.OAuth.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.OAuth.cs index 4706c67aff7..27bcca97c24 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.OAuth.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.OAuth.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Authentication { - // Generated from `Microsoft.AspNetCore.Authentication.ClaimActionCollectionMapExtensions` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ClaimActionCollectionMapExtensions { public static void DeleteClaim(this Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection collection, string claimType) => throw null; @@ -23,7 +23,6 @@ namespace Microsoft namespace OAuth { - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthChallengeProperties` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthChallengeProperties : Microsoft.AspNetCore.Authentication.AuthenticationProperties { public OAuthChallengeProperties() => throw null; @@ -34,7 +33,6 @@ namespace Microsoft public virtual void SetScope(params string[] scopes) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthCodeExchangeContext` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthCodeExchangeContext { public string Code { get => throw null; } @@ -43,7 +41,6 @@ namespace Microsoft public string RedirectUri { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthConstants` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OAuthConstants { public static string CodeChallengeKey; @@ -52,7 +49,6 @@ namespace Microsoft public static string CodeVerifierKey; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthCreatingTicketContext : Microsoft.AspNetCore.Authentication.ResultContext { public string AccessToken { get => throw null; } @@ -68,13 +64,11 @@ namespace Microsoft public System.Text.Json.JsonElement User { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthDefaults` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OAuthDefaults { public static string DisplayName; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthEvents` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents { public virtual System.Threading.Tasks.Task CreatingTicket(Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext context) => throw null; @@ -84,7 +78,6 @@ namespace Microsoft public virtual System.Threading.Tasks.Task RedirectToAuthorizationEndpoint(Microsoft.AspNetCore.Authentication.RedirectContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<>` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthHandler : Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler where TOptions : Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions, new() { protected System.Net.Http.HttpClient Backchannel { get => throw null; } @@ -100,7 +93,6 @@ namespace Microsoft public OAuthHandler(Microsoft.Extensions.Options.IOptionsMonitor options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock) : base(default(Microsoft.Extensions.Options.IOptionsMonitor), default(Microsoft.Extensions.Logging.ILoggerFactory), default(System.Text.Encodings.Web.UrlEncoder), default(Microsoft.AspNetCore.Authentication.ISystemClock)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthOptions : Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions { public string AuthorizationEndpoint { get => throw null; set => throw null; } @@ -117,7 +109,6 @@ namespace Microsoft public override void Validate() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthTokenResponse : System.IDisposable { public string AccessToken { get => throw null; set => throw null; } @@ -133,7 +124,6 @@ namespace Microsoft namespace Claims { - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ClaimAction { public ClaimAction(string claimType, string valueType) => throw null; @@ -142,7 +132,6 @@ namespace Microsoft public string ValueType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClaimActionCollection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public void Add(Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction action) => throw null; @@ -153,7 +142,6 @@ namespace Microsoft public void Remove(string claimType) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.CustomJsonClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CustomJsonClaimAction : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction { public CustomJsonClaimAction(string claimType, string valueType, System.Func resolver) : base(default(string), default(string)) => throw null; @@ -161,14 +149,12 @@ namespace Microsoft public override void Run(System.Text.Json.JsonElement userData, System.Security.Claims.ClaimsIdentity identity, string issuer) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.DeleteClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DeleteClaimAction : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction { public DeleteClaimAction(string claimType) : base(default(string), default(string)) => throw null; public override void Run(System.Text.Json.JsonElement userData, System.Security.Claims.ClaimsIdentity identity, string issuer) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.JsonKeyClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonKeyClaimAction : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction { public string JsonKey { get => throw null; } @@ -176,7 +162,6 @@ namespace Microsoft public override void Run(System.Text.Json.JsonElement userData, System.Security.Claims.ClaimsIdentity identity, string issuer) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.JsonSubKeyClaimAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonSubKeyClaimAction : Microsoft.AspNetCore.Authentication.OAuth.Claims.JsonKeyClaimAction { public JsonSubKeyClaimAction(string claimType, string valueType, string jsonKey, string subKey) : base(default(string), default(string), default(string)) => throw null; @@ -184,7 +169,6 @@ namespace Microsoft public string SubKey { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.OAuth.Claims.MapAllClaimsAction` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MapAllClaimsAction : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction { public MapAllClaimsAction() : base(default(string), default(string)) => throw null; @@ -199,7 +183,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.OAuthExtensions` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OAuthExtensions { public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddOAuth(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, System.Action configureOptions) => throw null; @@ -208,7 +191,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddOAuth(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, string displayName, System.Action configureOptions) where THandler : Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler where TOptions : Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions, new() => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.OAuthPostConfigureOptions<,>` in `Microsoft.AspNetCore.Authentication.OAuth, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OAuthPostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where THandler : Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler where TOptions : Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions, new() { public OAuthPostConfigureOptions(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtection) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.cs index e94456e2271..33cdb01eee1 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Authentication { - // Generated from `Microsoft.AspNetCore.Authentication.AccessDeniedContext` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AccessDeniedContext : Microsoft.AspNetCore.Authentication.HandleRequestContext { public AccessDeniedContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions options) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions)) => throw null; @@ -16,7 +16,6 @@ namespace Microsoft public string ReturnUrlParameter { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationBuilder` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationBuilder { public virtual Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddPolicyScheme(string authenticationScheme, string displayName, System.Action configureOptions) => throw null; @@ -27,13 +26,11 @@ namespace Microsoft public virtual Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationConfigurationProviderExtensions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthenticationConfigurationProviderExtensions { public static Microsoft.Extensions.Configuration.IConfiguration GetSchemeConfiguration(this Microsoft.AspNetCore.Authentication.IAuthenticationConfigurationProvider provider, string authenticationScheme) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationHandler<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AuthenticationHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions, new() { public System.Threading.Tasks.Task AuthenticateAsync() => throw null; @@ -67,7 +64,6 @@ namespace Microsoft protected System.Text.Encodings.Web.UrlEncoder UrlEncoder { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationMiddleware` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationMiddleware { public AuthenticationMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider schemes) => throw null; @@ -75,7 +71,6 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider Schemes { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationSchemeOptions { public AuthenticationSchemeOptions() => throw null; @@ -93,14 +88,12 @@ namespace Microsoft public virtual void Validate(string scheme) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.Base64UrlTextEncoder` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Base64UrlTextEncoder { public static System.Byte[] Decode(string text) => throw null; public static string Encode(System.Byte[] data) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.BaseContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class BaseContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { protected BaseContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options) => throw null; @@ -111,7 +104,6 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationScheme Scheme { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.HandleRequestContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HandleRequestContext : Microsoft.AspNetCore.Authentication.BaseContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { protected HandleRequestContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(TOptions)) => throw null; @@ -120,7 +112,6 @@ namespace Microsoft public void SkipHandler() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.HandleRequestResult` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HandleRequestResult : Microsoft.AspNetCore.Authentication.AuthenticateResult { public static Microsoft.AspNetCore.Authentication.HandleRequestResult Fail(System.Exception failure) => throw null; @@ -136,14 +127,12 @@ namespace Microsoft public static Microsoft.AspNetCore.Authentication.HandleRequestResult Success(Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.IDataSerializer<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDataSerializer { TModel Deserialize(System.Byte[] data); System.Byte[] Serialize(TModel model); } - // Generated from `Microsoft.AspNetCore.Authentication.ISecureDataFormat<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISecureDataFormat { string Protect(TData data); @@ -152,19 +141,16 @@ namespace Microsoft TData Unprotect(string protectedText, string purpose); } - // Generated from `Microsoft.AspNetCore.Authentication.ISystemClock` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISystemClock { System.DateTimeOffset UtcNow { get; } } - // Generated from `Microsoft.AspNetCore.Authentication.JsonDocumentAuthExtensions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JsonDocumentAuthExtensions { public static string GetString(this System.Text.Json.JsonElement element, string key) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.PolicySchemeHandler` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PolicySchemeHandler : Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler { protected override System.Threading.Tasks.Task HandleAuthenticateAsync() => throw null; @@ -175,33 +161,28 @@ namespace Microsoft public PolicySchemeHandler(Microsoft.Extensions.Options.IOptionsMonitor options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock) : base(default(Microsoft.Extensions.Options.IOptionsMonitor), default(Microsoft.Extensions.Logging.ILoggerFactory), default(System.Text.Encodings.Web.UrlEncoder), default(Microsoft.AspNetCore.Authentication.ISystemClock)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.PolicySchemeOptions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PolicySchemeOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public PolicySchemeOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.PrincipalContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PrincipalContext : Microsoft.AspNetCore.Authentication.PropertiesContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public virtual System.Security.Claims.ClaimsPrincipal Principal { get => throw null; set => throw null; } protected PrincipalContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(TOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.PropertiesContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PropertiesContext : Microsoft.AspNetCore.Authentication.BaseContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public virtual Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } protected PropertiesContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(TOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.PropertiesDataFormat` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PropertiesDataFormat : Microsoft.AspNetCore.Authentication.SecureDataFormat { public PropertiesDataFormat(Microsoft.AspNetCore.DataProtection.IDataProtector protector) : base(default(Microsoft.AspNetCore.Authentication.IDataSerializer), default(Microsoft.AspNetCore.DataProtection.IDataProtector)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.PropertiesSerializer` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PropertiesSerializer : Microsoft.AspNetCore.Authentication.IDataSerializer { public static Microsoft.AspNetCore.Authentication.PropertiesSerializer Default { get => throw null; } @@ -212,14 +193,12 @@ namespace Microsoft public virtual void Write(System.IO.BinaryWriter writer, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.RedirectContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectContext : Microsoft.AspNetCore.Authentication.PropertiesContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public RedirectContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string redirectUri) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(TOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; public string RedirectUri { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RemoteAuthenticationContext : Microsoft.AspNetCore.Authentication.HandleRequestContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public void Fail(System.Exception failure) => throw null; @@ -230,7 +209,6 @@ namespace Microsoft public void Success() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RemoteAuthenticationEvents { public virtual System.Threading.Tasks.Task AccessDenied(Microsoft.AspNetCore.Authentication.AccessDeniedContext context) => throw null; @@ -242,7 +220,6 @@ namespace Microsoft public virtual System.Threading.Tasks.Task TicketReceived(Microsoft.AspNetCore.Authentication.TicketReceivedContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RemoteAuthenticationHandler : Microsoft.AspNetCore.Authentication.AuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler where TOptions : Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions, new() { protected override System.Threading.Tasks.Task CreateEventsAsync() => throw null; @@ -259,7 +236,6 @@ namespace Microsoft protected virtual bool ValidateCorrelationId(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RemoteAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public Microsoft.AspNetCore.Http.PathString AccessDeniedPath { get => throw null; set => throw null; } @@ -279,7 +255,6 @@ namespace Microsoft public override void Validate(string scheme) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.RemoteFailureContext` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RemoteFailureContext : Microsoft.AspNetCore.Authentication.HandleRequestContext { public System.Exception Failure { get => throw null; set => throw null; } @@ -287,7 +262,6 @@ namespace Microsoft public RemoteFailureContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions options, System.Exception failure) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.RequestPathBaseCookieBuilder` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestPathBaseCookieBuilder : Microsoft.AspNetCore.Http.CookieBuilder { protected virtual string AdditionalPath { get => throw null; } @@ -295,7 +269,6 @@ namespace Microsoft public RequestPathBaseCookieBuilder() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.ResultContext<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ResultContext : Microsoft.AspNetCore.Authentication.BaseContext where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions { public void Fail(System.Exception failure) => throw null; @@ -308,7 +281,6 @@ namespace Microsoft public void Success() => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.SecureDataFormat<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SecureDataFormat : Microsoft.AspNetCore.Authentication.ISecureDataFormat { public string Protect(TData data) => throw null; @@ -318,7 +290,6 @@ namespace Microsoft public TData Unprotect(string protectedText, string purpose) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class SignInAuthenticationHandler : Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationSignInHandler, Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions, new() { protected abstract System.Threading.Tasks.Task HandleSignInAsync(System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties); @@ -326,7 +297,6 @@ namespace Microsoft public SignInAuthenticationHandler(Microsoft.Extensions.Options.IOptionsMonitor options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock) : base(default(Microsoft.Extensions.Options.IOptionsMonitor), default(Microsoft.Extensions.Logging.ILoggerFactory), default(System.Text.Encodings.Web.UrlEncoder), default(Microsoft.AspNetCore.Authentication.ISystemClock)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler<>` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class SignOutAuthenticationHandler : Microsoft.AspNetCore.Authentication.AuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler where TOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions, new() { protected abstract System.Threading.Tasks.Task HandleSignOutAsync(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties); @@ -334,27 +304,23 @@ namespace Microsoft public SignOutAuthenticationHandler(Microsoft.Extensions.Options.IOptionsMonitor options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock) : base(default(Microsoft.Extensions.Options.IOptionsMonitor), default(Microsoft.Extensions.Logging.ILoggerFactory), default(System.Text.Encodings.Web.UrlEncoder), default(Microsoft.AspNetCore.Authentication.ISystemClock)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.SystemClock` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SystemClock : Microsoft.AspNetCore.Authentication.ISystemClock { public SystemClock() => throw null; public System.DateTimeOffset UtcNow { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authentication.TicketDataFormat` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TicketDataFormat : Microsoft.AspNetCore.Authentication.SecureDataFormat { public TicketDataFormat(Microsoft.AspNetCore.DataProtection.IDataProtector protector) : base(default(Microsoft.AspNetCore.Authentication.IDataSerializer), default(Microsoft.AspNetCore.DataProtection.IDataProtector)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.TicketReceivedContext` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TicketReceivedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext { public string ReturnUri { get => throw null; set => throw null; } public TicketReceivedContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions options, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket) : base(default(Microsoft.AspNetCore.Http.HttpContext), default(Microsoft.AspNetCore.Authentication.AuthenticationScheme), default(Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions), default(Microsoft.AspNetCore.Authentication.AuthenticationProperties)) => throw null; } - // Generated from `Microsoft.AspNetCore.Authentication.TicketSerializer` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TicketSerializer : Microsoft.AspNetCore.Authentication.IDataSerializer { public static Microsoft.AspNetCore.Authentication.TicketSerializer Default { get => throw null; } @@ -372,7 +338,6 @@ namespace Microsoft } namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.AuthAppBuilderExtensions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthAppBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseAuthentication(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -384,7 +349,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.AuthenticationServiceCollectionExtensions` in `Microsoft.AspNetCore.Authentication, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthenticationServiceCollectionExtensions { public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAuthentication(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.Policy.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.Policy.cs index 06376a0e66a..b222c2499b9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.Policy.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.Policy.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Authorization { - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationMiddleware` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationMiddleware { public AuthorizationMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider) => throw null; @@ -14,7 +14,6 @@ namespace Microsoft public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationMiddlewareResultHandler` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationMiddlewareResultHandler { System.Threading.Tasks.Task HandleAsync(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy, Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult authorizeResult); @@ -22,21 +21,18 @@ namespace Microsoft namespace Policy { - // Generated from `Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationMiddlewareResultHandler : Microsoft.AspNetCore.Authorization.IAuthorizationMiddlewareResultHandler { public AuthorizationMiddlewareResultHandler() => throw null; public System.Threading.Tasks.Task HandleAsync(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy, Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult authorizeResult) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Policy.IPolicyEvaluator` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPolicyEvaluator { System.Threading.Tasks.Task AuthenticateAsync(Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy, Microsoft.AspNetCore.Http.HttpContext context); System.Threading.Tasks.Task AuthorizeAsync(Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy, Microsoft.AspNetCore.Authentication.AuthenticateResult authenticationResult, Microsoft.AspNetCore.Http.HttpContext context, object resource); } - // Generated from `Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PolicyAuthorizationResult { public Microsoft.AspNetCore.Authorization.AuthorizationFailure AuthorizationFailure { get => throw null; } @@ -49,7 +45,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult Success() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PolicyEvaluator : Microsoft.AspNetCore.Authorization.Policy.IPolicyEvaluator { public virtual System.Threading.Tasks.Task AuthenticateAsync(Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy, Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -61,13 +56,11 @@ namespace Microsoft } namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.AuthorizationAppBuilderExtensions` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthorizationAppBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseAuthorization(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.AuthorizationEndpointConventionBuilderExtensions` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthorizationEndpointConventionBuilderExtensions { public static TBuilder AllowAnonymous(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; @@ -84,7 +77,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.PolicyServiceCollectionExtensions` in `Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class PolicyServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthorization(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.cs index ccc38cba0c8..283e5ba164f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,13 +7,11 @@ namespace Microsoft { namespace Authorization { - // Generated from `Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AllowAnonymousAttribute : System.Attribute, Microsoft.AspNetCore.Authorization.IAllowAnonymous { public AllowAnonymousAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationBuilder` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationBuilder { public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder AddDefaultPolicy(string name, System.Action configurePolicy) => throw null; @@ -28,7 +27,6 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder SetInvokeHandlersAfterFailure(bool invoke) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationFailure` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationFailure { public static Microsoft.AspNetCore.Authorization.AuthorizationFailure ExplicitFail() => throw null; @@ -39,7 +37,6 @@ namespace Microsoft public System.Collections.Generic.IEnumerable FailureReasons { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationFailureReason` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationFailureReason { public AuthorizationFailureReason(Microsoft.AspNetCore.Authorization.IAuthorizationHandler handler, string message) => throw null; @@ -47,7 +44,6 @@ namespace Microsoft public string Message { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationHandler<,>` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AuthorizationHandler : Microsoft.AspNetCore.Authorization.IAuthorizationHandler where TRequirement : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { protected AuthorizationHandler() => throw null; @@ -55,7 +51,6 @@ namespace Microsoft protected abstract System.Threading.Tasks.Task HandleRequirementAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context, TRequirement requirement, TResource resource); } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationHandler<>` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AuthorizationHandler : Microsoft.AspNetCore.Authorization.IAuthorizationHandler where TRequirement : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { protected AuthorizationHandler() => throw null; @@ -63,7 +58,6 @@ namespace Microsoft protected abstract System.Threading.Tasks.Task HandleRequirementAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context, TRequirement requirement); } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationHandlerContext { public AuthorizationHandlerContext(System.Collections.Generic.IEnumerable requirements, System.Security.Claims.ClaimsPrincipal user, object resource) => throw null; @@ -79,7 +73,6 @@ namespace Microsoft public virtual System.Security.Claims.ClaimsPrincipal User { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationOptions` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationOptions { public void AddPolicy(string name, System.Action configurePolicy) => throw null; @@ -91,7 +84,6 @@ namespace Microsoft public bool InvokeHandlersAfterFailure { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationPolicy` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationPolicy { public System.Collections.Generic.IReadOnlyList AuthenticationSchemes { get => throw null; } @@ -103,7 +95,6 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList Requirements { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationPolicyBuilder { public Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder AddAuthenticationSchemes(params string[] schemes) => throw null; @@ -125,7 +116,6 @@ namespace Microsoft public System.Collections.Generic.IList Requirements { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationResult` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationResult { public static Microsoft.AspNetCore.Authorization.AuthorizationResult Failed() => throw null; @@ -135,7 +125,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Authorization.AuthorizationResult Success() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizationServiceExtensions` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthorizationServiceExtensions { public static System.Threading.Tasks.Task AuthorizeAsync(this Microsoft.AspNetCore.Authorization.IAuthorizationService service, System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy) => throw null; @@ -144,7 +133,6 @@ namespace Microsoft public static System.Threading.Tasks.Task AuthorizeAsync(this Microsoft.AspNetCore.Authorization.IAuthorizationService service, System.Security.Claims.ClaimsPrincipal user, string policyName) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.AuthorizeAttribute` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizeAttribute : System.Attribute, Microsoft.AspNetCore.Authorization.IAuthorizeData { public string AuthenticationSchemes { get => throw null; set => throw null; } @@ -154,28 +142,24 @@ namespace Microsoft public string Roles { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationEvaluator` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultAuthorizationEvaluator : Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator { public DefaultAuthorizationEvaluator() => throw null; public Microsoft.AspNetCore.Authorization.AuthorizationResult Evaluate(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationHandlerContextFactory` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultAuthorizationHandlerContextFactory : Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory { public virtual Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext CreateContext(System.Collections.Generic.IEnumerable requirements, System.Security.Claims.ClaimsPrincipal user, object resource) => throw null; public DefaultAuthorizationHandlerContextFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationHandlerProvider` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultAuthorizationHandlerProvider : Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider { public DefaultAuthorizationHandlerProvider(System.Collections.Generic.IEnumerable handlers) => throw null; public System.Threading.Tasks.Task> GetHandlersAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationPolicyProvider` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultAuthorizationPolicyProvider : Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider { public virtual bool AllowsCachingPolicies { get => throw null; } @@ -185,7 +169,6 @@ namespace Microsoft public virtual System.Threading.Tasks.Task GetPolicyAsync(string policyName) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.DefaultAuthorizationService` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultAuthorizationService : Microsoft.AspNetCore.Authorization.IAuthorizationService { public virtual System.Threading.Tasks.Task AuthorizeAsync(System.Security.Claims.ClaimsPrincipal user, object resource, System.Collections.Generic.IEnumerable requirements) => throw null; @@ -193,31 +176,26 @@ namespace Microsoft public DefaultAuthorizationService(Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider handlers, Microsoft.Extensions.Logging.ILogger logger, Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory contextFactory, Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator evaluator, Microsoft.Extensions.Options.IOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationEvaluator { Microsoft.AspNetCore.Authorization.AuthorizationResult Evaluate(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context); } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationHandler` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationHandler { System.Threading.Tasks.Task HandleAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context); } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationHandlerContextFactory { Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext CreateContext(System.Collections.Generic.IEnumerable requirements, System.Security.Claims.ClaimsPrincipal user, object resource); } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationHandlerProvider { System.Threading.Tasks.Task> GetHandlersAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context); } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationPolicyProvider { bool AllowsCachingPolicies { get => throw null; } @@ -226,12 +204,10 @@ namespace Microsoft System.Threading.Tasks.Task GetPolicyAsync(string policyName); } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationRequirement { } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizationService` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationService { System.Threading.Tasks.Task AuthorizeAsync(System.Security.Claims.ClaimsPrincipal user, object resource, System.Collections.Generic.IEnumerable requirements); @@ -240,7 +216,6 @@ namespace Microsoft namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.AssertionRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AssertionRequirement : Microsoft.AspNetCore.Authorization.IAuthorizationHandler, Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { public AssertionRequirement(System.Func> handler) => throw null; @@ -250,7 +225,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.ClaimsAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClaimsAuthorizationRequirement : Microsoft.AspNetCore.Authorization.AuthorizationHandler, Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { public System.Collections.Generic.IEnumerable AllowedValues { get => throw null; } @@ -260,7 +234,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.DenyAnonymousAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DenyAnonymousAuthorizationRequirement : Microsoft.AspNetCore.Authorization.AuthorizationHandler, Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { public DenyAnonymousAuthorizationRequirement() => throw null; @@ -268,7 +241,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.NameAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NameAuthorizationRequirement : Microsoft.AspNetCore.Authorization.AuthorizationHandler, Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { protected override System.Threading.Tasks.Task HandleRequirementAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context, Microsoft.AspNetCore.Authorization.Infrastructure.NameAuthorizationRequirement requirement) => throw null; @@ -277,7 +249,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.OperationAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OperationAuthorizationRequirement : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { public string Name { get => throw null; set => throw null; } @@ -285,7 +256,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.PassThroughAuthorizationHandler` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PassThroughAuthorizationHandler : Microsoft.AspNetCore.Authorization.IAuthorizationHandler { public System.Threading.Tasks.Task HandleAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context) => throw null; @@ -293,7 +263,6 @@ namespace Microsoft public PassThroughAuthorizationHandler(Microsoft.Extensions.Options.IOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Authorization.Infrastructure.RolesAuthorizationRequirement` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RolesAuthorizationRequirement : Microsoft.AspNetCore.Authorization.AuthorizationHandler, Microsoft.AspNetCore.Authorization.IAuthorizationRequirement { public System.Collections.Generic.IEnumerable AllowedRoles { get => throw null; } @@ -309,7 +278,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.AuthorizationServiceCollectionExtensions` in `Microsoft.AspNetCore.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AuthorizationServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthorizationCore(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Authorization.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Authorization.cs index 463e0b7734f..ab4f39e2d8b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Authorization.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Authorization.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,17 +9,14 @@ namespace Microsoft { namespace Authorization { - // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthenticationState` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationState { public AuthenticationState(System.Security.Claims.ClaimsPrincipal user) => throw null; public System.Security.Claims.ClaimsPrincipal User { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthenticationStateChangedHandler` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate void AuthenticationStateChangedHandler(System.Threading.Tasks.Task task); - // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AuthenticationStateProvider { public event Microsoft.AspNetCore.Components.Authorization.AuthenticationStateChangedHandler AuthenticationStateChanged; @@ -27,7 +25,6 @@ namespace Microsoft protected void NotifyAuthenticationStateChanged(System.Threading.Tasks.Task task) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthorizeRouteView` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizeRouteView : Microsoft.AspNetCore.Components.RouteView { public AuthorizeRouteView() => throw null; @@ -37,7 +34,6 @@ namespace Microsoft public object Resource { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthorizeView` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizeView : Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore { public AuthorizeView() => throw null; @@ -46,7 +42,6 @@ namespace Microsoft public string Roles { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AuthorizeViewCore : Microsoft.AspNetCore.Components.ComponentBase { protected AuthorizeViewCore() => throw null; @@ -60,7 +55,6 @@ namespace Microsoft public object Resource { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Authorization.CascadingAuthenticationState` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CascadingAuthenticationState : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) => throw null; @@ -70,7 +64,6 @@ namespace Microsoft protected override void OnInitialized() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Authorization.IHostEnvironmentAuthenticationStateProvider` in `Microsoft.AspNetCore.Components.Authorization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostEnvironmentAuthenticationStateProvider { void SetAuthenticationState(System.Threading.Tasks.Task authenticationStateTask); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Forms.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Forms.cs index fb230ca8801..41a3ef373fc 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Forms.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Forms.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Forms { - // Generated from `Microsoft.AspNetCore.Components.Forms.DataAnnotationsValidator` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataAnnotationsValidator : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { public DataAnnotationsValidator() => throw null; @@ -18,7 +18,6 @@ namespace Microsoft protected override void OnParametersSet() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.EditContext` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EditContext { public EditContext(object model) => throw null; @@ -41,7 +40,6 @@ namespace Microsoft public bool Validate() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.EditContextDataAnnotationsExtensions` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EditContextDataAnnotationsExtensions { public static Microsoft.AspNetCore.Components.Forms.EditContext AddDataAnnotationsValidation(this Microsoft.AspNetCore.Components.Forms.EditContext editContext) => throw null; @@ -49,7 +47,6 @@ namespace Microsoft public static System.IDisposable EnableDataAnnotationsValidation(this Microsoft.AspNetCore.Components.Forms.EditContext editContext, System.IServiceProvider serviceProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.EditContextProperties` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EditContextProperties { public EditContextProperties() => throw null; @@ -58,14 +55,12 @@ namespace Microsoft public bool TryGetValue(object key, out object value) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.FieldChangedEventArgs` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FieldChangedEventArgs : System.EventArgs { public FieldChangedEventArgs(Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier) => throw null; public Microsoft.AspNetCore.Components.Forms.FieldIdentifier FieldIdentifier { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.FieldIdentifier` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FieldIdentifier : System.IEquatable { public static Microsoft.AspNetCore.Components.Forms.FieldIdentifier Create(System.Linq.Expressions.Expression> accessor) => throw null; @@ -78,7 +73,6 @@ namespace Microsoft public object Model { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationMessageStore` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationMessageStore { public void Add(System.Linq.Expressions.Expression> accessor, System.Collections.Generic.IEnumerable messages) => throw null; @@ -93,14 +87,12 @@ namespace Microsoft public ValidationMessageStore(Microsoft.AspNetCore.Components.Forms.EditContext editContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationRequestedEventArgs` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationRequestedEventArgs : System.EventArgs { public static Microsoft.AspNetCore.Components.Forms.ValidationRequestedEventArgs Empty; public ValidationRequestedEventArgs() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationStateChangedEventArgs` in `Microsoft.AspNetCore.Components.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationStateChangedEventArgs : System.EventArgs { public static Microsoft.AspNetCore.Components.Forms.ValidationStateChangedEventArgs Empty; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Server.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Server.cs index e6771bf928f..7a6d1d8d577 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Server.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Server.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComponentEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder, Microsoft.AspNetCore.Builder.IHubEndpointConventionBuilder { public void Add(System.Action convention) => throw null; public void Finally(System.Action finalConvention) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ComponentEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ComponentEndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder MapBlazorHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints) => throw null; @@ -27,7 +26,6 @@ namespace Microsoft { namespace Server { - // Generated from `Microsoft.AspNetCore.Components.Server.CircuitOptions` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CircuitOptions { public CircuitOptions() => throw null; @@ -39,7 +37,6 @@ namespace Microsoft public Microsoft.AspNetCore.Components.Server.CircuitRootComponentOptions RootComponents { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Server.CircuitRootComponentOptions` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CircuitRootComponentOptions : Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration { public CircuitRootComponentOptions() => throw null; @@ -47,7 +44,6 @@ namespace Microsoft public int MaxJSRootComponents { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Server.RevalidatingServerAuthenticationStateProvider` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RevalidatingServerAuthenticationStateProvider : Microsoft.AspNetCore.Components.Server.ServerAuthenticationStateProvider, System.IDisposable { void System.IDisposable.Dispose() => throw null; @@ -57,7 +53,6 @@ namespace Microsoft protected abstract System.Threading.Tasks.Task ValidateAuthenticationStateAsync(Microsoft.AspNetCore.Components.Authorization.AuthenticationState authenticationState, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Components.Server.ServerAuthenticationStateProvider` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServerAuthenticationStateProvider : Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider, Microsoft.AspNetCore.Components.Authorization.IHostEnvironmentAuthenticationStateProvider { public override System.Threading.Tasks.Task GetAuthenticationStateAsync() => throw null; @@ -67,13 +62,11 @@ namespace Microsoft namespace Circuits { - // Generated from `Microsoft.AspNetCore.Components.Server.Circuits.Circuit` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Circuit { public string Id { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Server.Circuits.CircuitHandler` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class CircuitHandler { protected CircuitHandler() => throw null; @@ -87,7 +80,6 @@ namespace Microsoft } namespace ProtectedBrowserStorage { - // Generated from `Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorage` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ProtectedBrowserStorage { public System.Threading.Tasks.ValueTask DeleteAsync(string key) => throw null; @@ -98,7 +90,6 @@ namespace Microsoft public System.Threading.Tasks.ValueTask SetAsync(string purpose, string key, object value) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorageResult<>` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ProtectedBrowserStorageResult { // Stub generator skipped constructor @@ -106,13 +97,11 @@ namespace Microsoft public TValue Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedLocalStorage` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProtectedLocalStorage : Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorage { public ProtectedLocalStorage(Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider) : base(default(string), default(Microsoft.JSInterop.IJSRuntime), default(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider)) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedSessionStorage` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProtectedSessionStorage : Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorage { public ProtectedSessionStorage(Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider) : base(default(string), default(Microsoft.JSInterop.IJSRuntime), default(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider)) => throw null; @@ -126,19 +115,16 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ComponentServiceCollectionExtensions` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ComponentServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder AddServerSideBlazor(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configure = default(System.Action)) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServerSideBlazorBuilder { Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } } - // Generated from `Microsoft.Extensions.DependencyInjection.ServerSideBlazorBuilderExtensions` in `Microsoft.AspNetCore.Components.Server, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ServerSideBlazorBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder AddCircuitOptions(this Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder builder, System.Action configure) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Web.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Web.cs index 3172d16879c..49c2bd9fadd 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Web.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Web.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Components { - // Generated from `Microsoft.AspNetCore.Components.BindInputElementAttribute` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindInputElementAttribute : System.Attribute { public BindInputElementAttribute(string type, string suffix, string valueAttribute, string changeAttribute, bool isInvariantCulture, string format) => throw null; @@ -18,14 +18,12 @@ namespace Microsoft public string ValueAttribute { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.ElementReferenceExtensions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ElementReferenceExtensions { public static System.Threading.Tasks.ValueTask FocusAsync(this Microsoft.AspNetCore.Components.ElementReference elementReference) => throw null; public static System.Threading.Tasks.ValueTask FocusAsync(this Microsoft.AspNetCore.Components.ElementReference elementReference, bool preventScroll) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.WebElementReferenceContext` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebElementReferenceContext : Microsoft.AspNetCore.Components.ElementReferenceContext { public WebElementReferenceContext(Microsoft.JSInterop.IJSRuntime jsRuntime) => throw null; @@ -33,13 +31,11 @@ namespace Microsoft namespace Forms { - // Generated from `Microsoft.AspNetCore.Components.Forms.BrowserFileExtensions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class BrowserFileExtensions { public static System.Threading.Tasks.ValueTask RequestImageFileAsync(this Microsoft.AspNetCore.Components.Forms.IBrowserFile browserFile, string format, int maxWidth, int maxHeight) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.EditContextFieldClassExtensions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EditContextFieldClassExtensions { public static string FieldCssClass(this Microsoft.AspNetCore.Components.Forms.EditContext editContext, Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier) => throw null; @@ -47,7 +43,6 @@ namespace Microsoft public static void SetFieldCssClassProvider(this Microsoft.AspNetCore.Components.Forms.EditContext editContext, Microsoft.AspNetCore.Components.Forms.FieldCssClassProvider fieldCssClassProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.EditForm` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EditForm : Microsoft.AspNetCore.Components.ComponentBase { public System.Collections.Generic.IReadOnlyDictionary AdditionalAttributes { get => throw null; set => throw null; } @@ -62,14 +57,12 @@ namespace Microsoft public Microsoft.AspNetCore.Components.EventCallback OnValidSubmit { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.FieldCssClassProvider` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FieldCssClassProvider { public FieldCssClassProvider() => throw null; public virtual string GetFieldCssClass(Microsoft.AspNetCore.Components.Forms.EditContext editContext, Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.IBrowserFile` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBrowserFile { string ContentType { get; } @@ -79,12 +72,10 @@ namespace Microsoft System.Int64 Size { get; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.IInputFileJsCallbacks` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IInputFileJsCallbacks { } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputBase<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class InputBase : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { public System.Collections.Generic.IReadOnlyDictionary AdditionalAttributes { get => throw null; set => throw null; } @@ -105,7 +96,6 @@ namespace Microsoft public System.Linq.Expressions.Expression> ValueExpression { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputCheckbox` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputCheckbox : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -114,7 +104,6 @@ namespace Microsoft protected override bool TryParseValueFromString(string value, out bool result, out string validationErrorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputDate<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputDate : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -127,7 +116,6 @@ namespace Microsoft public Microsoft.AspNetCore.Components.Forms.InputDateType Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputDateType` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum InputDateType : int { Date = 0, @@ -136,7 +124,6 @@ namespace Microsoft Time = 3, } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputFile` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputFile : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { public System.Collections.Generic.IDictionary AdditionalAttributes { get => throw null; set => throw null; } @@ -149,7 +136,6 @@ namespace Microsoft protected override void OnInitialized() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputFileChangeEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputFileChangeEventArgs : System.EventArgs { public Microsoft.AspNetCore.Components.Forms.IBrowserFile File { get => throw null; } @@ -158,7 +144,6 @@ namespace Microsoft public InputFileChangeEventArgs(System.Collections.Generic.IReadOnlyList files) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputNumber<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputNumber : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -169,7 +154,6 @@ namespace Microsoft protected override bool TryParseValueFromString(string value, out TValue result, out string validationErrorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputRadio<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputRadio : Microsoft.AspNetCore.Components.ComponentBase { public System.Collections.Generic.IReadOnlyDictionary AdditionalAttributes { get => throw null; set => throw null; } @@ -181,7 +165,6 @@ namespace Microsoft public TValue Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputRadioGroup<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputRadioGroup : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -192,7 +175,6 @@ namespace Microsoft protected override bool TryParseValueFromString(string value, out TValue result, out string validationErrorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputSelect<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputSelect : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -203,7 +185,6 @@ namespace Microsoft protected override bool TryParseValueFromString(string value, out TValue result, out string validationErrorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputText` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputText : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -212,7 +193,6 @@ namespace Microsoft protected override bool TryParseValueFromString(string value, out string result, out string validationErrorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.InputTextArea` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputTextArea : Microsoft.AspNetCore.Components.Forms.InputBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -221,7 +201,6 @@ namespace Microsoft protected override bool TryParseValueFromString(string value, out string result, out string validationErrorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.RemoteBrowserFileStreamOptions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RemoteBrowserFileStreamOptions { public int MaxBufferSize { get => throw null; set => throw null; } @@ -230,7 +209,6 @@ namespace Microsoft public System.TimeSpan SegmentFetchTimeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationMessage<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationMessage : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { public System.Collections.Generic.IReadOnlyDictionary AdditionalAttributes { get => throw null; set => throw null; } @@ -242,7 +220,6 @@ namespace Microsoft public ValidationMessage() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Forms.ValidationSummary` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationSummary : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { public System.Collections.Generic.IReadOnlyDictionary AdditionalAttributes { get => throw null; set => throw null; } @@ -257,7 +234,6 @@ namespace Microsoft } namespace RenderTree { - // Generated from `Microsoft.AspNetCore.Components.RenderTree.WebEventDescriptor` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebEventDescriptor { public Microsoft.AspNetCore.Components.RenderTree.EventFieldInfo EventFieldInfo { get => throw null; set => throw null; } @@ -266,7 +242,6 @@ namespace Microsoft public WebEventDescriptor() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.WebRenderer` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class WebRenderer : Microsoft.AspNetCore.Components.RenderTree.Renderer { protected internal int AddRootComponent(System.Type componentType, string domElementSelector) => throw null; @@ -279,7 +254,6 @@ namespace Microsoft } namespace Routing { - // Generated from `Microsoft.AspNetCore.Components.Routing.FocusOnNavigate` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FocusOnNavigate : Microsoft.AspNetCore.Components.ComponentBase { public FocusOnNavigate() => throw null; @@ -289,7 +263,6 @@ namespace Microsoft public string Selector { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Routing.NavLink` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NavLink : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { public string ActiveClass { get => throw null; set => throw null; } @@ -304,14 +277,12 @@ namespace Microsoft protected override void OnParametersSet() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Routing.NavLinkMatch` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum NavLinkMatch : int { All = 1, Prefix = 0, } - // Generated from `Microsoft.AspNetCore.Components.Routing.NavigationLock` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NavigationLock : Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender, System.IAsyncDisposable { void Microsoft.AspNetCore.Components.IComponent.Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) => throw null; @@ -326,19 +297,16 @@ namespace Microsoft } namespace Web { - // Generated from `Microsoft.AspNetCore.Components.Web.BindAttributes` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class BindAttributes { } - // Generated from `Microsoft.AspNetCore.Components.Web.ClipboardEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClipboardEventArgs : System.EventArgs { public ClipboardEventArgs() => throw null; public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.DataTransfer` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataTransfer { public DataTransfer() => throw null; @@ -349,7 +317,6 @@ namespace Microsoft public string[] Types { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.DataTransferItem` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataTransferItem { public DataTransferItem() => throw null; @@ -357,14 +324,12 @@ namespace Microsoft public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.DragEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DragEventArgs : Microsoft.AspNetCore.Components.Web.MouseEventArgs { public Microsoft.AspNetCore.Components.Web.DataTransfer DataTransfer { get => throw null; set => throw null; } public DragEventArgs() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.ErrorBoundary` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ErrorBoundary : Microsoft.AspNetCore.Components.ErrorBoundaryBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -372,7 +337,6 @@ namespace Microsoft protected override System.Threading.Tasks.Task OnErrorAsync(System.Exception exception) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.ErrorEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ErrorEventArgs : System.EventArgs { public int Colno { get => throw null; set => throw null; } @@ -383,19 +347,16 @@ namespace Microsoft public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.EventHandlers` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EventHandlers { } - // Generated from `Microsoft.AspNetCore.Components.Web.FocusEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FocusEventArgs : System.EventArgs { public FocusEventArgs() => throw null; public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.HeadContent` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HeadContent : Microsoft.AspNetCore.Components.ComponentBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -403,7 +364,6 @@ namespace Microsoft public HeadContent() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.HeadOutlet` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HeadOutlet : Microsoft.AspNetCore.Components.ComponentBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -411,19 +371,16 @@ namespace Microsoft protected override System.Threading.Tasks.Task OnAfterRenderAsync(bool firstRender) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.IErrorBoundaryLogger` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IErrorBoundaryLogger { System.Threading.Tasks.ValueTask LogErrorAsync(System.Exception exception); } - // Generated from `Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSComponentConfiguration { Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore JSComponents { get; } } - // Generated from `Microsoft.AspNetCore.Components.Web.JSComponentConfigurationExtensions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JSComponentConfigurationExtensions { public static void RegisterForJavaScript(this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, System.Type componentType, string identifier) => throw null; @@ -432,13 +389,11 @@ namespace Microsoft public static void RegisterForJavaScript(this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, string identifier, string javaScriptInitializer) where TComponent : Microsoft.AspNetCore.Components.IComponent => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSComponentConfigurationStore { public JSComponentConfigurationStore() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.KeyboardEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KeyboardEventArgs : System.EventArgs { public bool AltKey { get => throw null; set => throw null; } @@ -453,7 +408,6 @@ namespace Microsoft public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.MouseEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MouseEventArgs : System.EventArgs { public bool AltKey { get => throw null; set => throw null; } @@ -477,7 +431,6 @@ namespace Microsoft public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.PageTitle` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageTitle : Microsoft.AspNetCore.Components.ComponentBase { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; @@ -485,7 +438,6 @@ namespace Microsoft public PageTitle() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.PointerEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PointerEventArgs : Microsoft.AspNetCore.Components.Web.MouseEventArgs { public float Height { get => throw null; set => throw null; } @@ -499,7 +451,6 @@ namespace Microsoft public float Width { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.ProgressEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProgressEventArgs : System.EventArgs { public bool LengthComputable { get => throw null; set => throw null; } @@ -509,7 +460,6 @@ namespace Microsoft public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.TouchEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TouchEventArgs : System.EventArgs { public bool AltKey { get => throw null; set => throw null; } @@ -524,7 +474,6 @@ namespace Microsoft public string Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.TouchPoint` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TouchPoint { public double ClientX { get => throw null; set => throw null; } @@ -537,7 +486,6 @@ namespace Microsoft public TouchPoint() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.WebEventCallbackFactoryEventArgsExtensions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebEventCallbackFactoryEventArgsExtensions { public static Microsoft.AspNetCore.Components.EventCallback Create(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action callback) => throw null; @@ -562,14 +510,12 @@ namespace Microsoft public static Microsoft.AspNetCore.Components.EventCallback Create(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func callback) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.WebRenderTreeBuilderExtensions` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebRenderTreeBuilderExtensions { public static void AddEventPreventDefaultAttribute(this Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder, int sequence, string eventName, bool value) => throw null; public static void AddEventStopPropagationAttribute(this Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder, int sequence, string eventName, bool value) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Web.WheelEventArgs` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WheelEventArgs : Microsoft.AspNetCore.Components.Web.MouseEventArgs { public System.Int64 DeltaMode { get => throw null; set => throw null; } @@ -581,7 +527,6 @@ namespace Microsoft namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Components.Web.Infrastructure.JSComponentInterop` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSComponentInterop { protected internal virtual int AddRootComponent(string identifier, string domElementSelector) => throw null; @@ -593,15 +538,12 @@ namespace Microsoft } namespace Virtualization { - // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.IVirtualizeJsCallbacks` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IVirtualizeJsCallbacks { } - // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.ItemsProviderDelegate<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.ValueTask> ItemsProviderDelegate(Microsoft.AspNetCore.Components.Web.Virtualization.ItemsProviderRequest request); - // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.ItemsProviderRequest` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ItemsProviderRequest { public System.Threading.CancellationToken CancellationToken { get => throw null; } @@ -611,7 +553,6 @@ namespace Microsoft public int StartIndex { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.ItemsProviderResult<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ItemsProviderResult { public System.Collections.Generic.IEnumerable Items { get => throw null; } @@ -620,7 +561,6 @@ namespace Microsoft public int TotalItemCount { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.PlaceholderContext` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PlaceholderContext { public int Index { get => throw null; } @@ -629,7 +569,6 @@ namespace Microsoft public float Size { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Web.Virtualization.Virtualize<>` in `Microsoft.AspNetCore.Components.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Virtualize : Microsoft.AspNetCore.Components.ComponentBase, System.IAsyncDisposable { protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.cs index c27f9a57bc7..d9424fa5b1e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Components { - // Generated from `Microsoft.AspNetCore.Components.BindConverter` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class BindConverter { public static string FormatValue(System.DateOnly value, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; @@ -75,7 +75,6 @@ namespace Microsoft public static bool TryConvertToTimeOnly(object obj, System.Globalization.CultureInfo culture, string format, out System.TimeOnly value) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.BindElementAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindElementAttribute : System.Attribute { public BindElementAttribute(string element, string suffix, string valueAttribute, string changeAttribute) => throw null; @@ -85,21 +84,18 @@ namespace Microsoft public string ValueAttribute { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.CascadingParameterAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CascadingParameterAttribute : System.Attribute { public CascadingParameterAttribute() => throw null; public string Name { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.CascadingTypeParameterAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CascadingTypeParameterAttribute : System.Attribute { public CascadingTypeParameterAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.CascadingValue<>` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CascadingValue : Microsoft.AspNetCore.Components.IComponent { public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) => throw null; @@ -111,14 +107,12 @@ namespace Microsoft public TValue Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.ChangeEventArgs` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ChangeEventArgs : System.EventArgs { public ChangeEventArgs() => throw null; public object Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.ComponentBase` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ComponentBase : Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender, Microsoft.AspNetCore.Components.IHandleEvent { void Microsoft.AspNetCore.Components.IComponent.Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) => throw null; @@ -139,7 +133,6 @@ namespace Microsoft protected void StateHasChanged() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Dispatcher` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class Dispatcher { public void AssertAccess() => throw null; @@ -153,7 +146,6 @@ namespace Microsoft protected void OnUnhandledException(System.UnhandledExceptionEventArgs e) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.DynamicComponent` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DynamicComponent : Microsoft.AspNetCore.Components.IComponent { public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) => throw null; @@ -164,13 +156,11 @@ namespace Microsoft public System.Type Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.EditorRequiredAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EditorRequiredAttribute : System.Attribute { public EditorRequiredAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.ElementReference` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ElementReference { public Microsoft.AspNetCore.Components.ElementReferenceContext Context { get => throw null; } @@ -180,13 +170,11 @@ namespace Microsoft public string Id { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.ElementReferenceContext` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ElementReferenceContext { protected ElementReferenceContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.ErrorBoundaryBase` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ErrorBoundaryBase : Microsoft.AspNetCore.Components.ComponentBase { public Microsoft.AspNetCore.Components.RenderFragment ChildContent { get => throw null; set => throw null; } @@ -198,7 +186,6 @@ namespace Microsoft public void Recover() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventCallback` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct EventCallback { public static Microsoft.AspNetCore.Components.EventCallback Empty; @@ -210,7 +197,6 @@ namespace Microsoft public System.Threading.Tasks.Task InvokeAsync(object arg) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventCallback<>` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct EventCallback { public static Microsoft.AspNetCore.Components.EventCallback Empty; @@ -221,7 +207,6 @@ namespace Microsoft public System.Threading.Tasks.Task InvokeAsync(TValue arg) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventCallbackFactory` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EventCallbackFactory { public Microsoft.AspNetCore.Components.EventCallback Create(object receiver, System.Action callback) => throw null; @@ -240,7 +225,6 @@ namespace Microsoft public EventCallbackFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventCallbackFactoryBinderExtensions` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EventCallbackFactoryBinderExtensions { public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, System.DateOnly existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; @@ -309,7 +293,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func setter, T existingValue, System.Globalization.CultureInfo culture = default(System.Globalization.CultureInfo)) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventCallbackFactoryEventArgsExtensions` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EventCallbackFactoryEventArgsExtensions { public static Microsoft.AspNetCore.Components.EventCallback Create(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action callback) => throw null; @@ -318,7 +301,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Components.EventCallback Create(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Func callback) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventCallbackWorkItem` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct EventCallbackWorkItem { public static Microsoft.AspNetCore.Components.EventCallbackWorkItem Empty; @@ -327,7 +309,6 @@ namespace Microsoft public System.Threading.Tasks.Task InvokeAsync(object arg) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.EventHandlerAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EventHandlerAttribute : System.Attribute { public string AttributeName { get => throw null; } @@ -338,68 +319,57 @@ namespace Microsoft public EventHandlerAttribute(string attributeName, System.Type eventArgsType, bool enableStopPropagation, bool enablePreventDefault) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.ICascadingValueComponent` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface ICascadingValueComponent { } - // Generated from `Microsoft.AspNetCore.Components.IComponent` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IComponent { void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle); System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView parameters); } - // Generated from `Microsoft.AspNetCore.Components.IComponentActivator` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IComponentActivator { Microsoft.AspNetCore.Components.IComponent CreateInstance(System.Type componentType); } - // Generated from `Microsoft.AspNetCore.Components.IErrorBoundary` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IErrorBoundary { } - // Generated from `Microsoft.AspNetCore.Components.IEventCallback` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IEventCallback { bool HasDelegate { get; } } - // Generated from `Microsoft.AspNetCore.Components.IHandleAfterRender` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHandleAfterRender { System.Threading.Tasks.Task OnAfterRenderAsync(); } - // Generated from `Microsoft.AspNetCore.Components.IHandleEvent` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHandleEvent { System.Threading.Tasks.Task HandleEventAsync(Microsoft.AspNetCore.Components.EventCallbackWorkItem item, object arg); } - // Generated from `Microsoft.AspNetCore.Components.IPersistentComponentStateStore` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPersistentComponentStateStore { System.Threading.Tasks.Task> GetPersistedStateAsync(); System.Threading.Tasks.Task PersistStateAsync(System.Collections.Generic.IReadOnlyDictionary state); } - // Generated from `Microsoft.AspNetCore.Components.InjectAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InjectAttribute : System.Attribute { public InjectAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.LayoutAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LayoutAttribute : System.Attribute { public LayoutAttribute(System.Type layoutType) => throw null; public System.Type LayoutType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.LayoutComponentBase` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class LayoutComponentBase : Microsoft.AspNetCore.Components.ComponentBase { public Microsoft.AspNetCore.Components.RenderFragment Body { get => throw null; set => throw null; } @@ -407,7 +377,6 @@ namespace Microsoft public override System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView parameters) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.LayoutView` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LayoutView : Microsoft.AspNetCore.Components.IComponent { public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) => throw null; @@ -417,13 +386,11 @@ namespace Microsoft public System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView parameters) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.LocationChangeException` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocationChangeException : System.Exception { public LocationChangeException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.MarkupString` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct MarkupString { // Stub generator skipped constructor @@ -433,14 +400,12 @@ namespace Microsoft public static explicit operator Microsoft.AspNetCore.Components.MarkupString(string value) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.NavigationException` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NavigationException : System.Exception { public string Location { get => throw null; } public NavigationException(string uri) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.NavigationManager` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class NavigationManager { public string BaseUri { get => throw null; set => throw null; } @@ -464,7 +429,6 @@ namespace Microsoft public string Uri { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.NavigationManagerExtensions` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class NavigationManagerExtensions { public static string GetUriWithQueryParameter(this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, System.DateOnly value) => throw null; @@ -492,7 +456,6 @@ namespace Microsoft public static string GetUriWithQueryParameters(this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string uri, System.Collections.Generic.IReadOnlyDictionary parameters) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.NavigationOptions` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct NavigationOptions { public bool ForceLoad { get => throw null; set => throw null; } @@ -501,7 +464,6 @@ namespace Microsoft public bool ReplaceHistoryEntry { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.OwningComponentBase` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class OwningComponentBase : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable { void System.IDisposable.Dispose() => throw null; @@ -511,21 +473,18 @@ namespace Microsoft protected System.IServiceProvider ScopedServices { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.OwningComponentBase<>` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class OwningComponentBase : Microsoft.AspNetCore.Components.OwningComponentBase, System.IDisposable { protected OwningComponentBase() => throw null; protected TService Service { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.ParameterAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ParameterAttribute : System.Attribute { public bool CaptureUnmatchedValues { get => throw null; set => throw null; } public ParameterAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.ParameterValue` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ParameterValue { public bool Cascading { get => throw null; } @@ -534,10 +493,8 @@ namespace Microsoft public object Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.ParameterView` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ParameterView { - // Generated from `Microsoft.AspNetCore.Components.ParameterView+Enumerator` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator { public Microsoft.AspNetCore.Components.ParameterValue Current { get => throw null; } @@ -557,7 +514,6 @@ namespace Microsoft public bool TryGetValue(string parameterName, out TValue result) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.PersistentComponentState` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PersistentComponentState { public void PersistAsJson(string key, TValue instance) => throw null; @@ -565,20 +521,16 @@ namespace Microsoft public bool TryTakeFromJson(string key, out TValue instance) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.PersistingComponentStateSubscription` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PersistingComponentStateSubscription : System.IDisposable { public void Dispose() => throw null; // Stub generator skipped constructor } - // Generated from `Microsoft.AspNetCore.Components.RenderFragment` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate void RenderFragment(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder); - // Generated from `Microsoft.AspNetCore.Components.RenderFragment<>` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate Microsoft.AspNetCore.Components.RenderFragment RenderFragment(TValue value); - // Generated from `Microsoft.AspNetCore.Components.RenderHandle` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RenderHandle { public Microsoft.AspNetCore.Components.Dispatcher Dispatcher { get => throw null; } @@ -588,14 +540,12 @@ namespace Microsoft // Stub generator skipped constructor } - // Generated from `Microsoft.AspNetCore.Components.RouteAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteAttribute : System.Attribute { public RouteAttribute(string template) => throw null; public string Template { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.RouteData` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteData { public System.Type PageType { get => throw null; } @@ -603,7 +553,6 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyDictionary RouteValues { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.RouteView` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteView : Microsoft.AspNetCore.Components.IComponent { public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) => throw null; @@ -614,7 +563,6 @@ namespace Microsoft public System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView parameters) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.SupplyParameterFromQueryAttribute` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SupplyParameterFromQueryAttribute : System.Attribute { public string Name { get => throw null; set => throw null; } @@ -623,7 +571,6 @@ namespace Microsoft namespace CompilerServices { - // Generated from `Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RuntimeHelpers { public static System.Func CreateInferredBindSetter(System.Action callback, T value) => throw null; @@ -640,7 +587,6 @@ namespace Microsoft } namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Components.Infrastructure.ComponentStatePersistenceManager` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComponentStatePersistenceManager { public ComponentStatePersistenceManager(Microsoft.Extensions.Logging.ILogger logger) => throw null; @@ -652,7 +598,6 @@ namespace Microsoft } namespace RenderTree { - // Generated from `Microsoft.AspNetCore.Components.RenderTree.ArrayBuilderSegment<>` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ArrayBuilderSegment : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public T[] Array { get => throw null; } @@ -664,7 +609,6 @@ namespace Microsoft public int Offset { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.ArrayRange<>` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ArrayRange { public T[] Array; @@ -674,7 +618,6 @@ namespace Microsoft public int Count; } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.EventFieldInfo` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EventFieldInfo { public int ComponentId { get => throw null; set => throw null; } @@ -682,7 +625,6 @@ namespace Microsoft public object FieldValue { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderBatch` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RenderBatch { public Microsoft.AspNetCore.Components.RenderTree.ArrayRange DisposedComponentIDs { get => throw null; } @@ -692,7 +634,6 @@ namespace Microsoft public Microsoft.AspNetCore.Components.RenderTree.ArrayRange UpdatedComponents { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiff` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RenderTreeDiff { public int ComponentId; @@ -700,7 +641,6 @@ namespace Microsoft // Stub generator skipped constructor } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RenderTreeEdit { public int MoveToSiblingIndex; @@ -711,7 +651,6 @@ namespace Microsoft public Microsoft.AspNetCore.Components.RenderTree.RenderTreeEditType Type; } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeEditType` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RenderTreeEditType : int { PermutationListEnd = 10, @@ -726,7 +665,6 @@ namespace Microsoft UpdateText = 5, } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RenderTreeFrame { public System.UInt64 AttributeEventHandlerId { get => throw null; } @@ -754,7 +692,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrameType` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RenderTreeFrameType : short { Attribute = 3, @@ -768,7 +705,6 @@ namespace Microsoft Text = 2, } - // Generated from `Microsoft.AspNetCore.Components.RenderTree.Renderer` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class Renderer : System.IAsyncDisposable, System.IDisposable { protected internal int AssignRootComponentId(Microsoft.AspNetCore.Components.IComponent component) => throw null; @@ -795,7 +731,6 @@ namespace Microsoft } namespace Rendering { - // Generated from `Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RenderTreeBuilder : System.IDisposable { public void AddAttribute(int sequence, Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame frame) => throw null; @@ -834,19 +769,16 @@ namespace Microsoft } namespace Routing { - // Generated from `Microsoft.AspNetCore.Components.Routing.IHostEnvironmentNavigationManager` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostEnvironmentNavigationManager { void Initialize(string baseUri, string uri); } - // Generated from `Microsoft.AspNetCore.Components.Routing.INavigationInterception` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface INavigationInterception { System.Threading.Tasks.Task EnableNavigationInterceptionAsync(); } - // Generated from `Microsoft.AspNetCore.Components.Routing.LocationChangedEventArgs` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocationChangedEventArgs : System.EventArgs { public string HistoryEntryState { get => throw null; set => throw null; } @@ -855,7 +787,6 @@ namespace Microsoft public LocationChangedEventArgs(string location, bool isNavigationIntercepted) => throw null; } - // Generated from `Microsoft.AspNetCore.Components.Routing.LocationChangingContext` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocationChangingContext { public System.Threading.CancellationToken CancellationToken { get => throw null; set => throw null; } @@ -866,14 +797,12 @@ namespace Microsoft public string TargetLocation { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Routing.NavigationContext` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NavigationContext { public System.Threading.CancellationToken CancellationToken { get => throw null; } public string Path { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Components.Routing.Router` in `Microsoft.AspNetCore.Components, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Router : Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender, System.IDisposable { public System.Collections.Generic.IEnumerable AdditionalAssemblies { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Connections.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Connections.Abstractions.cs index ab059eadb7d..34184920670 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Connections.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Connections.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace Connections { - // Generated from `Microsoft.AspNetCore.Connections.AddressInUseException` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AddressInUseException : System.InvalidOperationException { public AddressInUseException(string message) => throw null; public AddressInUseException(string message, System.Exception inner) => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.BaseConnectionContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class BaseConnectionContext : System.IAsyncDisposable { public abstract void Abort(); @@ -28,7 +27,6 @@ namespace Microsoft public virtual System.Net.EndPoint RemoteEndPoint { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionAbortedException` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionAbortedException : System.OperationCanceledException { public ConnectionAbortedException() => throw null; @@ -36,7 +34,6 @@ namespace Microsoft public ConnectionAbortedException(string message, System.Exception inner) => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionBuilder` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionBuilder : Microsoft.AspNetCore.Connections.IConnectionBuilder { public System.IServiceProvider ApplicationServices { get => throw null; } @@ -45,7 +42,6 @@ namespace Microsoft public Microsoft.AspNetCore.Connections.IConnectionBuilder Use(System.Func middleware) => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionBuilderExtensions` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConnectionBuilderExtensions { public static Microsoft.AspNetCore.Connections.IConnectionBuilder Run(this Microsoft.AspNetCore.Connections.IConnectionBuilder connectionBuilder, System.Func middleware) => throw null; @@ -53,7 +49,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Connections.IConnectionBuilder UseConnectionHandler(this Microsoft.AspNetCore.Connections.IConnectionBuilder connectionBuilder) where TConnectionHandler : Microsoft.AspNetCore.Connections.ConnectionHandler => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ConnectionContext : Microsoft.AspNetCore.Connections.BaseConnectionContext, System.IAsyncDisposable { public override void Abort() => throw null; @@ -62,17 +57,14 @@ namespace Microsoft public abstract System.IO.Pipelines.IDuplexPipe Transport { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionDelegate` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task ConnectionDelegate(Microsoft.AspNetCore.Connections.ConnectionContext connection); - // Generated from `Microsoft.AspNetCore.Connections.ConnectionHandler` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ConnectionHandler { protected ConnectionHandler() => throw null; public abstract System.Threading.Tasks.Task OnConnectedAsync(Microsoft.AspNetCore.Connections.ConnectionContext connection); } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionItems` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionItems : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -96,14 +88,12 @@ namespace Microsoft System.Collections.Generic.ICollection System.Collections.Generic.IDictionary.Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Connections.ConnectionResetException` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionResetException : System.IO.IOException { public ConnectionResetException(string message) => throw null; public ConnectionResetException(string message, System.Exception inner) => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.DefaultConnectionContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultConnectionContext : Microsoft.AspNetCore.Connections.ConnectionContext, Microsoft.AspNetCore.Connections.Features.IConnectionEndPointFeature, Microsoft.AspNetCore.Connections.Features.IConnectionIdFeature, Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature, Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature, Microsoft.AspNetCore.Connections.Features.IConnectionTransportFeature, Microsoft.AspNetCore.Connections.Features.IConnectionUserFeature { public override void Abort(Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason) => throw null; @@ -122,7 +112,6 @@ namespace Microsoft public System.Security.Claims.ClaimsPrincipal User { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Connections.FileHandleEndPoint` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileHandleEndPoint : System.Net.EndPoint { public System.UInt64 FileHandle { get => throw null; } @@ -130,7 +119,6 @@ namespace Microsoft public Microsoft.AspNetCore.Connections.FileHandleType FileHandleType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Connections.FileHandleType` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum FileHandleType : int { Auto = 0, @@ -138,7 +126,6 @@ namespace Microsoft Tcp = 1, } - // Generated from `Microsoft.AspNetCore.Connections.IConnectionBuilder` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionBuilder { System.IServiceProvider ApplicationServices { get; } @@ -146,13 +133,11 @@ namespace Microsoft Microsoft.AspNetCore.Connections.IConnectionBuilder Use(System.Func middleware); } - // Generated from `Microsoft.AspNetCore.Connections.IConnectionFactory` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionFactory { System.Threading.Tasks.ValueTask ConnectAsync(System.Net.EndPoint endpoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Connections.IConnectionListener` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionListener : System.IAsyncDisposable { System.Threading.Tasks.ValueTask AcceptAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -160,13 +145,11 @@ namespace Microsoft System.Threading.Tasks.ValueTask UnbindAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Connections.IConnectionListenerFactory` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionListenerFactory { System.Threading.Tasks.ValueTask BindAsync(System.Net.EndPoint endpoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMultiplexedConnectionBuilder { System.IServiceProvider ApplicationServices { get; } @@ -174,13 +157,11 @@ namespace Microsoft Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder Use(System.Func middleware); } - // Generated from `Microsoft.AspNetCore.Connections.IMultiplexedConnectionFactory` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMultiplexedConnectionFactory { System.Threading.Tasks.ValueTask ConnectAsync(System.Net.EndPoint endpoint, Microsoft.AspNetCore.Http.Features.IFeatureCollection features = default(Microsoft.AspNetCore.Http.Features.IFeatureCollection), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Connections.IMultiplexedConnectionListener` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMultiplexedConnectionListener : System.IAsyncDisposable { System.Threading.Tasks.ValueTask AcceptAsync(Microsoft.AspNetCore.Http.Features.IFeatureCollection features = default(Microsoft.AspNetCore.Http.Features.IFeatureCollection), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -188,13 +169,11 @@ namespace Microsoft System.Threading.Tasks.ValueTask UnbindAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Connections.IMultiplexedConnectionListenerFactory` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMultiplexedConnectionListenerFactory { System.Threading.Tasks.ValueTask BindAsync(System.Net.EndPoint endpoint, Microsoft.AspNetCore.Http.Features.IFeatureCollection features = default(Microsoft.AspNetCore.Http.Features.IFeatureCollection), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Connections.MultiplexedConnectionBuilder` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MultiplexedConnectionBuilder : Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder { public System.IServiceProvider ApplicationServices { get => throw null; } @@ -203,7 +182,6 @@ namespace Microsoft public Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder Use(System.Func middleware) => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.MultiplexedConnectionContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class MultiplexedConnectionContext : Microsoft.AspNetCore.Connections.BaseConnectionContext, System.IAsyncDisposable { public abstract System.Threading.Tasks.ValueTask AcceptAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -211,10 +189,8 @@ namespace Microsoft protected MultiplexedConnectionContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task MultiplexedConnectionDelegate(Microsoft.AspNetCore.Connections.MultiplexedConnectionContext connection); - // Generated from `Microsoft.AspNetCore.Connections.TlsConnectionCallbackContext` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TlsConnectionCallbackContext { public System.Net.Security.SslClientHelloInfo ClientHelloInfo { get => throw null; set => throw null; } @@ -223,7 +199,6 @@ namespace Microsoft public TlsConnectionCallbackContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.TlsConnectionCallbackOptions` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TlsConnectionCallbackOptions { public System.Collections.Generic.List ApplicationProtocols { get => throw null; set => throw null; } @@ -232,7 +207,6 @@ namespace Microsoft public TlsConnectionCallbackOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Connections.TransferFormat` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum TransferFormat : int { @@ -240,7 +214,6 @@ namespace Microsoft Text = 2, } - // Generated from `Microsoft.AspNetCore.Connections.UriEndPoint` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UriEndPoint : System.Net.EndPoint { public override string ToString() => throw null; @@ -250,120 +223,101 @@ namespace Microsoft namespace Features { - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionCompleteFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionCompleteFeature { void OnCompleted(System.Func callback, object state); } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionEndPointFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionEndPointFeature { System.Net.EndPoint LocalEndPoint { get; set; } System.Net.EndPoint RemoteEndPoint { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionHeartbeatFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionHeartbeatFeature { void OnHeartbeat(System.Action action, object state); } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionIdFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionIdFeature { string ConnectionId { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionInherentKeepAliveFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionInherentKeepAliveFeature { bool HasInherentKeepAlive { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionItemsFeature { System.Collections.Generic.IDictionary Items { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionLifetimeFeature { void Abort(); System.Threading.CancellationToken ConnectionClosed { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeNotificationFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionLifetimeNotificationFeature { System.Threading.CancellationToken ConnectionClosedRequested { get; set; } void RequestClose(); } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionSocketFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionSocketFeature { System.Net.Sockets.Socket Socket { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionTransportFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionTransportFeature { System.IO.Pipelines.IDuplexPipe Transport { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IConnectionUserFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionUserFeature { System.Security.Claims.ClaimsPrincipal User { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IMemoryPoolFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMemoryPoolFeature { System.Buffers.MemoryPool MemoryPool { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IPersistentStateFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPersistentStateFeature { System.Collections.Generic.IDictionary State { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IProtocolErrorCodeFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IProtocolErrorCodeFeature { System.Int64 Error { get; set; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IStreamAbortFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStreamAbortFeature { void AbortRead(System.Int64 errorCode, Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason); void AbortWrite(System.Int64 errorCode, Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason); } - // Generated from `Microsoft.AspNetCore.Connections.Features.IStreamClosedFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStreamClosedFeature { void OnClosed(System.Action callback, object state); } - // Generated from `Microsoft.AspNetCore.Connections.Features.IStreamDirectionFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStreamDirectionFeature { bool CanRead { get; } bool CanWrite { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.IStreamIdFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStreamIdFeature { System.Int64 StreamId { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.ITlsHandshakeFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITlsHandshakeFeature { System.Security.Authentication.CipherAlgorithmType CipherAlgorithm { get; } @@ -375,7 +329,6 @@ namespace Microsoft System.Security.Authentication.SslProtocols Protocol { get; } } - // Generated from `Microsoft.AspNetCore.Connections.Features.ITransferFormatFeature` in `Microsoft.AspNetCore.Connections.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITransferFormatFeature { Microsoft.AspNetCore.Connections.TransferFormat ActiveFormat { get; set; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.CookiePolicy.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.CookiePolicy.cs index 2c3e7701890..79c0c7f33e9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.CookiePolicy.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.CookiePolicy.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.CookiePolicyAppBuilderExtensions` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CookiePolicyAppBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseCookiePolicy(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseCookiePolicy(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.CookiePolicyOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.CookiePolicyOptions` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookiePolicyOptions { public System.Func CheckConsentNeeded { get => throw null; set => throw null; } @@ -30,7 +29,6 @@ namespace Microsoft } namespace CookiePolicy { - // Generated from `Microsoft.AspNetCore.CookiePolicy.AppendCookieContext` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AppendCookieContext { public AppendCookieContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.CookieOptions options, string name, string value) => throw null; @@ -43,7 +41,6 @@ namespace Microsoft public bool IssueCookie { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.CookiePolicy.CookiePolicyMiddleware` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookiePolicyMiddleware { public CookiePolicyMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options) => throw null; @@ -52,7 +49,6 @@ namespace Microsoft public Microsoft.AspNetCore.Builder.CookiePolicyOptions Options { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.CookiePolicy.DeleteCookieContext` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DeleteCookieContext { public Microsoft.AspNetCore.Http.HttpContext Context { get => throw null; } @@ -64,7 +60,6 @@ namespace Microsoft public bool IssueCookie { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.CookiePolicy.HttpOnlyPolicy` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HttpOnlyPolicy : int { Always = 1, @@ -77,7 +72,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.CookiePolicyServiceCollectionExtensions` in `Microsoft.AspNetCore.CookiePolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CookiePolicyServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddCookiePolicy(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cors.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cors.cs index cdb042b7435..ff5767e49b8 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cors.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cors.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.CorsEndpointConventionBuilderExtensions` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CorsEndpointConventionBuilderExtensions { public static TBuilder RequireCors(this TBuilder builder, System.Action configurePolicy) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; public static TBuilder RequireCors(this TBuilder builder, string policyName) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.CorsMiddlewareExtensions` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CorsMiddlewareExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseCors(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -24,20 +23,17 @@ namespace Microsoft } namespace Cors { - // Generated from `Microsoft.AspNetCore.Cors.CorsPolicyMetadata` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsPolicyMetadata : Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyMetadata { public CorsPolicyMetadata(Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy policy) => throw null; public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy Policy { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Cors.DisableCorsAttribute` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DisableCorsAttribute : System.Attribute, Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata, Microsoft.AspNetCore.Cors.Infrastructure.IDisableCorsAttribute { public DisableCorsAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.EnableCorsAttribute` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnableCorsAttribute : System.Attribute, Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata, Microsoft.AspNetCore.Cors.Infrastructure.IEnableCorsAttribute { public EnableCorsAttribute() => throw null; @@ -47,7 +43,6 @@ namespace Microsoft namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CorsConstants { public static string AccessControlAllowCredentials; @@ -63,7 +58,6 @@ namespace Microsoft public static string PreflightHttpMethod; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsMiddleware { public CorsMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy policy, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; @@ -72,7 +66,6 @@ namespace Microsoft public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider corsPolicyProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsOptions { public void AddDefaultPolicy(System.Action configurePolicy) => throw null; @@ -84,7 +77,6 @@ namespace Microsoft public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy GetPolicy(string name) => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsPolicy { public bool AllowAnyHeader { get => throw null; } @@ -101,7 +93,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsPolicyBuilder { public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder AllowAnyHeader() => throw null; @@ -121,7 +112,6 @@ namespace Microsoft public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder WithOrigins(params string[] origins) => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsResult` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsResult { public System.Collections.Generic.IList AllowedExposedHeaders { get => throw null; } @@ -137,7 +127,6 @@ namespace Microsoft public bool VaryByOrigin { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.CorsService` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsService : Microsoft.AspNetCore.Cors.Infrastructure.ICorsService { public virtual void ApplyResult(Microsoft.AspNetCore.Cors.Infrastructure.CorsResult result, Microsoft.AspNetCore.Http.HttpResponse response) => throw null; @@ -148,38 +137,32 @@ namespace Microsoft public virtual void EvaluateRequest(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy policy, Microsoft.AspNetCore.Cors.Infrastructure.CorsResult result) => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.DefaultCorsPolicyProvider` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultCorsPolicyProvider : Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider { public DefaultCorsPolicyProvider(Microsoft.Extensions.Options.IOptions options) => throw null; public System.Threading.Tasks.Task GetPolicyAsync(Microsoft.AspNetCore.Http.HttpContext context, string policyName) => throw null; } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyMetadata` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICorsPolicyMetadata : Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata { Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy Policy { get; } } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICorsPolicyProvider { System.Threading.Tasks.Task GetPolicyAsync(Microsoft.AspNetCore.Http.HttpContext context, string policyName); } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.ICorsService` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICorsService { void ApplyResult(Microsoft.AspNetCore.Cors.Infrastructure.CorsResult result, Microsoft.AspNetCore.Http.HttpResponse response); Microsoft.AspNetCore.Cors.Infrastructure.CorsResult EvaluatePolicy(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy policy); } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.IDisableCorsAttribute` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDisableCorsAttribute : Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata { } - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.IEnableCorsAttribute` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEnableCorsAttribute : Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata { string PolicyName { get; set; } @@ -192,7 +175,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.CorsServiceCollectionExtensions` in `Microsoft.AspNetCore.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CorsServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddCors(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cryptography.KeyDerivation.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cryptography.KeyDerivation.cs index 3a3f24d50f1..ec08c360049 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cryptography.KeyDerivation.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Cryptography.KeyDerivation.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Cryptography.KeyDerivation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,13 +9,11 @@ namespace Microsoft { namespace KeyDerivation { - // Generated from `Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivation` in `Microsoft.AspNetCore.Cryptography.KeyDerivation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class KeyDerivation { public static System.Byte[] Pbkdf2(string password, System.Byte[] salt, Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf prf, int iterationCount, int numBytesRequested) => throw null; } - // Generated from `Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf` in `Microsoft.AspNetCore.Cryptography.KeyDerivation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum KeyDerivationPrf : int { HMACSHA1 = 0, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Abstractions.cs index 254839ae25e..4b0d1c2e0aa 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.DataProtection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DataProtection { - // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions` in `Microsoft.AspNetCore.DataProtection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DataProtectionCommonExtensions { public static Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector(this Microsoft.AspNetCore.DataProtection.IDataProtectionProvider provider, System.Collections.Generic.IEnumerable purposes) => throw null; @@ -18,13 +18,11 @@ namespace Microsoft public static string Unprotect(this Microsoft.AspNetCore.DataProtection.IDataProtector protector, string protectedData) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.IDataProtectionProvider` in `Microsoft.AspNetCore.DataProtection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDataProtectionProvider { Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector(string purpose); } - // Generated from `Microsoft.AspNetCore.DataProtection.IDataProtector` in `Microsoft.AspNetCore.DataProtection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDataProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider { System.Byte[] Protect(System.Byte[] plaintext); @@ -33,7 +31,6 @@ namespace Microsoft namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.DataProtection.Infrastructure.IApplicationDiscriminator` in `Microsoft.AspNetCore.DataProtection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationDiscriminator { string Discriminator { get; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Extensions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Extensions.cs index 9dd91ea91f2..8af2af938a4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Extensions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.Extensions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.DataProtection.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DataProtection { - // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionAdvancedExtensions` in `Microsoft.AspNetCore.DataProtection.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DataProtectionAdvancedExtensions { public static System.Byte[] Protect(this Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector protector, System.Byte[] plaintext, System.TimeSpan lifetime) => throw null; @@ -16,7 +16,6 @@ namespace Microsoft public static string Unprotect(this Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector protector, string protectedData, out System.DateTimeOffset expiration) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionProvider` in `Microsoft.AspNetCore.DataProtection.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DataProtectionProvider { public static Microsoft.AspNetCore.DataProtection.IDataProtectionProvider Create(System.IO.DirectoryInfo keyDirectory) => throw null; @@ -27,7 +26,6 @@ namespace Microsoft public static Microsoft.AspNetCore.DataProtection.IDataProtectionProvider Create(string applicationName, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector` in `Microsoft.AspNetCore.DataProtection.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITimeLimitedDataProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider, Microsoft.AspNetCore.DataProtection.IDataProtector { Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector CreateProtector(string purpose); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.cs index 2d76af488b2..7f59a478870 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.DataProtection.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DataProtection { - // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionBuilderExtensions` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DataProtectionBuilderExtensions { public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder AddKeyEscrowSink(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, System.Func factory) => throw null; @@ -32,20 +32,17 @@ namespace Microsoft public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder UseEphemeralDataProtectionProvider(this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionOptions` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataProtectionOptions { public string ApplicationDiscriminator { get => throw null; set => throw null; } public DataProtectionOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.DataProtectionUtilityExtensions` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DataProtectionUtilityExtensions { public static string GetApplicationUniqueIdentifier(this System.IServiceProvider services) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.EphemeralDataProtectionProvider` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EphemeralDataProtectionProvider : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider { public Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector(string purpose) => throw null; @@ -53,26 +50,22 @@ namespace Microsoft public EphemeralDataProtectionProvider(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDataProtectionBuilder { Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } } - // Generated from `Microsoft.AspNetCore.DataProtection.IPersistedDataProtector` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPersistedDataProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider, Microsoft.AspNetCore.DataProtection.IDataProtector { System.Byte[] DangerousUnprotect(System.Byte[] protectedData, bool ignoreRevocationErrors, out bool requiresMigration, out bool wasRevoked); } - // Generated from `Microsoft.AspNetCore.DataProtection.ISecret` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISecret : System.IDisposable { int Length { get; } void WriteSecretIntoBuffer(System.ArraySegment buffer); } - // Generated from `Microsoft.AspNetCore.DataProtection.Secret` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Secret : Microsoft.AspNetCore.DataProtection.ISecret, System.IDisposable { public void Dispose() => throw null; @@ -88,28 +81,24 @@ namespace Microsoft namespace AuthenticatedEncryption { - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.AuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticatedEncryptorFactory : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory { public AuthenticatedEncryptorFactory(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptorInstance(Microsoft.AspNetCore.DataProtection.KeyManagement.IKey key) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngCbcAuthenticatedEncryptorFactory : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory { public CngCbcAuthenticatedEncryptorFactory(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptorInstance(Microsoft.AspNetCore.DataProtection.KeyManagement.IKey key) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngGcmAuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngGcmAuthenticatedEncryptorFactory : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory { public CngGcmAuthenticatedEncryptorFactory(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptorInstance(Microsoft.AspNetCore.DataProtection.KeyManagement.IKey key) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.EncryptionAlgorithm` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum EncryptionAlgorithm : int { AES_128_CBC = 0, @@ -120,27 +109,23 @@ namespace Microsoft AES_256_GCM = 5, } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticatedEncryptor { System.Byte[] Decrypt(System.ArraySegment ciphertext, System.ArraySegment additionalAuthenticatedData); System.Byte[] Encrypt(System.ArraySegment plaintext, System.ArraySegment additionalAuthenticatedData); } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticatedEncryptorFactory { Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptorInstance(Microsoft.AspNetCore.DataProtection.KeyManagement.IKey key); } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ManagedAuthenticatedEncryptorFactory : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory { public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptorInstance(Microsoft.AspNetCore.DataProtection.KeyManagement.IKey key) => throw null; public ManagedAuthenticatedEncryptorFactory(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ValidationAlgorithm` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ValidationAlgorithm : int { HMACSHA256 = 0, @@ -149,14 +134,12 @@ namespace Microsoft namespace ConfigurationModel { - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AlgorithmConfiguration { protected AlgorithmConfiguration() => throw null; public abstract Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor CreateNewDescriptor(); } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration { public AuthenticatedEncryptorConfiguration() => throw null; @@ -165,21 +148,18 @@ namespace Microsoft public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ValidationAlgorithm ValidationAlgorithm { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor { public AuthenticatedEncryptorDescriptor(Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorConfiguration configuration, Microsoft.AspNetCore.DataProtection.ISecret masterKey) => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo ExportToXml() => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticatedEncryptorDescriptorDeserializer : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer { public AuthenticatedEncryptorDescriptorDeserializer() => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor ImportFromXml(System.Xml.Linq.XElement element) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngCbcAuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration { public CngCbcAuthenticatedEncryptorConfiguration() => throw null; @@ -191,21 +171,18 @@ namespace Microsoft public string HashAlgorithmProvider { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngCbcAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor { public CngCbcAuthenticatedEncryptorDescriptor(Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorConfiguration configuration, Microsoft.AspNetCore.DataProtection.ISecret masterKey) => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo ExportToXml() => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngCbcAuthenticatedEncryptorDescriptorDeserializer : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer { public CngCbcAuthenticatedEncryptorDescriptorDeserializer() => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor ImportFromXml(System.Xml.Linq.XElement element) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngGcmAuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration { public CngGcmAuthenticatedEncryptorConfiguration() => throw null; @@ -215,38 +192,32 @@ namespace Microsoft public string EncryptionAlgorithmProvider { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngGcmAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor { public CngGcmAuthenticatedEncryptorDescriptor(Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorConfiguration configuration, Microsoft.AspNetCore.DataProtection.ISecret masterKey) => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo ExportToXml() => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CngGcmAuthenticatedEncryptorDescriptorDeserializer : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer { public CngGcmAuthenticatedEncryptorDescriptorDeserializer() => throw null; public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor ImportFromXml(System.Xml.Linq.XElement element) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticatedEncryptorDescriptor { Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo ExportToXml(); } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthenticatedEncryptorDescriptorDeserializer { Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor ImportFromXml(System.Xml.Linq.XElement element); } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IInternalAlgorithmConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IInternalAlgorithmConfiguration { } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorConfiguration` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ManagedAuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration { public override Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor CreateNewDescriptor() => throw null; @@ -256,27 +227,23 @@ namespace Microsoft public System.Type ValidationAlgorithmType { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ManagedAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor { public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo ExportToXml() => throw null; public ManagedAuthenticatedEncryptorDescriptor(Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorConfiguration configuration, Microsoft.AspNetCore.DataProtection.ISecret masterKey) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptorDeserializer` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ManagedAuthenticatedEncryptorDescriptorDeserializer : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer { public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor ImportFromXml(System.Xml.Linq.XElement element) => throw null; public ManagedAuthenticatedEncryptorDescriptorDeserializer() => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlExtensions` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class XmlExtensions { public static void MarkAsRequiresEncryption(this System.Xml.Linq.XElement element) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlSerializedDescriptorInfo { public System.Type DeserializerType { get => throw null; } @@ -288,7 +255,6 @@ namespace Microsoft } namespace Internal { - // Generated from `Microsoft.AspNetCore.DataProtection.Internal.IActivator` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActivator { object CreateInstance(System.Type expectedBaseType, string implementationTypeName); @@ -297,7 +263,6 @@ namespace Microsoft } namespace KeyManagement { - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.IKey` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKey { System.DateTimeOffset ActivationDate { get; } @@ -309,13 +274,11 @@ namespace Microsoft System.Guid KeyId { get; } } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKeyEscrowSink { void Store(System.Guid keyId, System.Xml.Linq.XElement element); } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKeyManager { Microsoft.AspNetCore.DataProtection.KeyManagement.IKey CreateNewKey(System.DateTimeOffset activationDate, System.DateTimeOffset expirationDate); @@ -325,7 +288,6 @@ namespace Microsoft void RevokeKey(System.Guid keyId, string reason = default(string)); } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KeyManagementOptions { public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration AuthenticatedEncryptorConfiguration { get => throw null; set => throw null; } @@ -338,7 +300,6 @@ namespace Microsoft public Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository XmlRepository { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlKeyManager : Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager, Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager { public Microsoft.AspNetCore.DataProtection.KeyManagement.IKey CreateNewKey(System.DateTimeOffset activationDate, System.DateTimeOffset expirationDate) => throw null; @@ -355,12 +316,10 @@ namespace Microsoft namespace Internal { - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.CacheableKeyRing` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheableKeyRing { } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.DefaultKeyResolution` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct DefaultKeyResolution { public Microsoft.AspNetCore.DataProtection.KeyManagement.IKey DefaultKey; @@ -369,19 +328,16 @@ namespace Microsoft public bool ShouldGenerateNewKey; } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICacheableKeyRingProvider { Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.CacheableKeyRing GetCacheableKeyRing(System.DateTimeOffset now); } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IDefaultKeyResolver` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDefaultKeyResolver { Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.DefaultKeyResolution ResolveDefaultKeyPolicy(System.DateTimeOffset now, System.Collections.Generic.IEnumerable allKeys); } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IInternalXmlKeyManager { Microsoft.AspNetCore.DataProtection.KeyManagement.IKey CreateNewKey(System.Guid keyId, System.DateTimeOffset creationDate, System.DateTimeOffset activationDate, System.DateTimeOffset expirationDate); @@ -389,7 +345,6 @@ namespace Microsoft void RevokeSingleKey(System.Guid keyId, System.DateTimeOffset revocationDate, string reason); } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRing` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKeyRing { Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor DefaultAuthenticatedEncryptor { get; } @@ -397,7 +352,6 @@ namespace Microsoft Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor GetAuthenticatedEncryptorByKeyId(System.Guid keyId, out bool isRevoked); } - // Generated from `Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRingProvider` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKeyRingProvider { Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRing GetCurrentKeyRing(); @@ -407,7 +361,6 @@ namespace Microsoft } namespace Repositories { - // Generated from `Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileSystemXmlRepository : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository { public static System.IO.DirectoryInfo DefaultKeyStorageDirectory { get => throw null; } @@ -417,14 +370,12 @@ namespace Microsoft public virtual void StoreElement(System.Xml.Linq.XElement element, string friendlyName) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IXmlRepository { System.Collections.Generic.IReadOnlyCollection GetAllElements(); void StoreElement(System.Xml.Linq.XElement element, string friendlyName); } - // Generated from `Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RegistryXmlRepository : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository { public static Microsoft.Win32.RegistryKey DefaultRegistryKey { get => throw null; } @@ -437,14 +388,12 @@ namespace Microsoft } namespace XmlEncryption { - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.CertificateResolver` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CertificateResolver : Microsoft.AspNetCore.DataProtection.XmlEncryption.ICertificateResolver { public CertificateResolver() => throw null; public virtual System.Security.Cryptography.X509Certificates.X509Certificate2 ResolveCertificate(string thumbprint) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.CertificateXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CertificateXmlEncryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor { public CertificateXmlEncryptor(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; @@ -452,7 +401,6 @@ namespace Microsoft public Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo Encrypt(System.Xml.Linq.XElement plaintextElement) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum DpapiNGProtectionDescriptorFlags : int { @@ -461,7 +409,6 @@ namespace Microsoft None = 0, } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DpapiNGXmlDecryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor { public System.Xml.Linq.XElement Decrypt(System.Xml.Linq.XElement encryptedElement) => throw null; @@ -469,14 +416,12 @@ namespace Microsoft public DpapiNGXmlDecryptor(System.IServiceProvider services) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DpapiNGXmlEncryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor { public DpapiNGXmlEncryptor(string protectionDescriptorRule, Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags flags, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo Encrypt(System.Xml.Linq.XElement plaintextElement) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DpapiXmlDecryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor { public System.Xml.Linq.XElement Decrypt(System.Xml.Linq.XElement encryptedElement) => throw null; @@ -484,14 +429,12 @@ namespace Microsoft public DpapiXmlDecryptor(System.IServiceProvider services) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DpapiXmlEncryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor { public DpapiXmlEncryptor(bool protectToLocalMachine, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo Encrypt(System.Xml.Linq.XElement plaintextElement) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EncryptedXmlDecryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor { public System.Xml.Linq.XElement Decrypt(System.Xml.Linq.XElement encryptedElement) => throw null; @@ -499,7 +442,6 @@ namespace Microsoft public EncryptedXmlDecryptor(System.IServiceProvider services) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EncryptedXmlInfo { public System.Type DecryptorType { get => throw null; } @@ -507,42 +449,35 @@ namespace Microsoft public EncryptedXmlInfo(System.Xml.Linq.XElement encryptedElement, System.Type decryptorType) => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.ICertificateResolver` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICertificateResolver { System.Security.Cryptography.X509Certificates.X509Certificate2 ResolveCertificate(string thumbprint); } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.IInternalCertificateXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IInternalCertificateXmlEncryptor { } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.IInternalEncryptedXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IInternalEncryptedXmlDecryptor { } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IXmlDecryptor { System.Xml.Linq.XElement Decrypt(System.Xml.Linq.XElement encryptedElement); } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IXmlEncryptor { Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo Encrypt(System.Xml.Linq.XElement plaintextElement); } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.NullXmlDecryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullXmlDecryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor { public System.Xml.Linq.XElement Decrypt(System.Xml.Linq.XElement encryptedElement) => throw null; public NullXmlDecryptor() => throw null; } - // Generated from `Microsoft.AspNetCore.DataProtection.XmlEncryption.NullXmlEncryptor` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullXmlEncryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor { public Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo Encrypt(System.Xml.Linq.XElement plaintextElement) => throw null; @@ -557,7 +492,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.DataProtectionServiceCollectionExtensions` in `Microsoft.AspNetCore.DataProtection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DataProtectionServiceCollectionExtensions { public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder AddDataProtection(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.Abstractions.cs index 58c3fa0d407..a9a42cc87ac 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Diagnostics { - // Generated from `Microsoft.AspNetCore.Diagnostics.CompilationFailure` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompilationFailure { public CompilationFailure(string sourceFilePath, string sourceFileContent, string compiledContent, System.Collections.Generic.IEnumerable messages) => throw null; @@ -18,7 +18,6 @@ namespace Microsoft public string SourceFilePath { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.DiagnosticMessage` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DiagnosticMessage { public DiagnosticMessage(string message, string formattedMessage, string filePath, int startLine, int startColumn, int endLine, int endColumn) => throw null; @@ -31,7 +30,6 @@ namespace Microsoft public int StartLine { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.ErrorContext` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ErrorContext { public ErrorContext(Microsoft.AspNetCore.Http.HttpContext httpContext, System.Exception exception) => throw null; @@ -39,19 +37,16 @@ namespace Microsoft public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.ICompilationException` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICompilationException { System.Collections.Generic.IEnumerable CompilationFailures { get; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.IDeveloperPageExceptionFilter` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDeveloperPageExceptionFilter { System.Threading.Tasks.Task HandleExceptionAsync(Microsoft.AspNetCore.Diagnostics.ErrorContext errorContext, System.Func next); } - // Generated from `Microsoft.AspNetCore.Diagnostics.IExceptionHandlerFeature` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IExceptionHandlerFeature { Microsoft.AspNetCore.Http.Endpoint Endpoint { get => throw null; } @@ -60,19 +55,16 @@ namespace Microsoft Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.IExceptionHandlerPathFeature` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IExceptionHandlerPathFeature : Microsoft.AspNetCore.Diagnostics.IExceptionHandlerFeature { string Path { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.IStatusCodePagesFeature` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStatusCodePagesFeature { bool Enabled { get; set; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.IStatusCodeReExecuteFeature` in `Microsoft.AspNetCore.Diagnostics.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStatusCodeReExecuteFeature { Microsoft.AspNetCore.Http.Endpoint Endpoint { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.HealthChecks.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.HealthChecks.cs index 1fc719d5450..72e2ff634ce 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.HealthChecks.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.HealthChecks.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.HealthCheckApplicationBuilderExtensions` in `Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HealthCheckApplicationBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHealthChecks(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.PathString path) => throw null; @@ -17,7 +17,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHealthChecks(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.PathString path, string port, Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HealthCheckEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HealthCheckEndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapHealthChecks(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern) => throw null; @@ -29,14 +28,12 @@ namespace Microsoft { namespace HealthChecks { - // Generated from `Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckMiddleware` in `Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthCheckMiddleware { public HealthCheckMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions healthCheckOptions, Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckService healthCheckService) => throw null; public System.Threading.Tasks.Task InvokeAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckOptions` in `Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthCheckOptions { public bool AllowCachingResponses { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.cs index 940974144ba..25407c6d530 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Diagnostics.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.DeveloperExceptionPageExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DeveloperExceptionPageExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDeveloperExceptionPage(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDeveloperExceptionPage(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DeveloperExceptionPageOptions { public DeveloperExceptionPageOptions() => throw null; @@ -21,7 +20,6 @@ namespace Microsoft public int SourceCodeLineCount { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.ExceptionHandlerExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ExceptionHandlerExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseExceptionHandler(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -30,7 +28,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseExceptionHandler(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string errorHandlingPath) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ExceptionHandlerOptions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExceptionHandlerOptions { public bool AllowStatusCode404Response { get => throw null; set => throw null; } @@ -39,7 +36,6 @@ namespace Microsoft public Microsoft.AspNetCore.Http.PathString ExceptionHandlingPath { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.StatusCodePagesExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StatusCodePagesExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseStatusCodePages(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -51,14 +47,12 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseStatusCodePagesWithRedirects(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string locationFormat) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.StatusCodePagesOptions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StatusCodePagesOptions { public System.Func HandleAsync { get => throw null; set => throw null; } public StatusCodePagesOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.WelcomePageExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WelcomePageExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWelcomePage(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -67,7 +61,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWelcomePage(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string path) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.WelcomePageOptions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WelcomePageOptions { public Microsoft.AspNetCore.Http.PathString Path { get => throw null; set => throw null; } @@ -77,14 +70,12 @@ namespace Microsoft } namespace Diagnostics { - // Generated from `Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DeveloperExceptionPageMiddleware { public DeveloperExceptionPageMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment, System.Diagnostics.DiagnosticSource diagnosticSource, System.Collections.Generic.IEnumerable filters) => throw null; public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.ExceptionHandlerFeature` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExceptionHandlerFeature : Microsoft.AspNetCore.Diagnostics.IExceptionHandlerFeature, Microsoft.AspNetCore.Diagnostics.IExceptionHandlerPathFeature { public Microsoft.AspNetCore.Http.Endpoint Endpoint { get => throw null; set => throw null; } @@ -94,14 +85,12 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExceptionHandlerMiddleware { public ExceptionHandlerMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions options, System.Diagnostics.DiagnosticListener diagnosticListener) => throw null; public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.StatusCodeContext` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StatusCodeContext { public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; } @@ -110,21 +99,18 @@ namespace Microsoft public StatusCodeContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.StatusCodePagesOptions options, Microsoft.AspNetCore.Http.RequestDelegate next) => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.StatusCodePagesFeature` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StatusCodePagesFeature : Microsoft.AspNetCore.Diagnostics.IStatusCodePagesFeature { public bool Enabled { get => throw null; set => throw null; } public StatusCodePagesFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StatusCodePagesMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public StatusCodePagesMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.StatusCodeReExecuteFeature` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StatusCodeReExecuteFeature : Microsoft.AspNetCore.Diagnostics.IStatusCodeReExecuteFeature { public Microsoft.AspNetCore.Http.Endpoint Endpoint { get => throw null; set => throw null; } @@ -135,7 +121,6 @@ namespace Microsoft public StatusCodeReExecuteFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Diagnostics.WelcomePageMiddleware` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WelcomePageMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -148,7 +133,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ExceptionHandlerServiceCollectionExtensions` in `Microsoft.AspNetCore.Diagnostics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ExceptionHandlerServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddExceptionHandler(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HostFiltering.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HostFiltering.cs index a1db363f020..88f68a97857 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HostFiltering.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HostFiltering.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.HostFiltering, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,13 +7,11 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.HostFilteringBuilderExtensions` in `Microsoft.AspNetCore.HostFiltering, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostFilteringBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHostFiltering(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HostFilteringServicesExtensions` in `Microsoft.AspNetCore.HostFiltering, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostFilteringServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHostFiltering(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; @@ -21,14 +20,12 @@ namespace Microsoft } namespace HostFiltering { - // Generated from `Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware` in `Microsoft.AspNetCore.HostFiltering, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostFilteringMiddleware { public HostFilteringMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Options.IOptionsMonitor optionsMonitor) => throw null; public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.HostFiltering.HostFilteringOptions` in `Microsoft.AspNetCore.HostFiltering, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostFilteringOptions { public bool AllowEmptyHosts { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Abstractions.cs index df271a655ba..104755283a9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.EnvironmentName` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EnvironmentName { public static string Development; @@ -14,7 +14,6 @@ namespace Microsoft public static string Staging; } - // Generated from `Microsoft.AspNetCore.Hosting.HostingAbstractionsWebHostBuilderExtensions` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostingAbstractionsWebHostBuilderExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder CaptureStartupErrors(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, bool captureStartupErrors) => throw null; @@ -31,7 +30,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseWebRoot(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, string webRoot) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.HostingEnvironmentExtensions` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class HostingEnvironmentExtensions { public static bool IsDevelopment(this Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment) => throw null; @@ -40,14 +38,12 @@ namespace Microsoft public static bool IsStaging(this Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.HostingStartupAttribute` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostingStartupAttribute : System.Attribute { public HostingStartupAttribute(System.Type hostingStartupType) => throw null; public System.Type HostingStartupType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Hosting.IApplicationLifetime` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationLifetime { System.Threading.CancellationToken ApplicationStarted { get; } @@ -56,7 +52,6 @@ namespace Microsoft void StopApplication(); } - // Generated from `Microsoft.AspNetCore.Hosting.IHostingEnvironment` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostingEnvironment { string ApplicationName { get; set; } @@ -67,38 +62,32 @@ namespace Microsoft string WebRootPath { get; set; } } - // Generated from `Microsoft.AspNetCore.Hosting.IHostingStartup` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostingStartup { void Configure(Microsoft.AspNetCore.Hosting.IWebHostBuilder builder); } - // Generated from `Microsoft.AspNetCore.Hosting.IStartup` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStartup { void Configure(Microsoft.AspNetCore.Builder.IApplicationBuilder app); System.IServiceProvider ConfigureServices(Microsoft.Extensions.DependencyInjection.IServiceCollection services); } - // Generated from `Microsoft.AspNetCore.Hosting.IStartupConfigureContainerFilter<>` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStartupConfigureContainerFilter { System.Action ConfigureContainer(System.Action container); } - // Generated from `Microsoft.AspNetCore.Hosting.IStartupConfigureServicesFilter` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStartupConfigureServicesFilter { System.Action ConfigureServices(System.Action next); } - // Generated from `Microsoft.AspNetCore.Hosting.IStartupFilter` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStartupFilter { System.Action Configure(System.Action next); } - // Generated from `Microsoft.AspNetCore.Hosting.IWebHost` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IWebHost : System.IDisposable { Microsoft.AspNetCore.Http.Features.IFeatureCollection ServerFeatures { get; } @@ -108,7 +97,6 @@ namespace Microsoft System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Hosting.IWebHostBuilder` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IWebHostBuilder { Microsoft.AspNetCore.Hosting.IWebHost Build(); @@ -119,14 +107,12 @@ namespace Microsoft Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSetting(string key, string value); } - // Generated from `Microsoft.AspNetCore.Hosting.IWebHostEnvironment` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IWebHostEnvironment : Microsoft.Extensions.Hosting.IHostEnvironment { Microsoft.Extensions.FileProviders.IFileProvider WebRootFileProvider { get; set; } string WebRootPath { get; set; } } - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderContext` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebHostBuilderContext { public Microsoft.Extensions.Configuration.IConfiguration Configuration { get => throw null; set => throw null; } @@ -134,7 +120,6 @@ namespace Microsoft public WebHostBuilderContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.WebHostDefaults` in `Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostDefaults { public static string ApplicationKey; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Server.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Server.Abstractions.cs index 6bd1c127ed9..7360c39d570 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Server.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.Server.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Server { - // Generated from `Microsoft.AspNetCore.Hosting.Server.IHttpApplication<>` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpApplication { TContext CreateContext(Microsoft.AspNetCore.Http.Features.IFeatureCollection contextFeatures); @@ -16,7 +16,6 @@ namespace Microsoft System.Threading.Tasks.Task ProcessRequestAsync(TContext context); } - // Generated from `Microsoft.AspNetCore.Hosting.Server.IServer` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServer : System.IDisposable { Microsoft.AspNetCore.Http.Features.IFeatureCollection Features { get; } @@ -24,14 +23,12 @@ namespace Microsoft System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Hosting.Server.IServerIntegratedAuth` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServerIntegratedAuth { string AuthenticationScheme { get; } bool IsEnabled { get; } } - // Generated from `Microsoft.AspNetCore.Hosting.Server.ServerIntegratedAuth` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServerIntegratedAuth : Microsoft.AspNetCore.Hosting.Server.IServerIntegratedAuth { public string AuthenticationScheme { get => throw null; set => throw null; } @@ -41,7 +38,6 @@ namespace Microsoft namespace Abstractions { - // Generated from `Microsoft.AspNetCore.Hosting.Server.Abstractions.IHostContextContainer<>` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostContextContainer { TContext HostContext { get; set; } @@ -50,7 +46,6 @@ namespace Microsoft } namespace Features { - // Generated from `Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature` in `Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServerAddressesFeature { System.Collections.Generic.ICollection Addresses { get; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.cs index c9e19f97429..628fe2725a4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,19 +7,16 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.DelegateStartup` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DelegateStartup : Microsoft.AspNetCore.Hosting.StartupBase { public override void Configure(Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; public DelegateStartup(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory factory, System.Action configureApp) : base(default(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory)) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.HostingEnvironmentExtensions` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class HostingEnvironmentExtensions { } - // Generated from `Microsoft.AspNetCore.Hosting.StartupBase` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class StartupBase : Microsoft.AspNetCore.Hosting.IStartup { public abstract void Configure(Microsoft.AspNetCore.Builder.IApplicationBuilder app); @@ -28,7 +26,6 @@ namespace Microsoft protected StartupBase() => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.StartupBase<>` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class StartupBase : Microsoft.AspNetCore.Hosting.StartupBase { public virtual void ConfigureContainer(TBuilder builder) => throw null; @@ -36,7 +33,6 @@ namespace Microsoft public StartupBase(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory factory) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilder` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebHostBuilder : Microsoft.AspNetCore.Hosting.IWebHostBuilder { public Microsoft.AspNetCore.Hosting.IWebHost Build() => throw null; @@ -48,7 +44,6 @@ namespace Microsoft public WebHostBuilder() => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostBuilderExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, System.Action configureApp) => throw null; @@ -64,7 +59,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseStaticWebAssets(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.WebHostExtensions` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostExtensions { public static void Run(this Microsoft.AspNetCore.Hosting.IWebHost host) => throw null; @@ -76,14 +70,12 @@ namespace Microsoft namespace Builder { - // Generated from `Microsoft.AspNetCore.Hosting.Builder.ApplicationBuilderFactory` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationBuilderFactory : Microsoft.AspNetCore.Hosting.Builder.IApplicationBuilderFactory { public ApplicationBuilderFactory(System.IServiceProvider serviceProvider) => throw null; public Microsoft.AspNetCore.Builder.IApplicationBuilder CreateBuilder(Microsoft.AspNetCore.Http.Features.IFeatureCollection serverFeatures) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.Builder.IApplicationBuilderFactory` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationBuilderFactory { Microsoft.AspNetCore.Builder.IApplicationBuilder CreateBuilder(Microsoft.AspNetCore.Http.Features.IFeatureCollection serverFeatures); @@ -92,13 +84,11 @@ namespace Microsoft } namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsConfigureWebHost` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISupportsConfigureWebHost { Microsoft.Extensions.Hosting.IHostBuilder ConfigureWebHost(System.Action configure, System.Action configureOptions); } - // Generated from `Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISupportsStartup { Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure(System.Action configure); @@ -112,7 +102,6 @@ namespace Microsoft { namespace Features { - // Generated from `Microsoft.AspNetCore.Hosting.Server.Features.ServerAddressesFeature` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServerAddressesFeature : Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature { public System.Collections.Generic.ICollection Addresses { get => throw null; } @@ -124,7 +113,6 @@ namespace Microsoft } namespace StaticWebAssets { - // Generated from `Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StaticWebAssetsLoader { public StaticWebAssetsLoader() => throw null; @@ -135,7 +123,6 @@ namespace Microsoft } namespace Http { - // Generated from `Microsoft.AspNetCore.Http.DefaultHttpContextFactory` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultHttpContextFactory : Microsoft.AspNetCore.Http.IHttpContextFactory { public Microsoft.AspNetCore.Http.HttpContext Create(Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection) => throw null; @@ -149,14 +136,12 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.Extensions.Hosting.GenericHostWebHostBuilderExtensions` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class GenericHostWebHostBuilderExtensions { public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureWebHost(this Microsoft.Extensions.Hosting.IHostBuilder builder, System.Action configure) => throw null; public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureWebHost(this Microsoft.Extensions.Hosting.IHostBuilder builder, System.Action configure, System.Action configureWebHostBuilder) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.WebHostBuilderOptions` in `Microsoft.AspNetCore.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebHostBuilderOptions { public bool SuppressEnvironmentConfiguration { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Html.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Html.Abstractions.cs index 048c543ee87..f645b2a4f44 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Html.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Html.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Html { - // Generated from `Microsoft.AspNetCore.Html.HtmlContentBuilder` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlContentBuilder : Microsoft.AspNetCore.Html.IHtmlContent, Microsoft.AspNetCore.Html.IHtmlContentBuilder, Microsoft.AspNetCore.Html.IHtmlContentContainer { public Microsoft.AspNetCore.Html.IHtmlContentBuilder Append(string unencoded) => throw null; @@ -22,7 +22,6 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Html.HtmlContentBuilderExtensions` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlContentBuilderExtensions { public static Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendFormat(this Microsoft.AspNetCore.Html.IHtmlContentBuilder builder, System.IFormatProvider formatProvider, string format, params object[] args) => throw null; @@ -36,7 +35,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContentBuilder SetHtmlContent(this Microsoft.AspNetCore.Html.IHtmlContentBuilder builder, string encoded) => throw null; } - // Generated from `Microsoft.AspNetCore.Html.HtmlFormattableString` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlFormattableString : Microsoft.AspNetCore.Html.IHtmlContent { public HtmlFormattableString(System.IFormatProvider formatProvider, string format, params object[] args) => throw null; @@ -44,7 +42,6 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Html.HtmlString` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlString : Microsoft.AspNetCore.Html.IHtmlContent { public static Microsoft.AspNetCore.Html.HtmlString Empty; @@ -55,13 +52,11 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Html.IHtmlContent` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlContent { void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder); } - // Generated from `Microsoft.AspNetCore.Html.IHtmlContentBuilder` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlContentBuilder : Microsoft.AspNetCore.Html.IHtmlContent, Microsoft.AspNetCore.Html.IHtmlContentContainer { Microsoft.AspNetCore.Html.IHtmlContentBuilder Append(string unencoded); @@ -70,7 +65,6 @@ namespace Microsoft Microsoft.AspNetCore.Html.IHtmlContentBuilder Clear(); } - // Generated from `Microsoft.AspNetCore.Html.IHtmlContentContainer` in `Microsoft.AspNetCore.Html.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlContentContainer : Microsoft.AspNetCore.Html.IHtmlContent { void CopyTo(Microsoft.AspNetCore.Html.IHtmlContentBuilder builder); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Abstractions.cs index da14787d586..ecfba7c73fb 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.EndpointBuilder` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class EndpointBuilder { public System.IServiceProvider ApplicationServices { get => throw null; set => throw null; } @@ -18,7 +18,6 @@ namespace Microsoft public Microsoft.AspNetCore.Http.RequestDelegate RequestDelegate { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.IApplicationBuilder` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationBuilder { System.IServiceProvider ApplicationServices { get; set; } @@ -29,14 +28,12 @@ namespace Microsoft Microsoft.AspNetCore.Builder.IApplicationBuilder Use(System.Func middleware); } - // Generated from `Microsoft.AspNetCore.Builder.IEndpointConventionBuilder` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointConventionBuilder { void Add(System.Action convention); void Finally(System.Action finallyConvention) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.MapExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MapExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder Map(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.PathString pathMatch, System.Action configuration) => throw null; @@ -44,39 +41,33 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder Map(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string pathMatch, System.Action configuration) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.MapWhenExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MapWhenExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder MapWhen(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, System.Func predicate, System.Action configuration) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RunExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RunExtensions { public static void Run(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.RequestDelegate handler) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.UseExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UseExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder Use(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, System.Func, System.Threading.Tasks.Task> middleware) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder Use(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, System.Func middleware) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.UseMiddlewareExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UseMiddlewareExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMiddleware(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, System.Type middleware, params object[] args) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMiddleware(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, params object[] args) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.UsePathBaseExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UsePathBaseExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UsePathBase(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.PathString pathBase) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.UseWhenExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UseWhenExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWhen(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, System.Func predicate, System.Action configuration) => throw null; @@ -84,14 +75,12 @@ namespace Microsoft namespace Extensions { - // Generated from `Microsoft.AspNetCore.Builder.Extensions.MapMiddleware` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MapMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public MapMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Builder.Extensions.MapOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.Extensions.MapOptions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MapOptions { public Microsoft.AspNetCore.Http.RequestDelegate Branch { get => throw null; set => throw null; } @@ -100,14 +89,12 @@ namespace Microsoft public bool PreserveMatchedPathSegment { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MapWhenMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public MapWhenMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Builder.Extensions.MapWhenOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.Extensions.MapWhenOptions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MapWhenOptions { public Microsoft.AspNetCore.Http.RequestDelegate Branch { get => throw null; set => throw null; } @@ -115,7 +102,6 @@ namespace Microsoft public System.Func Predicate { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UsePathBaseMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -128,7 +114,6 @@ namespace Microsoft { namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICorsMetadata { } @@ -137,13 +122,11 @@ namespace Microsoft } namespace Http { - // Generated from `Microsoft.AspNetCore.Http.AsParametersAttribute` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AsParametersAttribute : System.Attribute { public AsParametersAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.BadHttpRequestException` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BadHttpRequestException : System.IO.IOException { public BadHttpRequestException(string message) => throw null; @@ -153,7 +136,6 @@ namespace Microsoft public int StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.ConnectionInfo` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ConnectionInfo { public abstract System.Security.Cryptography.X509Certificates.X509Certificate2 ClientCertificate { get; set; } @@ -167,7 +149,6 @@ namespace Microsoft public virtual void RequestClose() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.CookieBuilder` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieBuilder { public Microsoft.AspNetCore.Http.CookieOptions Build(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -185,7 +166,6 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Http.CookieSecurePolicy SecurePolicy { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.CookieSecurePolicy` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum CookieSecurePolicy : int { Always = 1, @@ -193,7 +173,6 @@ namespace Microsoft SameAsRequest = 0, } - // Generated from `Microsoft.AspNetCore.Http.DefaultEndpointFilterInvocationContext` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultEndpointFilterInvocationContext : Microsoft.AspNetCore.Http.EndpointFilterInvocationContext { public override System.Collections.Generic.IList Arguments { get => throw null; } @@ -202,7 +181,6 @@ namespace Microsoft public override Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Endpoint` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Endpoint { public string DisplayName { get => throw null; } @@ -212,10 +190,8 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.EndpointFilterDelegate` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.ValueTask EndpointFilterDelegate(Microsoft.AspNetCore.Http.EndpointFilterInvocationContext context); - // Generated from `Microsoft.AspNetCore.Http.EndpointFilterFactoryContext` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointFilterFactoryContext { public System.IServiceProvider ApplicationServices { get => throw null; set => throw null; } @@ -223,7 +199,6 @@ namespace Microsoft public System.Reflection.MethodInfo MethodInfo { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.EndpointFilterInvocationContext` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class EndpointFilterInvocationContext { public abstract System.Collections.Generic.IList Arguments { get; } @@ -232,17 +207,14 @@ namespace Microsoft public abstract Microsoft.AspNetCore.Http.HttpContext HttpContext { get; } } - // Generated from `Microsoft.AspNetCore.Http.EndpointHttpContextExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EndpointHttpContextExtensions { public static Microsoft.AspNetCore.Http.Endpoint GetEndpoint(this Microsoft.AspNetCore.Http.HttpContext context) => throw null; public static void SetEndpoint(this Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.Endpoint endpoint) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.EndpointMetadataCollection` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointMetadataCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Http.EndpointMetadataCollection+Enumerator` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public object Current { get => throw null; } @@ -266,7 +238,6 @@ namespace Microsoft public object this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.FragmentString` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FragmentString : System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Http.FragmentString left, Microsoft.AspNetCore.Http.FragmentString right) => throw null; @@ -285,7 +256,6 @@ namespace Microsoft public string Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HeaderDictionaryExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HeaderDictionaryExtensions { public static void Append(this Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key, Microsoft.Extensions.Primitives.StringValues value) => throw null; @@ -294,7 +264,6 @@ namespace Microsoft public static void SetCommaSeparatedValues(this Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key, params string[] values) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HostString` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct HostString : System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Http.HostString left, Microsoft.AspNetCore.Http.HostString right) => throw null; @@ -316,7 +285,6 @@ namespace Microsoft public string Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpContext` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HttpContext { public abstract void Abort(); @@ -334,7 +302,6 @@ namespace Microsoft public abstract Microsoft.AspNetCore.Http.WebSocketManager WebSockets { get; } } - // Generated from `Microsoft.AspNetCore.Http.HttpMethods` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpMethods { public static string Connect; @@ -359,7 +326,6 @@ namespace Microsoft public static string Trace; } - // Generated from `Microsoft.AspNetCore.Http.HttpProtocol` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpProtocol { public static string GetHttpProtocol(System.Version version) => throw null; @@ -375,7 +341,6 @@ namespace Microsoft public static bool IsHttp3(string protocol) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpRequest` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HttpRequest { public abstract System.IO.Stream Body { get; set; } @@ -401,7 +366,6 @@ namespace Microsoft public abstract string Scheme { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResponse` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HttpResponse { public abstract System.IO.Stream Body { get; set; } @@ -426,14 +390,12 @@ namespace Microsoft public abstract int StatusCode { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResponseWritingExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpResponseWritingExtensions { public static System.Threading.Tasks.Task WriteAsync(this Microsoft.AspNetCore.Http.HttpResponse response, string text, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public static System.Threading.Tasks.Task WriteAsync(this Microsoft.AspNetCore.Http.HttpResponse response, string text, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpValidationProblemDetails` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpValidationProblemDetails : Microsoft.AspNetCore.Mvc.ProblemDetails { public System.Collections.Generic.IDictionary Errors { get => throw null; } @@ -441,101 +403,85 @@ namespace Microsoft public HttpValidationProblemDetails(System.Collections.Generic.IDictionary errors) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.IBindableFromHttpContext<>` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBindableFromHttpContext where TSelf : class, Microsoft.AspNetCore.Http.IBindableFromHttpContext { static abstract System.Threading.Tasks.ValueTask BindAsync(Microsoft.AspNetCore.Http.HttpContext context, System.Reflection.ParameterInfo parameter); } - // Generated from `Microsoft.AspNetCore.Http.IContentTypeHttpResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IContentTypeHttpResult { string ContentType { get; } } - // Generated from `Microsoft.AspNetCore.Http.IEndpointFilter` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointFilter { System.Threading.Tasks.ValueTask InvokeAsync(Microsoft.AspNetCore.Http.EndpointFilterInvocationContext context, Microsoft.AspNetCore.Http.EndpointFilterDelegate next); } - // Generated from `Microsoft.AspNetCore.Http.IFileHttpResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFileHttpResult { string ContentType { get; } string FileDownloadName { get; } } - // Generated from `Microsoft.AspNetCore.Http.IHttpContextAccessor` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpContextAccessor { Microsoft.AspNetCore.Http.HttpContext HttpContext { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.IHttpContextFactory` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpContextFactory { Microsoft.AspNetCore.Http.HttpContext Create(Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection); void Dispose(Microsoft.AspNetCore.Http.HttpContext httpContext); } - // Generated from `Microsoft.AspNetCore.Http.IMiddleware` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMiddleware { System.Threading.Tasks.Task InvokeAsync(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.RequestDelegate next); } - // Generated from `Microsoft.AspNetCore.Http.IMiddlewareFactory` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMiddlewareFactory { Microsoft.AspNetCore.Http.IMiddleware Create(System.Type middlewareType); void Release(Microsoft.AspNetCore.Http.IMiddleware middleware); } - // Generated from `Microsoft.AspNetCore.Http.INestedHttpResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface INestedHttpResult { Microsoft.AspNetCore.Http.IResult Result { get; } } - // Generated from `Microsoft.AspNetCore.Http.IProblemDetailsService` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IProblemDetailsService { System.Threading.Tasks.ValueTask WriteAsync(Microsoft.AspNetCore.Http.ProblemDetailsContext context); } - // Generated from `Microsoft.AspNetCore.Http.IProblemDetailsWriter` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IProblemDetailsWriter { bool CanWrite(Microsoft.AspNetCore.Http.ProblemDetailsContext context); System.Threading.Tasks.ValueTask WriteAsync(Microsoft.AspNetCore.Http.ProblemDetailsContext context); } - // Generated from `Microsoft.AspNetCore.Http.IResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResult { System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext); } - // Generated from `Microsoft.AspNetCore.Http.IStatusCodeHttpResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStatusCodeHttpResult { int? StatusCode { get; } } - // Generated from `Microsoft.AspNetCore.Http.IValueHttpResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValueHttpResult { object Value { get; } } - // Generated from `Microsoft.AspNetCore.Http.IValueHttpResult<>` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValueHttpResult { TValue Value { get; } } - // Generated from `Microsoft.AspNetCore.Http.PathString` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PathString : System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Http.PathString left, Microsoft.AspNetCore.Http.PathString right) => throw null; @@ -569,7 +515,6 @@ namespace Microsoft public static implicit operator Microsoft.AspNetCore.Http.PathString(string s) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.ProblemDetailsContext` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProblemDetailsContext { public Microsoft.AspNetCore.Http.EndpointMetadataCollection AdditionalMetadata { get => throw null; set => throw null; } @@ -578,7 +523,6 @@ namespace Microsoft public ProblemDetailsContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.QueryString` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct QueryString : System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Http.QueryString left, Microsoft.AspNetCore.Http.QueryString right) => throw null; @@ -603,10 +547,8 @@ namespace Microsoft public string Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.RequestDelegate` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task RequestDelegate(Microsoft.AspNetCore.Http.HttpContext context); - // Generated from `Microsoft.AspNetCore.Http.RequestDelegateResult` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestDelegateResult { public System.Collections.Generic.IReadOnlyList EndpointMetadata { get => throw null; } @@ -614,7 +556,6 @@ namespace Microsoft public RequestDelegateResult(Microsoft.AspNetCore.Http.RequestDelegate requestDelegate, System.Collections.Generic.IReadOnlyList metadata) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.RequestTrailerExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestTrailerExtensions { public static bool CheckTrailersAvailable(this Microsoft.AspNetCore.Http.HttpRequest request) => throw null; @@ -623,7 +564,6 @@ namespace Microsoft public static bool SupportsTrailers(this Microsoft.AspNetCore.Http.HttpRequest request) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.ResponseTrailerExtensions` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ResponseTrailerExtensions { public static void AppendTrailer(this Microsoft.AspNetCore.Http.HttpResponse response, string trailerName, Microsoft.Extensions.Primitives.StringValues trailerValues) => throw null; @@ -631,7 +571,6 @@ namespace Microsoft public static bool SupportsTrailers(this Microsoft.AspNetCore.Http.HttpResponse response) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.StatusCodes` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StatusCodes { public const int Status100Continue = default; @@ -701,7 +640,6 @@ namespace Microsoft public const int Status511NetworkAuthenticationRequired = default; } - // Generated from `Microsoft.AspNetCore.Http.WebSocketManager` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class WebSocketManager { public virtual System.Threading.Tasks.Task AcceptWebSocketAsync() => throw null; @@ -714,13 +652,11 @@ namespace Microsoft namespace Features { - // Generated from `Microsoft.AspNetCore.Http.Features.IEndpointFeature` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointFeature { Microsoft.AspNetCore.Http.Endpoint Endpoint { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IRouteValuesFeature` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteValuesFeature { Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get; set; } @@ -729,7 +665,6 @@ namespace Microsoft } namespace Metadata { - // Generated from `Microsoft.AspNetCore.Http.Metadata.IAcceptsMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAcceptsMetadata { System.Collections.Generic.IReadOnlyList ContentTypes { get; } @@ -737,66 +672,55 @@ namespace Microsoft System.Type RequestType { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IEndpointDescriptionMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointDescriptionMetadata { string Description { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointMetadataProvider { static abstract void PopulateMetadata(System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder); } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IEndpointParameterMetadataProvider` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointParameterMetadataProvider { static abstract void PopulateMetadata(System.Reflection.ParameterInfo parameter, Microsoft.AspNetCore.Builder.EndpointBuilder builder); } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IEndpointSummaryMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointSummaryMetadata { string Summary { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromBodyMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFromBodyMetadata { bool AllowEmpty { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromFormMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFromFormMetadata { string Name { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromHeaderMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFromHeaderMetadata { string Name { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromQueryMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFromQueryMetadata { string Name { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromRouteMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFromRouteMetadata { string Name { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IFromServiceMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFromServiceMetadata { } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IProducesResponseTypeMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IProducesResponseTypeMetadata { System.Collections.Generic.IEnumerable ContentTypes { get; } @@ -804,18 +728,15 @@ namespace Microsoft System.Type Type { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.IRequestSizeLimitMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestSizeLimitMetadata { System.Int64? MaxRequestBodySize { get; } } - // Generated from `Microsoft.AspNetCore.Http.Metadata.ISkipStatusCodePagesMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISkipStatusCodePagesMetadata { } - // Generated from `Microsoft.AspNetCore.Http.Metadata.ITagsMetadata` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagsMetadata { System.Collections.Generic.IReadOnlyList Tags { get; } @@ -825,7 +746,6 @@ namespace Microsoft } namespace Mvc { - // Generated from `Microsoft.AspNetCore.Mvc.ProblemDetails` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProblemDetails { public string Detail { get => throw null; set => throw null; } @@ -840,10 +760,8 @@ namespace Microsoft } namespace Routing { - // Generated from `Microsoft.AspNetCore.Routing.RouteValueDictionary` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteValueDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Routing.RouteValueDictionary+Enumerator` in `Microsoft.AspNetCore.Http.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.Common.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.Common.cs index 583299c4320..2c97c6fff35 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.Common.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.Common.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Http.Connections.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Connections { - // Generated from `Microsoft.AspNetCore.Http.Connections.AvailableTransport` in `Microsoft.AspNetCore.Http.Connections.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AvailableTransport { public AvailableTransport() => throw null; @@ -16,7 +16,6 @@ namespace Microsoft public string Transport { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Connections.HttpTransportType` in `Microsoft.AspNetCore.Http.Connections.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum HttpTransportType : int { @@ -26,20 +25,17 @@ namespace Microsoft WebSockets = 1, } - // Generated from `Microsoft.AspNetCore.Http.Connections.HttpTransports` in `Microsoft.AspNetCore.Http.Connections.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpTransports { public static Microsoft.AspNetCore.Http.Connections.HttpTransportType All; } - // Generated from `Microsoft.AspNetCore.Http.Connections.NegotiateProtocol` in `Microsoft.AspNetCore.Http.Connections.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class NegotiateProtocol { public static Microsoft.AspNetCore.Http.Connections.NegotiationResponse ParseResponse(System.ReadOnlySpan content) => throw null; public static void WriteResponse(Microsoft.AspNetCore.Http.Connections.NegotiationResponse response, System.Buffers.IBufferWriter output) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Connections.NegotiationResponse` in `Microsoft.AspNetCore.Http.Connections.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NegotiationResponse { public string AccessToken { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.cs index 059aa3956b8..e2a1f777e5f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Connections.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilder` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionEndpointRouteBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { public void Add(System.Action convention) => throw null; public void Finally(System.Action finalConvention) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConnectionEndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilder MapConnectionHandler(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern) where TConnectionHandler : Microsoft.AspNetCore.Connections.ConnectionHandler => throw null; @@ -27,14 +26,12 @@ namespace Microsoft { namespace Connections { - // Generated from `Microsoft.AspNetCore.Http.Connections.ConnectionOptions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionOptions { public ConnectionOptions() => throw null; public System.TimeSpan? DisconnectTimeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Connections.ConnectionOptionsSetup` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConnectionOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions { public void Configure(Microsoft.AspNetCore.Http.Connections.ConnectionOptions options) => throw null; @@ -42,13 +39,11 @@ namespace Microsoft public static System.TimeSpan DefaultDisconectTimeout; } - // Generated from `Microsoft.AspNetCore.Http.Connections.HttpConnectionContextExtensions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpConnectionContextExtensions { public static Microsoft.AspNetCore.Http.HttpContext GetHttpContext(this Microsoft.AspNetCore.Connections.ConnectionContext connection) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpConnectionDispatcherOptions { public System.Int64 ApplicationMaxBufferSize { get => throw null; set => throw null; } @@ -63,20 +58,17 @@ namespace Microsoft public Microsoft.AspNetCore.Http.Connections.WebSocketOptions WebSockets { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Connections.LongPollingOptions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LongPollingOptions { public LongPollingOptions() => throw null; public System.TimeSpan PollTimeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Connections.NegotiateMetadata` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NegotiateMetadata { public NegotiateMetadata() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Connections.WebSocketOptions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebSocketOptions { public System.TimeSpan CloseTimeout { get => throw null; set => throw null; } @@ -86,13 +78,11 @@ namespace Microsoft namespace Features { - // Generated from `Microsoft.AspNetCore.Http.Connections.Features.IHttpContextFeature` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpContextFeature { Microsoft.AspNetCore.Http.HttpContext HttpContext { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Connections.Features.IHttpTransportFeature` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpTransportFeature { Microsoft.AspNetCore.Http.Connections.HttpTransportType TransportType { get; } @@ -106,7 +96,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ConnectionsDependencyInjectionExtensions` in `Microsoft.AspNetCore.Http.Connections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConnectionsDependencyInjectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddConnections(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Extensions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Extensions.cs index 048b2c90e39..2e98c6e5cd5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Extensions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Extensions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,21 +7,18 @@ namespace Microsoft { namespace Http { - // Generated from `Microsoft.AspNetCore.Http.EndpointDescriptionAttribute` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointDescriptionAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IEndpointDescriptionMetadata { public string Description { get => throw null; } public EndpointDescriptionAttribute(string description) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.EndpointSummaryAttribute` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointSummaryAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IEndpointSummaryMetadata { public EndpointSummaryAttribute(string summary) => throw null; public string Summary { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HeaderDictionaryTypeExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HeaderDictionaryTypeExtensions { public static void AppendList(this Microsoft.AspNetCore.Http.IHeaderDictionary Headers, string name, System.Collections.Generic.IList values) => throw null; @@ -28,13 +26,11 @@ namespace Microsoft public static Microsoft.AspNetCore.Http.Headers.ResponseHeaders GetTypedHeaders(this Microsoft.AspNetCore.Http.HttpResponse response) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpContextServerVariableExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpContextServerVariableExtensions { public static string GetServerVariable(this Microsoft.AspNetCore.Http.HttpContext context, string variableName) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpRequestJsonExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpRequestJsonExtensions { public static bool HasJsonContentType(this Microsoft.AspNetCore.Http.HttpRequest request) => throw null; @@ -46,7 +42,6 @@ namespace Microsoft public static System.Threading.Tasks.ValueTask ReadFromJsonAsync(this Microsoft.AspNetCore.Http.HttpRequest request, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpResponseJsonExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpResponseJsonExtensions { public static System.Threading.Tasks.Task WriteAsJsonAsync(this Microsoft.AspNetCore.Http.HttpResponse response, object value, System.Type type, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -59,14 +54,12 @@ namespace Microsoft public static System.Threading.Tasks.Task WriteAsJsonAsync(this Microsoft.AspNetCore.Http.HttpResponse response, TValue value, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, string contentType = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.ProblemDetailsOptions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProblemDetailsOptions { public System.Action CustomizeProblemDetails { get => throw null; set => throw null; } public ProblemDetailsOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.RequestDelegateFactory` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestDelegateFactory { public static Microsoft.AspNetCore.Http.RequestDelegateResult Create(System.Delegate handler, Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions options) => throw null; @@ -76,7 +69,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Http.RequestDelegateMetadataResult InferMetadata(System.Reflection.MethodInfo methodInfo, Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions options = default(Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestDelegateFactoryOptions { public bool DisableInferBodyFromParameters { get => throw null; set => throw null; } @@ -87,21 +79,18 @@ namespace Microsoft public bool ThrowOnBadRequest { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.RequestDelegateMetadataResult` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestDelegateMetadataResult { public System.Collections.Generic.IReadOnlyList EndpointMetadata { get => throw null; set => throw null; } public RequestDelegateMetadataResult() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.ResponseExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ResponseExtensions { public static void Clear(this Microsoft.AspNetCore.Http.HttpResponse response) => throw null; public static void Redirect(this Microsoft.AspNetCore.Http.HttpResponse response, string location, bool permanent, bool preserveMethod) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.SendFileResponseExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SendFileResponseExtensions { public static System.Threading.Tasks.Task SendFileAsync(this Microsoft.AspNetCore.Http.HttpResponse response, Microsoft.Extensions.FileProviders.IFileInfo file, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -110,7 +99,6 @@ namespace Microsoft public static System.Threading.Tasks.Task SendFileAsync(this Microsoft.AspNetCore.Http.HttpResponse response, string fileName, System.Int64 offset, System.Int64? count, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.SessionExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SessionExtensions { public static System.Byte[] Get(this Microsoft.AspNetCore.Http.ISession session, string key) => throw null; @@ -120,7 +108,6 @@ namespace Microsoft public static void SetString(this Microsoft.AspNetCore.Http.ISession session, string key, string value) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.TagsAttribute` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagsAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.ITagsMetadata { public System.Collections.Generic.IReadOnlyList Tags { get => throw null; } @@ -129,13 +116,11 @@ namespace Microsoft namespace Extensions { - // Generated from `Microsoft.AspNetCore.Http.Extensions.HttpRequestMultipartExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpRequestMultipartExtensions { public static string GetMultipartBoundary(this Microsoft.AspNetCore.Http.HttpRequest request) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Extensions.QueryBuilder` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QueryBuilder : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { public void Add(string key, System.Collections.Generic.IEnumerable values) => throw null; @@ -151,14 +136,12 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Extensions.StreamCopyOperation` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StreamCopyOperation { public static System.Threading.Tasks.Task CopyToAsync(System.IO.Stream source, System.IO.Stream destination, System.Int64? count, System.Threading.CancellationToken cancel) => throw null; public static System.Threading.Tasks.Task CopyToAsync(System.IO.Stream source, System.IO.Stream destination, System.Int64? count, int bufferSize, System.Threading.CancellationToken cancel) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Extensions.UriHelper` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UriHelper { public static string BuildAbsolute(string scheme, Microsoft.AspNetCore.Http.HostString host, Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.PathString path = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.QueryString query = default(Microsoft.AspNetCore.Http.QueryString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString)) => throw null; @@ -173,7 +156,6 @@ namespace Microsoft } namespace Headers { - // Generated from `Microsoft.AspNetCore.Http.Headers.RequestHeaders` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestHeaders { public System.Collections.Generic.IList Accept { get => throw null; set => throw null; } @@ -207,7 +189,6 @@ namespace Microsoft public void SetList(string name, System.Collections.Generic.IList values) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Headers.ResponseHeaders` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseHeaders { public void Append(string name, object value) => throw null; @@ -234,7 +215,6 @@ namespace Microsoft } namespace Json { - // Generated from `Microsoft.AspNetCore.Http.Json.JsonOptions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonOptions { public JsonOptions() => throw null; @@ -248,13 +228,11 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.HttpJsonServiceExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpJsonServiceExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection ConfigureHttpJsonOptions(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ProblemDetailsServiceCollectionExtensions` in `Microsoft.AspNetCore.Http.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ProblemDetailsServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddProblemDetails(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Features.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Features.cs index 13e3caf686f..acf927a9dca 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Features.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Features.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Http { - // Generated from `Microsoft.AspNetCore.Http.CookieOptions` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieOptions { public CookieOptions() => throw null; @@ -23,7 +23,6 @@ namespace Microsoft public bool Secure { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.IFormCollection` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFormCollection : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { bool ContainsKey(string key); @@ -34,7 +33,6 @@ namespace Microsoft bool TryGetValue(string key, out Microsoft.Extensions.Primitives.StringValues value); } - // Generated from `Microsoft.AspNetCore.Http.IFormFile` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFormFile { string ContentDisposition { get; } @@ -48,7 +46,6 @@ namespace Microsoft System.IO.Stream OpenReadStream(); } - // Generated from `Microsoft.AspNetCore.Http.IFormFileCollection` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFormFileCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { Microsoft.AspNetCore.Http.IFormFile GetFile(string name); @@ -56,7 +53,6 @@ namespace Microsoft Microsoft.AspNetCore.Http.IFormFile this[string name] { get; } } - // Generated from `Microsoft.AspNetCore.Http.IHeaderDictionary` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHeaderDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { Microsoft.Extensions.Primitives.StringValues Accept { get => throw null; set => throw null; } @@ -152,7 +148,6 @@ namespace Microsoft Microsoft.Extensions.Primitives.StringValues XXSSProtection { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.IQueryCollection` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IQueryCollection : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { bool ContainsKey(string key); @@ -162,7 +157,6 @@ namespace Microsoft bool TryGetValue(string key, out Microsoft.Extensions.Primitives.StringValues value); } - // Generated from `Microsoft.AspNetCore.Http.IRequestCookieCollection` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestCookieCollection : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { bool ContainsKey(string key); @@ -172,7 +166,6 @@ namespace Microsoft bool TryGetValue(string key, out string value); } - // Generated from `Microsoft.AspNetCore.Http.IResponseCookies` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResponseCookies { void Append(System.ReadOnlySpan> keyValuePairs, Microsoft.AspNetCore.Http.CookieOptions options) => throw null; @@ -182,7 +175,6 @@ namespace Microsoft void Delete(string key, Microsoft.AspNetCore.Http.CookieOptions options); } - // Generated from `Microsoft.AspNetCore.Http.ISession` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISession { void Clear(); @@ -196,7 +188,6 @@ namespace Microsoft bool TryGetValue(string key, out System.Byte[] value); } - // Generated from `Microsoft.AspNetCore.Http.SameSiteMode` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum SameSiteMode : int { Lax = 1, @@ -205,7 +196,6 @@ namespace Microsoft Unspecified = -1, } - // Generated from `Microsoft.AspNetCore.Http.WebSocketAcceptContext` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebSocketAcceptContext { public bool DangerousEnableCompression { get => throw null; set => throw null; } @@ -218,7 +208,6 @@ namespace Microsoft namespace Features { - // Generated from `Microsoft.AspNetCore.Http.Features.HttpsCompressionMode` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HttpsCompressionMode : int { Compress = 2, @@ -226,13 +215,11 @@ namespace Microsoft DoNotCompress = 1, } - // Generated from `Microsoft.AspNetCore.Http.Features.IBadRequestExceptionFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBadRequestExceptionFeature { System.Exception Error { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IFormFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFormFeature { Microsoft.AspNetCore.Http.IFormCollection Form { get; set; } @@ -241,13 +228,11 @@ namespace Microsoft System.Threading.Tasks.Task ReadFormAsync(System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpBodyControlFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpBodyControlFeature { bool AllowSynchronousIO { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpConnectionFeature { string ConnectionId { get; set; } @@ -257,7 +242,6 @@ namespace Microsoft int RemotePort { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpExtendedConnectFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpExtendedConnectFeature { System.Threading.Tasks.ValueTask AcceptAsync(); @@ -265,20 +249,17 @@ namespace Microsoft string Protocol { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpMaxRequestBodySizeFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpMaxRequestBodySizeFeature { bool IsReadOnly { get; } System.Int64? MaxRequestBodySize { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestBodyDetectionFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestBodyDetectionFeature { bool CanHaveBody { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestFeature { System.IO.Stream Body { get; set; } @@ -292,33 +273,28 @@ namespace Microsoft string Scheme { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestIdentifierFeature { string TraceIdentifier { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestLifetimeFeature { void Abort(); System.Threading.CancellationToken RequestAborted { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpRequestTrailersFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestTrailersFeature { bool Available { get; } Microsoft.AspNetCore.Http.IHeaderDictionary Trailers { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpResetFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpResetFeature { void Reset(int errorCode); } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpResponseBodyFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpResponseBodyFeature { System.Threading.Tasks.Task CompleteAsync(); @@ -329,7 +305,6 @@ namespace Microsoft System.IO.Pipelines.PipeWriter Writer { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpResponseFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpResponseFeature { System.IO.Stream Body { get; set; } @@ -341,102 +316,86 @@ namespace Microsoft int StatusCode { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpResponseTrailersFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpResponseTrailersFeature { Microsoft.AspNetCore.Http.IHeaderDictionary Trailers { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpUpgradeFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpUpgradeFeature { bool IsUpgradableRequest { get; } System.Threading.Tasks.Task UpgradeAsync(); } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpWebSocketFeature { System.Threading.Tasks.Task AcceptAsync(Microsoft.AspNetCore.Http.WebSocketAcceptContext context); bool IsWebSocketRequest { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpWebTransportFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpWebTransportFeature { System.Threading.Tasks.ValueTask AcceptAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); bool IsWebTransportRequest { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpsCompressionFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpsCompressionFeature { Microsoft.AspNetCore.Http.Features.HttpsCompressionMode Mode { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IItemsFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IItemsFeature { System.Collections.Generic.IDictionary Items { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IQueryFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IQueryFeature { Microsoft.AspNetCore.Http.IQueryCollection Query { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IRequestBodyPipeFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestBodyPipeFeature { System.IO.Pipelines.PipeReader Reader { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IRequestCookiesFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestCookiesFeature { Microsoft.AspNetCore.Http.IRequestCookieCollection Cookies { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IResponseCookiesFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResponseCookiesFeature { Microsoft.AspNetCore.Http.IResponseCookies Cookies { get; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IServerVariablesFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServerVariablesFeature { string this[string variableName] { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServiceProvidersFeature { System.IServiceProvider RequestServices { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.ISessionFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISessionFeature { Microsoft.AspNetCore.Http.ISession Session { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITlsConnectionFeature { System.Security.Cryptography.X509Certificates.X509Certificate2 ClientCertificate { get; set; } System.Threading.Tasks.Task GetClientCertificateAsync(System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Http.Features.ITlsTokenBindingFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITlsTokenBindingFeature { System.Byte[] GetProvidedTokenBindingId(); System.Byte[] GetReferredTokenBindingId(); } - // Generated from `Microsoft.AspNetCore.Http.Features.ITrackingConsentFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITrackingConsentFeature { bool CanTrack { get; } @@ -447,7 +406,6 @@ namespace Microsoft void WithdrawConsent(); } - // Generated from `Microsoft.AspNetCore.Http.Features.IWebTransportSession` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IWebTransportSession { void Abort(int errorCode); @@ -458,7 +416,6 @@ namespace Microsoft namespace Authentication { - // Generated from `Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature` in `Microsoft.AspNetCore.Http.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpAuthenticationFeature { System.Security.Claims.ClaimsPrincipal User { get; set; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Results.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Results.cs index 24e27df9103..d6c359772a4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Results.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.Results.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,12 +7,10 @@ namespace Microsoft { namespace Http { - // Generated from `Microsoft.AspNetCore.Http.IResultExtensions` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResultExtensions { } - // Generated from `Microsoft.AspNetCore.Http.Results` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Results { public static Microsoft.AspNetCore.Http.IResult Accepted(string uri = default(string), object value = default(object)) => throw null; @@ -67,7 +66,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Http.IResult ValidationProblem(System.Collections.Generic.IDictionary errors, string detail = default(string), string instance = default(string), int? statusCode = default(int?), string title = default(string), string type = default(string), System.Collections.Generic.IDictionary extensions = default(System.Collections.Generic.IDictionary)) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.TypedResults` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class TypedResults { public static Microsoft.AspNetCore.Http.HttpResults.Accepted Accepted(System.Uri uri) => throw null; @@ -126,7 +124,6 @@ namespace Microsoft namespace HttpResults { - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Accepted` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Accepted : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -136,7 +133,6 @@ namespace Microsoft int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Accepted<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Accepted : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -148,7 +144,6 @@ namespace Microsoft object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AcceptedAtRoute : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -159,7 +154,6 @@ namespace Microsoft int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AcceptedAtRoute : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -172,7 +166,6 @@ namespace Microsoft object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.BadRequest` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BadRequest : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -181,7 +174,6 @@ namespace Microsoft int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.BadRequest<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BadRequest : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -192,7 +184,6 @@ namespace Microsoft object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.ChallengeHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ChallengeHttpResult : Microsoft.AspNetCore.Http.IResult { public System.Collections.Generic.IReadOnlyList AuthenticationSchemes { get => throw null; set => throw null; } @@ -200,7 +191,6 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Conflict` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Conflict : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -209,7 +199,6 @@ namespace Microsoft int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Conflict<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Conflict : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -220,7 +209,6 @@ namespace Microsoft object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.ContentHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ContentHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult { public string ContentType { get => throw null; set => throw null; } @@ -229,7 +217,6 @@ namespace Microsoft public int? StatusCode { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Created` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Created : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -239,7 +226,6 @@ namespace Microsoft int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Created<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Created : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -251,7 +237,6 @@ namespace Microsoft object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.CreatedAtRoute` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CreatedAtRoute : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -262,7 +247,6 @@ namespace Microsoft int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.CreatedAtRoute<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CreatedAtRoute : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -275,14 +259,12 @@ namespace Microsoft object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.EmptyHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EmptyHttpResult : Microsoft.AspNetCore.Http.IResult { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; public static Microsoft.AspNetCore.Http.HttpResults.EmptyHttpResult Instance { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.FileContentHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileContentHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IFileHttpResult, Microsoft.AspNetCore.Http.IResult { public string ContentType { get => throw null; set => throw null; } @@ -295,7 +277,6 @@ namespace Microsoft public System.DateTimeOffset? LastModified { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.FileStreamHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileStreamHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IFileHttpResult, Microsoft.AspNetCore.Http.IResult { public string ContentType { get => throw null; set => throw null; } @@ -308,7 +289,6 @@ namespace Microsoft public System.DateTimeOffset? LastModified { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.ForbidHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ForbidHttpResult : Microsoft.AspNetCore.Http.IResult { public System.Collections.Generic.IReadOnlyList AuthenticationSchemes { get => throw null; set => throw null; } @@ -316,7 +296,6 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.JsonHttpResult<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult { public string ContentType { get => throw null; set => throw null; } @@ -327,7 +306,6 @@ namespace Microsoft object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.NoContent` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NoContent : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -336,7 +314,6 @@ namespace Microsoft int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.NotFound` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NotFound : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -345,7 +322,6 @@ namespace Microsoft int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.NotFound<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NotFound : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -356,7 +332,6 @@ namespace Microsoft object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Ok` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Ok : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -365,7 +340,6 @@ namespace Microsoft int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Ok<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Ok : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -376,7 +350,6 @@ namespace Microsoft object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.PhysicalFileHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalFileHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IFileHttpResult, Microsoft.AspNetCore.Http.IResult { public string ContentType { get => throw null; set => throw null; } @@ -389,7 +362,6 @@ namespace Microsoft public System.DateTimeOffset? LastModified { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.ProblemHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProblemHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult { public string ContentType { get => throw null; } @@ -401,7 +373,6 @@ namespace Microsoft Microsoft.AspNetCore.Mvc.ProblemDetails Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.PushStreamHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PushStreamHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IFileHttpResult, Microsoft.AspNetCore.Http.IResult { public string ContentType { get => throw null; set => throw null; } @@ -413,7 +384,6 @@ namespace Microsoft public System.DateTimeOffset? LastModified { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.RedirectHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectHttpResult : Microsoft.AspNetCore.Http.IResult { public bool AcceptLocalUrlOnly { get => throw null; } @@ -423,7 +393,6 @@ namespace Microsoft public string Url { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.RedirectToRouteHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectToRouteHttpResult : Microsoft.AspNetCore.Http.IResult { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -434,7 +403,6 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Results<,,,,,>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Results : Microsoft.AspNetCore.Http.INestedHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider where TResult1 : Microsoft.AspNetCore.Http.IResult where TResult2 : Microsoft.AspNetCore.Http.IResult where TResult3 : Microsoft.AspNetCore.Http.IResult where TResult4 : Microsoft.AspNetCore.Http.IResult where TResult5 : Microsoft.AspNetCore.Http.IResult where TResult6 : Microsoft.AspNetCore.Http.IResult { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -448,7 +416,6 @@ namespace Microsoft public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult6 result) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Results<,,,,>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Results : Microsoft.AspNetCore.Http.INestedHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider where TResult1 : Microsoft.AspNetCore.Http.IResult where TResult2 : Microsoft.AspNetCore.Http.IResult where TResult3 : Microsoft.AspNetCore.Http.IResult where TResult4 : Microsoft.AspNetCore.Http.IResult where TResult5 : Microsoft.AspNetCore.Http.IResult { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -461,7 +428,6 @@ namespace Microsoft public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult5 result) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Results<,,,>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Results : Microsoft.AspNetCore.Http.INestedHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider where TResult1 : Microsoft.AspNetCore.Http.IResult where TResult2 : Microsoft.AspNetCore.Http.IResult where TResult3 : Microsoft.AspNetCore.Http.IResult where TResult4 : Microsoft.AspNetCore.Http.IResult { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -473,7 +439,6 @@ namespace Microsoft public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult4 result) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Results<,,>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Results : Microsoft.AspNetCore.Http.INestedHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider where TResult1 : Microsoft.AspNetCore.Http.IResult where TResult2 : Microsoft.AspNetCore.Http.IResult where TResult3 : Microsoft.AspNetCore.Http.IResult { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -484,7 +449,6 @@ namespace Microsoft public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult3 result) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Results<,>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Results : Microsoft.AspNetCore.Http.INestedHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider where TResult1 : Microsoft.AspNetCore.Http.IResult where TResult2 : Microsoft.AspNetCore.Http.IResult { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -494,7 +458,6 @@ namespace Microsoft public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results(TResult2 result) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.SignInHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SignInHttpResult : Microsoft.AspNetCore.Http.IResult { public string AuthenticationScheme { get => throw null; set => throw null; } @@ -503,7 +466,6 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.SignOutHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SignOutHttpResult : Microsoft.AspNetCore.Http.IResult { public System.Collections.Generic.IReadOnlyList AuthenticationSchemes { get => throw null; set => throw null; } @@ -511,7 +473,6 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.StatusCodeHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StatusCodeHttpResult : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -519,7 +480,6 @@ namespace Microsoft int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.UnauthorizedHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnauthorizedHttpResult : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -527,7 +487,6 @@ namespace Microsoft int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.UnprocessableEntity` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnprocessableEntity : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -536,7 +495,6 @@ namespace Microsoft int? Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.UnprocessableEntity<>` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnprocessableEntity : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -547,7 +505,6 @@ namespace Microsoft object Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.Utf8ContentHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Utf8ContentHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult { public string ContentType { get => throw null; set => throw null; } @@ -556,7 +513,6 @@ namespace Microsoft public int? StatusCode { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.ValidationProblem` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationProblem : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider { public string ContentType { get => throw null; } @@ -569,7 +525,6 @@ namespace Microsoft Microsoft.AspNetCore.Http.HttpValidationProblemDetails Microsoft.AspNetCore.Http.IValueHttpResult.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpResults.VirtualFileHttpResult` in `Microsoft.AspNetCore.Http.Results, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class VirtualFileHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IFileHttpResult, Microsoft.AspNetCore.Http.IResult { public string ContentType { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.cs index 85d1cd64b9c..8625e51e6a0 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Http.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ApplicationBuilder` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationBuilder : Microsoft.AspNetCore.Builder.IApplicationBuilder { public ApplicationBuilder(System.IServiceProvider serviceProvider) => throw null; @@ -22,7 +22,6 @@ namespace Microsoft } namespace Http { - // Generated from `Microsoft.AspNetCore.Http.BindingAddress` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingAddress { public BindingAddress() => throw null; @@ -38,7 +37,6 @@ namespace Microsoft public string UnixPipePath { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.DefaultHttpContext` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultHttpContext : Microsoft.AspNetCore.Http.HttpContext { public override void Abort() => throw null; @@ -62,10 +60,8 @@ namespace Microsoft public override Microsoft.AspNetCore.Http.WebSocketManager WebSockets { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.FormCollection` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormCollection : Microsoft.AspNetCore.Http.IFormCollection, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Http.FormCollection+Enumerator` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -90,7 +86,6 @@ namespace Microsoft public bool TryGetValue(string key, out Microsoft.Extensions.Primitives.StringValues value) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.FormFile` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFile : Microsoft.AspNetCore.Http.IFormFile { public string ContentDisposition { get => throw null; set => throw null; } @@ -105,7 +100,6 @@ namespace Microsoft public System.IO.Stream OpenReadStream() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.FormFileCollection` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFileCollection : System.Collections.Generic.List, Microsoft.AspNetCore.Http.IFormFileCollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { public FormFileCollection() => throw null; @@ -114,10 +108,8 @@ namespace Microsoft public Microsoft.AspNetCore.Http.IFormFile this[string name] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HeaderDictionary` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HeaderDictionary : Microsoft.AspNetCore.Http.IHeaderDictionary, System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Http.HeaderDictionary+Enumerator` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -153,14 +145,12 @@ namespace Microsoft public System.Collections.Generic.ICollection Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.HttpContextAccessor` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpContextAccessor : Microsoft.AspNetCore.Http.IHttpContextAccessor { public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; set => throw null; } public HttpContextAccessor() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.HttpRequestRewindExtensions` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpRequestRewindExtensions { public static void EnableBuffering(this Microsoft.AspNetCore.Http.HttpRequest request) => throw null; @@ -169,7 +159,6 @@ namespace Microsoft public static void EnableBuffering(this Microsoft.AspNetCore.Http.HttpRequest request, System.Int64 bufferLimit) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.MiddlewareFactory` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MiddlewareFactory : Microsoft.AspNetCore.Http.IMiddlewareFactory { public Microsoft.AspNetCore.Http.IMiddleware Create(System.Type middlewareType) => throw null; @@ -177,10 +166,8 @@ namespace Microsoft public void Release(Microsoft.AspNetCore.Http.IMiddleware middleware) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.QueryCollection` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QueryCollection : Microsoft.AspNetCore.Http.IQueryCollection, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Http.QueryCollection+Enumerator` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -207,19 +194,16 @@ namespace Microsoft public bool TryGetValue(string key, out Microsoft.Extensions.Primitives.StringValues value) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.RequestFormReaderExtensions` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestFormReaderExtensions { public static System.Threading.Tasks.Task ReadFormAsync(this Microsoft.AspNetCore.Http.HttpRequest request, Microsoft.AspNetCore.Http.Features.FormOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.SendFileFallback` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SendFileFallback { public static System.Threading.Tasks.Task SendFileAsync(System.IO.Stream destination, string filePath, System.Int64 offset, System.Int64? count, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.StreamResponseBodyFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StreamResponseBodyFeature : Microsoft.AspNetCore.Http.Features.IHttpResponseBodyFeature { public virtual System.Threading.Tasks.Task CompleteAsync() => throw null; @@ -236,14 +220,12 @@ namespace Microsoft namespace Features { - // Generated from `Microsoft.AspNetCore.Http.Features.DefaultSessionFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultSessionFeature : Microsoft.AspNetCore.Http.Features.ISessionFeature { public DefaultSessionFeature() => throw null; public Microsoft.AspNetCore.Http.ISession Session { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.FormFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFeature : Microsoft.AspNetCore.Http.Features.IFormFeature { public Microsoft.AspNetCore.Http.IFormCollection Form { get => throw null; set => throw null; } @@ -256,7 +238,6 @@ namespace Microsoft public System.Threading.Tasks.Task ReadFormAsync(System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.FormOptions` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormOptions { public bool BufferBody { get => throw null; set => throw null; } @@ -276,7 +257,6 @@ namespace Microsoft public int ValueLengthLimit { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.HttpConnectionFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpConnectionFeature : Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature { public string ConnectionId { get => throw null; set => throw null; } @@ -287,7 +267,6 @@ namespace Microsoft public int RemotePort { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.HttpRequestFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpRequestFeature : Microsoft.AspNetCore.Http.Features.IHttpRequestFeature { public System.IO.Stream Body { get => throw null; set => throw null; } @@ -302,14 +281,12 @@ namespace Microsoft public string Scheme { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.HttpRequestIdentifierFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpRequestIdentifierFeature : Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature { public HttpRequestIdentifierFeature() => throw null; public string TraceIdentifier { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.HttpRequestLifetimeFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpRequestLifetimeFeature : Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature { public void Abort() => throw null; @@ -317,7 +294,6 @@ namespace Microsoft public System.Threading.CancellationToken RequestAborted { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.HttpResponseFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpResponseFeature : Microsoft.AspNetCore.Http.Features.IHttpResponseFeature { public System.IO.Stream Body { get => throw null; set => throw null; } @@ -330,20 +306,17 @@ namespace Microsoft public int StatusCode { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IHttpActivityFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpActivityFeature { System.Diagnostics.Activity Activity { get; set; } } - // Generated from `Microsoft.AspNetCore.Http.Features.ItemsFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ItemsFeature : Microsoft.AspNetCore.Http.Features.IItemsFeature { public System.Collections.Generic.IDictionary Items { get => throw null; set => throw null; } public ItemsFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.QueryFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QueryFeature : Microsoft.AspNetCore.Http.Features.IQueryFeature { public Microsoft.AspNetCore.Http.IQueryCollection Query { get => throw null; set => throw null; } @@ -351,14 +324,12 @@ namespace Microsoft public QueryFeature(Microsoft.AspNetCore.Http.IQueryCollection query) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.RequestBodyPipeFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestBodyPipeFeature : Microsoft.AspNetCore.Http.Features.IRequestBodyPipeFeature { public System.IO.Pipelines.PipeReader Reader { get => throw null; } public RequestBodyPipeFeature(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.RequestCookiesFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestCookiesFeature : Microsoft.AspNetCore.Http.Features.IRequestCookiesFeature { public Microsoft.AspNetCore.Http.IRequestCookieCollection Cookies { get => throw null; set => throw null; } @@ -366,7 +337,6 @@ namespace Microsoft public RequestCookiesFeature(Microsoft.AspNetCore.Http.IRequestCookieCollection cookies) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.RequestServicesFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestServicesFeature : Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature, System.IAsyncDisposable, System.IDisposable { public void Dispose() => throw null; @@ -375,7 +345,6 @@ namespace Microsoft public RequestServicesFeature(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.Extensions.DependencyInjection.IServiceScopeFactory scopeFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCookiesFeature : Microsoft.AspNetCore.Http.Features.IResponseCookiesFeature { public Microsoft.AspNetCore.Http.IResponseCookies Cookies { get => throw null; } @@ -383,21 +352,18 @@ namespace Microsoft public ResponseCookiesFeature(Microsoft.AspNetCore.Http.Features.IFeatureCollection features, Microsoft.Extensions.ObjectPool.ObjectPool builderPool) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.RouteValuesFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteValuesFeature : Microsoft.AspNetCore.Http.Features.IRouteValuesFeature { public Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get => throw null; set => throw null; } public RouteValuesFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.ServiceProvidersFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceProvidersFeature : Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature { public System.IServiceProvider RequestServices { get => throw null; set => throw null; } public ServiceProvidersFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.TlsConnectionFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TlsConnectionFeature : Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature { public System.Security.Cryptography.X509Certificates.X509Certificate2 ClientCertificate { get => throw null; set => throw null; } @@ -407,7 +373,6 @@ namespace Microsoft namespace Authentication { - // Generated from `Microsoft.AspNetCore.Http.Features.Authentication.HttpAuthenticationFeature` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpAuthenticationFeature : Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature { public HttpAuthenticationFeature() => throw null; @@ -422,7 +387,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.HttpServiceCollectionExtensions` in `Microsoft.AspNetCore.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHttpContextAccessor(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpLogging.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpLogging.cs index d3698b273a4..b648a77f716 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpLogging.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpLogging.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.HttpLoggingBuilderExtensions` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpLoggingBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHttpLogging(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -16,7 +16,6 @@ namespace Microsoft } namespace HttpLogging { - // Generated from `Microsoft.AspNetCore.HttpLogging.HttpLoggingFields` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum HttpLoggingFields : long { @@ -41,7 +40,6 @@ namespace Microsoft ResponseTrailers = 512, } - // Generated from `Microsoft.AspNetCore.HttpLogging.HttpLoggingOptions` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpLoggingOptions { public HttpLoggingOptions() => throw null; @@ -53,7 +51,6 @@ namespace Microsoft public System.Collections.Generic.ISet ResponseHeaders { get => throw null; } } - // Generated from `Microsoft.AspNetCore.HttpLogging.MediaTypeOptions` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MediaTypeOptions { public void AddBinary(Microsoft.Net.Http.Headers.MediaTypeHeaderValue mediaType) => throw null; @@ -63,7 +60,6 @@ namespace Microsoft public void Clear() => throw null; } - // Generated from `Microsoft.AspNetCore.HttpLogging.W3CLoggerOptions` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class W3CLoggerOptions { public System.Collections.Generic.ISet AdditionalRequestHeaders { get => throw null; } @@ -76,7 +72,6 @@ namespace Microsoft public W3CLoggerOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.HttpLogging.W3CLoggingFields` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum W3CLoggingFields : long { @@ -110,7 +105,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.HttpLoggingServicesExtensions` in `Microsoft.AspNetCore.HttpLogging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpLoggingServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHttpLogging(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpOverrides.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpOverrides.cs index d05e9921495..36678aa5c0d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpOverrides.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpOverrides.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,20 +7,17 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.CertificateForwardingBuilderExtensions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CertificateForwardingBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseCertificateForwarding(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ForwardedHeadersExtensions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ForwardedHeadersExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseForwardedHeaders(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseForwardedHeaders(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, Microsoft.AspNetCore.Builder.ForwardedHeadersOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ForwardedHeadersOptions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ForwardedHeadersOptions { public System.Collections.Generic.IList AllowedHosts { get => throw null; set => throw null; } @@ -37,14 +35,12 @@ namespace Microsoft public bool RequireHeaderSymmetry { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.HttpMethodOverrideExtensions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpMethodOverrideExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHttpMethodOverride(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHttpMethodOverride(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpMethodOverrideOptions { public string FormFieldName { get => throw null; set => throw null; } @@ -54,14 +50,12 @@ namespace Microsoft } namespace HttpOverrides { - // Generated from `Microsoft.AspNetCore.HttpOverrides.CertificateForwardingMiddleware` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CertificateForwardingMiddleware { public CertificateForwardingMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions options) => throw null; public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; } - // Generated from `Microsoft.AspNetCore.HttpOverrides.CertificateForwardingOptions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CertificateForwardingOptions { public CertificateForwardingOptions() => throw null; @@ -69,7 +63,6 @@ namespace Microsoft public System.Func HeaderConverter; } - // Generated from `Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum ForwardedHeaders : int { @@ -80,7 +73,6 @@ namespace Microsoft XForwardedProto = 4, } - // Generated from `Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersDefaults` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ForwardedHeadersDefaults { public static string XForwardedForHeaderName { get => throw null; } @@ -91,7 +83,6 @@ namespace Microsoft public static string XOriginalProtoHeaderName { get => throw null; } } - // Generated from `Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersMiddleware` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ForwardedHeadersMiddleware { public void ApplyForwarders(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -99,14 +90,12 @@ namespace Microsoft public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.HttpOverrides.HttpMethodOverrideMiddleware` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpMethodOverrideMiddleware { public HttpMethodOverrideMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options) => throw null; public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.HttpOverrides.IPNetwork` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IPNetwork { public bool Contains(System.Net.IPAddress address) => throw null; @@ -121,7 +110,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.CertificateForwardingServiceExtensions` in `Microsoft.AspNetCore.HttpOverrides, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CertificateForwardingServiceExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddCertificateForwarding(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configure) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpsPolicy.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpsPolicy.cs index fabec3c6f64..5614099fd84 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpsPolicy.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.HttpsPolicy.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,25 +7,21 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.HstsBuilderExtensions` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HstsBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHsts(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HstsServicesExtensions` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HstsServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHsts(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HttpsPolicyBuilderExtensions` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpsPolicyBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHttpsRedirection(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HttpsRedirectionServicesExtensions` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpsRedirectionServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHttpsRedirection(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; @@ -33,7 +30,6 @@ namespace Microsoft } namespace HttpsPolicy { - // Generated from `Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HstsMiddleware { public HstsMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options) => throw null; @@ -41,7 +37,6 @@ namespace Microsoft public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.HttpsPolicy.HstsOptions` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HstsOptions { public System.Collections.Generic.IList ExcludedHosts { get => throw null; } @@ -51,7 +46,6 @@ namespace Microsoft public bool Preload { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpsRedirectionMiddleware { public HttpsRedirectionMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Configuration.IConfiguration config, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; @@ -59,7 +53,6 @@ namespace Microsoft public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionOptions` in `Microsoft.AspNetCore.HttpsPolicy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpsRedirectionOptions { public int? HttpsPort { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Identity.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Identity.cs index 871241b45f6..134862c6d1c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Identity.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Identity.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,21 +7,18 @@ namespace Microsoft { namespace Identity { - // Generated from `Microsoft.AspNetCore.Identity.AspNetRoleManager<>` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AspNetRoleManager : Microsoft.AspNetCore.Identity.RoleManager, System.IDisposable where TRole : class { public AspNetRoleManager(Microsoft.AspNetCore.Identity.IRoleStore store, System.Collections.Generic.IEnumerable> roleValidators, Microsoft.AspNetCore.Identity.ILookupNormalizer keyNormalizer, Microsoft.AspNetCore.Identity.IdentityErrorDescriber errors, Microsoft.Extensions.Logging.ILogger> logger, Microsoft.AspNetCore.Http.IHttpContextAccessor contextAccessor) : base(default(Microsoft.AspNetCore.Identity.IRoleStore), default(System.Collections.Generic.IEnumerable>), default(Microsoft.AspNetCore.Identity.ILookupNormalizer), default(Microsoft.AspNetCore.Identity.IdentityErrorDescriber), default(Microsoft.Extensions.Logging.ILogger>)) => throw null; protected override System.Threading.CancellationToken CancellationToken { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.AspNetUserManager<>` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AspNetUserManager : Microsoft.AspNetCore.Identity.UserManager, System.IDisposable where TUser : class { public AspNetUserManager(Microsoft.AspNetCore.Identity.IUserStore store, Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.AspNetCore.Identity.IPasswordHasher passwordHasher, System.Collections.Generic.IEnumerable> userValidators, System.Collections.Generic.IEnumerable> passwordValidators, Microsoft.AspNetCore.Identity.ILookupNormalizer keyNormalizer, Microsoft.AspNetCore.Identity.IdentityErrorDescriber errors, System.IServiceProvider services, Microsoft.Extensions.Logging.ILogger> logger) : base(default(Microsoft.AspNetCore.Identity.IUserStore), default(Microsoft.Extensions.Options.IOptions), default(Microsoft.AspNetCore.Identity.IPasswordHasher), default(System.Collections.Generic.IEnumerable>), default(System.Collections.Generic.IEnumerable>), default(Microsoft.AspNetCore.Identity.ILookupNormalizer), default(Microsoft.AspNetCore.Identity.IdentityErrorDescriber), default(System.IServiceProvider), default(Microsoft.Extensions.Logging.ILogger>)) => throw null; protected override System.Threading.CancellationToken CancellationToken { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataProtectionTokenProviderOptions { public DataProtectionTokenProviderOptions() => throw null; @@ -28,7 +26,6 @@ namespace Microsoft public System.TimeSpan TokenLifespan { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.DataProtectorTokenProvider<>` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataProtectorTokenProvider : Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider where TUser : class { public virtual System.Threading.Tasks.Task CanGenerateTwoFactorTokenAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; @@ -41,7 +38,6 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ValidateAsync(string purpose, string token, Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.ExternalLoginInfo` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExternalLoginInfo : Microsoft.AspNetCore.Identity.UserLoginInfo { public Microsoft.AspNetCore.Authentication.AuthenticationProperties AuthenticationProperties { get => throw null; set => throw null; } @@ -50,18 +46,15 @@ namespace Microsoft public System.Security.Claims.ClaimsPrincipal Principal { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.ISecurityStampValidator` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISecurityStampValidator { System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context); } - // Generated from `Microsoft.AspNetCore.Identity.ITwoFactorSecurityStampValidator` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITwoFactorSecurityStampValidator : Microsoft.AspNetCore.Identity.ISecurityStampValidator { } - // Generated from `Microsoft.AspNetCore.Identity.IdentityBuilderExtensions` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class IdentityBuilderExtensions { public static Microsoft.AspNetCore.Identity.IdentityBuilder AddDefaultTokenProviders(this Microsoft.AspNetCore.Identity.IdentityBuilder builder) => throw null; @@ -69,7 +62,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Identity.IdentityBuilder AddSignInManager(this Microsoft.AspNetCore.Identity.IdentityBuilder builder) where TSignInManager : class => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityConstants` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityConstants { public static string ApplicationScheme; @@ -79,7 +71,6 @@ namespace Microsoft public static string TwoFactorUserIdScheme; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityCookieAuthenticationBuilderExtensions` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class IdentityCookieAuthenticationBuilderExtensions { public static Microsoft.Extensions.Options.OptionsBuilder AddApplicationCookie(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder) => throw null; @@ -90,7 +81,6 @@ namespace Microsoft public static Microsoft.Extensions.Options.OptionsBuilder AddTwoFactorUserIdCookie(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityCookiesBuilder` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityCookiesBuilder { public Microsoft.Extensions.Options.OptionsBuilder ApplicationCookie { get => throw null; set => throw null; } @@ -100,7 +90,6 @@ namespace Microsoft public Microsoft.Extensions.Options.OptionsBuilder TwoFactorUserIdCookie { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.SecurityStampRefreshingPrincipalContext` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SecurityStampRefreshingPrincipalContext { public System.Security.Claims.ClaimsPrincipal CurrentPrincipal { get => throw null; set => throw null; } @@ -108,14 +97,12 @@ namespace Microsoft public SecurityStampRefreshingPrincipalContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.SecurityStampValidator` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SecurityStampValidator { public static System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context) where TValidator : Microsoft.AspNetCore.Identity.ISecurityStampValidator => throw null; public static System.Threading.Tasks.Task ValidatePrincipalAsync(Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.SecurityStampValidator<>` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SecurityStampValidator : Microsoft.AspNetCore.Identity.ISecurityStampValidator where TUser : class { public Microsoft.AspNetCore.Authentication.ISystemClock Clock { get => throw null; } @@ -128,7 +115,6 @@ namespace Microsoft protected virtual System.Threading.Tasks.Task VerifySecurityStamp(System.Security.Claims.ClaimsPrincipal principal) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SecurityStampValidatorOptions { public System.Func OnRefreshingPrincipal { get => throw null; set => throw null; } @@ -136,7 +122,6 @@ namespace Microsoft public System.TimeSpan ValidationInterval { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.SignInManager<>` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SignInManager where TUser : class { public virtual System.Threading.Tasks.Task CanSignInAsync(TUser user) => throw null; @@ -180,7 +165,6 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ValidateTwoFactorSecurityStampAsync(System.Security.Claims.ClaimsPrincipal principal) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.TwoFactorSecurityStampValidator<>` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TwoFactorSecurityStampValidator : Microsoft.AspNetCore.Identity.SecurityStampValidator, Microsoft.AspNetCore.Identity.ISecurityStampValidator, Microsoft.AspNetCore.Identity.ITwoFactorSecurityStampValidator where TUser : class { protected override System.Threading.Tasks.Task SecurityStampVerified(TUser user, Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context) => throw null; @@ -194,7 +178,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.IdentityServiceCollectionExtensions` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class IdentityServiceCollectionExtensions { public static Microsoft.AspNetCore.Identity.IdentityBuilder AddIdentity(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TRole : class where TUser : class => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.Routing.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.Routing.cs index 00f5812472a..4afdc6833c3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.Routing.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.Routing.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Localization.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Routing { - // Generated from `Microsoft.AspNetCore.Localization.Routing.RouteDataRequestCultureProvider` in `Microsoft.AspNetCore.Localization.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteDataRequestCultureProvider : Microsoft.AspNetCore.Localization.RequestCultureProvider { public override System.Threading.Tasks.Task DetermineProviderCultureResult(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.cs index 383f3b38929..64c83d42619 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Localization.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ApplicationBuilderExtensions` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ApplicationBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRequestLocalization(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -15,7 +15,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRequestLocalization(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, params string[] cultures) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RequestLocalizationOptions` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestLocalizationOptions { public Microsoft.AspNetCore.Builder.RequestLocalizationOptions AddSupportedCultures(params string[] cultures) => throw null; @@ -31,7 +30,6 @@ namespace Microsoft public System.Collections.Generic.IList SupportedUICultures { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.RequestLocalizationOptionsExtensions` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestLocalizationOptionsExtensions { public static Microsoft.AspNetCore.Builder.RequestLocalizationOptions AddInitialRequestCultureProvider(this Microsoft.AspNetCore.Builder.RequestLocalizationOptions requestLocalizationOptions, Microsoft.AspNetCore.Localization.RequestCultureProvider requestCultureProvider) => throw null; @@ -40,7 +38,6 @@ namespace Microsoft } namespace Localization { - // Generated from `Microsoft.AspNetCore.Localization.AcceptLanguageHeaderRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AcceptLanguageHeaderRequestCultureProvider : Microsoft.AspNetCore.Localization.RequestCultureProvider { public AcceptLanguageHeaderRequestCultureProvider() => throw null; @@ -48,7 +45,6 @@ namespace Microsoft public int MaximumAcceptLanguageHeaderValuesToTry { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Localization.CookieRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieRequestCultureProvider : Microsoft.AspNetCore.Localization.RequestCultureProvider { public string CookieName { get => throw null; set => throw null; } @@ -59,27 +55,23 @@ namespace Microsoft public static Microsoft.AspNetCore.Localization.ProviderCultureResult ParseCookieValue(string value) => throw null; } - // Generated from `Microsoft.AspNetCore.Localization.CustomRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CustomRequestCultureProvider : Microsoft.AspNetCore.Localization.RequestCultureProvider { public CustomRequestCultureProvider(System.Func> provider) => throw null; public override System.Threading.Tasks.Task DetermineProviderCultureResult(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Localization.IRequestCultureFeature` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestCultureFeature { Microsoft.AspNetCore.Localization.IRequestCultureProvider Provider { get; } Microsoft.AspNetCore.Localization.RequestCulture RequestCulture { get; } } - // Generated from `Microsoft.AspNetCore.Localization.IRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestCultureProvider { System.Threading.Tasks.Task DetermineProviderCultureResult(Microsoft.AspNetCore.Http.HttpContext httpContext); } - // Generated from `Microsoft.AspNetCore.Localization.ProviderCultureResult` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProviderCultureResult { public System.Collections.Generic.IList Cultures { get => throw null; } @@ -90,7 +82,6 @@ namespace Microsoft public System.Collections.Generic.IList UICultures { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Localization.QueryStringRequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QueryStringRequestCultureProvider : Microsoft.AspNetCore.Localization.RequestCultureProvider { public override System.Threading.Tasks.Task DetermineProviderCultureResult(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; @@ -99,7 +90,6 @@ namespace Microsoft public string UIQueryStringKey { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Localization.RequestCulture` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestCulture { public System.Globalization.CultureInfo Culture { get => throw null; } @@ -110,7 +100,6 @@ namespace Microsoft public System.Globalization.CultureInfo UICulture { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Localization.RequestCultureFeature` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestCultureFeature : Microsoft.AspNetCore.Localization.IRequestCultureFeature { public Microsoft.AspNetCore.Localization.IRequestCultureProvider Provider { get => throw null; } @@ -118,7 +107,6 @@ namespace Microsoft public RequestCultureFeature(Microsoft.AspNetCore.Localization.RequestCulture requestCulture, Microsoft.AspNetCore.Localization.IRequestCultureProvider provider) => throw null; } - // Generated from `Microsoft.AspNetCore.Localization.RequestCultureProvider` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RequestCultureProvider : Microsoft.AspNetCore.Localization.IRequestCultureProvider { public abstract System.Threading.Tasks.Task DetermineProviderCultureResult(Microsoft.AspNetCore.Http.HttpContext httpContext); @@ -127,7 +115,6 @@ namespace Microsoft protected RequestCultureProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestLocalizationMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -140,7 +127,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.RequestLocalizationServiceCollectionExtensions` in `Microsoft.AspNetCore.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestLocalizationServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestLocalization(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Metadata.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Metadata.cs index bb27ea7d64c..be7d524d89e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Metadata.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Metadata.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,12 +7,10 @@ namespace Microsoft { namespace Authorization { - // Generated from `Microsoft.AspNetCore.Authorization.IAllowAnonymous` in `Microsoft.AspNetCore.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAllowAnonymous { } - // Generated from `Microsoft.AspNetCore.Authorization.IAuthorizeData` in `Microsoft.AspNetCore.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizeData { string AuthenticationSchemes { get; set; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Abstractions.cs index f9f42448991..a54fc4ec29d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Mvc { - // Generated from `Microsoft.AspNetCore.Mvc.ActionContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionContext { public ActionContext() => throw null; @@ -19,13 +19,11 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteData RouteData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.IActionResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionResult { System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.IUrlHelper` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUrlHelper { string Action(Microsoft.AspNetCore.Mvc.Routing.UrlActionContext actionContext); @@ -38,7 +36,6 @@ namespace Microsoft namespace Abstractions { - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionDescriptor { public System.Collections.Generic.IList ActionConstraints { get => throw null; set => throw null; } @@ -54,21 +51,18 @@ namespace Microsoft public System.Collections.Generic.IDictionary RouteValues { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorExtensions` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ActionDescriptorExtensions { public static T GetProperty(this Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor actionDescriptor) => throw null; public static void SetProperty(this Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor actionDescriptor, T value) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionDescriptorProviderContext { public ActionDescriptorProviderContext() => throw null; public System.Collections.Generic.IList Results { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionInvokerProviderContext { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -76,7 +70,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionDescriptorProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorProviderContext context); @@ -84,13 +77,11 @@ namespace Microsoft int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionInvoker { System.Threading.Tasks.Task InvokeAsync(); } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionInvokerProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext context); @@ -98,7 +89,6 @@ namespace Microsoft int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ParameterDescriptor { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo BindingInfo { get => throw null; set => throw null; } @@ -110,7 +100,6 @@ namespace Microsoft } namespace ActionConstraints { - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionConstraintContext { public ActionConstraintContext() => throw null; @@ -119,7 +108,6 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteContext RouteContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionConstraintItem { public ActionConstraintItem(Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata metadata) => throw null; @@ -128,7 +116,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata Metadata { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionConstraintProviderContext { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor Action { get => throw null; } @@ -137,7 +124,6 @@ namespace Microsoft public System.Collections.Generic.IList Results { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionSelectorCandidate` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ActionSelectorCandidate { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor Action { get => throw null; } @@ -146,26 +132,22 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList Constraints { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionConstraint : Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata { bool Accept(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext context); int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintFactory` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionConstraintFactory : Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata { Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint CreateInstance(System.IServiceProvider services); bool IsReusable { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionConstraintMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionConstraintProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext context); @@ -176,7 +158,6 @@ namespace Microsoft } namespace ApiExplorer { - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiDescription { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; set => throw null; } @@ -190,7 +171,6 @@ namespace Microsoft public System.Collections.Generic.IList SupportedResponseTypes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiDescriptionProviderContext { public System.Collections.Generic.IReadOnlyList Actions { get => throw null; } @@ -198,7 +178,6 @@ namespace Microsoft public System.Collections.Generic.IList Results { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterDescription` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiParameterDescription { public ApiParameterDescription() => throw null; @@ -213,7 +192,6 @@ namespace Microsoft public System.Type Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterRouteInfo` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiParameterRouteInfo { public ApiParameterRouteInfo() => throw null; @@ -222,7 +200,6 @@ namespace Microsoft public bool IsOptional { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiRequestFormat` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiRequestFormat { public ApiRequestFormat() => throw null; @@ -230,7 +207,6 @@ namespace Microsoft public string MediaType { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseFormat` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiResponseFormat { public ApiResponseFormat() => throw null; @@ -238,7 +214,6 @@ namespace Microsoft public string MediaType { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseType` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiResponseType { public System.Collections.Generic.IList ApiResponseFormats { get => throw null; set => throw null; } @@ -249,7 +224,6 @@ namespace Microsoft public System.Type Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiDescriptionProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext context); @@ -260,7 +234,6 @@ namespace Microsoft } namespace Authorization { - // Generated from `Microsoft.AspNetCore.Mvc.Authorization.IAllowAnonymousFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAllowAnonymousFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } @@ -268,7 +241,6 @@ namespace Microsoft } namespace Filters { - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionExecutedContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public ActionExecutedContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters, object controller) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(System.Collections.Generic.IList)) => throw null; @@ -280,7 +252,6 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionExecutingContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual System.Collections.Generic.IDictionary ActionArguments { get => throw null; } @@ -289,17 +260,14 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task ActionExecutionDelegate(); - // Generated from `Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizationFilterContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public AuthorizationFilterContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(System.Collections.Generic.IList)) => throw null; public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ExceptionContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExceptionContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual System.Exception Exception { get => throw null; set => throw null; } @@ -309,7 +277,6 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class FilterContext : Microsoft.AspNetCore.Mvc.ActionContext { public FilterContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters) => throw null; @@ -318,7 +285,6 @@ namespace Microsoft public bool IsEffectivePolicy(TMetadata policy) where TMetadata : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterDescriptor` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FilterDescriptor { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata Filter { get => throw null; } @@ -327,7 +293,6 @@ namespace Microsoft public int Scope { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterItem` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FilterItem { public Microsoft.AspNetCore.Mvc.Filters.FilterDescriptor Descriptor { get => throw null; } @@ -337,7 +302,6 @@ namespace Microsoft public bool IsReusable { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FilterProviderContext { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; set => throw null; } @@ -345,84 +309,70 @@ namespace Microsoft public System.Collections.Generic.IList Results { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IActionFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void OnActionExecuted(Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext context); void OnActionExecuting(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAlwaysRunResultFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAlwaysRunResultFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IResultFilter { } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncActionFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { System.Threading.Tasks.Task OnActionExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate next); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncAlwaysRunResultFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncAlwaysRunResultFilter : Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncAuthorizationFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { System.Threading.Tasks.Task OnAuthorizationAsync(Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncExceptionFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncExceptionFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { System.Threading.Tasks.Task OnExceptionAsync(Microsoft.AspNetCore.Mvc.Filters.ExceptionContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncResourceFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncResourceFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { System.Threading.Tasks.Task OnResourceExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate next); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncResultFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { System.Threading.Tasks.Task OnResultExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate next); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAuthorizationFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAuthorizationFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void OnAuthorization(Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IExceptionFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IExceptionFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void OnException(Microsoft.AspNetCore.Mvc.Filters.ExceptionContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IFilterContainer` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFilterContainer { Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata FilterDefinition { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IFilterFactory` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFilterFactory : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider); bool IsReusable { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IFilterProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFilterProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.Filters.FilterProviderContext context); @@ -430,27 +380,23 @@ namespace Microsoft int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOrderedFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IResourceFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResourceFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void OnResourceExecuted(Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context); void OnResourceExecuting(Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IResultFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResultFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void OnResultExecuted(Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext context); void OnResultExecuting(Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResourceExecutedContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual bool Canceled { get => throw null; set => throw null; } @@ -461,7 +407,6 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResourceExecutingContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public ResourceExecutingContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters, System.Collections.Generic.IList valueProviderFactories) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(System.Collections.Generic.IList)) => throw null; @@ -469,10 +414,8 @@ namespace Microsoft public System.Collections.Generic.IList ValueProviderFactories { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task ResourceExecutionDelegate(); - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResultExecutedContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual bool Canceled { get => throw null; set => throw null; } @@ -484,7 +427,6 @@ namespace Microsoft public ResultExecutedContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters, Microsoft.AspNetCore.Mvc.IActionResult result, object controller) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(System.Collections.Generic.IList)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResultExecutingContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual bool Cancel { get => throw null; set => throw null; } @@ -493,13 +435,11 @@ namespace Microsoft public ResultExecutingContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList filters, Microsoft.AspNetCore.Mvc.IActionResult result, object controller) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(System.Collections.Generic.IList)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task ResultExecutionDelegate(); } namespace Formatters { - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.FormatterCollection<>` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormatterCollection : System.Collections.ObjectModel.Collection { public FormatterCollection() => throw null; @@ -508,27 +448,23 @@ namespace Microsoft public void RemoveType() where T : TFormatter => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IInputFormatter { bool CanRead(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context); System.Threading.Tasks.Task ReadAsync(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IInputFormatterExceptionPolicy { Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy ExceptionPolicy { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOutputFormatter { bool CanWriteResult(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context); System.Threading.Tasks.Task WriteAsync(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputFormatterContext { public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; } @@ -542,7 +478,6 @@ namespace Microsoft public bool TreatEmptyInputAsDefaultValue { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatterException` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputFormatterException : System.Exception { public InputFormatterException() => throw null; @@ -550,14 +485,12 @@ namespace Microsoft public InputFormatterException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum InputFormatterExceptionPolicy : int { AllExceptions = 0, MalformedInputExceptions = 1, } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputFormatterResult { public static Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult Failure() => throw null; @@ -571,7 +504,6 @@ namespace Microsoft public static System.Threading.Tasks.Task SuccessAsync(object model) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class OutputFormatterCanWriteContext { public virtual Microsoft.Extensions.Primitives.StringSegment ContentType { get => throw null; set => throw null; } @@ -582,7 +514,6 @@ namespace Microsoft protected OutputFormatterCanWriteContext(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OutputFormatterWriteContext : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext { public OutputFormatterWriteContext(Microsoft.AspNetCore.Http.HttpContext httpContext, System.Func writerFactory, System.Type objectType, object @object) : base(default(Microsoft.AspNetCore.Http.HttpContext)) => throw null; @@ -592,7 +523,6 @@ namespace Microsoft } namespace ModelBinding { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingInfo { public string BinderModelName { get => throw null; set => throw null; } @@ -608,7 +538,6 @@ namespace Microsoft public bool TryApplyBindingInfo(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingSource : System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource s1, Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource s2) => throw null; @@ -634,7 +563,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource Special; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.CompositeBindingSource` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeBindingSource : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource { private CompositeBindingSource() : base(default(string), default(string), default(bool), default(bool)) => throw null; @@ -643,7 +571,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Mvc.ModelBinding.CompositeBindingSource Create(System.Collections.Generic.IEnumerable bindingSources, string displayName) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.EmptyBodyBehavior` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum EmptyBodyBehavior : int { Allow = 1, @@ -651,7 +578,6 @@ namespace Microsoft Disallow = 2, } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.EnumGroupAndName` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct EnumGroupAndName { // Stub generator skipped constructor @@ -661,75 +587,63 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBinderTypeProviderMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata { System.Type BinderType { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBindingSourceMetadata { Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IConfigureEmptyBodyBehavior` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IConfigureEmptyBodyBehavior { Microsoft.AspNetCore.Mvc.ModelBinding.EmptyBodyBehavior EmptyBodyBehavior { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelBinder { System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelBinderProvider { Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelMetadataProvider { System.Collections.Generic.IEnumerable GetMetadataForProperties(System.Type modelType); Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata GetMetadataForType(System.Type modelType); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelNameProvider { string Name { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPropertyFilterProvider { System.Func PropertyFilter { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestPredicateProvider { System.Func RequestPredicate { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValueProvider { bool ContainsPrefix(string prefix); Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult GetValue(string key); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValueProviderFactory { System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ModelBinderProviderContext { public abstract Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo BindingInfo { get; } @@ -741,10 +655,8 @@ namespace Microsoft public virtual System.IServiceProvider Services { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ModelBindingContext { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext+NestedScope` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct NestedScope : System.IDisposable { public void Dispose() => throw null; @@ -775,7 +687,6 @@ namespace Microsoft public abstract Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider ValueProvider { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ModelBindingResult : System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult x, Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult y) => throw null; @@ -791,7 +702,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelError` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelError { public string ErrorMessage { get => throw null; } @@ -801,7 +711,6 @@ namespace Microsoft public ModelError(string errorMessage) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelErrorCollection` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelErrorCollection : System.Collections.ObjectModel.Collection { public void Add(System.Exception exception) => throw null; @@ -809,7 +718,6 @@ namespace Microsoft public ModelErrorCollection() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ModelMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider, System.IEquatable { public abstract System.Collections.Generic.IReadOnlyDictionary AdditionalValues { get; } @@ -878,7 +786,6 @@ namespace Microsoft public abstract System.Collections.Generic.IReadOnlyList ValidatorMetadata { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider { public virtual Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata GetMetadataForConstructor(System.Reflection.ConstructorInfo constructor, System.Type modelType) => throw null; @@ -890,17 +797,14 @@ namespace Microsoft protected ModelMetadataProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelPropertyCollection` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelPropertyCollection : System.Collections.ObjectModel.ReadOnlyCollection { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata this[string propertyName] { get => throw null; } public ModelPropertyCollection(System.Collections.Generic.IEnumerable properties) : base(default(System.Collections.Generic.IList)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelStateDictionary : System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+Enumerator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -913,7 +817,6 @@ namespace Microsoft } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+KeyEnumerable` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct KeyEnumerable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary.KeyEnumerator GetEnumerator() => throw null; @@ -924,7 +827,6 @@ namespace Microsoft } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+KeyEnumerator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct KeyEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public string Current { get => throw null; } @@ -937,7 +839,6 @@ namespace Microsoft } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+PrefixEnumerable` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PrefixEnumerable : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary.Enumerator GetEnumerator() => throw null; @@ -948,7 +849,6 @@ namespace Microsoft } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+ValueEnumerable` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ValueEnumerable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary.ValueEnumerator GetEnumerator() => throw null; @@ -959,7 +859,6 @@ namespace Microsoft } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+ValueEnumerator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ValueEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry Current { get => throw null; } @@ -1012,7 +911,6 @@ namespace Microsoft System.Collections.Generic.IEnumerable System.Collections.Generic.IReadOnlyDictionary.Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ModelStateEntry { public string AttemptedValue { get => throw null; set => throw null; } @@ -1025,7 +923,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState ValidationState { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ModelValidationState : int { Invalid = 1, @@ -1034,20 +931,17 @@ namespace Microsoft Valid = 2, } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.TooManyModelErrorsException` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TooManyModelErrorsException : System.Exception { public TooManyModelErrorsException(string message) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderException` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValueProviderException : System.Exception { public ValueProviderException(string message) => throw null; public ValueProviderException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValueProviderFactoryContext { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -1055,7 +949,6 @@ namespace Microsoft public System.Collections.Generic.IList ValueProviders { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ValueProviderResult : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.IEquatable { public static bool operator !=(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult x, Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult y) => throw null; @@ -1080,7 +973,6 @@ namespace Microsoft namespace Metadata { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ModelBindingMessageProvider { public virtual System.Func AttemptedValueIsInvalidAccessor { get => throw null; } @@ -1097,7 +989,6 @@ namespace Microsoft public virtual System.Func ValueMustNotBeNullAccessor { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ModelMetadataIdentity : System.IEquatable { public System.Reflection.ConstructorInfo ConstructorInfo { get => throw null; } @@ -1119,7 +1010,6 @@ namespace Microsoft public System.Reflection.PropertyInfo PropertyInfo { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataKind` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ModelMetadataKind : int { Constructor = 3, @@ -1131,14 +1021,12 @@ namespace Microsoft } namespace Validation { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClientModelValidationContext : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase { public System.Collections.Generic.IDictionary Attributes { get => throw null; } public ClientModelValidationContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, System.Collections.Generic.IDictionary attributes) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata), default(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorItem` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClientValidatorItem { public ClientValidatorItem() => throw null; @@ -1148,7 +1036,6 @@ namespace Microsoft public object ValidatorMetadata { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClientValidatorProviderContext { public ClientValidatorProviderContext(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata, System.Collections.Generic.IList items) => throw null; @@ -1157,43 +1044,36 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList ValidatorMetadata { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IClientModelValidator { void AddValidation(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IClientModelValidatorProvider { void CreateValidators(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelValidator { System.Collections.Generic.IEnumerable Validate(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelValidatorProvider { void CreateValidators(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPropertyValidationFilter { bool ShouldValidateEntry(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry entry, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry parentEntry); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValidationStrategy { System.Collections.Generic.IEnumerator GetChildren(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, object model); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelValidationContext : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase { public object Container { get => throw null; } @@ -1201,7 +1081,6 @@ namespace Microsoft public ModelValidationContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, object container, object model) : base(default(Microsoft.AspNetCore.Mvc.ActionContext), default(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata), default(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelValidationContextBase { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -1210,7 +1089,6 @@ namespace Microsoft public ModelValidationContextBase(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationResult` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelValidationResult { public string MemberName { get => throw null; } @@ -1218,7 +1096,6 @@ namespace Microsoft public ModelValidationResult(string memberName, string message) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelValidatorProviderContext { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata ModelMetadata { get => throw null; set => throw null; } @@ -1227,7 +1104,6 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList ValidatorMetadata { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ValidationEntry { public string Key { get => throw null; } @@ -1238,7 +1114,6 @@ namespace Microsoft public ValidationEntry(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, object model) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationStateDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.IEnumerable { public void Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -1264,7 +1139,6 @@ namespace Microsoft System.Collections.Generic.IEnumerable System.Collections.Generic.IReadOnlyDictionary.Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationStateEntry { public string Key { get => throw null; set => throw null; } @@ -1274,7 +1148,6 @@ namespace Microsoft public ValidationStateEntry() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorItem` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidatorItem { public bool IsReusable { get => throw null; set => throw null; } @@ -1288,7 +1161,6 @@ namespace Microsoft } namespace Routing { - // Generated from `Microsoft.AspNetCore.Mvc.Routing.AttributeRouteInfo` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AttributeRouteInfo { public AttributeRouteInfo() => throw null; @@ -1299,7 +1171,6 @@ namespace Microsoft public string Template { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlActionContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlActionContext { public string Action { get => throw null; set => throw null; } @@ -1311,7 +1182,6 @@ namespace Microsoft public object Values { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlRouteContext` in `Microsoft.AspNetCore.Mvc.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlRouteContext { public string Fragment { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ApiExplorer.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ApiExplorer.cs index 8ae38aaab5f..4da9d47995d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ApiExplorer.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ApiExplorer.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,14 +9,12 @@ namespace Microsoft { namespace ApiExplorer { - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionExtensions` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ApiDescriptionExtensions { public static T GetProperty(this Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription apiDescription) => throw null; public static void SetProperty(this Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription apiDescription, T value) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroup` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiDescriptionGroup { public ApiDescriptionGroup(string groupName, System.Collections.Generic.IReadOnlyList items) => throw null; @@ -23,7 +22,6 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList Items { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollection` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiDescriptionGroupCollection { public ApiDescriptionGroupCollection(System.Collections.Generic.IReadOnlyList items, int version) => throw null; @@ -31,14 +29,12 @@ namespace Microsoft public int Version { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollectionProvider` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiDescriptionGroupCollectionProvider : Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupCollectionProvider { public ApiDescriptionGroupCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider actionDescriptorCollectionProvider, System.Collections.Generic.IEnumerable apiDescriptionProviders) => throw null; public Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollection ApiDescriptionGroups { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultApiDescriptionProvider : Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider { public DefaultApiDescriptionProvider(Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Options.IOptions routeOptions) => throw null; @@ -47,7 +43,6 @@ namespace Microsoft public int Order { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupCollectionProvider` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiDescriptionGroupCollectionProvider { Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollection ApiDescriptionGroups { get; } @@ -60,13 +55,11 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.EndpointMetadataApiExplorerServiceCollectionExtensions` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EndpointMetadataApiExplorerServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddEndpointsApiExplorer(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcApiExplorerMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.ApiExplorer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcApiExplorerMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddApiExplorer(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Core.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Core.cs index 7ebade2d37b..f4223ac690f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Core.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Core.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerActionEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { public void Add(System.Action convention) => throw null; public void Finally(System.Action finalConvention) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ControllerEndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder MapAreaControllerRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string name, string areaName, string pattern, object defaults = default(object), object constraints = default(object), object dataTokens = default(object)) => throw null; @@ -29,7 +28,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToController(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, string action, string controller) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.MvcApplicationBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcApplicationBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMvc(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -37,7 +35,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMvcWithDefaultRoute(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.MvcAreaRouteBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcAreaRouteBuilderExtensions { public static Microsoft.AspNetCore.Routing.IRouteBuilder MapAreaRoute(this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string areaName, string template) => throw null; @@ -49,7 +46,6 @@ namespace Microsoft } namespace Mvc { - // Generated from `Microsoft.AspNetCore.Mvc.AcceptVerbsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AcceptVerbsAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Routing.IActionHttpMethodProvider, Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider { public AcceptVerbsAttribute(params string[] methods) => throw null; @@ -62,7 +58,6 @@ namespace Microsoft string Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider.Template { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.AcceptedAtActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AcceptedAtActionResult : Microsoft.AspNetCore.Mvc.ObjectResult { public AcceptedAtActionResult(string actionName, string controllerName, object routeValues, object value) : base(default(object)) => throw null; @@ -73,7 +68,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AcceptedAtRouteResult : Microsoft.AspNetCore.Mvc.ObjectResult { public AcceptedAtRouteResult(object routeValues, object value) : base(default(object)) => throw null; @@ -84,7 +78,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.AcceptedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AcceptedResult : Microsoft.AspNetCore.Mvc.ObjectResult { public AcceptedResult() : base(default(object)) => throw null; @@ -94,20 +87,17 @@ namespace Microsoft public override void OnFormatting(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ActionContextAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionContextAttribute : System.Attribute { public ActionContextAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ActionNameAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionNameAttribute : System.Attribute { public ActionNameAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ActionResult : Microsoft.AspNetCore.Mvc.IActionResult { protected ActionResult() => throw null; @@ -115,7 +105,6 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ActionResult<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionResult : Microsoft.AspNetCore.Mvc.Infrastructure.IConvertToActionResult { public ActionResult(Microsoft.AspNetCore.Mvc.ActionResult result) => throw null; @@ -127,13 +116,11 @@ namespace Microsoft public static implicit operator Microsoft.AspNetCore.Mvc.ActionResult(TValue value) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.AntiforgeryValidationFailedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AntiforgeryValidationFailedResult : Microsoft.AspNetCore.Mvc.BadRequestResult, Microsoft.AspNetCore.Mvc.Core.Infrastructure.IAntiforgeryValidationFailedResult, Microsoft.AspNetCore.Mvc.IActionResult { public AntiforgeryValidationFailedResult() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApiBehaviorOptions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiBehaviorOptions : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public ApiBehaviorOptions() => throw null; @@ -148,34 +135,29 @@ namespace Microsoft public bool SuppressModelStateInvalidFilter { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiControllerAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiControllerAttribute : Microsoft.AspNetCore.Mvc.ControllerAttribute, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Infrastructure.IApiBehaviorMetadata { public ApiControllerAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApiConventionMethodAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiConventionMethodAttribute : System.Attribute { public ApiConventionMethodAttribute(System.Type conventionType, string methodName) => throw null; public System.Type ConventionType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiConventionTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiConventionTypeAttribute : System.Attribute { public ApiConventionTypeAttribute(System.Type conventionType) => throw null; public System.Type ConventionType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiDescriptionActionData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiDescriptionActionData { public ApiDescriptionActionData() => throw null; public string GroupName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorerSettingsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiExplorerSettingsAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupNameProvider, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionVisibilityProvider { public ApiExplorerSettingsAttribute() => throw null; @@ -183,26 +165,22 @@ namespace Microsoft public bool IgnoreApi { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.AreaAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AreaAttribute : Microsoft.AspNetCore.Mvc.Routing.RouteValueAttribute { public AreaAttribute(string areaName) : base(default(string), default(string)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.BadRequestObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BadRequestObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult { public BadRequestObjectResult(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState) : base(default(object)) => throw null; public BadRequestObjectResult(object error) : base(default(object)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.BadRequestResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BadRequestResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public BadRequestResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.BindAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider { public BindAttribute(params string[] include) => throw null; @@ -212,14 +190,12 @@ namespace Microsoft public System.Func PropertyFilter { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.BindPropertiesAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindPropertiesAttribute : System.Attribute { public BindPropertiesAttribute() => throw null; public bool SupportsGet { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.BindPropertyAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindPropertyAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider { public BindPropertyAttribute() => throw null; @@ -230,7 +206,6 @@ namespace Microsoft public bool SupportsGet { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.CacheProfile` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheProfile { public CacheProfile() => throw null; @@ -241,7 +216,6 @@ namespace Microsoft public string[] VaryByQueryKeys { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ChallengeResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ChallengeResult : Microsoft.AspNetCore.Mvc.ActionResult { public System.Collections.Generic.IList AuthenticationSchemes { get => throw null; set => throw null; } @@ -255,7 +229,6 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ClientErrorData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClientErrorData { public ClientErrorData() => throw null; @@ -263,7 +236,6 @@ namespace Microsoft public string Title { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.CompatibilityVersion` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum CompatibilityVersion : int { Latest = 2147483647, @@ -273,20 +245,17 @@ namespace Microsoft Version_3_0 = 3, } - // Generated from `Microsoft.AspNetCore.Mvc.ConflictObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConflictObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult { public ConflictObjectResult(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState) : base(default(object)) => throw null; public ConflictObjectResult(object error) : base(default(object)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ConflictResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConflictResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public ConflictResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ConsumesAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsumesAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IAcceptsMetadata, Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint, Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestMetadataProvider, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IResourceFilter { public bool Accept(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext context) => throw null; @@ -303,7 +272,6 @@ namespace Microsoft public void SetContentTypes(Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection contentTypes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ContentResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ContentResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public string Content { get => throw null; set => throw null; } @@ -313,13 +281,11 @@ namespace Microsoft public int? StatusCode { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ControllerAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerAttribute : System.Attribute { public ControllerAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ControllerBase` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ControllerBase { public virtual Microsoft.AspNetCore.Mvc.AcceptedResult Accepted() => throw null; @@ -497,7 +463,6 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.ActionResult ValidationProblem(string detail = default(string), string instance = default(string), int? statusCode = default(int?), string title = default(string), string type = default(string), Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelStateDictionary = default(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ControllerContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerContext : Microsoft.AspNetCore.Mvc.ActionContext { public Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor ActionDescriptor { get => throw null; set => throw null; } @@ -506,13 +471,11 @@ namespace Microsoft public virtual System.Collections.Generic.IList ValueProviderFactories { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ControllerContextAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerContextAttribute : System.Attribute { public ControllerContextAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.CreatedAtActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CreatedAtActionResult : Microsoft.AspNetCore.Mvc.ObjectResult { public string ActionName { get => throw null; set => throw null; } @@ -523,7 +486,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.CreatedAtRouteResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CreatedAtRouteResult : Microsoft.AspNetCore.Mvc.ObjectResult { public CreatedAtRouteResult(object routeValues, object value) : base(default(object)) => throw null; @@ -534,7 +496,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.CreatedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CreatedResult : Microsoft.AspNetCore.Mvc.ObjectResult { public CreatedResult(System.Uri location, object value) : base(default(object)) => throw null; @@ -543,7 +504,6 @@ namespace Microsoft public override void OnFormatting(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.DefaultApiConventions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DefaultApiConventions { public static void Create(object model) => throw null; @@ -556,7 +516,6 @@ namespace Microsoft public static void Update(object id, object model) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.DisableRequestSizeLimitAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DisableRequestSizeLimitAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IRequestSizeLimitMetadata, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider) => throw null; @@ -566,14 +525,12 @@ namespace Microsoft public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.EmptyResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EmptyResult : Microsoft.AspNetCore.Mvc.ActionResult { public EmptyResult() => throw null; public override void ExecuteResult(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.FileContentResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileContentResult : Microsoft.AspNetCore.Mvc.FileResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -582,7 +539,6 @@ namespace Microsoft public System.Byte[] FileContents { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FileResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class FileResult : Microsoft.AspNetCore.Mvc.ActionResult { public string ContentType { get => throw null; } @@ -593,7 +549,6 @@ namespace Microsoft public System.DateTimeOffset? LastModified { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FileStreamResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileStreamResult : Microsoft.AspNetCore.Mvc.FileResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -602,7 +557,6 @@ namespace Microsoft public FileStreamResult(System.IO.Stream fileStream, string contentType) : base(default(string)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ForbidResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ForbidResult : Microsoft.AspNetCore.Mvc.ActionResult { public System.Collections.Generic.IList AuthenticationSchemes { get => throw null; set => throw null; } @@ -616,7 +570,6 @@ namespace Microsoft public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FormatFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormatFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider) => throw null; @@ -624,7 +577,6 @@ namespace Microsoft public bool IsReusable { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FromBodyAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FromBodyAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IFromBodyMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata { bool Microsoft.AspNetCore.Http.Metadata.IFromBodyMetadata.AllowEmpty { get => throw null; } @@ -633,7 +585,6 @@ namespace Microsoft public FromBodyAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.FromFormAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FromFormAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IFromFormMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } @@ -641,7 +592,6 @@ namespace Microsoft public string Name { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FromHeaderAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FromHeaderAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IFromHeaderMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } @@ -649,7 +599,6 @@ namespace Microsoft public string Name { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FromQueryAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FromQueryAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IFromQueryMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } @@ -657,7 +606,6 @@ namespace Microsoft public string Name { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FromRouteAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FromRouteAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IFromRouteMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } @@ -665,79 +613,67 @@ namespace Microsoft public string Name { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.FromServicesAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FromServicesAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IFromServiceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } public FromServicesAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpDeleteAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpDeleteAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpDeleteAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpDeleteAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpGetAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpGetAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpGetAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpGetAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpHeadAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpHeadAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpHeadAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpHeadAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpOptionsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpOptionsAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpOptionsAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpOptionsAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpPatchAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpPatchAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpPatchAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpPatchAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpPostAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpPostAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpPostAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpPostAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.HttpPutAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpPutAttribute : Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute { public HttpPutAttribute() : base(default(System.Collections.Generic.IEnumerable)) => throw null; public HttpPutAttribute(string template) : base(default(System.Collections.Generic.IEnumerable)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.IDesignTimeMvcBuilderConfiguration` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDesignTimeMvcBuilderConfiguration { void ConfigureMvc(Microsoft.Extensions.DependencyInjection.IMvcBuilder builder); } - // Generated from `Microsoft.AspNetCore.Mvc.IRequestFormLimitsPolicy` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestFormLimitsPolicy : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.IRequestSizePolicy` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestSizePolicy : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.JsonOptions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonOptions { public bool AllowInputFormatterExceptionMessages { get => throw null; set => throw null; } @@ -745,7 +681,6 @@ namespace Microsoft public System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.JsonResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public string ContentType { get => throw null; set => throw null; } @@ -757,7 +692,6 @@ namespace Microsoft public object Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.LocalRedirectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocalRedirectResult : Microsoft.AspNetCore.Mvc.ActionResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -770,7 +704,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.MiddlewareFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MiddlewareFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public System.Type ConfigurationType { get => throw null; } @@ -780,7 +713,6 @@ namespace Microsoft public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinderAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelBinderAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider { public System.Type BinderType { get => throw null; set => throw null; } @@ -790,14 +722,12 @@ namespace Microsoft public string Name { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelMetadataTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelMetadataTypeAttribute : System.Attribute { public System.Type MetadataType { get => throw null; } public ModelMetadataTypeAttribute(System.Type type) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.MvcOptions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MvcOptions : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public bool AllowEmptyInputInBodyModelBinding { get => throw null; set => throw null; } @@ -833,43 +763,36 @@ namespace Microsoft public System.Collections.Generic.IList ValueProviderFactories { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.NoContentResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NoContentResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public NoContentResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.NonActionAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NonActionAttribute : System.Attribute { public NonActionAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.NonControllerAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NonControllerAttribute : System.Attribute { public NonControllerAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.NonViewComponentAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NonViewComponentAttribute : System.Attribute { public NonViewComponentAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.NotFoundObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NotFoundObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult { public NotFoundObjectResult(object value) : base(default(object)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.NotFoundResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NotFoundResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public NotFoundResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ObjectResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection ContentTypes { get => throw null; set => throw null; } @@ -882,19 +805,16 @@ namespace Microsoft public object Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.OkObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OkObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult { public OkObjectResult(object value) : base(default(object)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.OkResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OkResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public OkResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.PhysicalFileResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalFileResult : Microsoft.AspNetCore.Mvc.FileResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -903,7 +823,6 @@ namespace Microsoft public PhysicalFileResult(string fileName, string contentType) : base(default(string)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ProducesAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProducesAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter, Microsoft.AspNetCore.Mvc.Filters.IResultFilter { public Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection ContentTypes { get => throw null; set => throw null; } @@ -917,7 +836,6 @@ namespace Microsoft public System.Type Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ProducesDefaultResponseTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProducesDefaultResponseTypeAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDefaultResponseMetadataProvider, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { public ProducesDefaultResponseTypeAttribute() => throw null; @@ -927,14 +845,12 @@ namespace Microsoft public System.Type Type { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ProducesErrorResponseTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProducesErrorResponseTypeAttribute : System.Attribute { public ProducesErrorResponseTypeAttribute(System.Type type) => throw null; public System.Type Type { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProducesResponseTypeAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { public ProducesResponseTypeAttribute(System.Type type, int statusCode) => throw null; @@ -945,7 +861,6 @@ namespace Microsoft public System.Type Type { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RedirectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -958,7 +873,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RedirectToActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectToActionResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult { public string ActionName { get => throw null; set => throw null; } @@ -977,7 +891,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RedirectToPageResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectToPageResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -1001,7 +914,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RedirectToRouteResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectToRouteResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -1020,7 +932,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RequestFormLimitsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestFormLimitsAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public bool BufferBody { get => throw null; set => throw null; } @@ -1039,7 +950,6 @@ namespace Microsoft public int ValueLengthLimit { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RequestSizeLimitAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestSizeLimitAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.IRequestSizeLimitMetadata, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider) => throw null; @@ -1049,7 +959,6 @@ namespace Microsoft public RequestSizeLimitAttribute(System.Int64 bytes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RequireHttpsAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequireHttpsAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IAuthorizationFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { protected virtual void HandleNonHttpsRequest(Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext filterContext) => throw null; @@ -1059,7 +968,6 @@ namespace Microsoft public RequireHttpsAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ResponseCacheAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCacheAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public string CacheProfileName { get => throw null; set => throw null; } @@ -1075,7 +983,6 @@ namespace Microsoft public string[] VaryByQueryKeys { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ResponseCacheLocation` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ResponseCacheLocation : int { Any = 0, @@ -1083,7 +990,6 @@ namespace Microsoft None = 2, } - // Generated from `Microsoft.AspNetCore.Mvc.RouteAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider { public string Name { get => throw null; set => throw null; } @@ -1093,14 +999,12 @@ namespace Microsoft public string Template { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.SerializableError` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SerializableError : System.Collections.Generic.Dictionary { public SerializableError() => throw null; public SerializableError(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ServiceFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider) => throw null; @@ -1110,7 +1014,6 @@ namespace Microsoft public System.Type ServiceType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.SignInResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SignInResult : Microsoft.AspNetCore.Mvc.ActionResult { public string AuthenticationScheme { get => throw null; set => throw null; } @@ -1123,7 +1026,6 @@ namespace Microsoft public SignInResult(string authenticationScheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.SignOutResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SignOutResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Http.IResult { public System.Collections.Generic.IList AuthenticationSchemes { get => throw null; set => throw null; } @@ -1138,7 +1040,6 @@ namespace Microsoft public SignOutResult(string authenticationScheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.StatusCodeResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StatusCodeResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public override void ExecuteResult(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -1147,7 +1048,6 @@ namespace Microsoft public StatusCodeResult(int statusCode) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TypeFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TypeFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public object[] Arguments { get => throw null; set => throw null; } @@ -1158,38 +1058,32 @@ namespace Microsoft public TypeFilterAttribute(System.Type type) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.UnauthorizedObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnauthorizedObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult { public UnauthorizedObjectResult(object value) : base(default(object)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.UnauthorizedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnauthorizedResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public UnauthorizedResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnprocessableEntityObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult { public UnprocessableEntityObjectResult(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState) : base(default(object)) => throw null; public UnprocessableEntityObjectResult(object error) : base(default(object)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.UnprocessableEntityResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnprocessableEntityResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public UnprocessableEntityResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.UnsupportedMediaTypeResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnsupportedMediaTypeResult : Microsoft.AspNetCore.Mvc.StatusCodeResult { public UnsupportedMediaTypeResult() : base(default(int)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.UrlHelperExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UrlHelperExtensions { public static string Action(this Microsoft.AspNetCore.Mvc.IUrlHelper helper) => throw null; @@ -1217,7 +1111,6 @@ namespace Microsoft public static string RouteUrl(this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string routeName, object values, string protocol, string host, string fragment) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ValidationProblemDetails` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationProblemDetails : Microsoft.AspNetCore.Http.HttpValidationProblemDetails { public System.Collections.Generic.IDictionary Errors { get => throw null; } @@ -1226,7 +1119,6 @@ namespace Microsoft public ValidationProblemDetails(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.VirtualFileResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class VirtualFileResult : Microsoft.AspNetCore.Mvc.FileResult { public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -1238,7 +1130,6 @@ namespace Microsoft namespace ActionConstraints { - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.ActionMethodSelectorAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ActionMethodSelectorAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint, Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata { public bool Accept(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext context) => throw null; @@ -1247,7 +1138,6 @@ namespace Microsoft public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.HttpMethodActionConstraint` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpMethodActionConstraint : Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint, Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata { public virtual bool Accept(Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext context) => throw null; @@ -1257,7 +1147,6 @@ namespace Microsoft public int Order { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ActionConstraints.IConsumesActionConstraint` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IConsumesActionConstraint : Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint, Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata { } @@ -1265,14 +1154,12 @@ namespace Microsoft } namespace ApiExplorer { - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiConventionNameMatchAttribute : System.Attribute { public ApiConventionNameMatchAttribute(Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchBehavior matchBehavior) => throw null; public Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchBehavior MatchBehavior { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchBehavior` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ApiConventionNameMatchBehavior : int { Any = 0, @@ -1281,57 +1168,48 @@ namespace Microsoft Suffix = 3, } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiConventionResult { public ApiConventionResult(System.Collections.Generic.IReadOnlyList responseMetadataProviders) => throw null; public System.Collections.Generic.IReadOnlyList ResponseMetadataProviders { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiConventionTypeMatchAttribute : System.Attribute { public ApiConventionTypeMatchAttribute(Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchBehavior matchBehavior) => throw null; public Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchBehavior MatchBehavior { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchBehavior` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ApiConventionTypeMatchBehavior : int { Any = 0, AssignableFrom = 1, } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDefaultResponseMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiDefaultResponseMetadataProvider : Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupNameProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiDescriptionGroupNameProvider { string GroupName { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionVisibilityProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiDescriptionVisibilityProvider { bool IgnoreApi { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestFormatMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiRequestFormatMetadataProvider { System.Collections.Generic.IReadOnlyList GetSupportedContentTypes(string contentType, System.Type objectType); } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiRequestMetadataProvider : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void SetContentTypes(Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection contentTypes); } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiResponseMetadataProvider : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void SetContentTypes(Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection contentTypes); @@ -1339,7 +1217,6 @@ namespace Microsoft System.Type Type { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseTypeMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiResponseTypeMetadataProvider { System.Collections.Generic.IReadOnlyList GetSupportedContentTypes(string contentType, System.Type objectType); @@ -1348,7 +1225,6 @@ namespace Microsoft } namespace ApplicationModels { - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionModel : Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public System.Reflection.MethodInfo ActionMethod { get => throw null; } @@ -1369,7 +1245,6 @@ namespace Microsoft public System.Collections.Generic.IList Selectors { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApiConventionApplicationModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiConventionApplicationModelConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public ApiConventionApplicationModelConvention(Microsoft.AspNetCore.Mvc.ProducesErrorResponseTypeAttribute defaultErrorResponseType) => throw null; @@ -1378,7 +1253,6 @@ namespace Microsoft protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiExplorerModel { public ApiExplorerModel() => throw null; @@ -1387,7 +1261,6 @@ namespace Microsoft public bool? IsVisible { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApiVisibilityConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApiVisibilityConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public ApiVisibilityConvention() => throw null; @@ -1395,7 +1268,6 @@ namespace Microsoft protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationModel : Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel ApiExplorer { get => throw null; set => throw null; } @@ -1405,7 +1277,6 @@ namespace Microsoft public System.Collections.Generic.IDictionary Properties { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationModelProviderContext { public ApplicationModelProviderContext(System.Collections.Generic.IEnumerable controllerTypes) => throw null; @@ -1413,7 +1284,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel Result { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AttributeRouteModel { public Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider Attribute { get => throw null; } @@ -1433,7 +1303,6 @@ namespace Microsoft public string Template { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ClientErrorResultFilterConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClientErrorResultFilterConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; @@ -1441,7 +1310,6 @@ namespace Microsoft protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ConsumesConstraintForFormFileParameterConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsumesConstraintForFormFileParameterConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; @@ -1449,7 +1317,6 @@ namespace Microsoft protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerModel : Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public System.Collections.Generic.IList Actions { get => throw null; } @@ -1470,25 +1337,21 @@ namespace Microsoft public System.Collections.Generic.IList Selectors { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionModelConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiExplorerModel { Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel ApiExplorer { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationModelConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel application); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationModelProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext context); @@ -1496,13 +1359,11 @@ namespace Microsoft int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBindingModel { Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo BindingInfo { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICommonModel : Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { System.Collections.Generic.IReadOnlyList Attributes { get; } @@ -1510,37 +1371,31 @@ namespace Microsoft string Name { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IControllerModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IControllerModelConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controller); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFilterModel { System.Collections.Generic.IList Filters { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelBaseConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IParameterModelBaseConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase parameter); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IParameterModelConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel parameter); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPropertyModel { System.Collections.Generic.IDictionary Properties { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.InferParameterBindingInfoConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InferParameterBindingInfoConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; @@ -1549,7 +1404,6 @@ namespace Microsoft protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.InvalidModelStateFilterConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InvalidModelStateFilterConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; @@ -1557,7 +1411,6 @@ namespace Microsoft protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ParameterModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel Action { get => throw null; set => throw null; } @@ -1571,7 +1424,6 @@ namespace Microsoft public System.Collections.Generic.IDictionary Properties { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ParameterModelBase : Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -1583,7 +1435,6 @@ namespace Microsoft public System.Collections.Generic.IDictionary Properties { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PropertyModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase, Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -1596,7 +1447,6 @@ namespace Microsoft public string PropertyName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.RouteTokenTransformerConvention` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteTokenTransformerConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention { public void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; @@ -1604,7 +1454,6 @@ namespace Microsoft protected virtual bool ShouldApply(Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.SelectorModel` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SelectorModel { public System.Collections.Generic.IList ActionConstraints { get => throw null; } @@ -1617,21 +1466,18 @@ namespace Microsoft } namespace ApplicationParts { - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ApplicationPart { protected ApplicationPart() => throw null; public abstract string Name { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationPartAttribute : System.Attribute { public ApplicationPartAttribute(string assemblyName) => throw null; public string AssemblyName { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ApplicationPartFactory { protected ApplicationPartFactory() => throw null; @@ -1639,7 +1485,6 @@ namespace Microsoft public abstract System.Collections.Generic.IEnumerable GetApplicationParts(System.Reflection.Assembly assembly); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationPartManager { public ApplicationPartManager() => throw null; @@ -1648,7 +1493,6 @@ namespace Microsoft public void PopulateFeature(TFeature feature) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AssemblyPart : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart, Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationPartTypeProvider { public System.Reflection.Assembly Assembly { get => throw null; } @@ -1657,7 +1501,6 @@ namespace Microsoft public System.Collections.Generic.IEnumerable Types { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.DefaultApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultApplicationPartFactory : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory { public DefaultApplicationPartFactory() => throw null; @@ -1666,37 +1509,31 @@ namespace Microsoft public static Microsoft.AspNetCore.Mvc.ApplicationParts.DefaultApplicationPartFactory Instance { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationFeatureProvider { } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider { void PopulateFeature(System.Collections.Generic.IEnumerable parts, TFeature feature); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationPartTypeProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationPartTypeProvider { System.Collections.Generic.IEnumerable Types { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ICompilationReferencesProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICompilationReferencesProvider { System.Collections.Generic.IEnumerable GetReferencePaths(); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.NullApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullApplicationPartFactory : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory { public override System.Collections.Generic.IEnumerable GetApplicationParts(System.Reflection.Assembly assembly) => throw null; public NullApplicationPartFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ProvideApplicationPartFactoryAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProvideApplicationPartFactoryAttribute : System.Attribute { public System.Type GetFactoryType() => throw null; @@ -1704,7 +1541,6 @@ namespace Microsoft public ProvideApplicationPartFactoryAttribute(string factoryTypeName) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.RelatedAssemblyAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RelatedAssemblyAttribute : System.Attribute { public string AssemblyFileName { get => throw null; } @@ -1715,13 +1551,11 @@ namespace Microsoft } namespace Authorization { - // Generated from `Microsoft.AspNetCore.Mvc.Authorization.AllowAnonymousFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AllowAnonymousFilter : Microsoft.AspNetCore.Mvc.Authorization.IAllowAnonymousFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { public AllowAnonymousFilter() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthorizeFilter : Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { public System.Collections.Generic.IEnumerable AuthorizeData { get => throw null; } @@ -1740,7 +1574,6 @@ namespace Microsoft } namespace Controllers { - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerActionDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor { public virtual string ActionName { get => throw null; set => throw null; } @@ -1751,7 +1584,6 @@ namespace Microsoft public System.Reflection.MethodInfo MethodInfo { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerActivatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerActivatorProvider : Microsoft.AspNetCore.Mvc.Controllers.IControllerActivatorProvider { public ControllerActivatorProvider(Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator controllerActivator) => throw null; @@ -1760,21 +1592,18 @@ namespace Microsoft public System.Action CreateReleaser(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerBoundPropertyDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerBoundPropertyDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor, Microsoft.AspNetCore.Mvc.Infrastructure.IPropertyInfoParameterDescriptor { public ControllerBoundPropertyDescriptor() => throw null; public System.Reflection.PropertyInfo PropertyInfo { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerFeature` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerFeature { public ControllerFeature() => throw null; public System.Collections.Generic.IList Controllers { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider, Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider { public ControllerFeatureProvider() => throw null; @@ -1782,14 +1611,12 @@ namespace Microsoft public void PopulateFeature(System.Collections.Generic.IEnumerable parts, Microsoft.AspNetCore.Mvc.Controllers.ControllerFeature feature) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ControllerParameterDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ControllerParameterDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor, Microsoft.AspNetCore.Mvc.Infrastructure.IParameterInfoParameterDescriptor { public ControllerParameterDescriptor() => throw null; public System.Reflection.ParameterInfo ParameterInfo { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IControllerActivator { object Create(Microsoft.AspNetCore.Mvc.ControllerContext context); @@ -1797,7 +1624,6 @@ namespace Microsoft System.Threading.Tasks.ValueTask ReleaseAsync(Microsoft.AspNetCore.Mvc.ControllerContext context, object controller) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerActivatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IControllerActivatorProvider { System.Func CreateActivator(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor); @@ -1805,7 +1631,6 @@ namespace Microsoft System.Action CreateReleaser(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IControllerFactory { object CreateController(Microsoft.AspNetCore.Mvc.ControllerContext context); @@ -1813,7 +1638,6 @@ namespace Microsoft System.Threading.Tasks.ValueTask ReleaseControllerAsync(Microsoft.AspNetCore.Mvc.ControllerContext context, object controller) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerFactoryProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IControllerFactoryProvider { System.Func CreateAsyncControllerReleaser(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor) => throw null; @@ -1821,14 +1645,12 @@ namespace Microsoft System.Action CreateControllerReleaser(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.IControllerPropertyActivator` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IControllerPropertyActivator { void Activate(Microsoft.AspNetCore.Mvc.ControllerContext context, object controller); System.Action GetActivatorDelegate(Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor actionDescriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceBasedControllerActivator : Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator { public object Create(Microsoft.AspNetCore.Mvc.ControllerContext actionContext) => throw null; @@ -1841,7 +1663,6 @@ namespace Microsoft { namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Mvc.Core.Infrastructure.IAntiforgeryValidationFailedResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAntiforgeryValidationFailedResult : Microsoft.AspNetCore.Mvc.IActionResult { } @@ -1850,7 +1671,6 @@ namespace Microsoft } namespace Diagnostics { - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterActionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1862,7 +1682,6 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteData RouteData { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionFilterOnActionExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterActionFilterOnActionExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1874,7 +1693,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionFilterOnActionExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterActionFilterOnActionExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1886,7 +1704,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionFilterOnActionExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterActionFilterOnActionExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1898,7 +1715,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterActionResultEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterActionResultEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -1909,7 +1725,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterAuthorizationFilterOnAuthorizationEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterAuthorizationFilterOnAuthorizationEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1921,7 +1736,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterControllerActionMethodEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterControllerActionMethodEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -1934,7 +1748,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterExceptionFilterOnExceptionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterExceptionFilterOnExceptionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1946,7 +1759,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResourceFilterOnResourceExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterResourceFilterOnResourceExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1958,7 +1770,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext ResourceExecutedContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResourceFilterOnResourceExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterResourceFilterOnResourceExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1970,7 +1781,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext ResourceExecutingContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResourceFilterOnResourceExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterResourceFilterOnResourceExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1982,7 +1792,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext ResourceExecutedContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResultFilterOnResultExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterResultFilterOnResultExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -1994,7 +1803,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext ResultExecutedContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResultFilterOnResultExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterResultFilterOnResultExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2006,7 +1814,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext ResultExecutingContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterResultFilterOnResultExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterResultFilterOnResultExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2018,7 +1825,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext ResultExecutedContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeActionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2030,7 +1836,6 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteData RouteData { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionFilterOnActionExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeActionFilterOnActionExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2042,7 +1847,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionFilterOnActionExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeActionFilterOnActionExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2054,7 +1858,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionFilterOnActionExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeActionFilterOnActionExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2066,7 +1869,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeActionResultEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeActionResultEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -2077,7 +1879,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeAuthorizationFilterOnAuthorizationEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeAuthorizationFilterOnAuthorizationEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2089,7 +1890,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeControllerActionMethodEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeControllerActionMethodEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public System.Collections.Generic.IReadOnlyDictionary ActionArguments { get => throw null; } @@ -2101,7 +1901,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeExceptionFilterOnException` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeExceptionFilterOnException : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2113,7 +1912,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResourceFilterOnResourceExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeResourceFilterOnResourceExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2125,7 +1923,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext ResourceExecutedContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResourceFilterOnResourceExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeResourceFilterOnResourceExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2137,7 +1934,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext ResourceExecutingContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResourceFilterOnResourceExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeResourceFilterOnResourceExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2149,7 +1945,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext ResourceExecutingContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResultFilterOnResultExecutedEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeResultFilterOnResultExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2161,7 +1956,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext ResultExecutedContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResultFilterOnResultExecutingEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeResultFilterOnResultExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2173,7 +1967,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext ResultExecutingContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeResultFilterOnResultExecutionEventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeResultFilterOnResultExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -2185,10 +1978,8 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext ResultExecutingContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.EventData` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class EventData : System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyList>, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.EventData+Enumerator` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -2213,7 +2004,6 @@ namespace Microsoft } namespace Filters { - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ActionFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IActionFilter, Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter, Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter, Microsoft.AspNetCore.Mvc.Filters.IResultFilter { protected ActionFilterAttribute() => throw null; @@ -2226,7 +2016,6 @@ namespace Microsoft public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ExceptionFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ExceptionFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IAsyncExceptionFilter, Microsoft.AspNetCore.Mvc.Filters.IExceptionFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { protected ExceptionFilterAttribute() => throw null; @@ -2235,7 +2024,6 @@ namespace Microsoft public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterCollection` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FilterCollection : System.Collections.ObjectModel.Collection { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata Add(System.Type filterType) => throw null; @@ -2249,7 +2037,6 @@ namespace Microsoft public FilterCollection() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.FilterScope` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class FilterScope { public static int Action; @@ -2259,7 +2046,6 @@ namespace Microsoft public static int Last; } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.ResultFilterAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ResultFilterAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter, Microsoft.AspNetCore.Mvc.Filters.IResultFilter { public virtual void OnResultExecuted(Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext context) => throw null; @@ -2272,7 +2058,6 @@ namespace Microsoft } namespace Formatters { - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.FormatFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormatFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IResourceFilter, Microsoft.AspNetCore.Mvc.Filters.IResultFilter { public FormatFilter(Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; @@ -2283,7 +2068,6 @@ namespace Microsoft public void OnResultExecuting(Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.FormatterMappings` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormatterMappings { public bool ClearMediaTypeMappingForFormat(string format) => throw null; @@ -2293,7 +2077,6 @@ namespace Microsoft public void SetMediaTypeMappingForFormat(string format, string contentType) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpNoContentOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter { public bool CanWriteResult(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context) => throw null; @@ -2302,13 +2085,11 @@ namespace Microsoft public System.Threading.Tasks.Task WriteAsync(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.IFormatFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IFormatFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { string GetFormat(Microsoft.AspNetCore.Mvc.ActionContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.InputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class InputFormatter : Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestFormatMetadataProvider, Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter { public virtual bool CanRead(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context) => throw null; @@ -2321,7 +2102,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection SupportedMediaTypes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.MediaType` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct MediaType { public Microsoft.Extensions.Primitives.StringSegment Charset { get => throw null; } @@ -2348,7 +2128,6 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Type { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MediaTypeCollection : System.Collections.ObjectModel.Collection { public void Add(Microsoft.Net.Http.Headers.MediaTypeHeaderValue item) => throw null; @@ -2357,7 +2136,6 @@ namespace Microsoft public bool Remove(Microsoft.Net.Http.Headers.MediaTypeHeaderValue item) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.MediaTypeSegmentWithQuality` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct MediaTypeSegmentWithQuality { public Microsoft.Extensions.Primitives.StringSegment MediaType { get => throw null; } @@ -2367,7 +2145,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.OutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class OutputFormatter : Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseTypeMetadataProvider, Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter { public virtual bool CanWriteResult(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context) => throw null; @@ -2380,7 +2157,6 @@ namespace Microsoft public virtual void WriteResponseHeaders(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StreamOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter { public bool CanWriteResult(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context) => throw null; @@ -2388,7 +2164,6 @@ namespace Microsoft public System.Threading.Tasks.Task WriteAsync(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter { public override bool CanWriteResult(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context) => throw null; @@ -2396,7 +2171,6 @@ namespace Microsoft public override System.Threading.Tasks.Task WriteResponseBodyAsync(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context, System.Text.Encoding encoding) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonInputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SystemTextJsonInputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter, Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy { Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy.ExceptionPolicy { get => throw null; } @@ -2405,7 +2179,6 @@ namespace Microsoft public SystemTextJsonInputFormatter(Microsoft.AspNetCore.Mvc.JsonOptions options, Microsoft.Extensions.Logging.ILogger logger) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SystemTextJsonOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter { public System.Text.Json.JsonSerializerOptions SerializerOptions { get => throw null; } @@ -2413,7 +2186,6 @@ namespace Microsoft public override System.Threading.Tasks.Task WriteResponseBodyAsync(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context, System.Text.Encoding selectedEncoding) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TextInputFormatter : Microsoft.AspNetCore.Mvc.Formatters.InputFormatter { public override System.Threading.Tasks.Task ReadRequestBodyAsync(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context) => throw null; @@ -2425,7 +2197,6 @@ namespace Microsoft protected static System.Text.Encoding UTF8EncodingWithoutBOM; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TextOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatter { public virtual System.Text.Encoding SelectCharacterEncoding(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context) => throw null; @@ -2439,14 +2210,12 @@ namespace Microsoft } namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionContextAccessor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionContextAccessor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; set => throw null; } public ActionContextAccessor() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionDescriptorCollection { public ActionDescriptorCollection(System.Collections.Generic.IReadOnlyList items, int version) => throw null; @@ -2454,7 +2223,6 @@ namespace Microsoft public int Version { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollectionProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ActionDescriptorCollectionProvider : Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider { protected ActionDescriptorCollectionProvider() => throw null; @@ -2462,26 +2230,22 @@ namespace Microsoft public abstract Microsoft.Extensions.Primitives.IChangeToken GetChangeToken(); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionResultObjectValueAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionResultObjectValueAttribute : System.Attribute { public ActionResultObjectValueAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ActionResultStatusCodeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActionResultStatusCodeAttribute : System.Attribute { public ActionResultStatusCodeAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.AmbiguousActionException` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AmbiguousActionException : System.InvalidOperationException { protected AmbiguousActionException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; public AmbiguousActionException(string message) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.CompatibilitySwitch<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompatibilitySwitch : Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch where TValue : struct { public CompatibilitySwitch(string name) => throw null; @@ -2492,7 +2256,6 @@ namespace Microsoft object Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch.Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ConfigureCompatibilityOptions<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ConfigureCompatibilityOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TOptions : class, System.Collections.Generic.IEnumerable { protected ConfigureCompatibilityOptions(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions compatibilityOptions) => throw null; @@ -2501,28 +2264,24 @@ namespace Microsoft protected Microsoft.AspNetCore.Mvc.CompatibilityVersion Version { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ContentResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public ContentResultExecutor(Microsoft.Extensions.Logging.ILogger logger, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory httpResponseStreamWriterFactory) => throw null; public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.ContentResult result) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultOutputFormatterSelector : Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector { public DefaultOutputFormatterSelector(Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public override Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter SelectFormatter(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context, System.Collections.Generic.IList formatters, Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection contentTypes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.DefaultStatusCodeAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultStatusCodeAttribute : System.Attribute { public DefaultStatusCodeAttribute(int statusCode) => throw null; public int StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.FileContentResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileContentResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.FileContentResult result) => throw null; @@ -2530,7 +2289,6 @@ namespace Microsoft protected virtual System.Threading.Tasks.Task WriteFileAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.FileContentResult result, Microsoft.Net.Http.Headers.RangeItemHeaderValue range, System.Int64 rangeLength) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileResultExecutorBase { protected const int BufferSize = default; @@ -2541,7 +2299,6 @@ namespace Microsoft protected static System.Threading.Tasks.Task WriteFileAsync(Microsoft.AspNetCore.Http.HttpContext context, System.IO.Stream fileStream, Microsoft.Net.Http.Headers.RangeItemHeaderValue range, System.Int64 rangeLength) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.FileStreamResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileStreamResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.FileStreamResult result) => throw null; @@ -2549,67 +2306,56 @@ namespace Microsoft protected virtual System.Threading.Tasks.Task WriteFileAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.FileStreamResult result, Microsoft.Net.Http.Headers.RangeItemHeaderValue range, System.Int64 rangeLength) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionContextAccessor { Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorChangeProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionDescriptorChangeProvider { Microsoft.Extensions.Primitives.IChangeToken GetChangeToken(); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionDescriptorCollectionProvider { Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection ActionDescriptors { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionInvokerFactory { Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker CreateInvoker(Microsoft.AspNetCore.Mvc.ActionContext actionContext); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionResultExecutor where TResult : Microsoft.AspNetCore.Mvc.IActionResult { System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, TResult result); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionResultTypeMapper { Microsoft.AspNetCore.Mvc.IActionResult Convert(object value, System.Type returnType); System.Type GetResultDataType(System.Type returnType); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IActionSelector` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionSelector { Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor SelectBestCandidate(Microsoft.AspNetCore.Routing.RouteContext context, System.Collections.Generic.IReadOnlyList candidates); System.Collections.Generic.IReadOnlyList SelectCandidates(Microsoft.AspNetCore.Routing.RouteContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IApiBehaviorMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApiBehaviorMetadata : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IClientErrorActionResult : Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IClientErrorFactory { Microsoft.AspNetCore.Mvc.IActionResult GetClientError(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorActionResult clientError); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICompatibilitySwitch { bool IsValueSet { get; } @@ -2617,50 +2363,42 @@ namespace Microsoft object Value { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IConvertToActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConvertToActionResult { Microsoft.AspNetCore.Mvc.IActionResult Convert(); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestStreamReaderFactory { System.IO.TextReader CreateReader(System.IO.Stream stream, System.Text.Encoding encoding); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpResponseStreamWriterFactory { System.IO.TextWriter CreateWriter(System.IO.Stream stream, System.Text.Encoding encoding); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IParameterInfoParameterDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IParameterInfoParameterDescriptor { System.Reflection.ParameterInfo ParameterInfo { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IPropertyInfoParameterDescriptor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPropertyInfoParameterDescriptor { System.Reflection.PropertyInfo PropertyInfo { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStatusCodeActionResult : Microsoft.AspNetCore.Mvc.IActionResult { int? StatusCode { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.LocalRedirectResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocalRedirectResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.LocalRedirectResult result) => throw null; public LocalRedirectResultExecutor(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelStateInvalidFilter : Microsoft.AspNetCore.Mvc.Filters.IActionFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public bool IsReusable { get => throw null; } @@ -2670,14 +2408,12 @@ namespace Microsoft public int Order { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.MvcCompatibilityOptions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MvcCompatibilityOptions { public Microsoft.AspNetCore.Mvc.CompatibilityVersion CompatibilityVersion { get => throw null; set => throw null; } public MvcCompatibilityOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ObjectResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.ObjectResult result) => throw null; @@ -2687,17 +2423,14 @@ namespace Microsoft protected System.Func WriterFactory { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class OutputFormatterSelector { protected OutputFormatterSelector() => throw null; public abstract Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter SelectFormatter(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext context, System.Collections.Generic.IList formatters, Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection mediaTypes); } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalFileResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor+FileMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` protected class FileMetadata { public bool Exists { get => throw null; set => throw null; } @@ -2714,7 +2447,6 @@ namespace Microsoft protected virtual System.Threading.Tasks.Task WriteFileAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.PhysicalFileResult result, Microsoft.Net.Http.Headers.RangeItemHeaderValue range, System.Int64 rangeLength) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ProblemDetailsFactory { public abstract Microsoft.AspNetCore.Mvc.ProblemDetails CreateProblemDetails(Microsoft.AspNetCore.Http.HttpContext httpContext, int? statusCode = default(int?), string title = default(string), string type = default(string), string detail = default(string), string instance = default(string)); @@ -2722,35 +2454,30 @@ namespace Microsoft protected ProblemDetailsFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.RedirectResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.RedirectResult result) => throw null; public RedirectResultExecutor(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToActionResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectToActionResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.RedirectToActionResult result) => throw null; public RedirectToActionResultExecutor(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToPageResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectToPageResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.RedirectToPageResult result) => throw null; public RedirectToPageResultExecutor(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToRouteResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RedirectToRouteResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.RedirectToRouteResult result) => throw null; public RedirectToRouteResultExecutor(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Infrastructure.VirtualFileResultExecutor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class VirtualFileResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.VirtualFileResult result) => throw null; @@ -2762,19 +2489,16 @@ namespace Microsoft } namespace ModelBinding { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindNeverAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindNeverAttribute : Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute { public BindNeverAttribute() : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindRequiredAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindRequiredAttribute : Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute { public BindRequiredAttribute() : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum BindingBehavior : int { Never = 1, @@ -2782,14 +2506,12 @@ namespace Microsoft Required = 2, } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingBehaviorAttribute : System.Attribute { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior Behavior { get => throw null; } public BindingBehaviorAttribute(Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior behavior) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class BindingSourceValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { protected Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } @@ -2799,7 +2521,6 @@ namespace Microsoft public abstract Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult GetValue(string key); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.CompositeValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeValueProvider : System.Collections.ObjectModel.Collection, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { public CompositeValueProvider() => throw null; @@ -2815,7 +2536,6 @@ namespace Microsoft protected override void SetItem(int index, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider item) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.DefaultModelBindingContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultModelBindingContext : Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext { public override Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; set => throw null; } @@ -2839,7 +2559,6 @@ namespace Microsoft public override Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider ValueProvider { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.DefaultPropertyFilterProvider<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultPropertyFilterProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider where TModel : class { public DefaultPropertyFilterProvider() => throw null; @@ -2848,13 +2567,11 @@ namespace Microsoft public virtual System.Collections.Generic.IEnumerable>> PropertyIncludeExpressions { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.EmptyModelMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EmptyModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider { public EmptyModelMetadataProvider() : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.FormFileValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFileValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { public bool ContainsPrefix(string prefix) => throw null; @@ -2862,14 +2579,12 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult GetValue(string key) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.FormFileValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFileValueProviderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory { public System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context) => throw null; public FormFileValueProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.FormValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { public override bool ContainsPrefix(string prefix) => throw null; @@ -2880,71 +2595,60 @@ namespace Microsoft protected Microsoft.AspNetCore.Mvc.ModelBinding.PrefixContainer PrefixContainer { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.FormValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormValueProviderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory { public System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context) => throw null; public FormValueProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBindingSourceValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider Filter(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ICollectionModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICollectionModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { bool CanCreateInstance(System.Type targetType); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEnumerableValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { System.Collections.Generic.IDictionary GetKeysFromPrefix(string prefix); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKeyRewriterValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider Filter(); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelBinderFactory { Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder CreateBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryFormValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JQueryFormValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.JQueryValueProvider { public override Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult GetValue(string key) => throw null; public JQueryFormValueProvider(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource, System.Collections.Generic.IDictionary values, System.Globalization.CultureInfo culture) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource), default(System.Collections.Generic.IDictionary), default(System.Globalization.CultureInfo)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryFormValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JQueryFormValueProviderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory { public System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context) => throw null; public JQueryFormValueProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryQueryStringValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JQueryQueryStringValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.JQueryValueProvider { public JQueryQueryStringValueProvider(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource, System.Collections.Generic.IDictionary values, System.Globalization.CultureInfo culture) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource), default(System.Collections.Generic.IDictionary), default(System.Globalization.CultureInfo)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryQueryStringValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JQueryQueryStringValueProviderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory { public System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context) => throw null; public JQueryQueryStringValueProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.JQueryValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class JQueryValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { public override bool ContainsPrefix(string prefix) => throw null; @@ -2956,7 +2660,6 @@ namespace Microsoft protected Microsoft.AspNetCore.Mvc.ModelBinding.PrefixContainer PrefixContainer { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelAttributes { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -2970,14 +2673,12 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList TypeAttributes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelBinderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory { public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder CreateBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext context) => throw null; public ModelBinderFactory(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.Extensions.Options.IOptions options, System.IServiceProvider serviceProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelBinderFactoryContext { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo BindingInfo { get => throw null; set => throw null; } @@ -2986,20 +2687,17 @@ namespace Microsoft public ModelBinderFactoryContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelBinderProviderExtensions { public static void RemoveType(this System.Collections.Generic.IList list, System.Type type) => throw null; public static void RemoveType(this System.Collections.Generic.IList list) where TModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataProviderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelMetadataProviderExtensions { public static Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata GetMetadataForProperty(this Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider provider, System.Type containerType, string propertyName) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelNames` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelNames { public static string CreateIndexModelName(string parentName, int index) => throw null; @@ -3007,7 +2705,6 @@ namespace Microsoft public static string CreatePropertyModelName(string prefix, string propertyName) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ObjectModelValidator` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ObjectModelValidator : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator { public abstract Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor GetValidationVisitor(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider validatorProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorCache validatorCache, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary validationState); @@ -3017,7 +2714,6 @@ namespace Microsoft public virtual void Validate(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary validationState, string prefix, object model, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, object container) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ParameterBinder { public virtual System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder modelBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor parameter, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, object value) => throw null; @@ -3026,7 +2722,6 @@ namespace Microsoft public ParameterBinder(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator validator, Microsoft.Extensions.Options.IOptions mvcOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.PrefixContainer` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PrefixContainer { public bool ContainsPrefix(string prefix) => throw null; @@ -3034,7 +2729,6 @@ namespace Microsoft public PrefixContainer(System.Collections.Generic.ICollection values) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.QueryStringValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QueryStringValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider { public override bool ContainsPrefix(string prefix) => throw null; @@ -3045,14 +2739,12 @@ namespace Microsoft public QueryStringValueProvider(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource, Microsoft.AspNetCore.Http.IQueryCollection values, System.Globalization.CultureInfo culture) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.QueryStringValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QueryStringValueProviderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory { public System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context) => throw null; public QueryStringValueProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider { public override bool ContainsPrefix(string key) => throw null; @@ -3063,14 +2755,12 @@ namespace Microsoft public RouteValueProvider(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource, Microsoft.AspNetCore.Routing.RouteValueDictionary values, System.Globalization.CultureInfo culture) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProviderFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteValueProviderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory { public System.Threading.Tasks.Task CreateValueProviderAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context) => throw null; public RouteValueProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.SuppressChildValidationMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SuppressChildValidationMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider { public void CreateValidationMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext context) => throw null; @@ -3080,13 +2770,11 @@ namespace Microsoft public System.Type Type { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeException` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnsupportedContentTypeException : System.Exception { public UnsupportedContentTypeException(string message) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UnsupportedContentTypeFilter : Microsoft.AspNetCore.Mvc.Filters.IActionFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public void OnActionExecuted(Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext context) => throw null; @@ -3095,7 +2783,6 @@ namespace Microsoft public UnsupportedContentTypeFilter() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ValueProviderFactoryExtensions { public static void RemoveType(this System.Collections.Generic.IList list, System.Type type) => throw null; @@ -3104,7 +2791,6 @@ namespace Microsoft namespace Binders { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinder<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ArrayModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinder { public ArrayModelBinder(Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder elementBinder, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder), default(Microsoft.Extensions.Logging.ILoggerFactory)) => throw null; @@ -3116,28 +2802,24 @@ namespace Microsoft protected override object CreateEmptyCollection(System.Type targetType) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ArrayModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public ArrayModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BinderTypeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public BinderTypeModelBinder(System.Type binderType) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BinderTypeModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public BinderTypeModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BodyModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; @@ -3146,7 +2828,6 @@ namespace Microsoft public BodyModelBinder(System.Collections.Generic.IList formatters, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory readerFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.MvcOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BodyModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public BodyModelBinderProvider(System.Collections.Generic.IList formatters, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory readerFactory) => throw null; @@ -3155,35 +2836,30 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ByteArrayModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public ByteArrayModelBinder(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ByteArrayModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public ByteArrayModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CancellationTokenModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public CancellationTokenModelBinder() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CancellationTokenModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public CancellationTokenModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinder<>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CollectionModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.ICollectionModelBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { protected void AddErrorIfBindingRequired(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; @@ -3200,27 +2876,23 @@ namespace Microsoft protected Microsoft.Extensions.Logging.ILogger Logger { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CollectionModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public CollectionModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComplexObjectModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComplexObjectModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public ComplexObjectModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexTypeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComplexTypeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; @@ -3232,35 +2904,30 @@ namespace Microsoft protected virtual void SetProperty(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext, string modelName, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata propertyMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult result) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComplexTypeModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public ComplexTypeModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DateTimeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public DateTimeModelBinder(System.Globalization.DateTimeStyles supportedStyles, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DateTimeModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public DateTimeModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DecimalModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DecimalModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public DecimalModelBinder(System.Globalization.NumberStyles supportedStyles, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinder<,>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DictionaryModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinder> { public override System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; @@ -3272,77 +2939,66 @@ namespace Microsoft public DictionaryModelBinder(Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder keyBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder valueBinder, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, bool allowValidatingTopLevelNodes, Microsoft.AspNetCore.Mvc.MvcOptions mvcOptions) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder), default(Microsoft.Extensions.Logging.ILoggerFactory)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DictionaryModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public DictionaryModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DoubleModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DoubleModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public DoubleModelBinder(System.Globalization.NumberStyles supportedStyles, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnumTypeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder { protected override void CheckModel(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext, Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult valueProviderResult, object model) => throw null; public EnumTypeModelBinder(bool suppressBindingUndefinedValueToEnumType, System.Type modelType, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) : base(default(System.Type), default(Microsoft.Extensions.Logging.ILoggerFactory)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnumTypeModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public EnumTypeModelBinderProvider(Microsoft.AspNetCore.Mvc.MvcOptions options) => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FloatModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public FloatModelBinder(System.Globalization.NumberStyles supportedStyles, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FloatingPointTypeModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public FloatingPointTypeModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormCollectionModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public FormCollectionModelBinder(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormCollectionModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public FormCollectionModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFileModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public FormFileModelBinder(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormFileModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public FormFileModelBinderProvider() => throw null; public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HeaderModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; @@ -3350,42 +3006,36 @@ namespace Microsoft public HeaderModelBinder(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder innerModelBinder) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HeaderModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; public HeaderModelBinderProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinder<,>` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KeyValuePairModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public KeyValuePairModelBinder(Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder keyBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder valueBinder, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KeyValuePairModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; public KeyValuePairModelBinderProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServicesModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; public ServicesModelBinder() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServicesModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; public ServicesModelBinderProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SimpleTypeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder { public System.Threading.Tasks.Task BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext) => throw null; @@ -3393,14 +3043,12 @@ namespace Microsoft public SimpleTypeModelBinder(System.Type type, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SimpleTypeModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; public SimpleTypeModelBinderProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TryParseModelBinderProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext context) => throw null; @@ -3410,7 +3058,6 @@ namespace Microsoft } namespace Metadata { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingMetadata { public string BinderModelName { get => throw null; set => throw null; } @@ -3425,7 +3072,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider PropertyFilterProvider { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingMetadataProviderContext { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -3437,7 +3083,6 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList TypeAttributes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingSourceMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BindingSourceMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider { public Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get => throw null; } @@ -3446,7 +3091,6 @@ namespace Microsoft public System.Type Type { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultMetadataDetails { public Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadata BindingMetadata { get => throw null; set => throw null; } @@ -3463,7 +3107,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadata ValidationMetadata { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultModelBindingMessageProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider { public override System.Func AttemptedValueIsInvalidAccessor { get => throw null; } @@ -3492,7 +3135,6 @@ namespace Microsoft public override System.Func ValueMustNotBeNullAccessor { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultModelMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata { public override System.Collections.Generic.IReadOnlyDictionary AdditionalValues { get => throw null; } @@ -3547,7 +3189,6 @@ namespace Microsoft public override System.Collections.Generic.IReadOnlyList ValidatorMetadata { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataProvider { protected virtual Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata CreateModelMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails entry) => throw null; @@ -3566,7 +3207,6 @@ namespace Microsoft protected Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider ModelBindingMessageProvider { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DisplayMetadata { public System.Collections.Generic.IDictionary AdditionalValues { get => throw null; } @@ -3596,7 +3236,6 @@ namespace Microsoft public string TemplateHint { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DisplayMetadataProviderContext { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -3607,49 +3246,41 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList TypeAttributes { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ExcludeBindingMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExcludeBindingMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider { public void CreateBindingMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext context) => throw null; public ExcludeBindingMetadataProvider(System.Type type) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IBindingMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider { void CreateBindingMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICompositeMetadataDetailsProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IDisplayMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider { } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IDisplayMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDisplayMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider { void CreateDisplayMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMetadataDetailsProvider { } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValidationMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider { void CreateValidationMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.MetadataDetailsProviderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MetadataDetailsProviderExtensions { public static void RemoveType(this System.Collections.Generic.IList list, System.Type type) => throw null; public static void RemoveType(this System.Collections.Generic.IList list) where TMetadataDetailsProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.SystemTextJsonValidationMetadataProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SystemTextJsonValidationMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IDisplayMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider { public void CreateDisplayMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext context) => throw null; @@ -3658,7 +3289,6 @@ namespace Microsoft public SystemTextJsonValidationMetadataProvider(System.Text.Json.JsonNamingPolicy namingPolicy) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadata` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationMetadata { public bool? HasValidators { get => throw null; set => throw null; } @@ -3670,7 +3300,6 @@ namespace Microsoft public System.Collections.Generic.IList ValidatorMetadata { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationMetadataProviderContext { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -3685,14 +3314,12 @@ namespace Microsoft } namespace Validation { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorCache` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClientValidatorCache { public ClientValidatorCache() => throw null; public System.Collections.Generic.IReadOnlyList GetValidators(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider validatorProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.CompositeClientModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeClientModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider { public CompositeClientModelValidatorProvider(System.Collections.Generic.IEnumerable providers) => throw null; @@ -3700,7 +3327,6 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList ValidatorProviders { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.CompositeModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider { public CompositeModelValidatorProvider(System.Collections.Generic.IList providers) => throw null; @@ -3708,36 +3334,30 @@ namespace Microsoft public System.Collections.Generic.IList ValidatorProviders { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IMetadataBasedModelValidatorProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMetadataBasedModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider { bool HasValidators(System.Type modelType, System.Collections.Generic.IList validatorMetadata); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IObjectModelValidator { void Validate(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary validationState, string prefix, object model); } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelValidatorProviderExtensions { public static void RemoveType(this System.Collections.Generic.IList list, System.Type type) => throw null; public static void RemoveType(this System.Collections.Generic.IList list) where TModelValidatorProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidateNeverAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateNeverAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter { public bool ShouldValidateEntry(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry entry, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry parentEntry) => throw null; public ValidateNeverAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationVisitor { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor+StateManager` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` protected struct StateManager : System.IDisposable { public void Dispose() => throw null; @@ -3773,7 +3393,6 @@ namespace Microsoft protected virtual bool VisitSimpleType() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorCache` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidatorCache { public System.Collections.Generic.IReadOnlyList GetValidators(Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider validatorProvider) => throw null; @@ -3784,7 +3403,6 @@ namespace Microsoft } namespace Routing { - // Generated from `Microsoft.AspNetCore.Mvc.Routing.DynamicRouteValueTransformer` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class DynamicRouteValueTransformer { protected DynamicRouteValueTransformer() => throw null; @@ -3793,7 +3411,6 @@ namespace Microsoft public abstract System.Threading.Tasks.ValueTask TransformAsync(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary values); } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HttpMethodAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Routing.IActionHttpMethodProvider, Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider { public HttpMethodAttribute(System.Collections.Generic.IEnumerable httpMethods) => throw null; @@ -3805,13 +3422,11 @@ namespace Microsoft public string Template { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.IActionHttpMethodProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IActionHttpMethodProvider { System.Collections.Generic.IEnumerable HttpMethods { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteTemplateProvider { string Name { get; } @@ -3819,27 +3434,23 @@ namespace Microsoft string Template { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.IRouteValueProvider` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteValueProvider { string RouteKey { get; } string RouteValue { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUrlHelperFactory { Microsoft.AspNetCore.Mvc.IUrlHelper GetUrlHelper(Microsoft.AspNetCore.Mvc.ActionContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.KnownRouteValueConstraint` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KnownRouteValueConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint { public KnownRouteValueConstraint(Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider actionDescriptorCollectionProvider) => throw null; public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.RouteValueAttribute` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RouteValueAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Routing.IRouteValueProvider { public string RouteKey { get => throw null; } @@ -3847,7 +3458,6 @@ namespace Microsoft protected RouteValueAttribute(string routeKey, string routeValue) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlHelper` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlHelper : Microsoft.AspNetCore.Mvc.Routing.UrlHelperBase { public override string Action(Microsoft.AspNetCore.Mvc.Routing.UrlActionContext actionContext) => throw null; @@ -3859,7 +3469,6 @@ namespace Microsoft public UrlHelper(Microsoft.AspNetCore.Mvc.ActionContext actionContext) : base(default(Microsoft.AspNetCore.Mvc.ActionContext)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlHelperBase` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class UrlHelperBase : Microsoft.AspNetCore.Mvc.IUrlHelper { public abstract string Action(Microsoft.AspNetCore.Mvc.Routing.UrlActionContext actionContext); @@ -3875,7 +3484,6 @@ namespace Microsoft protected UrlHelperBase(Microsoft.AspNetCore.Mvc.ActionContext actionContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Routing.UrlHelperFactory` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlHelperFactory : Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory { public Microsoft.AspNetCore.Mvc.IUrlHelper GetUrlHelper(Microsoft.AspNetCore.Mvc.ActionContext context) => throw null; @@ -3885,7 +3493,6 @@ namespace Microsoft } namespace ViewFeatures { - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IKeepTempDataResult : Microsoft.AspNetCore.Mvc.IActionResult { } @@ -3894,7 +3501,6 @@ namespace Microsoft } namespace Routing { - // Generated from `Microsoft.AspNetCore.Routing.ControllerLinkGeneratorExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ControllerLinkGeneratorExtensions { public static string GetPathByAction(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string action = default(string), string controller = default(string), object values = default(object), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; @@ -3903,7 +3509,6 @@ namespace Microsoft public static string GetUriByAction(this Microsoft.AspNetCore.Routing.LinkGenerator generator, string action, string controller, object values, string scheme, Microsoft.AspNetCore.Http.HostString host, Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.PageLinkGeneratorExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class PageLinkGeneratorExtensions { public static string GetPathByPage(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string page = default(string), string handler = default(string), object values = default(object), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; @@ -3918,7 +3523,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ApplicationModelConventionExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ApplicationModelConventionExtensions { public static void Add(this System.Collections.Generic.IList conventions, Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention actionModelConvention) => throw null; @@ -3929,21 +3533,18 @@ namespace Microsoft public static void RemoveType(this System.Collections.Generic.IList list) where TApplicationModelConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.IMvcBuilder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMvcBuilder { Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager PartManager { get; } Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } } - // Generated from `Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMvcCoreBuilder { Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager PartManager { get; } Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcCoreMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcCoreMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddApplicationPart(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Reflection.Assembly assembly) => throw null; @@ -3956,7 +3557,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcBuilder SetCompatibilityVersion(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Microsoft.AspNetCore.Mvc.CompatibilityVersion version) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcCoreMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcCoreMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddApplicationPart(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, System.Reflection.Assembly assembly) => throw null; @@ -3972,7 +3572,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder SetCompatibilityVersion(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Microsoft.AspNetCore.Mvc.CompatibilityVersion version) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcCoreServiceCollectionExtensions` in `Microsoft.AspNetCore.Mvc.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcCoreServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddMvcCore(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Cors.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Cors.cs index bc39bdcbde9..d261e299d25 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Cors.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Cors.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Mvc.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Cors { - // Generated from `Microsoft.AspNetCore.Mvc.Cors.CorsAuthorizationFilter` in `Microsoft.AspNetCore.Mvc.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CorsAuthorizationFilter : Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public CorsAuthorizationFilter(Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider policyProvider) => throw null; @@ -18,7 +18,6 @@ namespace Microsoft public string PolicyName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Cors.ICorsAuthorizationFilter` in `Microsoft.AspNetCore.Mvc.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface ICorsAuthorizationFilter : Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { } @@ -30,7 +29,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcCorsMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Cors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcCorsMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddCors(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.DataAnnotations.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.DataAnnotations.cs index d8da8f5db98..a280c4ccc09 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.DataAnnotations.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.DataAnnotations.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Mvc { - // Generated from `Microsoft.AspNetCore.Mvc.HiddenInputAttribute` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HiddenInputAttribute : System.Attribute { public bool DisplayValue { get => throw null; set => throw null; } @@ -15,26 +15,22 @@ namespace Microsoft namespace DataAnnotations { - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase<>` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class AttributeAdapterBase : Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationAttributeAdapter, Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator where TAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public AttributeAdapterBase(TAttribute attribute, Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer) : base(default(TAttribute), default(Microsoft.Extensions.Localization.IStringLocalizer)) => throw null; public abstract string GetErrorMessage(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase validationContext); } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAttributeAdapter : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator { string GetErrorMessage(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase validationContext); } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValidationAttributeAdapterProvider { Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter GetAttributeAdapter(System.ComponentModel.DataAnnotations.ValidationAttribute attribute, Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer); } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MvcDataAnnotationsLocalizationOptions : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public System.Func DataAnnotationLocalizerProvider; @@ -43,7 +39,6 @@ namespace Microsoft public MvcDataAnnotationsLocalizationOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.RequiredAttributeAdapter` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequiredAttributeAdapter : Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase { public override void AddValidation(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context) => throw null; @@ -51,7 +46,6 @@ namespace Microsoft public RequiredAttributeAdapter(System.ComponentModel.DataAnnotations.RequiredAttribute attribute, Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer) : base(default(System.ComponentModel.DataAnnotations.RequiredAttribute), default(Microsoft.Extensions.Localization.IStringLocalizer)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationAttributeAdapter<>` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ValidationAttributeAdapter : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator where TAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public abstract void AddValidation(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context); @@ -61,14 +55,12 @@ namespace Microsoft public ValidationAttributeAdapter(TAttribute attribute, Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationAttributeAdapterProvider` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationAttributeAdapterProvider : Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider { public Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter GetAttributeAdapter(System.ComponentModel.DataAnnotations.ValidationAttribute attribute, Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer) => throw null; public ValidationAttributeAdapterProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationProviderAttribute` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ValidationProviderAttribute : System.Attribute { public abstract System.Collections.Generic.IEnumerable GetValidationAttributes(); @@ -82,14 +74,12 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcDataAnnotationsMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcDataAnnotationsMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddDataAnnotationsLocalization(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder) => throw null; public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddDataAnnotationsLocalization(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Action setupAction) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcDataAnnotationsMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcDataAnnotationsMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddDataAnnotations(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Formatters.Xml.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Formatters.Xml.cs index 59856ae70a2..3072a22a4da 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Formatters.Xml.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Formatters.Xml.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Formatters { - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerInputFormatter` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlDataContractSerializerInputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter, Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy { protected override bool CanReadType(System.Type type) => throw null; @@ -25,7 +25,6 @@ namespace Microsoft public System.Xml.XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlDataContractSerializerOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter { protected override bool CanWriteType(System.Type type) => throw null; @@ -44,7 +43,6 @@ namespace Microsoft public XmlDataContractSerializerOutputFormatter(System.Xml.XmlWriterSettings writerSettings, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerInputFormatter` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlSerializerInputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter, Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy { protected override bool CanReadType(System.Type type) => throw null; @@ -61,7 +59,6 @@ namespace Microsoft public XmlSerializerInputFormatter(Microsoft.AspNetCore.Mvc.MvcOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerOutputFormatter` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlSerializerOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter { protected override bool CanWriteType(System.Type type) => throw null; @@ -82,7 +79,6 @@ namespace Microsoft namespace Xml { - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerable<,>` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DelegatingEnumerable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public void Add(object item) => throw null; @@ -92,7 +88,6 @@ namespace Microsoft System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerator<,>` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DelegatingEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public TWrapped Current { get => throw null; } @@ -103,7 +98,6 @@ namespace Microsoft public void Reset() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.EnumerableWrapperProvider` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnumerableWrapperProvider : Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider { public EnumerableWrapperProvider(System.Type sourceEnumerableOfT, Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider elementWrapperProvider) => throw null; @@ -111,33 +105,28 @@ namespace Microsoft public System.Type WrappingType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.EnumerableWrapperProviderFactory` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnumerableWrapperProviderFactory : Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory { public EnumerableWrapperProviderFactory(System.Collections.Generic.IEnumerable wrapperProviderFactories) => throw null; public Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider GetProvider(Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUnwrappable { object Unwrap(System.Type declaredType); } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IWrapperProvider { object Wrap(object original); System.Type WrappingType { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IWrapperProviderFactory { Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider GetProvider(Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.MvcXmlOptions` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MvcXmlOptions : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null; @@ -145,7 +134,6 @@ namespace Microsoft public MvcXmlOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.ProblemDetailsWrapper` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProblemDetailsWrapper : Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable, System.Xml.Serialization.IXmlSerializable { protected static string EmptyKey; @@ -158,7 +146,6 @@ namespace Microsoft public virtual void WriteXml(System.Xml.XmlWriter writer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.SerializableErrorWrapper` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SerializableErrorWrapper : Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable, System.Xml.Serialization.IXmlSerializable { public System.Xml.Schema.XmlSchema GetSchema() => throw null; @@ -170,7 +157,6 @@ namespace Microsoft public void WriteXml(System.Xml.XmlWriter writer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.SerializableErrorWrapperProvider` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SerializableErrorWrapperProvider : Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider { public SerializableErrorWrapperProvider() => throw null; @@ -178,14 +164,12 @@ namespace Microsoft public System.Type WrappingType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.SerializableErrorWrapperProviderFactory` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SerializableErrorWrapperProviderFactory : Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory { public Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider GetProvider(Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext context) => throw null; public SerializableErrorWrapperProviderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.ValidationProblemDetailsWrapper` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationProblemDetailsWrapper : Microsoft.AspNetCore.Mvc.Formatters.Xml.ProblemDetailsWrapper, Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable { protected override void ReadValue(System.Xml.XmlReader reader, string name) => throw null; @@ -195,7 +179,6 @@ namespace Microsoft public override void WriteXml(System.Xml.XmlWriter writer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WrapperProviderContext { public System.Type DeclaredType { get => throw null; } @@ -203,7 +186,6 @@ namespace Microsoft public WrapperProviderContext(System.Type declaredType, bool isSerialization) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderFactoriesExtensions` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WrapperProviderFactoriesExtensions { public static Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider GetWrapperProvider(this System.Collections.Generic.IEnumerable wrapperProviderFactories, Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext wrapperProviderContext) => throw null; @@ -215,7 +197,6 @@ namespace Microsoft { namespace Metadata { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DataMemberRequiredBindingMetadataProvider` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataMemberRequiredBindingMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider { public void CreateBindingMetadata(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext context) => throw null; @@ -230,7 +211,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcXmlMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcXmlMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddXmlDataContractSerializerFormatters(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder) => throw null; @@ -240,7 +220,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddXmlSerializerFormatters(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Action setupAction) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcXmlMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcXmlMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddXmlDataContractSerializerFormatters(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Localization.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Localization.cs index ad0d60da2b7..2e1d41380f9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Localization.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Localization.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Localization { - // Generated from `Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlLocalizer : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer { public virtual System.Collections.Generic.IEnumerable GetAllStrings(bool includeParentCultures) => throw null; @@ -21,7 +21,6 @@ namespace Microsoft protected virtual Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString ToHtmlString(Microsoft.Extensions.Localization.LocalizedString result, object[] arguments) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer<>` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlLocalizer : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer, Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer { public virtual System.Collections.Generic.IEnumerable GetAllStrings(bool includeParentCultures) => throw null; @@ -32,7 +31,6 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString this[string name] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizerExtensions` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlLocalizerExtensions { public static System.Collections.Generic.IEnumerable GetAllStrings(this Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer htmlLocalizer) => throw null; @@ -40,7 +38,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString GetHtml(this Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer htmlLocalizer, string name, params object[] arguments) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizerFactory` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlLocalizerFactory : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory { public virtual Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer Create(System.Type resourceSource) => throw null; @@ -48,7 +45,6 @@ namespace Microsoft public HtmlLocalizerFactory(Microsoft.Extensions.Localization.IStringLocalizerFactory localizerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlLocalizer { System.Collections.Generic.IEnumerable GetAllStrings(bool includeParentCultures); @@ -58,24 +54,20 @@ namespace Microsoft Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString this[string name] { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer<>` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlLocalizer : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer { } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlLocalizerFactory { Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer Create(System.Type resourceSource); Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer Create(string baseName, string location); } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewLocalizer : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer { } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocalizedHtmlString : Microsoft.AspNetCore.Html.IHtmlContent { public bool IsResourceNotFound { get => throw null; } @@ -87,7 +79,6 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Localization.ViewLocalizer` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewLocalizer : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer, Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer, Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware { public void Contextualize(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext) => throw null; @@ -106,7 +97,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcLocalizationMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcLocalizationMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddMvcLocalization(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder) => throw null; @@ -123,7 +113,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddViewLocalization(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat format, System.Action setupAction) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcLocalizationMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcLocalizationMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddMvcLocalization(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Razor.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Razor.cs index c5c4c3a4929..eba7a1fa50f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Razor.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.Razor.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace ApplicationParts { - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.CompiledRazorAssemblyApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompiledRazorAssemblyApplicationPartFactory : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory { public CompiledRazorAssemblyApplicationPartFactory() => throw null; @@ -16,7 +16,6 @@ namespace Microsoft public static System.Collections.Generic.IEnumerable GetDefaultApplicationParts(System.Reflection.Assembly assembly) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.CompiledRazorAssemblyPart` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompiledRazorAssemblyPart : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart, Microsoft.AspNetCore.Mvc.ApplicationParts.IRazorCompiledItemProvider { public System.Reflection.Assembly Assembly { get => throw null; } @@ -25,14 +24,12 @@ namespace Microsoft public override string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.ConsolidatedAssemblyApplicationPartFactory` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsolidatedAssemblyApplicationPartFactory : Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory { public ConsolidatedAssemblyApplicationPartFactory() => throw null; public override System.Collections.Generic.IEnumerable GetApplicationParts(System.Reflection.Assembly assembly) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationParts.IRazorCompiledItemProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRazorCompiledItemProvider { System.Collections.Generic.IEnumerable CompiledItems { get; } @@ -41,7 +38,6 @@ namespace Microsoft } namespace Diagnostics { - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterViewPageEventData` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterViewPageEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -54,7 +50,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeViewPageEventData` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeViewPageEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -70,7 +65,6 @@ namespace Microsoft } namespace Razor { - // Generated from `Microsoft.AspNetCore.Mvc.Razor.HelperResult` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HelperResult : Microsoft.AspNetCore.Html.IHtmlContent { public HelperResult(System.Func asyncAction) => throw null; @@ -78,12 +72,10 @@ namespace Microsoft public virtual void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.IModelTypeProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IModelTypeProvider { } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.IRazorPage` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRazorPage { Microsoft.AspNetCore.Html.IHtmlContent BodyContent { get; set; } @@ -97,19 +89,16 @@ namespace Microsoft Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get; set; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRazorPageActivator { void Activate(Microsoft.AspNetCore.Mvc.Razor.IRazorPage page, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRazorPageFactoryProvider { Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult CreateFactory(string relativePath); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRazorViewEngine : Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine { Microsoft.AspNetCore.Mvc.Razor.RazorPageResult FindPage(Microsoft.AspNetCore.Mvc.ActionContext context, string pageName); @@ -117,32 +106,27 @@ namespace Microsoft Microsoft.AspNetCore.Mvc.Razor.RazorPageResult GetPage(string executingFilePath, string pagePath); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.ITagHelperActivator` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelperActivator { TTagHelper Create(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.ITagHelperFactory` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelperFactory { TTagHelper CreateTagHelper(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.ITagHelperInitializer<>` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelperInitializer where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper { void Initialize(TTagHelper helper, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewLocationExpander { System.Collections.Generic.IEnumerable ExpandViewLocations(Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context, System.Collections.Generic.IEnumerable viewLocations); void PopulateValues(Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpander` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LanguageViewLocationExpander : Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander { public virtual System.Collections.Generic.IEnumerable ExpandViewLocations(Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context, System.Collections.Generic.IEnumerable viewLocations) => throw null; @@ -151,14 +135,12 @@ namespace Microsoft public void PopulateValues(Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum LanguageViewLocationExpanderFormat : int { SubFolder = 0, Suffix = 1, } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPage` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RazorPage : Microsoft.AspNetCore.Mvc.Razor.RazorPageBase { public override void BeginContext(int position, int length, bool isLiteral) => throw null; @@ -177,7 +159,6 @@ namespace Microsoft public System.Threading.Tasks.Task RenderSectionAsync(string name, bool required) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPage<>` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RazorPage : Microsoft.AspNetCore.Mvc.Razor.RazorPage { public TModel Model { get => throw null; } @@ -185,14 +166,12 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPageActivator` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorPageActivator : Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator { public void Activate(Microsoft.AspNetCore.Mvc.Razor.IRazorPage page, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) => throw null; public RazorPageActivator(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory, Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper jsonHelper, System.Diagnostics.DiagnosticSource diagnosticSource, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider modelExpressionProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPageBase` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RazorPageBase : Microsoft.AspNetCore.Mvc.Razor.IRazorPage { public void AddHtmlAttributeValue(string prefix, int prefixOffset, object value, int valueOffset, int valueLength, bool isLiteral) => throw null; @@ -238,7 +217,6 @@ namespace Microsoft public virtual void WriteLiteral(string value) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RazorPageFactoryResult { public System.Func RazorPageFactory { get => throw null; } @@ -248,7 +226,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor ViewDescriptor { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorPageResult` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RazorPageResult { public string Name { get => throw null; } @@ -259,7 +236,6 @@ namespace Microsoft public System.Collections.Generic.IEnumerable SearchedLocations { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorView` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorView : Microsoft.AspNetCore.Mvc.ViewEngines.IView { public string Path { get => throw null; } @@ -269,7 +245,6 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList ViewStartPages { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorViewEngine : Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine, Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine { public Microsoft.AspNetCore.Mvc.Razor.RazorPageResult FindPage(Microsoft.AspNetCore.Mvc.ActionContext context, string pageName) => throw null; @@ -283,7 +258,6 @@ namespace Microsoft protected internal Microsoft.Extensions.Caching.Memory.IMemoryCache ViewLookupCache { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorViewEngineOptions { public System.Collections.Generic.IList AreaPageViewLocationFormats { get => throw null; } @@ -294,17 +268,14 @@ namespace Microsoft public System.Collections.Generic.IList ViewLocationFormats { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.RenderAsyncDelegate` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task RenderAsyncDelegate(); - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelperInitializer<>` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperInitializer : Microsoft.AspNetCore.Mvc.Razor.ITagHelperInitializer where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper { public void Initialize(TTagHelper helper, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) => throw null; public TagHelperInitializer(System.Action action) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewLocationExpanderContext { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -319,7 +290,6 @@ namespace Microsoft namespace Compilation { - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompiledViewDescriptor { public CompiledViewDescriptor() => throw null; @@ -332,19 +302,16 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute ViewAttribute { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewCompiler { System.Threading.Tasks.Task CompileAsync(string relativePath); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewCompilerProvider { Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler GetCompiler(); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorViewAttribute : System.Attribute { public string Path { get => throw null; } @@ -352,7 +319,6 @@ namespace Microsoft public System.Type ViewType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Compilation.ViewsFeature` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewsFeature { public System.Collections.Generic.IList ViewDescriptors { get => throw null; } @@ -362,7 +328,6 @@ namespace Microsoft } namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Infrastructure.TagHelperMemoryCacheProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperMemoryCacheProvider { public Microsoft.Extensions.Caching.Memory.IMemoryCache Cache { get => throw null; set => throw null; } @@ -372,7 +337,6 @@ namespace Microsoft } namespace Internal { - // Generated from `Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorInjectAttribute : System.Attribute { public RazorInjectAttribute() => throw null; @@ -381,31 +345,26 @@ namespace Microsoft } namespace TagHelpers { - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BodyTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperComponentTagHelper { public BodyTagHelper(Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager manager, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) : base(default(Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager), default(Microsoft.Extensions.Logging.ILoggerFactory)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HeadTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperComponentTagHelper { public HeadTagHelper(Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager manager, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) : base(default(Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager), default(Microsoft.Extensions.Logging.ILoggerFactory)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelperComponentManager { System.Collections.Generic.ICollection Components { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentPropertyActivator` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelperComponentPropertyActivator { void Activate(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context, Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent tagHelperComponent); } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperComponentTagHelper` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TagHelperComponentTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public override void Init(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context) => throw null; @@ -415,14 +374,12 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperFeature` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperFeature { public TagHelperFeature() => throw null; public System.Collections.Generic.IList TagHelpers { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperFeatureProvider` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider, Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider { protected virtual bool IncludePart(Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart part) => throw null; @@ -431,7 +388,6 @@ namespace Microsoft public TagHelperFeatureProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlResolutionTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { protected System.Text.Encodings.Web.HtmlEncoder HtmlEncoder { get => throw null; } @@ -453,7 +409,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcRazorMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcRazorMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddRazorOptions(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Action setupAction) => throw null; @@ -461,7 +416,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcBuilder InitializeTagHelper(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Action initialize) where TTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcRazorMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcRazorMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddRazorViewEngine(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.RazorPages.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.RazorPages.cs index 6c9671cc5ad..b1967712e1c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.RazorPages.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.RazorPages.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageActionEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { public void Add(System.Action convention) => throw null; public void Finally(System.Action finalConvention) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RazorPagesEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RazorPagesEndpointRouteBuilderExtensions { public static void MapDynamicPageRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern) where TTransformer : Microsoft.AspNetCore.Mvc.Routing.DynamicRouteValueTransformer => throw null; @@ -31,13 +30,11 @@ namespace Microsoft { namespace ApplicationModels { - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageApplicationModelConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel model); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelPartsProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageApplicationModelPartsProvider { Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel CreateHandlerModel(System.Reflection.MethodInfo method); @@ -46,7 +43,6 @@ namespace Microsoft bool IsHandler(System.Reflection.MethodInfo methodInfo); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageApplicationModelProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext context); @@ -54,24 +50,20 @@ namespace Microsoft int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageConvention { } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageHandlerModelConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageHandlerModelConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel model); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageRouteModelConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel model); } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageRouteModelProvider { void OnProvidersExecuted(Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext context); @@ -79,7 +71,6 @@ namespace Microsoft int Order { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageApplicationModel { public Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor ActionDescriptor { get => throw null; } @@ -102,7 +93,6 @@ namespace Microsoft public string ViewEnginePath { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageApplicationModelProviderContext { public Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor ActionDescriptor { get => throw null; } @@ -111,7 +101,6 @@ namespace Microsoft public System.Reflection.TypeInfo PageType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageConventionCollection : System.Collections.ObjectModel.Collection { public Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelConvention AddAreaFolderApplicationModelConvention(string areaName, string folderPath, System.Action action) => throw null; @@ -128,7 +117,6 @@ namespace Microsoft public void RemoveType() where TPageConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageHandlerModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public System.Collections.Generic.IReadOnlyList Attributes { get => throw null; } @@ -144,7 +132,6 @@ namespace Microsoft public System.Collections.Generic.IDictionary Properties { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageParameterModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageParameterModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase, Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { public Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel Handler { get => throw null; set => throw null; } @@ -155,7 +142,6 @@ namespace Microsoft public string ParameterName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PagePropertyModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel { System.Reflection.MemberInfo Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel.MemberInfo { get => throw null; } @@ -166,7 +152,6 @@ namespace Microsoft public string PropertyName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteMetadata` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageRouteMetadata { public string PageRoute { get => throw null; } @@ -174,7 +159,6 @@ namespace Microsoft public string RouteTemplate { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageRouteModel { public string AreaName { get => throw null; } @@ -189,14 +173,12 @@ namespace Microsoft public string ViewEnginePath { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageRouteModelProviderContext { public PageRouteModelProviderContext() => throw null; public System.Collections.Generic.IList RouteModels { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteTransformerConvention` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageRouteTransformerConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention, Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelConvention { public void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel model) => throw null; @@ -207,7 +189,6 @@ namespace Microsoft } namespace Diagnostics { - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterHandlerMethodEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterHandlerMethodEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -221,7 +202,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerExecutedEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterPageFilterOnPageHandlerExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -233,7 +213,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerExecutingEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterPageFilterOnPageHandlerExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -245,7 +224,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerExecutionEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterPageFilterOnPageHandlerExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -257,7 +235,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerSelectedEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterPageFilterOnPageHandlerSelectedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -269,7 +246,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterPageFilterOnPageHandlerSelectionEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterPageFilterOnPageHandlerSelectionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -281,7 +257,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeHandlerMethodEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeHandlerMethodEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -294,7 +269,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerExecutedEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforePageFilterOnPageHandlerExecutedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -306,7 +280,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerExecutingEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforePageFilterOnPageHandlerExecutingEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -318,7 +291,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerExecutionEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforePageFilterOnPageHandlerExecutionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -330,7 +302,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerSelectedEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforePageFilterOnPageHandlerSelectedEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -342,7 +313,6 @@ namespace Microsoft protected override System.Collections.Generic.KeyValuePair this[int index] { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforePageFilterOnPageHandlerSelectionEventData` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforePageFilterOnPageHandlerSelectionEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -357,14 +327,12 @@ namespace Microsoft } namespace Filters { - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAsyncPageFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { System.Threading.Tasks.Task OnPageHandlerExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutionDelegate next); System.Threading.Tasks.Task OnPageHandlerSelectionAsync(Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.IPageFilter` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { void OnPageHandlerExecuted(Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext context); @@ -372,7 +340,6 @@ namespace Microsoft void OnPageHandlerSelected(Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageHandlerExecutedContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -386,7 +353,6 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageHandlerExecutingContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -397,10 +363,8 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutionDelegate` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate System.Threading.Tasks.Task PageHandlerExecutionDelegate(); - // Generated from `Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageHandlerSelectedContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext { public virtual Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; } @@ -412,7 +376,6 @@ namespace Microsoft } namespace RazorPages { - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompiledPageActionDescriptor : Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor { public CompiledPageActionDescriptor() => throw null; @@ -425,7 +388,6 @@ namespace Microsoft public System.Reflection.TypeInfo PageTypeInfo { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.IPageActivatorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageActivatorProvider { System.Func CreateActivator(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor); @@ -433,7 +395,6 @@ namespace Microsoft System.Action CreateReleaser(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageFactoryProvider { System.Func CreateAsyncPageDisposer(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor) => throw null; @@ -441,7 +402,6 @@ namespace Microsoft System.Func CreatePageFactory(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.IPageModelActivatorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageModelActivatorProvider { System.Func CreateActivator(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor); @@ -449,7 +409,6 @@ namespace Microsoft System.Action CreateReleaser(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.IPageModelFactoryProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageModelFactoryProvider { System.Func CreateAsyncModelDisposer(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor) => throw null; @@ -457,19 +416,16 @@ namespace Microsoft System.Func CreateModelFactory(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.NonHandlerAttribute` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NonHandlerAttribute : System.Attribute { public NonHandlerAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Page` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class Page : Microsoft.AspNetCore.Mvc.RazorPages.PageBase { protected Page() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageActionDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor { public string AreaName { get => throw null; set => throw null; } @@ -480,7 +436,6 @@ namespace Microsoft public string ViewEnginePath { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageBase` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PageBase : Microsoft.AspNetCore.Mvc.Razor.RazorPageBase { public virtual Microsoft.AspNetCore.Mvc.BadRequestResult BadRequest() => throw null; @@ -596,7 +551,6 @@ namespace Microsoft public override Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageContext` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageContext : Microsoft.AspNetCore.Mvc.ActionContext { public virtual Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor ActionDescriptor { get => throw null; set => throw null; } @@ -607,13 +561,11 @@ namespace Microsoft public virtual System.Collections.Generic.IList> ViewStartFactories { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageContextAttribute` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageContextAttribute : System.Attribute { public PageContextAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageModel` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PageModel : Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IPageFilter { public virtual Microsoft.AspNetCore.Mvc.BadRequestResult BadRequest() => throw null; @@ -736,7 +688,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.PageResult` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageResult : Microsoft.AspNetCore.Mvc.ActionResult { public string ContentType { get => throw null; set => throw null; } @@ -748,7 +699,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorPagesOptions : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection Conventions { get => throw null; set => throw null; } @@ -760,7 +710,6 @@ namespace Microsoft namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.CompiledPageActionDescriptorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompiledPageActionDescriptorProvider : Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider { public CompiledPageActionDescriptorProvider(System.Collections.Generic.IEnumerable pageRouteModelProviders, System.Collections.Generic.IEnumerable applicationModelProviders, Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager applicationPartManager, Microsoft.Extensions.Options.IOptions mvcOptions, Microsoft.Extensions.Options.IOptions pageOptions) => throw null; @@ -769,7 +718,6 @@ namespace Microsoft public int Order { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HandlerMethodDescriptor { public HandlerMethodDescriptor() => throw null; @@ -779,26 +727,22 @@ namespace Microsoft public System.Collections.Generic.IList Parameters { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerParameterDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HandlerParameterDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor, Microsoft.AspNetCore.Mvc.Infrastructure.IParameterInfoParameterDescriptor { public HandlerParameterDescriptor() => throw null; public System.Reflection.ParameterInfo ParameterInfo { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageHandlerMethodSelector { Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor Select(Microsoft.AspNetCore.Mvc.RazorPages.PageContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageLoader` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPageLoader { Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor Load(Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor actionDescriptor); } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionDescriptorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageActionDescriptorProvider : Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider { protected System.Collections.Generic.IList BuildModel() => throw null; @@ -808,7 +752,6 @@ namespace Microsoft public PageActionDescriptorProvider(System.Collections.Generic.IEnumerable pageRouteModelProviders, Microsoft.Extensions.Options.IOptions mvcOptionsAccessor, Microsoft.Extensions.Options.IOptions pagesOptionsAccessor) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageBoundPropertyDescriptor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageBoundPropertyDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor, Microsoft.AspNetCore.Mvc.Infrastructure.IPropertyInfoParameterDescriptor { public PageBoundPropertyDescriptor() => throw null; @@ -816,7 +759,6 @@ namespace Microsoft System.Reflection.PropertyInfo Microsoft.AspNetCore.Mvc.Infrastructure.IPropertyInfoParameterDescriptor.PropertyInfo { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoader` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PageLoader : Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageLoader { Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageLoader.Load(Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor actionDescriptor) => throw null; @@ -825,20 +767,17 @@ namespace Microsoft protected PageLoader() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageModelAttribute` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageModelAttribute : System.Attribute { public PageModelAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.RazorPages.PageContext pageContext, Microsoft.AspNetCore.Mvc.RazorPages.PageResult result) => throw null; public PageResultExecutor(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine compositeViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine razorViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator razorPageActivator, System.Diagnostics.DiagnosticListener diagnosticListener, System.Text.Encodings.Web.HtmlEncoder htmlEncoder) : base(default(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory), default(Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine), default(System.Diagnostics.DiagnosticListener)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageViewLocationExpander` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageViewLocationExpander : Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander { public System.Collections.Generic.IEnumerable ExpandViewLocations(Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context, System.Collections.Generic.IEnumerable viewLocations) => throw null; @@ -846,7 +785,6 @@ namespace Microsoft public void PopulateValues(Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAdapter` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorPageAdapter : Microsoft.AspNetCore.Mvc.Razor.IRazorPage { public Microsoft.AspNetCore.Html.IHtmlContent BodyContent { get => throw null; set => throw null; } @@ -861,14 +799,12 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorPageAttribute : Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute { public RazorPageAttribute(string path, System.Type viewType, string routeTemplate) : base(default(string), default(System.Type)) => throw null; public string RouteTemplate { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ServiceBasedPageModelActivatorProvider` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceBasedPageModelActivatorProvider : Microsoft.AspNetCore.Mvc.RazorPages.IPageModelActivatorProvider { public System.Func CreateActivator(Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor) => throw null; @@ -884,7 +820,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcRazorPagesMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcRazorPagesMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddRazorPagesOptions(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Action setupAction) => throw null; @@ -892,7 +827,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcBuilder WithRazorPagesRoot(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, string rootDirectory) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcRazorPagesMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcRazorPagesMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddRazorPages(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; @@ -900,7 +834,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder WithRazorPagesRoot(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, string rootDirectory) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.PageConventionCollectionExtensions` in `Microsoft.AspNetCore.Mvc.RazorPages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class PageConventionCollectionExtensions { public static Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection Add(this Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection conventions, Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelBaseConvention convention) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.TagHelpers.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.TagHelpers.cs index bbdc42d88f0..1baf6c52f14 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.TagHelpers.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.TagHelpers.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Rendering { - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ValidationSummary : int { All = 2, @@ -19,7 +19,6 @@ namespace Microsoft } namespace TagHelpers { - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AnchorTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public string Action { get => throw null; set => throw null; } @@ -39,7 +38,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheTagHelper : Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperBase { public static string CacheKeyPrefix; @@ -49,7 +47,6 @@ namespace Microsoft public override System.Threading.Tasks.Task ProcessAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperBase` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class CacheTagHelperBase : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public CacheTagHelperBase(System.Text.Encodings.Web.HtmlEncoder htmlEncoder) => throw null; @@ -70,21 +67,18 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperMemoryCacheFactory` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheTagHelperMemoryCacheFactory { public Microsoft.Extensions.Caching.Memory.IMemoryCache Cache { get => throw null; } public CacheTagHelperMemoryCacheFactory(Microsoft.Extensions.Options.IOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperOptions` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheTagHelperOptions { public CacheTagHelperOptions() => throw null; public System.Int64 SizeLimit { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ComponentTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ComponentTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public ComponentTagHelper() => throw null; @@ -95,7 +89,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.DistributedCacheTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedCacheTagHelper : Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperBase { public static string CacheKeyPrefix; @@ -105,7 +98,6 @@ namespace Microsoft public override System.Threading.Tasks.Task ProcessAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.EnvironmentTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnvironmentTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public EnvironmentTagHelper(Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment) => throw null; @@ -117,7 +109,6 @@ namespace Microsoft public override void Process(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormActionTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public string Action { get => throw null; set => throw null; } @@ -135,7 +126,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public string Action { get => throw null; set => throw null; } @@ -155,7 +145,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.GlobbingUrlBuilder` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class GlobbingUrlBuilder { public virtual System.Collections.Generic.IReadOnlyList BuildUrlList(string staticUrl, string includePattern, string excludePattern) => throw null; @@ -165,7 +154,6 @@ namespace Microsoft public Microsoft.AspNetCore.Http.PathString RequestPathBase { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ImageTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ImageTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper { public bool AppendVersion { get => throw null; set => throw null; } @@ -178,7 +166,6 @@ namespace Microsoft public string Src { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InputTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression For { get => throw null; set => throw null; } @@ -194,7 +181,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LabelTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression For { get => throw null; set => throw null; } @@ -205,7 +191,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.LinkTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LinkTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper { public bool? AppendVersion { get => throw null; set => throw null; } @@ -228,7 +213,6 @@ namespace Microsoft public bool SuppressFallbackIntegrity { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { protected Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator Generator { get => throw null; } @@ -239,7 +223,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PartialTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public string FallbackName { get => throw null; set => throw null; } @@ -253,7 +236,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.PersistComponentStateTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PersistComponentStateTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public PersistComponentStateTagHelper() => throw null; @@ -262,14 +244,12 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.PersistenceMode` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum PersistenceMode : int { Server = 0, WebAssembly = 1, } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RenderAtEndOfFormTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public override void Init(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context) => throw null; @@ -279,7 +259,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ScriptTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ScriptTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper { public bool? AppendVersion { get => throw null; set => throw null; } @@ -300,7 +279,6 @@ namespace Microsoft public bool SuppressFallbackIntegrity { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.SelectTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SelectTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression For { get => throw null; set => throw null; } @@ -314,7 +292,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.TagHelperOutputExtensions` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class TagHelperOutputExtensions { public static void AddClass(this Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput tagHelperOutput, string classValue, System.Text.Encodings.Web.HtmlEncoder htmlEncoder) => throw null; @@ -324,7 +301,6 @@ namespace Microsoft public static void RemoveRange(this Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput tagHelperOutput, System.Collections.Generic.IEnumerable attributes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.TextAreaTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TextAreaTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression For { get => throw null; set => throw null; } @@ -336,7 +312,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationMessageTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression For { get => throw null; set => throw null; } @@ -347,7 +322,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidationSummaryTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper { protected Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator Generator { get => throw null; } @@ -360,7 +334,6 @@ namespace Microsoft namespace Cache { - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.CacheTagKey` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheTagKey : System.IEquatable { public CacheTagKey(Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelper tagHelper, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context) => throw null; @@ -372,7 +345,6 @@ namespace Microsoft public override int GetHashCode() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormatter` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedCacheTagHelperFormatter : Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter { public System.Threading.Tasks.Task DeserializeAsync(System.Byte[] value) => throw null; @@ -380,21 +352,18 @@ namespace Microsoft public System.Threading.Tasks.Task SerializeAsync(Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormattingContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormattingContext` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedCacheTagHelperFormattingContext { public DistributedCacheTagHelperFormattingContext() => throw null; public Microsoft.AspNetCore.Html.HtmlString Html { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperService` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedCacheTagHelperService : Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService { public DistributedCacheTagHelperService(Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage storage, Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter formatter, System.Text.Encodings.Web.HtmlEncoder HtmlEncoder, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; public System.Threading.Tasks.Task ProcessContentAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output, Microsoft.AspNetCore.Mvc.TagHelpers.Cache.CacheTagKey key, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperStorage` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedCacheTagHelperStorage : Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage { public DistributedCacheTagHelperStorage(Microsoft.Extensions.Caching.Distributed.IDistributedCache distributedCache) => throw null; @@ -402,20 +371,17 @@ namespace Microsoft public System.Threading.Tasks.Task SetAsync(string key, System.Byte[] value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDistributedCacheTagHelperFormatter { System.Threading.Tasks.Task DeserializeAsync(System.Byte[] value); System.Threading.Tasks.Task SerializeAsync(Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormattingContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDistributedCacheTagHelperService { System.Threading.Tasks.Task ProcessContentAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output, Microsoft.AspNetCore.Mvc.TagHelpers.Cache.CacheTagKey key, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options); } - // Generated from `Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDistributedCacheTagHelperStorage { System.Threading.Tasks.Task GetAsync(string key); @@ -430,7 +396,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.TagHelperServicesExtensions` in `Microsoft.AspNetCore.Mvc.TagHelpers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class TagHelperServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddCacheTagHelper(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ViewFeatures.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ViewFeatures.cs index bccd72cec6d..11c24558c6e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ViewFeatures.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.ViewFeatures.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Mvc { - // Generated from `Microsoft.AspNetCore.Mvc.AutoValidateAntiforgeryTokenAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AutoValidateAntiforgeryTokenAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public AutoValidateAntiforgeryTokenAttribute() => throw null; @@ -15,7 +15,6 @@ namespace Microsoft public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Controller` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class Controller : Microsoft.AspNetCore.Mvc.ControllerBase, Microsoft.AspNetCore.Mvc.Filters.IActionFilter, Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, System.IDisposable { protected Controller() => throw null; @@ -43,35 +42,30 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.CookieTempDataProviderOptions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieTempDataProviderOptions { public Microsoft.AspNetCore.Http.CookieBuilder Cookie { get => throw null; set => throw null; } public CookieTempDataProviderOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.IViewComponentHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentHelper { System.Threading.Tasks.Task InvokeAsync(System.Type componentType, object arguments); System.Threading.Tasks.Task InvokeAsync(string name, object arguments); } - // Generated from `Microsoft.AspNetCore.Mvc.IViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentResult { void Execute(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context); System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.IgnoreAntiforgeryTokenAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IgnoreAntiforgeryTokenAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter, Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy { public IgnoreAntiforgeryTokenAttribute() => throw null; public int Order { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.MvcViewOptions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MvcViewOptions : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public System.Collections.Generic.IList ClientModelValidatorProviders { get => throw null; } @@ -82,7 +76,6 @@ namespace Microsoft public System.Collections.Generic.IList ViewEngines { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.PageRemoteAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PageRemoteAttribute : Microsoft.AspNetCore.Mvc.RemoteAttributeBase { protected override string GetUrl(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context) => throw null; @@ -91,7 +84,6 @@ namespace Microsoft public PageRemoteAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.PartialViewResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PartialViewResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public string ContentType { get => throw null; set => throw null; } @@ -105,7 +97,6 @@ namespace Microsoft public string ViewName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RemoteAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RemoteAttribute : Microsoft.AspNetCore.Mvc.RemoteAttributeBase { protected override string GetUrl(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context) => throw null; @@ -116,7 +107,6 @@ namespace Microsoft protected string RouteName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.RemoteAttributeBase` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RemoteAttributeBase : System.ComponentModel.DataAnnotations.ValidationAttribute, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator { public virtual void AddValidation(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context) => throw null; @@ -131,7 +121,6 @@ namespace Microsoft protected Microsoft.AspNetCore.Routing.RouteValueDictionary RouteData { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.SkipStatusCodePagesAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SkipStatusCodePagesAttribute : System.Attribute, Microsoft.AspNetCore.Http.Metadata.ISkipStatusCodePagesMetadata, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IResourceFilter { public void OnResourceExecuted(Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context) => throw null; @@ -139,14 +128,12 @@ namespace Microsoft public SkipStatusCodePagesAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.TempDataAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TempDataAttribute : System.Attribute { public string Key { get => throw null; set => throw null; } public TempDataAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ValidateAntiForgeryTokenAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateAntiForgeryTokenAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider) => throw null; @@ -155,7 +142,6 @@ namespace Microsoft public ValidateAntiForgeryTokenAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponent` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ViewComponent { public Microsoft.AspNetCore.Mvc.ViewComponents.ContentViewComponentResult Content(string content) => throw null; @@ -179,14 +165,12 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine ViewEngine { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponentAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentAttribute : System.Attribute { public string Name { get => throw null; set => throw null; } public ViewComponentAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public object Arguments { get => throw null; set => throw null; } @@ -201,14 +185,12 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewDataAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewDataAttribute : System.Attribute { public string Key { get => throw null; set => throw null; } public ViewDataAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult { public string ContentType { get => throw null; set => throw null; } @@ -224,7 +206,6 @@ namespace Microsoft namespace Diagnostics { - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterViewComponentEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterViewComponentEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -237,7 +218,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.IViewComponentResult ViewComponentResult { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.AfterViewEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AfterViewEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public AfterViewEventData(Microsoft.AspNetCore.Mvc.ViewEngines.IView view, Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext) => throw null; @@ -248,7 +228,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeViewComponentEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeViewComponentEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -260,7 +239,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext ViewComponentContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.BeforeViewEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BeforeViewEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public BeforeViewEventData(Microsoft.AspNetCore.Mvc.ViewEngines.IView view, Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext) => throw null; @@ -271,7 +249,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.ViewComponentAfterViewExecuteEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentAfterViewExecuteEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -283,7 +260,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext ViewComponentContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.ViewComponentBeforeViewExecuteEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentBeforeViewExecuteEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor ActionDescriptor { get => throw null; } @@ -295,7 +271,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext ViewComponentContext { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.ViewFoundEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewFoundEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -309,7 +284,6 @@ namespace Microsoft public string ViewName { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Diagnostics.ViewNotFoundEventData` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewNotFoundEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData { public Microsoft.AspNetCore.Mvc.ActionContext ActionContext { get => throw null; } @@ -326,7 +300,6 @@ namespace Microsoft } namespace ModelBinding { - // Generated from `Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionaryExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelStateDictionaryExtensions { public static void AddModelError(this Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState, System.Linq.Expressions.Expression> expression, System.Exception exception, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata) => throw null; @@ -339,7 +312,6 @@ namespace Microsoft } namespace Rendering { - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.CheckBoxHiddenInputRenderMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum CheckBoxHiddenInputRenderMode : int { EndOfForm = 2, @@ -347,28 +319,24 @@ namespace Microsoft None = 0, } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.FormInputRenderMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum FormInputRenderMode : int { AlwaysUseCurrentCulture = 1, DetectCultureFromInputType = 0, } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.FormMethod` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum FormMethod : int { Get = 0, Post = 1, } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum Html5DateRenderingMode : int { CurrentCulture = 1, Rfc3339 = 0, } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperComponentExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperComponentExtensions { public static System.Threading.Tasks.Task RenderComponentAsync(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, System.Type componentType, Microsoft.AspNetCore.Mvc.Rendering.RenderMode renderMode, object parameters) => throw null; @@ -376,7 +344,6 @@ namespace Microsoft public static System.Threading.Tasks.Task RenderComponentAsync(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, Microsoft.AspNetCore.Mvc.Rendering.RenderMode renderMode, object parameters) where TComponent : Microsoft.AspNetCore.Components.IComponent => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperDisplayExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperDisplayExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent Display(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -397,14 +364,12 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent DisplayForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string templateName, string htmlFieldName, object additionalViewData) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperDisplayNameExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperDisplayNameExtensions { public static string DisplayNameFor(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper> htmlHelper, System.Linq.Expressions.Expression> expression) => throw null; public static string DisplayNameForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperEditorExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperEditorExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent Editor(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -425,7 +390,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent EditorForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string templateName, string htmlFieldName, object additionalViewData) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperFormExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperFormExtensions { public static Microsoft.AspNetCore.Mvc.Rendering.MvcForm BeginForm(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper) => throw null; @@ -449,7 +413,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Mvc.Rendering.MvcForm BeginRouteForm(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string routeName, object routeValues, Microsoft.AspNetCore.Mvc.Rendering.FormMethod method) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperInputExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperInputExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent CheckBox(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -481,7 +444,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent TextBoxFor(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, System.Linq.Expressions.Expression> expression, string format) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperLabelExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperLabelExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent Label(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -495,7 +457,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent LabelForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string labelText, object htmlAttributes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperLinkExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperLinkExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent ActionLink(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper helper, string linkText, string actionName) => throw null; @@ -511,14 +472,12 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent RouteLink(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string linkText, string routeName, object routeValues, object htmlAttributes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperNameExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperNameExtensions { public static string IdForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper) => throw null; public static string NameForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperPartialExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperPartialExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent Partial(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string partialViewName) => throw null; @@ -537,7 +496,6 @@ namespace Microsoft public static System.Threading.Tasks.Task RenderPartialAsync(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string partialViewName, object model) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperSelectExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperSelectExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent DropDownList(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -553,7 +511,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent ListBoxFor(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, System.Linq.Expressions.Expression> expression, System.Collections.Generic.IEnumerable selectList) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperValidationExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperValidationExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent ValidationMessage(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -576,7 +533,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Html.IHtmlContent ValidationSummary(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string message, string tag) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperValueExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HtmlHelperValueExtensions { public static string Value(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string expression) => throw null; @@ -585,7 +541,6 @@ namespace Microsoft public static string ValueForModel(this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, string format) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlHelper { Microsoft.AspNetCore.Html.IHtmlContent ActionLink(string linkText, string actionName, string controllerName, string protocol, string hostname, string fragment, object routeValues, object htmlAttributes); @@ -632,7 +587,6 @@ namespace Microsoft Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<>` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlHelper : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper { Microsoft.AspNetCore.Html.IHtmlContent CheckBoxFor(System.Linq.Expressions.Expression> expression, object htmlAttributes); @@ -660,13 +614,11 @@ namespace Microsoft Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJsonHelper { Microsoft.AspNetCore.Html.IHtmlContent Serialize(object value); } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.MultiSelectList` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MultiSelectList : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public string DataGroupField { get => throw null; } @@ -683,7 +635,6 @@ namespace Microsoft public System.Collections.IEnumerable SelectedValues { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.MvcForm` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MvcForm : System.IDisposable { public void Dispose() => throw null; @@ -692,7 +643,6 @@ namespace Microsoft public MvcForm(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, System.Text.Encodings.Web.HtmlEncoder htmlEncoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.RenderMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RenderMode : int { Server = 2, @@ -702,7 +652,6 @@ namespace Microsoft WebAssemblyPrerendered = 5, } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.SelectList` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SelectList : Microsoft.AspNetCore.Mvc.Rendering.MultiSelectList { public SelectList(System.Collections.IEnumerable items) : base(default(System.Collections.IEnumerable)) => throw null; @@ -713,7 +662,6 @@ namespace Microsoft public object SelectedValue { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.SelectListGroup` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SelectListGroup { public bool Disabled { get => throw null; set => throw null; } @@ -721,7 +669,6 @@ namespace Microsoft public SelectListGroup() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.SelectListItem` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SelectListItem { public bool Disabled { get => throw null; set => throw null; } @@ -735,7 +682,6 @@ namespace Microsoft public string Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.TagBuilder` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagBuilder : Microsoft.AspNetCore.Html.IHtmlContent { public void AddCssClass(string value) => throw null; @@ -759,7 +705,6 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.TagRenderMode` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum TagRenderMode : int { EndTag = 2, @@ -768,7 +713,6 @@ namespace Microsoft StartTag = 1, } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.ViewComponentHelperExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ViewComponentHelperExtensions { public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.Mvc.IViewComponentHelper helper, System.Type componentType) => throw null; @@ -777,7 +721,6 @@ namespace Microsoft public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.Mvc.IViewComponentHelper helper, object arguments) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.Rendering.ViewContext` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewContext : Microsoft.AspNetCore.Mvc.ActionContext { public Microsoft.AspNetCore.Mvc.Rendering.CheckBoxHiddenInputRenderMode CheckBoxHiddenInputRenderMode { get => throw null; set => throw null; } @@ -801,7 +744,6 @@ namespace Microsoft } namespace ViewComponents { - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ContentViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ContentViewComponentResult : Microsoft.AspNetCore.Mvc.IViewComponentResult { public string Content { get => throw null; } @@ -810,14 +752,12 @@ namespace Microsoft public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentDescriptorCollectionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultViewComponentDescriptorCollectionProvider : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider { public DefaultViewComponentDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorProvider descriptorProvider) => throw null; public Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection ViewComponents { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentDescriptorProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultViewComponentDescriptorProvider : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorProvider { public DefaultViewComponentDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager partManager) => throw null; @@ -825,7 +765,6 @@ namespace Microsoft public virtual System.Collections.Generic.IEnumerable GetViewComponents() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultViewComponentFactory : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory { public object CreateViewComponent(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context) => throw null; @@ -834,7 +773,6 @@ namespace Microsoft public System.Threading.Tasks.ValueTask ReleaseViewComponentAsync(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context, object component) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultViewComponentHelper : Microsoft.AspNetCore.Mvc.IViewComponentHelper, Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware { public void Contextualize(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext) => throw null; @@ -843,14 +781,12 @@ namespace Microsoft public System.Threading.Tasks.Task InvokeAsync(string name, object arguments) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentSelector` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultViewComponentSelector : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector { public DefaultViewComponentSelector(Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider descriptorProvider) => throw null; public Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor SelectComponent(string componentName) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.HtmlContentViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlContentViewComponentResult : Microsoft.AspNetCore.Mvc.IViewComponentResult { public Microsoft.AspNetCore.Html.IHtmlContent EncodedContent { get => throw null; } @@ -859,7 +795,6 @@ namespace Microsoft public HtmlContentViewComponentResult(Microsoft.AspNetCore.Html.IHtmlContent encodedContent) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentActivator { object Create(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context); @@ -867,19 +802,16 @@ namespace Microsoft System.Threading.Tasks.ValueTask ReleaseAsync(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context, object viewComponent) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentDescriptorCollectionProvider { Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection ViewComponents { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentDescriptorProvider { System.Collections.Generic.IEnumerable GetViewComponents(); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentFactory { object CreateViewComponent(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context); @@ -887,25 +819,21 @@ namespace Microsoft System.Threading.Tasks.ValueTask ReleaseViewComponentAsync(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context, object component) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentInvoker { System.Threading.Tasks.Task InvokeAsync(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentInvokerFactory { Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker CreateInstance(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewComponentSelector { Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor SelectComponent(string componentName); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ServiceBasedViewComponentActivator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceBasedViewComponentActivator : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator { public object Create(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context) => throw null; @@ -913,7 +841,6 @@ namespace Microsoft public ServiceBasedViewComponentActivator() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentContext { public System.Collections.Generic.IDictionary Arguments { get => throw null; set => throw null; } @@ -927,13 +854,11 @@ namespace Microsoft public System.IO.TextWriter Writer { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContextAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentContextAttribute : System.Attribute { public ViewComponentContextAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentConventions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ViewComponentConventions { public static string GetComponentFullName(System.Reflection.TypeInfo componentType) => throw null; @@ -942,7 +867,6 @@ namespace Microsoft public static string ViewComponentSuffix; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentDescriptor { public string DisplayName { get => throw null; set => throw null; } @@ -955,7 +879,6 @@ namespace Microsoft public ViewComponentDescriptor() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentDescriptorCollection { public System.Collections.Generic.IReadOnlyList Items { get => throw null; } @@ -963,21 +886,18 @@ namespace Microsoft public ViewComponentDescriptorCollection(System.Collections.Generic.IEnumerable items, int version) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeature` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentFeature { public ViewComponentFeature() => throw null; public System.Collections.Generic.IList ViewComponents { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeatureProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider, Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider { public void PopulateFeature(System.Collections.Generic.IEnumerable parts, Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeature feature) => throw null; public ViewComponentFeatureProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewViewComponentResult : Microsoft.AspNetCore.Mvc.IViewComponentResult { public void Execute(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context) => throw null; @@ -992,7 +912,6 @@ namespace Microsoft } namespace ViewEngines { - // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeViewEngine : Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine, Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine { public CompositeViewEngine(Microsoft.Extensions.Options.IOptions optionsAccessor) => throw null; @@ -1001,27 +920,23 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList ViewEngines { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICompositeViewEngine : Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine { System.Collections.Generic.IReadOnlyList ViewEngines { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.IView` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IView { string Path { get; } System.Threading.Tasks.Task RenderAsync(Microsoft.AspNetCore.Mvc.Rendering.ViewContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewEngine { Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult FindView(Microsoft.AspNetCore.Mvc.ActionContext context, string viewName, bool isMainPage); Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult GetView(string executingFilePath, string viewPath, bool isMainPage); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewEngineResult { public Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult EnsureSuccessful(System.Collections.Generic.IEnumerable originalLocations) => throw null; @@ -1036,16 +951,13 @@ namespace Microsoft } namespace ViewFeatures { - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.AntiforgeryExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class AntiforgeryExtensions { public static Microsoft.AspNetCore.Html.IHtmlContent GetHtml(this Microsoft.AspNetCore.Antiforgery.IAntiforgery antiforgery, Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AttributeDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.IEnumerable { - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary+Enumerator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -1080,7 +992,6 @@ namespace Microsoft System.Collections.Generic.IEnumerable System.Collections.Generic.IReadOnlyDictionary.Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieTempDataProvider : Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider { public static string CookieName; @@ -1089,7 +1000,6 @@ namespace Microsoft public void SaveTempData(Microsoft.AspNetCore.Http.HttpContext context, System.Collections.Generic.IDictionary values) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultHtmlGenerator : Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator { protected virtual void AddMaxLengthAttribute(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, Microsoft.AspNetCore.Mvc.Rendering.TagBuilder tagBuilder, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, string expression) => throw null; @@ -1127,21 +1037,18 @@ namespace Microsoft public string IdAttributeDotReplacement { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGeneratorExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DefaultHtmlGeneratorExtensions { public static Microsoft.AspNetCore.Mvc.Rendering.TagBuilder GenerateForm(this Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator generator, Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, string actionName, string controllerName, string fragment, object routeValues, string method, object htmlAttributes) => throw null; public static Microsoft.AspNetCore.Mvc.Rendering.TagBuilder GenerateRouteForm(this Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator generator, Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, string routeName, object routeValues, string fragment, string method, object htmlAttributes) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultValidationHtmlAttributeProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultValidationHtmlAttributeProvider : Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider { public override void AddValidationAttributes(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, System.Collections.Generic.IDictionary attributes) => throw null; public DefaultValidationHtmlAttributeProvider(Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorCache clientValidatorCache) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormContext { public bool CanRenderAtEndOfForm { get => throw null; set => throw null; } @@ -1155,7 +1062,6 @@ namespace Microsoft public void RenderedField(string fieldName, bool value) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlHelper : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper, Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware { public Microsoft.AspNetCore.Html.IHtmlContent ActionLink(string linkText, string actionName, string controllerName, string protocol, string hostname, string fragment, object routeValues, object htmlAttributes) => throw null; @@ -1236,7 +1142,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper<>` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlHelper : Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper, Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper, Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper { public Microsoft.AspNetCore.Html.IHtmlContent CheckBoxFor(System.Linq.Expressions.Expression> expression, object htmlAttributes) => throw null; @@ -1264,7 +1169,6 @@ namespace Microsoft public Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary ViewData { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelperOptions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlHelperOptions { public Microsoft.AspNetCore.Mvc.Rendering.CheckBoxHiddenInputRenderMode CheckBoxHiddenInputRenderMode { get => throw null; set => throw null; } @@ -1277,18 +1181,15 @@ namespace Microsoft public string ValidationSummaryMessageElement { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IAntiforgeryPolicy : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata { } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IFileVersionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFileVersionProvider { string AddFileVersionToPath(Microsoft.AspNetCore.Http.PathString requestPathBase, string path); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHtmlGenerator { string Encode(object value); @@ -1318,13 +1219,11 @@ namespace Microsoft string IdAttributeDotReplacement { get; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IModelExpressionProvider { Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression CreateModelExpression(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, System.Linq.Expressions.Expression> expression); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITempDataDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { void Keep(); @@ -1334,26 +1233,22 @@ namespace Microsoft void Save(); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITempDataDictionaryFactory { Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary GetTempData(Microsoft.AspNetCore.Http.HttpContext context); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITempDataProvider { System.Collections.Generic.IDictionary LoadTempData(Microsoft.AspNetCore.Http.HttpContext context); void SaveTempData(Microsoft.AspNetCore.Http.HttpContext context, System.Collections.Generic.IDictionary values); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewContextAware { void Contextualize(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.InputType` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum InputType : int { CheckBox = 0, @@ -1363,7 +1258,6 @@ namespace Microsoft Text = 4, } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelExplorer { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer Container { get => throw null; } @@ -1384,13 +1278,11 @@ namespace Microsoft public System.Collections.Generic.IEnumerable Properties { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorerExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelExplorerExtensions { public static string GetSimpleDisplayText(this Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelExpression { public Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata Metadata { get => throw null; } @@ -1400,7 +1292,6 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpressionProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ModelExpressionProvider : Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider { public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression CreateModelExpression(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, System.Linq.Expressions.Expression> expression) => throw null; @@ -1409,13 +1300,11 @@ namespace Microsoft public ModelExpressionProvider(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelMetadataProviderExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ModelMetadataProviderExtensions { public static Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer GetModelExplorerForType(this Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider provider, System.Type modelType, object model) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.PartialViewResultExecutor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PartialViewResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ViewEngines.IView view, Microsoft.AspNetCore.Mvc.PartialViewResult viewResult) => throw null; @@ -1425,7 +1314,6 @@ namespace Microsoft public PartialViewResultExecutor(Microsoft.Extensions.Options.IOptions viewOptions, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataFactory, System.Diagnostics.DiagnosticListener diagnosticListener, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider) : base(default(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory), default(Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine), default(System.Diagnostics.DiagnosticListener)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.SaveTempDataAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SaveTempDataAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter { public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance(System.IServiceProvider serviceProvider) => throw null; @@ -1434,7 +1322,6 @@ namespace Microsoft public SaveTempDataAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.SessionStateTempDataProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SessionStateTempDataProvider : Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider { public virtual System.Collections.Generic.IDictionary LoadTempData(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -1442,14 +1329,12 @@ namespace Microsoft public SessionStateTempDataProvider(Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer tempDataSerializer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.StringHtmlContent` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringHtmlContent : Microsoft.AspNetCore.Html.IHtmlContent { public StringHtmlContent(string input) => throw null; public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionary` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TempDataDictionary : Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary, System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair keyValuePair) => throw null; @@ -1477,14 +1362,12 @@ namespace Microsoft public System.Collections.Generic.ICollection Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionaryFactory` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TempDataDictionaryFactory : Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory { public Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary GetTempData(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public TempDataDictionaryFactory(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider provider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TemplateInfo` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TemplateInfo { public bool AddVisited(object value) => throw null; @@ -1497,16 +1380,13 @@ namespace Microsoft public bool Visited(Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TryGetValueDelegate` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate bool TryGetValueDelegate(object dictionary, string key, out object value); - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.TryGetValueProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class TryGetValueProvider { public static Microsoft.AspNetCore.Mvc.ViewFeatures.TryGetValueDelegate CreateInstance(System.Type targetType) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ValidationHtmlAttributeProvider { public virtual void AddAndTrackValidationAttributes(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, string expression, System.Collections.Generic.IDictionary attributes) => throw null; @@ -1514,20 +1394,17 @@ namespace Microsoft protected ValidationHtmlAttributeProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewComponentResultExecutor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewComponentResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public virtual System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.ViewComponentResult result) => throw null; public ViewComponentResultExecutor(Microsoft.Extensions.Options.IOptions mvcHelperOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataDictionaryFactory, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewContextAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewContextAttribute : System.Attribute { public ViewContextAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewDataDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { public void Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -1565,7 +1442,6 @@ namespace Microsoft protected ViewDataDictionary(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary source, object model, System.Type declaredModelType) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<>` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewDataDictionary : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary { public TModel Model { get => throw null; set => throw null; } @@ -1575,13 +1451,11 @@ namespace Microsoft public ViewDataDictionary(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary source, object model) : base(default(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider)) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryAttribute` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewDataDictionaryAttribute : System.Attribute { public ViewDataDictionaryAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryControllerPropertyActivator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewDataDictionaryControllerPropertyActivator { public void Activate(Microsoft.AspNetCore.Mvc.ControllerContext actionContext, object controller) => throw null; @@ -1589,14 +1463,12 @@ namespace Microsoft public ViewDataDictionaryControllerPropertyActivator(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataEvaluator` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ViewDataEvaluator { public static Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo Eval(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, string expression) => throw null; public static Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo Eval(object indexableObject, string expression) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewDataInfo { public object Container { get => throw null; } @@ -1607,7 +1479,6 @@ namespace Microsoft public ViewDataInfo(object container, object value) => throw null; } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewExecutor { public static string DefaultContentType; @@ -1623,7 +1494,6 @@ namespace Microsoft protected Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory WriterFactory { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ViewResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor { public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.ViewResult result) => throw null; @@ -1634,7 +1504,6 @@ namespace Microsoft namespace Buffers { - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.IViewBufferScope` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IViewBufferScope { System.IO.TextWriter CreateWriter(System.IO.TextWriter writer); @@ -1642,7 +1511,6 @@ namespace Microsoft void ReturnSegment(Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue[] segment); } - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ViewBufferValue { public object Value { get => throw null; } @@ -1654,7 +1522,6 @@ namespace Microsoft } namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TempDataSerializer { public virtual bool CanSerializeType(System.Type type) => throw null; @@ -1671,7 +1538,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcViewFeaturesMvcBuilderExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcViewFeaturesMvcBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddCookieTempDataProvider(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder) => throw null; @@ -1681,7 +1547,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddViewOptions(this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Action setupAction) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.MvcViewFeaturesMvcCoreBuilderExtensions` in `Microsoft.AspNetCore.Mvc.ViewFeatures, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcViewFeaturesMvcCoreBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddCookieTempDataProvider(this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.cs index 5a76a6a5524..d45ae8e2a0f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Mvc.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Mvc, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions` in `Microsoft.AspNetCore.Mvc, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MvcServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddControllers(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.OutputCaching.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.OutputCaching.cs index e34e8df959c..404c5e60f22 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.OutputCaching.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.OutputCaching.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.OutputCacheApplicationBuilderExtensions` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OutputCacheApplicationBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOutputCache(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -15,7 +15,6 @@ namespace Microsoft } namespace OutputCaching { - // Generated from `Microsoft.AspNetCore.OutputCaching.CacheVaryByRules` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheVaryByRules { public string CacheKeyPrefix { get => throw null; set => throw null; } @@ -27,13 +26,11 @@ namespace Microsoft public System.Collections.Generic.IDictionary VaryByValues { get => throw null; } } - // Generated from `Microsoft.AspNetCore.OutputCaching.IOutputCacheFeature` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOutputCacheFeature { Microsoft.AspNetCore.OutputCaching.OutputCacheContext Context { get; } } - // Generated from `Microsoft.AspNetCore.OutputCaching.IOutputCachePolicy` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOutputCachePolicy { System.Threading.Tasks.ValueTask CacheRequestAsync(Microsoft.AspNetCore.OutputCaching.OutputCacheContext context, System.Threading.CancellationToken cancellation); @@ -41,7 +38,6 @@ namespace Microsoft System.Threading.Tasks.ValueTask ServeResponseAsync(Microsoft.AspNetCore.OutputCaching.OutputCacheContext context, System.Threading.CancellationToken cancellation); } - // Generated from `Microsoft.AspNetCore.OutputCaching.IOutputCacheStore` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOutputCacheStore { System.Threading.Tasks.ValueTask EvictByTagAsync(string tag, System.Threading.CancellationToken cancellationToken); @@ -49,7 +45,6 @@ namespace Microsoft System.Threading.Tasks.ValueTask SetAsync(string key, System.Byte[] value, string[] tags, System.TimeSpan validFor, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.OutputCaching.OutputCacheAttribute` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OutputCacheAttribute : System.Attribute { public int Duration { get => throw null; set => throw null; } @@ -61,7 +56,6 @@ namespace Microsoft public string[] VaryByRouteValueNames { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.OutputCaching.OutputCacheContext` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OutputCacheContext { public bool AllowCacheLookup { get => throw null; set => throw null; } @@ -76,7 +70,6 @@ namespace Microsoft public System.Collections.Generic.HashSet Tags { get => throw null; } } - // Generated from `Microsoft.AspNetCore.OutputCaching.OutputCacheOptions` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OutputCacheOptions { public void AddBasePolicy(System.Action build) => throw null; @@ -93,7 +86,6 @@ namespace Microsoft public bool UseCaseSensitivePaths { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OutputCachePolicyBuilder { public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder AddPolicy(System.Type policyType) => throw null; @@ -126,7 +118,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.OutputCacheConventionBuilderExtensions` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OutputCacheConventionBuilderExtensions { public static TBuilder CacheOutput(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; @@ -136,7 +127,6 @@ namespace Microsoft public static TBuilder CacheOutput(this TBuilder builder, string policyName) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.OutputCacheServiceCollectionExtensions` in `Microsoft.AspNetCore.OutputCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OutputCacheServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddOutputCache(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RateLimiting.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RateLimiting.cs index ee3b30abecc..0bb4d3b987e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RateLimiting.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RateLimiting.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.RateLimiterApplicationBuilderExtensions` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RateLimiterApplicationBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRateLimiter(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRateLimiter(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.RateLimiting.RateLimiterOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RateLimiterEndpointConventionBuilderExtensions` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RateLimiterEndpointConventionBuilderExtensions { public static TBuilder DisableRateLimiting(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; @@ -21,7 +20,6 @@ namespace Microsoft public static TBuilder RequireRateLimiting(this TBuilder builder, string policyName) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RateLimiterServiceCollectionExtensions` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RateLimiterServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRateLimiter(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configureOptions) => throw null; @@ -30,27 +28,23 @@ namespace Microsoft } namespace RateLimiting { - // Generated from `Microsoft.AspNetCore.RateLimiting.DisableRateLimitingAttribute` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DisableRateLimitingAttribute : System.Attribute { public DisableRateLimitingAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.RateLimiting.EnableRateLimitingAttribute` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnableRateLimitingAttribute : System.Attribute { public EnableRateLimitingAttribute(string policyName) => throw null; public string PolicyName { get => throw null; } } - // Generated from `Microsoft.AspNetCore.RateLimiting.IRateLimiterPolicy<>` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRateLimiterPolicy { System.Threading.RateLimiting.RateLimitPartition GetPartition(Microsoft.AspNetCore.Http.HttpContext httpContext); System.Func OnRejected { get; } } - // Generated from `Microsoft.AspNetCore.RateLimiting.OnRejectedContext` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OnRejectedContext { public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; set => throw null; } @@ -58,7 +52,6 @@ namespace Microsoft public OnRejectedContext() => throw null; } - // Generated from `Microsoft.AspNetCore.RateLimiting.RateLimiterOptions` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RateLimiterOptions { public Microsoft.AspNetCore.RateLimiting.RateLimiterOptions AddPolicy(string policyName) where TPolicy : Microsoft.AspNetCore.RateLimiting.IRateLimiterPolicy => throw null; @@ -70,7 +63,6 @@ namespace Microsoft public int RejectionStatusCode { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.RateLimiting.RateLimiterOptionsExtensions` in `Microsoft.AspNetCore.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RateLimiterOptionsExtensions { public static Microsoft.AspNetCore.RateLimiting.RateLimiterOptions AddConcurrencyLimiter(this Microsoft.AspNetCore.RateLimiting.RateLimiterOptions options, string policyName, System.Action configureOptions) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.Runtime.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.Runtime.cs index 50b18187b22..fddb3de9a74 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.Runtime.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.Runtime.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Razor.Hosting.IRazorSourceChecksumMetadata` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRazorSourceChecksumMetadata { string Checksum { get; } @@ -16,7 +16,6 @@ namespace Microsoft string Identifier { get; } } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RazorCompiledItem { public abstract string Identifier { get; } @@ -26,7 +25,6 @@ namespace Microsoft public abstract System.Type Type { get; } } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorCompiledItemAttribute : System.Attribute { public string Identifier { get => throw null; } @@ -35,13 +33,11 @@ namespace Microsoft public System.Type Type { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemExtensions` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RazorCompiledItemExtensions { public static System.Collections.Generic.IReadOnlyList GetChecksumMetadata(this Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem item) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemLoader` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorCompiledItemLoader { protected virtual Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem CreateItem(Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute attribute) => throw null; @@ -50,7 +46,6 @@ namespace Microsoft public RazorCompiledItemLoader() => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorCompiledItemMetadataAttribute : System.Attribute { public string Key { get => throw null; } @@ -58,14 +53,12 @@ namespace Microsoft public string Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorConfigurationNameAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorConfigurationNameAttribute : System.Attribute { public string ConfigurationName { get => throw null; } public RazorConfigurationNameAttribute(string configurationName) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorExtensionAssemblyNameAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorExtensionAssemblyNameAttribute : System.Attribute { public string AssemblyName { get => throw null; } @@ -73,14 +66,12 @@ namespace Microsoft public RazorExtensionAssemblyNameAttribute(string extensionName, string assemblyName) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorLanguageVersionAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorLanguageVersionAttribute : System.Attribute { public string LanguageVersion { get => throw null; } public RazorLanguageVersionAttribute(string languageVersion) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RazorSourceChecksumAttribute : System.Attribute, Microsoft.AspNetCore.Razor.Hosting.IRazorSourceChecksumMetadata { public string Checksum { get => throw null; } @@ -94,7 +85,6 @@ namespace Microsoft { namespace TagHelpers { - // Generated from `Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperExecutionContext { public void Add(Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper tagHelper) => throw null; @@ -112,14 +102,12 @@ namespace Microsoft public System.Collections.Generic.IList TagHelpers { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperRunner { public System.Threading.Tasks.Task RunAsync(Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext executionContext) => throw null; public TagHelperRunner() => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager` in `Microsoft.AspNetCore.Razor.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperScopeManager { public Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext Begin(string tagName, Microsoft.AspNetCore.Razor.TagHelpers.TagMode tagMode, string uniqueId, System.Func executeChildContentAsync) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.cs index b6e2d235273..e0237fcaff4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Razor.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace TagHelpers { - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.DefaultTagHelperContent` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultTagHelperContent : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent { public override Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent Append(string unencoded) => throw null; @@ -26,7 +26,6 @@ namespace Microsoft public override void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNameAttribute` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlAttributeNameAttribute : System.Attribute { public string DictionaryAttributePrefix { get => throw null; set => throw null; } @@ -36,13 +35,11 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNotBoundAttribute` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlAttributeNotBoundAttribute : System.Attribute { public HtmlAttributeNotBoundAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HtmlAttributeValueStyle : int { DoubleQuotes = 0, @@ -51,7 +48,6 @@ namespace Microsoft SingleQuotes = 1, } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlTargetElementAttribute : System.Attribute { public string Attributes { get => throw null; set => throw null; } @@ -63,12 +59,10 @@ namespace Microsoft public Microsoft.AspNetCore.Razor.TagHelpers.TagStructure TagStructure { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent { } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITagHelperComponent { void Init(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context); @@ -76,7 +70,6 @@ namespace Microsoft System.Threading.Tasks.Task ProcessAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output); } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.NullHtmlEncoder` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullHtmlEncoder : System.Text.Encodings.Web.HtmlEncoder { public static Microsoft.AspNetCore.Razor.TagHelpers.NullHtmlEncoder Default { get => throw null; } @@ -89,14 +82,12 @@ namespace Microsoft public override bool WillEncode(int unicodeScalar) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.OutputElementHintAttribute` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OutputElementHintAttribute : System.Attribute { public string OutputElement { get => throw null; } public OutputElementHintAttribute(string outputElement) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ReadOnlyTagHelperAttributeList : System.Collections.ObjectModel.ReadOnlyCollection { public bool ContainsName(string name) => throw null; @@ -109,14 +100,12 @@ namespace Microsoft public bool TryGetAttributes(string name, out System.Collections.Generic.IReadOnlyList attributes) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.RestrictChildrenAttribute` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RestrictChildrenAttribute : System.Attribute { public System.Collections.Generic.IEnumerable ChildTags { get => throw null; } public RestrictChildrenAttribute(string childTag, params string[] childTags) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelper` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper, Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent { public virtual void Init(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context) => throw null; @@ -126,7 +115,6 @@ namespace Microsoft protected TagHelper() => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperAttribute : Microsoft.AspNetCore.Html.IHtmlContent, Microsoft.AspNetCore.Html.IHtmlContentContainer { public void CopyTo(Microsoft.AspNetCore.Html.IHtmlContentBuilder destination) => throw null; @@ -143,7 +131,6 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperAttributeList : Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList, System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.IEnumerable { public void Add(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute attribute) => throw null; @@ -162,7 +149,6 @@ namespace Microsoft public TagHelperAttributeList(System.Collections.Generic.List attributes) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperComponent` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TagHelperComponent : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent { public virtual void Init(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context) => throw null; @@ -172,7 +158,6 @@ namespace Microsoft protected TagHelperComponent() => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TagHelperContent : Microsoft.AspNetCore.Html.IHtmlContent, Microsoft.AspNetCore.Html.IHtmlContentBuilder, Microsoft.AspNetCore.Html.IHtmlContentContainer { public abstract Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent Append(string unencoded); @@ -199,7 +184,6 @@ namespace Microsoft public abstract void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder); } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperContext { public Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList AllAttributes { get => throw null; } @@ -212,7 +196,6 @@ namespace Microsoft public string UniqueId { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TagHelperOutput : Microsoft.AspNetCore.Html.IHtmlContent, Microsoft.AspNetCore.Html.IHtmlContentContainer { public Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList Attributes { get => throw null; } @@ -236,7 +219,6 @@ namespace Microsoft public void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagMode` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum TagMode : int { SelfClosing = 1, @@ -244,7 +226,6 @@ namespace Microsoft StartTagOnly = 2, } - // Generated from `Microsoft.AspNetCore.Razor.TagHelpers.TagStructure` in `Microsoft.AspNetCore.Razor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum TagStructure : int { NormalOrSelfClosing = 1, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RequestDecompression.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RequestDecompression.cs index 88dd483d31c..1d9dbeeaa9a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RequestDecompression.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.RequestDecompression.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.RequestDecompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.RequestDecompressionBuilderExtensions` in `Microsoft.AspNetCore.RequestDecompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestDecompressionBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRequestDecompression(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) => throw null; @@ -15,19 +15,16 @@ namespace Microsoft } namespace RequestDecompression { - // Generated from `Microsoft.AspNetCore.RequestDecompression.IDecompressionProvider` in `Microsoft.AspNetCore.RequestDecompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDecompressionProvider { System.IO.Stream GetDecompressionStream(System.IO.Stream stream); } - // Generated from `Microsoft.AspNetCore.RequestDecompression.IRequestDecompressionProvider` in `Microsoft.AspNetCore.RequestDecompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRequestDecompressionProvider { System.IO.Stream GetDecompressionStream(Microsoft.AspNetCore.Http.HttpContext context); } - // Generated from `Microsoft.AspNetCore.RequestDecompression.RequestDecompressionOptions` in `Microsoft.AspNetCore.RequestDecompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequestDecompressionOptions { public System.Collections.Generic.IDictionary DecompressionProviders { get => throw null; } @@ -40,7 +37,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.RequestDecompressionServiceExtensions` in `Microsoft.AspNetCore.RequestDecompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestDecompressionServiceExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestDecompression(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.Abstractions.cs index 3eed972c534..3221fa5aba7 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.ResponseCaching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace ResponseCaching { - // Generated from `Microsoft.AspNetCore.ResponseCaching.IResponseCachingFeature` in `Microsoft.AspNetCore.ResponseCaching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResponseCachingFeature { string[] VaryByQueryKeys { get; set; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.cs index c2e93cf20af..90b2a5cc97d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCaching.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.ResponseCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ResponseCachingExtensions` in `Microsoft.AspNetCore.ResponseCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ResponseCachingExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseResponseCaching(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -15,21 +15,18 @@ namespace Microsoft } namespace ResponseCaching { - // Generated from `Microsoft.AspNetCore.ResponseCaching.ResponseCachingFeature` in `Microsoft.AspNetCore.ResponseCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCachingFeature : Microsoft.AspNetCore.ResponseCaching.IResponseCachingFeature { public ResponseCachingFeature() => throw null; public string[] VaryByQueryKeys { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware` in `Microsoft.AspNetCore.ResponseCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCachingMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; public ResponseCachingMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.ObjectPool.ObjectPoolProvider poolProvider) => throw null; } - // Generated from `Microsoft.AspNetCore.ResponseCaching.ResponseCachingOptions` in `Microsoft.AspNetCore.ResponseCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCachingOptions { public System.Int64 MaximumBodySize { get => throw null; set => throw null; } @@ -44,7 +41,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ResponseCachingServicesExtensions` in `Microsoft.AspNetCore.ResponseCaching, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ResponseCachingServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddResponseCaching(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCompression.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCompression.cs index f92168e2b4d..3e1947b46f2 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCompression.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.ResponseCompression.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,13 +7,11 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ResponseCompressionBuilderExtensions` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ResponseCompressionBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseResponseCompression(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ResponseCompressionServicesExtensions` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ResponseCompressionServicesExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddResponseCompression(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -22,7 +21,6 @@ namespace Microsoft } namespace ResponseCompression { - // Generated from `Microsoft.AspNetCore.ResponseCompression.BrotliCompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BrotliCompressionProvider : Microsoft.AspNetCore.ResponseCompression.ICompressionProvider { public BrotliCompressionProvider(Microsoft.Extensions.Options.IOptions options) => throw null; @@ -31,7 +29,6 @@ namespace Microsoft public bool SupportsFlush { get => throw null; } } - // Generated from `Microsoft.AspNetCore.ResponseCompression.BrotliCompressionProviderOptions` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BrotliCompressionProviderOptions : Microsoft.Extensions.Options.IOptions { public BrotliCompressionProviderOptions() => throw null; @@ -39,7 +36,6 @@ namespace Microsoft Microsoft.AspNetCore.ResponseCompression.BrotliCompressionProviderOptions Microsoft.Extensions.Options.IOptions.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.ResponseCompression.CompressionProviderCollection` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompressionProviderCollection : System.Collections.ObjectModel.Collection { public void Add(System.Type providerType) => throw null; @@ -47,7 +43,6 @@ namespace Microsoft public CompressionProviderCollection() => throw null; } - // Generated from `Microsoft.AspNetCore.ResponseCompression.GzipCompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class GzipCompressionProvider : Microsoft.AspNetCore.ResponseCompression.ICompressionProvider { public System.IO.Stream CreateStream(System.IO.Stream outputStream) => throw null; @@ -56,7 +51,6 @@ namespace Microsoft public bool SupportsFlush { get => throw null; } } - // Generated from `Microsoft.AspNetCore.ResponseCompression.GzipCompressionProviderOptions` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class GzipCompressionProviderOptions : Microsoft.Extensions.Options.IOptions { public GzipCompressionProviderOptions() => throw null; @@ -64,7 +58,6 @@ namespace Microsoft Microsoft.AspNetCore.ResponseCompression.GzipCompressionProviderOptions Microsoft.Extensions.Options.IOptions.Value { get => throw null; } } - // Generated from `Microsoft.AspNetCore.ResponseCompression.ICompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICompressionProvider { System.IO.Stream CreateStream(System.IO.Stream outputStream); @@ -72,7 +65,6 @@ namespace Microsoft bool SupportsFlush { get; } } - // Generated from `Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResponseCompressionProvider { bool CheckRequestAcceptsCompression(Microsoft.AspNetCore.Http.HttpContext context); @@ -80,21 +72,18 @@ namespace Microsoft bool ShouldCompressResponse(Microsoft.AspNetCore.Http.HttpContext context); } - // Generated from `Microsoft.AspNetCore.ResponseCompression.ResponseCompressionDefaults` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCompressionDefaults { public static System.Collections.Generic.IEnumerable MimeTypes; public ResponseCompressionDefaults() => throw null; } - // Generated from `Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCompressionMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public ResponseCompressionMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider provider) => throw null; } - // Generated from `Microsoft.AspNetCore.ResponseCompression.ResponseCompressionOptions` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCompressionOptions { public bool EnableForHttps { get => throw null; set => throw null; } @@ -104,7 +93,6 @@ namespace Microsoft public ResponseCompressionOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.ResponseCompression.ResponseCompressionProvider` in `Microsoft.AspNetCore.ResponseCompression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResponseCompressionProvider : Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider { public bool CheckRequestAcceptsCompression(Microsoft.AspNetCore.Http.HttpContext context) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Rewrite.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Rewrite.cs index 88ae6325dcb..d5e6f4d527f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Rewrite.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Rewrite.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.RewriteBuilderExtensions` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RewriteBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRewriter(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -16,27 +16,23 @@ namespace Microsoft } namespace Rewrite { - // Generated from `Microsoft.AspNetCore.Rewrite.ApacheModRewriteOptionsExtensions` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ApacheModRewriteOptionsExtensions { public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddApacheModRewrite(this Microsoft.AspNetCore.Rewrite.RewriteOptions options, Microsoft.Extensions.FileProviders.IFileProvider fileProvider, string filePath) => throw null; public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddApacheModRewrite(this Microsoft.AspNetCore.Rewrite.RewriteOptions options, System.IO.TextReader reader) => throw null; } - // Generated from `Microsoft.AspNetCore.Rewrite.IISUrlRewriteOptionsExtensions` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class IISUrlRewriteOptionsExtensions { public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddIISUrlRewrite(this Microsoft.AspNetCore.Rewrite.RewriteOptions options, Microsoft.Extensions.FileProviders.IFileProvider fileProvider, string filePath, bool alwaysUseManagedServerVariables = default(bool)) => throw null; public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddIISUrlRewrite(this Microsoft.AspNetCore.Rewrite.RewriteOptions options, System.IO.TextReader reader, bool alwaysUseManagedServerVariables = default(bool)) => throw null; } - // Generated from `Microsoft.AspNetCore.Rewrite.IRule` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRule { void ApplyRule(Microsoft.AspNetCore.Rewrite.RewriteContext context); } - // Generated from `Microsoft.AspNetCore.Rewrite.RewriteContext` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RewriteContext { public Microsoft.AspNetCore.Http.HttpContext HttpContext { get => throw null; set => throw null; } @@ -46,14 +42,12 @@ namespace Microsoft public Microsoft.Extensions.FileProviders.IFileProvider StaticFileProvider { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Rewrite.RewriteMiddleware` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RewriteMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public RewriteMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Rewrite.RewriteOptions` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RewriteOptions { public RewriteOptions() => throw null; @@ -61,7 +55,6 @@ namespace Microsoft public Microsoft.Extensions.FileProviders.IFileProvider StaticFileProvider { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Rewrite.RewriteOptionsExtensions` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RewriteOptionsExtensions { public static Microsoft.AspNetCore.Rewrite.RewriteOptions Add(this Microsoft.AspNetCore.Rewrite.RewriteOptions options, System.Action applyRule) => throw null; @@ -87,7 +80,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddRewrite(this Microsoft.AspNetCore.Rewrite.RewriteOptions options, string regex, string replacement, bool skipRemainingRules) => throw null; } - // Generated from `Microsoft.AspNetCore.Rewrite.RuleResult` in `Microsoft.AspNetCore.Rewrite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RuleResult : int { ContinueRules = 0, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.Abstractions.cs index f73a4be3705..55aaed4c900 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,43 +7,36 @@ namespace Microsoft { namespace Routing { - // Generated from `Microsoft.AspNetCore.Routing.IOutboundParameterTransformer` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOutboundParameterTransformer : Microsoft.AspNetCore.Routing.IParameterPolicy { string TransformOutbound(object value); } - // Generated from `Microsoft.AspNetCore.Routing.IParameterPolicy` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IParameterPolicy { } - // Generated from `Microsoft.AspNetCore.Routing.IRouteConstraint` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy { bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection); } - // Generated from `Microsoft.AspNetCore.Routing.IRouteHandler` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteHandler { Microsoft.AspNetCore.Http.RequestDelegate GetRequestHandler(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteData routeData); } - // Generated from `Microsoft.AspNetCore.Routing.IRouter` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouter { Microsoft.AspNetCore.Routing.VirtualPathData GetVirtualPath(Microsoft.AspNetCore.Routing.VirtualPathContext context); System.Threading.Tasks.Task RouteAsync(Microsoft.AspNetCore.Routing.RouteContext context); } - // Generated from `Microsoft.AspNetCore.Routing.IRoutingFeature` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRoutingFeature { Microsoft.AspNetCore.Routing.RouteData RouteData { get; set; } } - // Generated from `Microsoft.AspNetCore.Routing.LinkGenerator` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class LinkGenerator { public abstract string GetPathByAddress(Microsoft.AspNetCore.Http.HttpContext httpContext, TAddress address, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteValueDictionary ambientValues = default(Microsoft.AspNetCore.Routing.RouteValueDictionary), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)); @@ -52,7 +46,6 @@ namespace Microsoft protected LinkGenerator() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.LinkOptions` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LinkOptions { public bool? AppendTrailingSlash { get => throw null; set => throw null; } @@ -61,7 +54,6 @@ namespace Microsoft public bool? LowercaseUrls { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteContext` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteContext { public Microsoft.AspNetCore.Http.RequestDelegate Handler { get => throw null; set => throw null; } @@ -70,10 +62,8 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteData RouteData { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteData` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteData { - // Generated from `Microsoft.AspNetCore.Routing.RouteData+RouteDataSnapshot` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct RouteDataSnapshot { public void Restore() => throw null; @@ -91,21 +81,18 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteValueDictionary Values { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteDirection` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RouteDirection : int { IncomingRequest = 0, UrlGeneration = 1, } - // Generated from `Microsoft.AspNetCore.Routing.RoutingHttpContextExtensions` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RoutingHttpContextExtensions { public static Microsoft.AspNetCore.Routing.RouteData GetRouteData(this Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; public static object GetRouteValue(this Microsoft.AspNetCore.Http.HttpContext httpContext, string key) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.VirtualPathContext` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class VirtualPathContext { public Microsoft.AspNetCore.Routing.RouteValueDictionary AmbientValues { get => throw null; } @@ -116,7 +103,6 @@ namespace Microsoft public VirtualPathContext(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary ambientValues, Microsoft.AspNetCore.Routing.RouteValueDictionary values, string routeName) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.VirtualPathData` in `Microsoft.AspNetCore.Routing.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class VirtualPathData { public Microsoft.AspNetCore.Routing.RouteValueDictionary DataTokens { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.cs index 5912d2c4016..4122a512cec 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Routing.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder Map(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, Microsoft.AspNetCore.Routing.Patterns.RoutePattern pattern, System.Delegate handler) => throw null; @@ -31,14 +31,12 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapPut(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.EndpointRoutingApplicationBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EndpointRoutingApplicationBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseEndpoints(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, System.Action configure) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRouting(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.FallbackEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class FallbackEndpointRouteBuilderExtensions { public static string DefaultPattern; @@ -46,7 +44,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallback(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.MapRouteRouteBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MapRouteRouteBuilderExtensions { public static Microsoft.AspNetCore.Routing.IRouteBuilder MapRoute(this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string template) => throw null; @@ -55,7 +52,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Routing.IRouteBuilder MapRoute(this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string template, object defaults, object constraints, object dataTokens) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RouteHandlerBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteHandlerBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { public void Add(System.Action convention) => throw null; @@ -63,21 +59,18 @@ namespace Microsoft public RouteHandlerBuilder(System.Collections.Generic.IEnumerable endpointConventionBuilders) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RouterMiddleware` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouterMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext httpContext) => throw null; public RouterMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Routing.IRouter router) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RoutingBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RoutingBuilderExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRouter(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, System.Action action) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRouter(this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, Microsoft.AspNetCore.Routing.IRouter router) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.RoutingEndpointConventionBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RoutingEndpointConventionBuilderExtensions { public static TBuilder RequireHost(this TBuilder builder, params string[] hosts) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; @@ -91,7 +84,6 @@ namespace Microsoft } namespace Http { - // Generated from `Microsoft.AspNetCore.Http.EndpointFilterExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EndpointFilterExtensions { public static TBuilder AddEndpointFilter(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder where TFilterType : Microsoft.AspNetCore.Http.IEndpointFilter => throw null; @@ -102,7 +94,6 @@ namespace Microsoft public static TBuilder AddEndpointFilterFactory(this TBuilder builder, System.Func filterFactory) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder => throw null; } - // Generated from `Microsoft.AspNetCore.Http.OpenApiRouteHandlerBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OpenApiRouteHandlerBuilderExtensions { public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder Accepts(this Microsoft.AspNetCore.Builder.RouteHandlerBuilder builder, System.Type requestType, bool isOptional, string contentType, params string[] additionalContentTypes) => throw null; @@ -124,7 +115,6 @@ namespace Microsoft } namespace Routing { - // Generated from `Microsoft.AspNetCore.Routing.CompositeEndpointDataSource` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeEndpointDataSource : Microsoft.AspNetCore.Routing.EndpointDataSource, System.IDisposable { public CompositeEndpointDataSource(System.Collections.Generic.IEnumerable endpointDataSources) => throw null; @@ -135,14 +125,12 @@ namespace Microsoft public override System.Collections.Generic.IReadOnlyList GetGroupedEndpoints(Microsoft.AspNetCore.Routing.RouteGroupContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.DataTokensMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataTokensMetadata : Microsoft.AspNetCore.Routing.IDataTokensMetadata { public System.Collections.Generic.IReadOnlyDictionary DataTokens { get => throw null; } public DataTokensMetadata(System.Collections.Generic.IReadOnlyDictionary dataTokens) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.DefaultEndpointDataSource` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultEndpointDataSource : Microsoft.AspNetCore.Routing.EndpointDataSource { public DefaultEndpointDataSource(System.Collections.Generic.IEnumerable endpoints) => throw null; @@ -151,14 +139,12 @@ namespace Microsoft public override Microsoft.Extensions.Primitives.IChangeToken GetChangeToken() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.DefaultInlineConstraintResolver` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultInlineConstraintResolver : Microsoft.AspNetCore.Routing.IInlineConstraintResolver { public DefaultInlineConstraintResolver(Microsoft.Extensions.Options.IOptions routeOptions, System.IServiceProvider serviceProvider) => throw null; public virtual Microsoft.AspNetCore.Routing.IRouteConstraint ResolveConstraint(string inlineConstraint) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.EndpointDataSource` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class EndpointDataSource { protected EndpointDataSource() => throw null; @@ -167,35 +153,30 @@ namespace Microsoft public virtual System.Collections.Generic.IReadOnlyList GetGroupedEndpoints(Microsoft.AspNetCore.Routing.RouteGroupContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.EndpointGroupNameAttribute` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointGroupNameAttribute : System.Attribute, Microsoft.AspNetCore.Routing.IEndpointGroupNameMetadata { public string EndpointGroupName { get => throw null; } public EndpointGroupNameAttribute(string endpointGroupName) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.EndpointNameAttribute` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointNameAttribute : System.Attribute, Microsoft.AspNetCore.Routing.IEndpointNameMetadata { public string EndpointName { get => throw null; } public EndpointNameAttribute(string endpointName) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.EndpointNameMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointNameMetadata : Microsoft.AspNetCore.Routing.IEndpointNameMetadata { public string EndpointName { get => throw null; } public EndpointNameMetadata(string endpointName) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.ExcludeFromDescriptionAttribute` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExcludeFromDescriptionAttribute : System.Attribute, Microsoft.AspNetCore.Routing.IExcludeFromDescriptionMetadata { public bool ExcludeFromDescription { get => throw null; } public ExcludeFromDescriptionAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.HostAttribute` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostAttribute : System.Attribute, Microsoft.AspNetCore.Routing.IHostMetadata { public HostAttribute(params string[] hosts) => throw null; @@ -203,7 +184,6 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList Hosts { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.HttpMethodMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpMethodMetadata : Microsoft.AspNetCore.Routing.IHttpMethodMetadata { public bool AcceptCorsPreflight { get => throw null; set => throw null; } @@ -212,37 +192,31 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyList HttpMethods { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.IDataTokensMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDataTokensMetadata { System.Collections.Generic.IReadOnlyDictionary DataTokens { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IDynamicEndpointMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDynamicEndpointMetadata { bool IsDynamic { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IEndpointAddressScheme<>` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointAddressScheme { System.Collections.Generic.IEnumerable FindEndpoints(TAddress address); } - // Generated from `Microsoft.AspNetCore.Routing.IEndpointGroupNameMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointGroupNameMetadata { string EndpointGroupName { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IEndpointNameMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointNameMetadata { string EndpointName { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IEndpointRouteBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointRouteBuilder { Microsoft.AspNetCore.Builder.IApplicationBuilder CreateApplicationBuilder(); @@ -250,38 +224,32 @@ namespace Microsoft System.IServiceProvider ServiceProvider { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IExcludeFromDescriptionMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IExcludeFromDescriptionMetadata { bool ExcludeFromDescription { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IHostMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostMetadata { System.Collections.Generic.IReadOnlyList Hosts { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IHttpMethodMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpMethodMetadata { bool AcceptCorsPreflight { get => throw null; set => throw null; } System.Collections.Generic.IReadOnlyList HttpMethods { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IInlineConstraintResolver` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IInlineConstraintResolver { Microsoft.AspNetCore.Routing.IRouteConstraint ResolveConstraint(string inlineConstraint); } - // Generated from `Microsoft.AspNetCore.Routing.INamedRouter` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface INamedRouter : Microsoft.AspNetCore.Routing.IRouter { string Name { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IRouteBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteBuilder { Microsoft.AspNetCore.Builder.IApplicationBuilder ApplicationBuilder { get; } @@ -291,37 +259,31 @@ namespace Microsoft System.IServiceProvider ServiceProvider { get; } } - // Generated from `Microsoft.AspNetCore.Routing.IRouteCollection` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteCollection : Microsoft.AspNetCore.Routing.IRouter { void Add(Microsoft.AspNetCore.Routing.IRouter router); } - // Generated from `Microsoft.AspNetCore.Routing.IRouteNameMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRouteNameMetadata { string RouteName { get; } } - // Generated from `Microsoft.AspNetCore.Routing.ISuppressLinkGenerationMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISuppressLinkGenerationMetadata { bool SuppressLinkGeneration { get; } } - // Generated from `Microsoft.AspNetCore.Routing.ISuppressMatchingMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISuppressMatchingMetadata { bool SuppressMatching { get; } } - // Generated from `Microsoft.AspNetCore.Routing.InlineRouteParameterParser` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class InlineRouteParameterParser { public static Microsoft.AspNetCore.Routing.Template.TemplatePart ParseRouteParameter(string routeParameter) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.LinkGeneratorEndpointNameAddressExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LinkGeneratorEndpointNameAddressExtensions { public static string GetPathByName(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string endpointName, Microsoft.AspNetCore.Routing.RouteValueDictionary values = default(Microsoft.AspNetCore.Routing.RouteValueDictionary), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; @@ -334,7 +296,6 @@ namespace Microsoft public static string GetUriByName(this Microsoft.AspNetCore.Routing.LinkGenerator generator, string endpointName, object values, string scheme, Microsoft.AspNetCore.Http.HostString host, Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.LinkGeneratorRouteValuesAddressExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LinkGeneratorRouteValuesAddressExtensions { public static string GetPathByRouteValues(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string routeName, Microsoft.AspNetCore.Routing.RouteValueDictionary values = default(Microsoft.AspNetCore.Routing.RouteValueDictionary), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; @@ -347,20 +308,17 @@ namespace Microsoft public static string GetUriByRouteValues(this Microsoft.AspNetCore.Routing.LinkGenerator generator, string routeName, object values, string scheme, Microsoft.AspNetCore.Http.HostString host, Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = default(Microsoft.AspNetCore.Routing.LinkOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.LinkParser` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class LinkParser { protected LinkParser() => throw null; public abstract Microsoft.AspNetCore.Routing.RouteValueDictionary ParsePathByAddress(TAddress address, Microsoft.AspNetCore.Http.PathString path); } - // Generated from `Microsoft.AspNetCore.Routing.LinkParserEndpointNameAddressExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LinkParserEndpointNameAddressExtensions { public static Microsoft.AspNetCore.Routing.RouteValueDictionary ParsePathByEndpointName(this Microsoft.AspNetCore.Routing.LinkParser parser, string endpointName, Microsoft.AspNetCore.Http.PathString path) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.MatcherPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class MatcherPolicy { protected static bool ContainsDynamicEndpoints(System.Collections.Generic.IReadOnlyList endpoints) => throw null; @@ -368,7 +326,6 @@ namespace Microsoft public abstract int Order { get; } } - // Generated from `Microsoft.AspNetCore.Routing.ParameterPolicyFactory` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ParameterPolicyFactory { public abstract Microsoft.AspNetCore.Routing.IParameterPolicy Create(Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart parameter, Microsoft.AspNetCore.Routing.IParameterPolicy parameterPolicy); @@ -377,7 +334,6 @@ namespace Microsoft protected ParameterPolicyFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RequestDelegateRouteBuilderExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RequestDelegateRouteBuilderExtensions { public static Microsoft.AspNetCore.Routing.IRouteBuilder MapDelete(this Microsoft.AspNetCore.Routing.IRouteBuilder builder, string template, System.Func handler) => throw null; @@ -399,7 +355,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Routing.IRouteBuilder MapVerb(this Microsoft.AspNetCore.Routing.IRouteBuilder builder, string verb, string template, Microsoft.AspNetCore.Http.RequestDelegate handler) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Route` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Route : Microsoft.AspNetCore.Routing.RouteBase { protected override System.Threading.Tasks.Task OnRouteMatched(Microsoft.AspNetCore.Routing.RouteContext context) => throw null; @@ -410,7 +365,6 @@ namespace Microsoft public string RouteTemplate { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteBase` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RouteBase : Microsoft.AspNetCore.Routing.INamedRouter, Microsoft.AspNetCore.Routing.IRouter { protected virtual Microsoft.AspNetCore.Routing.IInlineConstraintResolver ConstraintResolver { get => throw null; set => throw null; } @@ -429,7 +383,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteBuilder : Microsoft.AspNetCore.Routing.IRouteBuilder { public Microsoft.AspNetCore.Builder.IApplicationBuilder ApplicationBuilder { get => throw null; } @@ -441,7 +394,6 @@ namespace Microsoft public System.IServiceProvider ServiceProvider { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteCollection` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteCollection : Microsoft.AspNetCore.Routing.IRouteCollection, Microsoft.AspNetCore.Routing.IRouter { public void Add(Microsoft.AspNetCore.Routing.IRouter router) => throw null; @@ -452,7 +404,6 @@ namespace Microsoft public RouteCollection() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteConstraintBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteConstraintBuilder { public void AddConstraint(string key, object value) => throw null; @@ -462,20 +413,17 @@ namespace Microsoft public void SetOptional(string key) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteConstraintMatcher` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RouteConstraintMatcher { public static bool Match(System.Collections.Generic.IDictionary constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary routeValues, Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, Microsoft.AspNetCore.Routing.RouteDirection routeDirection, Microsoft.Extensions.Logging.ILogger logger) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteCreationException` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteCreationException : System.Exception { public RouteCreationException(string message) => throw null; public RouteCreationException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteEndpoint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteEndpoint : Microsoft.AspNetCore.Http.Endpoint { public int Order { get => throw null; } @@ -483,7 +431,6 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Patterns.RoutePattern RoutePattern { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteEndpointBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteEndpointBuilder : Microsoft.AspNetCore.Builder.EndpointBuilder { public override Microsoft.AspNetCore.Http.Endpoint Build() => throw null; @@ -492,7 +439,6 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Patterns.RoutePattern RoutePattern { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteGroupBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteGroupBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder, Microsoft.AspNetCore.Routing.IEndpointRouteBuilder { void Microsoft.AspNetCore.Builder.IEndpointConventionBuilder.Add(System.Action convention) => throw null; @@ -502,7 +448,6 @@ namespace Microsoft System.IServiceProvider Microsoft.AspNetCore.Routing.IEndpointRouteBuilder.ServiceProvider { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteGroupContext` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteGroupContext { public System.IServiceProvider ApplicationServices { get => throw null; set => throw null; } @@ -512,7 +457,6 @@ namespace Microsoft public RouteGroupContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteHandler` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteHandler : Microsoft.AspNetCore.Routing.IRouteHandler, Microsoft.AspNetCore.Routing.IRouter { public Microsoft.AspNetCore.Http.RequestDelegate GetRequestHandler(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteData routeData) => throw null; @@ -521,21 +465,18 @@ namespace Microsoft public RouteHandler(Microsoft.AspNetCore.Http.RequestDelegate requestDelegate) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteHandlerOptions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteHandlerOptions { public RouteHandlerOptions() => throw null; public bool ThrowOnBadRequest { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteNameMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteNameMetadata : Microsoft.AspNetCore.Routing.IRouteNameMetadata { public string RouteName { get => throw null; } public RouteNameMetadata(string routeName) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteOptions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteOptions { public bool AppendTrailingSlash { get => throw null; set => throw null; } @@ -548,7 +489,6 @@ namespace Microsoft public bool SuppressCheckForUnhandledSecurityMetadata { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.RouteValueEqualityComparer` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteValueEqualityComparer : System.Collections.Generic.IEqualityComparer { public static Microsoft.AspNetCore.Routing.RouteValueEqualityComparer Default; @@ -557,7 +497,6 @@ namespace Microsoft public RouteValueEqualityComparer() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RouteValuesAddress` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteValuesAddress { public Microsoft.AspNetCore.Routing.RouteValueDictionary AmbientValues { get => throw null; set => throw null; } @@ -567,21 +506,18 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.RoutingFeature` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutingFeature : Microsoft.AspNetCore.Routing.IRoutingFeature { public Microsoft.AspNetCore.Routing.RouteData RouteData { get => throw null; set => throw null; } public RoutingFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.SuppressLinkGenerationMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SuppressLinkGenerationMetadata : Microsoft.AspNetCore.Routing.ISuppressLinkGenerationMetadata { public bool SuppressLinkGeneration { get => throw null; } public SuppressLinkGenerationMetadata() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.SuppressMatchingMetadata` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SuppressMatchingMetadata : Microsoft.AspNetCore.Routing.ISuppressMatchingMetadata { public bool SuppressMatching { get => throw null; } @@ -590,13 +526,11 @@ namespace Microsoft namespace Constraints { - // Generated from `Microsoft.AspNetCore.Routing.Constraints.AlphaRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AlphaRouteConstraint : Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint { public AlphaRouteConstraint() : base(default(System.Text.RegularExpressions.Regex)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.BoolRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BoolRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public BoolRouteConstraint() => throw null; @@ -604,7 +538,6 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.CompositeRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public CompositeRouteConstraint(System.Collections.Generic.IEnumerable constraints) => throw null; @@ -613,7 +546,6 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.DateTimeRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DateTimeRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public DateTimeRouteConstraint() => throw null; @@ -621,7 +553,6 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.DecimalRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DecimalRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public DecimalRouteConstraint() => throw null; @@ -629,7 +560,6 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.DoubleRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DoubleRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public DoubleRouteConstraint() => throw null; @@ -637,7 +567,6 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.FileNameRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileNameRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public FileNameRouteConstraint() => throw null; @@ -645,7 +574,6 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.FloatRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FloatRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public FloatRouteConstraint() => throw null; @@ -653,7 +581,6 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.GuidRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class GuidRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public GuidRouteConstraint() => throw null; @@ -661,7 +588,6 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.HttpMethodRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpMethodRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint { public System.Collections.Generic.IList AllowedMethods { get => throw null; } @@ -669,7 +595,6 @@ namespace Microsoft public virtual bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.IntRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IntRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public IntRouteConstraint() => throw null; @@ -677,7 +602,6 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.LengthRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LengthRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public LengthRouteConstraint(int length) => throw null; @@ -688,7 +612,6 @@ namespace Microsoft public int MinLength { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.LongRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LongRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public LongRouteConstraint() => throw null; @@ -696,7 +619,6 @@ namespace Microsoft bool Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy.MatchesLiteral(string parameterName, string literal) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.MaxLengthRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MaxLengthRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -705,7 +627,6 @@ namespace Microsoft public MaxLengthRouteConstraint(int maxLength) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.MaxRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MaxRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -714,7 +635,6 @@ namespace Microsoft public MaxRouteConstraint(System.Int64 max) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.MinLengthRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MinLengthRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -723,7 +643,6 @@ namespace Microsoft public MinLengthRouteConstraint(int minLength) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.MinRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MinRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -732,7 +651,6 @@ namespace Microsoft public MinRouteConstraint(System.Int64 min) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.NonFileNameRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NonFileNameRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -740,7 +658,6 @@ namespace Microsoft public NonFileNameRouteConstraint() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.OptionalRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionalRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint { public Microsoft.AspNetCore.Routing.IRouteConstraint InnerConstraint { get => throw null; } @@ -748,7 +665,6 @@ namespace Microsoft public OptionalRouteConstraint(Microsoft.AspNetCore.Routing.IRouteConstraint innerConstraint) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.RangeRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RangeRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -758,13 +674,11 @@ namespace Microsoft public RangeRouteConstraint(System.Int64 min, System.Int64 max) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.RegexInlineRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RegexInlineRouteConstraint : Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint { public RegexInlineRouteConstraint(string regexPattern) : base(default(System.Text.RegularExpressions.Regex)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RegexRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public System.Text.RegularExpressions.Regex Constraint { get => throw null; } @@ -774,14 +688,12 @@ namespace Microsoft public RegexRouteConstraint(string regexPattern) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.RequiredRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RequiredRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; public RequiredRouteConstraint() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Constraints.StringRouteConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy, Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy { public bool Match(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection) => throw null; @@ -792,7 +704,6 @@ namespace Microsoft } namespace Internal { - // Generated from `Microsoft.AspNetCore.Routing.Internal.DfaGraphWriter` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DfaGraphWriter { public DfaGraphWriter(System.IServiceProvider services) => throw null; @@ -802,7 +713,6 @@ namespace Microsoft } namespace Matching { - // Generated from `Microsoft.AspNetCore.Routing.Matching.CandidateSet` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CandidateSet { public CandidateSet(Microsoft.AspNetCore.Http.Endpoint[] endpoints, Microsoft.AspNetCore.Routing.RouteValueDictionary[] values, int[] scores) => throw null; @@ -814,7 +724,6 @@ namespace Microsoft public void SetValidity(int index, bool value) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Matching.CandidateState` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct CandidateState { // Stub generator skipped constructor @@ -823,13 +732,11 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.RouteValueDictionary Values { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Matching.EndpointMetadataComparer` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointMetadataComparer : System.Collections.Generic.IComparer { int System.Collections.Generic.IComparer.Compare(Microsoft.AspNetCore.Http.Endpoint x, Microsoft.AspNetCore.Http.Endpoint y) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Matching.EndpointMetadataComparer<>` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class EndpointMetadataComparer : System.Collections.Generic.IComparer where TMetadata : class { public int Compare(Microsoft.AspNetCore.Http.Endpoint x, Microsoft.AspNetCore.Http.Endpoint y) => throw null; @@ -839,14 +746,12 @@ namespace Microsoft protected virtual TMetadata GetMetadata(Microsoft.AspNetCore.Http.Endpoint endpoint) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Matching.EndpointSelector` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class EndpointSelector { protected EndpointSelector() => throw null; public abstract System.Threading.Tasks.Task SelectAsync(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.Matching.CandidateSet candidates); } - // Generated from `Microsoft.AspNetCore.Routing.Matching.HostMatcherPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostMatcherPolicy : Microsoft.AspNetCore.Routing.MatcherPolicy, Microsoft.AspNetCore.Routing.Matching.IEndpointComparerPolicy, Microsoft.AspNetCore.Routing.Matching.IEndpointSelectorPolicy, Microsoft.AspNetCore.Routing.Matching.INodeBuilderPolicy { bool Microsoft.AspNetCore.Routing.Matching.IEndpointSelectorPolicy.AppliesToEndpoints(System.Collections.Generic.IReadOnlyList endpoints) => throw null; @@ -859,7 +764,6 @@ namespace Microsoft public override int Order { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Matching.HttpMethodMatcherPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpMethodMatcherPolicy : Microsoft.AspNetCore.Routing.MatcherPolicy, Microsoft.AspNetCore.Routing.Matching.IEndpointComparerPolicy, Microsoft.AspNetCore.Routing.Matching.IEndpointSelectorPolicy, Microsoft.AspNetCore.Routing.Matching.INodeBuilderPolicy { bool Microsoft.AspNetCore.Routing.Matching.IEndpointSelectorPolicy.AppliesToEndpoints(System.Collections.Generic.IReadOnlyList endpoints) => throw null; @@ -872,20 +776,17 @@ namespace Microsoft public override int Order { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Matching.IEndpointComparerPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointComparerPolicy { System.Collections.Generic.IComparer Comparer { get; } } - // Generated from `Microsoft.AspNetCore.Routing.Matching.IEndpointSelectorPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IEndpointSelectorPolicy { bool AppliesToEndpoints(System.Collections.Generic.IReadOnlyList endpoints); System.Threading.Tasks.Task ApplyAsync(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.Matching.CandidateSet candidates); } - // Generated from `Microsoft.AspNetCore.Routing.Matching.INodeBuilderPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface INodeBuilderPolicy { bool AppliesToEndpoints(System.Collections.Generic.IReadOnlyList endpoints); @@ -893,20 +794,17 @@ namespace Microsoft System.Collections.Generic.IReadOnlyList GetEdges(System.Collections.Generic.IReadOnlyList endpoints); } - // Generated from `Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IParameterLiteralNodeMatchingPolicy : Microsoft.AspNetCore.Routing.IParameterPolicy { bool MatchesLiteral(string parameterName, string literal); } - // Generated from `Microsoft.AspNetCore.Routing.Matching.PolicyJumpTable` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PolicyJumpTable { public abstract int GetDestination(Microsoft.AspNetCore.Http.HttpContext httpContext); protected PolicyJumpTable() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Matching.PolicyJumpTableEdge` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PolicyJumpTableEdge { public int Destination { get => throw null; } @@ -915,7 +813,6 @@ namespace Microsoft public object State { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Matching.PolicyNodeEdge` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PolicyNodeEdge { public System.Collections.Generic.IReadOnlyList Endpoints { get => throw null; } @@ -927,7 +824,6 @@ namespace Microsoft } namespace Patterns { - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePattern` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePattern { public System.Collections.Generic.IReadOnlyDictionary Defaults { get => throw null; } @@ -942,7 +838,6 @@ namespace Microsoft public System.Collections.Generic.IReadOnlyDictionary RequiredValues { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternException` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePatternException : System.Exception { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -950,7 +845,6 @@ namespace Microsoft public RoutePatternException(string pattern, string message) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternFactory` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RoutePatternFactory { public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Combine(Microsoft.AspNetCore.Routing.Patterns.RoutePattern left, Microsoft.AspNetCore.Routing.Patterns.RoutePattern right) => throw null; @@ -987,14 +881,12 @@ namespace Microsoft public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternSeparatorPart SeparatorPart(string content) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternLiteralPart` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePatternLiteralPart : Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart { public string Content { get => throw null; } internal RoutePatternLiteralPart(string content) : base(default(Microsoft.AspNetCore.Routing.Patterns.RoutePatternPartKind)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RoutePatternParameterKind : int { CatchAll = 2, @@ -1002,7 +894,6 @@ namespace Microsoft Standard = 0, } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePatternParameterPart : Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart { public object Default { get => throw null; } @@ -1016,14 +907,12 @@ namespace Microsoft internal RoutePatternParameterPart(string parameterName, object @default, Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind parameterKind, Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference[] parameterPolicies, bool encodeSlashes) : base(default(Microsoft.AspNetCore.Routing.Patterns.RoutePatternPartKind)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePatternParameterPolicyReference { public string Content { get => throw null; } public Microsoft.AspNetCore.Routing.IParameterPolicy ParameterPolicy { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RoutePatternPart { public bool IsLiteral { get => throw null; } @@ -1033,7 +922,6 @@ namespace Microsoft protected private RoutePatternPart(Microsoft.AspNetCore.Routing.Patterns.RoutePatternPartKind partKind) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternPartKind` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RoutePatternPartKind : int { Literal = 0, @@ -1041,21 +929,18 @@ namespace Microsoft Separator = 2, } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePatternPathSegment { public bool IsSimple { get => throw null; } public System.Collections.Generic.IReadOnlyList Parts { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternSeparatorPart` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoutePatternSeparatorPart : Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart { public string Content { get => throw null; } internal RoutePatternSeparatorPart(string content) : base(default(Microsoft.AspNetCore.Routing.Patterns.RoutePatternPartKind)) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Patterns.RoutePatternTransformer` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RoutePatternTransformer { protected RoutePatternTransformer() => throw null; @@ -1066,7 +951,6 @@ namespace Microsoft } namespace Template { - // Generated from `Microsoft.AspNetCore.Routing.Template.InlineConstraint` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InlineConstraint { public string Constraint { get => throw null; } @@ -1074,14 +958,12 @@ namespace Microsoft public InlineConstraint(string constraint) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.RoutePrecedence` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RoutePrecedence { public static System.Decimal ComputeInbound(Microsoft.AspNetCore.Routing.Template.RouteTemplate template) => throw null; public static System.Decimal ComputeOutbound(Microsoft.AspNetCore.Routing.Template.RouteTemplate template) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.RouteTemplate` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RouteTemplate { public Microsoft.AspNetCore.Routing.Template.TemplatePart GetParameter(string name) => throw null; @@ -1094,7 +976,6 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Patterns.RoutePattern ToRoutePattern() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateBinder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TemplateBinder { public string BindValues(Microsoft.AspNetCore.Routing.RouteValueDictionary acceptedValues) => throw null; @@ -1103,7 +984,6 @@ namespace Microsoft public bool TryProcessConstraints(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary combinedValues, out string parameterName, out Microsoft.AspNetCore.Routing.IRouteConstraint constraint) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateBinderFactory` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TemplateBinderFactory { public abstract Microsoft.AspNetCore.Routing.Template.TemplateBinder Create(Microsoft.AspNetCore.Routing.Patterns.RoutePattern pattern); @@ -1111,7 +991,6 @@ namespace Microsoft protected TemplateBinderFactory() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateMatcher` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TemplateMatcher { public Microsoft.AspNetCore.Routing.RouteValueDictionary Defaults { get => throw null; } @@ -1120,13 +999,11 @@ namespace Microsoft public bool TryMatch(Microsoft.AspNetCore.Http.PathString path, Microsoft.AspNetCore.Routing.RouteValueDictionary values) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateParser` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class TemplateParser { public static Microsoft.AspNetCore.Routing.Template.RouteTemplate Parse(string routeTemplate) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplatePart` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TemplatePart { public static Microsoft.AspNetCore.Routing.Template.TemplatePart CreateLiteral(string text) => throw null; @@ -1145,7 +1022,6 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart ToRoutePatternPart() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateSegment` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TemplateSegment { public bool IsSimple { get => throw null; } @@ -1155,7 +1031,6 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment ToRoutePatternPathSegment() => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Template.TemplateValuesResult` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TemplateValuesResult { public Microsoft.AspNetCore.Routing.RouteValueDictionary AcceptedValues { get => throw null; set => throw null; } @@ -1166,7 +1041,6 @@ namespace Microsoft } namespace Tree { - // Generated from `Microsoft.AspNetCore.Routing.Tree.InboundMatch` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InboundMatch { public Microsoft.AspNetCore.Routing.Tree.InboundRouteEntry Entry { get => throw null; set => throw null; } @@ -1174,7 +1048,6 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Template.TemplateMatcher TemplateMatcher { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Tree.InboundRouteEntry` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InboundRouteEntry { public System.Collections.Generic.IDictionary Constraints { get => throw null; set => throw null; } @@ -1187,7 +1060,6 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Template.RouteTemplate RouteTemplate { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Tree.OutboundMatch` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OutboundMatch { public Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry Entry { get => throw null; set => throw null; } @@ -1195,7 +1067,6 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Template.TemplateBinder TemplateBinder { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OutboundRouteEntry { public System.Collections.Generic.IDictionary Constraints { get => throw null; set => throw null; } @@ -1210,7 +1081,6 @@ namespace Microsoft public Microsoft.AspNetCore.Routing.Template.RouteTemplate RouteTemplate { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Tree.TreeRouteBuilder` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TreeRouteBuilder { public Microsoft.AspNetCore.Routing.Tree.TreeRouter Build() => throw null; @@ -1222,7 +1092,6 @@ namespace Microsoft public System.Collections.Generic.IList OutboundEntries { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Tree.TreeRouter` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TreeRouter : Microsoft.AspNetCore.Routing.IRouter { public Microsoft.AspNetCore.Routing.VirtualPathData GetVirtualPath(Microsoft.AspNetCore.Routing.VirtualPathContext context) => throw null; @@ -1231,7 +1100,6 @@ namespace Microsoft public int Version { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlMatchingNode { public Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode CatchAlls { get => throw null; set => throw null; } @@ -1245,7 +1113,6 @@ namespace Microsoft public UrlMatchingNode(int length) => throw null; } - // Generated from `Microsoft.AspNetCore.Routing.Tree.UrlMatchingTree` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlMatchingTree { public int Order { get => throw null; } @@ -1260,7 +1127,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.RoutingServiceCollectionExtensions` in `Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class RoutingServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRouting(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.HttpSys.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.HttpSys.cs index d2c625642b4..d378a4e9985 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.HttpSys.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.HttpSys.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderHttpSysExtensions` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostBuilderHttpSysExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseHttpSys(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder) => throw null; @@ -18,7 +18,6 @@ namespace Microsoft { namespace HttpSys { - // Generated from `Microsoft.AspNetCore.Server.HttpSys.AuthenticationManager` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticationManager { public bool AllowAnonymous { get => throw null; set => throw null; } @@ -27,7 +26,6 @@ namespace Microsoft public Microsoft.AspNetCore.Server.HttpSys.AuthenticationSchemes Schemes { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.AuthenticationSchemes` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum AuthenticationSchemes : int { @@ -38,7 +36,6 @@ namespace Microsoft None = 0, } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.ClientCertificateMethod` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ClientCertificateMethod : int { AllowCertificate = 1, @@ -46,7 +43,6 @@ namespace Microsoft NoCertificate = 0, } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.DelegationRule` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DelegationRule : System.IDisposable { public void Dispose() => throw null; @@ -54,7 +50,6 @@ namespace Microsoft public string UrlPrefix { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.Http503VerbosityLevel` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum Http503VerbosityLevel : long { Basic = 0, @@ -62,19 +57,16 @@ namespace Microsoft Limited = 1, } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.HttpSysDefaults` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpSysDefaults { public const string AuthenticationScheme = default; } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.HttpSysException` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpSysException : System.ComponentModel.Win32Exception { public override int ErrorCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpSysOptions { public bool AllowSynchronousIO { get => throw null; set => throw null; } @@ -96,26 +88,22 @@ namespace Microsoft public bool UseLatin1RequestHeaders { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.IHttpSysRequestDelegationFeature` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpSysRequestDelegationFeature { bool CanDelegate { get; } void DelegateRequest(Microsoft.AspNetCore.Server.HttpSys.DelegationRule destination); } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.IHttpSysRequestInfoFeature` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpSysRequestInfoFeature { System.Collections.Generic.IReadOnlyDictionary> RequestInfo { get; } } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.IServerDelegationFeature` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServerDelegationFeature { Microsoft.AspNetCore.Server.HttpSys.DelegationRule CreateDelegationRule(string queueName, string urlPrefix); } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.RequestQueueMode` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum RequestQueueMode : int { Attach = 1, @@ -123,7 +111,6 @@ namespace Microsoft CreateOrAttach = 2, } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.TimeoutManager` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TimeoutManager { public System.TimeSpan DrainEntityBody { get => throw null; set => throw null; } @@ -134,7 +121,6 @@ namespace Microsoft public System.TimeSpan RequestQueue { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.UrlPrefix` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlPrefix { public static Microsoft.AspNetCore.Server.HttpSys.UrlPrefix Create(string prefix) => throw null; @@ -152,7 +138,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Server.HttpSys.UrlPrefixCollection` in `Microsoft.AspNetCore.Server.HttpSys, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlPrefixCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public void Add(Microsoft.AspNetCore.Server.HttpSys.UrlPrefix item) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IIS.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IIS.cs index 9e08e31dde3..55673f87da0 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IIS.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IIS.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.IISServerOptions` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISServerOptions { public bool AllowSynchronousIO { get => throw null; set => throw null; } @@ -20,7 +20,6 @@ namespace Microsoft } namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderIISExtensions` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.Server.IISIntegration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class WebHostBuilderIISExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseIIS(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder) => throw null; @@ -31,34 +30,29 @@ namespace Microsoft { namespace IIS { - // Generated from `Microsoft.AspNetCore.Server.IIS.BadHttpRequestException` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BadHttpRequestException : Microsoft.AspNetCore.Http.BadHttpRequestException { internal BadHttpRequestException(string message, int statusCode, Microsoft.AspNetCore.Server.IIS.RequestRejectionReason reason) : base(default(string)) => throw null; public int StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.IIS.HttpContextExtensions` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpContextExtensions { public static string GetIISServerVariable(this Microsoft.AspNetCore.Http.HttpContext context, string variableName) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.IIS.IISServerDefaults` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISServerDefaults { public const string AuthenticationScheme = default; public IISServerDefaults() => throw null; } - // Generated from `Microsoft.AspNetCore.Server.IIS.RequestRejectionReason` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal enum RequestRejectionReason : int { } namespace Core { - // Generated from `Microsoft.AspNetCore.Server.IIS.Core.IISServerAuthenticationHandler` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISServerAuthenticationHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler { public System.Threading.Tasks.Task AuthenticateAsync() => throw null; @@ -68,7 +62,6 @@ namespace Microsoft public System.Threading.Tasks.Task InitializeAsync(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.IIS.Core.ThrowingWasUpgradedWriteOnlyStream` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ThrowingWasUpgradedWriteOnlyStream : Microsoft.AspNetCore.Server.IIS.Core.WriteOnlyStream { public override void Flush() => throw null; @@ -79,7 +72,6 @@ namespace Microsoft public override System.Threading.Tasks.Task WriteAsync(System.Byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.IIS.Core.WriteOnlyStream` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class WriteOnlyStream : System.IO.Stream { public override bool CanRead { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IISIntegration.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IISIntegration.cs index 8dc081ff408..6ce7423ade8 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IISIntegration.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.IISIntegration.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Server.IISIntegration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.IISOptions` in `Microsoft.AspNetCore.Server.IISIntegration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISOptions { public string AuthenticationDisplayName { get => throw null; set => throw null; } @@ -18,7 +18,6 @@ namespace Microsoft } namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderIISExtensions` in `Microsoft.AspNetCore.Server.IIS, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.Server.IISIntegration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class WebHostBuilderIISExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseIISIntegration(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder) => throw null; @@ -29,7 +28,6 @@ namespace Microsoft { namespace IISIntegration { - // Generated from `Microsoft.AspNetCore.Server.IISIntegration.IISDefaults` in `Microsoft.AspNetCore.Server.IISIntegration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISDefaults { public const string AuthenticationScheme = default; @@ -38,14 +36,12 @@ namespace Microsoft public const string Ntlm = default; } - // Generated from `Microsoft.AspNetCore.Server.IISIntegration.IISHostingStartup` in `Microsoft.AspNetCore.Server.IISIntegration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISHostingStartup : Microsoft.AspNetCore.Hosting.IHostingStartup { public void Configure(Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) => throw null; public IISHostingStartup() => throw null; } - // Generated from `Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware` in `Microsoft.AspNetCore.Server.IISIntegration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IISMiddleware { public IISMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions options, string pairingToken, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider authentication, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Core.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Core.cs index 215a751d81e..f2d392840f8 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Core.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Core.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,21 +7,18 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.KestrelServerOptionsSystemdExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class KestrelServerOptionsSystemdExtensions { public static Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions UseSystemd(this Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions options) => throw null; public static Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions UseSystemd(this Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions options, System.Action configure) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.ListenOptionsConnectionLoggingExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ListenOptionsConnectionLoggingExtensions { public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionLogging(this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions) => throw null; public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionLogging(this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, string loggerName) => throw null; } - // Generated from `Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ListenOptionsHttpsExtensions { public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps(this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions) => throw null; @@ -45,7 +43,6 @@ namespace Microsoft { namespace Kestrel { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.EndpointConfiguration` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EndpointConfiguration { public Microsoft.Extensions.Configuration.IConfigurationSection ConfigSection { get => throw null; } @@ -54,7 +51,6 @@ namespace Microsoft public Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions ListenOptions { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KestrelConfigurationLoader { public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader AnyIPEndpoint(int port) => throw null; @@ -77,7 +73,6 @@ namespace Microsoft namespace Core { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BadHttpRequestException : Microsoft.AspNetCore.Http.BadHttpRequestException { internal BadHttpRequestException(string message, int statusCode, Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.RequestRejectionReason reason) : base(default(string)) => throw null; @@ -85,7 +80,6 @@ namespace Microsoft public int StatusCode { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Http2Limits` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Http2Limits { public int HeaderTableSize { get => throw null; set => throw null; } @@ -99,14 +93,12 @@ namespace Microsoft public int MaxStreamsPerConnection { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Http3Limits` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Http3Limits { public Http3Limits() => throw null; public int MaxRequestHeaderFieldSize { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum HttpProtocols : int { @@ -118,7 +110,6 @@ namespace Microsoft None = 0, } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KestrelServer : Microsoft.AspNetCore.Hosting.Server.IServer, System.IDisposable { public void Dispose() => throw null; @@ -129,7 +120,6 @@ namespace Microsoft public System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerLimits` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KestrelServerLimits { public Microsoft.AspNetCore.Server.Kestrel.Core.Http2Limits Http2 { get => throw null; } @@ -149,7 +139,6 @@ namespace Microsoft public System.TimeSpan RequestHeadersTimeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KestrelServerOptions { public bool AddServerHeader { get => throw null; set => throw null; } @@ -185,7 +174,6 @@ namespace Microsoft public System.Func ResponseHeaderEncodingSelector { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ListenOptions : Microsoft.AspNetCore.Connections.IConnectionBuilder, Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder { public System.IServiceProvider ApplicationServices { get => throw null; } @@ -204,7 +192,6 @@ namespace Microsoft Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder.Use(System.Func middleware) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MinDataRate { public double BytesPerSecond { get => throw null; } @@ -215,7 +202,6 @@ namespace Microsoft namespace Features { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IConnectionTimeoutFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConnectionTimeoutFeature { void CancelTimeout(); @@ -223,31 +209,26 @@ namespace Microsoft void SetTimeout(System.TimeSpan timeSpan); } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IDecrementConcurrentConnectionCountFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDecrementConcurrentConnectionCountFeature { void ReleaseConnection(); } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttp2StreamIdFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttp2StreamIdFeature { int StreamId { get; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttpMinRequestBodyDataRateFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpMinRequestBodyDataRateFeature { Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate MinDataRate { get; set; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttpMinResponseDataRateFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpMinResponseDataRateFeature { Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate MinDataRate { get; set; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Features.ITlsApplicationProtocolFeature` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITlsApplicationProtocolFeature { System.ReadOnlyMemory ApplicationProtocol { get; } @@ -258,7 +239,6 @@ namespace Microsoft { namespace Http { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpMethod` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HttpMethod : byte { Connect = 7, @@ -274,7 +254,6 @@ namespace Microsoft Trace = 5, } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpParser<>` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpParser where TRequestHandler : Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpHeadersHandler, Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpRequestLineHandler { public HttpParser() => throw null; @@ -283,7 +262,6 @@ namespace Microsoft public bool ParseRequestLine(TRequestHandler handler, ref System.Buffers.SequenceReader reader) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpScheme` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HttpScheme : int { Http = 0, @@ -291,7 +269,6 @@ namespace Microsoft Unknown = -1, } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpVersion` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HttpVersion : sbyte { Http10 = 0, @@ -301,7 +278,6 @@ namespace Microsoft Unknown = -1, } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpVersionAndMethod` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct HttpVersionAndMethod { // Stub generator skipped constructor @@ -311,7 +287,6 @@ namespace Microsoft public Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpVersion Version { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpHeadersHandler` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpHeadersHandler { void OnHeader(System.ReadOnlySpan name, System.ReadOnlySpan value); @@ -320,23 +295,19 @@ namespace Microsoft void OnStaticIndexedHeader(int index, System.ReadOnlySpan value); } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpParser<>` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IHttpParser where TRequestHandler : Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpHeadersHandler, Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpRequestLineHandler { } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpRequestLineHandler` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpRequestLineHandler { void OnStartLine(Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpVersionAndMethod versionAndMethod, Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.TargetOffsetPathLength targetPath, System.Span startLine); } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.RequestRejectionReason` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal enum RequestRejectionReason : int { } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.TargetOffsetPathLength` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct TargetOffsetPathLength { public bool IsEncoded { get => throw null; } @@ -351,13 +322,11 @@ namespace Microsoft } namespace Https { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.CertificateLoader` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CertificateLoader { public static System.Security.Cryptography.X509Certificates.X509Certificate2 LoadFromStoreCert(string subject, string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, bool allowInvalid) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.ClientCertificateMode` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ClientCertificateMode : int { AllowCertificate = 1, @@ -366,7 +335,6 @@ namespace Microsoft RequireCertificate = 2, } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpsConnectionAdapterOptions { public void AllowAnyClientCertificate() => throw null; @@ -382,7 +350,6 @@ namespace Microsoft public System.Security.Authentication.SslProtocols SslProtocols { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.TlsHandshakeCallbackContext` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TlsHandshakeCallbackContext { public bool AllowDelayedClientCertificateNegotation { get => throw null; set => throw null; } @@ -394,7 +361,6 @@ namespace Microsoft public TlsHandshakeCallbackContext() => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Https.TlsHandshakeCallbackOptions` in `Microsoft.AspNetCore.Server.Kestrel.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TlsHandshakeCallbackOptions { public System.TimeSpan HandshakeTimeout { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.cs index cc577409651..d5561036f80 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderQuicExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostBuilderQuicExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseQuic(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder) => throw null; @@ -22,7 +22,6 @@ namespace Microsoft { namespace Quic { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.QuicTransportOptions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class QuicTransportOptions { public int Backlog { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.cs index 1ed269647d3..7ad604b14b3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderSocketExtensions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostBuilderSocketExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSockets(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder) => throw null; @@ -22,7 +22,6 @@ namespace Microsoft { namespace Sockets { - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionContextFactory` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SocketConnectionContextFactory : System.IDisposable { public Microsoft.AspNetCore.Connections.ConnectionContext Create(System.Net.Sockets.Socket socket) => throw null; @@ -30,7 +29,6 @@ namespace Microsoft public SocketConnectionContextFactory(Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionFactoryOptions options, Microsoft.Extensions.Logging.ILogger logger) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionFactoryOptions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SocketConnectionFactoryOptions { public int IOQueueCount { get => throw null; set => throw null; } @@ -41,14 +39,12 @@ namespace Microsoft public bool WaitForDataBeforeAllocatingBuffer { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SocketTransportFactory : Microsoft.AspNetCore.Connections.IConnectionListenerFactory { public System.Threading.Tasks.ValueTask BindAsync(System.Net.EndPoint endpoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; public SocketTransportFactory(Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions` in `Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SocketTransportOptions { public int Backlog { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.cs index 795529a9f78..c823cee8ba8 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Server.Kestrel.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Server.Kestrel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.AspNetCore.Hosting.WebHostBuilderKestrelExtensions` in `Microsoft.AspNetCore.Server.Kestrel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHostBuilderKestrelExtensions { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureKestrel(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, System.Action options) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Session.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Session.cs index e7b0f438346..28e8d10f164 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Session.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Session.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.SessionMiddlewareExtensions` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SessionMiddlewareExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseSession(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseSession(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.SessionOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.SessionOptions` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SessionOptions { public Microsoft.AspNetCore.Http.CookieBuilder Cookie { get => throw null; set => throw null; } @@ -25,7 +24,6 @@ namespace Microsoft } namespace Session { - // Generated from `Microsoft.AspNetCore.Session.DistributedSession` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedSession : Microsoft.AspNetCore.Http.ISession { public void Clear() => throw null; @@ -40,34 +38,29 @@ namespace Microsoft public bool TryGetValue(string key, out System.Byte[] value) => throw null; } - // Generated from `Microsoft.AspNetCore.Session.DistributedSessionStore` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedSessionStore : Microsoft.AspNetCore.Session.ISessionStore { public Microsoft.AspNetCore.Http.ISession Create(string sessionKey, System.TimeSpan idleTimeout, System.TimeSpan ioTimeout, System.Func tryEstablishSession, bool isNewSessionKey) => throw null; public DistributedSessionStore(Microsoft.Extensions.Caching.Distributed.IDistributedCache cache, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Session.ISessionStore` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISessionStore { Microsoft.AspNetCore.Http.ISession Create(string sessionKey, System.TimeSpan idleTimeout, System.TimeSpan ioTimeout, System.Func tryEstablishSession, bool isNewSessionKey); } - // Generated from `Microsoft.AspNetCore.Session.SessionDefaults` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SessionDefaults { public static string CookieName; public static string CookiePath; } - // Generated from `Microsoft.AspNetCore.Session.SessionFeature` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SessionFeature : Microsoft.AspNetCore.Http.Features.ISessionFeature { public Microsoft.AspNetCore.Http.ISession Session { get => throw null; set => throw null; } public SessionFeature() => throw null; } - // Generated from `Microsoft.AspNetCore.Session.SessionMiddleware` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SessionMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; @@ -80,7 +73,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.SessionServiceCollectionExtensions` in `Microsoft.AspNetCore.Session, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SessionServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddSession(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Common.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Common.cs index 50a8bbaccc1..3cd6eb28f50 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Common.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Common.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace SignalR { - // Generated from `Microsoft.AspNetCore.SignalR.HubException` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubException : System.Exception { public HubException() => throw null; @@ -15,7 +15,6 @@ namespace Microsoft public HubException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.IInvocationBinder` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IInvocationBinder { System.Collections.Generic.IReadOnlyList GetParameterTypes(string methodName); @@ -24,7 +23,6 @@ namespace Microsoft string GetTarget(System.ReadOnlySpan utf8Bytes) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.ISignalRBuilder` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISignalRBuilder { Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } @@ -32,13 +30,11 @@ namespace Microsoft namespace Protocol { - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.CancelInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CancelInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage { public CancelInvocationMessage(string invocationId) : base(default(string)) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.CloseMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CloseMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public bool AllowReconnect { get => throw null; } @@ -48,7 +44,6 @@ namespace Microsoft public string Error { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompletionMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage { public CompletionMessage(string invocationId, string error, object result, bool hasResult) : base(default(string)) => throw null; @@ -61,7 +56,6 @@ namespace Microsoft public static Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage WithResult(string invocationId, object payload) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HandshakeProtocol` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HandshakeProtocol { public static System.ReadOnlySpan GetSuccessfulHandshake(Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol protocol) => throw null; @@ -71,7 +65,6 @@ namespace Microsoft public static void WriteResponseMessage(Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage responseMessage, System.Buffers.IBufferWriter output) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HandshakeRequestMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HandshakeRequestMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public HandshakeRequestMessage(string protocol, int version) => throw null; @@ -79,7 +72,6 @@ namespace Microsoft public int Version { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HandshakeResponseMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public static Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage Empty; @@ -87,7 +79,6 @@ namespace Microsoft public HandshakeResponseMessage(string error) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HubInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public System.Collections.Generic.IDictionary Headers { get => throw null; set => throw null; } @@ -95,13 +86,11 @@ namespace Microsoft public string InvocationId { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HubMessage { protected HubMessage() => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HubMethodInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage { public object[] Arguments { get => throw null; } @@ -111,7 +100,6 @@ namespace Microsoft public string Target { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubProtocolConstants` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HubProtocolConstants { public const int CancelInvocationMessageType = default; @@ -123,13 +111,11 @@ namespace Microsoft public const int StreamItemMessageType = default; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubProtocolExtensions` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HubProtocolExtensions { public static System.Byte[] GetMessageBytes(this Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol hubProtocol, Microsoft.AspNetCore.SignalR.Protocol.HubMessage message) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubProtocol { System.ReadOnlyMemory GetMessageBytes(Microsoft.AspNetCore.SignalR.Protocol.HubMessage message); @@ -141,7 +127,6 @@ namespace Microsoft void WriteMessage(Microsoft.AspNetCore.SignalR.Protocol.HubMessage message, System.Buffers.IBufferWriter output); } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.InvocationBindingFailureMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InvocationBindingFailureMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage { public System.Runtime.ExceptionServices.ExceptionDispatchInfo BindingFailure { get => throw null; } @@ -149,7 +134,6 @@ namespace Microsoft public string Target { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage { public InvocationMessage(string target, object[] arguments) : base(default(string), default(string), default(object[])) => throw null; @@ -158,20 +142,17 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.PingMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PingMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public static Microsoft.AspNetCore.SignalR.Protocol.PingMessage Instance; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.RawResult` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RawResult { public RawResult(System.Buffers.ReadOnlySequence rawBytes) => throw null; public System.Buffers.ReadOnlySequence RawSerializedData { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.StreamBindingFailureMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StreamBindingFailureMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public System.Runtime.ExceptionServices.ExceptionDispatchInfo BindingFailure { get => throw null; } @@ -179,7 +160,6 @@ namespace Microsoft public StreamBindingFailureMessage(string id, System.Runtime.ExceptionServices.ExceptionDispatchInfo bindingFailure) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.StreamInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StreamInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage { public StreamInvocationMessage(string invocationId, string target, object[] arguments) : base(default(string), default(string), default(object[])) => throw null; @@ -187,7 +167,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.StreamItemMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StreamItemMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage { public object Item { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Core.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Core.cs index ce58ae1ef72..2858ce517d6 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Core.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Core.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace SignalR { - // Generated from `Microsoft.AspNetCore.SignalR.ClientProxyExtensions` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ClientProxyExtensions { public static System.Threading.Tasks.Task InvokeAsync(this Microsoft.AspNetCore.SignalR.ISingleClientProxy clientProxy, string method, System.Threading.CancellationToken cancellationToken) => throw null; @@ -33,7 +33,6 @@ namespace Microsoft public static System.Threading.Tasks.Task SendAsync(this Microsoft.AspNetCore.SignalR.IClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.DefaultHubLifetimeManager<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultHubLifetimeManager : Microsoft.AspNetCore.SignalR.HubLifetimeManager where THub : Microsoft.AspNetCore.SignalR.Hub { public override System.Threading.Tasks.Task AddToGroupAsync(string connectionId, string groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -55,21 +54,18 @@ namespace Microsoft public override bool TryGetReturnType(string invocationId, out System.Type type) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.DefaultUserIdProvider` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultUserIdProvider : Microsoft.AspNetCore.SignalR.IUserIdProvider { public DefaultUserIdProvider() => throw null; public virtual string GetUserId(Microsoft.AspNetCore.SignalR.HubConnectionContext connection) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.DynamicHub` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class DynamicHub : Microsoft.AspNetCore.SignalR.Hub { public Microsoft.AspNetCore.SignalR.DynamicHubClients Clients { get => throw null; set => throw null; } protected DynamicHub() => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.DynamicHubClients` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DynamicHubClients { public dynamic All { get => throw null; } @@ -87,7 +83,6 @@ namespace Microsoft public dynamic Users(System.Collections.Generic.IReadOnlyList userIds) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Hub` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class Hub : System.IDisposable { public Microsoft.AspNetCore.SignalR.IHubCallerClients Clients { get => throw null; set => throw null; } @@ -100,14 +95,12 @@ namespace Microsoft public virtual System.Threading.Tasks.Task OnDisconnectedAsync(System.Exception exception) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.Hub<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class Hub : Microsoft.AspNetCore.SignalR.Hub where T : class { public Microsoft.AspNetCore.SignalR.IHubCallerClients Clients { get => throw null; set => throw null; } protected Hub() => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubCallerContext` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HubCallerContext { public abstract void Abort(); @@ -120,7 +113,6 @@ namespace Microsoft public abstract string UserIdentifier { get; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubClientsExtensions` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HubClientsExtensions { public static T AllExcept(this Microsoft.AspNetCore.SignalR.IHubClients hubClients, System.Collections.Generic.IEnumerable excludedConnectionIds) => throw null; @@ -170,7 +162,6 @@ namespace Microsoft public static T Users(this Microsoft.AspNetCore.SignalR.IHubClients hubClients, string user1, string user2, string user3, string user4, string user5, string user6, string user7, string user8) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionContext` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubConnectionContext { public virtual void Abort() => throw null; @@ -186,7 +177,6 @@ namespace Microsoft public virtual System.Threading.Tasks.ValueTask WriteAsync(Microsoft.AspNetCore.SignalR.SerializedHubMessage message, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionContextOptions` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubConnectionContextOptions { public System.TimeSpan ClientTimeoutInterval { get => throw null; set => throw null; } @@ -197,17 +187,14 @@ namespace Microsoft public int StreamBufferCapacity { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionHandler<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubConnectionHandler : Microsoft.AspNetCore.Connections.ConnectionHandler where THub : Microsoft.AspNetCore.SignalR.Hub { public HubConnectionHandler(Microsoft.AspNetCore.SignalR.HubLifetimeManager lifetimeManager, Microsoft.AspNetCore.SignalR.IHubProtocolResolver protocolResolver, Microsoft.Extensions.Options.IOptions globalHubOptions, Microsoft.Extensions.Options.IOptions> hubOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.SignalR.IUserIdProvider userIdProvider, Microsoft.Extensions.DependencyInjection.IServiceScopeFactory serviceScopeFactory) => throw null; public override System.Threading.Tasks.Task OnConnectedAsync(Microsoft.AspNetCore.Connections.ConnectionContext connection) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionStore` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubConnectionStore { - // Generated from `Microsoft.AspNetCore.SignalR.HubConnectionStore+Enumerator` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public Microsoft.AspNetCore.SignalR.HubConnectionContext Current { get => throw null; } @@ -228,7 +215,6 @@ namespace Microsoft public void Remove(Microsoft.AspNetCore.SignalR.HubConnectionContext connection) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubInvocationContext` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubInvocationContext { public Microsoft.AspNetCore.SignalR.HubCallerContext Context { get => throw null; } @@ -240,7 +226,6 @@ namespace Microsoft public System.IServiceProvider ServiceProvider { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubLifetimeContext` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubLifetimeContext { public Microsoft.AspNetCore.SignalR.HubCallerContext Context { get => throw null; } @@ -249,7 +234,6 @@ namespace Microsoft public System.IServiceProvider ServiceProvider { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubLifetimeManager<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HubLifetimeManager where THub : Microsoft.AspNetCore.SignalR.Hub { public abstract System.Threading.Tasks.Task AddToGroupAsync(string connectionId, string groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -271,21 +255,18 @@ namespace Microsoft public virtual bool TryGetReturnType(string invocationId, out System.Type type) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubMetadata` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubMetadata { public HubMetadata(System.Type hubType) => throw null; public System.Type HubType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubMethodNameAttribute` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubMethodNameAttribute : System.Attribute { public HubMethodNameAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubOptions` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubOptions { public System.TimeSpan? ClientTimeoutInterval { get => throw null; set => throw null; } @@ -300,13 +281,11 @@ namespace Microsoft public System.Collections.Generic.IList SupportedProtocols { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.SignalR.HubOptions<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubOptions : Microsoft.AspNetCore.SignalR.HubOptions where THub : Microsoft.AspNetCore.SignalR.Hub { public HubOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubOptionsExtensions` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HubOptionsExtensions { public static void AddFilter(this Microsoft.AspNetCore.SignalR.HubOptions options, Microsoft.AspNetCore.SignalR.IHubFilter hubFilter) => throw null; @@ -314,48 +293,41 @@ namespace Microsoft public static void AddFilter(this Microsoft.AspNetCore.SignalR.HubOptions options) where TFilter : Microsoft.AspNetCore.SignalR.IHubFilter => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubOptionsSetup` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions { public void Configure(Microsoft.AspNetCore.SignalR.HubOptions options) => throw null; public HubOptionsSetup(System.Collections.Generic.IEnumerable protocols) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.HubOptionsSetup<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubOptionsSetup : Microsoft.Extensions.Options.IConfigureOptions> where THub : Microsoft.AspNetCore.SignalR.Hub { public void Configure(Microsoft.AspNetCore.SignalR.HubOptions options) => throw null; public HubOptionsSetup(Microsoft.Extensions.Options.IOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.IClientProxy` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IClientProxy { System.Threading.Tasks.Task SendCoreAsync(string method, object[] args, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.SignalR.IGroupManager` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IGroupManager { System.Threading.Tasks.Task AddToGroupAsync(string connectionId, string groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); System.Threading.Tasks.Task RemoveFromGroupAsync(string connectionId, string groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.SignalR.IHubActivator<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubActivator where THub : Microsoft.AspNetCore.SignalR.Hub { THub Create(); void Release(THub hub); } - // Generated from `Microsoft.AspNetCore.SignalR.IHubCallerClients` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubCallerClients : Microsoft.AspNetCore.SignalR.IHubCallerClients, Microsoft.AspNetCore.SignalR.IHubClients { Microsoft.AspNetCore.SignalR.ISingleClientProxy Caller { get => throw null; } Microsoft.AspNetCore.SignalR.ISingleClientProxy Client(string connectionId) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.IHubCallerClients<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubCallerClients : Microsoft.AspNetCore.SignalR.IHubClients { T Caller { get; } @@ -363,13 +335,11 @@ namespace Microsoft T OthersInGroup(string groupName); } - // Generated from `Microsoft.AspNetCore.SignalR.IHubClients` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubClients : Microsoft.AspNetCore.SignalR.IHubClients { Microsoft.AspNetCore.SignalR.ISingleClientProxy Client(string connectionId) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.IHubClients<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubClients { T All { get; } @@ -383,28 +353,24 @@ namespace Microsoft T Users(System.Collections.Generic.IReadOnlyList userIds); } - // Generated from `Microsoft.AspNetCore.SignalR.IHubContext` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubContext { Microsoft.AspNetCore.SignalR.IHubClients Clients { get; } Microsoft.AspNetCore.SignalR.IGroupManager Groups { get; } } - // Generated from `Microsoft.AspNetCore.SignalR.IHubContext<,>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubContext where T : class where THub : Microsoft.AspNetCore.SignalR.Hub { Microsoft.AspNetCore.SignalR.IHubClients Clients { get; } Microsoft.AspNetCore.SignalR.IGroupManager Groups { get; } } - // Generated from `Microsoft.AspNetCore.SignalR.IHubContext<>` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubContext where THub : Microsoft.AspNetCore.SignalR.Hub { Microsoft.AspNetCore.SignalR.IHubClients Clients { get; } Microsoft.AspNetCore.SignalR.IGroupManager Groups { get; } } - // Generated from `Microsoft.AspNetCore.SignalR.IHubFilter` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubFilter { System.Threading.Tasks.ValueTask InvokeMethodAsync(Microsoft.AspNetCore.SignalR.HubInvocationContext invocationContext, System.Func> next) => throw null; @@ -412,31 +378,26 @@ namespace Microsoft System.Threading.Tasks.Task OnDisconnectedAsync(Microsoft.AspNetCore.SignalR.HubLifetimeContext context, System.Exception exception, System.Func next) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.IHubProtocolResolver` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubProtocolResolver { System.Collections.Generic.IReadOnlyList AllProtocols { get; } Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol GetProtocol(string protocolName, System.Collections.Generic.IReadOnlyList supportedProtocols); } - // Generated from `Microsoft.AspNetCore.SignalR.ISignalRServerBuilder` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISignalRServerBuilder : Microsoft.AspNetCore.SignalR.ISignalRBuilder { } - // Generated from `Microsoft.AspNetCore.SignalR.ISingleClientProxy` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISingleClientProxy : Microsoft.AspNetCore.SignalR.IClientProxy { System.Threading.Tasks.Task InvokeCoreAsync(string method, object[] args, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.SignalR.IUserIdProvider` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserIdProvider { string GetUserId(Microsoft.AspNetCore.SignalR.HubConnectionContext connection); } - // Generated from `Microsoft.AspNetCore.SignalR.SerializedHubMessage` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SerializedHubMessage { public System.ReadOnlyMemory GetSerializedMessage(Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol protocol) => throw null; @@ -445,7 +406,6 @@ namespace Microsoft public SerializedHubMessage(System.Collections.Generic.IReadOnlyList messages) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.SerializedMessage` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct SerializedMessage { public string ProtocolName { get => throw null; } @@ -454,7 +414,6 @@ namespace Microsoft public SerializedMessage(string protocolName, System.ReadOnlyMemory serialized) => throw null; } - // Generated from `Microsoft.AspNetCore.SignalR.SignalRConnectionBuilderExtensions` in `Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class SignalRConnectionBuilderExtensions { public static Microsoft.AspNetCore.Connections.IConnectionBuilder UseHub(this Microsoft.AspNetCore.Connections.IConnectionBuilder connectionBuilder) where THub : Microsoft.AspNetCore.SignalR.Hub => throw null; @@ -466,7 +425,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.SignalRDependencyInjectionExtensions` in `Microsoft.AspNetCore.SignalR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class SignalRDependencyInjectionExtensions { public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddSignalRCore(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Protocols.Json.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Protocols.Json.cs index de65141739b..ff4830b57ee 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Protocols.Json.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.Protocols.Json.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.SignalR.Protocols.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace SignalR { - // Generated from `Microsoft.AspNetCore.SignalR.JsonHubProtocolOptions` in `Microsoft.AspNetCore.SignalR.Protocols.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonHubProtocolOptions { public JsonHubProtocolOptions() => throw null; @@ -15,7 +15,6 @@ namespace Microsoft namespace Protocol { - // Generated from `Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol` in `Microsoft.AspNetCore.SignalR.Protocols.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonHubProtocol : Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol { public System.ReadOnlyMemory GetMessageBytes(Microsoft.AspNetCore.SignalR.Protocol.HubMessage message) => throw null; @@ -36,7 +35,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.JsonProtocolDependencyInjectionExtensions` in `Microsoft.AspNetCore.SignalR.Protocols.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JsonProtocolDependencyInjectionExtensions { public static TBuilder AddJsonProtocol(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.SignalR.ISignalRBuilder => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.cs index c7ec4996b8d..9eb2652e6dc 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.SignalR.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.SignalR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,21 +7,18 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.HubEndpointConventionBuilder` in `Microsoft.AspNetCore.SignalR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HubEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder, Microsoft.AspNetCore.Builder.IHubEndpointConventionBuilder { public void Add(System.Action convention) => throw null; public void Finally(System.Action finalConvention) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.HubEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.SignalR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HubEndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.HubEndpointConventionBuilder MapHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern) where THub : Microsoft.AspNetCore.SignalR.Hub => throw null; public static Microsoft.AspNetCore.Builder.HubEndpointConventionBuilder MapHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, System.Action configureOptions) where THub : Microsoft.AspNetCore.SignalR.Hub => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.IHubEndpointConventionBuilder` in `Microsoft.AspNetCore.SignalR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHubEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { } @@ -28,7 +26,6 @@ namespace Microsoft } namespace SignalR { - // Generated from `Microsoft.AspNetCore.SignalR.GetHttpContextExtensions` in `Microsoft.AspNetCore.SignalR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class GetHttpContextExtensions { public static Microsoft.AspNetCore.Http.HttpContext GetHttpContext(this Microsoft.AspNetCore.SignalR.HubCallerContext connection) => throw null; @@ -41,7 +38,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.SignalRDependencyInjectionExtensions` in `Microsoft.AspNetCore.SignalR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.AspNetCore.SignalR.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class SignalRDependencyInjectionExtensions { public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddHubOptions(this Microsoft.AspNetCore.SignalR.ISignalRServerBuilder signalrBuilder, System.Action> configure) where THub : Microsoft.AspNetCore.SignalR.Hub => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.StaticFiles.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.StaticFiles.cs index 7da150d7ebf..6e68ef66b36 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.StaticFiles.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.StaticFiles.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.DefaultFilesExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DefaultFilesExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDefaultFiles(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -14,7 +14,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDefaultFiles(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string requestPath) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.DefaultFilesOptions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultFilesOptions : Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase { public System.Collections.Generic.IList DefaultFileNames { get => throw null; set => throw null; } @@ -22,7 +21,6 @@ namespace Microsoft public DefaultFilesOptions(Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions sharedOptions) : base(default(Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.DirectoryBrowserExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DirectoryBrowserExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDirectoryBrowser(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -30,7 +28,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDirectoryBrowser(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string requestPath) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.DirectoryBrowserOptions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DirectoryBrowserOptions : Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase { public DirectoryBrowserOptions() : base(default(Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions)) => throw null; @@ -38,7 +35,6 @@ namespace Microsoft public Microsoft.AspNetCore.StaticFiles.IDirectoryFormatter Formatter { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.FileServerExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class FileServerExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseFileServer(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -47,7 +43,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseFileServer(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string requestPath) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.FileServerOptions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileServerOptions : Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase { public Microsoft.AspNetCore.Builder.DefaultFilesOptions DefaultFilesOptions { get => throw null; } @@ -58,7 +53,6 @@ namespace Microsoft public Microsoft.AspNetCore.Builder.StaticFileOptions StaticFileOptions { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.StaticFileExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StaticFileExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseStaticFiles(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; @@ -66,7 +60,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseStaticFiles(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string requestPath) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.StaticFileOptions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StaticFileOptions : Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase { public Microsoft.AspNetCore.StaticFiles.IContentTypeProvider ContentTypeProvider { get => throw null; set => throw null; } @@ -78,7 +71,6 @@ namespace Microsoft public StaticFileOptions(Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions sharedOptions) : base(default(Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.StaticFilesEndpointRouteBuilderExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StaticFilesEndpointRouteBuilderExtensions { public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToFile(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string filePath) => throw null; @@ -90,14 +82,12 @@ namespace Microsoft } namespace StaticFiles { - // Generated from `Microsoft.AspNetCore.StaticFiles.DefaultFilesMiddleware` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultFilesMiddleware { public DefaultFilesMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnv, Microsoft.Extensions.Options.IOptions options) => throw null; public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.StaticFiles.DirectoryBrowserMiddleware` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DirectoryBrowserMiddleware { public DirectoryBrowserMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnv, System.Text.Encodings.Web.HtmlEncoder encoder, Microsoft.Extensions.Options.IOptions options) => throw null; @@ -105,7 +95,6 @@ namespace Microsoft public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; } - // Generated from `Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileExtensionContentTypeProvider : Microsoft.AspNetCore.StaticFiles.IContentTypeProvider { public FileExtensionContentTypeProvider() => throw null; @@ -114,33 +103,28 @@ namespace Microsoft public bool TryGetContentType(string subpath, out string contentType) => throw null; } - // Generated from `Microsoft.AspNetCore.StaticFiles.HtmlDirectoryFormatter` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlDirectoryFormatter : Microsoft.AspNetCore.StaticFiles.IDirectoryFormatter { public virtual System.Threading.Tasks.Task GenerateContentAsync(Microsoft.AspNetCore.Http.HttpContext context, System.Collections.Generic.IEnumerable contents) => throw null; public HtmlDirectoryFormatter(System.Text.Encodings.Web.HtmlEncoder encoder) => throw null; } - // Generated from `Microsoft.AspNetCore.StaticFiles.IContentTypeProvider` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IContentTypeProvider { bool TryGetContentType(string subpath, out string contentType); } - // Generated from `Microsoft.AspNetCore.StaticFiles.IDirectoryFormatter` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDirectoryFormatter { System.Threading.Tasks.Task GenerateContentAsync(Microsoft.AspNetCore.Http.HttpContext context, System.Collections.Generic.IEnumerable contents); } - // Generated from `Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StaticFileMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public StaticFileMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnv, Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.StaticFiles.StaticFileResponseContext` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StaticFileResponseContext { public Microsoft.AspNetCore.Http.HttpContext Context { get => throw null; } @@ -150,7 +134,6 @@ namespace Microsoft namespace Infrastructure { - // Generated from `Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SharedOptions { public Microsoft.Extensions.FileProviders.IFileProvider FileProvider { get => throw null; set => throw null; } @@ -159,7 +142,6 @@ namespace Microsoft public SharedOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class SharedOptionsBase { public Microsoft.Extensions.FileProviders.IFileProvider FileProvider { get => throw null; set => throw null; } @@ -176,7 +158,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.DirectoryBrowserServiceExtensions` in `Microsoft.AspNetCore.StaticFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DirectoryBrowserServiceExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDirectoryBrowser(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebSockets.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebSockets.cs index 9cded1a31b0..72f1e6ca3ca 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebSockets.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebSockets.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.WebSocketMiddlewareExtensions` in `Microsoft.AspNetCore.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebSocketMiddlewareExtensions { public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWebSockets(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) => throw null; public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWebSockets(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.WebSocketOptions options) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.WebSocketOptions` in `Microsoft.AspNetCore.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebSocketOptions { public System.Collections.Generic.IList AllowedOrigins { get => throw null; } @@ -25,7 +24,6 @@ namespace Microsoft } namespace WebSockets { - // Generated from `Microsoft.AspNetCore.WebSockets.ExtendedWebSocketAcceptContext` in `Microsoft.AspNetCore.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ExtendedWebSocketAcceptContext : Microsoft.AspNetCore.Http.WebSocketAcceptContext { public ExtendedWebSocketAcceptContext() => throw null; @@ -34,14 +32,12 @@ namespace Microsoft public override string SubProtocol { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.WebSockets.WebSocketMiddleware` in `Microsoft.AspNetCore.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebSocketMiddleware { public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context) => throw null; public WebSocketMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.WebSockets.WebSocketsDependencyInjectionExtensions` in `Microsoft.AspNetCore.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebSocketsDependencyInjectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddWebSockets(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action configure) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebUtilities.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebUtilities.cs index 05df190e03c..8ffc0cbc62e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebUtilities.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.WebUtilities.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace WebUtilities { - // Generated from `Microsoft.AspNetCore.WebUtilities.Base64UrlTextEncoder` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Base64UrlTextEncoder { public static System.Byte[] Decode(string text) => throw null; public static string Encode(System.Byte[] data) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.BufferedReadStream` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BufferedReadStream : System.IO.Stream { public System.ArraySegment BufferedData { get => throw null; } @@ -44,7 +43,6 @@ namespace Microsoft public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileBufferingReadStream : System.IO.Stream { public override bool CanRead { get => throw null; } @@ -75,7 +73,6 @@ namespace Microsoft public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.FileBufferingWriteStream` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileBufferingWriteStream : System.IO.Stream { public override bool CanRead { get => throw null; } @@ -101,7 +98,6 @@ namespace Microsoft public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.FileMultipartSection` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileMultipartSection { public FileMultipartSection(Microsoft.AspNetCore.WebUtilities.MultipartSection section) => throw null; @@ -112,7 +108,6 @@ namespace Microsoft public Microsoft.AspNetCore.WebUtilities.MultipartSection Section { get => throw null; } } - // Generated from `Microsoft.AspNetCore.WebUtilities.FormMultipartSection` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormMultipartSection { public FormMultipartSection(Microsoft.AspNetCore.WebUtilities.MultipartSection section) => throw null; @@ -123,7 +118,6 @@ namespace Microsoft public Microsoft.AspNetCore.WebUtilities.MultipartSection Section { get => throw null; } } - // Generated from `Microsoft.AspNetCore.WebUtilities.FormPipeReader` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormPipeReader { public FormPipeReader(System.IO.Pipelines.PipeReader pipeReader) => throw null; @@ -134,7 +128,6 @@ namespace Microsoft public int ValueLengthLimit { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.WebUtilities.FormReader` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FormReader : System.IDisposable { public const int DefaultKeyLengthLimit = default; @@ -155,7 +148,6 @@ namespace Microsoft public int ValueLengthLimit { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpRequestStreamReader : System.IO.TextReader { protected override void Dispose(bool disposing) => throw null; @@ -173,7 +165,6 @@ namespace Microsoft public override System.Threading.Tasks.Task ReadToEndAsync() => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpResponseStreamWriter : System.IO.TextWriter { protected override void Dispose(bool disposing) => throw null; @@ -199,7 +190,6 @@ namespace Microsoft public override System.Threading.Tasks.Task WriteLineAsync(string value) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.KeyValueAccumulator` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct KeyValueAccumulator { public void Append(string key, string value) => throw null; @@ -210,7 +200,6 @@ namespace Microsoft public int ValueCount { get => throw null; } } - // Generated from `Microsoft.AspNetCore.WebUtilities.MultipartReader` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MultipartReader { public System.Int64? BodyLengthLimit { get => throw null; set => throw null; } @@ -223,7 +212,6 @@ namespace Microsoft public System.Threading.Tasks.Task ReadNextSectionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.MultipartSection` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MultipartSection { public System.Int64? BaseStreamOffset { get => throw null; set => throw null; } @@ -234,7 +222,6 @@ namespace Microsoft public MultipartSection() => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.MultipartSectionConverterExtensions` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MultipartSectionConverterExtensions { public static Microsoft.AspNetCore.WebUtilities.FileMultipartSection AsFileSection(this Microsoft.AspNetCore.WebUtilities.MultipartSection section) => throw null; @@ -242,14 +229,12 @@ namespace Microsoft public static Microsoft.Net.Http.Headers.ContentDispositionHeaderValue GetContentDispositionHeader(this Microsoft.AspNetCore.WebUtilities.MultipartSection section) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.MultipartSectionStreamExtensions` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MultipartSectionStreamExtensions { public static System.Threading.Tasks.Task ReadAsStringAsync(this Microsoft.AspNetCore.WebUtilities.MultipartSection section) => throw null; public static System.Threading.Tasks.ValueTask ReadAsStringAsync(this Microsoft.AspNetCore.WebUtilities.MultipartSection section, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.QueryHelpers` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class QueryHelpers { public static string AddQueryString(string uri, System.Collections.Generic.IDictionary queryString) => throw null; @@ -260,10 +245,8 @@ namespace Microsoft public static System.Collections.Generic.Dictionary ParseQuery(string queryString) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct QueryStringEnumerable { - // Generated from `Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable+EncodedNameValuePair` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct EncodedNameValuePair { public System.ReadOnlyMemory DecodeName() => throw null; @@ -274,7 +257,6 @@ namespace Microsoft } - // Generated from `Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable+Enumerator` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator { public Microsoft.AspNetCore.WebUtilities.QueryStringEnumerable.EncodedNameValuePair Current { get => throw null; } @@ -289,13 +271,11 @@ namespace Microsoft public QueryStringEnumerable(string queryString) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.ReasonPhrases` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ReasonPhrases { public static string GetReasonPhrase(int statusCode) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.StreamHelperExtensions` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StreamHelperExtensions { public static System.Threading.Tasks.Task DrainAsync(this System.IO.Stream stream, System.Buffers.ArrayPool bytePool, System.Int64? limit, System.Threading.CancellationToken cancellationToken) => throw null; @@ -303,7 +283,6 @@ namespace Microsoft public static System.Threading.Tasks.Task DrainAsync(this System.IO.Stream stream, System.Int64? limit, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.AspNetCore.WebUtilities.WebEncoders` in `Microsoft.AspNetCore.WebUtilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebEncoders { public static System.Byte[] Base64UrlDecode(string input) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.cs index 12d07586057..be27bb030ef 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { namespace AspNetCore { - // Generated from `Microsoft.AspNetCore.WebHost` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class WebHost { public static Microsoft.AspNetCore.Hosting.IWebHostBuilder CreateDefaultBuilder() => throw null; @@ -20,7 +20,6 @@ namespace Microsoft namespace Builder { - // Generated from `Microsoft.AspNetCore.Builder.ConfigureHostBuilder` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureHostBuilder : Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsConfigureWebHost, Microsoft.Extensions.Hosting.IHostBuilder { Microsoft.Extensions.Hosting.IHost Microsoft.Extensions.Hosting.IHostBuilder.Build() => throw null; @@ -34,7 +33,6 @@ namespace Microsoft public Microsoft.Extensions.Hosting.IHostBuilder UseServiceProviderFactory(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory factory) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.ConfigureWebHostBuilder` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureWebHostBuilder : Microsoft.AspNetCore.Hosting.IWebHostBuilder, Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup { Microsoft.AspNetCore.Hosting.IWebHost Microsoft.AspNetCore.Hosting.IWebHostBuilder.Build() => throw null; @@ -49,7 +47,6 @@ namespace Microsoft Microsoft.AspNetCore.Hosting.IWebHostBuilder Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.UseStartup(System.Func startupFactory) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.WebApplication` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebApplication : Microsoft.AspNetCore.Builder.IApplicationBuilder, Microsoft.AspNetCore.Routing.IEndpointRouteBuilder, Microsoft.Extensions.Hosting.IHost, System.IAsyncDisposable, System.IDisposable { System.IServiceProvider Microsoft.AspNetCore.Builder.IApplicationBuilder.ApplicationServices { get => throw null; set => throw null; } @@ -79,7 +76,6 @@ namespace Microsoft public Microsoft.AspNetCore.Builder.IApplicationBuilder Use(System.Func middleware) => throw null; } - // Generated from `Microsoft.AspNetCore.Builder.WebApplicationBuilder` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebApplicationBuilder { public Microsoft.AspNetCore.Builder.WebApplication Build() => throw null; @@ -91,7 +87,6 @@ namespace Microsoft public Microsoft.AspNetCore.Builder.ConfigureWebHostBuilder WebHost { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Builder.WebApplicationOptions` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebApplicationOptions { public string ApplicationName { get => throw null; set => throw null; } @@ -108,7 +103,6 @@ namespace Microsoft { namespace Hosting { - // Generated from `Microsoft.Extensions.Hosting.GenericHostBuilderExtensions` in `Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class GenericHostBuilderExtensions { public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureWebHostDefaults(this Microsoft.Extensions.Hosting.IHostBuilder builder, System.Action configure) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Abstractions.cs index edaf2b6cb1c..0dd4639daa7 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Distributed { - // Generated from `Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DistributedCacheEntryExtensions { public static Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions SetAbsoluteExpiration(this Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options, System.DateTimeOffset absolute) => throw null; @@ -16,7 +16,6 @@ namespace Microsoft public static Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions SetSlidingExpiration(this Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options, System.TimeSpan offset) => throw null; } - // Generated from `Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DistributedCacheEntryOptions { public System.DateTimeOffset? AbsoluteExpiration { get => throw null; set => throw null; } @@ -25,7 +24,6 @@ namespace Microsoft public System.TimeSpan? SlidingExpiration { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DistributedCacheExtensions { public static string GetString(this Microsoft.Extensions.Caching.Distributed.IDistributedCache cache, string key) => throw null; @@ -38,7 +36,6 @@ namespace Microsoft public static System.Threading.Tasks.Task SetStringAsync(this Microsoft.Extensions.Caching.Distributed.IDistributedCache cache, string key, string value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options, System.Threading.CancellationToken token = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.Extensions.Caching.Distributed.IDistributedCache` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDistributedCache { System.Byte[] Get(string key); @@ -54,7 +51,6 @@ namespace Microsoft } namespace Memory { - // Generated from `Microsoft.Extensions.Caching.Memory.CacheEntryExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CacheEntryExtensions { public static Microsoft.Extensions.Caching.Memory.ICacheEntry AddExpirationToken(this Microsoft.Extensions.Caching.Memory.ICacheEntry entry, Microsoft.Extensions.Primitives.IChangeToken expirationToken) => throw null; @@ -69,7 +65,6 @@ namespace Microsoft public static Microsoft.Extensions.Caching.Memory.ICacheEntry SetValue(this Microsoft.Extensions.Caching.Memory.ICacheEntry entry, object value) => throw null; } - // Generated from `Microsoft.Extensions.Caching.Memory.CacheExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CacheExtensions { public static object Get(this Microsoft.Extensions.Caching.Memory.IMemoryCache cache, object key) => throw null; @@ -84,7 +79,6 @@ namespace Microsoft public static bool TryGetValue(this Microsoft.Extensions.Caching.Memory.IMemoryCache cache, object key, out TItem value) => throw null; } - // Generated from `Microsoft.Extensions.Caching.Memory.CacheItemPriority` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum CacheItemPriority : int { High = 2, @@ -93,7 +87,6 @@ namespace Microsoft Normal = 1, } - // Generated from `Microsoft.Extensions.Caching.Memory.EvictionReason` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum EvictionReason : int { Capacity = 5, @@ -104,7 +97,6 @@ namespace Microsoft TokenExpired = 4, } - // Generated from `Microsoft.Extensions.Caching.Memory.ICacheEntry` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ICacheEntry : System.IDisposable { System.DateTimeOffset? AbsoluteExpiration { get; set; } @@ -118,7 +110,6 @@ namespace Microsoft object Value { get; set; } } - // Generated from `Microsoft.Extensions.Caching.Memory.IMemoryCache` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IMemoryCache : System.IDisposable { Microsoft.Extensions.Caching.Memory.ICacheEntry CreateEntry(object key); @@ -127,7 +118,6 @@ namespace Microsoft bool TryGetValue(object key, out object value); } - // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCacheEntryExtensions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MemoryCacheEntryExtensions { public static Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions AddExpirationToken(this Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions options, Microsoft.Extensions.Primitives.IChangeToken expirationToken) => throw null; @@ -140,7 +130,6 @@ namespace Microsoft public static Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions SetSlidingExpiration(this Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions options, System.TimeSpan offset) => throw null; } - // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryCacheEntryOptions { public System.DateTimeOffset? AbsoluteExpiration { get => throw null; set => throw null; } @@ -153,7 +142,6 @@ namespace Microsoft public System.TimeSpan? SlidingExpiration { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCacheStatistics` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryCacheStatistics { public System.Int64 CurrentEntryCount { get => throw null; set => throw null; } @@ -163,7 +151,6 @@ namespace Microsoft public System.Int64 TotalMisses { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Caching.Memory.PostEvictionCallbackRegistration` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostEvictionCallbackRegistration { public Microsoft.Extensions.Caching.Memory.PostEvictionDelegate EvictionCallback { get => throw null; set => throw null; } @@ -171,20 +158,17 @@ namespace Microsoft public object State { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Caching.Memory.PostEvictionDelegate` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate void PostEvictionDelegate(object key, object value, Microsoft.Extensions.Caching.Memory.EvictionReason reason, object state); } } namespace Internal { - // Generated from `Microsoft.Extensions.Internal.ISystemClock` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISystemClock { System.DateTimeOffset UtcNow { get; } } - // Generated from `Microsoft.Extensions.Internal.SystemClock` in `Microsoft.Extensions.Caching.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SystemClock : Microsoft.Extensions.Internal.ISystemClock { public SystemClock() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Memory.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Memory.cs index d8715288181..c6e3f69b3c5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Memory.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Caching.Memory.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Caching.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Distributed { - // Generated from `Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache` in `Microsoft.Extensions.Caching.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryDistributedCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache { public System.Byte[] Get(string key) => throw null; @@ -26,7 +26,6 @@ namespace Microsoft } namespace Memory { - // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCache` in `Microsoft.Extensions.Caching.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryCache : Microsoft.Extensions.Caching.Memory.IMemoryCache, System.IDisposable { public void Clear() => throw null; @@ -43,7 +42,6 @@ namespace Microsoft // ERR: Stub generator didn't handle member: ~MemoryCache } - // Generated from `Microsoft.Extensions.Caching.Memory.MemoryCacheOptions` in `Microsoft.Extensions.Caching.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryCacheOptions : Microsoft.Extensions.Options.IOptions { public Microsoft.Extensions.Internal.ISystemClock Clock { get => throw null; set => throw null; } @@ -56,7 +54,6 @@ namespace Microsoft Microsoft.Extensions.Caching.Memory.MemoryCacheOptions Microsoft.Extensions.Options.IOptions.Value { get => throw null; } } - // Generated from `Microsoft.Extensions.Caching.Memory.MemoryDistributedCacheOptions` in `Microsoft.Extensions.Caching.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryDistributedCacheOptions : Microsoft.Extensions.Caching.Memory.MemoryCacheOptions { public MemoryDistributedCacheOptions() => throw null; @@ -66,7 +63,6 @@ namespace Microsoft } namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.MemoryCacheServiceCollectionExtensions` in `Microsoft.Extensions.Caching.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MemoryCacheServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDistributedMemoryCache(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Abstractions.cs index 6f0c32b3530..8018c018121 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.ConfigurationDebugViewContext` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct ConfigurationDebugViewContext { // Stub generator skipped constructor @@ -17,7 +17,6 @@ namespace Microsoft public string Value { get => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationExtensions` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConfigurationExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder Add(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action configureSource) where TSource : Microsoft.Extensions.Configuration.IConfigurationSource, new() => throw null; @@ -28,14 +27,12 @@ namespace Microsoft public static Microsoft.Extensions.Configuration.IConfigurationSection GetRequiredSection(this Microsoft.Extensions.Configuration.IConfiguration configuration, string key) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationKeyNameAttribute` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationKeyNameAttribute : System.Attribute { public ConfigurationKeyNameAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationPath` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConfigurationPath { public static string Combine(System.Collections.Generic.IEnumerable pathSegments) => throw null; @@ -45,14 +42,12 @@ namespace Microsoft public static string KeyDelimiter; } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationRootExtensions` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConfigurationRootExtensions { public static string GetDebugView(this Microsoft.Extensions.Configuration.IConfigurationRoot root) => throw null; public static string GetDebugView(this Microsoft.Extensions.Configuration.IConfigurationRoot root, System.Func processValue) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.IConfiguration` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfiguration { System.Collections.Generic.IEnumerable GetChildren(); @@ -61,7 +56,6 @@ namespace Microsoft string this[string key] { get; set; } } - // Generated from `Microsoft.Extensions.Configuration.IConfigurationBuilder` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigurationBuilder { Microsoft.Extensions.Configuration.IConfigurationBuilder Add(Microsoft.Extensions.Configuration.IConfigurationSource source); @@ -70,7 +64,6 @@ namespace Microsoft System.Collections.Generic.IList Sources { get; } } - // Generated from `Microsoft.Extensions.Configuration.IConfigurationProvider` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigurationProvider { System.Collections.Generic.IEnumerable GetChildKeys(System.Collections.Generic.IEnumerable earlierKeys, string parentPath); @@ -80,14 +73,12 @@ namespace Microsoft bool TryGet(string key, out string value); } - // Generated from `Microsoft.Extensions.Configuration.IConfigurationRoot` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigurationRoot : Microsoft.Extensions.Configuration.IConfiguration { System.Collections.Generic.IEnumerable Providers { get; } void Reload(); } - // Generated from `Microsoft.Extensions.Configuration.IConfigurationSection` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigurationSection : Microsoft.Extensions.Configuration.IConfiguration { string Key { get; } @@ -95,7 +86,6 @@ namespace Microsoft string Value { get; set; } } - // Generated from `Microsoft.Extensions.Configuration.IConfigurationSource` in `Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigurationSource { Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Binder.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Binder.cs index 3008e1925c7..cec49289494 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Binder.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Binder.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Configuration.Binder, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.BinderOptions` in `Microsoft.Extensions.Configuration.Binder, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class BinderOptions { public bool BindNonPublicProperties { get => throw null; set => throw null; } @@ -14,7 +14,6 @@ namespace Microsoft public bool ErrorOnUnknownConfiguration { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationBinder` in `Microsoft.Extensions.Configuration.Binder, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConfigurationBinder { public static void Bind(this Microsoft.Extensions.Configuration.IConfiguration configuration, object instance) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.CommandLine.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.CommandLine.cs index 8c5e0b72cc2..19426be86bd 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.CommandLine.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.CommandLine.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Configuration.CommandLine, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.CommandLineConfigurationExtensions` in `Microsoft.Extensions.Configuration.CommandLine, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class CommandLineConfigurationExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddCommandLine(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action configureSource) => throw null; @@ -16,7 +16,6 @@ namespace Microsoft namespace CommandLine { - // Generated from `Microsoft.Extensions.Configuration.CommandLine.CommandLineConfigurationProvider` in `Microsoft.Extensions.Configuration.CommandLine, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CommandLineConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider { protected System.Collections.Generic.IEnumerable Args { get => throw null; } @@ -24,7 +23,6 @@ namespace Microsoft public override void Load() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.CommandLine.CommandLineConfigurationSource` in `Microsoft.Extensions.Configuration.CommandLine, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CommandLineConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public System.Collections.Generic.IEnumerable Args { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.EnvironmentVariables.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.EnvironmentVariables.cs index e665232f8ec..532a50ee8d9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.EnvironmentVariables.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.EnvironmentVariables.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Configuration.EnvironmentVariables, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.EnvironmentVariablesExtensions` in `Microsoft.Extensions.Configuration.EnvironmentVariables, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EnvironmentVariablesExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddEnvironmentVariables(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder) => throw null; @@ -16,7 +16,6 @@ namespace Microsoft namespace EnvironmentVariables { - // Generated from `Microsoft.Extensions.Configuration.EnvironmentVariables.EnvironmentVariablesConfigurationProvider` in `Microsoft.Extensions.Configuration.EnvironmentVariables, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnvironmentVariablesConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider { public EnvironmentVariablesConfigurationProvider() => throw null; @@ -25,7 +24,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.EnvironmentVariables.EnvironmentVariablesConfigurationSource` in `Microsoft.Extensions.Configuration.EnvironmentVariables, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EnvironmentVariablesConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.FileExtensions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.FileExtensions.cs index 16285faaa42..e6c8244ac62 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.FileExtensions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.FileExtensions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Configuration.FileExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.FileConfigurationExtensions` in `Microsoft.Extensions.Configuration.FileExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class FileConfigurationExtensions { public static System.Action GetFileLoadExceptionHandler(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; @@ -16,7 +16,6 @@ namespace Microsoft public static Microsoft.Extensions.Configuration.IConfigurationBuilder SetFileProvider(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, Microsoft.Extensions.FileProviders.IFileProvider fileProvider) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.FileConfigurationProvider` in `Microsoft.Extensions.Configuration.FileExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class FileConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider, System.IDisposable { public void Dispose() => throw null; @@ -28,7 +27,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.FileConfigurationSource` in `Microsoft.Extensions.Configuration.FileExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class FileConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public abstract Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder); @@ -43,7 +41,6 @@ namespace Microsoft public void ResolveFileProvider() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.FileLoadExceptionContext` in `Microsoft.Extensions.Configuration.FileExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileLoadExceptionContext { public System.Exception Exception { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Ini.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Ini.cs index f5b1965d17f..781201b7ff3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Ini.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Ini.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Configuration.Ini, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.IniConfigurationExtensions` in `Microsoft.Extensions.Configuration.Ini, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class IniConfigurationExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddIniFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action configureSource) => throw null; @@ -19,21 +19,18 @@ namespace Microsoft namespace Ini { - // Generated from `Microsoft.Extensions.Configuration.Ini.IniConfigurationProvider` in `Microsoft.Extensions.Configuration.Ini, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IniConfigurationProvider : Microsoft.Extensions.Configuration.FileConfigurationProvider { public IniConfigurationProvider(Microsoft.Extensions.Configuration.Ini.IniConfigurationSource source) : base(default(Microsoft.Extensions.Configuration.FileConfigurationSource)) => throw null; public override void Load(System.IO.Stream stream) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Ini.IniConfigurationSource` in `Microsoft.Extensions.Configuration.Ini, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IniConfigurationSource : Microsoft.Extensions.Configuration.FileConfigurationSource { public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; public IniConfigurationSource() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Ini.IniStreamConfigurationProvider` in `Microsoft.Extensions.Configuration.Ini, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IniStreamConfigurationProvider : Microsoft.Extensions.Configuration.StreamConfigurationProvider { public IniStreamConfigurationProvider(Microsoft.Extensions.Configuration.Ini.IniStreamConfigurationSource source) : base(default(Microsoft.Extensions.Configuration.StreamConfigurationSource)) => throw null; @@ -41,7 +38,6 @@ namespace Microsoft public static System.Collections.Generic.IDictionary Read(System.IO.Stream stream) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Ini.IniStreamConfigurationSource` in `Microsoft.Extensions.Configuration.Ini, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IniStreamConfigurationSource : Microsoft.Extensions.Configuration.StreamConfigurationSource { public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Json.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Json.cs index 817b33838d3..f506e72a30f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Json.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Json.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Configuration.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.JsonConfigurationExtensions` in `Microsoft.Extensions.Configuration.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JsonConfigurationExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddJsonFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action configureSource) => throw null; @@ -19,28 +19,24 @@ namespace Microsoft namespace Json { - // Generated from `Microsoft.Extensions.Configuration.Json.JsonConfigurationProvider` in `Microsoft.Extensions.Configuration.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonConfigurationProvider : Microsoft.Extensions.Configuration.FileConfigurationProvider { public JsonConfigurationProvider(Microsoft.Extensions.Configuration.Json.JsonConfigurationSource source) : base(default(Microsoft.Extensions.Configuration.FileConfigurationSource)) => throw null; public override void Load(System.IO.Stream stream) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Json.JsonConfigurationSource` in `Microsoft.Extensions.Configuration.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonConfigurationSource : Microsoft.Extensions.Configuration.FileConfigurationSource { public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; public JsonConfigurationSource() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Json.JsonStreamConfigurationProvider` in `Microsoft.Extensions.Configuration.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonStreamConfigurationProvider : Microsoft.Extensions.Configuration.StreamConfigurationProvider { public JsonStreamConfigurationProvider(Microsoft.Extensions.Configuration.Json.JsonStreamConfigurationSource source) : base(default(Microsoft.Extensions.Configuration.StreamConfigurationSource)) => throw null; public override void Load(System.IO.Stream stream) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Json.JsonStreamConfigurationSource` in `Microsoft.Extensions.Configuration.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonStreamConfigurationSource : Microsoft.Extensions.Configuration.StreamConfigurationSource { public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.KeyPerFile.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.KeyPerFile.cs index 67b2aea17b3..44168c165bf 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.KeyPerFile.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.KeyPerFile.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Configuration.KeyPerFile, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.KeyPerFileConfigurationBuilderExtensions` in `Microsoft.Extensions.Configuration.KeyPerFile, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class KeyPerFileConfigurationBuilderExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddKeyPerFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action configureSource) => throw null; @@ -17,7 +17,6 @@ namespace Microsoft namespace KeyPerFile { - // Generated from `Microsoft.Extensions.Configuration.KeyPerFile.KeyPerFileConfigurationProvider` in `Microsoft.Extensions.Configuration.KeyPerFile, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KeyPerFileConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider, System.IDisposable { public void Dispose() => throw null; @@ -26,7 +25,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.KeyPerFile.KeyPerFileConfigurationSource` in `Microsoft.Extensions.Configuration.KeyPerFile, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class KeyPerFileConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.UserSecrets.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.UserSecrets.cs index d30267d336f..c19f4ae0880 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.UserSecrets.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.UserSecrets.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Configuration.UserSecrets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.UserSecretsConfigurationExtensions` in `Microsoft.Extensions.Configuration.UserSecrets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class UserSecretsConfigurationExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddUserSecrets(this Microsoft.Extensions.Configuration.IConfigurationBuilder configuration, System.Reflection.Assembly assembly) => throw null; @@ -21,14 +21,12 @@ namespace Microsoft namespace UserSecrets { - // Generated from `Microsoft.Extensions.Configuration.UserSecrets.PathHelper` in `Microsoft.Extensions.Configuration.UserSecrets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PathHelper { public static string GetSecretsPathFromSecretsId(string userSecretsId) => throw null; public PathHelper() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute` in `Microsoft.Extensions.Configuration.UserSecrets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserSecretsIdAttribute : System.Attribute { public string UserSecretsId { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Xml.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Xml.cs index bfb0fff98b5..34bceff70a4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Xml.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.Xml.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Configuration.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.XmlConfigurationExtensions` in `Microsoft.Extensions.Configuration.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class XmlConfigurationExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddXmlFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action configureSource) => throw null; @@ -19,21 +19,18 @@ namespace Microsoft namespace Xml { - // Generated from `Microsoft.Extensions.Configuration.Xml.XmlConfigurationProvider` in `Microsoft.Extensions.Configuration.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlConfigurationProvider : Microsoft.Extensions.Configuration.FileConfigurationProvider { public override void Load(System.IO.Stream stream) => throw null; public XmlConfigurationProvider(Microsoft.Extensions.Configuration.Xml.XmlConfigurationSource source) : base(default(Microsoft.Extensions.Configuration.FileConfigurationSource)) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Xml.XmlConfigurationSource` in `Microsoft.Extensions.Configuration.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlConfigurationSource : Microsoft.Extensions.Configuration.FileConfigurationSource { public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; public XmlConfigurationSource() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Xml.XmlDocumentDecryptor` in `Microsoft.Extensions.Configuration.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlDocumentDecryptor { public System.Xml.XmlReader CreateDecryptingXmlReader(System.IO.Stream input, System.Xml.XmlReaderSettings settings) => throw null; @@ -42,7 +39,6 @@ namespace Microsoft protected XmlDocumentDecryptor() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Xml.XmlStreamConfigurationProvider` in `Microsoft.Extensions.Configuration.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlStreamConfigurationProvider : Microsoft.Extensions.Configuration.StreamConfigurationProvider { public override void Load(System.IO.Stream stream) => throw null; @@ -50,7 +46,6 @@ namespace Microsoft public XmlStreamConfigurationProvider(Microsoft.Extensions.Configuration.Xml.XmlStreamConfigurationSource source) : base(default(Microsoft.Extensions.Configuration.StreamConfigurationSource)) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Xml.XmlStreamConfigurationSource` in `Microsoft.Extensions.Configuration.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class XmlStreamConfigurationSource : Microsoft.Extensions.Configuration.StreamConfigurationSource { public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.cs index 7d980da08b2..9cb343bf310 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Configuration.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace Configuration { - // Generated from `Microsoft.Extensions.Configuration.ChainedBuilderExtensions` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ChainedBuilderExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddConfiguration(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Microsoft.Extensions.Configuration.IConfiguration config) => throw null; public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddConfiguration(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Microsoft.Extensions.Configuration.IConfiguration config, bool shouldDisposeConfiguration) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.ChainedConfigurationProvider` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ChainedConfigurationProvider : Microsoft.Extensions.Configuration.IConfigurationProvider, System.IDisposable { public ChainedConfigurationProvider(Microsoft.Extensions.Configuration.ChainedConfigurationSource source) => throw null; @@ -26,7 +25,6 @@ namespace Microsoft public bool TryGet(string key, out string value) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.ChainedConfigurationSource` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ChainedConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; @@ -35,7 +33,6 @@ namespace Microsoft public bool ShouldDisposeConfiguration { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationBuilder` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationBuilder : Microsoft.Extensions.Configuration.IConfigurationBuilder { public Microsoft.Extensions.Configuration.IConfigurationBuilder Add(Microsoft.Extensions.Configuration.IConfigurationSource source) => throw null; @@ -45,7 +42,6 @@ namespace Microsoft public System.Collections.Generic.IList Sources { get => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationKeyComparer` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationKeyComparer : System.Collections.Generic.IComparer { public int Compare(string x, string y) => throw null; @@ -53,7 +49,6 @@ namespace Microsoft public static Microsoft.Extensions.Configuration.ConfigurationKeyComparer Instance { get => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationManager` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationManager : Microsoft.Extensions.Configuration.IConfiguration, Microsoft.Extensions.Configuration.IConfigurationBuilder, Microsoft.Extensions.Configuration.IConfigurationRoot, System.IDisposable { Microsoft.Extensions.Configuration.IConfigurationBuilder Microsoft.Extensions.Configuration.IConfigurationBuilder.Add(Microsoft.Extensions.Configuration.IConfigurationSource source) => throw null; @@ -70,7 +65,6 @@ namespace Microsoft public System.Collections.Generic.IList Sources { get => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationProvider` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ConfigurationProvider : Microsoft.Extensions.Configuration.IConfigurationProvider { protected ConfigurationProvider() => throw null; @@ -84,7 +78,6 @@ namespace Microsoft public virtual bool TryGet(string key, out string value) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationReloadToken` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationReloadToken : Microsoft.Extensions.Primitives.IChangeToken { public bool ActiveChangeCallbacks { get => throw null; } @@ -94,7 +87,6 @@ namespace Microsoft public System.IDisposable RegisterChangeCallback(System.Action callback, object state) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationRoot` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationRoot : Microsoft.Extensions.Configuration.IConfiguration, Microsoft.Extensions.Configuration.IConfigurationRoot, System.IDisposable { public ConfigurationRoot(System.Collections.Generic.IList providers) => throw null; @@ -107,7 +99,6 @@ namespace Microsoft public void Reload() => throw null; } - // Generated from `Microsoft.Extensions.Configuration.ConfigurationSection` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationSection : Microsoft.Extensions.Configuration.IConfiguration, Microsoft.Extensions.Configuration.IConfigurationSection { public ConfigurationSection(Microsoft.Extensions.Configuration.IConfigurationRoot root, string path) => throw null; @@ -120,14 +111,12 @@ namespace Microsoft public string Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Configuration.MemoryConfigurationBuilderExtensions` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MemoryConfigurationBuilderExtensions { public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddInMemoryCollection(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder) => throw null; public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddInMemoryCollection(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, System.Collections.Generic.IEnumerable> initialData) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.StreamConfigurationProvider` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class StreamConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider { public override void Load() => throw null; @@ -136,7 +125,6 @@ namespace Microsoft public StreamConfigurationProvider(Microsoft.Extensions.Configuration.StreamConfigurationSource source) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.StreamConfigurationSource` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class StreamConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public abstract Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder); @@ -146,7 +134,6 @@ namespace Microsoft namespace Memory { - // Generated from `Microsoft.Extensions.Configuration.Memory.MemoryConfigurationProvider` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { public void Add(string key, string value) => throw null; @@ -155,7 +142,6 @@ namespace Microsoft public MemoryConfigurationProvider(Microsoft.Extensions.Configuration.Memory.MemoryConfigurationSource source) => throw null; } - // Generated from `Microsoft.Extensions.Configuration.Memory.MemoryConfigurationSource` in `Microsoft.Extensions.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MemoryConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource { public Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.Abstractions.cs index c9462b25924..8d7706b9823 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ActivatorUtilities` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ActivatorUtilities { public static Microsoft.Extensions.DependencyInjection.ObjectFactory CreateFactory(System.Type instanceType, System.Type[] argumentTypes) => throw null; @@ -16,13 +16,11 @@ namespace Microsoft public static T GetServiceOrCreateInstance(System.IServiceProvider provider) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ActivatorUtilitiesConstructorAttribute : System.Attribute { public ActivatorUtilitiesConstructorAttribute() => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.AsyncServiceScope` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct AsyncServiceScope : Microsoft.Extensions.DependencyInjection.IServiceScope, System.IAsyncDisposable, System.IDisposable { // Stub generator skipped constructor @@ -32,46 +30,38 @@ namespace Microsoft public System.IServiceProvider ServiceProvider { get => throw null; } } - // Generated from `Microsoft.Extensions.DependencyInjection.IServiceCollection` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServiceCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.IEnumerable { } - // Generated from `Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<>` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServiceProviderFactory { TContainerBuilder CreateBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection services); System.IServiceProvider CreateServiceProvider(TContainerBuilder containerBuilder); } - // Generated from `Microsoft.Extensions.DependencyInjection.IServiceProviderIsService` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServiceProviderIsService { bool IsService(System.Type serviceType); } - // Generated from `Microsoft.Extensions.DependencyInjection.IServiceScope` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServiceScope : System.IDisposable { System.IServiceProvider ServiceProvider { get; } } - // Generated from `Microsoft.Extensions.DependencyInjection.IServiceScopeFactory` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IServiceScopeFactory { Microsoft.Extensions.DependencyInjection.IServiceScope CreateScope(); } - // Generated from `Microsoft.Extensions.DependencyInjection.ISupportRequiredService` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISupportRequiredService { object GetRequiredService(System.Type serviceType); } - // Generated from `Microsoft.Extensions.DependencyInjection.ObjectFactory` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public delegate object ObjectFactory(System.IServiceProvider serviceProvider, object[] arguments); - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceCollection` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceCollection : Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.IEnumerable { void System.Collections.Generic.ICollection.Add(Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) => throw null; @@ -91,7 +81,6 @@ namespace Microsoft public ServiceCollection() => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ServiceCollectionServiceExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddScoped(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Type serviceType) => throw null; @@ -119,7 +108,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTransient(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Func implementationFactory) where TService : class => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceDescriptor` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceDescriptor { public static Microsoft.Extensions.DependencyInjection.ServiceDescriptor Describe(System.Type serviceType, System.Func implementationFactory, Microsoft.Extensions.DependencyInjection.ServiceLifetime lifetime) => throw null; @@ -152,7 +140,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.ServiceDescriptor Transient(System.Func implementationFactory) where TService : class => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceLifetime` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ServiceLifetime : int { Scoped = 1, @@ -160,7 +147,6 @@ namespace Microsoft Transient = 2, } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ServiceProviderServiceExtensions { public static Microsoft.Extensions.DependencyInjection.AsyncServiceScope CreateAsyncScope(this System.IServiceProvider provider) => throw null; @@ -175,7 +161,6 @@ namespace Microsoft namespace Extensions { - // Generated from `Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions` in `Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ServiceCollectionDescriptorExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection Add(this Microsoft.Extensions.DependencyInjection.IServiceCollection collection, System.Collections.Generic.IEnumerable descriptors) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.cs index b659cc3159c..d0a76b8f06f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.DependencyInjection.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.DependencyInjection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory` in `Microsoft.Extensions.DependencyInjection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultServiceProviderFactory : Microsoft.Extensions.DependencyInjection.IServiceProviderFactory { public Microsoft.Extensions.DependencyInjection.IServiceCollection CreateBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -15,7 +15,6 @@ namespace Microsoft public DefaultServiceProviderFactory(Microsoft.Extensions.DependencyInjection.ServiceProviderOptions options) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions` in `Microsoft.Extensions.DependencyInjection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ServiceCollectionContainerBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.ServiceProvider BuildServiceProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -23,7 +22,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.ServiceProvider BuildServiceProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, bool validateScopes) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceProvider` in `Microsoft.Extensions.DependencyInjection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceProvider : System.IAsyncDisposable, System.IDisposable, System.IServiceProvider { public void Dispose() => throw null; @@ -31,7 +29,6 @@ namespace Microsoft public object GetService(System.Type serviceType) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceProviderOptions` in `Microsoft.Extensions.DependencyInjection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ServiceProviderOptions { public ServiceProviderOptions() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.cs index 3d4e0149876..36b8d407872 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,14 +9,12 @@ namespace Microsoft { namespace HealthChecks { - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckContext` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthCheckContext { public HealthCheckContext() => throw null; public Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration Registration { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthCheckRegistration { public System.Func Factory { get => throw null; set => throw null; } @@ -29,7 +28,6 @@ namespace Microsoft public System.TimeSpan Timeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct HealthCheckResult { public System.Collections.Generic.IReadOnlyDictionary Data { get => throw null; } @@ -43,7 +41,6 @@ namespace Microsoft public static Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult Unhealthy(string description = default(string), System.Exception exception = default(System.Exception), System.Collections.Generic.IReadOnlyDictionary data = default(System.Collections.Generic.IReadOnlyDictionary)) => throw null; } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthReport` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthReport { public System.Collections.Generic.IReadOnlyDictionary Entries { get => throw null; } @@ -53,7 +50,6 @@ namespace Microsoft public System.TimeSpan TotalDuration { get => throw null; } } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthReportEntry` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct HealthReportEntry { public System.Collections.Generic.IReadOnlyDictionary Data { get => throw null; } @@ -67,7 +63,6 @@ namespace Microsoft public System.Collections.Generic.IEnumerable Tags { get => throw null; } } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum HealthStatus : int { Degraded = 1, @@ -75,13 +70,11 @@ namespace Microsoft Unhealthy = 0, } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHealthCheck { System.Threading.Tasks.Task CheckHealthAsync(Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckContext context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheckPublisher` in `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHealthCheckPublisher { System.Threading.Tasks.Task PublishAsync(Microsoft.Extensions.Diagnostics.HealthChecks.HealthReport report, System.Threading.CancellationToken cancellationToken); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.cs index e8559b0efa3..7b0dead748d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Diagnostics.HealthChecks.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,13 +7,11 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.HealthCheckServiceCollectionExtensions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HealthCheckServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddHealthChecks(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HealthChecksBuilderAddCheckExtensions { public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddCheck(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck instance, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable tags) => throw null; @@ -25,7 +24,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddTypeActivatedCheck(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, params object[] args) where T : class, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.HealthChecksBuilderDelegateExtensions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HealthChecksBuilderDelegateExtensions { public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddAsyncCheck(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, System.Func> check, System.Collections.Generic.IEnumerable tags) => throw null; @@ -38,7 +36,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddCheck(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, System.Func check, System.Collections.Generic.IEnumerable tags = default(System.Collections.Generic.IEnumerable), System.TimeSpan? timeout = default(System.TimeSpan?)) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHealthChecksBuilder { Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder Add(Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration registration); @@ -50,7 +47,6 @@ namespace Microsoft { namespace HealthChecks { - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckPublisherOptions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthCheckPublisherOptions { public System.TimeSpan Delay { get => throw null; set => throw null; } @@ -60,7 +56,6 @@ namespace Microsoft public System.TimeSpan Timeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckService` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HealthCheckService { public System.Threading.Tasks.Task CheckHealthAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -68,7 +63,6 @@ namespace Microsoft protected HealthCheckService() => throw null; } - // Generated from `Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckServiceOptions` in `Microsoft.Extensions.Diagnostics.HealthChecks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HealthCheckServiceOptions { public HealthCheckServiceOptions() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Features.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Features.cs index fadde3ca760..69563ef43fc 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Features.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Features.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Features { - // Generated from `Microsoft.AspNetCore.Http.Features.FeatureCollection` in `Microsoft.Extensions.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FeatureCollection : Microsoft.AspNetCore.Http.Features.IFeatureCollection, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { public FeatureCollection() => throw null; @@ -23,14 +23,12 @@ namespace Microsoft public void Set(TFeature instance) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.FeatureCollectionExtensions` in `Microsoft.Extensions.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class FeatureCollectionExtensions { public static object GetRequiredFeature(this Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection, System.Type key) => throw null; public static TFeature GetRequiredFeature(this Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.FeatureReference<>` in `Microsoft.Extensions.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FeatureReference { public static Microsoft.AspNetCore.Http.Features.FeatureReference Default; @@ -39,7 +37,6 @@ namespace Microsoft public T Update(Microsoft.AspNetCore.Http.Features.IFeatureCollection features, T feature) => throw null; } - // Generated from `Microsoft.AspNetCore.Http.Features.FeatureReferences<>` in `Microsoft.Extensions.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FeatureReferences { public TCache Cache; @@ -53,7 +50,6 @@ namespace Microsoft public int Revision { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Http.Features.IFeatureCollection` in `Microsoft.Extensions.Features, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFeatureCollection : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { TFeature Get(); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Abstractions.cs index 92ab3d2dcaf..f09d2e0fc08 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,13 +7,11 @@ namespace Microsoft { namespace FileProviders { - // Generated from `Microsoft.Extensions.FileProviders.IDirectoryContents` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IDirectoryContents : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { bool Exists { get; } } - // Generated from `Microsoft.Extensions.FileProviders.IFileInfo` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFileInfo { System.IO.Stream CreateReadStream(); @@ -24,7 +23,6 @@ namespace Microsoft string PhysicalPath { get; } } - // Generated from `Microsoft.Extensions.FileProviders.IFileProvider` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IFileProvider { Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string subpath); @@ -32,7 +30,6 @@ namespace Microsoft Microsoft.Extensions.Primitives.IChangeToken Watch(string filter); } - // Generated from `Microsoft.Extensions.FileProviders.NotFoundDirectoryContents` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NotFoundDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public bool Exists { get => throw null; } @@ -42,7 +39,6 @@ namespace Microsoft public static Microsoft.Extensions.FileProviders.NotFoundDirectoryContents Singleton { get => throw null; } } - // Generated from `Microsoft.Extensions.FileProviders.NotFoundFileInfo` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NotFoundFileInfo : Microsoft.Extensions.FileProviders.IFileInfo { public System.IO.Stream CreateReadStream() => throw null; @@ -55,7 +51,6 @@ namespace Microsoft public string PhysicalPath { get => throw null; } } - // Generated from `Microsoft.Extensions.FileProviders.NullChangeToken` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullChangeToken : Microsoft.Extensions.Primitives.IChangeToken { public bool ActiveChangeCallbacks { get => throw null; } @@ -64,7 +59,6 @@ namespace Microsoft public static Microsoft.Extensions.FileProviders.NullChangeToken Singleton { get => throw null; } } - // Generated from `Microsoft.Extensions.FileProviders.NullFileProvider` in `Microsoft.Extensions.FileProviders.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullFileProvider : Microsoft.Extensions.FileProviders.IFileProvider { public Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string subpath) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Composite.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Composite.cs index bffe7a2a01b..de2b0bdd3fd 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Composite.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Composite.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.FileProviders.Composite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace FileProviders { - // Generated from `Microsoft.Extensions.FileProviders.CompositeFileProvider` in `Microsoft.Extensions.FileProviders.Composite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeFileProvider : Microsoft.Extensions.FileProviders.IFileProvider { public CompositeFileProvider(System.Collections.Generic.IEnumerable fileProviders) => throw null; @@ -19,7 +19,6 @@ namespace Microsoft namespace Composite { - // Generated from `Microsoft.Extensions.FileProviders.Composite.CompositeDirectoryContents` in `Microsoft.Extensions.FileProviders.Composite, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public CompositeDirectoryContents(System.Collections.Generic.IList fileProviders, string subpath) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Embedded.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Embedded.cs index ac8922d29ff..98158803de5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Embedded.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Embedded.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.FileProviders.Embedded, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace FileProviders { - // Generated from `Microsoft.Extensions.FileProviders.EmbeddedFileProvider` in `Microsoft.Extensions.FileProviders.Embedded, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EmbeddedFileProvider : Microsoft.Extensions.FileProviders.IFileProvider { public EmbeddedFileProvider(System.Reflection.Assembly assembly) => throw null; @@ -16,7 +16,6 @@ namespace Microsoft public Microsoft.Extensions.Primitives.IChangeToken Watch(string pattern) => throw null; } - // Generated from `Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider` in `Microsoft.Extensions.FileProviders.Embedded, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ManifestEmbeddedFileProvider : Microsoft.Extensions.FileProviders.IFileProvider { public System.Reflection.Assembly Assembly { get => throw null; } @@ -31,7 +30,6 @@ namespace Microsoft namespace Embedded { - // Generated from `Microsoft.Extensions.FileProviders.Embedded.EmbeddedResourceFileInfo` in `Microsoft.Extensions.FileProviders.Embedded, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EmbeddedResourceFileInfo : Microsoft.Extensions.FileProviders.IFileInfo { public System.IO.Stream CreateReadStream() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Physical.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Physical.cs index 938b1ed4b0b..557246dd9f4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Physical.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileProviders.Physical.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace FileProviders { - // Generated from `Microsoft.Extensions.FileProviders.PhysicalFileProvider` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalFileProvider : Microsoft.Extensions.FileProviders.IFileProvider, System.IDisposable { public void Dispose() => throw null; @@ -24,7 +24,6 @@ namespace Microsoft namespace Internal { - // Generated from `Microsoft.Extensions.FileProviders.Internal.PhysicalDirectoryContents` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public bool Exists { get => throw null; } @@ -37,7 +36,6 @@ namespace Microsoft } namespace Physical { - // Generated from `Microsoft.Extensions.FileProviders.Physical.ExclusionFilters` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum ExclusionFilters : int { @@ -48,7 +46,6 @@ namespace Microsoft System = 4, } - // Generated from `Microsoft.Extensions.FileProviders.Physical.PhysicalDirectoryInfo` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalDirectoryInfo : Microsoft.Extensions.FileProviders.IFileInfo { public System.IO.Stream CreateReadStream() => throw null; @@ -61,7 +58,6 @@ namespace Microsoft public string PhysicalPath { get => throw null; } } - // Generated from `Microsoft.Extensions.FileProviders.Physical.PhysicalFileInfo` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalFileInfo : Microsoft.Extensions.FileProviders.IFileInfo { public System.IO.Stream CreateReadStream() => throw null; @@ -74,7 +70,6 @@ namespace Microsoft public string PhysicalPath { get => throw null; } } - // Generated from `Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhysicalFilesWatcher : System.IDisposable { public Microsoft.Extensions.Primitives.IChangeToken CreateFileChangeToken(string filter) => throw null; @@ -85,7 +80,6 @@ namespace Microsoft // ERR: Stub generator didn't handle member: ~PhysicalFilesWatcher } - // Generated from `Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PollingFileChangeToken : Microsoft.Extensions.Primitives.IChangeToken { public bool ActiveChangeCallbacks { get => throw null; } @@ -94,7 +88,6 @@ namespace Microsoft public System.IDisposable RegisterChangeCallback(System.Action callback, object state) => throw null; } - // Generated from `Microsoft.Extensions.FileProviders.Physical.PollingWildCardChangeToken` in `Microsoft.Extensions.FileProviders.Physical, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PollingWildCardChangeToken : Microsoft.Extensions.Primitives.IChangeToken { public bool ActiveChangeCallbacks { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileSystemGlobbing.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileSystemGlobbing.cs index 6661a0412cf..17b83af8040 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileSystemGlobbing.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileSystemGlobbing.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace FileSystemGlobbing { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FilePatternMatch : System.IEquatable { public bool Equals(Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch other) => throw null; @@ -18,7 +18,6 @@ namespace Microsoft public string Stem { get => throw null; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.InMemoryDirectoryInfo` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class InMemoryDirectoryInfo : Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase { public override System.Collections.Generic.IEnumerable EnumerateFileSystemInfos() => throw null; @@ -30,7 +29,6 @@ namespace Microsoft public override Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase ParentDirectory { get => throw null; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Matcher` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Matcher { public virtual Microsoft.Extensions.FileSystemGlobbing.Matcher AddExclude(string pattern) => throw null; @@ -40,7 +38,6 @@ namespace Microsoft public Matcher(System.StringComparison comparisonType) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.MatcherExtensions` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class MatcherExtensions { public static void AddExcludePatterns(this Microsoft.Extensions.FileSystemGlobbing.Matcher matcher, params System.Collections.Generic.IEnumerable[] excludePatternsGroups) => throw null; @@ -52,7 +49,6 @@ namespace Microsoft public static Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult Match(this Microsoft.Extensions.FileSystemGlobbing.Matcher matcher, string rootDir, string file) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PatternMatchingResult { public System.Collections.Generic.IEnumerable Files { get => throw null; set => throw null; } @@ -63,7 +59,6 @@ namespace Microsoft namespace Abstractions { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class DirectoryInfoBase : Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase { protected DirectoryInfoBase() => throw null; @@ -72,7 +67,6 @@ namespace Microsoft public abstract Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase GetFile(string path); } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoWrapper` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DirectoryInfoWrapper : Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase { public DirectoryInfoWrapper(System.IO.DirectoryInfo directoryInfo) => throw null; @@ -84,13 +78,11 @@ namespace Microsoft public override Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase ParentDirectory { get => throw null; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class FileInfoBase : Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase { protected FileInfoBase() => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoWrapper` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class FileInfoWrapper : Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase { public FileInfoWrapper(System.IO.FileInfo fileInfo) => throw null; @@ -99,7 +91,6 @@ namespace Microsoft public override Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase ParentDirectory { get => throw null; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class FileSystemInfoBase { protected FileSystemInfoBase() => throw null; @@ -111,27 +102,23 @@ namespace Microsoft } namespace Internal { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.ILinearPattern` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILinearPattern : Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern { System.Collections.Generic.IList Segments { get; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPathSegment { bool CanProduceStem { get; } bool Match(string value); } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPattern { Microsoft.Extensions.FileSystemGlobbing.Internal.IPatternContext CreatePatternContextForExclude(); Microsoft.Extensions.FileSystemGlobbing.Internal.IPatternContext CreatePatternContextForInclude(); } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.IPatternContext` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPatternContext { void Declare(System.Action onDeclare); @@ -141,7 +128,6 @@ namespace Microsoft Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase file); } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.IRaggedPattern` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRaggedPattern : Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern { System.Collections.Generic.IList> Contains { get; } @@ -150,14 +136,12 @@ namespace Microsoft System.Collections.Generic.IList StartsWith { get; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MatcherContext { public Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult Execute() => throw null; public MatcherContext(System.Collections.Generic.IEnumerable includePatterns, System.Collections.Generic.IEnumerable excludePatterns, Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase directoryInfo, System.StringComparison comparison) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct PatternTestResult { public static Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult Failed; @@ -169,7 +153,6 @@ namespace Microsoft namespace PathSegments { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.CurrentPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CurrentPathSegment : Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment { public bool CanProduceStem { get => throw null; } @@ -177,7 +160,6 @@ namespace Microsoft public bool Match(string value) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.LiteralPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LiteralPathSegment : Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment { public bool CanProduceStem { get => throw null; } @@ -188,7 +170,6 @@ namespace Microsoft public string Value { get => throw null; } } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.ParentPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ParentPathSegment : Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment { public bool CanProduceStem { get => throw null; } @@ -196,7 +177,6 @@ namespace Microsoft public ParentPathSegment() => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.RecursiveWildcardSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RecursiveWildcardSegment : Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment { public bool CanProduceStem { get => throw null; } @@ -204,7 +184,6 @@ namespace Microsoft public RecursiveWildcardSegment() => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.WildcardPathSegment` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WildcardPathSegment : Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment { public string BeginsWith { get => throw null; } @@ -219,7 +198,6 @@ namespace Microsoft } namespace PatternContexts { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContext<>` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PatternContext : Microsoft.Extensions.FileSystemGlobbing.Internal.IPatternContext where TFrame : struct { public virtual void Declare(System.Action declare) => throw null; @@ -233,10 +211,8 @@ namespace Microsoft public abstract Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase file); } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinear` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PatternContextLinear : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContext { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinear+FrameData` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FrameData { // Stub generator skipped constructor @@ -257,14 +233,12 @@ namespace Microsoft protected bool TestMatchingSegment(string value) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinearExclude` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PatternContextLinearExclude : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinear { public PatternContextLinearExclude(Microsoft.Extensions.FileSystemGlobbing.Internal.ILinearPattern pattern) : base(default(Microsoft.Extensions.FileSystemGlobbing.Internal.ILinearPattern)) => throw null; public override bool Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase directory) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinearInclude` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PatternContextLinearInclude : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinear { public override void Declare(System.Action onDeclare) => throw null; @@ -272,10 +246,8 @@ namespace Microsoft public override bool Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase directory) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRagged` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PatternContextRagged : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContext { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRagged+FrameData` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct FrameData { public int BacktrackAvailable; @@ -302,14 +274,12 @@ namespace Microsoft protected bool TestMatchingSegment(string value) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRaggedExclude` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PatternContextRaggedExclude : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRagged { public PatternContextRaggedExclude(Microsoft.Extensions.FileSystemGlobbing.Internal.IRaggedPattern pattern) : base(default(Microsoft.Extensions.FileSystemGlobbing.Internal.IRaggedPattern)) => throw null; public override bool Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase directory) => throw null; } - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRaggedInclude` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PatternContextRaggedInclude : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRagged { public override void Declare(System.Action onDeclare) => throw null; @@ -320,7 +290,6 @@ namespace Microsoft } namespace Patterns { - // Generated from `Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns.PatternBuilder` in `Microsoft.Extensions.FileSystemGlobbing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PatternBuilder { public Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern Build(string pattern) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.Abstractions.cs index ed1aa1ed9fa..47adebded54 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.ServiceCollectionHostedServiceExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ServiceCollectionHostedServiceExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHostedService(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where THostedService : class, Microsoft.Extensions.Hosting.IHostedService => throw null; @@ -16,7 +16,6 @@ namespace Microsoft } namespace Hosting { - // Generated from `Microsoft.Extensions.Hosting.BackgroundService` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class BackgroundService : Microsoft.Extensions.Hosting.IHostedService, System.IDisposable { protected BackgroundService() => throw null; @@ -27,7 +26,6 @@ namespace Microsoft public virtual System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.EnvironmentName` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EnvironmentName { public static string Development; @@ -35,7 +33,6 @@ namespace Microsoft public static string Staging; } - // Generated from `Microsoft.Extensions.Hosting.Environments` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Environments { public static string Development; @@ -43,7 +40,6 @@ namespace Microsoft public static string Staging; } - // Generated from `Microsoft.Extensions.Hosting.HostAbortedException` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostAbortedException : System.Exception { public HostAbortedException() => throw null; @@ -51,7 +47,6 @@ namespace Microsoft public HostAbortedException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.HostBuilderContext` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostBuilderContext { public Microsoft.Extensions.Configuration.IConfiguration Configuration { get => throw null; set => throw null; } @@ -60,7 +55,6 @@ namespace Microsoft public System.Collections.Generic.IDictionary Properties { get => throw null; } } - // Generated from `Microsoft.Extensions.Hosting.HostDefaults` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostDefaults { public static string ApplicationKey; @@ -68,7 +62,6 @@ namespace Microsoft public static string EnvironmentKey; } - // Generated from `Microsoft.Extensions.Hosting.HostEnvironmentEnvExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostEnvironmentEnvExtensions { public static bool IsDevelopment(this Microsoft.Extensions.Hosting.IHostEnvironment hostEnvironment) => throw null; @@ -77,14 +70,12 @@ namespace Microsoft public static bool IsStaging(this Microsoft.Extensions.Hosting.IHostEnvironment hostEnvironment) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.HostingAbstractionsHostBuilderExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostingAbstractionsHostBuilderExtensions { public static Microsoft.Extensions.Hosting.IHost Start(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder) => throw null; public static System.Threading.Tasks.Task StartAsync(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostingAbstractionsHostExtensions { public static void Run(this Microsoft.Extensions.Hosting.IHost host) => throw null; @@ -95,7 +86,6 @@ namespace Microsoft public static System.Threading.Tasks.Task WaitForShutdownAsync(this Microsoft.Extensions.Hosting.IHost host, System.Threading.CancellationToken token = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.HostingEnvironmentExtensions` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostingEnvironmentExtensions { public static bool IsDevelopment(this Microsoft.Extensions.Hosting.IHostingEnvironment hostingEnvironment) => throw null; @@ -104,7 +94,6 @@ namespace Microsoft public static bool IsStaging(this Microsoft.Extensions.Hosting.IHostingEnvironment hostingEnvironment) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.IApplicationLifetime` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IApplicationLifetime { System.Threading.CancellationToken ApplicationStarted { get; } @@ -113,7 +102,6 @@ namespace Microsoft void StopApplication(); } - // Generated from `Microsoft.Extensions.Hosting.IHost` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHost : System.IDisposable { System.IServiceProvider Services { get; } @@ -121,7 +109,6 @@ namespace Microsoft System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.Extensions.Hosting.IHostApplicationLifetime` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostApplicationLifetime { System.Threading.CancellationToken ApplicationStarted { get; } @@ -130,7 +117,6 @@ namespace Microsoft void StopApplication(); } - // Generated from `Microsoft.Extensions.Hosting.IHostBuilder` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostBuilder { Microsoft.Extensions.Hosting.IHost Build(); @@ -143,7 +129,6 @@ namespace Microsoft Microsoft.Extensions.Hosting.IHostBuilder UseServiceProviderFactory(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory factory); } - // Generated from `Microsoft.Extensions.Hosting.IHostEnvironment` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostEnvironment { string ApplicationName { get; set; } @@ -152,21 +137,18 @@ namespace Microsoft string EnvironmentName { get; set; } } - // Generated from `Microsoft.Extensions.Hosting.IHostLifetime` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostLifetime { System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken); System.Threading.Tasks.Task WaitForStartAsync(System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.Extensions.Hosting.IHostedService` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostedService { System.Threading.Tasks.Task StartAsync(System.Threading.CancellationToken cancellationToken); System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.Extensions.Hosting.IHostingEnvironment` in `Microsoft.Extensions.Hosting.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHostingEnvironment { string ApplicationName { get; set; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.cs index bee227262b5..8e078972865 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Hosting.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.OptionsBuilderExtensions` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OptionsBuilderExtensions { public static Microsoft.Extensions.Options.OptionsBuilder ValidateOnStart(this Microsoft.Extensions.Options.OptionsBuilder optionsBuilder) where TOptions : class => throw null; @@ -15,21 +15,18 @@ namespace Microsoft } namespace Hosting { - // Generated from `Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum BackgroundServiceExceptionBehavior : int { Ignore = 1, StopHost = 0, } - // Generated from `Microsoft.Extensions.Hosting.ConsoleLifetimeOptions` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsoleLifetimeOptions { public ConsoleLifetimeOptions() => throw null; public bool SuppressStatusMessages { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Hosting.Host` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Host { public static Microsoft.Extensions.Hosting.HostApplicationBuilder CreateApplicationBuilder() => throw null; @@ -38,7 +35,6 @@ namespace Microsoft public static Microsoft.Extensions.Hosting.IHostBuilder CreateDefaultBuilder(string[] args) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.HostApplicationBuilder` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostApplicationBuilder { public Microsoft.Extensions.Hosting.IHost Build() => throw null; @@ -52,7 +48,6 @@ namespace Microsoft public Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get => throw null; } } - // Generated from `Microsoft.Extensions.Hosting.HostApplicationBuilderSettings` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostApplicationBuilderSettings { public string ApplicationName { get => throw null; set => throw null; } @@ -64,7 +59,6 @@ namespace Microsoft public HostApplicationBuilderSettings() => throw null; } - // Generated from `Microsoft.Extensions.Hosting.HostBuilder` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostBuilder : Microsoft.Extensions.Hosting.IHostBuilder { public Microsoft.Extensions.Hosting.IHost Build() => throw null; @@ -78,7 +72,6 @@ namespace Microsoft public Microsoft.Extensions.Hosting.IHostBuilder UseServiceProviderFactory(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory factory) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.HostOptions` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostOptions { public Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior BackgroundServiceExceptionBehavior { get => throw null; set => throw null; } @@ -86,7 +79,6 @@ namespace Microsoft public System.TimeSpan ShutdownTimeout { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Hosting.HostingHostBuilderExtensions` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HostingHostBuilderExtensions { public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureAppConfiguration(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action configureDelegate) => throw null; @@ -109,7 +101,6 @@ namespace Microsoft namespace Internal { - // Generated from `Microsoft.Extensions.Hosting.Internal.ApplicationLifetime` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ApplicationLifetime : Microsoft.Extensions.Hosting.IApplicationLifetime, Microsoft.Extensions.Hosting.IHostApplicationLifetime { public ApplicationLifetime(Microsoft.Extensions.Logging.ILogger logger) => throw null; @@ -121,7 +112,6 @@ namespace Microsoft public void StopApplication() => throw null; } - // Generated from `Microsoft.Extensions.Hosting.Internal.ConsoleLifetime` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsoleLifetime : Microsoft.Extensions.Hosting.IHostLifetime, System.IDisposable { public ConsoleLifetime(Microsoft.Extensions.Options.IOptions options, Microsoft.Extensions.Hosting.IHostEnvironment environment, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime, Microsoft.Extensions.Options.IOptions hostOptions) => throw null; @@ -131,7 +121,6 @@ namespace Microsoft public System.Threading.Tasks.Task WaitForStartAsync(System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.Extensions.Hosting.Internal.HostingEnvironment` in `Microsoft.Extensions.Hosting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HostingEnvironment : Microsoft.Extensions.Hosting.IHostEnvironment, Microsoft.Extensions.Hosting.IHostingEnvironment { public string ApplicationName { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Http.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Http.cs index abd4e465a59..64f9e39c787 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Http.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Http.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.HttpClientBuilderExtensions` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpClientBuilderExtensions { public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder AddHttpMessageHandler(this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder, System.Func configureHandler) => throw null; @@ -27,7 +27,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder SetHandlerLifetime(this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder, System.TimeSpan handlerLifetime) => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.HttpClientFactoryServiceCollectionExtensions` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpClientFactoryServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHttpClient(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -52,7 +51,6 @@ namespace Microsoft public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder AddHttpClient(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, System.Action configureClient) where TClient : class => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.IHttpClientBuilder` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpClientBuilder { string Name { get; } @@ -62,7 +60,6 @@ namespace Microsoft } namespace Http { - // Generated from `Microsoft.Extensions.Http.HttpClientFactoryOptions` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HttpClientFactoryOptions { public System.TimeSpan HandlerLifetime { get => throw null; set => throw null; } @@ -73,7 +70,6 @@ namespace Microsoft public bool SuppressHandlerScope { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Http.HttpMessageHandlerBuilder` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class HttpMessageHandlerBuilder { public abstract System.Collections.Generic.IList AdditionalHandlers { get; } @@ -85,13 +81,11 @@ namespace Microsoft public virtual System.IServiceProvider Services { get => throw null; } } - // Generated from `Microsoft.Extensions.Http.IHttpMessageHandlerBuilderFilter` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpMessageHandlerBuilderFilter { System.Action Configure(System.Action next); } - // Generated from `Microsoft.Extensions.Http.ITypedHttpClientFactory<>` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ITypedHttpClientFactory { TClient CreateClient(System.Net.Http.HttpClient httpClient); @@ -99,7 +93,6 @@ namespace Microsoft namespace Logging { - // Generated from `Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggingHttpMessageHandler : System.Net.Http.DelegatingHandler { public LoggingHttpMessageHandler(Microsoft.Extensions.Logging.ILogger logger) => throw null; @@ -107,7 +100,6 @@ namespace Microsoft protected internal override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggingScopeHttpMessageHandler : System.Net.Http.DelegatingHandler { public LoggingScopeHttpMessageHandler(Microsoft.Extensions.Logging.ILogger logger) => throw null; @@ -125,25 +117,21 @@ namespace System { namespace Http { - // Generated from `System.Net.Http.HttpClientFactoryExtensions` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpClientFactoryExtensions { public static System.Net.Http.HttpClient CreateClient(this System.Net.Http.IHttpClientFactory factory) => throw null; } - // Generated from `System.Net.Http.HttpMessageHandlerFactoryExtensions` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HttpMessageHandlerFactoryExtensions { public static System.Net.Http.HttpMessageHandler CreateHandler(this System.Net.Http.IHttpMessageHandlerFactory factory) => throw null; } - // Generated from `System.Net.Http.IHttpClientFactory` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpClientFactory { System.Net.Http.HttpClient CreateClient(string name); } - // Generated from `System.Net.Http.IHttpMessageHandlerFactory` in `Microsoft.Extensions.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IHttpMessageHandlerFactory { System.Net.Http.HttpMessageHandler CreateHandler(string name); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Core.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Core.cs index 04d91f6d3ce..f4ad09fbca6 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Core.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Core.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Identity { - // Generated from `Microsoft.AspNetCore.Identity.AuthenticatorTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class AuthenticatorTokenProvider : Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider where TUser : class { public AuthenticatorTokenProvider() => throw null; @@ -15,7 +15,6 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ValidateAsync(string purpose, string token, Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.ClaimsIdentityOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ClaimsIdentityOptions { public ClaimsIdentityOptions() => throw null; @@ -26,7 +25,6 @@ namespace Microsoft public string UserNameClaimType { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.DefaultPersonalDataProtector` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultPersonalDataProtector : Microsoft.AspNetCore.Identity.IPersonalDataProtector { public DefaultPersonalDataProtector(Microsoft.AspNetCore.Identity.ILookupProtectorKeyRing keyRing, Microsoft.AspNetCore.Identity.ILookupProtector protector) => throw null; @@ -34,14 +32,12 @@ namespace Microsoft public virtual string Unprotect(string data) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.DefaultUserConfirmation<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultUserConfirmation : Microsoft.AspNetCore.Identity.IUserConfirmation where TUser : class { public DefaultUserConfirmation() => throw null; public virtual System.Threading.Tasks.Task IsConfirmedAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.EmailTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EmailTokenProvider : Microsoft.AspNetCore.Identity.TotpSecurityStampBasedTokenProvider where TUser : class { public override System.Threading.Tasks.Task CanGenerateTwoFactorTokenAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; @@ -49,21 +45,18 @@ namespace Microsoft public override System.Threading.Tasks.Task GetUserModifierAsync(string purpose, Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.ILookupNormalizer` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILookupNormalizer { string NormalizeEmail(string email); string NormalizeName(string name); } - // Generated from `Microsoft.AspNetCore.Identity.ILookupProtector` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILookupProtector { string Protect(string keyId, string data); string Unprotect(string keyId, string data); } - // Generated from `Microsoft.AspNetCore.Identity.ILookupProtectorKeyRing` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILookupProtectorKeyRing { string CurrentKeyId { get; } @@ -71,44 +64,37 @@ namespace Microsoft string this[string keyId] { get; } } - // Generated from `Microsoft.AspNetCore.Identity.IPasswordHasher<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPasswordHasher where TUser : class { string HashPassword(TUser user, string password); Microsoft.AspNetCore.Identity.PasswordVerificationResult VerifyHashedPassword(TUser user, string hashedPassword, string providedPassword); } - // Generated from `Microsoft.AspNetCore.Identity.IPasswordValidator<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPasswordValidator where TUser : class { System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user, string password); } - // Generated from `Microsoft.AspNetCore.Identity.IPersonalDataProtector` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPersonalDataProtector { string Protect(string data); string Unprotect(string data); } - // Generated from `Microsoft.AspNetCore.Identity.IProtectedUserStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IProtectedUserStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { } - // Generated from `Microsoft.AspNetCore.Identity.IQueryableRoleStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IQueryableRoleStore : Microsoft.AspNetCore.Identity.IRoleStore, System.IDisposable where TRole : class { System.Linq.IQueryable Roles { get; } } - // Generated from `Microsoft.AspNetCore.Identity.IQueryableUserStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IQueryableUserStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Linq.IQueryable Users { get; } } - // Generated from `Microsoft.AspNetCore.Identity.IRoleClaimStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRoleClaimStore : Microsoft.AspNetCore.Identity.IRoleStore, System.IDisposable where TRole : class { System.Threading.Tasks.Task AddClaimAsync(TRole role, System.Security.Claims.Claim claim, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -116,7 +102,6 @@ namespace Microsoft System.Threading.Tasks.Task RemoveClaimAsync(TRole role, System.Security.Claims.Claim claim, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Identity.IRoleStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRoleStore : System.IDisposable where TRole : class { System.Threading.Tasks.Task CreateAsync(TRole role, System.Threading.CancellationToken cancellationToken); @@ -131,13 +116,11 @@ namespace Microsoft System.Threading.Tasks.Task UpdateAsync(TRole role, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IRoleValidator<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IRoleValidator where TRole : class { System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Identity.RoleManager manager, TRole role); } - // Generated from `Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserAuthenticationTokenStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetTokenAsync(TUser user, string loginProvider, string name, System.Threading.CancellationToken cancellationToken); @@ -145,14 +128,12 @@ namespace Microsoft System.Threading.Tasks.Task SetTokenAsync(TUser user, string loginProvider, string name, string value, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserAuthenticatorKeyStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserAuthenticatorKeyStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetAuthenticatorKeyAsync(TUser user, System.Threading.CancellationToken cancellationToken); System.Threading.Tasks.Task SetAuthenticatorKeyAsync(TUser user, string key, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserClaimStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserClaimStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task AddClaimsAsync(TUser user, System.Collections.Generic.IEnumerable claims, System.Threading.CancellationToken cancellationToken); @@ -162,19 +143,16 @@ namespace Microsoft System.Threading.Tasks.Task ReplaceClaimAsync(TUser user, System.Security.Claims.Claim claim, System.Security.Claims.Claim newClaim, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserClaimsPrincipalFactory where TUser : class { System.Threading.Tasks.Task CreateAsync(TUser user); } - // Generated from `Microsoft.AspNetCore.Identity.IUserConfirmation<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserConfirmation where TUser : class { System.Threading.Tasks.Task IsConfirmedAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user); } - // Generated from `Microsoft.AspNetCore.Identity.IUserEmailStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserEmailStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task FindByEmailAsync(string normalizedEmail, System.Threading.CancellationToken cancellationToken); @@ -186,7 +164,6 @@ namespace Microsoft System.Threading.Tasks.Task SetNormalizedEmailAsync(TUser user, string normalizedEmail, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserLockoutStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserLockoutStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetAccessFailedCountAsync(TUser user, System.Threading.CancellationToken cancellationToken); @@ -198,7 +175,6 @@ namespace Microsoft System.Threading.Tasks.Task SetLockoutEndDateAsync(TUser user, System.DateTimeOffset? lockoutEnd, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserLoginStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserLoginStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task AddLoginAsync(TUser user, Microsoft.AspNetCore.Identity.UserLoginInfo login, System.Threading.CancellationToken cancellationToken); @@ -207,7 +183,6 @@ namespace Microsoft System.Threading.Tasks.Task RemoveLoginAsync(TUser user, string loginProvider, string providerKey, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserPasswordStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserPasswordStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetPasswordHashAsync(TUser user, System.Threading.CancellationToken cancellationToken); @@ -215,7 +190,6 @@ namespace Microsoft System.Threading.Tasks.Task SetPasswordHashAsync(TUser user, string passwordHash, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserPhoneNumberStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserPhoneNumberStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetPhoneNumberAsync(TUser user, System.Threading.CancellationToken cancellationToken); @@ -224,7 +198,6 @@ namespace Microsoft System.Threading.Tasks.Task SetPhoneNumberConfirmedAsync(TUser user, bool confirmed, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserRoleStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserRoleStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task AddToRoleAsync(TUser user, string roleName, System.Threading.CancellationToken cancellationToken); @@ -234,14 +207,12 @@ namespace Microsoft System.Threading.Tasks.Task RemoveFromRoleAsync(TUser user, string roleName, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserSecurityStampStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserSecurityStampStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetSecurityStampAsync(TUser user, System.Threading.CancellationToken cancellationToken); System.Threading.Tasks.Task SetSecurityStampAsync(TUser user, string stamp, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserStore : System.IDisposable where TUser : class { System.Threading.Tasks.Task CreateAsync(TUser user, System.Threading.CancellationToken cancellationToken); @@ -256,7 +227,6 @@ namespace Microsoft System.Threading.Tasks.Task UpdateAsync(TUser user, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserTwoFactorRecoveryCodeStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserTwoFactorRecoveryCodeStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task CountCodesAsync(TUser user, System.Threading.CancellationToken cancellationToken); @@ -264,14 +234,12 @@ namespace Microsoft System.Threading.Tasks.Task ReplaceCodesAsync(TUser user, System.Collections.Generic.IEnumerable recoveryCodes, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserTwoFactorStore<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserTwoFactorStore : Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TUser : class { System.Threading.Tasks.Task GetTwoFactorEnabledAsync(TUser user, System.Threading.CancellationToken cancellationToken); System.Threading.Tasks.Task SetTwoFactorEnabledAsync(TUser user, bool enabled, System.Threading.CancellationToken cancellationToken); } - // Generated from `Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserTwoFactorTokenProvider where TUser : class { System.Threading.Tasks.Task CanGenerateTwoFactorTokenAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user); @@ -279,13 +247,11 @@ namespace Microsoft System.Threading.Tasks.Task ValidateAsync(string purpose, string token, Microsoft.AspNetCore.Identity.UserManager manager, TUser user); } - // Generated from `Microsoft.AspNetCore.Identity.IUserValidator<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IUserValidator where TUser : class { System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user); } - // Generated from `Microsoft.AspNetCore.Identity.IdentityBuilder` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityBuilder { public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddClaimsPrincipalFactory() where TFactory : class => throw null; @@ -309,7 +275,6 @@ namespace Microsoft public System.Type UserType { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.IdentityError` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityError { public string Code { get => throw null; set => throw null; } @@ -317,7 +282,6 @@ namespace Microsoft public IdentityError() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityErrorDescriber` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityErrorDescriber { public virtual Microsoft.AspNetCore.Identity.IdentityError ConcurrencyFailure() => throw null; @@ -345,7 +309,6 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Identity.IdentityError UserNotInRole(string role) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityOptions { public Microsoft.AspNetCore.Identity.ClaimsIdentityOptions ClaimsIdentity { get => throw null; set => throw null; } @@ -358,7 +321,6 @@ namespace Microsoft public Microsoft.AspNetCore.Identity.UserOptions User { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.IdentityResult` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityResult { public System.Collections.Generic.IEnumerable Errors { get => throw null; } @@ -369,7 +331,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.LockoutOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LockoutOptions { public bool AllowedForNewUsers { get => throw null; set => throw null; } @@ -378,7 +339,6 @@ namespace Microsoft public int MaxFailedAccessAttempts { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.PasswordHasher<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PasswordHasher : Microsoft.AspNetCore.Identity.IPasswordHasher where TUser : class { public virtual string HashPassword(TUser user, string password) => throw null; @@ -386,14 +346,12 @@ namespace Microsoft public virtual Microsoft.AspNetCore.Identity.PasswordVerificationResult VerifyHashedPassword(TUser user, string hashedPassword, string providedPassword) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum PasswordHasherCompatibilityMode : int { IdentityV2 = 0, IdentityV3 = 1, } - // Generated from `Microsoft.AspNetCore.Identity.PasswordHasherOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PasswordHasherOptions { public Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode CompatibilityMode { get => throw null; set => throw null; } @@ -401,7 +359,6 @@ namespace Microsoft public PasswordHasherOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.PasswordOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PasswordOptions { public PasswordOptions() => throw null; @@ -413,7 +370,6 @@ namespace Microsoft public int RequiredUniqueChars { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.PasswordValidator<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PasswordValidator : Microsoft.AspNetCore.Identity.IPasswordValidator where TUser : class { public Microsoft.AspNetCore.Identity.IdentityErrorDescriber Describer { get => throw null; } @@ -425,7 +381,6 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user, string password) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.PasswordVerificationResult` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum PasswordVerificationResult : int { Failed = 0, @@ -433,13 +388,11 @@ namespace Microsoft SuccessRehashNeeded = 2, } - // Generated from `Microsoft.AspNetCore.Identity.PersonalDataAttribute` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PersonalDataAttribute : System.Attribute { public PersonalDataAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.PhoneNumberTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PhoneNumberTokenProvider : Microsoft.AspNetCore.Identity.TotpSecurityStampBasedTokenProvider where TUser : class { public override System.Threading.Tasks.Task CanGenerateTwoFactorTokenAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; @@ -447,13 +400,11 @@ namespace Microsoft public PhoneNumberTokenProvider() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.ProtectedPersonalDataAttribute` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProtectedPersonalDataAttribute : Microsoft.AspNetCore.Identity.PersonalDataAttribute { public ProtectedPersonalDataAttribute() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.RoleManager<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoleManager : System.IDisposable where TRole : class { public virtual System.Threading.Tasks.Task AddClaimAsync(TRole role, System.Security.Claims.Claim claim) => throw null; @@ -487,14 +438,12 @@ namespace Microsoft protected virtual System.Threading.Tasks.Task ValidateRoleAsync(TRole role) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.RoleValidator<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RoleValidator : Microsoft.AspNetCore.Identity.IRoleValidator where TRole : class { public RoleValidator(Microsoft.AspNetCore.Identity.IdentityErrorDescriber errors = default(Microsoft.AspNetCore.Identity.IdentityErrorDescriber)) => throw null; public virtual System.Threading.Tasks.Task ValidateAsync(Microsoft.AspNetCore.Identity.RoleManager manager, TRole role) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.SignInOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SignInOptions { public bool RequireConfirmedAccount { get => throw null; set => throw null; } @@ -503,7 +452,6 @@ namespace Microsoft public SignInOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.SignInResult` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SignInResult { public static Microsoft.AspNetCore.Identity.SignInResult Failed { get => throw null; } @@ -519,7 +467,6 @@ namespace Microsoft public static Microsoft.AspNetCore.Identity.SignInResult TwoFactorRequired { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.StoreOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StoreOptions { public int MaxLengthForKeys { get => throw null; set => throw null; } @@ -527,7 +474,6 @@ namespace Microsoft public StoreOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.TokenOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TokenOptions { public string AuthenticatorIssuer { get => throw null; set => throw null; } @@ -544,7 +490,6 @@ namespace Microsoft public TokenOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.TokenProviderDescriptor` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TokenProviderDescriptor { public object ProviderInstance { get => throw null; set => throw null; } @@ -552,7 +497,6 @@ namespace Microsoft public TokenProviderDescriptor(System.Type type) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.TotpSecurityStampBasedTokenProvider<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class TotpSecurityStampBasedTokenProvider : Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider where TUser : class { public abstract System.Threading.Tasks.Task CanGenerateTwoFactorTokenAsync(Microsoft.AspNetCore.Identity.UserManager manager, TUser user); @@ -562,7 +506,6 @@ namespace Microsoft public virtual System.Threading.Tasks.Task ValidateAsync(string purpose, string token, Microsoft.AspNetCore.Identity.UserManager manager, TUser user) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UpperInvariantLookupNormalizer` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UpperInvariantLookupNormalizer : Microsoft.AspNetCore.Identity.ILookupNormalizer { public string NormalizeEmail(string email) => throw null; @@ -570,7 +513,6 @@ namespace Microsoft public UpperInvariantLookupNormalizer() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<,>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserClaimsPrincipalFactory : Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory where TRole : class where TUser : class { protected override System.Threading.Tasks.Task GenerateClaimsAsync(TUser user) => throw null; @@ -578,7 +520,6 @@ namespace Microsoft public UserClaimsPrincipalFactory(Microsoft.AspNetCore.Identity.UserManager userManager, Microsoft.AspNetCore.Identity.RoleManager roleManager, Microsoft.Extensions.Options.IOptions options) : base(default(Microsoft.AspNetCore.Identity.UserManager), default(Microsoft.Extensions.Options.IOptions)) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserClaimsPrincipalFactory : Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory where TUser : class { public virtual System.Threading.Tasks.Task CreateAsync(TUser user) => throw null; @@ -588,7 +529,6 @@ namespace Microsoft public Microsoft.AspNetCore.Identity.UserManager UserManager { get => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.UserLoginInfo` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserLoginInfo { public string LoginProvider { get => throw null; set => throw null; } @@ -597,7 +537,6 @@ namespace Microsoft public UserLoginInfo(string loginProvider, string providerKey, string displayName) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UserManager<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserManager : System.IDisposable where TUser : class { public virtual System.Threading.Tasks.Task AccessFailedAsync(TUser user) => throw null; @@ -723,7 +662,6 @@ namespace Microsoft public virtual System.Threading.Tasks.Task VerifyUserTokenAsync(TUser user, string tokenProvider, string purpose, string token) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UserOptions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserOptions { public string AllowedUserNameCharacters { get => throw null; set => throw null; } @@ -731,7 +669,6 @@ namespace Microsoft public UserOptions() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UserValidator<>` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UserValidator : Microsoft.AspNetCore.Identity.IUserValidator where TUser : class { public Microsoft.AspNetCore.Identity.IdentityErrorDescriber Describer { get => throw null; } @@ -745,7 +682,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.IdentityServiceCollectionExtensions` in `Microsoft.AspNetCore.Identity, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class IdentityServiceCollectionExtensions { public static Microsoft.AspNetCore.Identity.IdentityBuilder AddIdentityCore(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TUser : class => throw null; @@ -761,7 +697,6 @@ namespace System { namespace Claims { - // Generated from `System.Security.Claims.PrincipalExtensions` in `Microsoft.Extensions.Identity.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class PrincipalExtensions { public static string FindFirstValue(this System.Security.Claims.ClaimsPrincipal principal, string claimType) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Stores.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Stores.cs index 081159b6170..9784752a233 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Stores.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Identity.Stores.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,14 +7,12 @@ namespace Microsoft { namespace Identity { - // Generated from `Microsoft.AspNetCore.Identity.IdentityRole` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityRole : Microsoft.AspNetCore.Identity.IdentityRole { public IdentityRole() => throw null; public IdentityRole(string roleName) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityRole<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityRole where TKey : System.IEquatable { public virtual string ConcurrencyStamp { get => throw null; set => throw null; } @@ -25,7 +24,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityRoleClaim<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityRoleClaim where TKey : System.IEquatable { public virtual string ClaimType { get => throw null; set => throw null; } @@ -37,14 +35,12 @@ namespace Microsoft public virtual System.Security.Claims.Claim ToClaim() => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityUser` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityUser : Microsoft.AspNetCore.Identity.IdentityUser { public IdentityUser() => throw null; public IdentityUser(string userName) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.IdentityUser<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityUser where TKey : System.IEquatable { public virtual int AccessFailedCount { get => throw null; set => throw null; } @@ -67,7 +63,6 @@ namespace Microsoft public virtual string UserName { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.IdentityUserClaim<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityUserClaim where TKey : System.IEquatable { public virtual string ClaimType { get => throw null; set => throw null; } @@ -79,7 +74,6 @@ namespace Microsoft public virtual TKey UserId { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.IdentityUserLogin<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityUserLogin where TKey : System.IEquatable { public IdentityUserLogin() => throw null; @@ -89,7 +83,6 @@ namespace Microsoft public virtual TKey UserId { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.IdentityUserRole<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityUserRole where TKey : System.IEquatable { public IdentityUserRole() => throw null; @@ -97,7 +90,6 @@ namespace Microsoft public virtual TKey UserId { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.IdentityUserToken<>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class IdentityUserToken where TKey : System.IEquatable { public IdentityUserToken() => throw null; @@ -107,7 +99,6 @@ namespace Microsoft public virtual string Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.AspNetCore.Identity.RoleStoreBase<,,,>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class RoleStoreBase : Microsoft.AspNetCore.Identity.IQueryableRoleStore, Microsoft.AspNetCore.Identity.IRoleClaimStore, Microsoft.AspNetCore.Identity.IRoleStore, System.IDisposable where TKey : System.IEquatable where TRole : Microsoft.AspNetCore.Identity.IdentityRole where TRoleClaim : Microsoft.AspNetCore.Identity.IdentityRoleClaim, new() where TUserRole : Microsoft.AspNetCore.Identity.IdentityUserRole, new() { public abstract System.Threading.Tasks.Task AddClaimAsync(TRole role, System.Security.Claims.Claim claim, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -133,7 +124,6 @@ namespace Microsoft public abstract System.Threading.Tasks.Task UpdateAsync(TRole role, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.AspNetCore.Identity.UserStoreBase<,,,,,,,>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class UserStoreBase : Microsoft.AspNetCore.Identity.UserStoreBase, Microsoft.AspNetCore.Identity.IUserRoleStore, Microsoft.AspNetCore.Identity.IUserStore, System.IDisposable where TKey : System.IEquatable where TRole : Microsoft.AspNetCore.Identity.IdentityRole where TRoleClaim : Microsoft.AspNetCore.Identity.IdentityRoleClaim, new() where TUser : Microsoft.AspNetCore.Identity.IdentityUser where TUserClaim : Microsoft.AspNetCore.Identity.IdentityUserClaim, new() where TUserLogin : Microsoft.AspNetCore.Identity.IdentityUserLogin, new() where TUserRole : Microsoft.AspNetCore.Identity.IdentityUserRole, new() where TUserToken : Microsoft.AspNetCore.Identity.IdentityUserToken, new() { public abstract System.Threading.Tasks.Task AddToRoleAsync(TUser user, string normalizedRoleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -147,7 +137,6 @@ namespace Microsoft public UserStoreBase(Microsoft.AspNetCore.Identity.IdentityErrorDescriber describer) : base(default(Microsoft.AspNetCore.Identity.IdentityErrorDescriber)) => throw null; } - // Generated from `Microsoft.AspNetCore.Identity.UserStoreBase<,,,,>` in `Microsoft.Extensions.Identity.Stores, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class UserStoreBase : Microsoft.AspNetCore.Identity.IQueryableUserStore, Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore, Microsoft.AspNetCore.Identity.IUserAuthenticatorKeyStore, Microsoft.AspNetCore.Identity.IUserClaimStore, Microsoft.AspNetCore.Identity.IUserEmailStore, Microsoft.AspNetCore.Identity.IUserLockoutStore, Microsoft.AspNetCore.Identity.IUserLoginStore, Microsoft.AspNetCore.Identity.IUserPasswordStore, Microsoft.AspNetCore.Identity.IUserPhoneNumberStore, Microsoft.AspNetCore.Identity.IUserSecurityStampStore, Microsoft.AspNetCore.Identity.IUserStore, Microsoft.AspNetCore.Identity.IUserTwoFactorRecoveryCodeStore, Microsoft.AspNetCore.Identity.IUserTwoFactorStore, System.IDisposable where TKey : System.IEquatable where TUser : Microsoft.AspNetCore.Identity.IdentityUser where TUserClaim : Microsoft.AspNetCore.Identity.IdentityUserClaim, new() where TUserLogin : Microsoft.AspNetCore.Identity.IdentityUserLogin, new() where TUserToken : Microsoft.AspNetCore.Identity.IdentityUserToken, new() { public abstract System.Threading.Tasks.Task AddClaimsAsync(TUser user, System.Collections.Generic.IEnumerable claims, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.Abstractions.cs index 6b7a4d0f8ae..c64b40cfc9a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Localization.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Localization { - // Generated from `Microsoft.Extensions.Localization.IStringLocalizer` in `Microsoft.Extensions.Localization.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStringLocalizer { System.Collections.Generic.IEnumerable GetAllStrings(bool includeParentCultures); @@ -14,19 +14,16 @@ namespace Microsoft Microsoft.Extensions.Localization.LocalizedString this[string name] { get; } } - // Generated from `Microsoft.Extensions.Localization.IStringLocalizer<>` in `Microsoft.Extensions.Localization.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStringLocalizer : Microsoft.Extensions.Localization.IStringLocalizer { } - // Generated from `Microsoft.Extensions.Localization.IStringLocalizerFactory` in `Microsoft.Extensions.Localization.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IStringLocalizerFactory { Microsoft.Extensions.Localization.IStringLocalizer Create(System.Type resourceSource); Microsoft.Extensions.Localization.IStringLocalizer Create(string baseName, string location); } - // Generated from `Microsoft.Extensions.Localization.LocalizedString` in `Microsoft.Extensions.Localization.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocalizedString { public LocalizedString(string name, string value) => throw null; @@ -40,7 +37,6 @@ namespace Microsoft public static implicit operator string(Microsoft.Extensions.Localization.LocalizedString localizedString) => throw null; } - // Generated from `Microsoft.Extensions.Localization.StringLocalizer<>` in `Microsoft.Extensions.Localization.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringLocalizer : Microsoft.Extensions.Localization.IStringLocalizer, Microsoft.Extensions.Localization.IStringLocalizer { public System.Collections.Generic.IEnumerable GetAllStrings(bool includeParentCultures) => throw null; @@ -49,7 +45,6 @@ namespace Microsoft public StringLocalizer(Microsoft.Extensions.Localization.IStringLocalizerFactory factory) => throw null; } - // Generated from `Microsoft.Extensions.Localization.StringLocalizerExtensions` in `Microsoft.Extensions.Localization.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class StringLocalizerExtensions { public static System.Collections.Generic.IEnumerable GetAllStrings(this Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.cs index 19e96cf644b..b1134a1f3ec 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Localization.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.LocalizationServiceCollectionExtensions` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LocalizationServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLocalization(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -16,27 +16,23 @@ namespace Microsoft } namespace Localization { - // Generated from `Microsoft.Extensions.Localization.IResourceNamesCache` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IResourceNamesCache { System.Collections.Generic.IList GetOrAdd(string name, System.Func> valueFactory); } - // Generated from `Microsoft.Extensions.Localization.LocalizationOptions` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LocalizationOptions { public LocalizationOptions() => throw null; public string ResourcesPath { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Localization.ResourceLocationAttribute` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResourceLocationAttribute : System.Attribute { public string ResourceLocation { get => throw null; } public ResourceLocationAttribute(string resourceLocation) => throw null; } - // Generated from `Microsoft.Extensions.Localization.ResourceManagerStringLocalizer` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResourceManagerStringLocalizer : Microsoft.Extensions.Localization.IStringLocalizer { public virtual System.Collections.Generic.IEnumerable GetAllStrings(bool includeParentCultures) => throw null; @@ -47,7 +43,6 @@ namespace Microsoft public ResourceManagerStringLocalizer(System.Resources.ResourceManager resourceManager, System.Reflection.Assembly resourceAssembly, string baseName, Microsoft.Extensions.Localization.IResourceNamesCache resourceNamesCache, Microsoft.Extensions.Logging.ILogger logger) => throw null; } - // Generated from `Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResourceManagerStringLocalizerFactory : Microsoft.Extensions.Localization.IStringLocalizerFactory { public Microsoft.Extensions.Localization.IStringLocalizer Create(System.Type resourceSource) => throw null; @@ -62,14 +57,12 @@ namespace Microsoft public ResourceManagerStringLocalizerFactory(Microsoft.Extensions.Options.IOptions localizationOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) => throw null; } - // Generated from `Microsoft.Extensions.Localization.ResourceNamesCache` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ResourceNamesCache : Microsoft.Extensions.Localization.IResourceNamesCache { public System.Collections.Generic.IList GetOrAdd(string name, System.Func> valueFactory) => throw null; public ResourceNamesCache() => throw null; } - // Generated from `Microsoft.Extensions.Localization.RootNamespaceAttribute` in `Microsoft.Extensions.Localization, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RootNamespaceAttribute : System.Attribute { public string RootNamespace { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Abstractions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Abstractions.cs index ed5249fcdf7..5797688f98a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Abstractions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Abstractions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.EventId` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct EventId : System.IEquatable { public static bool operator !=(Microsoft.Extensions.Logging.EventId left, Microsoft.Extensions.Logging.EventId right) => throw null; @@ -22,14 +22,12 @@ namespace Microsoft public static implicit operator Microsoft.Extensions.Logging.EventId(int i) => throw null; } - // Generated from `Microsoft.Extensions.Logging.IExternalScopeProvider` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IExternalScopeProvider { void ForEachScope(System.Action callback, TState state); System.IDisposable Push(object state); } - // Generated from `Microsoft.Extensions.Logging.ILogger` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILogger { System.IDisposable BeginScope(TState state); @@ -37,38 +35,32 @@ namespace Microsoft void Log(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception exception, System.Func formatter); } - // Generated from `Microsoft.Extensions.Logging.ILogger<>` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILogger : Microsoft.Extensions.Logging.ILogger { } - // Generated from `Microsoft.Extensions.Logging.ILoggerFactory` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILoggerFactory : System.IDisposable { void AddProvider(Microsoft.Extensions.Logging.ILoggerProvider provider); Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName); } - // Generated from `Microsoft.Extensions.Logging.ILoggerProvider` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILoggerProvider : System.IDisposable { Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName); } - // Generated from `Microsoft.Extensions.Logging.ISupportExternalScope` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ISupportExternalScope { void SetScopeProvider(Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider); } - // Generated from `Microsoft.Extensions.Logging.LogDefineOptions` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LogDefineOptions { public LogDefineOptions() => throw null; public bool SkipEnabledCheck { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Logging.LogLevel` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum LogLevel : int { Critical = 5, @@ -80,7 +72,6 @@ namespace Microsoft Warning = 3, } - // Generated from `Microsoft.Extensions.Logging.Logger<>` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class Logger : Microsoft.Extensions.Logging.ILogger, Microsoft.Extensions.Logging.ILogger { System.IDisposable Microsoft.Extensions.Logging.ILogger.BeginScope(TState state) => throw null; @@ -89,7 +80,6 @@ namespace Microsoft public Logger(Microsoft.Extensions.Logging.ILoggerFactory factory) => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerExtensions` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LoggerExtensions { public static System.IDisposable BeginScope(this Microsoft.Extensions.Logging.ILogger logger, string messageFormat, params object[] args) => throw null; @@ -123,7 +113,6 @@ namespace Microsoft public static void LogWarning(this Microsoft.Extensions.Logging.ILogger logger, string message, params object[] args) => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerExternalScopeProvider` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerExternalScopeProvider : Microsoft.Extensions.Logging.IExternalScopeProvider { public void ForEachScope(System.Action callback, TState state) => throw null; @@ -131,14 +120,12 @@ namespace Microsoft public System.IDisposable Push(object state) => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerFactoryExtensions` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LoggerFactoryExtensions { public static Microsoft.Extensions.Logging.ILogger CreateLogger(this Microsoft.Extensions.Logging.ILoggerFactory factory, System.Type type) => throw null; public static Microsoft.Extensions.Logging.ILogger CreateLogger(this Microsoft.Extensions.Logging.ILoggerFactory factory) => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerMessage` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LoggerMessage { public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) => throw null; @@ -164,7 +151,6 @@ namespace Microsoft public static System.Func DefineScope(string formatString) => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerMessageAttribute` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerMessageAttribute : System.Attribute { public int EventId { get => throw null; set => throw null; } @@ -178,7 +164,6 @@ namespace Microsoft namespace Abstractions { - // Generated from `Microsoft.Extensions.Logging.Abstractions.LogEntry<>` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct LogEntry { public string Category { get => throw null; } @@ -191,7 +176,6 @@ namespace Microsoft public TState State { get => throw null; } } - // Generated from `Microsoft.Extensions.Logging.Abstractions.NullLogger` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullLogger : Microsoft.Extensions.Logging.ILogger { public System.IDisposable BeginScope(TState state) => throw null; @@ -200,7 +184,6 @@ namespace Microsoft public void Log(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception exception, System.Func formatter) => throw null; } - // Generated from `Microsoft.Extensions.Logging.Abstractions.NullLogger<>` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullLogger : Microsoft.Extensions.Logging.ILogger, Microsoft.Extensions.Logging.ILogger { public System.IDisposable BeginScope(TState state) => throw null; @@ -210,7 +193,6 @@ namespace Microsoft public NullLogger() => throw null; } - // Generated from `Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullLoggerFactory : Microsoft.Extensions.Logging.ILoggerFactory, System.IDisposable { public void AddProvider(Microsoft.Extensions.Logging.ILoggerProvider provider) => throw null; @@ -220,7 +202,6 @@ namespace Microsoft public NullLoggerFactory() => throw null; } - // Generated from `Microsoft.Extensions.Logging.Abstractions.NullLoggerProvider` in `Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NullLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable { public Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Configuration.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Configuration.cs index 887ead7ed08..0d098e3e4d3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Configuration.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Configuration.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.LoggingBuilderExtensions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class LoggingBuilderExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddConfiguration(this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Configuration.IConfiguration configuration) => throw null; @@ -14,31 +14,26 @@ namespace Microsoft namespace Configuration { - // Generated from `Microsoft.Extensions.Logging.Configuration.ILoggerProviderConfiguration<>` in `Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILoggerProviderConfiguration { Microsoft.Extensions.Configuration.IConfiguration Configuration { get; } } - // Generated from `Microsoft.Extensions.Logging.Configuration.ILoggerProviderConfigurationFactory` in `Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILoggerProviderConfigurationFactory { Microsoft.Extensions.Configuration.IConfiguration GetConfiguration(System.Type providerType); } - // Generated from `Microsoft.Extensions.Logging.Configuration.LoggerProviderOptions` in `Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LoggerProviderOptions { public static void RegisterProviderOptions(Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TOptions : class => throw null; } - // Generated from `Microsoft.Extensions.Logging.Configuration.LoggerProviderOptionsChangeTokenSource<,>` in `Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerProviderOptionsChangeTokenSource : Microsoft.Extensions.Options.ConfigurationChangeTokenSource { public LoggerProviderOptionsChangeTokenSource(Microsoft.Extensions.Logging.Configuration.ILoggerProviderConfiguration providerConfiguration) : base(default(Microsoft.Extensions.Configuration.IConfiguration)) => throw null; } - // Generated from `Microsoft.Extensions.Logging.Configuration.LoggingBuilderConfigurationExtensions` in `Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LoggingBuilderConfigurationExtensions { public static void AddConfiguration(this Microsoft.Extensions.Logging.ILoggingBuilder builder) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Console.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Console.cs index 52fa7c31e35..ad283d7b3ad 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Console.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Console.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.ConsoleLoggerExtensions` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConsoleLoggerExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddConsole(this Microsoft.Extensions.Logging.ILoggingBuilder builder) => throw null; @@ -23,7 +23,6 @@ namespace Microsoft namespace Console { - // Generated from `Microsoft.Extensions.Logging.Console.ConsoleFormatter` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ConsoleFormatter { protected ConsoleFormatter(string name) => throw null; @@ -31,7 +30,6 @@ namespace Microsoft public abstract void Write(Microsoft.Extensions.Logging.Abstractions.LogEntry logEntry, Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider, System.IO.TextWriter textWriter); } - // Generated from `Microsoft.Extensions.Logging.Console.ConsoleFormatterNames` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ConsoleFormatterNames { public const string Json = default; @@ -39,7 +37,6 @@ namespace Microsoft public const string Systemd = default; } - // Generated from `Microsoft.Extensions.Logging.Console.ConsoleFormatterOptions` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsoleFormatterOptions { public ConsoleFormatterOptions() => throw null; @@ -48,14 +45,12 @@ namespace Microsoft public bool UseUtcTimestamp { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Logging.Console.ConsoleLoggerFormat` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ConsoleLoggerFormat : int { Default = 0, Systemd = 1, } - // Generated from `Microsoft.Extensions.Logging.Console.ConsoleLoggerOptions` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsoleLoggerOptions { public ConsoleLoggerOptions() => throw null; @@ -70,7 +65,6 @@ namespace Microsoft public bool UseUtcTimestamp { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConsoleLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, Microsoft.Extensions.Logging.ISupportExternalScope, System.IDisposable { public ConsoleLoggerProvider(Microsoft.Extensions.Options.IOptionsMonitor options) => throw null; @@ -80,21 +74,18 @@ namespace Microsoft public void SetScopeProvider(Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider) => throw null; } - // Generated from `Microsoft.Extensions.Logging.Console.ConsoleLoggerQueueFullMode` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum ConsoleLoggerQueueFullMode : int { DropWrite = 1, Wait = 0, } - // Generated from `Microsoft.Extensions.Logging.Console.JsonConsoleFormatterOptions` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JsonConsoleFormatterOptions : Microsoft.Extensions.Logging.Console.ConsoleFormatterOptions { public JsonConsoleFormatterOptions() => throw null; public System.Text.Json.JsonWriterOptions JsonWriterOptions { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.Logging.Console.LoggerColorBehavior` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum LoggerColorBehavior : int { Default = 0, @@ -102,7 +93,6 @@ namespace Microsoft Enabled = 1, } - // Generated from `Microsoft.Extensions.Logging.Console.SimpleConsoleFormatterOptions` in `Microsoft.Extensions.Logging.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SimpleConsoleFormatterOptions : Microsoft.Extensions.Logging.Console.ConsoleFormatterOptions { public Microsoft.Extensions.Logging.Console.LoggerColorBehavior ColorBehavior { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Debug.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Debug.cs index f70f131b0b5..4aa3b8a9fb5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Debug.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.Debug.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Logging.Debug, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.DebugLoggerFactoryExtensions` in `Microsoft.Extensions.Logging.Debug, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DebugLoggerFactoryExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddDebug(this Microsoft.Extensions.Logging.ILoggingBuilder builder) => throw null; @@ -14,7 +14,6 @@ namespace Microsoft namespace Debug { - // Generated from `Microsoft.Extensions.Logging.Debug.DebugLoggerProvider` in `Microsoft.Extensions.Logging.Debug, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DebugLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable { public Microsoft.Extensions.Logging.ILogger CreateLogger(string name) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventLog.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventLog.cs index cfe04a87a9d..dc103021eb8 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventLog.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventLog.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Logging.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.EventLoggerFactoryExtensions` in `Microsoft.Extensions.Logging.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EventLoggerFactoryExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddEventLog(this Microsoft.Extensions.Logging.ILoggingBuilder builder) => throw null; @@ -16,7 +16,6 @@ namespace Microsoft namespace EventLog { - // Generated from `Microsoft.Extensions.Logging.EventLog.EventLogLoggerProvider` in `Microsoft.Extensions.Logging.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EventLogLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, Microsoft.Extensions.Logging.ISupportExternalScope, System.IDisposable { public Microsoft.Extensions.Logging.ILogger CreateLogger(string name) => throw null; @@ -27,7 +26,6 @@ namespace Microsoft public void SetScopeProvider(Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider) => throw null; } - // Generated from `Microsoft.Extensions.Logging.EventLog.EventLogSettings` in `Microsoft.Extensions.Logging.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EventLogSettings { public EventLogSettings() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventSource.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventSource.cs index 5bf824575e7..8d4e1fb1f5f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventSource.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.EventSource.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Logging.EventSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.EventSourceLoggerFactoryExtensions` in `Microsoft.Extensions.Logging.EventSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EventSourceLoggerFactoryExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddEventSourceLogger(this Microsoft.Extensions.Logging.ILoggingBuilder builder) => throw null; @@ -14,7 +14,6 @@ namespace Microsoft namespace EventSource { - // Generated from `Microsoft.Extensions.Logging.EventSource.EventSourceLoggerProvider` in `Microsoft.Extensions.Logging.EventSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EventSourceLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable { public Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName) => throw null; @@ -22,10 +21,8 @@ namespace Microsoft public EventSourceLoggerProvider(Microsoft.Extensions.Logging.EventSource.LoggingEventSource eventSource) => throw null; } - // Generated from `Microsoft.Extensions.Logging.EventSource.LoggingEventSource` in `Microsoft.Extensions.Logging.EventSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggingEventSource : System.Diagnostics.Tracing.EventSource { - // Generated from `Microsoft.Extensions.Logging.EventSource.LoggingEventSource+Keywords` in `Microsoft.Extensions.Logging.EventSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Keywords { public const System.Diagnostics.Tracing.EventKeywords FormattedMessage = default; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.TraceSource.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.TraceSource.cs index a429f029556..a28778aad6d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.TraceSource.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.TraceSource.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Logging.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Logging { - // Generated from `Microsoft.Extensions.Logging.TraceSourceFactoryExtensions` in `Microsoft.Extensions.Logging.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class TraceSourceFactoryExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddTraceSource(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Diagnostics.SourceSwitch sourceSwitch) => throw null; @@ -17,7 +17,6 @@ namespace Microsoft namespace TraceSource { - // Generated from `Microsoft.Extensions.Logging.TraceSource.TraceSourceLoggerProvider` in `Microsoft.Extensions.Logging.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class TraceSourceLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable { public Microsoft.Extensions.Logging.ILogger CreateLogger(string name) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.cs index 961ee8b7420..0cc448912d1 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Logging.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class LoggingServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLogging(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -16,7 +16,6 @@ namespace Microsoft } namespace Logging { - // Generated from `Microsoft.Extensions.Logging.ActivityTrackingOptions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` [System.Flags] public enum ActivityTrackingOptions : int { @@ -30,7 +29,6 @@ namespace Microsoft TraceState = 8, } - // Generated from `Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class FilterLoggingBuilderExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Func levelFilter) => throw null; @@ -53,13 +51,11 @@ namespace Microsoft public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter(this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string category, Microsoft.Extensions.Logging.LogLevel level) where T : Microsoft.Extensions.Logging.ILoggerProvider => throw null; } - // Generated from `Microsoft.Extensions.Logging.ILoggingBuilder` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface ILoggingBuilder { Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } } - // Generated from `Microsoft.Extensions.Logging.LoggerFactory` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerFactory : Microsoft.Extensions.Logging.ILoggerFactory, System.IDisposable { public void AddProvider(Microsoft.Extensions.Logging.ILoggerProvider provider) => throw null; @@ -75,14 +71,12 @@ namespace Microsoft public LoggerFactory(System.Collections.Generic.IEnumerable providers, Microsoft.Extensions.Logging.LoggerFilterOptions filterOptions) => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerFactoryOptions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerFactoryOptions { public Microsoft.Extensions.Logging.ActivityTrackingOptions ActivityTrackingOptions { get => throw null; set => throw null; } public LoggerFactoryOptions() => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggerFilterOptions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerFilterOptions { public bool CaptureScopes { get => throw null; set => throw null; } @@ -91,7 +85,6 @@ namespace Microsoft public System.Collections.Generic.IList Rules { get => throw null; } } - // Generated from `Microsoft.Extensions.Logging.LoggerFilterRule` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LoggerFilterRule { public string CategoryName { get => throw null; } @@ -102,7 +95,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.Extensions.Logging.LoggingBuilderExtensions` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60; Microsoft.Extensions.Logging.Configuration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static partial class LoggingBuilderExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddProvider(this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Logging.ILoggerProvider provider) => throw null; @@ -111,7 +103,6 @@ namespace Microsoft public static Microsoft.Extensions.Logging.ILoggingBuilder SetMinimumLevel(this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Logging.LogLevel level) => throw null; } - // Generated from `Microsoft.Extensions.Logging.ProviderAliasAttribute` in `Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ProviderAliasAttribute : System.Attribute { public string Alias { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.ObjectPool.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.ObjectPool.cs index 23a52be23d1..b6e98e8213a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.ObjectPool.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.ObjectPool.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace ObjectPool { - // Generated from `Microsoft.Extensions.ObjectPool.DefaultObjectPool<>` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultObjectPool : Microsoft.Extensions.ObjectPool.ObjectPool where T : class { public DefaultObjectPool(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) => throw null; @@ -15,7 +15,6 @@ namespace Microsoft public override void Return(T obj) => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.DefaultObjectPoolProvider` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultObjectPoolProvider : Microsoft.Extensions.ObjectPool.ObjectPoolProvider { public override Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) where T : class => throw null; @@ -23,7 +22,6 @@ namespace Microsoft public int MaximumRetained { get => throw null; set => throw null; } } - // Generated from `Microsoft.Extensions.ObjectPool.DefaultPooledObjectPolicy<>` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DefaultPooledObjectPolicy : Microsoft.Extensions.ObjectPool.PooledObjectPolicy where T : class, new() { public override T Create() => throw null; @@ -31,14 +29,12 @@ namespace Microsoft public override bool Return(T obj) => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.IPooledObjectPolicy<>` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPooledObjectPolicy { T Create(); bool Return(T obj); } - // Generated from `Microsoft.Extensions.ObjectPool.LeakTrackingObjectPool<>` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LeakTrackingObjectPool : Microsoft.Extensions.ObjectPool.ObjectPool where T : class { public override T Get() => throw null; @@ -46,20 +42,17 @@ namespace Microsoft public override void Return(T obj) => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.LeakTrackingObjectPoolProvider` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class LeakTrackingObjectPoolProvider : Microsoft.Extensions.ObjectPool.ObjectPoolProvider { public override Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) where T : class => throw null; public LeakTrackingObjectPoolProvider(Microsoft.Extensions.ObjectPool.ObjectPoolProvider inner) => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.ObjectPool` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ObjectPool { public static Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy = default(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy)) where T : class, new() => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.ObjectPool<>` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ObjectPool where T : class { public abstract T Get(); @@ -67,7 +60,6 @@ namespace Microsoft public abstract void Return(T obj); } - // Generated from `Microsoft.Extensions.ObjectPool.ObjectPoolProvider` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class ObjectPoolProvider { public Microsoft.Extensions.ObjectPool.ObjectPool Create() where T : class, new() => throw null; @@ -75,14 +67,12 @@ namespace Microsoft protected ObjectPoolProvider() => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.ObjectPoolProviderExtensions` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ObjectPoolProviderExtensions { public static Microsoft.Extensions.ObjectPool.ObjectPool CreateStringBuilderPool(this Microsoft.Extensions.ObjectPool.ObjectPoolProvider provider) => throw null; public static Microsoft.Extensions.ObjectPool.ObjectPool CreateStringBuilderPool(this Microsoft.Extensions.ObjectPool.ObjectPoolProvider provider, int initialCapacity, int maximumRetainedCapacity) => throw null; } - // Generated from `Microsoft.Extensions.ObjectPool.PooledObjectPolicy<>` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class PooledObjectPolicy : Microsoft.Extensions.ObjectPool.IPooledObjectPolicy { public abstract T Create(); @@ -90,7 +80,6 @@ namespace Microsoft public abstract bool Return(T obj); } - // Generated from `Microsoft.Extensions.ObjectPool.StringBuilderPooledObjectPolicy` in `Microsoft.Extensions.ObjectPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringBuilderPooledObjectPolicy : Microsoft.Extensions.ObjectPool.PooledObjectPolicy { public override System.Text.StringBuilder Create() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.ConfigurationExtensions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.ConfigurationExtensions.cs index cdd3632981c..7131c76b988 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.ConfigurationExtensions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.ConfigurationExtensions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Options.ConfigurationExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OptionsBuilderConfigurationExtensions { public static Microsoft.Extensions.Options.OptionsBuilder Bind(this Microsoft.Extensions.Options.OptionsBuilder optionsBuilder, Microsoft.Extensions.Configuration.IConfiguration config) where TOptions : class => throw null; @@ -14,7 +14,6 @@ namespace Microsoft public static Microsoft.Extensions.Options.OptionsBuilder BindConfiguration(this Microsoft.Extensions.Options.OptionsBuilder optionsBuilder, string configSectionPath, System.Action configureBinder = default(System.Action)) where TOptions : class => throw null; } - // Generated from `Microsoft.Extensions.DependencyInjection.OptionsConfigurationServiceCollectionExtensions` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OptionsConfigurationServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection Configure(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfiguration config) where TOptions : class => throw null; @@ -26,7 +25,6 @@ namespace Microsoft } namespace Options { - // Generated from `Microsoft.Extensions.Options.ConfigurationChangeTokenSource<>` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigurationChangeTokenSource : Microsoft.Extensions.Options.IOptionsChangeTokenSource { public ConfigurationChangeTokenSource(Microsoft.Extensions.Configuration.IConfiguration config) => throw null; @@ -35,13 +33,11 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureFromConfigurationOptions<>` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureFromConfigurationOptions : Microsoft.Extensions.Options.ConfigureOptions where TOptions : class { public ConfigureFromConfigurationOptions(Microsoft.Extensions.Configuration.IConfiguration config) : base(default(System.Action)) => throw null; } - // Generated from `Microsoft.Extensions.Options.NamedConfigureFromConfigurationOptions<>` in `Microsoft.Extensions.Options.ConfigurationExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NamedConfigureFromConfigurationOptions : Microsoft.Extensions.Options.ConfigureNamedOptions where TOptions : class { public NamedConfigureFromConfigurationOptions(string name, Microsoft.Extensions.Configuration.IConfiguration config) : base(default(string), default(System.Action)) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.DataAnnotations.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.DataAnnotations.cs index aad428f678e..1e256aac9fd 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.DataAnnotations.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.DataAnnotations.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Options.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions` in `Microsoft.Extensions.Options.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OptionsBuilderDataAnnotationsExtensions { public static Microsoft.Extensions.Options.OptionsBuilder ValidateDataAnnotations(this Microsoft.Extensions.Options.OptionsBuilder optionsBuilder) where TOptions : class => throw null; @@ -15,7 +15,6 @@ namespace Microsoft } namespace Options { - // Generated from `Microsoft.Extensions.Options.DataAnnotationValidateOptions<>` in `Microsoft.Extensions.Options.DataAnnotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DataAnnotationValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public DataAnnotationValidateOptions(string name) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.cs index 2b36d812152..b77b3e65468 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Options.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.OptionsServiceCollectionExtensions` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OptionsServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddOptions(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -26,7 +26,6 @@ namespace Microsoft } namespace Options { - // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,,,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureNamedOptions, Microsoft.Extensions.Options.IConfigureOptions where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TDep5 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -41,7 +40,6 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureNamedOptions, Microsoft.Extensions.Options.IConfigureOptions where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -55,7 +53,6 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureNamedOptions, Microsoft.Extensions.Options.IConfigureOptions where TDep1 : class where TDep2 : class where TDep3 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -68,7 +65,6 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureNamedOptions, Microsoft.Extensions.Options.IConfigureOptions where TDep1 : class where TDep2 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -80,7 +76,6 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureNamedOptions, Microsoft.Extensions.Options.IConfigureOptions where TDep : class where TOptions : class { public System.Action Action { get => throw null; } @@ -91,7 +86,6 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureNamedOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureNamedOptions, Microsoft.Extensions.Options.IConfigureOptions where TOptions : class { public System.Action Action { get => throw null; } @@ -101,7 +95,6 @@ namespace Microsoft public string Name { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ConfigureOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ConfigureOptions : Microsoft.Extensions.Options.IConfigureOptions where TOptions : class { public System.Action Action { get => throw null; } @@ -109,38 +102,32 @@ namespace Microsoft public ConfigureOptions(System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.IConfigureNamedOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigureNamedOptions : Microsoft.Extensions.Options.IConfigureOptions where TOptions : class { void Configure(string name, TOptions options); } - // Generated from `Microsoft.Extensions.Options.IConfigureOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IConfigureOptions where TOptions : class { void Configure(TOptions options); } - // Generated from `Microsoft.Extensions.Options.IOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOptions where TOptions : class { TOptions Value { get; } } - // Generated from `Microsoft.Extensions.Options.IOptionsChangeTokenSource<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOptionsChangeTokenSource { Microsoft.Extensions.Primitives.IChangeToken GetChangeToken(); string Name { get; } } - // Generated from `Microsoft.Extensions.Options.IOptionsFactory<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOptionsFactory where TOptions : class { TOptions Create(string name); } - // Generated from `Microsoft.Extensions.Options.IOptionsMonitor<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOptionsMonitor { TOptions CurrentValue { get; } @@ -148,7 +135,6 @@ namespace Microsoft System.IDisposable OnChange(System.Action listener); } - // Generated from `Microsoft.Extensions.Options.IOptionsMonitorCache<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOptionsMonitorCache where TOptions : class { void Clear(); @@ -157,32 +143,27 @@ namespace Microsoft bool TryRemove(string name); } - // Generated from `Microsoft.Extensions.Options.IOptionsSnapshot<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IOptionsSnapshot : Microsoft.Extensions.Options.IOptions where TOptions : class { TOptions Get(string name); } - // Generated from `Microsoft.Extensions.Options.IPostConfigureOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IPostConfigureOptions where TOptions : class { void PostConfigure(string name, TOptions options); } - // Generated from `Microsoft.Extensions.Options.IValidateOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IValidateOptions where TOptions : class { Microsoft.Extensions.Options.ValidateOptionsResult Validate(string name, TOptions options); } - // Generated from `Microsoft.Extensions.Options.Options` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Options { public static Microsoft.Extensions.Options.IOptions Create(TOptions options) where TOptions : class => throw null; public static string DefaultName; } - // Generated from `Microsoft.Extensions.Options.OptionsBuilder<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsBuilder where TOptions : class { public virtual Microsoft.Extensions.Options.OptionsBuilder Configure(System.Action configureOptions) => throw null; @@ -214,7 +195,6 @@ namespace Microsoft public virtual Microsoft.Extensions.Options.OptionsBuilder Validate(System.Func validation, string failureMessage) => throw null; } - // Generated from `Microsoft.Extensions.Options.OptionsCache<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsCache : Microsoft.Extensions.Options.IOptionsMonitorCache where TOptions : class { public void Clear() => throw null; @@ -224,7 +204,6 @@ namespace Microsoft public virtual bool TryRemove(string name) => throw null; } - // Generated from `Microsoft.Extensions.Options.OptionsFactory<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsFactory : Microsoft.Extensions.Options.IOptionsFactory where TOptions : class { public TOptions Create(string name) => throw null; @@ -233,7 +212,6 @@ namespace Microsoft public OptionsFactory(System.Collections.Generic.IEnumerable> setups, System.Collections.Generic.IEnumerable> postConfigures, System.Collections.Generic.IEnumerable> validations) => throw null; } - // Generated from `Microsoft.Extensions.Options.OptionsManager<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsManager : Microsoft.Extensions.Options.IOptions, Microsoft.Extensions.Options.IOptionsSnapshot where TOptions : class { public virtual TOptions Get(string name) => throw null; @@ -241,7 +219,6 @@ namespace Microsoft public TOptions Value { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.OptionsMonitor<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsMonitor : Microsoft.Extensions.Options.IOptionsMonitor, System.IDisposable where TOptions : class { public TOptions CurrentValue { get => throw null; } @@ -251,13 +228,11 @@ namespace Microsoft public OptionsMonitor(Microsoft.Extensions.Options.IOptionsFactory factory, System.Collections.Generic.IEnumerable> sources, Microsoft.Extensions.Options.IOptionsMonitorCache cache) => throw null; } - // Generated from `Microsoft.Extensions.Options.OptionsMonitorExtensions` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class OptionsMonitorExtensions { public static System.IDisposable OnChange(this Microsoft.Extensions.Options.IOptionsMonitor monitor, System.Action listener) => throw null; } - // Generated from `Microsoft.Extensions.Options.OptionsValidationException` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsValidationException : System.Exception { public System.Collections.Generic.IEnumerable Failures { get => throw null; } @@ -267,14 +242,12 @@ namespace Microsoft public OptionsValidationException(string optionsName, System.Type optionsType, System.Collections.Generic.IEnumerable failureMessages) => throw null; } - // Generated from `Microsoft.Extensions.Options.OptionsWrapper<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class OptionsWrapper : Microsoft.Extensions.Options.IOptions where TOptions : class { public OptionsWrapper(TOptions options) => throw null; public TOptions Value { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,,,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TDep5 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -289,7 +262,6 @@ namespace Microsoft public PostConfigureOptions(string name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, TDep5 dependency5, System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -303,7 +275,6 @@ namespace Microsoft public PostConfigureOptions(string name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TDep1 : class where TDep2 : class where TDep3 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -316,7 +287,6 @@ namespace Microsoft public PostConfigureOptions(string name, TDep1 dependency, TDep2 dependency2, TDep3 dependency3, System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TDep1 : class where TDep2 : class where TOptions : class { public System.Action Action { get => throw null; } @@ -328,7 +298,6 @@ namespace Microsoft public PostConfigureOptions(string name, TDep1 dependency, TDep2 dependency2, System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TDep : class where TOptions : class { public System.Action Action { get => throw null; } @@ -339,7 +308,6 @@ namespace Microsoft public PostConfigureOptions(string name, TDep dependency, System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.PostConfigureOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class PostConfigureOptions : Microsoft.Extensions.Options.IPostConfigureOptions where TOptions : class { public System.Action Action { get => throw null; } @@ -348,7 +316,6 @@ namespace Microsoft public PostConfigureOptions(string name, System.Action action) => throw null; } - // Generated from `Microsoft.Extensions.Options.ValidateOptions<,,,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public TDep1 Dependency1 { get => throw null; } @@ -363,7 +330,6 @@ namespace Microsoft public System.Func Validation { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ValidateOptions<,,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public TDep1 Dependency1 { get => throw null; } @@ -377,7 +343,6 @@ namespace Microsoft public System.Func Validation { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ValidateOptions<,,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public TDep1 Dependency1 { get => throw null; } @@ -390,7 +355,6 @@ namespace Microsoft public System.Func Validation { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ValidateOptions<,,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public TDep1 Dependency1 { get => throw null; } @@ -402,7 +366,6 @@ namespace Microsoft public System.Func Validation { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ValidateOptions<,>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public TDep Dependency { get => throw null; } @@ -413,7 +376,6 @@ namespace Microsoft public System.Func Validation { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ValidateOptions<>` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptions : Microsoft.Extensions.Options.IValidateOptions where TOptions : class { public string FailureMessage { get => throw null; } @@ -423,7 +385,6 @@ namespace Microsoft public System.Func Validation { get => throw null; } } - // Generated from `Microsoft.Extensions.Options.ValidateOptionsResult` in `Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ValidateOptionsResult { public static Microsoft.Extensions.Options.ValidateOptionsResult Fail(System.Collections.Generic.IEnumerable failures) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Primitives.cs index 8a29965d5a6..c79f01782ee 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.Primitives.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace Primitives { - // Generated from `Microsoft.Extensions.Primitives.CancellationChangeToken` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CancellationChangeToken : Microsoft.Extensions.Primitives.IChangeToken { public bool ActiveChangeCallbacks { get => throw null; } @@ -15,14 +15,12 @@ namespace Microsoft public System.IDisposable RegisterChangeCallback(System.Action callback, object state) => throw null; } - // Generated from `Microsoft.Extensions.Primitives.ChangeToken` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ChangeToken { public static System.IDisposable OnChange(System.Func changeTokenProducer, System.Action changeTokenConsumer) => throw null; public static System.IDisposable OnChange(System.Func changeTokenProducer, System.Action changeTokenConsumer, TState state) => throw null; } - // Generated from `Microsoft.Extensions.Primitives.CompositeChangeToken` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CompositeChangeToken : Microsoft.Extensions.Primitives.IChangeToken { public bool ActiveChangeCallbacks { get => throw null; } @@ -32,13 +30,11 @@ namespace Microsoft public System.IDisposable RegisterChangeCallback(System.Action callback, object state) => throw null; } - // Generated from `Microsoft.Extensions.Primitives.Extensions` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class Extensions { public static System.Text.StringBuilder Append(this System.Text.StringBuilder builder, Microsoft.Extensions.Primitives.StringSegment segment) => throw null; } - // Generated from `Microsoft.Extensions.Primitives.IChangeToken` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IChangeToken { bool ActiveChangeCallbacks { get; } @@ -46,7 +42,6 @@ namespace Microsoft System.IDisposable RegisterChangeCallback(System.Action callback, object state); } - // Generated from `Microsoft.Extensions.Primitives.StringSegment` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct StringSegment : System.IEquatable, System.IEquatable { public static bool operator !=(Microsoft.Extensions.Primitives.StringSegment left, Microsoft.Extensions.Primitives.StringSegment right) => throw null; @@ -97,7 +92,6 @@ namespace Microsoft public static implicit operator Microsoft.Extensions.Primitives.StringSegment(string value) => throw null; } - // Generated from `Microsoft.Extensions.Primitives.StringSegmentComparer` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringSegmentComparer : System.Collections.Generic.IComparer, System.Collections.Generic.IEqualityComparer { public int Compare(Microsoft.Extensions.Primitives.StringSegment x, Microsoft.Extensions.Primitives.StringSegment y) => throw null; @@ -107,10 +101,8 @@ namespace Microsoft public static Microsoft.Extensions.Primitives.StringSegmentComparer OrdinalIgnoreCase { get => throw null; } } - // Generated from `Microsoft.Extensions.Primitives.StringTokenizer` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct StringTokenizer : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { - // Generated from `Microsoft.Extensions.Primitives.StringTokenizer+Enumerator` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public Microsoft.Extensions.Primitives.StringSegment Current { get => throw null; } @@ -131,10 +123,8 @@ namespace Microsoft public StringTokenizer(string value, System.Char[] separators) => throw null; } - // Generated from `Microsoft.Extensions.Primitives.StringValues` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct StringValues : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable, System.IEquatable, System.IEquatable, System.IEquatable { - // Generated from `Microsoft.Extensions.Primitives.StringValues+Enumerator` in `Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public string Current { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.WebEncoders.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.WebEncoders.cs index d24413e22e8..c276b598b64 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.WebEncoders.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.WebEncoders.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Extensions.WebEncoders, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace DependencyInjection { - // Generated from `Microsoft.Extensions.DependencyInjection.EncoderServiceCollectionExtensions` in `Microsoft.Extensions.WebEncoders, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class EncoderServiceCollectionExtensions { public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddWebEncoders(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null; @@ -16,7 +16,6 @@ namespace Microsoft } namespace WebEncoders { - // Generated from `Microsoft.Extensions.WebEncoders.WebEncoderOptions` in `Microsoft.Extensions.WebEncoders, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class WebEncoderOptions { public System.Text.Encodings.Web.TextEncoderSettings TextEncoderSettings { get => throw null; set => throw null; } @@ -25,7 +24,6 @@ namespace Microsoft namespace Testing { - // Generated from `Microsoft.Extensions.WebEncoders.Testing.HtmlTestEncoder` in `Microsoft.Extensions.WebEncoders, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class HtmlTestEncoder : System.Text.Encodings.Web.HtmlEncoder { public override void Encode(System.IO.TextWriter output, System.Char[] value, int startIndex, int characterCount) => throw null; @@ -38,7 +36,6 @@ namespace Microsoft public override bool WillEncode(int unicodeScalar) => throw null; } - // Generated from `Microsoft.Extensions.WebEncoders.Testing.JavaScriptTestEncoder` in `Microsoft.Extensions.WebEncoders, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JavaScriptTestEncoder : System.Text.Encodings.Web.JavaScriptEncoder { public override void Encode(System.IO.TextWriter output, System.Char[] value, int startIndex, int characterCount) => throw null; @@ -51,7 +48,6 @@ namespace Microsoft public override bool WillEncode(int unicodeScalar) => throw null; } - // Generated from `Microsoft.Extensions.WebEncoders.Testing.UrlTestEncoder` in `Microsoft.Extensions.WebEncoders, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class UrlTestEncoder : System.Text.Encodings.Web.UrlEncoder { public override void Encode(System.IO.TextWriter output, System.Char[] value, int startIndex, int characterCount) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.JSInterop.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.JSInterop.cs index 236be85f289..9dfd9f3db1a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.JSInterop.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.JSInterop.cs @@ -1,23 +1,21 @@ // This file contains auto-generated code. +// Generated from `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { namespace JSInterop { - // Generated from `Microsoft.JSInterop.DotNetObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DotNetObjectReference { public static Microsoft.JSInterop.DotNetObjectReference Create(TValue value) where TValue : class => throw null; } - // Generated from `Microsoft.JSInterop.DotNetObjectReference<>` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DotNetObjectReference : System.IDisposable where TValue : class { public void Dispose() => throw null; public TValue Value { get => throw null; } } - // Generated from `Microsoft.JSInterop.DotNetStreamReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class DotNetStreamReference : System.IDisposable { public void Dispose() => throw null; @@ -26,40 +24,34 @@ namespace Microsoft public System.IO.Stream Stream { get => throw null; } } - // Generated from `Microsoft.JSInterop.IJSInProcessObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSInProcessObjectReference : Microsoft.JSInterop.IJSObjectReference, System.IAsyncDisposable, System.IDisposable { TValue Invoke(string identifier, params object[] args); } - // Generated from `Microsoft.JSInterop.IJSInProcessRuntime` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSInProcessRuntime : Microsoft.JSInterop.IJSRuntime { TResult Invoke(string identifier, params object[] args); } - // Generated from `Microsoft.JSInterop.IJSObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSObjectReference : System.IAsyncDisposable { System.Threading.Tasks.ValueTask InvokeAsync(string identifier, System.Threading.CancellationToken cancellationToken, object[] args); System.Threading.Tasks.ValueTask InvokeAsync(string identifier, object[] args); } - // Generated from `Microsoft.JSInterop.IJSRuntime` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSRuntime { System.Threading.Tasks.ValueTask InvokeAsync(string identifier, System.Threading.CancellationToken cancellationToken, object[] args); System.Threading.Tasks.ValueTask InvokeAsync(string identifier, object[] args); } - // Generated from `Microsoft.JSInterop.IJSStreamReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSStreamReference : System.IAsyncDisposable { System.Int64 Length { get; } System.Threading.Tasks.ValueTask OpenReadStreamAsync(System.Int64 maxAllowedSize = default(System.Int64), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `Microsoft.JSInterop.IJSUnmarshalledObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSUnmarshalledObjectReference : Microsoft.JSInterop.IJSInProcessObjectReference, Microsoft.JSInterop.IJSObjectReference, System.IAsyncDisposable, System.IDisposable { TResult InvokeUnmarshalled(string identifier, T0 arg0, T1 arg1, T2 arg2); @@ -68,7 +60,6 @@ namespace Microsoft TResult InvokeUnmarshalled(string identifier); } - // Generated from `Microsoft.JSInterop.IJSUnmarshalledRuntime` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSUnmarshalledRuntime { TResult InvokeUnmarshalled(string identifier, T0 arg0, T1 arg1, T2 arg2); @@ -77,7 +68,6 @@ namespace Microsoft TResult InvokeUnmarshalled(string identifier); } - // Generated from `Microsoft.JSInterop.JSCallResultType` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum JSCallResultType : int { Default = 0, @@ -86,26 +76,22 @@ namespace Microsoft JSVoidResult = 3, } - // Generated from `Microsoft.JSInterop.JSDisconnectedException` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSDisconnectedException : System.Exception { public JSDisconnectedException(string message) => throw null; } - // Generated from `Microsoft.JSInterop.JSException` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSException : System.Exception { public JSException(string message) => throw null; public JSException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.JSInterop.JSInProcessObjectReferenceExtensions` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JSInProcessObjectReferenceExtensions { public static void InvokeVoid(this Microsoft.JSInterop.IJSInProcessObjectReference jsObjectReference, string identifier, params object[] args) => throw null; } - // Generated from `Microsoft.JSInterop.JSInProcessRuntime` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class JSInProcessRuntime : Microsoft.JSInterop.JSRuntime, Microsoft.JSInterop.IJSInProcessRuntime, Microsoft.JSInterop.IJSRuntime { public TValue Invoke(string identifier, params object[] args) => throw null; @@ -114,13 +100,11 @@ namespace Microsoft protected JSInProcessRuntime() => throw null; } - // Generated from `Microsoft.JSInterop.JSInProcessRuntimeExtensions` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JSInProcessRuntimeExtensions { public static void InvokeVoid(this Microsoft.JSInterop.IJSInProcessRuntime jsRuntime, string identifier, params object[] args) => throw null; } - // Generated from `Microsoft.JSInterop.JSInvokableAttribute` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSInvokableAttribute : System.Attribute { public string Identifier { get => throw null; } @@ -128,7 +112,6 @@ namespace Microsoft public JSInvokableAttribute(string identifier) => throw null; } - // Generated from `Microsoft.JSInterop.JSObjectReferenceExtensions` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JSObjectReferenceExtensions { public static System.Threading.Tasks.ValueTask InvokeAsync(this Microsoft.JSInterop.IJSObjectReference jsObjectReference, string identifier, System.Threading.CancellationToken cancellationToken, params object[] args) => throw null; @@ -139,7 +122,6 @@ namespace Microsoft public static System.Threading.Tasks.ValueTask InvokeVoidAsync(this Microsoft.JSInterop.IJSObjectReference jsObjectReference, string identifier, params object[] args) => throw null; } - // Generated from `Microsoft.JSInterop.JSRuntime` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public abstract class JSRuntime : Microsoft.JSInterop.IJSRuntime, System.IDisposable { protected virtual void BeginInvokeJS(System.Int64 taskId, string identifier, string argsJson) => throw null; @@ -157,7 +139,6 @@ namespace Microsoft protected internal virtual System.Threading.Tasks.Task TransmitStreamAsync(System.Int64 streamId, Microsoft.JSInterop.DotNetStreamReference dotNetStreamReference) => throw null; } - // Generated from `Microsoft.JSInterop.JSRuntimeExtensions` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JSRuntimeExtensions { public static System.Threading.Tasks.ValueTask InvokeAsync(this Microsoft.JSInterop.IJSRuntime jsRuntime, string identifier, System.Threading.CancellationToken cancellationToken, params object[] args) => throw null; @@ -170,7 +151,6 @@ namespace Microsoft namespace Implementation { - // Generated from `Microsoft.JSInterop.Implementation.JSInProcessObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSInProcessObjectReference : Microsoft.JSInterop.Implementation.JSObjectReference, Microsoft.JSInterop.IJSInProcessObjectReference, Microsoft.JSInterop.IJSObjectReference, System.IAsyncDisposable, System.IDisposable { public void Dispose() => throw null; @@ -178,7 +158,6 @@ namespace Microsoft protected internal JSInProcessObjectReference(Microsoft.JSInterop.JSInProcessRuntime jsRuntime, System.Int64 id) : base(default(Microsoft.JSInterop.JSRuntime), default(System.Int64)) => throw null; } - // Generated from `Microsoft.JSInterop.Implementation.JSObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSObjectReference : Microsoft.JSInterop.IJSObjectReference, System.IAsyncDisposable { public System.Threading.Tasks.ValueTask DisposeAsync() => throw null; @@ -189,14 +168,12 @@ namespace Microsoft protected void ThrowIfDisposed() => throw null; } - // Generated from `Microsoft.JSInterop.Implementation.JSObjectReferenceJsonWorker` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class JSObjectReferenceJsonWorker { public static System.Int64 ReadJSObjectReferenceIdentifier(ref System.Text.Json.Utf8JsonReader reader) => throw null; public static void WriteJSObjectReference(System.Text.Json.Utf8JsonWriter writer, Microsoft.JSInterop.Implementation.JSObjectReference objectReference) => throw null; } - // Generated from `Microsoft.JSInterop.Implementation.JSStreamReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class JSStreamReference : Microsoft.JSInterop.Implementation.JSObjectReference, Microsoft.JSInterop.IJSStreamReference, System.IAsyncDisposable { internal JSStreamReference(Microsoft.JSInterop.JSRuntime jsRuntime, System.Int64 id, System.Int64 totalLength) : base(default(Microsoft.JSInterop.JSRuntime), default(System.Int64)) => throw null; @@ -207,7 +184,6 @@ namespace Microsoft } namespace Infrastructure { - // Generated from `Microsoft.JSInterop.Infrastructure.DotNetDispatcher` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class DotNetDispatcher { public static void BeginInvokeDotNet(Microsoft.JSInterop.JSRuntime jsRuntime, Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo invocationInfo, string argsJson) => throw null; @@ -216,7 +192,6 @@ namespace Microsoft public static void ReceiveByteArray(Microsoft.JSInterop.JSRuntime jsRuntime, int id, System.Byte[] data) => throw null; } - // Generated from `Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct DotNetInvocationInfo { public string AssemblyName { get => throw null; } @@ -227,7 +202,6 @@ namespace Microsoft public string MethodIdentifier { get => throw null; } } - // Generated from `Microsoft.JSInterop.Infrastructure.DotNetInvocationResult` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public struct DotNetInvocationResult { // Stub generator skipped constructor @@ -237,12 +211,10 @@ namespace Microsoft public bool Success { get => throw null; } } - // Generated from `Microsoft.JSInterop.Infrastructure.IDotNetObjectReference` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` internal interface IDotNetObjectReference : System.IDisposable { } - // Generated from `Microsoft.JSInterop.Infrastructure.IJSVoidResult` in `Microsoft.JSInterop, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public interface IJSVoidResult { } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Net.Http.Headers.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Net.Http.Headers.cs index e6a51899675..313c38fbba1 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Net.Http.Headers.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Net.Http.Headers.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`. namespace Microsoft { @@ -8,7 +9,6 @@ namespace Microsoft { namespace Headers { - // Generated from `Microsoft.Net.Http.Headers.CacheControlHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CacheControlHeaderValue { public CacheControlHeaderValue() => throw null; @@ -47,7 +47,6 @@ namespace Microsoft public static bool TryParse(Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.CacheControlHeaderValue parsedValue) => throw null; } - // Generated from `Microsoft.Net.Http.Headers.ContentDispositionHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ContentDispositionHeaderValue { public ContentDispositionHeaderValue(Microsoft.Extensions.Primitives.StringSegment dispositionType) => throw null; @@ -69,14 +68,12 @@ namespace Microsoft public static bool TryParse(Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.ContentDispositionHeaderValue parsedValue) => throw null; } - // Generated from `Microsoft.Net.Http.Headers.ContentDispositionHeaderValueIdentityExtensions` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class ContentDispositionHeaderValueIdentityExtensions { public static bool IsFileDisposition(this Microsoft.Net.Http.Headers.ContentDispositionHeaderValue header) => throw null; public static bool IsFormDisposition(this Microsoft.Net.Http.Headers.ContentDispositionHeaderValue header) => throw null; } - // Generated from `Microsoft.Net.Http.Headers.ContentRangeHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class ContentRangeHeaderValue { public ContentRangeHeaderValue(System.Int64 length) => throw null; @@ -95,7 +92,6 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Unit { get => throw null; set => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.CookieHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class CookieHeaderValue { public CookieHeaderValue(Microsoft.Extensions.Primitives.StringSegment name) => throw null; @@ -113,7 +109,6 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.EntityTagHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class EntityTagHeaderValue { public static Microsoft.Net.Http.Headers.EntityTagHeaderValue Any { get => throw null; } @@ -133,7 +128,6 @@ namespace Microsoft public static bool TryParseStrictList(System.Collections.Generic.IList inputs, out System.Collections.Generic.IList parsedValues) => throw null; } - // Generated from `Microsoft.Net.Http.Headers.HeaderNames` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HeaderNames { public static string Accept; @@ -234,14 +228,12 @@ namespace Microsoft public static string XXSSProtection; } - // Generated from `Microsoft.Net.Http.Headers.HeaderQuality` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HeaderQuality { public const double Match = default; public const double NoMatch = default; } - // Generated from `Microsoft.Net.Http.Headers.HeaderUtilities` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public static class HeaderUtilities { public static bool ContainsCacheDirective(Microsoft.Extensions.Primitives.StringValues cacheControlDirectives, string targetDirectives) => throw null; @@ -258,7 +250,6 @@ namespace Microsoft public static Microsoft.Extensions.Primitives.StringSegment UnescapeAsQuotedString(Microsoft.Extensions.Primitives.StringSegment input) => throw null; } - // Generated from `Microsoft.Net.Http.Headers.MediaTypeHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MediaTypeHeaderValue { public Microsoft.Extensions.Primitives.StringSegment Boundary { get => throw null; set => throw null; } @@ -293,14 +284,12 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Type { get => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.MediaTypeHeaderValueComparer` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class MediaTypeHeaderValueComparer : System.Collections.Generic.IComparer { public int Compare(Microsoft.Net.Http.Headers.MediaTypeHeaderValue mediaType1, Microsoft.Net.Http.Headers.MediaTypeHeaderValue mediaType2) => throw null; public static Microsoft.Net.Http.Headers.MediaTypeHeaderValueComparer QualityComparer { get => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.NameValueHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class NameValueHeaderValue { public Microsoft.Net.Http.Headers.NameValueHeaderValue Copy() => throw null; @@ -324,7 +313,6 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.RangeConditionHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RangeConditionHeaderValue { public Microsoft.Net.Http.Headers.EntityTagHeaderValue EntityTag { get => throw null; } @@ -339,7 +327,6 @@ namespace Microsoft public static bool TryParse(Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.RangeConditionHeaderValue parsedValue) => throw null; } - // Generated from `Microsoft.Net.Http.Headers.RangeHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RangeHeaderValue { public override bool Equals(object obj) => throw null; @@ -353,7 +340,6 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Unit { get => throw null; set => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.RangeItemHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class RangeItemHeaderValue { public override bool Equals(object obj) => throw null; @@ -364,7 +350,6 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.Net.Http.Headers.SameSiteMode` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public enum SameSiteMode : int { Lax = 1, @@ -373,7 +358,6 @@ namespace Microsoft Unspecified = -1, } - // Generated from `Microsoft.Net.Http.Headers.SetCookieHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class SetCookieHeaderValue { public void AppendToStringBuilder(System.Text.StringBuilder builder) => throw null; @@ -400,7 +384,6 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Value { get => throw null; set => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.StringWithQualityHeaderValue` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringWithQualityHeaderValue { public override bool Equals(object obj) => throw null; @@ -418,7 +401,6 @@ namespace Microsoft public Microsoft.Extensions.Primitives.StringSegment Value { get => throw null; } } - // Generated from `Microsoft.Net.Http.Headers.StringWithQualityHeaderValueComparer` in `Microsoft.Net.Http.Headers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` public class StringWithQualityHeaderValueComparer : System.Collections.Generic.IComparer { public int Compare(Microsoft.Net.Http.Headers.StringWithQualityHeaderValue stringWithQuality1, Microsoft.Net.Http.Headers.StringWithQualityHeaderValue stringWithQuality2) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Diagnostics.EventLog.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Diagnostics.EventLog.cs index 1a8c6a873e6..95b5a1e0111 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Diagnostics.EventLog.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Diagnostics.EventLog.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.EntryWrittenEventArgs` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EntryWrittenEventArgs : System.EventArgs { public System.Diagnostics.EventLogEntry Entry { get => throw null; } @@ -12,10 +12,8 @@ namespace System public EntryWrittenEventArgs(System.Diagnostics.EventLogEntry entry) => throw null; } - // Generated from `System.Diagnostics.EntryWrittenEventHandler` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void EntryWrittenEventHandler(object sender, System.Diagnostics.EntryWrittenEventArgs e); - // Generated from `System.Diagnostics.EventInstance` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventInstance { public int CategoryId { get => throw null; set => throw null; } @@ -25,7 +23,6 @@ namespace System public System.Int64 InstanceId { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.EventLog` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLog : System.ComponentModel.Component, System.ComponentModel.ISupportInitialize { public void BeginInit() => throw null; @@ -80,7 +77,6 @@ namespace System public static void WriteEvent(string source, System.Diagnostics.EventInstance instance, params object[] values) => throw null; } - // Generated from `System.Diagnostics.EventLogEntry` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogEntry : System.ComponentModel.Component, System.Runtime.Serialization.ISerializable { public string Category { get => throw null; } @@ -101,7 +97,6 @@ namespace System public string UserName { get => throw null; } } - // Generated from `System.Diagnostics.EventLogEntryCollection` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogEntryCollection : System.Collections.ICollection, System.Collections.IEnumerable { void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; @@ -113,7 +108,6 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Diagnostics.EventLogEntryType` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum EventLogEntryType : int { Error = 1, @@ -123,7 +117,6 @@ namespace System Warning = 2, } - // Generated from `System.Diagnostics.EventLogTraceListener` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogTraceListener : System.Diagnostics.TraceListener { public override void Close() => throw null; @@ -141,7 +134,6 @@ namespace System public override void WriteLine(string message) => throw null; } - // Generated from `System.Diagnostics.EventSourceCreationData` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventSourceCreationData { public int CategoryCount { get => throw null; set => throw null; } @@ -154,7 +146,6 @@ namespace System public string Source { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.OverflowAction` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum OverflowAction : int { DoNotOverwrite = -1, @@ -166,14 +157,12 @@ namespace System { namespace Reader { - // Generated from `System.Diagnostics.Eventing.Reader.EventBookmark` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventBookmark { public string BookmarkXml { get => throw null; } public EventBookmark(string bookmarkXml) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventKeyword` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventKeyword { public string DisplayName { get => throw null; } @@ -181,7 +170,6 @@ namespace System public System.Int64 Value { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLevel` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLevel { public string DisplayName { get => throw null; } @@ -189,7 +177,6 @@ namespace System public int Value { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogConfiguration` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogConfiguration : System.IDisposable { public void Dispose() => throw null; @@ -217,7 +204,6 @@ namespace System public string SecurityDescriptor { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogException` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogException : System.Exception { public EventLogException() => throw null; @@ -229,7 +215,6 @@ namespace System public override string Message { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogInformation` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogInformation { public int? Attributes { get => throw null; } @@ -242,7 +227,6 @@ namespace System public System.Int64? RecordCount { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogInvalidDataException` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogInvalidDataException : System.Diagnostics.Eventing.Reader.EventLogException { public EventLogInvalidDataException() => throw null; @@ -251,7 +235,6 @@ namespace System public EventLogInvalidDataException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogIsolation` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum EventLogIsolation : int { Application = 0, @@ -259,7 +242,6 @@ namespace System System = 1, } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogLink` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogLink { public string DisplayName { get => throw null; } @@ -267,7 +249,6 @@ namespace System public string LogName { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogMode` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum EventLogMode : int { AutoBackup = 1, @@ -275,7 +256,6 @@ namespace System Retain = 2, } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogNotFoundException` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogNotFoundException : System.Diagnostics.Eventing.Reader.EventLogException { public EventLogNotFoundException() => throw null; @@ -284,7 +264,6 @@ namespace System public EventLogNotFoundException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogPropertySelector` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogPropertySelector : System.IDisposable { public void Dispose() => throw null; @@ -292,7 +271,6 @@ namespace System public EventLogPropertySelector(System.Collections.Generic.IEnumerable propertyQueries) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogProviderDisabledException : System.Diagnostics.Eventing.Reader.EventLogException { public EventLogProviderDisabledException() => throw null; @@ -301,7 +279,6 @@ namespace System public EventLogProviderDisabledException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogQuery` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogQuery { public EventLogQuery(string path, System.Diagnostics.Eventing.Reader.PathType pathType) => throw null; @@ -311,7 +288,6 @@ namespace System public bool TolerateQueryErrors { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogReader` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogReader : System.IDisposable { public int BatchSize { get => throw null; set => throw null; } @@ -330,7 +306,6 @@ namespace System public void Seek(System.IO.SeekOrigin origin, System.Int64 offset) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogReadingException` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogReadingException : System.Diagnostics.Eventing.Reader.EventLogException { public EventLogReadingException() => throw null; @@ -339,7 +314,6 @@ namespace System public EventLogReadingException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogRecord` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogRecord : System.Diagnostics.Eventing.Reader.EventRecord { public override System.Guid? ActivityId { get => throw null; } @@ -375,7 +349,6 @@ namespace System public override System.Byte? Version { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogSession` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogSession : System.IDisposable { public void CancelCurrentOperations() => throw null; @@ -396,14 +369,12 @@ namespace System public static System.Diagnostics.Eventing.Reader.EventLogSession GlobalSession { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogStatus` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogStatus { public string LogName { get => throw null; } public int StatusCode { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogType` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum EventLogType : int { Administrative = 0, @@ -412,7 +383,6 @@ namespace System Operational = 1, } - // Generated from `System.Diagnostics.Eventing.Reader.EventLogWatcher` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventLogWatcher : System.IDisposable { public void Dispose() => throw null; @@ -425,7 +395,6 @@ namespace System public event System.EventHandler EventRecordWritten; } - // Generated from `System.Diagnostics.Eventing.Reader.EventMetadata` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventMetadata { public string Description { get => throw null; } @@ -439,7 +408,6 @@ namespace System public System.Byte Version { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventOpcode` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventOpcode { public string DisplayName { get => throw null; } @@ -447,13 +415,11 @@ namespace System public int Value { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventProperty` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventProperty { public object Value { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventRecord` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class EventRecord : System.IDisposable { public abstract System.Guid? ActivityId { get; } @@ -488,14 +454,12 @@ namespace System public abstract System.Byte? Version { get; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventRecordWrittenEventArgs` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventRecordWrittenEventArgs : System.EventArgs { public System.Exception EventException { get => throw null; } public System.Diagnostics.Eventing.Reader.EventRecord EventRecord { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.EventTask` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EventTask { public string DisplayName { get => throw null; } @@ -504,14 +468,12 @@ namespace System public int Value { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.PathType` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum PathType : int { FilePath = 2, LogName = 1, } - // Generated from `System.Diagnostics.Eventing.Reader.ProviderMetadata` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ProviderMetadata : System.IDisposable { public string DisplayName { get => throw null; } @@ -533,7 +495,6 @@ namespace System public System.Collections.Generic.IList Tasks { get => throw null; } } - // Generated from `System.Diagnostics.Eventing.Reader.SessionAuthentication` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum SessionAuthentication : int { Default = 0, @@ -542,7 +503,6 @@ namespace System Ntlm = 3, } - // Generated from `System.Diagnostics.Eventing.Reader.StandardEventKeywords` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum StandardEventKeywords : long { @@ -558,7 +518,6 @@ namespace System WdiDiagnostic = 1125899906842624, } - // Generated from `System.Diagnostics.Eventing.Reader.StandardEventLevel` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum StandardEventLevel : int { Critical = 1, @@ -569,7 +528,6 @@ namespace System Warning = 3, } - // Generated from `System.Diagnostics.Eventing.Reader.StandardEventOpcode` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum StandardEventOpcode : int { DataCollectionStart = 3, @@ -585,7 +543,6 @@ namespace System Suspend = 8, } - // Generated from `System.Diagnostics.Eventing.Reader.StandardEventTask` in `System.Diagnostics.EventLog, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum StandardEventTask : int { None = 0, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.IO.Pipelines.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.IO.Pipelines.cs index efe0f516df0..9bba4b098f2 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.IO.Pipelines.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.IO.Pipelines.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Pipelines { - // Generated from `System.IO.Pipelines.FlushResult` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct FlushResult { // Stub generator skipped constructor @@ -15,14 +15,12 @@ namespace System public bool IsCompleted { get => throw null; } } - // Generated from `System.IO.Pipelines.IDuplexPipe` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IDuplexPipe { System.IO.Pipelines.PipeReader Input { get; } System.IO.Pipelines.PipeWriter Output { get; } } - // Generated from `System.IO.Pipelines.Pipe` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Pipe { public Pipe() => throw null; @@ -32,7 +30,6 @@ namespace System public System.IO.Pipelines.PipeWriter Writer { get => throw null; } } - // Generated from `System.IO.Pipelines.PipeOptions` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class PipeOptions { public static System.IO.Pipelines.PipeOptions Default { get => throw null; } @@ -46,7 +43,6 @@ namespace System public System.IO.Pipelines.PipeScheduler WriterScheduler { get => throw null; } } - // Generated from `System.IO.Pipelines.PipeReader` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class PipeReader { public abstract void AdvanceTo(System.SequencePosition consumed); @@ -67,7 +63,6 @@ namespace System public abstract bool TryRead(out System.IO.Pipelines.ReadResult result); } - // Generated from `System.IO.Pipelines.PipeScheduler` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class PipeScheduler { public static System.IO.Pipelines.PipeScheduler Inline { get => throw null; } @@ -76,7 +71,6 @@ namespace System public static System.IO.Pipelines.PipeScheduler ThreadPool { get => throw null; } } - // Generated from `System.IO.Pipelines.PipeWriter` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class PipeWriter : System.Buffers.IBufferWriter { public abstract void Advance(int bytes); @@ -96,7 +90,6 @@ namespace System public virtual System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.IO.Pipelines.ReadResult` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ReadResult { public System.Buffers.ReadOnlySequence Buffer { get => throw null; } @@ -106,13 +99,11 @@ namespace System public ReadResult(System.Buffers.ReadOnlySequence buffer, bool isCanceled, bool isCompleted) => throw null; } - // Generated from `System.IO.Pipelines.StreamPipeExtensions` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class StreamPipeExtensions { public static System.Threading.Tasks.Task CopyToAsync(this System.IO.Stream source, System.IO.Pipelines.PipeWriter destination, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.IO.Pipelines.StreamPipeReaderOptions` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class StreamPipeReaderOptions { public int BufferSize { get => throw null; } @@ -124,7 +115,6 @@ namespace System public bool UseZeroByteReads { get => throw null; } } - // Generated from `System.IO.Pipelines.StreamPipeWriterOptions` in `System.IO.Pipelines, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class StreamPipeWriterOptions { public bool LeaveOpen { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Security.Cryptography.Xml.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Security.Cryptography.Xml.cs index 99fd55bb131..b47994b9b08 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Security.Cryptography.Xml.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Security.Cryptography.Xml.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { @@ -8,7 +9,6 @@ namespace System { namespace Xml { - // Generated from `System.Security.Cryptography.Xml.CipherData` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class CipherData { public CipherData() => throw null; @@ -20,7 +20,6 @@ namespace System public void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.CipherReference` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class CipherReference : System.Security.Cryptography.Xml.EncryptedReference { public CipherReference() => throw null; @@ -30,7 +29,6 @@ namespace System public override void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.DSAKeyValue` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DSAKeyValue : System.Security.Cryptography.Xml.KeyInfoClause { public DSAKeyValue() => throw null; @@ -40,7 +38,6 @@ namespace System public override void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.DataObject` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DataObject { public System.Xml.XmlNodeList Data { get => throw null; set => throw null; } @@ -53,7 +50,6 @@ namespace System public string MimeType { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.DataReference` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DataReference : System.Security.Cryptography.Xml.EncryptedReference { public DataReference() => throw null; @@ -61,7 +57,6 @@ namespace System public DataReference(string uri, System.Security.Cryptography.Xml.TransformChain transformChain) => throw null; } - // Generated from `System.Security.Cryptography.Xml.EncryptedData` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EncryptedData : System.Security.Cryptography.Xml.EncryptedType { public EncryptedData() => throw null; @@ -69,7 +64,6 @@ namespace System public override void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.EncryptedKey` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EncryptedKey : System.Security.Cryptography.Xml.EncryptedType { public void AddReference(System.Security.Cryptography.Xml.DataReference dataReference) => throw null; @@ -82,7 +76,6 @@ namespace System public System.Security.Cryptography.Xml.ReferenceList ReferenceList { get => throw null; } } - // Generated from `System.Security.Cryptography.Xml.EncryptedReference` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class EncryptedReference { public void AddTransform(System.Security.Cryptography.Xml.Transform transform) => throw null; @@ -97,7 +90,6 @@ namespace System public string Uri { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.EncryptedType` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class EncryptedType { public void AddProperty(System.Security.Cryptography.Xml.EncryptionProperty ep) => throw null; @@ -114,7 +106,6 @@ namespace System public virtual string Type { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.EncryptedXml` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EncryptedXml { public void AddKeyNameMapping(string keyName, object keyObject) => throw null; @@ -164,7 +155,6 @@ namespace System public const string XmlEncTripleDESUrl = default; } - // Generated from `System.Security.Cryptography.Xml.EncryptionMethod` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EncryptionMethod { public EncryptionMethod() => throw null; @@ -175,7 +165,6 @@ namespace System public void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.EncryptionProperty` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EncryptionProperty { public EncryptionProperty() => throw null; @@ -187,7 +176,6 @@ namespace System public string Target { get => throw null; } } - // Generated from `System.Security.Cryptography.Xml.EncryptionPropertyCollection` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class EncryptionPropertyCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public int Add(System.Security.Cryptography.Xml.EncryptionProperty value) => throw null; @@ -217,13 +205,11 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Security.Cryptography.Xml.IRelDecryptor` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IRelDecryptor { System.IO.Stream Decrypt(System.Security.Cryptography.Xml.EncryptionMethod encryptionMethod, System.Security.Cryptography.Xml.KeyInfo keyInfo, System.IO.Stream toDecrypt); } - // Generated from `System.Security.Cryptography.Xml.KeyInfo` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyInfo : System.Collections.IEnumerable { public void AddClause(System.Security.Cryptography.Xml.KeyInfoClause clause) => throw null; @@ -236,7 +222,6 @@ namespace System public void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.KeyInfoClause` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class KeyInfoClause { public abstract System.Xml.XmlElement GetXml(); @@ -244,7 +229,6 @@ namespace System public abstract void LoadXml(System.Xml.XmlElement element); } - // Generated from `System.Security.Cryptography.Xml.KeyInfoEncryptedKey` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyInfoEncryptedKey : System.Security.Cryptography.Xml.KeyInfoClause { public System.Security.Cryptography.Xml.EncryptedKey EncryptedKey { get => throw null; set => throw null; } @@ -254,7 +238,6 @@ namespace System public override void LoadXml(System.Xml.XmlElement value) => throw null; } - // Generated from `System.Security.Cryptography.Xml.KeyInfoName` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyInfoName : System.Security.Cryptography.Xml.KeyInfoClause { public override System.Xml.XmlElement GetXml() => throw null; @@ -264,7 +247,6 @@ namespace System public string Value { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.KeyInfoNode` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyInfoNode : System.Security.Cryptography.Xml.KeyInfoClause { public override System.Xml.XmlElement GetXml() => throw null; @@ -274,7 +256,6 @@ namespace System public System.Xml.XmlElement Value { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.KeyInfoRetrievalMethod` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyInfoRetrievalMethod : System.Security.Cryptography.Xml.KeyInfoClause { public override System.Xml.XmlElement GetXml() => throw null; @@ -286,7 +267,6 @@ namespace System public string Uri { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.KeyInfoX509Data` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyInfoX509Data : System.Security.Cryptography.Xml.KeyInfoClause { public void AddCertificate(System.Security.Cryptography.X509Certificates.X509Certificate certificate) => throw null; @@ -307,7 +287,6 @@ namespace System public System.Collections.ArrayList SubjectNames { get => throw null; } } - // Generated from `System.Security.Cryptography.Xml.KeyReference` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class KeyReference : System.Security.Cryptography.Xml.EncryptedReference { public KeyReference() => throw null; @@ -315,7 +294,6 @@ namespace System public KeyReference(string uri, System.Security.Cryptography.Xml.TransformChain transformChain) => throw null; } - // Generated from `System.Security.Cryptography.Xml.RSAKeyValue` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class RSAKeyValue : System.Security.Cryptography.Xml.KeyInfoClause { public override System.Xml.XmlElement GetXml() => throw null; @@ -325,7 +303,6 @@ namespace System public RSAKeyValue(System.Security.Cryptography.RSA key) => throw null; } - // Generated from `System.Security.Cryptography.Xml.Reference` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Reference { public void AddTransform(System.Security.Cryptography.Xml.Transform transform) => throw null; @@ -342,7 +319,6 @@ namespace System public string Uri { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.ReferenceList` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ReferenceList : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public int Add(object value) => throw null; @@ -366,7 +342,6 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Security.Cryptography.Xml.Signature` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Signature { public void AddObject(System.Security.Cryptography.Xml.DataObject dataObject) => throw null; @@ -380,7 +355,6 @@ namespace System public System.Security.Cryptography.Xml.SignedInfo SignedInfo { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Xml.SignedInfo` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SignedInfo : System.Collections.ICollection, System.Collections.IEnumerable { public void AddReference(System.Security.Cryptography.Xml.Reference reference) => throw null; @@ -401,7 +375,6 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Security.Cryptography.Xml.SignedXml` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SignedXml { public void AddObject(System.Security.Cryptography.Xml.DataObject dataObject) => throw null; @@ -460,7 +433,6 @@ namespace System protected string m_strSigningKeyName; } - // Generated from `System.Security.Cryptography.Xml.Transform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Transform { public string Algorithm { get => throw null; set => throw null; } @@ -479,7 +451,6 @@ namespace System protected Transform() => throw null; } - // Generated from `System.Security.Cryptography.Xml.TransformChain` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransformChain { public void Add(System.Security.Cryptography.Xml.Transform transform) => throw null; @@ -489,7 +460,6 @@ namespace System public TransformChain() => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDecryptionTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDecryptionTransform : System.Security.Cryptography.Xml.Transform { public void AddExceptUri(string uri) => throw null; @@ -505,7 +475,6 @@ namespace System public XmlDecryptionTransform() => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigBase64Transform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigBase64Transform : System.Security.Cryptography.Xml.Transform { protected override System.Xml.XmlNodeList GetInnerXml() => throw null; @@ -518,7 +487,6 @@ namespace System public XmlDsigBase64Transform() => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigC14NTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigC14NTransform : System.Security.Cryptography.Xml.Transform { public override System.Byte[] GetDigestedOutput(System.Security.Cryptography.HashAlgorithm hash) => throw null; @@ -533,13 +501,11 @@ namespace System public XmlDsigC14NTransform(bool includeComments) => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigC14NWithCommentsTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigC14NWithCommentsTransform : System.Security.Cryptography.Xml.XmlDsigC14NTransform { public XmlDsigC14NWithCommentsTransform() => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigEnvelopedSignatureTransform : System.Security.Cryptography.Xml.Transform { protected override System.Xml.XmlNodeList GetInnerXml() => throw null; @@ -553,7 +519,6 @@ namespace System public XmlDsigEnvelopedSignatureTransform(bool includeComments) => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigExcC14NTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigExcC14NTransform : System.Security.Cryptography.Xml.Transform { public override System.Byte[] GetDigestedOutput(System.Security.Cryptography.HashAlgorithm hash) => throw null; @@ -571,14 +536,12 @@ namespace System public XmlDsigExcC14NTransform(string inclusiveNamespacesPrefixList) => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigExcC14NWithCommentsTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigExcC14NWithCommentsTransform : System.Security.Cryptography.Xml.XmlDsigExcC14NTransform { public XmlDsigExcC14NWithCommentsTransform() => throw null; public XmlDsigExcC14NWithCommentsTransform(string inclusiveNamespacesPrefixList) => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigXPathTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigXPathTransform : System.Security.Cryptography.Xml.Transform { protected override System.Xml.XmlNodeList GetInnerXml() => throw null; @@ -591,7 +554,6 @@ namespace System public XmlDsigXPathTransform() => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlDsigXsltTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlDsigXsltTransform : System.Security.Cryptography.Xml.Transform { protected override System.Xml.XmlNodeList GetInnerXml() => throw null; @@ -605,7 +567,6 @@ namespace System public XmlDsigXsltTransform(bool includeComments) => throw null; } - // Generated from `System.Security.Cryptography.Xml.XmlLicenseTransform` in `System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class XmlLicenseTransform : System.Security.Cryptography.Xml.Transform { public System.Security.Cryptography.Xml.IRelDecryptor Decryptor { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Threading.RateLimiting.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Threading.RateLimiting.cs index 9973a360f34..dfad6d3fa06 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Threading.RateLimiting.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/System.Threading.RateLimiting.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace RateLimiting { - // Generated from `System.Threading.RateLimiting.ConcurrencyLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ConcurrencyLimiter : System.Threading.RateLimiting.RateLimiter { protected override System.Threading.Tasks.ValueTask AcquireAsyncCore(int permitCount, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -18,7 +18,6 @@ namespace System public override System.TimeSpan? IdleDuration { get => throw null; } } - // Generated from `System.Threading.RateLimiting.ConcurrencyLimiterOptions` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ConcurrencyLimiterOptions { public ConcurrencyLimiterOptions() => throw null; @@ -27,7 +26,6 @@ namespace System public System.Threading.RateLimiting.QueueProcessingOrder QueueProcessingOrder { get => throw null; set => throw null; } } - // Generated from `System.Threading.RateLimiting.FixedWindowRateLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class FixedWindowRateLimiter : System.Threading.RateLimiting.ReplenishingRateLimiter { protected override System.Threading.Tasks.ValueTask AcquireAsyncCore(int permitCount, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -42,7 +40,6 @@ namespace System public override bool TryReplenish() => throw null; } - // Generated from `System.Threading.RateLimiting.FixedWindowRateLimiterOptions` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class FixedWindowRateLimiterOptions { public bool AutoReplenishment { get => throw null; set => throw null; } @@ -53,7 +50,6 @@ namespace System public System.TimeSpan Window { get => throw null; set => throw null; } } - // Generated from `System.Threading.RateLimiting.MetadataName` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class MetadataName { public static System.Threading.RateLimiting.MetadataName Create(string name) => throw null; @@ -61,7 +57,6 @@ namespace System public static System.Threading.RateLimiting.MetadataName RetryAfter { get => throw null; } } - // Generated from `System.Threading.RateLimiting.MetadataName<>` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class MetadataName : System.IEquatable> { public static bool operator !=(System.Threading.RateLimiting.MetadataName left, System.Threading.RateLimiting.MetadataName right) => throw null; @@ -74,14 +69,12 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Threading.RateLimiting.PartitionedRateLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class PartitionedRateLimiter { public static System.Threading.RateLimiting.PartitionedRateLimiter Create(System.Func> partitioner, System.Collections.Generic.IEqualityComparer equalityComparer = default(System.Collections.Generic.IEqualityComparer)) => throw null; public static System.Threading.RateLimiting.PartitionedRateLimiter CreateChained(params System.Threading.RateLimiting.PartitionedRateLimiter[] limiters) => throw null; } - // Generated from `System.Threading.RateLimiting.PartitionedRateLimiter<>` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class PartitionedRateLimiter : System.IAsyncDisposable, System.IDisposable { public System.Threading.Tasks.ValueTask AcquireAsync(TResource resource, int permitCount = default(int), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -97,14 +90,12 @@ namespace System public System.Threading.RateLimiting.PartitionedRateLimiter WithTranslatedKey(System.Func keyAdapter, bool leaveOpen) => throw null; } - // Generated from `System.Threading.RateLimiting.QueueProcessingOrder` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum QueueProcessingOrder : int { NewestFirst = 1, OldestFirst = 0, } - // Generated from `System.Threading.RateLimiting.RateLimitLease` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class RateLimitLease : System.IDisposable { public void Dispose() => throw null; @@ -117,7 +108,6 @@ namespace System public bool TryGetMetadata(System.Threading.RateLimiting.MetadataName metadataName, out T metadata) => throw null; } - // Generated from `System.Threading.RateLimiting.RateLimitPartition` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class RateLimitPartition { public static System.Threading.RateLimiting.RateLimitPartition Get(TKey partitionKey, System.Func factory) => throw null; @@ -128,7 +118,6 @@ namespace System public static System.Threading.RateLimiting.RateLimitPartition GetTokenBucketLimiter(TKey partitionKey, System.Func factory) => throw null; } - // Generated from `System.Threading.RateLimiting.RateLimitPartition<>` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct RateLimitPartition { public System.Func Factory { get => throw null; } @@ -137,7 +126,6 @@ namespace System public RateLimitPartition(TKey partitionKey, System.Func factory) => throw null; } - // Generated from `System.Threading.RateLimiting.RateLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class RateLimiter : System.IAsyncDisposable, System.IDisposable { public System.Threading.Tasks.ValueTask AcquireAsync(int permitCount = default(int), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -153,7 +141,6 @@ namespace System protected RateLimiter() => throw null; } - // Generated from `System.Threading.RateLimiting.RateLimiterStatistics` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class RateLimiterStatistics { public System.Int64 CurrentAvailablePermits { get => throw null; set => throw null; } @@ -163,7 +150,6 @@ namespace System public System.Int64 TotalSuccessfulLeases { get => throw null; set => throw null; } } - // Generated from `System.Threading.RateLimiting.ReplenishingRateLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ReplenishingRateLimiter : System.Threading.RateLimiting.RateLimiter { public abstract bool IsAutoReplenishing { get; } @@ -172,7 +158,6 @@ namespace System public abstract bool TryReplenish(); } - // Generated from `System.Threading.RateLimiting.SlidingWindowRateLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SlidingWindowRateLimiter : System.Threading.RateLimiting.ReplenishingRateLimiter { protected override System.Threading.Tasks.ValueTask AcquireAsyncCore(int permitCount, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -187,7 +172,6 @@ namespace System public override bool TryReplenish() => throw null; } - // Generated from `System.Threading.RateLimiting.SlidingWindowRateLimiterOptions` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SlidingWindowRateLimiterOptions { public bool AutoReplenishment { get => throw null; set => throw null; } @@ -199,7 +183,6 @@ namespace System public System.TimeSpan Window { get => throw null; set => throw null; } } - // Generated from `System.Threading.RateLimiting.TokenBucketRateLimiter` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TokenBucketRateLimiter : System.Threading.RateLimiting.ReplenishingRateLimiter { protected override System.Threading.Tasks.ValueTask AcquireAsyncCore(int tokenCount, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -214,7 +197,6 @@ namespace System public override bool TryReplenish() => throw null; } - // Generated from `System.Threading.RateLimiting.TokenBucketRateLimiterOptions` in `System.Threading.RateLimiting, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TokenBucketRateLimiterOptions { public bool AutoReplenishment { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.CSharp.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.CSharp.cs index cb01dafa400..659a790c78b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.CSharp.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.CSharp.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace RuntimeBinder { - // Generated from `Microsoft.CSharp.RuntimeBinder.Binder` in `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Binder { public static System.Runtime.CompilerServices.CallSiteBinder BinaryOperation(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Linq.Expressions.ExpressionType operation, System.Type context, System.Collections.Generic.IEnumerable argumentInfo) => throw null; @@ -22,13 +22,11 @@ namespace Microsoft public static System.Runtime.CompilerServices.CallSiteBinder UnaryOperation(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Linq.Expressions.ExpressionType operation, System.Type context, System.Collections.Generic.IEnumerable argumentInfo) => throw null; } - // Generated from `Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo` in `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CSharpArgumentInfo { public static Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo Create(Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags flags, string name) => throw null; } - // Generated from `Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags` in `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CSharpArgumentInfoFlags : int { @@ -41,7 +39,6 @@ namespace Microsoft UseCompileTimeType = 1, } - // Generated from `Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags` in `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CSharpBinderFlags : int { @@ -57,7 +54,6 @@ namespace Microsoft ValueFromCompoundAssignment = 128, } - // Generated from `Microsoft.CSharp.RuntimeBinder.RuntimeBinderException` in `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RuntimeBinderException : System.Exception { public RuntimeBinderException() => throw null; @@ -66,7 +62,6 @@ namespace Microsoft public RuntimeBinderException(string message, System.Exception innerException) => throw null; } - // Generated from `Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException` in `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RuntimeBinderInternalCompilerException : System.Exception { public RuntimeBinderInternalCompilerException() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.VisualBasic.Core.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.VisualBasic.Core.cs index cb76864c722..c5e90da6fcc 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.VisualBasic.Core.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.VisualBasic.Core.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace Microsoft { namespace VisualBasic { - // Generated from `Microsoft.VisualBasic.AppWinStyle` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AppWinStyle : short { Hide = 0, @@ -15,7 +15,6 @@ namespace Microsoft NormalNoFocus = 4, } - // Generated from `Microsoft.VisualBasic.CallType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CallType : int { Get = 2, @@ -24,7 +23,6 @@ namespace Microsoft Set = 8, } - // Generated from `Microsoft.VisualBasic.Collection` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Collection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { int System.Collections.IList.Add(object value) => throw null; @@ -55,7 +53,6 @@ namespace Microsoft object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `Microsoft.VisualBasic.ComClassAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComClassAttribute : System.Attribute { public string ClassID { get => throw null; } @@ -68,14 +65,12 @@ namespace Microsoft public bool InterfaceShadows { get => throw null; set => throw null; } } - // Generated from `Microsoft.VisualBasic.CompareMethod` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CompareMethod : int { Binary = 0, Text = 1, } - // Generated from `Microsoft.VisualBasic.Constants` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Constants { public const Microsoft.VisualBasic.MsgBoxResult vbAbort = default; @@ -182,7 +177,6 @@ namespace Microsoft public const Microsoft.VisualBasic.MsgBoxStyle vbYesNoCancel = default; } - // Generated from `Microsoft.VisualBasic.ControlChars` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ControlChars { public const System.Char Back = default; @@ -198,7 +192,6 @@ namespace Microsoft public const System.Char VerticalTab = default; } - // Generated from `Microsoft.VisualBasic.Conversion` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Conversion { public static object CTypeDynamic(object Expression, System.Type TargetType) => throw null; @@ -243,7 +236,6 @@ namespace Microsoft public static double Val(string InputStr) => throw null; } - // Generated from `Microsoft.VisualBasic.DateAndTime` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateAndTime { public static System.DateTime DateAdd(Microsoft.VisualBasic.DateInterval Interval, double Number, System.DateTime DateValue) => throw null; @@ -273,7 +265,6 @@ namespace Microsoft public static int Year(System.DateTime DateValue) => throw null; } - // Generated from `Microsoft.VisualBasic.DateFormat` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DateFormat : int { GeneralDate = 0, @@ -283,7 +274,6 @@ namespace Microsoft ShortTime = 4, } - // Generated from `Microsoft.VisualBasic.DateInterval` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DateInterval : int { Day = 4, @@ -298,14 +288,12 @@ namespace Microsoft Year = 0, } - // Generated from `Microsoft.VisualBasic.DueDate` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DueDate : int { BegOfPeriod = 1, EndOfPeriod = 0, } - // Generated from `Microsoft.VisualBasic.ErrObject` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ErrObject { public void Clear() => throw null; @@ -320,7 +308,6 @@ namespace Microsoft public string Source { get => throw null; set => throw null; } } - // Generated from `Microsoft.VisualBasic.FileAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FileAttribute : int { @@ -333,7 +320,6 @@ namespace Microsoft Volume = 8, } - // Generated from `Microsoft.VisualBasic.FileSystem` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystem { public static void ChDir(string Path) => throw null; @@ -421,7 +407,6 @@ namespace Microsoft public static void WriteLine(int FileNumber, params object[] Output) => throw null; } - // Generated from `Microsoft.VisualBasic.Financial` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Financial { public static double DDB(double Cost, double Salvage, double Life, double Period, double Factor = default(double)) => throw null; @@ -439,7 +424,6 @@ namespace Microsoft public static double SYD(double Cost, double Salvage, double Life, double Period) => throw null; } - // Generated from `Microsoft.VisualBasic.FirstDayOfWeek` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FirstDayOfWeek : int { Friday = 6, @@ -452,7 +436,6 @@ namespace Microsoft Wednesday = 4, } - // Generated from `Microsoft.VisualBasic.FirstWeekOfYear` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FirstWeekOfYear : int { FirstFourDays = 2, @@ -461,13 +444,11 @@ namespace Microsoft System = 0, } - // Generated from `Microsoft.VisualBasic.HideModuleNameAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HideModuleNameAttribute : System.Attribute { public HideModuleNameAttribute() => throw null; } - // Generated from `Microsoft.VisualBasic.Information` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Information { public static int Erl() => throw null; @@ -489,7 +470,6 @@ namespace Microsoft public static string VbTypeName(string UrtName) => throw null; } - // Generated from `Microsoft.VisualBasic.Interaction` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Interaction { public static void AppActivate(int ProcessId) => throw null; @@ -514,7 +494,6 @@ namespace Microsoft public static object Switch(params object[] VarExpr) => throw null; } - // Generated from `Microsoft.VisualBasic.MsgBoxResult` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MsgBoxResult : int { Abort = 3, @@ -526,7 +505,6 @@ namespace Microsoft Yes = 6, } - // Generated from `Microsoft.VisualBasic.MsgBoxStyle` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MsgBoxStyle : int { @@ -551,7 +529,6 @@ namespace Microsoft YesNoCancel = 3, } - // Generated from `Microsoft.VisualBasic.MyGroupCollectionAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MyGroupCollectionAttribute : System.Attribute { public string CreateMethod { get => throw null; } @@ -561,7 +538,6 @@ namespace Microsoft public string MyGroupName { get => throw null; } } - // Generated from `Microsoft.VisualBasic.OpenAccess` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OpenAccess : int { Default = -1, @@ -570,7 +546,6 @@ namespace Microsoft Write = 2, } - // Generated from `Microsoft.VisualBasic.OpenMode` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OpenMode : int { Append = 8, @@ -580,7 +555,6 @@ namespace Microsoft Random = 4, } - // Generated from `Microsoft.VisualBasic.OpenShare` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OpenShare : int { Default = -1, @@ -590,14 +564,12 @@ namespace Microsoft Shared = 3, } - // Generated from `Microsoft.VisualBasic.SpcInfo` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SpcInfo { public System.Int16 Count; // Stub generator skipped constructor } - // Generated from `Microsoft.VisualBasic.Strings` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Strings { public static int Asc(System.Char String) => throw null; @@ -659,14 +631,12 @@ namespace Microsoft public static string UCase(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.TabInfo` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TabInfo { public System.Int16 Column; // Stub generator skipped constructor } - // Generated from `Microsoft.VisualBasic.TriState` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TriState : int { False = 0, @@ -674,7 +644,6 @@ namespace Microsoft UseDefault = -2, } - // Generated from `Microsoft.VisualBasic.VBFixedArrayAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VBFixedArrayAttribute : System.Attribute { public int[] Bounds { get => throw null; } @@ -683,14 +652,12 @@ namespace Microsoft public VBFixedArrayAttribute(int UpperBound1, int UpperBound2) => throw null; } - // Generated from `Microsoft.VisualBasic.VBFixedStringAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VBFixedStringAttribute : System.Attribute { public int Length { get => throw null; } public VBFixedStringAttribute(int Length) => throw null; } - // Generated from `Microsoft.VisualBasic.VBMath` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VBMath { public static void Randomize() => throw null; @@ -699,7 +666,6 @@ namespace Microsoft public static float Rnd(float Number) => throw null; } - // Generated from `Microsoft.VisualBasic.VariantType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum VariantType : int { Array = 8192, @@ -724,7 +690,6 @@ namespace Microsoft Variant = 12, } - // Generated from `Microsoft.VisualBasic.VbStrConv` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum VbStrConv : int { @@ -743,35 +708,30 @@ namespace Microsoft namespace CompilerServices { - // Generated from `Microsoft.VisualBasic.CompilerServices.BooleanType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BooleanType { public static bool FromObject(object Value) => throw null; public static bool FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.ByteType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ByteType { public static System.Byte FromObject(object Value) => throw null; public static System.Byte FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.CharArrayType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CharArrayType { public static System.Char[] FromObject(object Value) => throw null; public static System.Char[] FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.CharType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CharType { public static System.Char FromObject(object Value) => throw null; public static System.Char FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.Conversions` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Conversions { public static object ChangeType(object Expression, System.Type TargetType) => throw null; @@ -829,7 +789,6 @@ namespace Microsoft public static System.UInt16 ToUShort(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.DateType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateType { public static System.DateTime FromObject(object Value) => throw null; @@ -837,7 +796,6 @@ namespace Microsoft public static System.DateTime FromString(string Value, System.Globalization.CultureInfo culture) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.DecimalType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecimalType { public static System.Decimal FromBoolean(bool Value) => throw null; @@ -848,13 +806,11 @@ namespace Microsoft public static System.Decimal Parse(string Value, System.Globalization.NumberFormatInfo NumberFormat) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.DesignerGeneratedAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerGeneratedAttribute : System.Attribute { public DesignerGeneratedAttribute() => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.DoubleType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DoubleType { public static double FromObject(object Value) => throw null; @@ -865,20 +821,17 @@ namespace Microsoft public static double Parse(string Value, System.Globalization.NumberFormatInfo NumberFormat) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.IncompleteInitialization` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IncompleteInitialization : System.Exception { public IncompleteInitialization() => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.IntegerType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IntegerType { public static int FromObject(object Value) => throw null; public static int FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.LateBinding` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LateBinding { public static void LateCall(object o, System.Type objType, string name, object[] args, string[] paramnames, bool[] CopyBack) => throw null; @@ -890,21 +843,18 @@ namespace Microsoft public static void LateSetComplex(object o, System.Type objType, string name, object[] args, string[] paramnames, bool OptimisticSet, bool RValueBase) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.LikeOperator` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LikeOperator { public static object LikeObject(object Source, object Pattern, Microsoft.VisualBasic.CompareMethod CompareOption) => throw null; public static bool LikeString(string Source, string Pattern, Microsoft.VisualBasic.CompareMethod CompareOption) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.LongType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LongType { public static System.Int64 FromObject(object Value) => throw null; public static System.Int64 FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.NewLateBinding` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NewLateBinding { public static object FallbackCall(object Instance, string MemberName, object[] Arguments, string[] ArgumentNames, bool IgnoreReturn) => throw null; @@ -927,10 +877,8 @@ namespace Microsoft public static void LateSetComplex(object Instance, System.Type Type, string MemberName, object[] Arguments, string[] ArgumentNames, System.Type[] TypeArguments, bool OptimisticSet, bool RValueBase) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.ObjectFlowControl` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectFlowControl { - // Generated from `Microsoft.VisualBasic.CompilerServices.ObjectFlowControl+ForLoopControl` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ForLoopControl { public static bool ForLoopInitObj(object Counter, object Start, object Limit, object StepValue, ref object LoopForResult, ref object CounterResult) => throw null; @@ -944,7 +892,6 @@ namespace Microsoft public static void CheckForSyncLockOnValueType(object Expression) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.ObjectType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectType { public static object AddObj(object o1, object o2) => throw null; @@ -970,7 +917,6 @@ namespace Microsoft public static object XorObj(object obj1, object obj2) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.Operators` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Operators { public static object AddObject(object Left, object Right) => throw null; @@ -1005,19 +951,16 @@ namespace Microsoft public static object XorObject(object Left, object Right) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.OptionCompareAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OptionCompareAttribute : System.Attribute { public OptionCompareAttribute() => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.OptionTextAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OptionTextAttribute : System.Attribute { public OptionTextAttribute() => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.ProjectData` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProjectData { public static void ClearProjectError() => throw null; @@ -1027,14 +970,12 @@ namespace Microsoft public static void SetProjectError(System.Exception ex, int lErl) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.ShortType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ShortType { public static System.Int16 FromObject(object Value) => throw null; public static System.Int16 FromString(string Value) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.SingleType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SingleType { public static float FromObject(object Value) => throw null; @@ -1043,20 +984,17 @@ namespace Microsoft public static float FromString(string Value, System.Globalization.NumberFormatInfo NumberFormat) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StandardModuleAttribute : System.Attribute { public StandardModuleAttribute() => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.StaticLocalInitFlag` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StaticLocalInitFlag { public System.Int16 State; public StaticLocalInitFlag() => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.StringType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringType { public static string FromBoolean(bool Value) => throw null; @@ -1080,14 +1018,12 @@ namespace Microsoft public static bool StrLikeText(string Source, string Pattern) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.Utils` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Utils { public static System.Array CopyArray(System.Array arySrc, System.Array aryDest) => throw null; public static string GetResourceString(string ResourceKey, params string[] Args) => throw null; } - // Generated from `Microsoft.VisualBasic.CompilerServices.Versioned` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Versioned { public static object CallByName(object Instance, string MethodName, Microsoft.VisualBasic.CallType UseCallType, params object[] Arguments) => throw null; @@ -1100,21 +1036,18 @@ namespace Microsoft } namespace FileIO { - // Generated from `Microsoft.VisualBasic.FileIO.DeleteDirectoryOption` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DeleteDirectoryOption : int { DeleteAllContents = 5, ThrowIfDirectoryNonEmpty = 4, } - // Generated from `Microsoft.VisualBasic.FileIO.FieldType` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FieldType : int { Delimited = 0, FixedWidth = 1, } - // Generated from `Microsoft.VisualBasic.FileIO.FileSystem` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystem { public static string CombinePath(string baseDirectory, string relativePath) => throw null; @@ -1175,7 +1108,6 @@ namespace Microsoft public static void WriteAllText(string file, string text, bool append, System.Text.Encoding encoding) => throw null; } - // Generated from `Microsoft.VisualBasic.FileIO.MalformedLineException` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MalformedLineException : System.Exception { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -1189,21 +1121,18 @@ namespace Microsoft public override string ToString() => throw null; } - // Generated from `Microsoft.VisualBasic.FileIO.RecycleOption` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RecycleOption : int { DeletePermanently = 2, SendToRecycleBin = 3, } - // Generated from `Microsoft.VisualBasic.FileIO.SearchOption` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SearchOption : int { SearchAllSubDirectories = 3, SearchTopLevelOnly = 2, } - // Generated from `Microsoft.VisualBasic.FileIO.SpecialDirectories` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SpecialDirectories { public static string AllUsersApplicationData { get => throw null; } @@ -1218,7 +1147,6 @@ namespace Microsoft public static string Temp { get => throw null; } } - // Generated from `Microsoft.VisualBasic.FileIO.TextFieldParser` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TextFieldParser : System.IDisposable { public void Close() => throw null; @@ -1251,14 +1179,12 @@ namespace Microsoft // ERR: Stub generator didn't handle member: ~TextFieldParser } - // Generated from `Microsoft.VisualBasic.FileIO.UICancelOption` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UICancelOption : int { DoNothing = 2, ThrowException = 3, } - // Generated from `Microsoft.VisualBasic.FileIO.UIOption` in `Microsoft.VisualBasic.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UIOption : int { AllDialogs = 3, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Primitives.cs index 953d43d0225..5a60e762ef4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Primitives.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Win32.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace ComponentModel { - // Generated from `System.ComponentModel.Win32Exception` in `Microsoft.Win32.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Win32Exception : System.Runtime.InteropServices.ExternalException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Registry.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Registry.cs index 5dcfd6c37d7..97a5c94d86b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Registry.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Registry.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace Microsoft { namespace Win32 { - // Generated from `Microsoft.Win32.Registry` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Registry { public static Microsoft.Win32.RegistryKey ClassesRoot; @@ -18,7 +18,6 @@ namespace Microsoft public static Microsoft.Win32.RegistryKey Users; } - // Generated from `Microsoft.Win32.RegistryHive` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RegistryHive : int { ClassesRoot = -2147483648, @@ -29,7 +28,6 @@ namespace Microsoft Users = -2147483645, } - // Generated from `Microsoft.Win32.RegistryKey` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegistryKey : System.MarshalByRefObject, System.IDisposable { public void Close() => throw null; @@ -77,7 +75,6 @@ namespace Microsoft public Microsoft.Win32.RegistryView View { get => throw null; } } - // Generated from `Microsoft.Win32.RegistryKeyPermissionCheck` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RegistryKeyPermissionCheck : int { Default = 0, @@ -85,7 +82,6 @@ namespace Microsoft ReadWriteSubTree = 2, } - // Generated from `Microsoft.Win32.RegistryOptions` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum RegistryOptions : int { @@ -93,7 +89,6 @@ namespace Microsoft Volatile = 1, } - // Generated from `Microsoft.Win32.RegistryValueKind` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RegistryValueKind : int { Binary = 3, @@ -106,7 +101,6 @@ namespace Microsoft Unknown = 0, } - // Generated from `Microsoft.Win32.RegistryValueOptions` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum RegistryValueOptions : int { @@ -114,7 +108,6 @@ namespace Microsoft None = 0, } - // Generated from `Microsoft.Win32.RegistryView` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RegistryView : int { Default = 0, @@ -124,7 +117,6 @@ namespace Microsoft namespace SafeHandles { - // Generated from `Microsoft.Win32.SafeHandles.SafeRegistryHandle` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeRegistryHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { protected override bool ReleaseHandle() => throw null; @@ -141,7 +133,6 @@ namespace System { namespace AccessControl { - // Generated from `System.Security.AccessControl.RegistryAccessRule` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegistryAccessRule : System.Security.AccessControl.AccessRule { public RegistryAccessRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.RegistryRights registryRights, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AccessControlType)) => throw null; @@ -151,7 +142,6 @@ namespace System public System.Security.AccessControl.RegistryRights RegistryRights { get => throw null; } } - // Generated from `System.Security.AccessControl.RegistryAuditRule` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegistryAuditRule : System.Security.AccessControl.AuditRule { public RegistryAuditRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.RegistryRights registryRights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AuditFlags)) => throw null; @@ -159,7 +149,6 @@ namespace System public System.Security.AccessControl.RegistryRights RegistryRights { get => throw null; } } - // Generated from `System.Security.AccessControl.RegistryRights` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum RegistryRights : int { @@ -179,7 +168,6 @@ namespace System WriteKey = 131078, } - // Generated from `System.Security.AccessControl.RegistrySecurity` in `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegistrySecurity : System.Security.AccessControl.NativeObjectSecurity { public override System.Type AccessRightType { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Concurrent.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Concurrent.cs index fdf6bc78e7a..a4552677a27 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Concurrent.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Concurrent.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Concurrent { - // Generated from `System.Collections.Concurrent.BlockingCollection<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BlockingCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.IDisposable { public void Add(T item) => throw null; @@ -55,7 +55,6 @@ namespace System public static int TryTakeFromAny(System.Collections.Concurrent.BlockingCollection[] collections, out T item, int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Collections.Concurrent.ConcurrentBag<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConcurrentBag : System.Collections.Concurrent.IProducerConsumerCollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { public void Add(T item) => throw null; @@ -76,7 +75,6 @@ namespace System public bool TryTake(out T result) => throw null; } - // Generated from `System.Collections.Concurrent.ConcurrentDictionary<,>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConcurrentDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair keyValuePair) => throw null; @@ -131,7 +129,6 @@ namespace System System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } } - // Generated from `System.Collections.Concurrent.ConcurrentQueue<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConcurrentQueue : System.Collections.Concurrent.IProducerConsumerCollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { public void Clear() => throw null; @@ -153,7 +150,6 @@ namespace System bool System.Collections.Concurrent.IProducerConsumerCollection.TryTake(out T item) => throw null; } - // Generated from `System.Collections.Concurrent.ConcurrentStack<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConcurrentStack : System.Collections.Concurrent.IProducerConsumerCollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { public void Clear() => throw null; @@ -179,7 +175,6 @@ namespace System bool System.Collections.Concurrent.IProducerConsumerCollection.TryTake(out T item) => throw null; } - // Generated from `System.Collections.Concurrent.EnumerablePartitionerOptions` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EnumerablePartitionerOptions : int { @@ -187,7 +182,6 @@ namespace System None = 0, } - // Generated from `System.Collections.Concurrent.IProducerConsumerCollection<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IProducerConsumerCollection : System.Collections.Generic.IEnumerable, System.Collections.ICollection, System.Collections.IEnumerable { void CopyTo(T[] array, int index); @@ -196,7 +190,6 @@ namespace System bool TryTake(out T item); } - // Generated from `System.Collections.Concurrent.OrderablePartitioner<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class OrderablePartitioner : System.Collections.Concurrent.Partitioner { public override System.Collections.Generic.IEnumerable GetDynamicPartitions() => throw null; @@ -209,7 +202,6 @@ namespace System protected OrderablePartitioner(bool keysOrderedInEachPartition, bool keysOrderedAcrossPartitions, bool keysNormalized) => throw null; } - // Generated from `System.Collections.Concurrent.Partitioner` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Partitioner { public static System.Collections.Concurrent.OrderablePartitioner> Create(int fromInclusive, int toExclusive) => throw null; @@ -222,7 +214,6 @@ namespace System public static System.Collections.Concurrent.OrderablePartitioner Create(TSource[] array, bool loadBalance) => throw null; } - // Generated from `System.Collections.Concurrent.Partitioner<>` in `System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Partitioner { public virtual System.Collections.Generic.IEnumerable GetDynamicPartitions() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Immutable.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Immutable.cs index 93ec683d68e..c8eb72a94e9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Immutable.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Immutable.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Immutable { - // Generated from `System.Collections.Immutable.IImmutableDictionary<,>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IImmutableDictionary : System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.IEnumerable { System.Collections.Immutable.IImmutableDictionary Add(TKey key, TValue value); @@ -20,7 +20,6 @@ namespace System bool TryGetKey(TKey equalKey, out TKey actualKey); } - // Generated from `System.Collections.Immutable.IImmutableList<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IImmutableList : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { System.Collections.Immutable.IImmutableList Add(T value); @@ -39,7 +38,6 @@ namespace System System.Collections.Immutable.IImmutableList SetItem(int index, T value); } - // Generated from `System.Collections.Immutable.IImmutableQueue<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IImmutableQueue : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { System.Collections.Immutable.IImmutableQueue Clear(); @@ -49,7 +47,6 @@ namespace System T Peek(); } - // Generated from `System.Collections.Immutable.IImmutableSet<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IImmutableSet : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { System.Collections.Immutable.IImmutableSet Add(T value); @@ -69,7 +66,6 @@ namespace System System.Collections.Immutable.IImmutableSet Union(System.Collections.Generic.IEnumerable other); } - // Generated from `System.Collections.Immutable.IImmutableStack<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IImmutableStack : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { System.Collections.Immutable.IImmutableStack Clear(); @@ -79,7 +75,6 @@ namespace System System.Collections.Immutable.IImmutableStack Push(T value); } - // Generated from `System.Collections.Immutable.ImmutableArray` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableArray { public static int BinarySearch(this System.Collections.Immutable.ImmutableArray array, T value) => throw null; @@ -109,10 +104,8 @@ namespace System public static System.Collections.Immutable.ImmutableArray ToImmutableArray(this System.Collections.Generic.IEnumerable items) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableArray<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ImmutableArray : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.Collections.Immutable.IImmutableList, System.IEquatable> { - // Generated from `System.Collections.Immutable.ImmutableArray<>+Builder` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Builder : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { public void Add(T item) => throw null; @@ -173,7 +166,6 @@ namespace System } - // Generated from `System.Collections.Immutable.ImmutableArray<>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator { public T Current { get => throw null; } @@ -298,7 +290,6 @@ namespace System public System.Collections.Immutable.ImmutableArray.Builder ToBuilder() => throw null; } - // Generated from `System.Collections.Immutable.ImmutableDictionary` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableDictionary { public static bool Contains(this System.Collections.Immutable.IImmutableDictionary map, TKey key, TValue value) => throw null; @@ -324,10 +315,8 @@ namespace System public static System.Collections.Immutable.ImmutableDictionary ToImmutableDictionary(this System.Collections.Generic.IEnumerable source, System.Func keySelector, System.Collections.Generic.IEqualityComparer keyComparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableDictionary<,>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Collections.Immutable.IImmutableDictionary { - // Generated from `System.Collections.Immutable.ImmutableDictionary<,>+Builder` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Builder : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { public void Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -373,7 +362,6 @@ namespace System } - // Generated from `System.Collections.Immutable.ImmutableDictionary<,>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -443,7 +431,6 @@ namespace System public System.Collections.Immutable.ImmutableDictionary WithComparers(System.Collections.Generic.IEqualityComparer keyComparer, System.Collections.Generic.IEqualityComparer valueComparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableHashSet` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableHashSet { public static System.Collections.Immutable.ImmutableHashSet Create() => throw null; @@ -461,10 +448,8 @@ namespace System public static System.Collections.Immutable.ImmutableHashSet ToImmutableHashSet(this System.Collections.Generic.IEnumerable source, System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableHashSet<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableHashSet : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlySet, System.Collections.Generic.ISet, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.Immutable.IImmutableSet { - // Generated from `System.Collections.Immutable.ImmutableHashSet<>+Builder` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Builder : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.ISet, System.Collections.IEnumerable { public bool Add(T item) => throw null; @@ -494,7 +479,6 @@ namespace System } - // Generated from `System.Collections.Immutable.ImmutableHashSet<>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -552,7 +536,6 @@ namespace System public System.Collections.Immutable.ImmutableHashSet WithComparer(System.Collections.Generic.IEqualityComparer equalityComparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableInterlocked` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableInterlocked { public static TValue AddOrUpdate(ref System.Collections.Immutable.ImmutableDictionary location, TKey key, System.Func addValueFactory, System.Func updateValueFactory) => throw null; @@ -576,7 +559,6 @@ namespace System public static bool Update(ref T location, System.Func transformer) where T : class => throw null; } - // Generated from `System.Collections.Immutable.ImmutableList` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableList { public static System.Collections.Immutable.ImmutableList Create() => throw null; @@ -599,10 +581,8 @@ namespace System public static System.Collections.Immutable.ImmutableList ToImmutableList(this System.Collections.Generic.IEnumerable source) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableList<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableList : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Collections.Immutable.IImmutableList { - // Generated from `System.Collections.Immutable.ImmutableList<>+Builder` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Builder : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public void Add(T item) => throw null; @@ -677,7 +657,6 @@ namespace System } - // Generated from `System.Collections.Immutable.ImmutableList<>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -777,7 +756,6 @@ namespace System public bool TrueForAll(System.Predicate match) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableQueue` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableQueue { public static System.Collections.Immutable.ImmutableQueue Create() => throw null; @@ -787,10 +765,8 @@ namespace System public static System.Collections.Immutable.IImmutableQueue Dequeue(this System.Collections.Immutable.IImmutableQueue queue, out T value) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableQueue<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableQueue : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Collections.Immutable.IImmutableQueue { - // Generated from `System.Collections.Immutable.ImmutableQueue<>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator { public T Current { get => throw null; } @@ -815,7 +791,6 @@ namespace System public T PeekRef() => throw null; } - // Generated from `System.Collections.Immutable.ImmutableSortedDictionary` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableSortedDictionary { public static System.Collections.Immutable.ImmutableSortedDictionary Create() => throw null; @@ -836,10 +811,8 @@ namespace System public static System.Collections.Immutable.ImmutableSortedDictionary ToImmutableSortedDictionary(this System.Collections.Generic.IEnumerable source, System.Func keySelector, System.Func elementSelector, System.Collections.Generic.IComparer keyComparer, System.Collections.Generic.IEqualityComparer valueComparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableSortedDictionary<,>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableSortedDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Collections.Immutable.IImmutableDictionary { - // Generated from `System.Collections.Immutable.ImmutableSortedDictionary<,>+Builder` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Builder : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { public void Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -886,7 +859,6 @@ namespace System } - // Generated from `System.Collections.Immutable.ImmutableSortedDictionary<,>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -957,7 +929,6 @@ namespace System public System.Collections.Immutable.ImmutableSortedDictionary WithComparers(System.Collections.Generic.IComparer keyComparer, System.Collections.Generic.IEqualityComparer valueComparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableSortedSet` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableSortedSet { public static System.Collections.Immutable.ImmutableSortedSet Create() => throw null; @@ -975,10 +946,8 @@ namespace System public static System.Collections.Immutable.ImmutableSortedSet ToImmutableSortedSet(this System.Collections.Generic.IEnumerable source, System.Collections.Generic.IComparer comparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableSortedSet<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableSortedSet : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.Generic.IReadOnlySet, System.Collections.Generic.ISet, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Collections.Immutable.IImmutableSet { - // Generated from `System.Collections.Immutable.ImmutableSortedSet<>+Builder` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Builder : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.ISet, System.Collections.ICollection, System.Collections.IEnumerable { public bool Add(T item) => throw null; @@ -1017,7 +986,6 @@ namespace System } - // Generated from `System.Collections.Immutable.ImmutableSortedSet<>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -1094,7 +1062,6 @@ namespace System public System.Collections.Immutable.ImmutableSortedSet WithComparer(System.Collections.Generic.IComparer comparer) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableStack` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableStack { public static System.Collections.Immutable.ImmutableStack Create() => throw null; @@ -1104,10 +1071,8 @@ namespace System public static System.Collections.Immutable.IImmutableStack Pop(this System.Collections.Immutable.IImmutableStack stack, out T value) => throw null; } - // Generated from `System.Collections.Immutable.ImmutableStack<>` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableStack : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Collections.Immutable.IImmutableStack { - // Generated from `System.Collections.Immutable.ImmutableStack<>+Enumerator` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator { public T Current { get => throw null; } @@ -1136,7 +1101,6 @@ namespace System } namespace Linq { - // Generated from `System.Linq.ImmutableArrayExtensions` in `System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ImmutableArrayExtensions { public static T Aggregate(this System.Collections.Immutable.ImmutableArray immutableArray, System.Func func) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.NonGeneric.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.NonGeneric.cs index dae3c944ab3..cb64504fca4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.NonGeneric.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.NonGeneric.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Collections { - // Generated from `System.Collections.CaseInsensitiveComparer` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CaseInsensitiveComparer : System.Collections.IComparer { public CaseInsensitiveComparer() => throw null; @@ -14,7 +14,6 @@ namespace System public static System.Collections.CaseInsensitiveComparer DefaultInvariant { get => throw null; } } - // Generated from `System.Collections.CaseInsensitiveHashCodeProvider` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CaseInsensitiveHashCodeProvider : System.Collections.IHashCodeProvider { public CaseInsensitiveHashCodeProvider() => throw null; @@ -24,7 +23,6 @@ namespace System public int GetHashCode(object obj) => throw null; } - // Generated from `System.Collections.CollectionBase` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CollectionBase : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { int System.Collections.IList.Add(object value) => throw null; @@ -58,7 +56,6 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Collections.DictionaryBase` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DictionaryBase : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { void System.Collections.IDictionary.Add(object key, object value) => throw null; @@ -91,7 +88,6 @@ namespace System System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } } - // Generated from `System.Collections.Queue` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Queue : System.Collections.ICollection, System.Collections.IEnumerable, System.ICloneable { public virtual void Clear() => throw null; @@ -114,7 +110,6 @@ namespace System public virtual void TrimToSize() => throw null; } - // Generated from `System.Collections.ReadOnlyCollectionBase` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ReadOnlyCollectionBase : System.Collections.ICollection, System.Collections.IEnumerable { void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; @@ -126,7 +121,6 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Collections.SortedList` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SortedList : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.ICloneable { public virtual void Add(object key, object value) => throw null; @@ -166,7 +160,6 @@ namespace System public virtual System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Collections.Stack` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Stack : System.Collections.ICollection, System.Collections.IEnumerable, System.ICloneable { public virtual void Clear() => throw null; @@ -189,7 +182,6 @@ namespace System namespace Specialized { - // Generated from `System.Collections.Specialized.CollectionsUtil` in `System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CollectionsUtil { public CollectionsUtil() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Specialized.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Specialized.cs index cd32801fc51..3a63dff333a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Specialized.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Specialized.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,10 +7,8 @@ namespace System { namespace Specialized { - // Generated from `System.Collections.Specialized.BitVector32` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BitVector32 : System.IEquatable { - // Generated from `System.Collections.Specialized.BitVector32+Section` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Section : System.IEquatable { public static bool operator !=(System.Collections.Specialized.BitVector32.Section a, System.Collections.Specialized.BitVector32.Section b) => throw null; @@ -42,7 +41,6 @@ namespace System public static string ToString(System.Collections.Specialized.BitVector32 value) => throw null; } - // Generated from `System.Collections.Specialized.HybridDictionary` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HybridDictionary : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { public void Add(object key, object value) => throw null; @@ -66,7 +64,6 @@ namespace System public System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Collections.Specialized.IOrderedDictionary` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IOrderedDictionary : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { System.Collections.IDictionaryEnumerator GetEnumerator(); @@ -75,7 +72,6 @@ namespace System void RemoveAt(int index); } - // Generated from `System.Collections.Specialized.ListDictionary` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ListDictionary : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { public void Add(object key, object value) => throw null; @@ -97,10 +93,8 @@ namespace System public System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Collections.Specialized.NameObjectCollectionBase` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class NameObjectCollectionBase : System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { - // Generated from `System.Collections.Specialized.NameObjectCollectionBase+KeysCollection` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KeysCollection : System.Collections.ICollection, System.Collections.IEnumerable { void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; @@ -144,7 +138,6 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Collections.Specialized.NameValueCollection` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NameValueCollection : System.Collections.Specialized.NameObjectCollectionBase { public void Add(System.Collections.Specialized.NameValueCollection c) => throw null; @@ -174,7 +167,6 @@ namespace System public virtual void Set(string name, string value) => throw null; } - // Generated from `System.Collections.Specialized.OrderedDictionary` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OrderedDictionary : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Collections.Specialized.IOrderedDictionary, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public void Add(object key, object value) => throw null; @@ -206,7 +198,6 @@ namespace System public System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Collections.Specialized.StringCollection` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { int System.Collections.IList.Add(object value) => throw null; @@ -237,7 +228,6 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Collections.Specialized.StringDictionary` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringDictionary : System.Collections.IEnumerable { public virtual void Add(string key, string value) => throw null; @@ -256,7 +246,6 @@ namespace System public virtual System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Collections.Specialized.StringEnumerator` in `System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringEnumerator { public string Current { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.cs index 621ea14790c..97c54625254 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Collections { - // Generated from `System.Collections.BitArray` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BitArray : System.Collections.ICollection, System.Collections.IEnumerable, System.ICloneable { public System.Collections.BitArray And(System.Collections.BitArray value) => throw null; @@ -33,7 +33,6 @@ namespace System public System.Collections.BitArray Xor(System.Collections.BitArray value) => throw null; } - // Generated from `System.Collections.StructuralComparisons` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class StructuralComparisons { public static System.Collections.IComparer StructuralComparer { get => throw null; } @@ -42,7 +41,6 @@ namespace System namespace Generic { - // Generated from `System.Collections.Generic.CollectionExtensions` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CollectionExtensions { public static System.Collections.ObjectModel.ReadOnlyCollection AsReadOnly(this System.Collections.Generic.IList list) => throw null; @@ -53,7 +51,6 @@ namespace System public static bool TryAdd(this System.Collections.Generic.IDictionary dictionary, TKey key, TValue value) => throw null; } - // Generated from `System.Collections.Generic.Comparer<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Comparer : System.Collections.Generic.IComparer, System.Collections.IComparer { public abstract int Compare(T x, T y); @@ -63,10 +60,8 @@ namespace System public static System.Collections.Generic.Comparer Default { get => throw null; } } - // Generated from `System.Collections.Generic.Dictionary<,>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Dictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { - // Generated from `System.Collections.Generic.Dictionary<,>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IDictionaryEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -81,10 +76,8 @@ namespace System } - // Generated from `System.Collections.Generic.Dictionary<,>+KeyCollection` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KeyCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.Dictionary<,>+KeyCollection+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public TKey Current { get => throw null; } @@ -113,10 +106,8 @@ namespace System } - // Generated from `System.Collections.Generic.Dictionary<,>+ValueCollection` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValueCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.Dictionary<,>+ValueCollection+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public TValue Current { get => throw null; } @@ -198,7 +189,6 @@ namespace System System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } } - // Generated from `System.Collections.Generic.EqualityComparer<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EqualityComparer : System.Collections.Generic.IEqualityComparer, System.Collections.IEqualityComparer { public static System.Collections.Generic.EqualityComparer Default { get => throw null; } @@ -209,10 +199,8 @@ namespace System int System.Collections.IEqualityComparer.GetHashCode(object obj) => throw null; } - // Generated from `System.Collections.Generic.HashSet<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HashSet : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlySet, System.Collections.Generic.ISet, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { - // Generated from `System.Collections.Generic.HashSet<>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -264,10 +252,8 @@ namespace System public void UnionWith(System.Collections.Generic.IEnumerable other) => throw null; } - // Generated from `System.Collections.Generic.LinkedList<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LinkedList : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { - // Generated from `System.Collections.Generic.LinkedList<>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public T Current { get => throw null; } @@ -316,7 +302,6 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Collections.Generic.LinkedListNode<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LinkedListNode { public LinkedListNode(T value) => throw null; @@ -327,10 +312,8 @@ namespace System public T ValueRef { get => throw null; } } - // Generated from `System.Collections.Generic.List<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class List : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { - // Generated from `System.Collections.Generic.List<>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -411,13 +394,10 @@ namespace System public bool TrueForAll(System.Predicate match) => throw null; } - // Generated from `System.Collections.Generic.PriorityQueue<,>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PriorityQueue { - // Generated from `System.Collections.Generic.PriorityQueue<,>+UnorderedItemsCollection` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnorderedItemsCollection : System.Collections.Generic.IEnumerable<(TElement, TPriority)>, System.Collections.Generic.IReadOnlyCollection<(TElement, TPriority)>, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.PriorityQueue<,>+UnorderedItemsCollection+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator<(TElement, TPriority)>, System.Collections.IEnumerator, System.IDisposable { public (TElement, TPriority) Current { get => throw null; } @@ -462,10 +442,8 @@ namespace System public System.Collections.Generic.PriorityQueue.UnorderedItemsCollection UnorderedItems { get => throw null; } } - // Generated from `System.Collections.Generic.Queue<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Queue : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.Queue<>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -500,7 +478,6 @@ namespace System public bool TryPeek(out T result) => throw null; } - // Generated from `System.Collections.Generic.ReferenceEqualityComparer` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReferenceEqualityComparer : System.Collections.Generic.IEqualityComparer, System.Collections.IEqualityComparer { public bool Equals(object x, object y) => throw null; @@ -508,10 +485,8 @@ namespace System public static System.Collections.Generic.ReferenceEqualityComparer Instance { get => throw null; } } - // Generated from `System.Collections.Generic.SortedDictionary<,>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SortedDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.SortedDictionary<,>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IDictionaryEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -526,10 +501,8 @@ namespace System } - // Generated from `System.Collections.Generic.SortedDictionary<,>+KeyCollection` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KeyCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.SortedDictionary<,>+KeyCollection+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public TKey Current { get => throw null; } @@ -558,10 +531,8 @@ namespace System } - // Generated from `System.Collections.Generic.SortedDictionary<,>+ValueCollection` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValueCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.SortedDictionary<,>+ValueCollection+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public TValue Current { get => throw null; } @@ -631,7 +602,6 @@ namespace System System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } } - // Generated from `System.Collections.Generic.SortedList<,>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SortedList : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair keyValuePair) => throw null; @@ -685,10 +655,8 @@ namespace System System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } } - // Generated from `System.Collections.Generic.SortedSet<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SortedSet : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlySet, System.Collections.Generic.ISet, System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { - // Generated from `System.Collections.Generic.SortedSet<>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public T Current { get => throw null; } @@ -748,10 +716,8 @@ namespace System public void UnionWith(System.Collections.Generic.IEnumerable other) => throw null; } - // Generated from `System.Collections.Generic.Stack<>` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Stack : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { - // Generated from `System.Collections.Generic.Stack<>+Enumerator` in `System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Annotations.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Annotations.cs index 3af00c4ab66..e9d1bd902c5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Annotations.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Annotations.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace DataAnnotations { - // Generated from `System.ComponentModel.DataAnnotations.AssociatedMetadataTypeTypeDescriptionProvider` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssociatedMetadataTypeTypeDescriptionProvider : System.ComponentModel.TypeDescriptionProvider { public AssociatedMetadataTypeTypeDescriptionProvider(System.Type type) => throw null; @@ -14,7 +14,6 @@ namespace System public override System.ComponentModel.ICustomTypeDescriptor GetTypeDescriptor(System.Type objectType, object instance) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.AssociationAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssociationAttribute : System.Attribute { public AssociationAttribute(string name, string thisKey, string otherKey) => throw null; @@ -26,7 +25,6 @@ namespace System public System.Collections.Generic.IEnumerable ThisKeyMembers { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.CompareAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompareAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public CompareAttribute(string otherProperty) => throw null; @@ -37,20 +35,17 @@ namespace System public override bool RequiresValidationContext { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.ConcurrencyCheckAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConcurrencyCheckAttribute : System.Attribute { public ConcurrencyCheckAttribute() => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.CreditCardAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CreditCardAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute { public CreditCardAttribute() : base(default(System.ComponentModel.DataAnnotations.DataType)) => throw null; public override bool IsValid(object value) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.CustomValidationAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CustomValidationAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public CustomValidationAttribute(System.Type validatorType, string method) => throw null; @@ -60,7 +55,6 @@ namespace System public System.Type ValidatorType { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.DataType` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DataType : int { CreditCard = 14, @@ -82,7 +76,6 @@ namespace System Url = 12, } - // Generated from `System.ComponentModel.DataAnnotations.DataTypeAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTypeAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public string CustomDataType { get => throw null; } @@ -94,7 +87,6 @@ namespace System public override bool IsValid(object value) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.DisplayAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DisplayAttribute : System.Attribute { public bool AutoGenerateField { get => throw null; set => throw null; } @@ -117,7 +109,6 @@ namespace System public string ShortName { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.DisplayColumnAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DisplayColumnAttribute : System.Attribute { public string DisplayColumn { get => throw null; } @@ -128,7 +119,6 @@ namespace System public bool SortDescending { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.DisplayFormatAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DisplayFormatAttribute : System.Attribute { public bool ApplyFormatInEditMode { get => throw null; set => throw null; } @@ -141,7 +131,6 @@ namespace System public System.Type NullDisplayTextResourceType { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.EditableAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EditableAttribute : System.Attribute { public bool AllowEdit { get => throw null; } @@ -149,14 +138,12 @@ namespace System public EditableAttribute(bool allowEdit) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.EmailAddressAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EmailAddressAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute { public EmailAddressAttribute() : base(default(System.ComponentModel.DataAnnotations.DataType)) => throw null; public override bool IsValid(object value) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.EnumDataTypeAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumDataTypeAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute { public EnumDataTypeAttribute(System.Type enumType) : base(default(System.ComponentModel.DataAnnotations.DataType)) => throw null; @@ -164,7 +151,6 @@ namespace System public override bool IsValid(object value) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.FileExtensionsAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileExtensionsAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute { public string Extensions { get => throw null; set => throw null; } @@ -173,7 +159,6 @@ namespace System public override bool IsValid(object value) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.FilterUIHintAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FilterUIHintAttribute : System.Attribute { public System.Collections.Generic.IDictionary ControlParameters { get => throw null; } @@ -186,19 +171,16 @@ namespace System public string PresentationLayer { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.IValidatableObject` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IValidatableObject { System.Collections.Generic.IEnumerable Validate(System.ComponentModel.DataAnnotations.ValidationContext validationContext); } - // Generated from `System.ComponentModel.DataAnnotations.KeyAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KeyAttribute : System.Attribute { public KeyAttribute() => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.MaxLengthAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MaxLengthAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public override string FormatErrorMessage(string name) => throw null; @@ -208,14 +190,12 @@ namespace System public MaxLengthAttribute(int length) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.MetadataTypeAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataTypeAttribute : System.Attribute { public System.Type MetadataClassType { get => throw null; } public MetadataTypeAttribute(System.Type metadataClassType) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.MinLengthAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MinLengthAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public override string FormatErrorMessage(string name) => throw null; @@ -224,14 +204,12 @@ namespace System public MinLengthAttribute(int length) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.PhoneAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PhoneAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute { public override bool IsValid(object value) => throw null; public PhoneAttribute() : base(default(System.ComponentModel.DataAnnotations.DataType)) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.RangeAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RangeAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public bool ConvertValueInInvariantCulture { get => throw null; set => throw null; } @@ -246,7 +224,6 @@ namespace System public RangeAttribute(int minimum, int maximum) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.RegularExpressionAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegularExpressionAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public override string FormatErrorMessage(string name) => throw null; @@ -257,7 +234,6 @@ namespace System public RegularExpressionAttribute(string pattern) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.RequiredAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RequiredAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public bool AllowEmptyStrings { get => throw null; set => throw null; } @@ -265,14 +241,12 @@ namespace System public RequiredAttribute() => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.ScaffoldColumnAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ScaffoldColumnAttribute : System.Attribute { public bool Scaffold { get => throw null; } public ScaffoldColumnAttribute(bool scaffold) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.StringLengthAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringLengthAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute { public override string FormatErrorMessage(string name) => throw null; @@ -282,13 +256,11 @@ namespace System public StringLengthAttribute(int maximumLength) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.TimestampAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TimestampAttribute : System.Attribute { public TimestampAttribute() => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.UIHintAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UIHintAttribute : System.Attribute { public System.Collections.Generic.IDictionary ControlParameters { get => throw null; } @@ -301,14 +273,12 @@ namespace System public UIHintAttribute(string uiHint, string presentationLayer, params object[] controlParameters) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.UrlAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UrlAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute { public override bool IsValid(object value) => throw null; public UrlAttribute() : base(default(System.ComponentModel.DataAnnotations.DataType)) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.ValidationAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ValidationAttribute : System.Attribute { public string ErrorMessage { get => throw null; set => throw null; } @@ -327,7 +297,6 @@ namespace System protected ValidationAttribute(string errorMessage) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.ValidationContext` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValidationContext : System.IServiceProvider { public string DisplayName { get => throw null; set => throw null; } @@ -342,7 +311,6 @@ namespace System public ValidationContext(object instance, System.IServiceProvider serviceProvider, System.Collections.Generic.IDictionary items) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.ValidationException` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValidationException : System.Exception { public System.ComponentModel.DataAnnotations.ValidationAttribute ValidationAttribute { get => throw null; } @@ -356,7 +324,6 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.ValidationResult` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValidationResult { public string ErrorMessage { get => throw null; set => throw null; } @@ -368,7 +335,6 @@ namespace System public ValidationResult(string errorMessage, System.Collections.Generic.IEnumerable memberNames) => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.Validator` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Validator { public static bool TryValidateObject(object instance, System.ComponentModel.DataAnnotations.ValidationContext validationContext, System.Collections.Generic.ICollection validationResults) => throw null; @@ -383,7 +349,6 @@ namespace System namespace Schema { - // Generated from `System.ComponentModel.DataAnnotations.Schema.ColumnAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ColumnAttribute : System.Attribute { public ColumnAttribute() => throw null; @@ -393,20 +358,17 @@ namespace System public string TypeName { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.Schema.ComplexTypeAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComplexTypeAttribute : System.Attribute { public ComplexTypeAttribute() => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DatabaseGeneratedAttribute : System.Attribute { public DatabaseGeneratedAttribute(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption databaseGeneratedOption) => throw null; public System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption DatabaseGeneratedOption { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DatabaseGeneratedOption : int { Computed = 2, @@ -414,27 +376,23 @@ namespace System None = 0, } - // Generated from `System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ForeignKeyAttribute : System.Attribute { public ForeignKeyAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InversePropertyAttribute : System.Attribute { public InversePropertyAttribute(string property) => throw null; public string Property { get => throw null; } } - // Generated from `System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotMappedAttribute : System.Attribute { public NotMappedAttribute() => throw null; } - // Generated from `System.ComponentModel.DataAnnotations.Schema.TableAttribute` in `System.ComponentModel.Annotations, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TableAttribute : System.Attribute { public string Name { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.EventBasedAsync.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.EventBasedAsync.cs index ba82842ae91..a1532ad632c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.EventBasedAsync.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.EventBasedAsync.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace ComponentModel { - // Generated from `System.ComponentModel.AsyncCompletedEventArgs` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsyncCompletedEventArgs : System.EventArgs { public AsyncCompletedEventArgs(System.Exception error, bool cancelled, object userState) => throw null; @@ -14,10 +14,8 @@ namespace System public object UserState { get => throw null; } } - // Generated from `System.ComponentModel.AsyncCompletedEventHandler` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void AsyncCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - // Generated from `System.ComponentModel.AsyncOperation` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsyncOperation { public void OperationCompleted() => throw null; @@ -28,14 +26,12 @@ namespace System // ERR: Stub generator didn't handle member: ~AsyncOperation } - // Generated from `System.ComponentModel.AsyncOperationManager` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class AsyncOperationManager { public static System.ComponentModel.AsyncOperation CreateOperation(object userSuppliedState) => throw null; public static System.Threading.SynchronizationContext SynchronizationContext { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.BackgroundWorker` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BackgroundWorker : System.ComponentModel.Component { public BackgroundWorker() => throw null; @@ -57,7 +53,6 @@ namespace System public bool WorkerSupportsCancellation { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.DoWorkEventArgs` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DoWorkEventArgs : System.ComponentModel.CancelEventArgs { public object Argument { get => throw null; } @@ -65,10 +60,8 @@ namespace System public object Result { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.DoWorkEventHandler` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DoWorkEventHandler(object sender, System.ComponentModel.DoWorkEventArgs e); - // Generated from `System.ComponentModel.ProgressChangedEventArgs` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProgressChangedEventArgs : System.EventArgs { public ProgressChangedEventArgs(int progressPercentage, object userState) => throw null; @@ -76,10 +69,8 @@ namespace System public object UserState { get => throw null; } } - // Generated from `System.ComponentModel.ProgressChangedEventHandler` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ProgressChangedEventHandler(object sender, System.ComponentModel.ProgressChangedEventArgs e); - // Generated from `System.ComponentModel.RunWorkerCompletedEventArgs` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RunWorkerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { public object Result { get => throw null; } @@ -87,7 +78,6 @@ namespace System public object UserState { get => throw null; } } - // Generated from `System.ComponentModel.RunWorkerCompletedEventHandler` in `System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void RunWorkerCompletedEventHandler(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e); } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Primitives.cs index 76ec4f609e8..be80b38c754 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.Primitives.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace ComponentModel { - // Generated from `System.ComponentModel.BrowsableAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BrowsableAttribute : System.Attribute { public bool Browsable { get => throw null; } @@ -17,7 +17,6 @@ namespace System public static System.ComponentModel.BrowsableAttribute Yes; } - // Generated from `System.ComponentModel.CategoryAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CategoryAttribute : System.Attribute { public static System.ComponentModel.CategoryAttribute Action { get => throw null; } @@ -43,7 +42,6 @@ namespace System public static System.ComponentModel.CategoryAttribute WindowStyle { get => throw null; } } - // Generated from `System.ComponentModel.Component` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Component : System.MarshalByRefObject, System.ComponentModel.IComponent, System.IDisposable { protected virtual bool CanRaiseEvents { get => throw null; } @@ -60,7 +58,6 @@ namespace System // ERR: Stub generator didn't handle member: ~Component } - // Generated from `System.ComponentModel.ComponentCollection` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentCollection : System.Collections.ReadOnlyCollectionBase { public ComponentCollection(System.ComponentModel.IComponent[] components) => throw null; @@ -69,7 +66,6 @@ namespace System public virtual System.ComponentModel.IComponent this[string name] { get => throw null; } } - // Generated from `System.ComponentModel.DescriptionAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DescriptionAttribute : System.Attribute { public static System.ComponentModel.DescriptionAttribute Default; @@ -82,7 +78,6 @@ namespace System public override bool IsDefaultAttribute() => throw null; } - // Generated from `System.ComponentModel.DesignOnlyAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignOnlyAttribute : System.Attribute { public static System.ComponentModel.DesignOnlyAttribute Default; @@ -95,7 +90,6 @@ namespace System public static System.ComponentModel.DesignOnlyAttribute Yes; } - // Generated from `System.ComponentModel.DesignerAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerAttribute : System.Attribute { public DesignerAttribute(System.Type designerType) => throw null; @@ -110,7 +104,6 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.DesignerCategoryAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerCategoryAttribute : System.Attribute { public string Category { get => throw null; } @@ -126,7 +119,6 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.DesignerSerializationVisibility` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DesignerSerializationVisibility : int { Content = 2, @@ -134,7 +126,6 @@ namespace System Visible = 1, } - // Generated from `System.ComponentModel.DesignerSerializationVisibilityAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerSerializationVisibilityAttribute : System.Attribute { public static System.ComponentModel.DesignerSerializationVisibilityAttribute Content; @@ -148,7 +139,6 @@ namespace System public static System.ComponentModel.DesignerSerializationVisibilityAttribute Visible; } - // Generated from `System.ComponentModel.DisplayNameAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DisplayNameAttribute : System.Attribute { public static System.ComponentModel.DisplayNameAttribute Default; @@ -161,7 +151,6 @@ namespace System public override bool IsDefaultAttribute() => throw null; } - // Generated from `System.ComponentModel.EditorAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EditorAttribute : System.Attribute { public EditorAttribute() => throw null; @@ -175,7 +164,6 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.EventHandlerList` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventHandlerList : System.IDisposable { public void AddHandler(object key, System.Delegate value) => throw null; @@ -186,14 +174,12 @@ namespace System public void RemoveHandler(object key, System.Delegate value) => throw null; } - // Generated from `System.ComponentModel.IComponent` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComponent : System.IDisposable { event System.EventHandler Disposed; System.ComponentModel.ISite Site { get; set; } } - // Generated from `System.ComponentModel.IContainer` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IContainer : System.IDisposable { void Add(System.ComponentModel.IComponent component); @@ -202,7 +188,6 @@ namespace System void Remove(System.ComponentModel.IComponent component); } - // Generated from `System.ComponentModel.ISite` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISite : System.IServiceProvider { System.ComponentModel.IComponent Component { get; } @@ -211,14 +196,12 @@ namespace System string Name { get; set; } } - // Generated from `System.ComponentModel.ISupportInitialize` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISupportInitialize { void BeginInit(); void EndInit(); } - // Generated from `System.ComponentModel.ISynchronizeInvoke` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISynchronizeInvoke { System.IAsyncResult BeginInvoke(System.Delegate method, object[] args); @@ -227,7 +210,6 @@ namespace System bool InvokeRequired { get; } } - // Generated from `System.ComponentModel.ImmutableObjectAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImmutableObjectAttribute : System.Attribute { public static System.ComponentModel.ImmutableObjectAttribute Default; @@ -240,14 +222,12 @@ namespace System public static System.ComponentModel.ImmutableObjectAttribute Yes; } - // Generated from `System.ComponentModel.InitializationEventAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InitializationEventAttribute : System.Attribute { public string EventName { get => throw null; } public InitializationEventAttribute(string eventName) => throw null; } - // Generated from `System.ComponentModel.InvalidAsynchronousStateException` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidAsynchronousStateException : System.ArgumentException { public InvalidAsynchronousStateException() => throw null; @@ -256,7 +236,6 @@ namespace System public InvalidAsynchronousStateException(string message, System.Exception innerException) => throw null; } - // Generated from `System.ComponentModel.InvalidEnumArgumentException` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidEnumArgumentException : System.ArgumentException { public InvalidEnumArgumentException() => throw null; @@ -266,7 +245,6 @@ namespace System public InvalidEnumArgumentException(string argumentName, int invalidValue, System.Type enumClass) => throw null; } - // Generated from `System.ComponentModel.LocalizableAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LocalizableAttribute : System.Attribute { public static System.ComponentModel.LocalizableAttribute Default; @@ -279,7 +257,6 @@ namespace System public static System.ComponentModel.LocalizableAttribute Yes; } - // Generated from `System.ComponentModel.MergablePropertyAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MergablePropertyAttribute : System.Attribute { public bool AllowMerge { get => throw null; } @@ -292,7 +269,6 @@ namespace System public static System.ComponentModel.MergablePropertyAttribute Yes; } - // Generated from `System.ComponentModel.NotifyParentPropertyAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotifyParentPropertyAttribute : System.Attribute { public static System.ComponentModel.NotifyParentPropertyAttribute Default; @@ -305,7 +281,6 @@ namespace System public static System.ComponentModel.NotifyParentPropertyAttribute Yes; } - // Generated from `System.ComponentModel.ParenthesizePropertyNameAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParenthesizePropertyNameAttribute : System.Attribute { public static System.ComponentModel.ParenthesizePropertyNameAttribute Default; @@ -317,7 +292,6 @@ namespace System public ParenthesizePropertyNameAttribute(bool needParenthesis) => throw null; } - // Generated from `System.ComponentModel.ReadOnlyAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReadOnlyAttribute : System.Attribute { public static System.ComponentModel.ReadOnlyAttribute Default; @@ -330,7 +304,6 @@ namespace System public static System.ComponentModel.ReadOnlyAttribute Yes; } - // Generated from `System.ComponentModel.RefreshProperties` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RefreshProperties : int { All = 1, @@ -338,7 +311,6 @@ namespace System Repaint = 2, } - // Generated from `System.ComponentModel.RefreshPropertiesAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RefreshPropertiesAttribute : System.Attribute { public static System.ComponentModel.RefreshPropertiesAttribute All; @@ -355,7 +327,6 @@ namespace System { namespace Serialization { - // Generated from `System.ComponentModel.Design.Serialization.DesignerSerializerAttribute` in `System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerSerializerAttribute : System.Attribute { public DesignerSerializerAttribute(System.Type serializerType, System.Type baseSerializerType) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.TypeConverter.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.TypeConverter.cs index f6c3e0cd721..6fcf33bc6ae 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.TypeConverter.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.TypeConverter.cs @@ -1,8 +1,8 @@ // This file contains auto-generated code. +// Generated from `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { - // Generated from `System.UriTypeConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UriTypeConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -15,7 +15,6 @@ namespace System namespace ComponentModel { - // Generated from `System.ComponentModel.AddingNewEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AddingNewEventArgs : System.EventArgs { public AddingNewEventArgs() => throw null; @@ -23,10 +22,8 @@ namespace System public object NewObject { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.AddingNewEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void AddingNewEventHandler(object sender, System.ComponentModel.AddingNewEventArgs e); - // Generated from `System.ComponentModel.AmbientValueAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AmbientValueAttribute : System.Attribute { public AmbientValueAttribute(System.Type type, string value) => throw null; @@ -45,7 +42,6 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.ComponentModel.ArrayConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArrayConverter : System.ComponentModel.CollectionConverter { public ArrayConverter() => throw null; @@ -54,7 +50,6 @@ namespace System public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) => throw null; } - // Generated from `System.ComponentModel.AttributeCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AttributeCollection : System.Collections.ICollection, System.Collections.IEnumerable { protected AttributeCollection() => throw null; @@ -78,7 +73,6 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.ComponentModel.AttributeProviderAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AttributeProviderAttribute : System.Attribute { public AttributeProviderAttribute(System.Type type) => throw null; @@ -88,7 +82,6 @@ namespace System public string TypeName { get => throw null; } } - // Generated from `System.ComponentModel.BaseNumberConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class BaseNumberConverter : System.ComponentModel.TypeConverter { internal BaseNumberConverter() => throw null; @@ -98,7 +91,6 @@ namespace System public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) => throw null; } - // Generated from `System.ComponentModel.BindableAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BindableAttribute : System.Attribute { public bool Bindable { get => throw null; } @@ -115,7 +107,6 @@ namespace System public static System.ComponentModel.BindableAttribute Yes; } - // Generated from `System.ComponentModel.BindableSupport` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum BindableSupport : int { Default = 2, @@ -123,14 +114,12 @@ namespace System Yes = 1, } - // Generated from `System.ComponentModel.BindingDirection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum BindingDirection : int { OneWay = 0, TwoWay = 1, } - // Generated from `System.ComponentModel.BindingList<>` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BindingList : System.Collections.ObjectModel.Collection, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.ICancelAddNew, System.ComponentModel.IRaiseItemChangedEvents { void System.ComponentModel.IBindingList.AddIndex(System.ComponentModel.PropertyDescriptor prop) => throw null; @@ -180,7 +169,6 @@ namespace System protected virtual bool SupportsSortingCore { get => throw null; } } - // Generated from `System.ComponentModel.BooleanConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BooleanConverter : System.ComponentModel.TypeConverter { public BooleanConverter() => throw null; @@ -191,16 +179,13 @@ namespace System public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext context) => throw null; } - // Generated from `System.ComponentModel.ByteConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ByteConverter : System.ComponentModel.BaseNumberConverter { public ByteConverter() => throw null; } - // Generated from `System.ComponentModel.CancelEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void CancelEventHandler(object sender, System.ComponentModel.CancelEventArgs e); - // Generated from `System.ComponentModel.CharConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CharConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -209,7 +194,6 @@ namespace System public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) => throw null; } - // Generated from `System.ComponentModel.CollectionChangeAction` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CollectionChangeAction : int { Add = 1, @@ -217,7 +201,6 @@ namespace System Remove = 2, } - // Generated from `System.ComponentModel.CollectionChangeEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CollectionChangeEventArgs : System.EventArgs { public virtual System.ComponentModel.CollectionChangeAction Action { get => throw null; } @@ -225,10 +208,8 @@ namespace System public virtual object Element { get => throw null; } } - // Generated from `System.ComponentModel.CollectionChangeEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void CollectionChangeEventHandler(object sender, System.ComponentModel.CollectionChangeEventArgs e); - // Generated from `System.ComponentModel.CollectionConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CollectionConverter : System.ComponentModel.TypeConverter { public CollectionConverter() => throw null; @@ -236,7 +217,6 @@ namespace System public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object value, System.Attribute[] attributes) => throw null; } - // Generated from `System.ComponentModel.ComplexBindingPropertiesAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComplexBindingPropertiesAttribute : System.Attribute { public ComplexBindingPropertiesAttribute() => throw null; @@ -249,7 +229,6 @@ namespace System public override int GetHashCode() => throw null; } - // Generated from `System.ComponentModel.ComponentConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentConverter : System.ComponentModel.ReferenceConverter { public ComponentConverter(System.Type type) : base(default(System.Type)) => throw null; @@ -257,7 +236,6 @@ namespace System public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) => throw null; } - // Generated from `System.ComponentModel.ComponentEditor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ComponentEditor { protected ComponentEditor() => throw null; @@ -265,7 +243,6 @@ namespace System public bool EditComponent(object component) => throw null; } - // Generated from `System.ComponentModel.ComponentResourceManager` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentResourceManager : System.Resources.ResourceManager { public void ApplyResources(object value, string objectName) => throw null; @@ -274,7 +251,6 @@ namespace System public ComponentResourceManager(System.Type t) => throw null; } - // Generated from `System.ComponentModel.Container` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Container : System.ComponentModel.IContainer, System.IDisposable { public virtual void Add(System.ComponentModel.IComponent component) => throw null; @@ -291,14 +267,12 @@ namespace System // ERR: Stub generator didn't handle member: ~Container } - // Generated from `System.ComponentModel.ContainerFilterService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ContainerFilterService { protected ContainerFilterService() => throw null; public virtual System.ComponentModel.ComponentCollection FilterComponents(System.ComponentModel.ComponentCollection components) => throw null; } - // Generated from `System.ComponentModel.CultureInfoConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CultureInfoConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -312,7 +286,6 @@ namespace System public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext context) => throw null; } - // Generated from `System.ComponentModel.CustomTypeDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor { protected CustomTypeDescriptor() => throw null; @@ -331,7 +304,6 @@ namespace System public virtual object GetPropertyOwner(System.ComponentModel.PropertyDescriptor pd) => throw null; } - // Generated from `System.ComponentModel.DataObjectAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataObjectAttribute : System.Attribute { public static System.ComponentModel.DataObjectAttribute DataObject; @@ -345,7 +317,6 @@ namespace System public static System.ComponentModel.DataObjectAttribute NonDataObject; } - // Generated from `System.ComponentModel.DataObjectFieldAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataObjectFieldAttribute : System.Attribute { public DataObjectFieldAttribute(bool primaryKey) => throw null; @@ -360,7 +331,6 @@ namespace System public bool PrimaryKey { get => throw null; } } - // Generated from `System.ComponentModel.DataObjectMethodAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataObjectMethodAttribute : System.Attribute { public DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType methodType) => throw null; @@ -372,7 +342,6 @@ namespace System public System.ComponentModel.DataObjectMethodType MethodType { get => throw null; } } - // Generated from `System.ComponentModel.DataObjectMethodType` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DataObjectMethodType : int { Delete = 4, @@ -382,7 +351,6 @@ namespace System Update = 2, } - // Generated from `System.ComponentModel.DateOnlyConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateOnlyConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -392,7 +360,6 @@ namespace System public DateOnlyConverter() => throw null; } - // Generated from `System.ComponentModel.DateTimeConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateTimeConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -402,7 +369,6 @@ namespace System public DateTimeConverter() => throw null; } - // Generated from `System.ComponentModel.DateTimeOffsetConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateTimeOffsetConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -412,7 +378,6 @@ namespace System public DateTimeOffsetConverter() => throw null; } - // Generated from `System.ComponentModel.DecimalConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecimalConverter : System.ComponentModel.BaseNumberConverter { public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) => throw null; @@ -420,7 +385,6 @@ namespace System public DecimalConverter() => throw null; } - // Generated from `System.ComponentModel.DefaultBindingPropertyAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultBindingPropertyAttribute : System.Attribute { public static System.ComponentModel.DefaultBindingPropertyAttribute Default; @@ -431,7 +395,6 @@ namespace System public string Name { get => throw null; } } - // Generated from `System.ComponentModel.DefaultEventAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultEventAttribute : System.Attribute { public static System.ComponentModel.DefaultEventAttribute Default; @@ -441,7 +404,6 @@ namespace System public string Name { get => throw null; } } - // Generated from `System.ComponentModel.DefaultPropertyAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultPropertyAttribute : System.Attribute { public static System.ComponentModel.DefaultPropertyAttribute Default; @@ -451,7 +413,6 @@ namespace System public string Name { get => throw null; } } - // Generated from `System.ComponentModel.DesignTimeVisibleAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignTimeVisibleAttribute : System.Attribute { public static System.ComponentModel.DesignTimeVisibleAttribute Default; @@ -465,13 +426,11 @@ namespace System public static System.ComponentModel.DesignTimeVisibleAttribute Yes; } - // Generated from `System.ComponentModel.DoubleConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DoubleConverter : System.ComponentModel.BaseNumberConverter { public DoubleConverter() => throw null; } - // Generated from `System.ComponentModel.EnumConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -488,7 +447,6 @@ namespace System protected System.ComponentModel.TypeConverter.StandardValuesCollection Values { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.EventDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EventDescriptor : System.ComponentModel.MemberDescriptor { public abstract void AddEventHandler(object component, System.Delegate value); @@ -501,7 +459,6 @@ namespace System public abstract void RemoveEventHandler(object component, System.Delegate value); } - // Generated from `System.ComponentModel.EventDescriptorCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventDescriptorCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public int Add(System.ComponentModel.EventDescriptor value) => throw null; @@ -542,7 +499,6 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.ComponentModel.ExpandableObjectConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExpandableObjectConverter : System.ComponentModel.TypeConverter { public ExpandableObjectConverter() => throw null; @@ -550,7 +506,6 @@ namespace System public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) => throw null; } - // Generated from `System.ComponentModel.ExtenderProvidedPropertyAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExtenderProvidedPropertyAttribute : System.Attribute { public override bool Equals(object obj) => throw null; @@ -562,7 +517,6 @@ namespace System public System.Type ReceiverType { get => throw null; } } - // Generated from `System.ComponentModel.GuidConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GuidConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -572,13 +526,11 @@ namespace System public GuidConverter() => throw null; } - // Generated from `System.ComponentModel.HalfConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HalfConverter : System.ComponentModel.BaseNumberConverter { public HalfConverter() => throw null; } - // Generated from `System.ComponentModel.HandledEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HandledEventArgs : System.EventArgs { public bool Handled { get => throw null; set => throw null; } @@ -586,10 +538,8 @@ namespace System public HandledEventArgs(bool defaultHandledValue) => throw null; } - // Generated from `System.ComponentModel.HandledEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void HandledEventHandler(object sender, System.ComponentModel.HandledEventArgs e); - // Generated from `System.ComponentModel.IBindingList` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IBindingList : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { void AddIndex(System.ComponentModel.PropertyDescriptor property); @@ -610,7 +560,6 @@ namespace System bool SupportsSorting { get; } } - // Generated from `System.ComponentModel.IBindingListView` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IBindingListView : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList { void ApplySort(System.ComponentModel.ListSortDescriptionCollection sorts); @@ -621,14 +570,12 @@ namespace System bool SupportsFiltering { get; } } - // Generated from `System.ComponentModel.ICancelAddNew` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICancelAddNew { void CancelNew(int itemIndex); void EndNew(int itemIndex); } - // Generated from `System.ComponentModel.IComNativeDescriptorHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComNativeDescriptorHandler { System.ComponentModel.AttributeCollection GetAttributes(object component); @@ -645,7 +592,6 @@ namespace System object GetPropertyValue(object component, string propertyName, ref bool success); } - // Generated from `System.ComponentModel.ICustomTypeDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomTypeDescriptor { System.ComponentModel.AttributeCollection GetAttributes(); @@ -662,59 +608,50 @@ namespace System object GetPropertyOwner(System.ComponentModel.PropertyDescriptor pd); } - // Generated from `System.ComponentModel.IDataErrorInfo` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataErrorInfo { string Error { get; } string this[string columnName] { get; } } - // Generated from `System.ComponentModel.IExtenderProvider` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IExtenderProvider { bool CanExtend(object extendee); } - // Generated from `System.ComponentModel.IIntellisenseBuilder` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IIntellisenseBuilder { string Name { get; } bool Show(string language, string value, ref string newValue); } - // Generated from `System.ComponentModel.IListSource` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IListSource { bool ContainsListCollection { get; } System.Collections.IList GetList(); } - // Generated from `System.ComponentModel.INestedContainer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INestedContainer : System.ComponentModel.IContainer, System.IDisposable { System.ComponentModel.IComponent Owner { get; } } - // Generated from `System.ComponentModel.INestedSite` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INestedSite : System.ComponentModel.ISite, System.IServiceProvider { string FullName { get; } } - // Generated from `System.ComponentModel.IRaiseItemChangedEvents` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IRaiseItemChangedEvents { bool RaisesItemChangedEvents { get; } } - // Generated from `System.ComponentModel.ISupportInitializeNotification` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISupportInitializeNotification : System.ComponentModel.ISupportInitialize { event System.EventHandler Initialized; bool IsInitialized { get; } } - // Generated from `System.ComponentModel.ITypeDescriptorContext` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeDescriptorContext : System.IServiceProvider { System.ComponentModel.IContainer Container { get; } @@ -724,14 +661,12 @@ namespace System System.ComponentModel.PropertyDescriptor PropertyDescriptor { get; } } - // Generated from `System.ComponentModel.ITypedList` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypedList { System.ComponentModel.PropertyDescriptorCollection GetItemProperties(System.ComponentModel.PropertyDescriptor[] listAccessors); string GetListName(System.ComponentModel.PropertyDescriptor[] listAccessors); } - // Generated from `System.ComponentModel.InheritanceAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InheritanceAttribute : System.Attribute { public static System.ComponentModel.InheritanceAttribute Default; @@ -747,7 +682,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.ComponentModel.InheritanceLevel` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum InheritanceLevel : int { Inherited = 1, @@ -755,7 +689,6 @@ namespace System NotInherited = 3, } - // Generated from `System.ComponentModel.InstallerTypeAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InstallerTypeAttribute : System.Attribute { public override bool Equals(object obj) => throw null; @@ -765,7 +698,6 @@ namespace System public InstallerTypeAttribute(string typeName) => throw null; } - // Generated from `System.ComponentModel.InstanceCreationEditor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class InstanceCreationEditor { public abstract object CreateInstance(System.ComponentModel.ITypeDescriptorContext context, System.Type instanceType); @@ -773,31 +705,26 @@ namespace System public virtual string Text { get => throw null; } } - // Generated from `System.ComponentModel.Int128Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Int128Converter : System.ComponentModel.BaseNumberConverter { public Int128Converter() => throw null; } - // Generated from `System.ComponentModel.Int16Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Int16Converter : System.ComponentModel.BaseNumberConverter { public Int16Converter() => throw null; } - // Generated from `System.ComponentModel.Int32Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Int32Converter : System.ComponentModel.BaseNumberConverter { public Int32Converter() => throw null; } - // Generated from `System.ComponentModel.Int64Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Int64Converter : System.ComponentModel.BaseNumberConverter { public Int64Converter() => throw null; } - // Generated from `System.ComponentModel.LicFileLicenseProvider` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LicFileLicenseProvider : System.ComponentModel.LicenseProvider { protected virtual string GetKey(System.Type type) => throw null; @@ -806,7 +733,6 @@ namespace System public LicFileLicenseProvider() => throw null; } - // Generated from `System.ComponentModel.License` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class License : System.IDisposable { public abstract void Dispose(); @@ -814,7 +740,6 @@ namespace System public abstract string LicenseKey { get; } } - // Generated from `System.ComponentModel.LicenseContext` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LicenseContext : System.IServiceProvider { public virtual string GetSavedLicenseKey(System.Type type, System.Reflection.Assembly resourceAssembly) => throw null; @@ -824,7 +749,6 @@ namespace System public virtual System.ComponentModel.LicenseUsageMode UsageMode { get => throw null; } } - // Generated from `System.ComponentModel.LicenseException` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LicenseException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -836,7 +760,6 @@ namespace System public System.Type LicensedType { get => throw null; } } - // Generated from `System.ComponentModel.LicenseManager` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LicenseManager { public static object CreateWithContext(System.Type type, System.ComponentModel.LicenseContext creationContext) => throw null; @@ -852,14 +775,12 @@ namespace System public static System.ComponentModel.License Validate(System.Type type, object instance) => throw null; } - // Generated from `System.ComponentModel.LicenseProvider` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class LicenseProvider { public abstract System.ComponentModel.License GetLicense(System.ComponentModel.LicenseContext context, System.Type type, object instance, bool allowExceptions); protected LicenseProvider() => throw null; } - // Generated from `System.ComponentModel.LicenseProviderAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LicenseProviderAttribute : System.Attribute { public static System.ComponentModel.LicenseProviderAttribute Default; @@ -872,14 +793,12 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.LicenseUsageMode` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LicenseUsageMode : int { Designtime = 1, Runtime = 0, } - // Generated from `System.ComponentModel.ListBindableAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ListBindableAttribute : System.Attribute { public static System.ComponentModel.ListBindableAttribute Default; @@ -893,7 +812,6 @@ namespace System public static System.ComponentModel.ListBindableAttribute Yes; } - // Generated from `System.ComponentModel.ListChangedEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ListChangedEventArgs : System.EventArgs { public ListChangedEventArgs(System.ComponentModel.ListChangedType listChangedType, System.ComponentModel.PropertyDescriptor propDesc) => throw null; @@ -906,10 +824,8 @@ namespace System public System.ComponentModel.PropertyDescriptor PropertyDescriptor { get => throw null; } } - // Generated from `System.ComponentModel.ListChangedEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ListChangedEventHandler(object sender, System.ComponentModel.ListChangedEventArgs e); - // Generated from `System.ComponentModel.ListChangedType` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ListChangedType : int { ItemAdded = 1, @@ -922,7 +838,6 @@ namespace System Reset = 0, } - // Generated from `System.ComponentModel.ListSortDescription` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ListSortDescription { public ListSortDescription(System.ComponentModel.PropertyDescriptor property, System.ComponentModel.ListSortDirection direction) => throw null; @@ -930,7 +845,6 @@ namespace System public System.ComponentModel.ListSortDirection SortDirection { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.ListSortDescriptionCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ListSortDescriptionCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { int System.Collections.IList.Add(object value) => throw null; @@ -953,14 +867,12 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.ComponentModel.ListSortDirection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ListSortDirection : int { Ascending = 0, Descending = 1, } - // Generated from `System.ComponentModel.LookupBindingPropertiesAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LookupBindingPropertiesAttribute : System.Attribute { public string DataSource { get => throw null; } @@ -974,7 +886,6 @@ namespace System public string ValueMember { get => throw null; } } - // Generated from `System.ComponentModel.MarshalByValueComponent` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MarshalByValueComponent : System.ComponentModel.IComponent, System.IDisposable, System.IServiceProvider { public virtual System.ComponentModel.IContainer Container { get => throw null; } @@ -990,7 +901,6 @@ namespace System // ERR: Stub generator didn't handle member: ~MarshalByValueComponent } - // Generated from `System.ComponentModel.MaskedTextProvider` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MaskedTextProvider : System.ICloneable { public bool Add(System.Char input) => throw null; @@ -1075,7 +985,6 @@ namespace System public bool VerifyString(string input, out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) => throw null; } - // Generated from `System.ComponentModel.MaskedTextResultHint` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MaskedTextResultHint : int { AlphanumericCharacterExpected = -2, @@ -1095,7 +1004,6 @@ namespace System Unknown = 0, } - // Generated from `System.ComponentModel.MemberDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MemberDescriptor { protected virtual System.Attribute[] AttributeArray { get => throw null; set => throw null; } @@ -1122,7 +1030,6 @@ namespace System protected virtual int NameHashCode { get => throw null; } } - // Generated from `System.ComponentModel.MultilineStringConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MultilineStringConverter : System.ComponentModel.TypeConverter { public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) => throw null; @@ -1131,7 +1038,6 @@ namespace System public MultilineStringConverter() => throw null; } - // Generated from `System.ComponentModel.NestedContainer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NestedContainer : System.ComponentModel.Container, System.ComponentModel.IContainer, System.ComponentModel.INestedContainer, System.IDisposable { protected override System.ComponentModel.ISite CreateSite(System.ComponentModel.IComponent component, string name) => throw null; @@ -1142,7 +1048,6 @@ namespace System protected virtual string OwnerName { get => throw null; } } - // Generated from `System.ComponentModel.NullableConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NullableConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -1163,7 +1068,6 @@ namespace System public System.ComponentModel.TypeConverter UnderlyingTypeConverter { get => throw null; } } - // Generated from `System.ComponentModel.PasswordPropertyTextAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PasswordPropertyTextAttribute : System.Attribute { public static System.ComponentModel.PasswordPropertyTextAttribute Default; @@ -1177,7 +1081,6 @@ namespace System public static System.ComponentModel.PasswordPropertyTextAttribute Yes; } - // Generated from `System.ComponentModel.PropertyDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class PropertyDescriptor : System.ComponentModel.MemberDescriptor { public virtual void AddValueChanged(object component, System.EventHandler handler) => throw null; @@ -1212,7 +1115,6 @@ namespace System public virtual bool SupportsChangeEvents { get => throw null; } } - // Generated from `System.ComponentModel.PropertyDescriptorCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PropertyDescriptorCollection : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Collections.IList { public int Add(System.ComponentModel.PropertyDescriptor value) => throw null; @@ -1263,7 +1165,6 @@ namespace System System.Collections.ICollection System.Collections.IDictionary.Values { get => throw null; } } - // Generated from `System.ComponentModel.PropertyTabAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PropertyTabAttribute : System.Attribute { public bool Equals(System.ComponentModel.PropertyTabAttribute other) => throw null; @@ -1281,7 +1182,6 @@ namespace System public System.ComponentModel.PropertyTabScope[] TabScopes { get => throw null; } } - // Generated from `System.ComponentModel.PropertyTabScope` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PropertyTabScope : int { Component = 3, @@ -1290,7 +1190,6 @@ namespace System Static = 0, } - // Generated from `System.ComponentModel.ProvidePropertyAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProvidePropertyAttribute : System.Attribute { public override bool Equals(object obj) => throw null; @@ -1302,7 +1201,6 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.RecommendedAsConfigurableAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RecommendedAsConfigurableAttribute : System.Attribute { public static System.ComponentModel.RecommendedAsConfigurableAttribute Default; @@ -1315,7 +1213,6 @@ namespace System public static System.ComponentModel.RecommendedAsConfigurableAttribute Yes; } - // Generated from `System.ComponentModel.ReferenceConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReferenceConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -1328,7 +1225,6 @@ namespace System public ReferenceConverter(System.Type type) => throw null; } - // Generated from `System.ComponentModel.RefreshEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RefreshEventArgs : System.EventArgs { public object ComponentChanged { get => throw null; } @@ -1337,10 +1233,8 @@ namespace System public System.Type TypeChanged { get => throw null; } } - // Generated from `System.ComponentModel.RefreshEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void RefreshEventHandler(System.ComponentModel.RefreshEventArgs e); - // Generated from `System.ComponentModel.RunInstallerAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RunInstallerAttribute : System.Attribute { public static System.ComponentModel.RunInstallerAttribute Default; @@ -1353,13 +1247,11 @@ namespace System public static System.ComponentModel.RunInstallerAttribute Yes; } - // Generated from `System.ComponentModel.SByteConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SByteConverter : System.ComponentModel.BaseNumberConverter { public SByteConverter() => throw null; } - // Generated from `System.ComponentModel.SettingsBindableAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SettingsBindableAttribute : System.Attribute { public bool Bindable { get => throw null; } @@ -1370,13 +1262,11 @@ namespace System public static System.ComponentModel.SettingsBindableAttribute Yes; } - // Generated from `System.ComponentModel.SingleConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SingleConverter : System.ComponentModel.BaseNumberConverter { public SingleConverter() => throw null; } - // Generated from `System.ComponentModel.StringConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -1384,7 +1274,6 @@ namespace System public StringConverter() => throw null; } - // Generated from `System.ComponentModel.SyntaxCheck` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class SyntaxCheck { public static bool CheckMachineName(string value) => throw null; @@ -1392,7 +1281,6 @@ namespace System public static bool CheckRootedPath(string value) => throw null; } - // Generated from `System.ComponentModel.TimeOnlyConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TimeOnlyConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -1402,7 +1290,6 @@ namespace System public TimeOnlyConverter() => throw null; } - // Generated from `System.ComponentModel.TimeSpanConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TimeSpanConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -1412,7 +1299,6 @@ namespace System public TimeSpanConverter() => throw null; } - // Generated from `System.ComponentModel.ToolboxItemAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ToolboxItemAttribute : System.Attribute { public static System.ComponentModel.ToolboxItemAttribute Default; @@ -1427,7 +1313,6 @@ namespace System public string ToolboxItemTypeName { get => throw null; } } - // Generated from `System.ComponentModel.ToolboxItemFilterAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ToolboxItemFilterAttribute : System.Attribute { public override bool Equals(object obj) => throw null; @@ -1441,7 +1326,6 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.ToolboxItemFilterType` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ToolboxItemFilterType : int { Allow = 0, @@ -1450,10 +1334,8 @@ namespace System Require = 3, } - // Generated from `System.ComponentModel.TypeConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeConverter { - // Generated from `System.ComponentModel.TypeConverter+SimplePropertyDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` protected abstract class SimplePropertyDescriptor : System.ComponentModel.PropertyDescriptor { public override bool CanResetValue(object component) => throw null; @@ -1467,7 +1349,6 @@ namespace System } - // Generated from `System.ComponentModel.TypeConverter+StandardValuesCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StandardValuesCollection : System.Collections.ICollection, System.Collections.IEnumerable { public void CopyTo(System.Array array, int index) => throw null; @@ -1521,7 +1402,6 @@ namespace System public TypeConverter() => throw null; } - // Generated from `System.ComponentModel.TypeDescriptionProvider` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TypeDescriptionProvider { public virtual object CreateInstance(System.IServiceProvider provider, System.Type objectType, System.Type[] argTypes, object[] args) => throw null; @@ -1541,7 +1421,6 @@ namespace System protected TypeDescriptionProvider(System.ComponentModel.TypeDescriptionProvider parent) => throw null; } - // Generated from `System.ComponentModel.TypeDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeDescriptor { public static System.ComponentModel.TypeDescriptionProvider AddAttributes(System.Type type, params System.Attribute[] attributes) => throw null; @@ -1613,7 +1492,6 @@ namespace System public static void SortDescriptorArray(System.Collections.IList infos) => throw null; } - // Generated from `System.ComponentModel.TypeListConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TypeListConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -1626,31 +1504,26 @@ namespace System protected TypeListConverter(System.Type[] types) => throw null; } - // Generated from `System.ComponentModel.UInt128Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UInt128Converter : System.ComponentModel.BaseNumberConverter { public UInt128Converter() => throw null; } - // Generated from `System.ComponentModel.UInt16Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UInt16Converter : System.ComponentModel.BaseNumberConverter { public UInt16Converter() => throw null; } - // Generated from `System.ComponentModel.UInt32Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UInt32Converter : System.ComponentModel.BaseNumberConverter { public UInt32Converter() => throw null; } - // Generated from `System.ComponentModel.UInt64Converter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UInt64Converter : System.ComponentModel.BaseNumberConverter { public UInt64Converter() => throw null; } - // Generated from `System.ComponentModel.VersionConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VersionConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -1661,7 +1534,6 @@ namespace System public VersionConverter() => throw null; } - // Generated from `System.ComponentModel.WarningException` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WarningException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -1677,7 +1549,6 @@ namespace System namespace Design { - // Generated from `System.ComponentModel.Design.ActiveDesignerEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ActiveDesignerEventArgs : System.EventArgs { public ActiveDesignerEventArgs(System.ComponentModel.Design.IDesignerHost oldDesigner, System.ComponentModel.Design.IDesignerHost newDesigner) => throw null; @@ -1685,10 +1556,8 @@ namespace System public System.ComponentModel.Design.IDesignerHost OldDesigner { get => throw null; } } - // Generated from `System.ComponentModel.Design.ActiveDesignerEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ActiveDesignerEventHandler(object sender, System.ComponentModel.Design.ActiveDesignerEventArgs e); - // Generated from `System.ComponentModel.Design.CheckoutException` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CheckoutException : System.Runtime.InteropServices.ExternalException { public static System.ComponentModel.Design.CheckoutException Canceled; @@ -1699,7 +1568,6 @@ namespace System public CheckoutException(string message, int errorCode) => throw null; } - // Generated from `System.ComponentModel.Design.CommandID` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CommandID { public CommandID(System.Guid menuGroup, int commandID) => throw null; @@ -1710,7 +1578,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.ComponentModel.Design.ComponentChangedEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentChangedEventArgs : System.EventArgs { public object Component { get => throw null; } @@ -1720,10 +1587,8 @@ namespace System public object OldValue { get => throw null; } } - // Generated from `System.ComponentModel.Design.ComponentChangedEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ComponentChangedEventHandler(object sender, System.ComponentModel.Design.ComponentChangedEventArgs e); - // Generated from `System.ComponentModel.Design.ComponentChangingEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentChangingEventArgs : System.EventArgs { public object Component { get => throw null; } @@ -1731,20 +1596,16 @@ namespace System public System.ComponentModel.MemberDescriptor Member { get => throw null; } } - // Generated from `System.ComponentModel.Design.ComponentChangingEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ComponentChangingEventHandler(object sender, System.ComponentModel.Design.ComponentChangingEventArgs e); - // Generated from `System.ComponentModel.Design.ComponentEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentEventArgs : System.EventArgs { public virtual System.ComponentModel.IComponent Component { get => throw null; } public ComponentEventArgs(System.ComponentModel.IComponent component) => throw null; } - // Generated from `System.ComponentModel.Design.ComponentEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ComponentEventHandler(object sender, System.ComponentModel.Design.ComponentEventArgs e); - // Generated from `System.ComponentModel.Design.ComponentRenameEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentRenameEventArgs : System.EventArgs { public object Component { get => throw null; } @@ -1753,10 +1614,8 @@ namespace System public virtual string OldName { get => throw null; } } - // Generated from `System.ComponentModel.Design.ComponentRenameEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ComponentRenameEventHandler(object sender, System.ComponentModel.Design.ComponentRenameEventArgs e); - // Generated from `System.ComponentModel.Design.DesignerCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerCollection : System.Collections.ICollection, System.Collections.IEnumerable { void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; @@ -1771,20 +1630,16 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.ComponentModel.Design.DesignerEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerEventArgs : System.EventArgs { public System.ComponentModel.Design.IDesignerHost Designer { get => throw null; } public DesignerEventArgs(System.ComponentModel.Design.IDesignerHost host) => throw null; } - // Generated from `System.ComponentModel.Design.DesignerEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DesignerEventHandler(object sender, System.ComponentModel.Design.DesignerEventArgs e); - // Generated from `System.ComponentModel.Design.DesignerOptionService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DesignerOptionService : System.ComponentModel.Design.IDesignerOptionService { - // Generated from `System.ComponentModel.Design.DesignerOptionService+DesignerOptionCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerOptionCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { int System.Collections.IList.Add(object value) => throw null; @@ -1821,7 +1676,6 @@ namespace System protected virtual bool ShowDialog(System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection options, object optionObject) => throw null; } - // Generated from `System.ComponentModel.Design.DesignerTransaction` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DesignerTransaction : System.IDisposable { public void Cancel() => throw null; @@ -1838,7 +1692,6 @@ namespace System // ERR: Stub generator didn't handle member: ~DesignerTransaction } - // Generated from `System.ComponentModel.Design.DesignerTransactionCloseEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerTransactionCloseEventArgs : System.EventArgs { public DesignerTransactionCloseEventArgs(bool commit) => throw null; @@ -1847,10 +1700,8 @@ namespace System public bool TransactionCommitted { get => throw null; } } - // Generated from `System.ComponentModel.Design.DesignerTransactionCloseEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DesignerTransactionCloseEventHandler(object sender, System.ComponentModel.Design.DesignerTransactionCloseEventArgs e); - // Generated from `System.ComponentModel.Design.DesignerVerb` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerVerb : System.ComponentModel.Design.MenuCommand { public string Description { get => throw null; set => throw null; } @@ -1860,7 +1711,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.ComponentModel.Design.DesignerVerbCollection` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesignerVerbCollection : System.Collections.CollectionBase { public int Add(System.ComponentModel.Design.DesignerVerb value) => throw null; @@ -1877,7 +1727,6 @@ namespace System public void Remove(System.ComponentModel.Design.DesignerVerb value) => throw null; } - // Generated from `System.ComponentModel.Design.DesigntimeLicenseContext` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesigntimeLicenseContext : System.ComponentModel.LicenseContext { public DesigntimeLicenseContext() => throw null; @@ -1886,13 +1735,11 @@ namespace System public override System.ComponentModel.LicenseUsageMode UsageMode { get => throw null; } } - // Generated from `System.ComponentModel.Design.DesigntimeLicenseContextSerializer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DesigntimeLicenseContextSerializer { public static void Serialize(System.IO.Stream o, string cryptoKey, System.ComponentModel.Design.DesigntimeLicenseContext context) => throw null; } - // Generated from `System.ComponentModel.Design.HelpContextType` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HelpContextType : int { Ambient = 0, @@ -1901,7 +1748,6 @@ namespace System Window = 1, } - // Generated from `System.ComponentModel.Design.HelpKeywordAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HelpKeywordAttribute : System.Attribute { public static System.ComponentModel.Design.HelpKeywordAttribute Default; @@ -1914,7 +1760,6 @@ namespace System public override bool IsDefaultAttribute() => throw null; } - // Generated from `System.ComponentModel.Design.HelpKeywordType` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HelpKeywordType : int { F1Keyword = 0, @@ -1922,7 +1767,6 @@ namespace System GeneralKeyword = 1, } - // Generated from `System.ComponentModel.Design.IComponentChangeService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComponentChangeService { event System.ComponentModel.Design.ComponentEventHandler ComponentAdded; @@ -1936,20 +1780,17 @@ namespace System void OnComponentChanging(object component, System.ComponentModel.MemberDescriptor member); } - // Generated from `System.ComponentModel.Design.IComponentDiscoveryService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComponentDiscoveryService { System.Collections.ICollection GetComponentTypes(System.ComponentModel.Design.IDesignerHost designerHost, System.Type baseType); } - // Generated from `System.ComponentModel.Design.IComponentInitializer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComponentInitializer { void InitializeExistingComponent(System.Collections.IDictionary defaultValues); void InitializeNewComponent(System.Collections.IDictionary defaultValues); } - // Generated from `System.ComponentModel.Design.IDesigner` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesigner : System.IDisposable { System.ComponentModel.IComponent Component { get; } @@ -1958,7 +1799,6 @@ namespace System System.ComponentModel.Design.DesignerVerbCollection Verbs { get; } } - // Generated from `System.ComponentModel.Design.IDesignerEventService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerEventService { System.ComponentModel.Design.IDesignerHost ActiveDesigner { get; } @@ -1969,7 +1809,6 @@ namespace System event System.EventHandler SelectionChanged; } - // Generated from `System.ComponentModel.Design.IDesignerFilter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerFilter { void PostFilterAttributes(System.Collections.IDictionary attributes); @@ -1980,7 +1819,6 @@ namespace System void PreFilterProperties(System.Collections.IDictionary properties); } - // Generated from `System.ComponentModel.Design.IDesignerHost` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerHost : System.ComponentModel.Design.IServiceContainer, System.IServiceProvider { void Activate(); @@ -2006,20 +1844,17 @@ namespace System event System.EventHandler TransactionOpening; } - // Generated from `System.ComponentModel.Design.IDesignerHostTransactionState` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerHostTransactionState { bool IsClosingTransaction { get; } } - // Generated from `System.ComponentModel.Design.IDesignerOptionService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerOptionService { object GetOptionValue(string pageName, string valueName); void SetOptionValue(string pageName, string valueName, object value); } - // Generated from `System.ComponentModel.Design.IDictionaryService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDictionaryService { object GetKey(object value); @@ -2027,7 +1862,6 @@ namespace System void SetValue(object key, object value); } - // Generated from `System.ComponentModel.Design.IEventBindingService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEventBindingService { string CreateUniqueMethodName(System.ComponentModel.IComponent component, System.ComponentModel.EventDescriptor e); @@ -2040,20 +1874,17 @@ namespace System bool ShowCode(int lineNumber); } - // Generated from `System.ComponentModel.Design.IExtenderListService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IExtenderListService { System.ComponentModel.IExtenderProvider[] GetExtenderProviders(); } - // Generated from `System.ComponentModel.Design.IExtenderProviderService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IExtenderProviderService { void AddExtenderProvider(System.ComponentModel.IExtenderProvider provider); void RemoveExtenderProvider(System.ComponentModel.IExtenderProvider provider); } - // Generated from `System.ComponentModel.Design.IHelpService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IHelpService { void AddContextAttribute(string name, string value, System.ComponentModel.Design.HelpKeywordType keywordType); @@ -2065,14 +1896,12 @@ namespace System void ShowHelpFromUrl(string helpUrl); } - // Generated from `System.ComponentModel.Design.IInheritanceService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IInheritanceService { void AddInheritedComponents(System.ComponentModel.IComponent component, System.ComponentModel.IContainer container); System.ComponentModel.InheritanceAttribute GetInheritanceAttribute(System.ComponentModel.IComponent component); } - // Generated from `System.ComponentModel.Design.IMenuCommandService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IMenuCommandService { void AddCommand(System.ComponentModel.Design.MenuCommand command); @@ -2085,7 +1914,6 @@ namespace System System.ComponentModel.Design.DesignerVerbCollection Verbs { get; } } - // Generated from `System.ComponentModel.Design.IReferenceService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReferenceService { System.ComponentModel.IComponent GetComponent(object reference); @@ -2095,21 +1923,18 @@ namespace System object[] GetReferences(System.Type baseType); } - // Generated from `System.ComponentModel.Design.IResourceService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IResourceService { System.Resources.IResourceReader GetResourceReader(System.Globalization.CultureInfo info); System.Resources.IResourceWriter GetResourceWriter(System.Globalization.CultureInfo info); } - // Generated from `System.ComponentModel.Design.IRootDesigner` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IRootDesigner : System.ComponentModel.Design.IDesigner, System.IDisposable { object GetView(System.ComponentModel.Design.ViewTechnology technology); System.ComponentModel.Design.ViewTechnology[] SupportedTechnologies { get; } } - // Generated from `System.ComponentModel.Design.ISelectionService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISelectionService { bool GetComponentSelected(object component); @@ -2122,7 +1947,6 @@ namespace System void SetSelectedComponents(System.Collections.ICollection components, System.ComponentModel.Design.SelectionTypes selectionType); } - // Generated from `System.ComponentModel.Design.IServiceContainer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IServiceContainer : System.IServiceProvider { void AddService(System.Type serviceType, System.ComponentModel.Design.ServiceCreatorCallback callback); @@ -2133,14 +1957,12 @@ namespace System void RemoveService(System.Type serviceType, bool promote); } - // Generated from `System.ComponentModel.Design.ITreeDesigner` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITreeDesigner : System.ComponentModel.Design.IDesigner, System.IDisposable { System.Collections.ICollection Children { get; } System.ComponentModel.Design.IDesigner Parent { get; } } - // Generated from `System.ComponentModel.Design.ITypeDescriptorFilterService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeDescriptorFilterService { bool FilterAttributes(System.ComponentModel.IComponent component, System.Collections.IDictionary attributes); @@ -2148,13 +1970,11 @@ namespace System bool FilterProperties(System.ComponentModel.IComponent component, System.Collections.IDictionary properties); } - // Generated from `System.ComponentModel.Design.ITypeDiscoveryService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeDiscoveryService { System.Collections.ICollection GetTypes(System.Type baseType, bool excludeGlobalTypes); } - // Generated from `System.ComponentModel.Design.ITypeResolutionService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeResolutionService { System.Reflection.Assembly GetAssembly(System.Reflection.AssemblyName name); @@ -2166,7 +1986,6 @@ namespace System void ReferenceAssembly(System.Reflection.AssemblyName name); } - // Generated from `System.ComponentModel.Design.MenuCommand` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MenuCommand { public virtual bool Checked { get => throw null; set => throw null; } @@ -2184,7 +2003,6 @@ namespace System public virtual bool Visible { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.Design.SelectionTypes` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SelectionTypes : int { @@ -2201,7 +2019,6 @@ namespace System Valid = 31, } - // Generated from `System.ComponentModel.Design.ServiceContainer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ServiceContainer : System.ComponentModel.Design.IServiceContainer, System.IDisposable, System.IServiceProvider { public void AddService(System.Type serviceType, System.ComponentModel.Design.ServiceCreatorCallback callback) => throw null; @@ -2218,10 +2035,8 @@ namespace System public ServiceContainer(System.IServiceProvider parentProvider) => throw null; } - // Generated from `System.ComponentModel.Design.ServiceCreatorCallback` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate object ServiceCreatorCallback(System.ComponentModel.Design.IServiceContainer container, System.Type serviceType); - // Generated from `System.ComponentModel.Design.StandardCommands` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StandardCommands { public static System.ComponentModel.Design.CommandID AlignBottom; @@ -2282,7 +2097,6 @@ namespace System public static System.ComponentModel.Design.CommandID ViewGrid; } - // Generated from `System.ComponentModel.Design.StandardToolWindows` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StandardToolWindows { public static System.Guid ObjectBrowser; @@ -2296,7 +2110,6 @@ namespace System public static System.Guid Toolbox; } - // Generated from `System.ComponentModel.Design.TypeDescriptionProviderService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TypeDescriptionProviderService { public abstract System.ComponentModel.TypeDescriptionProvider GetProvider(System.Type type); @@ -2304,7 +2117,6 @@ namespace System protected TypeDescriptionProviderService() => throw null; } - // Generated from `System.ComponentModel.Design.ViewTechnology` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ViewTechnology : int { Default = 2, @@ -2314,7 +2126,6 @@ namespace System namespace Serialization { - // Generated from `System.ComponentModel.Design.Serialization.ComponentSerializationService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ComponentSerializationService { protected ComponentSerializationService() => throw null; @@ -2331,7 +2142,6 @@ namespace System public abstract void SerializeMemberAbsolute(System.ComponentModel.Design.Serialization.SerializationStore store, object owningObject, System.ComponentModel.MemberDescriptor member); } - // Generated from `System.ComponentModel.Design.Serialization.ContextStack` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContextStack { public void Append(object context) => throw null; @@ -2343,7 +2153,6 @@ namespace System public void Push(object context) => throw null; } - // Generated from `System.ComponentModel.Design.Serialization.DefaultSerializationProviderAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultSerializationProviderAttribute : System.Attribute { public DefaultSerializationProviderAttribute(System.Type providerType) => throw null; @@ -2351,7 +2160,6 @@ namespace System public string ProviderTypeName { get => throw null; } } - // Generated from `System.ComponentModel.Design.Serialization.DesignerLoader` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DesignerLoader { public abstract void BeginLoad(System.ComponentModel.Design.Serialization.IDesignerLoaderHost host); @@ -2361,21 +2169,18 @@ namespace System public virtual bool Loading { get => throw null; } } - // Generated from `System.ComponentModel.Design.Serialization.IDesignerLoaderHost` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerLoaderHost : System.ComponentModel.Design.IDesignerHost, System.ComponentModel.Design.IServiceContainer, System.IServiceProvider { void EndLoad(string baseClassName, bool successful, System.Collections.ICollection errorCollection); void Reload(); } - // Generated from `System.ComponentModel.Design.Serialization.IDesignerLoaderHost2` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerLoaderHost2 : System.ComponentModel.Design.IDesignerHost, System.ComponentModel.Design.IServiceContainer, System.ComponentModel.Design.Serialization.IDesignerLoaderHost, System.IServiceProvider { bool CanReloadWithErrors { get; set; } bool IgnoreErrorsDuringReload { get; set; } } - // Generated from `System.ComponentModel.Design.Serialization.IDesignerLoaderService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerLoaderService { void AddLoadDependency(); @@ -2383,7 +2188,6 @@ namespace System bool Reload(); } - // Generated from `System.ComponentModel.Design.Serialization.IDesignerSerializationManager` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerSerializationManager : System.IServiceProvider { void AddSerializationProvider(System.ComponentModel.Design.Serialization.IDesignerSerializationProvider provider); @@ -2401,20 +2205,17 @@ namespace System void SetName(object instance, string name); } - // Generated from `System.ComponentModel.Design.Serialization.IDesignerSerializationProvider` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerSerializationProvider { object GetSerializer(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object currentSerializer, System.Type objectType, System.Type serializerType); } - // Generated from `System.ComponentModel.Design.Serialization.IDesignerSerializationService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDesignerSerializationService { System.Collections.ICollection Deserialize(object serializationData); object Serialize(System.Collections.ICollection objects); } - // Generated from `System.ComponentModel.Design.Serialization.INameCreationService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INameCreationService { string CreateName(System.ComponentModel.IContainer container, System.Type dataType); @@ -2422,7 +2223,6 @@ namespace System void ValidateName(string name); } - // Generated from `System.ComponentModel.Design.Serialization.InstanceDescriptor` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InstanceDescriptor { public System.Collections.ICollection Arguments { get => throw null; } @@ -2433,7 +2233,6 @@ namespace System public System.Reflection.MemberInfo MemberInfo { get => throw null; } } - // Generated from `System.ComponentModel.Design.Serialization.MemberRelationship` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MemberRelationship : System.IEquatable { public static bool operator !=(System.ComponentModel.Design.Serialization.MemberRelationship left, System.ComponentModel.Design.Serialization.MemberRelationship right) => throw null; @@ -2449,7 +2248,6 @@ namespace System public object Owner { get => throw null; } } - // Generated from `System.ComponentModel.Design.Serialization.MemberRelationshipService` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MemberRelationshipService { protected virtual System.ComponentModel.Design.Serialization.MemberRelationship GetRelationship(System.ComponentModel.Design.Serialization.MemberRelationship source) => throw null; @@ -2460,7 +2258,6 @@ namespace System public abstract bool SupportsRelationship(System.ComponentModel.Design.Serialization.MemberRelationship source, System.ComponentModel.Design.Serialization.MemberRelationship relationship); } - // Generated from `System.ComponentModel.Design.Serialization.ResolveNameEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResolveNameEventArgs : System.EventArgs { public string Name { get => throw null; } @@ -2468,10 +2265,8 @@ namespace System public object Value { get => throw null; set => throw null; } } - // Generated from `System.ComponentModel.Design.Serialization.ResolveNameEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ResolveNameEventHandler(object sender, System.ComponentModel.Design.Serialization.ResolveNameEventArgs e); - // Generated from `System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RootDesignerSerializerAttribute : System.Attribute { public bool Reloadable { get => throw null; } @@ -2483,7 +2278,6 @@ namespace System public override object TypeId { get => throw null; } } - // Generated from `System.ComponentModel.Design.Serialization.SerializationStore` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SerializationStore : System.IDisposable { public abstract void Close(); @@ -2499,7 +2293,6 @@ namespace System } namespace Drawing { - // Generated from `System.Drawing.ColorConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ColorConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -2511,7 +2304,6 @@ namespace System public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext context) => throw null; } - // Generated from `System.Drawing.PointConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PointConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -2525,7 +2317,6 @@ namespace System public PointConverter() => throw null; } - // Generated from `System.Drawing.RectangleConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RectangleConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -2539,7 +2330,6 @@ namespace System public RectangleConverter() => throw null; } - // Generated from `System.Drawing.SizeConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SizeConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -2553,7 +2343,6 @@ namespace System public SizeConverter() => throw null; } - // Generated from `System.Drawing.SizeFConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SizeFConverter : System.ComponentModel.TypeConverter { public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) => throw null; @@ -2574,7 +2363,6 @@ namespace System { namespace ExtendedProtection { - // Generated from `System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicyTypeConverter` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExtendedProtectionPolicyTypeConverter : System.ComponentModel.TypeConverter { public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) => throw null; @@ -2587,16 +2375,13 @@ namespace System } namespace Timers { - // Generated from `System.Timers.ElapsedEventArgs` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ElapsedEventArgs : System.EventArgs { public System.DateTime SignalTime { get => throw null; } } - // Generated from `System.Timers.ElapsedEventHandler` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ElapsedEventHandler(object sender, System.Timers.ElapsedEventArgs e); - // Generated from `System.Timers.Timer` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Timer : System.ComponentModel.Component, System.ComponentModel.ISupportInitialize { public bool AutoReset { get => throw null; set => throw null; } @@ -2616,7 +2401,6 @@ namespace System public Timer(double interval) => throw null; } - // Generated from `System.Timers.TimersDescriptionAttribute` in `System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TimersDescriptionAttribute : System.ComponentModel.DescriptionAttribute { public override string Description { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.cs index efddff58477..ddfcd435eb3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ComponentModel.cs @@ -1,8 +1,8 @@ // This file contains auto-generated code. +// Generated from `System.ComponentModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { - // Generated from `System.IServiceProvider` in `System.ComponentModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IServiceProvider { object GetService(System.Type serviceType); @@ -10,7 +10,6 @@ namespace System namespace ComponentModel { - // Generated from `System.ComponentModel.CancelEventArgs` in `System.ComponentModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CancelEventArgs : System.EventArgs { public bool Cancel { get => throw null; set => throw null; } @@ -18,14 +17,12 @@ namespace System public CancelEventArgs(bool cancel) => throw null; } - // Generated from `System.ComponentModel.IChangeTracking` in `System.ComponentModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IChangeTracking { void AcceptChanges(); bool IsChanged { get; } } - // Generated from `System.ComponentModel.IEditableObject` in `System.ComponentModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEditableObject { void BeginEdit(); @@ -33,7 +30,6 @@ namespace System void EndEdit(); } - // Generated from `System.ComponentModel.IRevertibleChangeTracking` in `System.ComponentModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IRevertibleChangeTracking : System.ComponentModel.IChangeTracking { void RejectChanges(); diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Console.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Console.cs index 280fb9734bb..37958e8a2a3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Console.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Console.cs @@ -1,8 +1,8 @@ // This file contains auto-generated code. +// Generated from `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { - // Generated from `System.Console` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Console { public static System.ConsoleColor BackgroundColor { get => throw null; set => throw null; } @@ -94,17 +94,14 @@ namespace System public static void WriteLine(System.UInt64 value) => throw null; } - // Generated from `System.ConsoleCancelEventArgs` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConsoleCancelEventArgs : System.EventArgs { public bool Cancel { get => throw null; set => throw null; } public System.ConsoleSpecialKey SpecialKey { get => throw null; } } - // Generated from `System.ConsoleCancelEventHandler` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ConsoleCancelEventHandler(object sender, System.ConsoleCancelEventArgs e); - // Generated from `System.ConsoleColor` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ConsoleColor : int { Black = 0, @@ -125,7 +122,6 @@ namespace System Yellow = 14, } - // Generated from `System.ConsoleKey` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ConsoleKey : int { A = 65, @@ -274,7 +270,6 @@ namespace System Zoom = 251, } - // Generated from `System.ConsoleKeyInfo` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConsoleKeyInfo : System.IEquatable { public static bool operator !=(System.ConsoleKeyInfo a, System.ConsoleKeyInfo b) => throw null; @@ -289,7 +284,6 @@ namespace System public System.ConsoleModifiers Modifiers { get => throw null; } } - // Generated from `System.ConsoleModifiers` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ConsoleModifiers : int { @@ -298,7 +292,6 @@ namespace System Shift = 2, } - // Generated from `System.ConsoleSpecialKey` in `System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ConsoleSpecialKey : int { ControlBreak = 1, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Data.Common.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Data.Common.cs index 0e850b9fbeb..86fa07c14cb 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Data.Common.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Data.Common.cs @@ -1,17 +1,16 @@ // This file contains auto-generated code. +// Generated from `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Data { - // Generated from `System.Data.AcceptRejectRule` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AcceptRejectRule : int { Cascade = 1, None = 0, } - // Generated from `System.Data.CommandBehavior` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CommandBehavior : int { @@ -24,7 +23,6 @@ namespace System SingleRow = 8, } - // Generated from `System.Data.CommandType` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CommandType : int { StoredProcedure = 4, @@ -32,7 +30,6 @@ namespace System Text = 1, } - // Generated from `System.Data.ConflictOption` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ConflictOption : int { CompareAllSearchableValues = 1, @@ -40,7 +37,6 @@ namespace System OverwriteChanges = 3, } - // Generated from `System.Data.ConnectionState` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ConnectionState : int { @@ -52,7 +48,6 @@ namespace System Open = 1, } - // Generated from `System.Data.Constraint` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Constraint { protected void CheckStateForProperty() => throw null; @@ -65,7 +60,6 @@ namespace System protected virtual System.Data.DataSet _DataSet { get => throw null; } } - // Generated from `System.Data.ConstraintCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConstraintCollection : System.Data.InternalDataCollectionBase { public void Add(System.Data.Constraint constraint) => throw null; @@ -89,7 +83,6 @@ namespace System public void RemoveAt(int index) => throw null; } - // Generated from `System.Data.ConstraintException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConstraintException : System.Data.DataException { public ConstraintException() => throw null; @@ -98,7 +91,6 @@ namespace System public ConstraintException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.DBConcurrencyException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DBConcurrencyException : System.SystemException { public void CopyToRows(System.Data.DataRow[] array) => throw null; @@ -112,7 +104,6 @@ namespace System public int RowCount { get => throw null; } } - // Generated from `System.Data.DataColumn` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataColumn : System.ComponentModel.MarshalByValueComponent { public bool AllowDBNull { get => throw null; set => throw null; } @@ -147,7 +138,6 @@ namespace System public bool Unique { get => throw null; set => throw null; } } - // Generated from `System.Data.DataColumnChangeEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataColumnChangeEventArgs : System.EventArgs { public System.Data.DataColumn Column { get => throw null; } @@ -156,10 +146,8 @@ namespace System public System.Data.DataRow Row { get => throw null; } } - // Generated from `System.Data.DataColumnChangeEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DataColumnChangeEventHandler(object sender, System.Data.DataColumnChangeEventArgs e); - // Generated from `System.Data.DataColumnCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataColumnCollection : System.Data.InternalDataCollectionBase { public System.Data.DataColumn Add() => throw null; @@ -183,7 +171,6 @@ namespace System public void RemoveAt(int index) => throw null; } - // Generated from `System.Data.DataException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataException : System.SystemException { public DataException() => throw null; @@ -192,7 +179,6 @@ namespace System public DataException(string s, System.Exception innerException) => throw null; } - // Generated from `System.Data.DataReaderExtensions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DataReaderExtensions { public static bool GetBoolean(this System.Data.Common.DbDataReader reader, string name) => throw null; @@ -223,7 +209,6 @@ namespace System public static System.Threading.Tasks.Task IsDBNullAsync(this System.Data.Common.DbDataReader reader, string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.Data.DataRelation` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRelation { protected void CheckStateForProperty() => throw null; @@ -248,7 +233,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Data.DataRelationCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DataRelationCollection : System.Data.InternalDataCollectionBase { public virtual System.Data.DataRelation Add(System.Data.DataColumn parentColumn, System.Data.DataColumn childColumn) => throw null; @@ -279,7 +263,6 @@ namespace System protected virtual void RemoveCore(System.Data.DataRelation relation) => throw null; } - // Generated from `System.Data.DataRow` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRow { public void AcceptChanges() => throw null; @@ -332,7 +315,6 @@ namespace System public System.Data.DataTable Table { get => throw null; } } - // Generated from `System.Data.DataRowAction` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DataRowAction : int { @@ -346,12 +328,10 @@ namespace System Rollback = 4, } - // Generated from `System.Data.DataRowBuilder` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRowBuilder { } - // Generated from `System.Data.DataRowChangeEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRowChangeEventArgs : System.EventArgs { public System.Data.DataRowAction Action { get => throw null; } @@ -359,10 +339,8 @@ namespace System public System.Data.DataRow Row { get => throw null; } } - // Generated from `System.Data.DataRowChangeEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DataRowChangeEventHandler(object sender, System.Data.DataRowChangeEventArgs e); - // Generated from `System.Data.DataRowCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRowCollection : System.Data.InternalDataCollectionBase { public void Add(System.Data.DataRow row) => throw null; @@ -383,13 +361,11 @@ namespace System public void RemoveAt(int index) => throw null; } - // Generated from `System.Data.DataRowComparer` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DataRowComparer { public static System.Data.DataRowComparer Default { get => throw null; } } - // Generated from `System.Data.DataRowComparer<>` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRowComparer : System.Collections.Generic.IEqualityComparer where TRow : System.Data.DataRow { public static System.Data.DataRowComparer Default { get => throw null; } @@ -397,7 +373,6 @@ namespace System public int GetHashCode(TRow row) => throw null; } - // Generated from `System.Data.DataRowExtensions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DataRowExtensions { public static T Field(this System.Data.DataRow row, System.Data.DataColumn column) => throw null; @@ -411,7 +386,6 @@ namespace System public static void SetField(this System.Data.DataRow row, string columnName, T value) => throw null; } - // Generated from `System.Data.DataRowState` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DataRowState : int { @@ -422,7 +396,6 @@ namespace System Unchanged = 2, } - // Generated from `System.Data.DataRowVersion` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DataRowVersion : int { Current = 512, @@ -431,7 +404,6 @@ namespace System Proposed = 1024, } - // Generated from `System.Data.DataRowView` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataRowView : System.ComponentModel.ICustomTypeDescriptor, System.ComponentModel.IDataErrorInfo, System.ComponentModel.IEditableObject, System.ComponentModel.INotifyPropertyChanged { public void BeginEdit() => throw null; @@ -468,7 +440,6 @@ namespace System public System.Data.DataRowVersion RowVersion { get => throw null; } } - // Generated from `System.Data.DataSet` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataSet : System.ComponentModel.MarshalByValueComponent, System.ComponentModel.IListSource, System.ComponentModel.ISupportInitialize, System.ComponentModel.ISupportInitializeNotification, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable { public void AcceptChanges() => throw null; @@ -572,7 +543,6 @@ namespace System public void WriteXmlSchema(string fileName, System.Converter multipleTargetConverter) => throw null; } - // Generated from `System.Data.DataSetDateTime` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DataSetDateTime : int { Local = 1, @@ -581,14 +551,12 @@ namespace System Utc = 4, } - // Generated from `System.Data.DataSysDescriptionAttribute` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataSysDescriptionAttribute : System.ComponentModel.DescriptionAttribute { public DataSysDescriptionAttribute(string description) => throw null; public override string Description { get => throw null; } } - // Generated from `System.Data.DataTable` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTable : System.ComponentModel.MarshalByValueComponent, System.ComponentModel.IListSource, System.ComponentModel.ISupportInitialize, System.ComponentModel.ISupportInitializeNotification, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable { public void AcceptChanges() => throw null; @@ -714,7 +682,6 @@ namespace System protected internal bool fInitInProgress; } - // Generated from `System.Data.DataTableClearEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTableClearEventArgs : System.EventArgs { public DataTableClearEventArgs(System.Data.DataTable dataTable) => throw null; @@ -723,10 +690,8 @@ namespace System public string TableNamespace { get => throw null; } } - // Generated from `System.Data.DataTableClearEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DataTableClearEventHandler(object sender, System.Data.DataTableClearEventArgs e); - // Generated from `System.Data.DataTableCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTableCollection : System.Data.InternalDataCollectionBase { public System.Data.DataTable Add() => throw null; @@ -754,7 +719,6 @@ namespace System public void RemoveAt(int index) => throw null; } - // Generated from `System.Data.DataTableExtensions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DataTableExtensions { public static System.Data.DataView AsDataView(this System.Data.DataTable table) => throw null; @@ -765,17 +729,14 @@ namespace System public static void CopyToDataTable(this System.Collections.Generic.IEnumerable source, System.Data.DataTable table, System.Data.LoadOption options, System.Data.FillErrorEventHandler errorHandler) where T : System.Data.DataRow => throw null; } - // Generated from `System.Data.DataTableNewRowEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTableNewRowEventArgs : System.EventArgs { public DataTableNewRowEventArgs(System.Data.DataRow dataRow) => throw null; public System.Data.DataRow Row { get => throw null; } } - // Generated from `System.Data.DataTableNewRowEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DataTableNewRowEventHandler(object sender, System.Data.DataTableNewRowEventArgs e); - // Generated from `System.Data.DataTableReader` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTableReader : System.Data.Common.DbDataReader { public override void Close() => throw null; @@ -818,7 +779,6 @@ namespace System public override int RecordsAffected { get => throw null; } } - // Generated from `System.Data.DataView` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataView : System.ComponentModel.MarshalByValueComponent, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.IBindingListView, System.ComponentModel.ISupportInitialize, System.ComponentModel.ISupportInitializeNotification, System.ComponentModel.ITypedList { int System.Collections.IList.Add(object value) => throw null; @@ -900,7 +860,6 @@ namespace System protected virtual void UpdateIndex(bool force) => throw null; } - // Generated from `System.Data.DataViewManager` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataViewManager : System.ComponentModel.MarshalByValueComponent, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.ITypedList { int System.Collections.IList.Add(object value) => throw null; @@ -947,7 +906,6 @@ namespace System protected virtual void TableCollectionChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) => throw null; } - // Generated from `System.Data.DataViewRowState` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DataViewRowState : int { @@ -961,7 +919,6 @@ namespace System Unchanged = 2, } - // Generated from `System.Data.DataViewSetting` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataViewSetting { public bool ApplyDefaultSort { get => throw null; set => throw null; } @@ -972,7 +929,6 @@ namespace System public System.Data.DataTable Table { get => throw null; } } - // Generated from `System.Data.DataViewSettingCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataViewSettingCollection : System.Collections.ICollection, System.Collections.IEnumerable { public void CopyTo(System.Array ar, int index) => throw null; @@ -987,7 +943,6 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Data.DbType` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DbType : int { AnsiString = 0, @@ -1019,7 +974,6 @@ namespace System Xml = 25, } - // Generated from `System.Data.DeletedRowInaccessibleException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DeletedRowInaccessibleException : System.Data.DataException { public DeletedRowInaccessibleException() => throw null; @@ -1028,7 +982,6 @@ namespace System public DeletedRowInaccessibleException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.DuplicateNameException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DuplicateNameException : System.Data.DataException { public DuplicateNameException() => throw null; @@ -1037,14 +990,12 @@ namespace System public DuplicateNameException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.EnumerableRowCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EnumerableRowCollection : System.Collections.IEnumerable { internal EnumerableRowCollection() => throw null; System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Data.EnumerableRowCollection<>` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumerableRowCollection : System.Data.EnumerableRowCollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { internal EnumerableRowCollection() => throw null; @@ -1052,7 +1003,6 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Data.EnumerableRowCollectionExtensions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class EnumerableRowCollectionExtensions { public static System.Data.EnumerableRowCollection Cast(this System.Data.EnumerableRowCollection source) => throw null; @@ -1068,7 +1018,6 @@ namespace System public static System.Data.EnumerableRowCollection Where(this System.Data.EnumerableRowCollection source, System.Func predicate) => throw null; } - // Generated from `System.Data.EvaluateException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EvaluateException : System.Data.InvalidExpressionException { public EvaluateException() => throw null; @@ -1077,7 +1026,6 @@ namespace System public EvaluateException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.FillErrorEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FillErrorEventArgs : System.EventArgs { public bool Continue { get => throw null; set => throw null; } @@ -1087,10 +1035,8 @@ namespace System public object[] Values { get => throw null; } } - // Generated from `System.Data.FillErrorEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void FillErrorEventHandler(object sender, System.Data.FillErrorEventArgs e); - // Generated from `System.Data.ForeignKeyConstraint` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ForeignKeyConstraint : System.Data.Constraint { public virtual System.Data.AcceptRejectRule AcceptRejectRule { get => throw null; set => throw null; } @@ -1110,14 +1056,12 @@ namespace System public virtual System.Data.Rule UpdateRule { get => throw null; set => throw null; } } - // Generated from `System.Data.IColumnMapping` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IColumnMapping { string DataSetColumn { get; set; } string SourceColumn { get; set; } } - // Generated from `System.Data.IColumnMappingCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IColumnMappingCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { System.Data.IColumnMapping Add(string sourceColumnName, string dataSetColumnName); @@ -1128,7 +1072,6 @@ namespace System void RemoveAt(string sourceColumnName); } - // Generated from `System.Data.IDataAdapter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataAdapter { int Fill(System.Data.DataSet dataSet); @@ -1140,7 +1083,6 @@ namespace System int Update(System.Data.DataSet dataSet); } - // Generated from `System.Data.IDataParameter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataParameter { System.Data.DbType DbType { get; set; } @@ -1152,7 +1094,6 @@ namespace System object Value { get; set; } } - // Generated from `System.Data.IDataParameterCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataParameterCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { bool Contains(string parameterName); @@ -1161,7 +1102,6 @@ namespace System void RemoveAt(string parameterName); } - // Generated from `System.Data.IDataReader` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataReader : System.Data.IDataRecord, System.IDisposable { void Close(); @@ -1173,7 +1113,6 @@ namespace System int RecordsAffected { get; } } - // Generated from `System.Data.IDataRecord` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataRecord { int FieldCount { get; } @@ -1203,7 +1142,6 @@ namespace System object this[string name] { get; } } - // Generated from `System.Data.IDbCommand` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDbCommand : System.IDisposable { void Cancel(); @@ -1222,7 +1160,6 @@ namespace System System.Data.UpdateRowSource UpdatedRowSource { get; set; } } - // Generated from `System.Data.IDbConnection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDbConnection : System.IDisposable { System.Data.IDbTransaction BeginTransaction(); @@ -1237,7 +1174,6 @@ namespace System System.Data.ConnectionState State { get; } } - // Generated from `System.Data.IDbDataAdapter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDbDataAdapter : System.Data.IDataAdapter { System.Data.IDbCommand DeleteCommand { get; set; } @@ -1246,7 +1182,6 @@ namespace System System.Data.IDbCommand UpdateCommand { get; set; } } - // Generated from `System.Data.IDbDataParameter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDbDataParameter : System.Data.IDataParameter { System.Byte Precision { get; set; } @@ -1254,7 +1189,6 @@ namespace System int Size { get; set; } } - // Generated from `System.Data.IDbTransaction` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDbTransaction : System.IDisposable { void Commit(); @@ -1263,7 +1197,6 @@ namespace System void Rollback(); } - // Generated from `System.Data.ITableMapping` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITableMapping { System.Data.IColumnMappingCollection ColumnMappings { get; } @@ -1271,7 +1204,6 @@ namespace System string SourceTable { get; set; } } - // Generated from `System.Data.ITableMappingCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITableMappingCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { System.Data.ITableMapping Add(string sourceTableName, string dataSetTableName); @@ -1282,7 +1214,6 @@ namespace System void RemoveAt(string sourceTableName); } - // Generated from `System.Data.InRowChangingEventException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InRowChangingEventException : System.Data.DataException { public InRowChangingEventException() => throw null; @@ -1291,7 +1222,6 @@ namespace System public InRowChangingEventException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.InternalDataCollectionBase` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InternalDataCollectionBase : System.Collections.ICollection, System.Collections.IEnumerable { public virtual void CopyTo(System.Array ar, int index) => throw null; @@ -1304,7 +1234,6 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Data.InvalidConstraintException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidConstraintException : System.Data.DataException { public InvalidConstraintException() => throw null; @@ -1313,7 +1242,6 @@ namespace System public InvalidConstraintException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.InvalidExpressionException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidExpressionException : System.Data.DataException { public InvalidExpressionException() => throw null; @@ -1322,7 +1250,6 @@ namespace System public InvalidExpressionException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.IsolationLevel` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum IsolationLevel : int { Chaos = 16, @@ -1334,14 +1261,12 @@ namespace System Unspecified = -1, } - // Generated from `System.Data.KeyRestrictionBehavior` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum KeyRestrictionBehavior : int { AllowOnly = 0, PreventUsage = 1, } - // Generated from `System.Data.LoadOption` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LoadOption : int { OverwriteChanges = 1, @@ -1349,7 +1274,6 @@ namespace System Upsert = 3, } - // Generated from `System.Data.MappingType` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MappingType : int { Attribute = 2, @@ -1358,7 +1282,6 @@ namespace System SimpleContent = 3, } - // Generated from `System.Data.MergeFailedEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MergeFailedEventArgs : System.EventArgs { public string Conflict { get => throw null; } @@ -1366,10 +1289,8 @@ namespace System public System.Data.DataTable Table { get => throw null; } } - // Generated from `System.Data.MergeFailedEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void MergeFailedEventHandler(object sender, System.Data.MergeFailedEventArgs e); - // Generated from `System.Data.MissingMappingAction` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MissingMappingAction : int { Error = 3, @@ -1377,7 +1298,6 @@ namespace System Passthrough = 1, } - // Generated from `System.Data.MissingPrimaryKeyException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MissingPrimaryKeyException : System.Data.DataException { public MissingPrimaryKeyException() => throw null; @@ -1386,7 +1306,6 @@ namespace System public MissingPrimaryKeyException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.MissingSchemaAction` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MissingSchemaAction : int { Add = 1, @@ -1395,7 +1314,6 @@ namespace System Ignore = 2, } - // Generated from `System.Data.NoNullAllowedException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NoNullAllowedException : System.Data.DataException { public NoNullAllowedException() => throw null; @@ -1404,12 +1322,10 @@ namespace System public NoNullAllowedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.OrderedEnumerableRowCollection<>` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OrderedEnumerableRowCollection : System.Data.EnumerableRowCollection { } - // Generated from `System.Data.ParameterDirection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ParameterDirection : int { Input = 1, @@ -1418,7 +1334,6 @@ namespace System ReturnValue = 6, } - // Generated from `System.Data.PropertyCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PropertyCollection : System.Collections.Hashtable, System.ICloneable { public override object Clone() => throw null; @@ -1426,7 +1341,6 @@ namespace System protected PropertyCollection(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; } - // Generated from `System.Data.ReadOnlyException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReadOnlyException : System.Data.DataException { public ReadOnlyException() => throw null; @@ -1435,7 +1349,6 @@ namespace System public ReadOnlyException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.RowNotInTableException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RowNotInTableException : System.Data.DataException { public RowNotInTableException() => throw null; @@ -1444,7 +1357,6 @@ namespace System public RowNotInTableException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.Rule` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum Rule : int { Cascade = 1, @@ -1453,28 +1365,24 @@ namespace System SetNull = 2, } - // Generated from `System.Data.SchemaSerializationMode` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SchemaSerializationMode : int { ExcludeSchema = 2, IncludeSchema = 1, } - // Generated from `System.Data.SchemaType` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SchemaType : int { Mapped = 2, Source = 1, } - // Generated from `System.Data.SerializationFormat` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SerializationFormat : int { Binary = 1, Xml = 0, } - // Generated from `System.Data.SqlDbType` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SqlDbType : int { BigInt = 0, @@ -1510,7 +1418,6 @@ namespace System Xml = 25, } - // Generated from `System.Data.StateChangeEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StateChangeEventArgs : System.EventArgs { public System.Data.ConnectionState CurrentState { get => throw null; } @@ -1518,20 +1425,16 @@ namespace System public StateChangeEventArgs(System.Data.ConnectionState originalState, System.Data.ConnectionState currentState) => throw null; } - // Generated from `System.Data.StateChangeEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void StateChangeEventHandler(object sender, System.Data.StateChangeEventArgs e); - // Generated from `System.Data.StatementCompletedEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StatementCompletedEventArgs : System.EventArgs { public int RecordCount { get => throw null; } public StatementCompletedEventArgs(int recordCount) => throw null; } - // Generated from `System.Data.StatementCompletedEventHandler` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void StatementCompletedEventHandler(object sender, System.Data.StatementCompletedEventArgs e); - // Generated from `System.Data.StatementType` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum StatementType : int { Batch = 4, @@ -1541,7 +1444,6 @@ namespace System Update = 2, } - // Generated from `System.Data.StrongTypingException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StrongTypingException : System.Data.DataException { public StrongTypingException() => throw null; @@ -1550,7 +1452,6 @@ namespace System public StrongTypingException(string s, System.Exception innerException) => throw null; } - // Generated from `System.Data.SyntaxErrorException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SyntaxErrorException : System.Data.InvalidExpressionException { public SyntaxErrorException() => throw null; @@ -1559,7 +1460,6 @@ namespace System public SyntaxErrorException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.TypedTableBase<>` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TypedTableBase : System.Data.DataTable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable where T : System.Data.DataRow { public System.Data.EnumerableRowCollection Cast() => throw null; @@ -1569,7 +1469,6 @@ namespace System protected TypedTableBase(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; } - // Generated from `System.Data.TypedTableBaseExtensions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class TypedTableBaseExtensions { public static System.Data.EnumerableRowCollection AsEnumerable(this System.Data.TypedTableBase source) where TRow : System.Data.DataRow => throw null; @@ -1582,7 +1481,6 @@ namespace System public static System.Data.EnumerableRowCollection Where(this System.Data.TypedTableBase source, System.Func predicate) where TRow : System.Data.DataRow => throw null; } - // Generated from `System.Data.UniqueConstraint` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UniqueConstraint : System.Data.Constraint { public virtual System.Data.DataColumn[] Columns { get => throw null; } @@ -1601,7 +1499,6 @@ namespace System public UniqueConstraint(string name, string[] columnNames, bool isPrimaryKey) => throw null; } - // Generated from `System.Data.UpdateRowSource` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UpdateRowSource : int { Both = 3, @@ -1610,7 +1507,6 @@ namespace System OutputParameters = 1, } - // Generated from `System.Data.UpdateStatus` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UpdateStatus : int { Continue = 0, @@ -1619,7 +1515,6 @@ namespace System SkipCurrentRow = 2, } - // Generated from `System.Data.VersionNotFoundException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VersionNotFoundException : System.Data.DataException { public VersionNotFoundException() => throw null; @@ -1628,7 +1523,6 @@ namespace System public VersionNotFoundException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Data.XmlReadMode` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlReadMode : int { Auto = 0, @@ -1640,7 +1534,6 @@ namespace System ReadSchema = 1, } - // Generated from `System.Data.XmlWriteMode` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlWriteMode : int { DiffGram = 2, @@ -1650,14 +1543,12 @@ namespace System namespace Common { - // Generated from `System.Data.Common.CatalogLocation` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CatalogLocation : int { End = 2, Start = 1, } - // Generated from `System.Data.Common.DataAdapter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataAdapter : System.ComponentModel.Component, System.Data.IDataAdapter { public bool AcceptChangesDuringFill { get => throw null; set => throw null; } @@ -1692,7 +1583,6 @@ namespace System public virtual int Update(System.Data.DataSet dataSet) => throw null; } - // Generated from `System.Data.Common.DataColumnMapping` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataColumnMapping : System.MarshalByRefObject, System.Data.IColumnMapping, System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -1705,7 +1595,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Data.Common.DataColumnMappingCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataColumnMappingCollection : System.MarshalByRefObject, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Data.IColumnMappingCollection { public int Add(object value) => throw null; @@ -1744,7 +1633,6 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Data.Common.DataTableMapping` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTableMapping : System.MarshalByRefObject, System.Data.ITableMapping, System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -1761,7 +1649,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Data.Common.DataTableMappingCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataTableMappingCollection : System.MarshalByRefObject, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Data.ITableMappingCollection { public int Add(object value) => throw null; @@ -1799,7 +1686,6 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Data.Common.DbBatch` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbBatch : System.IAsyncDisposable, System.IDisposable { public System.Data.Common.DbBatchCommandCollection BatchCommands { get => throw null; } @@ -1828,7 +1714,6 @@ namespace System public System.Data.Common.DbTransaction Transaction { get => throw null; set => throw null; } } - // Generated from `System.Data.Common.DbBatchCommand` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbBatchCommand { public abstract string CommandText { get; set; } @@ -1839,7 +1724,6 @@ namespace System public abstract int RecordsAffected { get; } } - // Generated from `System.Data.Common.DbBatchCommandCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbBatchCommandCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.IEnumerable { public abstract void Add(System.Data.Common.DbBatchCommand item); @@ -1860,7 +1744,6 @@ namespace System protected abstract void SetBatchCommand(int index, System.Data.Common.DbBatchCommand batchCommand); } - // Generated from `System.Data.Common.DbColumn` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbColumn { public bool? AllowDBNull { get => throw null; set => throw null; } @@ -1890,7 +1773,6 @@ namespace System public string UdtAssemblyQualifiedName { get => throw null; set => throw null; } } - // Generated from `System.Data.Common.DbCommand` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbCommand : System.ComponentModel.Component, System.Data.IDbCommand, System.IAsyncDisposable, System.IDisposable { public abstract void Cancel(); @@ -1933,7 +1815,6 @@ namespace System public abstract System.Data.UpdateRowSource UpdatedRowSource { get; set; } } - // Generated from `System.Data.Common.DbCommandBuilder` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbCommandBuilder : System.ComponentModel.Component { protected abstract void ApplyParameterInfo(System.Data.Common.DbParameter parameter, System.Data.DataRow row, System.Data.StatementType statementType, bool whereClause); @@ -1965,7 +1846,6 @@ namespace System public virtual string UnquoteIdentifier(string quotedIdentifier) => throw null; } - // Generated from `System.Data.Common.DbConnection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbConnection : System.ComponentModel.Component, System.Data.IDbConnection, System.IAsyncDisposable, System.IDisposable { protected abstract System.Data.Common.DbTransaction BeginDbTransaction(System.Data.IsolationLevel isolationLevel); @@ -2009,7 +1889,6 @@ namespace System public virtual event System.Data.StateChangeEventHandler StateChange; } - // Generated from `System.Data.Common.DbConnectionStringBuilder` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DbConnectionStringBuilder : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.ComponentModel.ICustomTypeDescriptor { void System.Collections.IDictionary.Add(object keyword, object value) => throw null; @@ -2057,7 +1936,6 @@ namespace System public virtual System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Data.Common.DbDataAdapter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbDataAdapter : System.Data.Common.DataAdapter, System.Data.IDataAdapter, System.Data.IDbDataAdapter, System.ICloneable { protected virtual int AddToBatch(System.Data.IDbCommand command) => throw null; @@ -2107,7 +1985,6 @@ namespace System System.Data.IDbCommand System.Data.IDbDataAdapter.UpdateCommand { get => throw null; set => throw null; } } - // Generated from `System.Data.Common.DbDataReader` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbDataReader : System.MarshalByRefObject, System.Collections.IEnumerable, System.Data.IDataReader, System.Data.IDataRecord, System.IAsyncDisposable, System.IDisposable { public virtual void Close() => throw null; @@ -2170,14 +2047,12 @@ namespace System public virtual int VisibleFieldCount { get => throw null; } } - // Generated from `System.Data.Common.DbDataReaderExtensions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DbDataReaderExtensions { public static bool CanGetColumnSchema(this System.Data.Common.DbDataReader reader) => throw null; public static System.Collections.ObjectModel.ReadOnlyCollection GetColumnSchema(this System.Data.Common.DbDataReader reader) => throw null; } - // Generated from `System.Data.Common.DbDataRecord` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbDataRecord : System.ComponentModel.ICustomTypeDescriptor, System.Data.IDataRecord { protected DbDataRecord() => throw null; @@ -2221,7 +2096,6 @@ namespace System public abstract object this[string name] { get; } } - // Generated from `System.Data.Common.DbDataSource` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbDataSource : System.IAsyncDisposable, System.IDisposable { public abstract string ConnectionString { get; } @@ -2242,14 +2116,12 @@ namespace System protected virtual System.Threading.Tasks.ValueTask OpenDbConnectionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.Data.Common.DbDataSourceEnumerator` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbDataSourceEnumerator { protected DbDataSourceEnumerator() => throw null; public abstract System.Data.DataTable GetDataSources(); } - // Generated from `System.Data.Common.DbEnumerator` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DbEnumerator : System.Collections.IEnumerator { public object Current { get => throw null; } @@ -2261,7 +2133,6 @@ namespace System public void Reset() => throw null; } - // Generated from `System.Data.Common.DbException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbException : System.Runtime.InteropServices.ExternalException { public System.Data.Common.DbBatchCommand BatchCommand { get => throw null; } @@ -2275,7 +2146,6 @@ namespace System public virtual string SqlState { get => throw null; } } - // Generated from `System.Data.Common.DbMetaDataCollectionNames` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DbMetaDataCollectionNames { public static string DataSourceInformation; @@ -2285,7 +2155,6 @@ namespace System public static string Restrictions; } - // Generated from `System.Data.Common.DbMetaDataColumnNames` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DbMetaDataColumnNames { public static string CollectionName; @@ -2333,7 +2202,6 @@ namespace System public static string TypeName; } - // Generated from `System.Data.Common.DbParameter` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbParameter : System.MarshalByRefObject, System.Data.IDataParameter, System.Data.IDbDataParameter { protected DbParameter() => throw null; @@ -2353,7 +2221,6 @@ namespace System public abstract object Value { get; set; } } - // Generated from `System.Data.Common.DbParameterCollection` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbParameterCollection : System.MarshalByRefObject, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Data.IDataParameterCollection { public abstract int Add(object value); @@ -2390,7 +2257,6 @@ namespace System public abstract object SyncRoot { get; } } - // Generated from `System.Data.Common.DbProviderFactories` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DbProviderFactories { public static System.Data.Common.DbProviderFactory GetFactory(System.Data.DataRow providerRow) => throw null; @@ -2405,7 +2271,6 @@ namespace System public static bool UnregisterFactory(string providerInvariantName) => throw null; } - // Generated from `System.Data.Common.DbProviderFactory` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbProviderFactory { public virtual bool CanCreateBatch { get => throw null; } @@ -2425,14 +2290,12 @@ namespace System protected DbProviderFactory() => throw null; } - // Generated from `System.Data.Common.DbProviderSpecificTypePropertyAttribute` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DbProviderSpecificTypePropertyAttribute : System.Attribute { public DbProviderSpecificTypePropertyAttribute(bool isProviderSpecificTypeProperty) => throw null; public bool IsProviderSpecificTypeProperty { get => throw null; } } - // Generated from `System.Data.Common.DbTransaction` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DbTransaction : System.MarshalByRefObject, System.Data.IDbTransaction, System.IAsyncDisposable, System.IDisposable { public abstract void Commit(); @@ -2456,7 +2319,6 @@ namespace System public virtual bool SupportsSavepoints { get => throw null; } } - // Generated from `System.Data.Common.GroupByBehavior` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GroupByBehavior : int { ExactMatch = 4, @@ -2466,13 +2328,11 @@ namespace System Unrelated = 2, } - // Generated from `System.Data.Common.IDbColumnSchemaGenerator` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDbColumnSchemaGenerator { System.Collections.ObjectModel.ReadOnlyCollection GetColumnSchema(); } - // Generated from `System.Data.Common.IdentifierCase` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum IdentifierCase : int { Insensitive = 1, @@ -2480,7 +2340,6 @@ namespace System Unknown = 0, } - // Generated from `System.Data.Common.RowUpdatedEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RowUpdatedEventArgs : System.EventArgs { public System.Data.IDbCommand Command { get => throw null; } @@ -2496,7 +2355,6 @@ namespace System public System.Data.Common.DataTableMapping TableMapping { get => throw null; } } - // Generated from `System.Data.Common.RowUpdatingEventArgs` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RowUpdatingEventArgs : System.EventArgs { protected virtual System.Data.IDbCommand BaseCommand { get => throw null; set => throw null; } @@ -2509,7 +2367,6 @@ namespace System public System.Data.Common.DataTableMapping TableMapping { get => throw null; } } - // Generated from `System.Data.Common.SchemaTableColumn` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class SchemaTableColumn { public static string AllowDBNull; @@ -2531,7 +2388,6 @@ namespace System public static string ProviderType; } - // Generated from `System.Data.Common.SchemaTableOptionalColumn` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class SchemaTableOptionalColumn { public static string AutoIncrementSeed; @@ -2550,7 +2406,6 @@ namespace System public static string ProviderSpecificDataType; } - // Generated from `System.Data.Common.SupportedJoinOperators` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SupportedJoinOperators : int { @@ -2564,13 +2419,11 @@ namespace System } namespace SqlTypes { - // Generated from `System.Data.SqlTypes.INullable` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INullable { bool IsNull { get; } } - // Generated from `System.Data.SqlTypes.SqlAlreadyFilledException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlAlreadyFilledException : System.Data.SqlTypes.SqlTypeException { public SqlAlreadyFilledException() => throw null; @@ -2578,7 +2431,6 @@ namespace System public SqlAlreadyFilledException(string message, System.Exception e) => throw null; } - // Generated from `System.Data.SqlTypes.SqlBinary` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SqlBinary : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y) => throw null; @@ -2620,7 +2472,6 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlBinary(System.Byte[] x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlBoolean` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SqlBoolean : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !(System.Data.SqlTypes.SqlBoolean x) => throw null; @@ -2692,7 +2543,6 @@ namespace System public static System.Data.SqlTypes.SqlBoolean operator ~(System.Data.SqlTypes.SqlBoolean x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlByte` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SqlByte : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y) => throw null; @@ -2767,7 +2617,6 @@ namespace System public static System.Data.SqlTypes.SqlByte operator ~(System.Data.SqlTypes.SqlByte x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlBytes` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlBytes : System.Data.SqlTypes.INullable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable { public System.Byte[] Buffer { get => throw null; } @@ -2797,7 +2646,6 @@ namespace System public static explicit operator System.Data.SqlTypes.SqlBinary(System.Data.SqlTypes.SqlBytes value) => throw null; } - // Generated from `System.Data.SqlTypes.SqlChars` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlChars : System.Data.SqlTypes.INullable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable { public System.Char[] Buffer { get => throw null; } @@ -2825,7 +2673,6 @@ namespace System public static explicit operator System.Data.SqlTypes.SqlChars(System.Data.SqlTypes.SqlString value) => throw null; } - // Generated from `System.Data.SqlTypes.SqlCompareOptions` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SqlCompareOptions : int { @@ -2838,7 +2685,6 @@ namespace System None = 0, } - // Generated from `System.Data.SqlTypes.SqlDateTime` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SqlDateTime : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlDateTime x, System.Data.SqlTypes.SqlDateTime y) => throw null; @@ -2891,7 +2737,6 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlDateTime(System.DateTime value) => throw null; } - // Generated from `System.Data.SqlTypes.SqlDecimal` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SqlDecimal : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) => throw null; @@ -2980,7 +2825,6 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlDecimal(System.Int64 x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlDouble` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SqlDouble : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlDouble x, System.Data.SqlTypes.SqlDouble y) => throw null; @@ -3045,7 +2889,6 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlDouble(double x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlGuid` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SqlGuid : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y) => throw null; @@ -3088,7 +2931,6 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlGuid(System.Guid x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlInt16` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SqlInt16 : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) => throw null; @@ -3164,7 +3006,6 @@ namespace System public static System.Data.SqlTypes.SqlInt16 operator ~(System.Data.SqlTypes.SqlInt16 x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlInt32` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SqlInt32 : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) => throw null; @@ -3240,7 +3081,6 @@ namespace System public static System.Data.SqlTypes.SqlInt32 operator ~(System.Data.SqlTypes.SqlInt32 x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlInt64` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SqlInt64 : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) => throw null; @@ -3316,7 +3156,6 @@ namespace System public static System.Data.SqlTypes.SqlInt64 operator ~(System.Data.SqlTypes.SqlInt64 x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlMoney` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SqlMoney : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) => throw null; @@ -3392,7 +3231,6 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlMoney(System.Int64 x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlNotFilledException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlNotFilledException : System.Data.SqlTypes.SqlTypeException { public SqlNotFilledException() => throw null; @@ -3400,7 +3238,6 @@ namespace System public SqlNotFilledException(string message, System.Exception e) => throw null; } - // Generated from `System.Data.SqlTypes.SqlNullValueException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlNullValueException : System.Data.SqlTypes.SqlTypeException { public SqlNullValueException() => throw null; @@ -3408,7 +3245,6 @@ namespace System public SqlNullValueException(string message, System.Exception e) => throw null; } - // Generated from `System.Data.SqlTypes.SqlSingle` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SqlSingle : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y) => throw null; @@ -3474,7 +3310,6 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlSingle(float x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlString` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SqlString : System.Data.SqlTypes.INullable, System.IComparable, System.IEquatable, System.Xml.Serialization.IXmlSerializable { public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y) => throw null; @@ -3553,7 +3388,6 @@ namespace System public static implicit operator System.Data.SqlTypes.SqlString(string x) => throw null; } - // Generated from `System.Data.SqlTypes.SqlTruncateException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlTruncateException : System.Data.SqlTypes.SqlTypeException { public SqlTruncateException() => throw null; @@ -3561,7 +3395,6 @@ namespace System public SqlTruncateException(string message, System.Exception e) => throw null; } - // Generated from `System.Data.SqlTypes.SqlTypeException` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlTypeException : System.SystemException { public SqlTypeException() => throw null; @@ -3570,7 +3403,6 @@ namespace System public SqlTypeException(string message, System.Exception e) => throw null; } - // Generated from `System.Data.SqlTypes.SqlXml` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SqlXml : System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable { public System.Xml.XmlReader CreateReader() => throw null; @@ -3586,7 +3418,6 @@ namespace System void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter writer) => throw null; } - // Generated from `System.Data.SqlTypes.StorageState` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum StorageState : int { Buffer = 0, @@ -3598,7 +3429,6 @@ namespace System } namespace Xml { - // Generated from `System.Xml.XmlDataDocument` in `System.Data.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDataDocument : System.Xml.XmlDocument { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Contracts.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Contracts.cs index 7ab0a87477e..5b371b2efa4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Contracts.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Contracts.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Contracts { - // Generated from `System.Diagnostics.Contracts.Contract` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Contract { public static void Assert(bool condition) => throw null; @@ -34,33 +34,28 @@ namespace System public static T ValueAtReturn(out T value) => throw null; } - // Generated from `System.Diagnostics.Contracts.ContractAbbreviatorAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractAbbreviatorAttribute : System.Attribute { public ContractAbbreviatorAttribute() => throw null; } - // Generated from `System.Diagnostics.Contracts.ContractArgumentValidatorAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractArgumentValidatorAttribute : System.Attribute { public ContractArgumentValidatorAttribute() => throw null; } - // Generated from `System.Diagnostics.Contracts.ContractClassAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractClassAttribute : System.Attribute { public ContractClassAttribute(System.Type typeContainingContracts) => throw null; public System.Type TypeContainingContracts { get => throw null; } } - // Generated from `System.Diagnostics.Contracts.ContractClassForAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractClassForAttribute : System.Attribute { public ContractClassForAttribute(System.Type typeContractsAreFor) => throw null; public System.Type TypeContractsAreFor { get => throw null; } } - // Generated from `System.Diagnostics.Contracts.ContractFailedEventArgs` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractFailedEventArgs : System.EventArgs { public string Condition { get => throw null; } @@ -74,7 +69,6 @@ namespace System public bool Unwind { get => throw null; } } - // Generated from `System.Diagnostics.Contracts.ContractFailureKind` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ContractFailureKind : int { Assert = 4, @@ -85,13 +79,11 @@ namespace System Precondition = 0, } - // Generated from `System.Diagnostics.Contracts.ContractInvariantMethodAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractInvariantMethodAttribute : System.Attribute { public ContractInvariantMethodAttribute() => throw null; } - // Generated from `System.Diagnostics.Contracts.ContractOptionAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractOptionAttribute : System.Attribute { public string Category { get => throw null; } @@ -102,33 +94,28 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Diagnostics.Contracts.ContractPublicPropertyNameAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractPublicPropertyNameAttribute : System.Attribute { public ContractPublicPropertyNameAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `System.Diagnostics.Contracts.ContractReferenceAssemblyAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractReferenceAssemblyAttribute : System.Attribute { public ContractReferenceAssemblyAttribute() => throw null; } - // Generated from `System.Diagnostics.Contracts.ContractRuntimeIgnoredAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractRuntimeIgnoredAttribute : System.Attribute { public ContractRuntimeIgnoredAttribute() => throw null; } - // Generated from `System.Diagnostics.Contracts.ContractVerificationAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractVerificationAttribute : System.Attribute { public ContractVerificationAttribute(bool value) => throw null; public bool Value { get => throw null; } } - // Generated from `System.Diagnostics.Contracts.PureAttribute` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PureAttribute : System.Attribute { public PureAttribute() => throw null; @@ -140,7 +127,6 @@ namespace System { namespace CompilerServices { - // Generated from `System.Runtime.CompilerServices.ContractHelper` in `System.Diagnostics.Contracts, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ContractHelper { public static string RaiseContractFailedEvent(System.Diagnostics.Contracts.ContractFailureKind failureKind, string userMessage, string conditionText, System.Exception innerException) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.DiagnosticSource.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.DiagnosticSource.cs index b918799d1bb..133fca1016d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.DiagnosticSource.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.DiagnosticSource.cs @@ -1,13 +1,12 @@ // This file contains auto-generated code. +// Generated from `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.Activity` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Activity : System.IDisposable { - // Generated from `System.Diagnostics.Activity+Enumerator<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Enumerator { public T Current { get => throw null; } @@ -76,7 +75,6 @@ namespace System public string TraceStateString { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.ActivityChangedEventArgs` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ActivityChangedEventArgs { // Stub generator skipped constructor @@ -84,7 +82,6 @@ namespace System public System.Diagnostics.Activity Previous { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.ActivityContext` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ActivityContext : System.IEquatable { public static bool operator !=(System.Diagnostics.ActivityContext left, System.Diagnostics.ActivityContext right) => throw null; @@ -104,7 +101,6 @@ namespace System public static bool TryParse(string traceParent, string traceState, out System.Diagnostics.ActivityContext context) => throw null; } - // Generated from `System.Diagnostics.ActivityCreationOptions<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ActivityCreationOptions { // Stub generator skipped constructor @@ -119,7 +115,6 @@ namespace System public string TraceState { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.ActivityEvent` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ActivityEvent { // Stub generator skipped constructor @@ -131,7 +126,6 @@ namespace System public System.DateTimeOffset Timestamp { get => throw null; } } - // Generated from `System.Diagnostics.ActivityIdFormat` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum ActivityIdFormat : int { Hierarchical = 1, @@ -139,7 +133,6 @@ namespace System W3C = 2, } - // Generated from `System.Diagnostics.ActivityKind` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum ActivityKind : int { Client = 2, @@ -149,7 +142,6 @@ namespace System Server = 1, } - // Generated from `System.Diagnostics.ActivityLink` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ActivityLink : System.IEquatable { public static bool operator !=(System.Diagnostics.ActivityLink left, System.Diagnostics.ActivityLink right) => throw null; @@ -164,7 +156,6 @@ namespace System public System.Collections.Generic.IEnumerable> Tags { get => throw null; } } - // Generated from `System.Diagnostics.ActivityListener` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ActivityListener : System.IDisposable { public ActivityListener() => throw null; @@ -176,7 +167,6 @@ namespace System public System.Func ShouldListenTo { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.ActivitySamplingResult` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum ActivitySamplingResult : int { AllData = 2, @@ -185,7 +175,6 @@ namespace System PropagationData = 1, } - // Generated from `System.Diagnostics.ActivitySource` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ActivitySource : System.IDisposable { public ActivitySource(string name, string version = default(string)) => throw null; @@ -203,7 +192,6 @@ namespace System public string Version { get => throw null; } } - // Generated from `System.Diagnostics.ActivitySpanId` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ActivitySpanId : System.IEquatable { public static bool operator !=(System.Diagnostics.ActivitySpanId spanId1, System.Diagnostics.ActivitySpanId spandId2) => throw null; @@ -221,7 +209,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Diagnostics.ActivityStatusCode` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum ActivityStatusCode : int { Error = 2, @@ -229,10 +216,8 @@ namespace System Unset = 0, } - // Generated from `System.Diagnostics.ActivityTagsCollection` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ActivityTagsCollection : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { - // Generated from `System.Diagnostics.ActivityTagsCollection+Enumerator` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -265,7 +250,6 @@ namespace System public System.Collections.Generic.ICollection Values { get => throw null; } } - // Generated from `System.Diagnostics.ActivityTraceFlags` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum ActivityTraceFlags : int { @@ -273,7 +257,6 @@ namespace System Recorded = 1, } - // Generated from `System.Diagnostics.ActivityTraceId` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ActivityTraceId : System.IEquatable { public static bool operator !=(System.Diagnostics.ActivityTraceId traceId1, System.Diagnostics.ActivityTraceId traceId2) => throw null; @@ -291,7 +274,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Diagnostics.DiagnosticListener` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DiagnosticListener : System.Diagnostics.DiagnosticSource, System.IDisposable, System.IObservable> { public static System.IObservable AllListeners { get => throw null; } @@ -311,7 +293,6 @@ namespace System public override void Write(string name, object value) => throw null; } - // Generated from `System.Diagnostics.DiagnosticSource` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class DiagnosticSource { protected DiagnosticSource() => throw null; @@ -324,14 +305,11 @@ namespace System public abstract void Write(string name, object value); } - // Generated from `System.Diagnostics.DistributedContextPropagator` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class DistributedContextPropagator { - // Generated from `System.Diagnostics.DistributedContextPropagator+PropagatorGetterCallback` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void PropagatorGetterCallback(object carrier, string fieldName, out string fieldValue, out System.Collections.Generic.IEnumerable fieldValues); - // Generated from `System.Diagnostics.DistributedContextPropagator+PropagatorSetterCallback` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void PropagatorSetterCallback(object carrier, string fieldName, string fieldValue); @@ -346,13 +324,10 @@ namespace System public abstract void Inject(System.Diagnostics.Activity activity, object carrier, System.Diagnostics.DistributedContextPropagator.PropagatorSetterCallback setter); } - // Generated from `System.Diagnostics.SampleActivity<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate System.Diagnostics.ActivitySamplingResult SampleActivity(ref System.Diagnostics.ActivityCreationOptions options); - // Generated from `System.Diagnostics.TagList` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct TagList : System.Collections.Generic.ICollection>, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IList>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyList>, System.Collections.IEnumerable { - // Generated from `System.Diagnostics.TagList+Enumerator` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -385,7 +360,6 @@ namespace System namespace Metrics { - // Generated from `System.Diagnostics.Metrics.Counter<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Counter : System.Diagnostics.Metrics.Instrument where T : struct { public void Add(T delta) => throw null; @@ -398,7 +372,6 @@ namespace System internal Counter(System.Diagnostics.Metrics.Meter meter, string name, string unit, string description) : base(default(System.Diagnostics.Metrics.Meter), default(string), default(string), default(string)) => throw null; } - // Generated from `System.Diagnostics.Metrics.Histogram<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Histogram : System.Diagnostics.Metrics.Instrument where T : struct { internal Histogram(System.Diagnostics.Metrics.Meter meter, string name, string unit, string description) : base(default(System.Diagnostics.Metrics.Meter), default(string), default(string), default(string)) => throw null; @@ -411,7 +384,6 @@ namespace System public void Record(T value, params System.Collections.Generic.KeyValuePair[] tags) => throw null; } - // Generated from `System.Diagnostics.Metrics.Instrument` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Instrument { public string Description { get => throw null; } @@ -424,7 +396,6 @@ namespace System public string Unit { get => throw null; } } - // Generated from `System.Diagnostics.Metrics.Instrument<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Instrument : System.Diagnostics.Metrics.Instrument where T : struct { protected Instrument(System.Diagnostics.Metrics.Meter meter, string name, string unit, string description) : base(default(System.Diagnostics.Metrics.Meter), default(string), default(string), default(string)) => throw null; @@ -436,7 +407,6 @@ namespace System protected void RecordMeasurement(T measurement, System.Diagnostics.TagList tagList) => throw null; } - // Generated from `System.Diagnostics.Metrics.Measurement<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Measurement where T : struct { // Stub generator skipped constructor @@ -448,10 +418,8 @@ namespace System public T Value { get => throw null; } } - // Generated from `System.Diagnostics.Metrics.MeasurementCallback<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void MeasurementCallback(System.Diagnostics.Metrics.Instrument instrument, T measurement, System.ReadOnlySpan> tags, object state); - // Generated from `System.Diagnostics.Metrics.Meter` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Meter : System.IDisposable { public System.Diagnostics.Metrics.Counter CreateCounter(string name, string unit = default(string), string description = default(string)) where T : struct => throw null; @@ -473,7 +441,6 @@ namespace System public string Version { get => throw null; } } - // Generated from `System.Diagnostics.Metrics.MeterListener` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class MeterListener : System.IDisposable { public object DisableMeasurementEvents(System.Diagnostics.Metrics.Instrument instrument) => throw null; @@ -487,21 +454,18 @@ namespace System public void Start() => throw null; } - // Generated from `System.Diagnostics.Metrics.ObservableCounter<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ObservableCounter : System.Diagnostics.Metrics.ObservableInstrument where T : struct { internal ObservableCounter(System.Diagnostics.Metrics.Meter meter, string name, string unit, string description) : base(default(System.Diagnostics.Metrics.Meter), default(string), default(string), default(string)) => throw null; protected override System.Collections.Generic.IEnumerable> Observe() => throw null; } - // Generated from `System.Diagnostics.Metrics.ObservableGauge<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ObservableGauge : System.Diagnostics.Metrics.ObservableInstrument where T : struct { internal ObservableGauge(System.Diagnostics.Metrics.Meter meter, string name, string unit, string description) : base(default(System.Diagnostics.Metrics.Meter), default(string), default(string), default(string)) => throw null; protected override System.Collections.Generic.IEnumerable> Observe() => throw null; } - // Generated from `System.Diagnostics.Metrics.ObservableInstrument<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ObservableInstrument : System.Diagnostics.Metrics.Instrument where T : struct { public override bool IsObservable { get => throw null; } @@ -509,14 +473,12 @@ namespace System protected abstract System.Collections.Generic.IEnumerable> Observe(); } - // Generated from `System.Diagnostics.Metrics.ObservableUpDownCounter<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ObservableUpDownCounter : System.Diagnostics.Metrics.ObservableInstrument where T : struct { internal ObservableUpDownCounter(System.Diagnostics.Metrics.Meter meter, string name, string unit, string description) : base(default(System.Diagnostics.Metrics.Meter), default(string), default(string), default(string)) => throw null; protected override System.Collections.Generic.IEnumerable> Observe() => throw null; } - // Generated from `System.Diagnostics.Metrics.UpDownCounter<>` in `System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UpDownCounter : System.Diagnostics.Metrics.Instrument where T : struct { public void Add(T delta) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.FileVersionInfo.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.FileVersionInfo.cs index ebb40eb42c9..91af358083c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.FileVersionInfo.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.FileVersionInfo.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Diagnostics.FileVersionInfo, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.FileVersionInfo` in `System.Diagnostics.FileVersionInfo, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileVersionInfo { public string Comments { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Process.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Process.cs index 31607bb7784..542814f5e97 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Process.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Process.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace SafeHandles { - // Generated from `Microsoft.Win32.SafeHandles.SafeProcessHandle` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeProcessHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { protected override bool ReleaseHandle() => throw null; @@ -21,23 +21,19 @@ namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.DataReceivedEventArgs` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataReceivedEventArgs : System.EventArgs { public string Data { get => throw null; } } - // Generated from `System.Diagnostics.DataReceivedEventHandler` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void DataReceivedEventHandler(object sender, System.Diagnostics.DataReceivedEventArgs e); - // Generated from `System.Diagnostics.MonitoringDescriptionAttribute` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MonitoringDescriptionAttribute : System.ComponentModel.DescriptionAttribute { public override string Description { get => throw null; } public MonitoringDescriptionAttribute(string description) => throw null; } - // Generated from `System.Diagnostics.Process` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Process : System.ComponentModel.Component, System.IDisposable { public int BasePriority { get => throw null; } @@ -131,7 +127,6 @@ namespace System public System.Int64 WorkingSet64 { get => throw null; } } - // Generated from `System.Diagnostics.ProcessModule` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProcessModule : System.ComponentModel.Component { public System.IntPtr BaseAddress { get => throw null; } @@ -143,7 +138,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Diagnostics.ProcessModuleCollection` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProcessModuleCollection : System.Collections.ReadOnlyCollectionBase { public bool Contains(System.Diagnostics.ProcessModule module) => throw null; @@ -154,7 +148,6 @@ namespace System public ProcessModuleCollection(System.Diagnostics.ProcessModule[] processModules) => throw null; } - // Generated from `System.Diagnostics.ProcessPriorityClass` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProcessPriorityClass : int { AboveNormal = 32768, @@ -165,7 +158,6 @@ namespace System RealTime = 256, } - // Generated from `System.Diagnostics.ProcessStartInfo` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProcessStartInfo { public System.Collections.ObjectModel.Collection ArgumentList { get => throw null; } @@ -197,7 +189,6 @@ namespace System public string WorkingDirectory { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.ProcessThread` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProcessThread : System.ComponentModel.Component { public int BasePriority { get => throw null; } @@ -217,7 +208,6 @@ namespace System public System.Diagnostics.ThreadWaitReason WaitReason { get => throw null; } } - // Generated from `System.Diagnostics.ProcessThreadCollection` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProcessThreadCollection : System.Collections.ReadOnlyCollectionBase { public int Add(System.Diagnostics.ProcessThread thread) => throw null; @@ -231,7 +221,6 @@ namespace System public void Remove(System.Diagnostics.ProcessThread thread) => throw null; } - // Generated from `System.Diagnostics.ProcessWindowStyle` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProcessWindowStyle : int { Hidden = 1, @@ -240,7 +229,6 @@ namespace System Normal = 0, } - // Generated from `System.Diagnostics.ThreadPriorityLevel` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ThreadPriorityLevel : int { AboveNormal = 1, @@ -252,7 +240,6 @@ namespace System TimeCritical = 15, } - // Generated from `System.Diagnostics.ThreadState` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ThreadState : int { Initialized = 0, @@ -265,7 +252,6 @@ namespace System Wait = 5, } - // Generated from `System.Diagnostics.ThreadWaitReason` in `System.Diagnostics.Process, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ThreadWaitReason : int { EventPairHigh = 7, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.StackTrace.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.StackTrace.cs index 2328d06cac5..6853f30d77e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.StackTrace.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.StackTrace.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.StackFrame` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StackFrame { public virtual int GetFileColumnNumber() => throw null; @@ -23,7 +23,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Diagnostics.StackFrameExtensions` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class StackFrameExtensions { public static System.IntPtr GetNativeIP(this System.Diagnostics.StackFrame stackFrame) => throw null; @@ -34,7 +33,6 @@ namespace System public static bool HasSource(this System.Diagnostics.StackFrame stackFrame) => throw null; } - // Generated from `System.Diagnostics.StackTrace` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StackTrace { public virtual int FrameCount { get => throw null; } @@ -55,19 +53,16 @@ namespace System namespace SymbolStore { - // Generated from `System.Diagnostics.SymbolStore.ISymbolBinder` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolBinder { System.Diagnostics.SymbolStore.ISymbolReader GetReader(int importer, string filename, string searchPath); } - // Generated from `System.Diagnostics.SymbolStore.ISymbolBinder1` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolBinder1 { System.Diagnostics.SymbolStore.ISymbolReader GetReader(System.IntPtr importer, string filename, string searchPath); } - // Generated from `System.Diagnostics.SymbolStore.ISymbolDocument` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolDocument { System.Guid CheckSumAlgorithmId { get; } @@ -82,14 +77,12 @@ namespace System string URL { get; } } - // Generated from `System.Diagnostics.SymbolStore.ISymbolDocumentWriter` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolDocumentWriter { void SetCheckSum(System.Guid algorithmId, System.Byte[] checkSum); void SetSource(System.Byte[] source); } - // Generated from `System.Diagnostics.SymbolStore.ISymbolMethod` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolMethod { System.Diagnostics.SymbolStore.ISymbolNamespace GetNamespace(); @@ -104,7 +97,6 @@ namespace System System.Diagnostics.SymbolStore.SymbolToken Token { get; } } - // Generated from `System.Diagnostics.SymbolStore.ISymbolNamespace` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolNamespace { System.Diagnostics.SymbolStore.ISymbolNamespace[] GetNamespaces(); @@ -112,7 +104,6 @@ namespace System string Name { get; } } - // Generated from `System.Diagnostics.SymbolStore.ISymbolReader` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolReader { System.Diagnostics.SymbolStore.ISymbolDocument GetDocument(string url, System.Guid language, System.Guid languageVendor, System.Guid documentType); @@ -127,7 +118,6 @@ namespace System System.Diagnostics.SymbolStore.SymbolToken UserEntryPoint { get; } } - // Generated from `System.Diagnostics.SymbolStore.ISymbolScope` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolScope { int EndOffset { get; } @@ -139,7 +129,6 @@ namespace System int StartOffset { get; } } - // Generated from `System.Diagnostics.SymbolStore.ISymbolVariable` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolVariable { int AddressField1 { get; } @@ -153,7 +142,6 @@ namespace System int StartOffset { get; } } - // Generated from `System.Diagnostics.SymbolStore.ISymbolWriter` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISymbolWriter { void Close(); @@ -178,7 +166,6 @@ namespace System void UsingNamespace(string fullName); } - // Generated from `System.Diagnostics.SymbolStore.SymAddressKind` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SymAddressKind : int { BitField = 9, @@ -193,14 +180,12 @@ namespace System NativeStackRegister = 8, } - // Generated from `System.Diagnostics.SymbolStore.SymDocumentType` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SymDocumentType { public SymDocumentType() => throw null; public static System.Guid Text; } - // Generated from `System.Diagnostics.SymbolStore.SymLanguageType` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SymLanguageType { public static System.Guid Basic; @@ -217,14 +202,12 @@ namespace System public SymLanguageType() => throw null; } - // Generated from `System.Diagnostics.SymbolStore.SymLanguageVendor` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SymLanguageVendor { public static System.Guid Microsoft; public SymLanguageVendor() => throw null; } - // Generated from `System.Diagnostics.SymbolStore.SymbolToken` in `System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SymbolToken : System.IEquatable { public static bool operator !=(System.Diagnostics.SymbolStore.SymbolToken a, System.Diagnostics.SymbolStore.SymbolToken b) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TextWriterTraceListener.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TextWriterTraceListener.cs index 2e3cd5d6628..652fd5bdb37 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TextWriterTraceListener.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TextWriterTraceListener.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Diagnostics.TextWriterTraceListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.ConsoleTraceListener` in `System.Diagnostics.TextWriterTraceListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConsoleTraceListener : System.Diagnostics.TextWriterTraceListener { public override void Close() => throw null; @@ -12,7 +12,6 @@ namespace System public ConsoleTraceListener(bool useErrorStream) => throw null; } - // Generated from `System.Diagnostics.DelimitedListTraceListener` in `System.Diagnostics.TextWriterTraceListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DelimitedListTraceListener : System.Diagnostics.TextWriterTraceListener { public DelimitedListTraceListener(System.IO.Stream stream) => throw null; @@ -29,7 +28,6 @@ namespace System public override void TraceEvent(System.Diagnostics.TraceEventCache eventCache, string source, System.Diagnostics.TraceEventType eventType, int id, string format, params object[] args) => throw null; } - // Generated from `System.Diagnostics.TextWriterTraceListener` in `System.Diagnostics.TextWriterTraceListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TextWriterTraceListener : System.Diagnostics.TraceListener { public override void Close() => throw null; @@ -47,7 +45,6 @@ namespace System public System.IO.TextWriter Writer { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.XmlWriterTraceListener` in `System.Diagnostics.TextWriterTraceListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlWriterTraceListener : System.Diagnostics.TextWriterTraceListener { public override void Close() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TraceSource.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TraceSource.cs index 3b6776e246e..29ef410e43e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TraceSource.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.TraceSource.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Diagnostics { - // Generated from `System.Diagnostics.BooleanSwitch` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BooleanSwitch : System.Diagnostics.Switch { public BooleanSwitch(string displayName, string description) : base(default(string), default(string)) => throw null; @@ -13,7 +13,6 @@ namespace System protected override void OnValueChanged() => throw null; } - // Generated from `System.Diagnostics.CorrelationManager` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CorrelationManager { public System.Guid ActivityId { get => throw null; set => throw null; } @@ -23,7 +22,6 @@ namespace System public void StopLogicalOperation() => throw null; } - // Generated from `System.Diagnostics.DefaultTraceListener` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultTraceListener : System.Diagnostics.TraceListener { public bool AssertUiEnabled { get => throw null; set => throw null; } @@ -35,7 +33,6 @@ namespace System public override void WriteLine(string message) => throw null; } - // Generated from `System.Diagnostics.EventTypeFilter` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventTypeFilter : System.Diagnostics.TraceFilter { public System.Diagnostics.SourceLevels EventType { get => throw null; set => throw null; } @@ -43,14 +40,12 @@ namespace System public override bool ShouldTrace(System.Diagnostics.TraceEventCache cache, string source, System.Diagnostics.TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1, object[] data) => throw null; } - // Generated from `System.Diagnostics.InitializingSwitchEventArgs` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InitializingSwitchEventArgs : System.EventArgs { public InitializingSwitchEventArgs(System.Diagnostics.Switch @switch) => throw null; public System.Diagnostics.Switch Switch { get => throw null; } } - // Generated from `System.Diagnostics.InitializingTraceSourceEventArgs` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InitializingTraceSourceEventArgs : System.EventArgs { public InitializingTraceSourceEventArgs(System.Diagnostics.TraceSource traceSource) => throw null; @@ -58,7 +53,6 @@ namespace System public bool WasInitialized { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.SourceFilter` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SourceFilter : System.Diagnostics.TraceFilter { public override bool ShouldTrace(System.Diagnostics.TraceEventCache cache, string source, System.Diagnostics.TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1, object[] data) => throw null; @@ -66,7 +60,6 @@ namespace System public SourceFilter(string source) => throw null; } - // Generated from `System.Diagnostics.SourceLevels` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SourceLevels : int { @@ -80,7 +73,6 @@ namespace System Warning = 7, } - // Generated from `System.Diagnostics.SourceSwitch` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SourceSwitch : System.Diagnostics.Switch { public System.Diagnostics.SourceLevels Level { get => throw null; set => throw null; } @@ -90,7 +82,6 @@ namespace System public SourceSwitch(string displayName, string defaultSwitchValue) : base(default(string), default(string)) => throw null; } - // Generated from `System.Diagnostics.Switch` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Switch { public System.Collections.Specialized.StringDictionary Attributes { get => throw null; } @@ -108,7 +99,6 @@ namespace System public string Value { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.SwitchAttribute` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SwitchAttribute : System.Attribute { public static System.Diagnostics.SwitchAttribute[] GetAll(System.Reflection.Assembly assembly) => throw null; @@ -118,14 +108,12 @@ namespace System public System.Type SwitchType { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.SwitchLevelAttribute` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SwitchLevelAttribute : System.Attribute { public SwitchLevelAttribute(System.Type switchLevelType) => throw null; public System.Type SwitchLevelType { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Trace` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Trace { public static void Assert(bool condition) => throw null; @@ -169,7 +157,6 @@ namespace System public static void WriteLineIf(bool condition, string message, string category) => throw null; } - // Generated from `System.Diagnostics.TraceEventCache` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TraceEventCache { public string Callstack { get => throw null; } @@ -181,7 +168,6 @@ namespace System public TraceEventCache() => throw null; } - // Generated from `System.Diagnostics.TraceEventType` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TraceEventType : int { Critical = 1, @@ -196,14 +182,12 @@ namespace System Warning = 4, } - // Generated from `System.Diagnostics.TraceFilter` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TraceFilter { public abstract bool ShouldTrace(System.Diagnostics.TraceEventCache cache, string source, System.Diagnostics.TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1, object[] data); protected TraceFilter() => throw null; } - // Generated from `System.Diagnostics.TraceLevel` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TraceLevel : int { Error = 1, @@ -213,7 +197,6 @@ namespace System Warning = 2, } - // Generated from `System.Diagnostics.TraceListener` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TraceListener : System.MarshalByRefObject, System.IDisposable { public System.Collections.Specialized.StringDictionary Attributes { get => throw null; } @@ -250,7 +233,6 @@ namespace System public virtual void WriteLine(string message, string category) => throw null; } - // Generated from `System.Diagnostics.TraceListenerCollection` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TraceListenerCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public int Add(System.Diagnostics.TraceListener listener) => throw null; @@ -281,7 +263,6 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Diagnostics.TraceOptions` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TraceOptions : int { @@ -294,7 +275,6 @@ namespace System Timestamp = 4, } - // Generated from `System.Diagnostics.TraceSource` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TraceSource { public System.Collections.Specialized.StringDictionary Attributes { get => throw null; } @@ -318,7 +298,6 @@ namespace System public void TraceTransfer(int id, string message, System.Guid relatedActivityId) => throw null; } - // Generated from `System.Diagnostics.TraceSwitch` in `System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TraceSwitch : System.Diagnostics.Switch { public System.Diagnostics.TraceLevel Level { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Tracing.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Tracing.cs index 21fa49b223c..2089760e949 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Tracing.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Diagnostics.Tracing.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Tracing { - // Generated from `System.Diagnostics.Tracing.DiagnosticCounter` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DiagnosticCounter : System.IDisposable { public void AddMetadata(string key, string value) => throw null; @@ -18,7 +18,6 @@ namespace System public string Name { get => throw null; } } - // Generated from `System.Diagnostics.Tracing.EventActivityOptions` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventActivityOptions : int { @@ -28,7 +27,6 @@ namespace System Recursive = 4, } - // Generated from `System.Diagnostics.Tracing.EventAttribute` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventAttribute : System.Attribute { public System.Diagnostics.Tracing.EventActivityOptions ActivityOptions { get => throw null; set => throw null; } @@ -44,7 +42,6 @@ namespace System public System.Byte Version { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Tracing.EventChannel` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventChannel : byte { Admin = 16, @@ -54,7 +51,6 @@ namespace System Operational = 17, } - // Generated from `System.Diagnostics.Tracing.EventCommand` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventCommand : int { Disable = -3, @@ -63,7 +59,6 @@ namespace System Update = 0, } - // Generated from `System.Diagnostics.Tracing.EventCommandEventArgs` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventCommandEventArgs : System.EventArgs { public System.Collections.Generic.IDictionary Arguments { get => throw null; } @@ -72,7 +67,6 @@ namespace System public bool EnableEvent(int eventId) => throw null; } - // Generated from `System.Diagnostics.Tracing.EventCounter` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventCounter : System.Diagnostics.Tracing.DiagnosticCounter { public EventCounter(string name, System.Diagnostics.Tracing.EventSource eventSource) => throw null; @@ -81,14 +75,12 @@ namespace System public void WriteMetric(float value) => throw null; } - // Generated from `System.Diagnostics.Tracing.EventDataAttribute` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventDataAttribute : System.Attribute { public EventDataAttribute() => throw null; public string Name { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Tracing.EventFieldAttribute` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventFieldAttribute : System.Attribute { public EventFieldAttribute() => throw null; @@ -96,7 +88,6 @@ namespace System public System.Diagnostics.Tracing.EventFieldTags Tags { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Tracing.EventFieldFormat` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventFieldFormat : int { Boolean = 3, @@ -108,20 +99,17 @@ namespace System Xml = 11, } - // Generated from `System.Diagnostics.Tracing.EventFieldTags` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventFieldTags : int { None = 0, } - // Generated from `System.Diagnostics.Tracing.EventIgnoreAttribute` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventIgnoreAttribute : System.Attribute { public EventIgnoreAttribute() => throw null; } - // Generated from `System.Diagnostics.Tracing.EventKeywords` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventKeywords : long { @@ -137,7 +125,6 @@ namespace System WdiDiagnostic = 1125899906842624, } - // Generated from `System.Diagnostics.Tracing.EventLevel` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventLevel : int { Critical = 1, @@ -148,7 +135,6 @@ namespace System Warning = 3, } - // Generated from `System.Diagnostics.Tracing.EventListener` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EventListener : System.IDisposable { public void DisableEvents(System.Diagnostics.Tracing.EventSource eventSource) => throw null; @@ -164,7 +150,6 @@ namespace System protected internal virtual void OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs eventData) => throw null; } - // Generated from `System.Diagnostics.Tracing.EventManifestOptions` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventManifestOptions : int { @@ -175,7 +160,6 @@ namespace System Strict = 1, } - // Generated from `System.Diagnostics.Tracing.EventOpcode` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventOpcode : int { DataCollectionStart = 3, @@ -191,10 +175,8 @@ namespace System Suspend = 8, } - // Generated from `System.Diagnostics.Tracing.EventSource` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventSource : System.IDisposable { - // Generated from `System.Diagnostics.Tracing.EventSource+EventData` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` protected internal struct EventData { public System.IntPtr DataPointer { get => throw null; set => throw null; } @@ -262,7 +244,6 @@ namespace System // ERR: Stub generator didn't handle member: ~EventSource } - // Generated from `System.Diagnostics.Tracing.EventSourceAttribute` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventSourceAttribute : System.Attribute { public EventSourceAttribute() => throw null; @@ -271,14 +252,12 @@ namespace System public string Name { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Tracing.EventSourceCreatedEventArgs` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventSourceCreatedEventArgs : System.EventArgs { public System.Diagnostics.Tracing.EventSource EventSource { get => throw null; } public EventSourceCreatedEventArgs() => throw null; } - // Generated from `System.Diagnostics.Tracing.EventSourceException` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventSourceException : System.Exception { public EventSourceException() => throw null; @@ -287,7 +266,6 @@ namespace System public EventSourceException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Diagnostics.Tracing.EventSourceOptions` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EventSourceOptions { public System.Diagnostics.Tracing.EventActivityOptions ActivityOptions { get => throw null; set => throw null; } @@ -298,7 +276,6 @@ namespace System public System.Diagnostics.Tracing.EventTags Tags { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.Tracing.EventSourceSettings` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventSourceSettings : int { @@ -308,20 +285,17 @@ namespace System ThrowOnEventWriteErrors = 1, } - // Generated from `System.Diagnostics.Tracing.EventTags` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventTags : int { None = 0, } - // Generated from `System.Diagnostics.Tracing.EventTask` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventTask : int { None = 0, } - // Generated from `System.Diagnostics.Tracing.EventWrittenEventArgs` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventWrittenEventArgs : System.EventArgs { public System.Guid ActivityId { get => throw null; } @@ -343,7 +317,6 @@ namespace System public System.Byte Version { get => throw null; } } - // Generated from `System.Diagnostics.Tracing.IncrementingEventCounter` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IncrementingEventCounter : System.Diagnostics.Tracing.DiagnosticCounter { public System.TimeSpan DisplayRateTimeScale { get => throw null; set => throw null; } @@ -352,7 +325,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Diagnostics.Tracing.IncrementingPollingCounter` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IncrementingPollingCounter : System.Diagnostics.Tracing.DiagnosticCounter { public System.TimeSpan DisplayRateTimeScale { get => throw null; set => throw null; } @@ -360,13 +332,11 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Diagnostics.Tracing.NonEventAttribute` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NonEventAttribute : System.Attribute { public NonEventAttribute() => throw null; } - // Generated from `System.Diagnostics.Tracing.PollingCounter` in `System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PollingCounter : System.Diagnostics.Tracing.DiagnosticCounter { public PollingCounter(string name, System.Diagnostics.Tracing.EventSource eventSource, System.Func metricProvider) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Drawing.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Drawing.Primitives.cs index 78314cb9c89..fcd96e8c416 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Drawing.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Drawing.Primitives.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Drawing { - // Generated from `System.Drawing.Color` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Color : System.IEquatable { public static bool operator !=(System.Drawing.Color left, System.Drawing.Color right) => throw null; @@ -179,7 +179,6 @@ namespace System public static System.Drawing.Color YellowGreen { get => throw null; } } - // Generated from `System.Drawing.ColorTranslator` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ColorTranslator { public static System.Drawing.Color FromHtml(string htmlColor) => throw null; @@ -190,7 +189,6 @@ namespace System public static int ToWin32(System.Drawing.Color c) => throw null; } - // Generated from `System.Drawing.KnownColor` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum KnownColor : int { ActiveBorder = 1, @@ -370,7 +368,6 @@ namespace System YellowGreen = 167, } - // Generated from `System.Drawing.Point` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Point : System.IEquatable { public static bool operator !=(System.Drawing.Point left, System.Drawing.Point right) => throw null; @@ -400,7 +397,6 @@ namespace System public static implicit operator System.Drawing.PointF(System.Drawing.Point p) => throw null; } - // Generated from `System.Drawing.PointF` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PointF : System.IEquatable { public static bool operator !=(System.Drawing.PointF left, System.Drawing.PointF right) => throw null; @@ -429,7 +425,6 @@ namespace System public static explicit operator System.Drawing.PointF(System.Numerics.Vector2 vector) => throw null; } - // Generated from `System.Drawing.Rectangle` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Rectangle : System.IEquatable { public static bool operator !=(System.Drawing.Rectangle left, System.Drawing.Rectangle right) => throw null; @@ -471,7 +466,6 @@ namespace System public int Y { get => throw null; set => throw null; } } - // Generated from `System.Drawing.RectangleF` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct RectangleF : System.IEquatable { public static bool operator !=(System.Drawing.RectangleF left, System.Drawing.RectangleF right) => throw null; @@ -515,7 +509,6 @@ namespace System public static implicit operator System.Drawing.RectangleF(System.Drawing.Rectangle r) => throw null; } - // Generated from `System.Drawing.Size` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Size : System.IEquatable { public static bool operator !=(System.Drawing.Size sz1, System.Drawing.Size sz2) => throw null; @@ -548,7 +541,6 @@ namespace System public static implicit operator System.Drawing.SizeF(System.Drawing.Size p) => throw null; } - // Generated from `System.Drawing.SizeF` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SizeF : System.IEquatable { public static bool operator !=(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) => throw null; @@ -581,7 +573,6 @@ namespace System public static explicit operator System.Drawing.SizeF(System.Numerics.Vector2 vector) => throw null; } - // Generated from `System.Drawing.SystemColors` in `System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class SystemColors { public static System.Drawing.Color ActiveBorder { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Asn1.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Asn1.cs index 47c7cba9b26..c4c8d6fce0b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Asn1.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Asn1.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Asn1 { - // Generated from `System.Formats.Asn1.Asn1Tag` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Asn1Tag : System.IEquatable { public static bool operator !=(System.Formats.Asn1.Asn1Tag left, System.Formats.Asn1.Asn1Tag right) => throw null; @@ -44,7 +44,6 @@ namespace System public static System.Formats.Asn1.Asn1Tag UtcTime; } - // Generated from `System.Formats.Asn1.AsnContentException` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class AsnContentException : System.Exception { public AsnContentException() => throw null; @@ -53,7 +52,6 @@ namespace System public AsnContentException(string message, System.Exception inner) => throw null; } - // Generated from `System.Formats.Asn1.AsnDecoder` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class AsnDecoder { public static System.Byte[] ReadBitString(System.ReadOnlySpan source, System.Formats.Asn1.AsnEncodingRules ruleSet, out int unusedBitCount, out int bytesConsumed, System.Formats.Asn1.Asn1Tag? expectedTag = default(System.Formats.Asn1.Asn1Tag?)) => throw null; @@ -89,7 +87,6 @@ namespace System public static bool TryReadUInt64(System.ReadOnlySpan source, System.Formats.Asn1.AsnEncodingRules ruleSet, out System.UInt64 value, out int bytesConsumed, System.Formats.Asn1.Asn1Tag? expectedTag = default(System.Formats.Asn1.Asn1Tag?)) => throw null; } - // Generated from `System.Formats.Asn1.AsnEncodingRules` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum AsnEncodingRules : int { BER = 0, @@ -97,7 +94,6 @@ namespace System DER = 2, } - // Generated from `System.Formats.Asn1.AsnReader` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class AsnReader { public AsnReader(System.ReadOnlyMemory data, System.Formats.Asn1.AsnEncodingRules ruleSet, System.Formats.Asn1.AsnReaderOptions options = default(System.Formats.Asn1.AsnReaderOptions)) => throw null; @@ -141,7 +137,6 @@ namespace System public bool TryReadUInt64(out System.UInt64 value, System.Formats.Asn1.Asn1Tag? expectedTag = default(System.Formats.Asn1.Asn1Tag?)) => throw null; } - // Generated from `System.Formats.Asn1.AsnReaderOptions` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct AsnReaderOptions { // Stub generator skipped constructor @@ -149,10 +144,8 @@ namespace System public int UtcTimeTwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Formats.Asn1.AsnWriter` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class AsnWriter { - // Generated from `System.Formats.Asn1.AsnWriter+Scope` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Scope : System.IDisposable { public void Dispose() => throw null; @@ -201,7 +194,6 @@ namespace System public void WriteUtcTime(System.DateTimeOffset value, int twoDigitYearMax, System.Formats.Asn1.Asn1Tag? tag = default(System.Formats.Asn1.Asn1Tag?)) => throw null; } - // Generated from `System.Formats.Asn1.TagClass` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum TagClass : int { Application = 64, @@ -210,7 +202,6 @@ namespace System Universal = 0, } - // Generated from `System.Formats.Asn1.UniversalTagNumber` in `System.Formats.Asn1, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum UniversalTagNumber : int { BMPString = 30, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Tar.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Tar.cs index 6c4f145b94b..76c2ed09ae4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Tar.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Formats.Tar.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Tar { - // Generated from `System.Formats.Tar.GnuTarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class GnuTarEntry : System.Formats.Tar.PosixTarEntry { public System.DateTimeOffset AccessTime { get => throw null; set => throw null; } @@ -15,14 +15,12 @@ namespace System public GnuTarEntry(System.Formats.Tar.TarEntryType entryType, string entryName) => throw null; } - // Generated from `System.Formats.Tar.PaxGlobalExtendedAttributesTarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class PaxGlobalExtendedAttributesTarEntry : System.Formats.Tar.PosixTarEntry { public System.Collections.Generic.IReadOnlyDictionary GlobalExtendedAttributes { get => throw null; } public PaxGlobalExtendedAttributesTarEntry(System.Collections.Generic.IEnumerable> globalExtendedAttributes) => throw null; } - // Generated from `System.Formats.Tar.PaxTarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class PaxTarEntry : System.Formats.Tar.PosixTarEntry { public System.Collections.Generic.IReadOnlyDictionary ExtendedAttributes { get => throw null; } @@ -31,7 +29,6 @@ namespace System public PaxTarEntry(System.Formats.Tar.TarEntryType entryType, string entryName, System.Collections.Generic.IEnumerable> extendedAttributes) => throw null; } - // Generated from `System.Formats.Tar.PosixTarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class PosixTarEntry : System.Formats.Tar.TarEntry { public int DeviceMajor { get => throw null; set => throw null; } @@ -41,7 +38,6 @@ namespace System public string UserName { get => throw null; set => throw null; } } - // Generated from `System.Formats.Tar.TarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class TarEntry { public int Checksum { get => throw null; } @@ -61,7 +57,6 @@ namespace System public int Uid { get => throw null; set => throw null; } } - // Generated from `System.Formats.Tar.TarEntryFormat` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum TarEntryFormat : int { Gnu = 4, @@ -71,7 +66,6 @@ namespace System V7 = 1, } - // Generated from `System.Formats.Tar.TarEntryType` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum TarEntryType : byte { BlockDevice = 52, @@ -94,7 +88,6 @@ namespace System V7RegularFile = 0, } - // Generated from `System.Formats.Tar.TarFile` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class TarFile { public static void CreateFromDirectory(string sourceDirectoryName, System.IO.Stream destination, bool includeBaseDirectory) => throw null; @@ -107,7 +100,6 @@ namespace System public static System.Threading.Tasks.Task ExtractToDirectoryAsync(string sourceFileName, string destinationDirectoryName, bool overwriteFiles, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.Formats.Tar.TarReader` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TarReader : System.IAsyncDisposable, System.IDisposable { public void Dispose() => throw null; @@ -117,7 +109,6 @@ namespace System public TarReader(System.IO.Stream archiveStream, bool leaveOpen = default(bool)) => throw null; } - // Generated from `System.Formats.Tar.TarWriter` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TarWriter : System.IAsyncDisposable, System.IDisposable { public void Dispose() => throw null; @@ -132,14 +123,12 @@ namespace System public System.Threading.Tasks.Task WriteEntryAsync(string fileName, string entryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.Formats.Tar.UstarTarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UstarTarEntry : System.Formats.Tar.PosixTarEntry { public UstarTarEntry(System.Formats.Tar.TarEntry other) => throw null; public UstarTarEntry(System.Formats.Tar.TarEntryType entryType, string entryName) => throw null; } - // Generated from `System.Formats.Tar.V7TarEntry` in `System.Formats.Tar, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class V7TarEntry : System.Formats.Tar.TarEntry { public V7TarEntry(System.Formats.Tar.TarEntry other) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.Brotli.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.Brotli.cs index c9a47f6c80d..c1a3d5debcc 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.Brotli.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.Brotli.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.IO.Compression.Brotli, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Compression { - // Generated from `System.IO.Compression.BrotliDecoder` in `System.IO.Compression.Brotli, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public struct BrotliDecoder : System.IDisposable { // Stub generator skipped constructor @@ -15,7 +15,6 @@ namespace System public static bool TryDecompress(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.IO.Compression.BrotliEncoder` in `System.IO.Compression.Brotli, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public struct BrotliEncoder : System.IDisposable { // Stub generator skipped constructor @@ -28,7 +27,6 @@ namespace System public static bool TryCompress(System.ReadOnlySpan source, System.Span destination, out int bytesWritten, int quality, int window) => throw null; } - // Generated from `System.IO.Compression.BrotliStream` in `System.IO.Compression.Brotli, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public class BrotliStream : System.IO.Stream { public System.IO.Stream BaseStream { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.ZipFile.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.ZipFile.cs index 1a8b3033c5a..2e9edb888ef 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.ZipFile.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.ZipFile.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.IO.Compression.ZipFile, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Compression { - // Generated from `System.IO.Compression.ZipFile` in `System.IO.Compression.ZipFile, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public static class ZipFile { public static void CreateFromDirectory(string sourceDirectoryName, string destinationArchiveFileName) => throw null; @@ -21,7 +21,6 @@ namespace System public static System.IO.Compression.ZipArchive OpenRead(string archiveFileName) => throw null; } - // Generated from `System.IO.Compression.ZipFileExtensions` in `System.IO.Compression.ZipFile, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public static class ZipFileExtensions { public static System.IO.Compression.ZipArchiveEntry CreateEntryFromFile(this System.IO.Compression.ZipArchive destination, string sourceFileName, string entryName) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.cs index 16fcf638b55..d622100714e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Compression.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Compression { - // Generated from `System.IO.Compression.CompressionLevel` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public enum CompressionLevel : int { Fastest = 1, @@ -15,14 +15,12 @@ namespace System SmallestSize = 3, } - // Generated from `System.IO.Compression.CompressionMode` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public enum CompressionMode : int { Compress = 1, Decompress = 0, } - // Generated from `System.IO.Compression.DeflateStream` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public class DeflateStream : System.IO.Stream { public System.IO.Stream BaseStream { get => throw null; } @@ -59,7 +57,6 @@ namespace System public override void WriteByte(System.Byte value) => throw null; } - // Generated from `System.IO.Compression.GZipStream` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public class GZipStream : System.IO.Stream { public System.IO.Stream BaseStream { get => throw null; } @@ -96,7 +93,6 @@ namespace System public override void WriteByte(System.Byte value) => throw null; } - // Generated from `System.IO.Compression.ZLibStream` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public class ZLibStream : System.IO.Stream { public System.IO.Stream BaseStream { get => throw null; } @@ -133,7 +129,6 @@ namespace System public ZLibStream(System.IO.Stream stream, System.IO.Compression.CompressionMode mode, bool leaveOpen) => throw null; } - // Generated from `System.IO.Compression.ZipArchive` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public class ZipArchive : System.IDisposable { public string Comment { get => throw null; set => throw null; } @@ -150,7 +145,6 @@ namespace System public ZipArchive(System.IO.Stream stream, System.IO.Compression.ZipArchiveMode mode, bool leaveOpen, System.Text.Encoding entryNameEncoding) => throw null; } - // Generated from `System.IO.Compression.ZipArchiveEntry` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public class ZipArchiveEntry { public System.IO.Compression.ZipArchive Archive { get => throw null; } @@ -168,7 +162,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.IO.Compression.ZipArchiveMode` in `System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089` public enum ZipArchiveMode : int { Create = 1, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.AccessControl.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.AccessControl.cs index 51853647bdc..8dd026736ca 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.AccessControl.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.AccessControl.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace IO { - // Generated from `System.IO.FileSystemAclExtensions` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class FileSystemAclExtensions { public static void Create(this System.IO.DirectoryInfo directoryInfo, System.Security.AccessControl.DirectorySecurity directorySecurity) => throw null; @@ -25,7 +25,6 @@ namespace System { namespace AccessControl { - // Generated from `System.Security.AccessControl.DirectoryObjectSecurity` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DirectoryObjectSecurity : System.Security.AccessControl.ObjectSecurity { public virtual System.Security.AccessControl.AccessRule AccessRuleFactory(System.Security.Principal.IdentityReference identityReference, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type, System.Guid objectType, System.Guid inheritedObjectType) => throw null; @@ -49,21 +48,18 @@ namespace System protected void SetAuditRule(System.Security.AccessControl.ObjectAuditRule rule) => throw null; } - // Generated from `System.Security.AccessControl.DirectorySecurity` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DirectorySecurity : System.Security.AccessControl.FileSystemSecurity { public DirectorySecurity() => throw null; public DirectorySecurity(string name, System.Security.AccessControl.AccessControlSections includeSections) => throw null; } - // Generated from `System.Security.AccessControl.FileSecurity` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSecurity : System.Security.AccessControl.FileSystemSecurity { public FileSecurity() => throw null; public FileSecurity(string fileName, System.Security.AccessControl.AccessControlSections includeSections) => throw null; } - // Generated from `System.Security.AccessControl.FileSystemAccessRule` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystemAccessRule : System.Security.AccessControl.AccessRule { public FileSystemAccessRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.FileSystemRights fileSystemRights, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AccessControlType)) => throw null; @@ -73,7 +69,6 @@ namespace System public System.Security.AccessControl.FileSystemRights FileSystemRights { get => throw null; } } - // Generated from `System.Security.AccessControl.FileSystemAuditRule` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystemAuditRule : System.Security.AccessControl.AuditRule { public FileSystemAuditRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.FileSystemRights fileSystemRights, System.Security.AccessControl.AuditFlags flags) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AuditFlags)) => throw null; @@ -83,7 +78,6 @@ namespace System public System.Security.AccessControl.FileSystemRights FileSystemRights { get => throw null; } } - // Generated from `System.Security.AccessControl.FileSystemRights` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FileSystemRights : int { @@ -112,7 +106,6 @@ namespace System WriteExtendedAttributes = 16, } - // Generated from `System.Security.AccessControl.FileSystemSecurity` in `System.IO.FileSystem.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class FileSystemSecurity : System.Security.AccessControl.NativeObjectSecurity { public override System.Type AccessRightType { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.DriveInfo.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.DriveInfo.cs index 3be648e388b..f5730af1388 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.DriveInfo.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.DriveInfo.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.IO.FileSystem.DriveInfo, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace IO { - // Generated from `System.IO.DriveInfo` in `System.IO.FileSystem.DriveInfo, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DriveInfo : System.Runtime.Serialization.ISerializable { public System.Int64 AvailableFreeSpace { get => throw null; } @@ -22,7 +22,6 @@ namespace System public string VolumeLabel { get => throw null; set => throw null; } } - // Generated from `System.IO.DriveNotFoundException` in `System.IO.FileSystem.DriveInfo, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DriveNotFoundException : System.IO.IOException { public DriveNotFoundException() => throw null; @@ -31,7 +30,6 @@ namespace System public DriveNotFoundException(string message, System.Exception innerException) => throw null; } - // Generated from `System.IO.DriveType` in `System.IO.FileSystem.DriveInfo, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DriveType : int { CDRom = 5, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.Watcher.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.Watcher.cs index e48bfe2c701..9019b06e86c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.Watcher.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.FileSystem.Watcher.cs @@ -1,20 +1,18 @@ // This file contains auto-generated code. +// Generated from `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace IO { - // Generated from `System.IO.ErrorEventArgs` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ErrorEventArgs : System.EventArgs { public ErrorEventArgs(System.Exception exception) => throw null; public virtual System.Exception GetException() => throw null; } - // Generated from `System.IO.ErrorEventHandler` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ErrorEventHandler(object sender, System.IO.ErrorEventArgs e); - // Generated from `System.IO.FileSystemEventArgs` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystemEventArgs : System.EventArgs { public System.IO.WatcherChangeTypes ChangeType { get => throw null; } @@ -23,10 +21,8 @@ namespace System public string Name { get => throw null; } } - // Generated from `System.IO.FileSystemEventHandler` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void FileSystemEventHandler(object sender, System.IO.FileSystemEventArgs e); - // Generated from `System.IO.FileSystemWatcher` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystemWatcher : System.ComponentModel.Component, System.ComponentModel.ISupportInitialize { public void BeginInit() => throw null; @@ -59,7 +55,6 @@ namespace System public System.IO.WaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType, int timeout) => throw null; } - // Generated from `System.IO.InternalBufferOverflowException` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InternalBufferOverflowException : System.SystemException { public InternalBufferOverflowException() => throw null; @@ -68,7 +63,6 @@ namespace System public InternalBufferOverflowException(string message, System.Exception inner) => throw null; } - // Generated from `System.IO.NotifyFilters` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum NotifyFilters : int { @@ -82,7 +76,6 @@ namespace System Size = 8, } - // Generated from `System.IO.RenamedEventArgs` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RenamedEventArgs : System.IO.FileSystemEventArgs { public string OldFullPath { get => throw null; } @@ -90,10 +83,8 @@ namespace System public RenamedEventArgs(System.IO.WatcherChangeTypes changeType, string directory, string name, string oldName) : base(default(System.IO.WatcherChangeTypes), default(string), default(string)) => throw null; } - // Generated from `System.IO.RenamedEventHandler` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void RenamedEventHandler(object sender, System.IO.RenamedEventArgs e); - // Generated from `System.IO.WaitForChangedResult` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct WaitForChangedResult { public System.IO.WatcherChangeTypes ChangeType { get => throw null; set => throw null; } @@ -103,7 +94,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.IO.WatcherChangeTypes` in `System.IO.FileSystem.Watcher, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum WatcherChangeTypes : int { diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.IsolatedStorage.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.IsolatedStorage.cs index 0aa275b0f22..42aaa82f2ad 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.IsolatedStorage.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.IsolatedStorage.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.IO.IsolatedStorage, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,13 +7,11 @@ namespace System { namespace IsolatedStorage { - // Generated from `System.IO.IsolatedStorage.INormalizeForIsolatedStorage` in `System.IO.IsolatedStorage, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INormalizeForIsolatedStorage { object Normalize(); } - // Generated from `System.IO.IsolatedStorage.IsolatedStorage` in `System.IO.IsolatedStorage, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IsolatedStorage : System.MarshalByRefObject { public object ApplicationIdentity { get => throw null; } @@ -33,7 +32,6 @@ namespace System public virtual System.Int64 UsedSize { get => throw null; } } - // Generated from `System.IO.IsolatedStorage.IsolatedStorageException` in `System.IO.IsolatedStorage, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IsolatedStorageException : System.Exception { public IsolatedStorageException() => throw null; @@ -42,7 +40,6 @@ namespace System public IsolatedStorageException(string message, System.Exception inner) => throw null; } - // Generated from `System.IO.IsolatedStorage.IsolatedStorageFile` in `System.IO.IsolatedStorage, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IsolatedStorageFile : System.IO.IsolatedStorage.IsolatedStorage, System.IDisposable { public override System.Int64 AvailableFreeSpace { get => throw null; } @@ -90,7 +87,6 @@ namespace System public override System.Int64 UsedSize { get => throw null; } } - // Generated from `System.IO.IsolatedStorage.IsolatedStorageFileStream` in `System.IO.IsolatedStorage, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IsolatedStorageFileStream : System.IO.FileStream { public override System.IAsyncResult BeginRead(System.Byte[] array, int offset, int numBytes, System.AsyncCallback userCallback, object stateObject) => throw null; @@ -134,7 +130,6 @@ namespace System public override void WriteByte(System.Byte value) => throw null; } - // Generated from `System.IO.IsolatedStorage.IsolatedStorageScope` in `System.IO.IsolatedStorage, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum IsolatedStorageScope : int { diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.MemoryMappedFiles.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.MemoryMappedFiles.cs index 30f085e55ff..3635bb66008 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.MemoryMappedFiles.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.MemoryMappedFiles.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace SafeHandles { - // Generated from `Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeMemoryMappedFileHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { public override bool IsInvalid { get => throw null; } @@ -14,7 +14,6 @@ namespace Microsoft public SafeMemoryMappedFileHandle() : base(default(bool)) => throw null; } - // Generated from `Microsoft.Win32.SafeHandles.SafeMemoryMappedViewHandle` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeMemoryMappedViewHandle : System.Runtime.InteropServices.SafeBuffer { protected override bool ReleaseHandle() => throw null; @@ -30,7 +29,6 @@ namespace System { namespace MemoryMappedFiles { - // Generated from `System.IO.MemoryMappedFiles.MemoryMappedFile` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemoryMappedFile : System.IDisposable { public static System.IO.MemoryMappedFiles.MemoryMappedFile CreateFromFile(System.IO.FileStream fileStream, string mapName, System.Int64 capacity, System.IO.MemoryMappedFiles.MemoryMappedFileAccess access, System.IO.HandleInheritability inheritability, bool leaveOpen) => throw null; @@ -59,7 +57,6 @@ namespace System public Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle SafeMemoryMappedFileHandle { get => throw null; } } - // Generated from `System.IO.MemoryMappedFiles.MemoryMappedFileAccess` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MemoryMappedFileAccess : int { CopyOnWrite = 3, @@ -70,7 +67,6 @@ namespace System Write = 2, } - // Generated from `System.IO.MemoryMappedFiles.MemoryMappedFileOptions` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MemoryMappedFileOptions : int { @@ -78,7 +74,6 @@ namespace System None = 0, } - // Generated from `System.IO.MemoryMappedFiles.MemoryMappedFileRights` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MemoryMappedFileRights : int { @@ -97,7 +92,6 @@ namespace System Write = 2, } - // Generated from `System.IO.MemoryMappedFiles.MemoryMappedViewAccessor` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemoryMappedViewAccessor : System.IO.UnmanagedMemoryAccessor { protected override void Dispose(bool disposing) => throw null; @@ -106,7 +100,6 @@ namespace System public Microsoft.Win32.SafeHandles.SafeMemoryMappedViewHandle SafeMemoryMappedViewHandle { get => throw null; } } - // Generated from `System.IO.MemoryMappedFiles.MemoryMappedViewStream` in `System.IO.MemoryMappedFiles, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemoryMappedViewStream : System.IO.UnmanagedMemoryStream { protected override void Dispose(bool disposing) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.AccessControl.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.AccessControl.cs index 482281da8ff..673ebe72872 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.AccessControl.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.AccessControl.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,19 +7,16 @@ namespace System { namespace Pipes { - // Generated from `System.IO.Pipes.AnonymousPipeServerStreamAcl` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class AnonymousPipeServerStreamAcl { public static System.IO.Pipes.AnonymousPipeServerStream Create(System.IO.Pipes.PipeDirection direction, System.IO.HandleInheritability inheritability, int bufferSize, System.IO.Pipes.PipeSecurity pipeSecurity) => throw null; } - // Generated from `System.IO.Pipes.NamedPipeServerStreamAcl` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class NamedPipeServerStreamAcl { public static System.IO.Pipes.NamedPipeServerStream Create(string pipeName, System.IO.Pipes.PipeDirection direction, int maxNumberOfServerInstances, System.IO.Pipes.PipeTransmissionMode transmissionMode, System.IO.Pipes.PipeOptions options, int inBufferSize, int outBufferSize, System.IO.Pipes.PipeSecurity pipeSecurity, System.IO.HandleInheritability inheritability = default(System.IO.HandleInheritability), System.IO.Pipes.PipeAccessRights additionalAccessRights = default(System.IO.Pipes.PipeAccessRights)) => throw null; } - // Generated from `System.IO.Pipes.PipeAccessRights` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PipeAccessRights : int { @@ -41,7 +39,6 @@ namespace System WriteExtendedAttributes = 16, } - // Generated from `System.IO.Pipes.PipeAccessRule` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PipeAccessRule : System.Security.AccessControl.AccessRule { public System.IO.Pipes.PipeAccessRights PipeAccessRights { get => throw null; } @@ -49,7 +46,6 @@ namespace System public PipeAccessRule(string identity, System.IO.Pipes.PipeAccessRights rights, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AccessControlType)) => throw null; } - // Generated from `System.IO.Pipes.PipeAuditRule` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PipeAuditRule : System.Security.AccessControl.AuditRule { public System.IO.Pipes.PipeAccessRights PipeAccessRights { get => throw null; } @@ -57,7 +53,6 @@ namespace System public PipeAuditRule(string identity, System.IO.Pipes.PipeAccessRights rights, System.Security.AccessControl.AuditFlags flags) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AuditFlags)) => throw null; } - // Generated from `System.IO.Pipes.PipeSecurity` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PipeSecurity : System.Security.AccessControl.NativeObjectSecurity { public override System.Type AccessRightType { get => throw null; } @@ -80,7 +75,6 @@ namespace System public void SetAuditRule(System.IO.Pipes.PipeAuditRule rule) => throw null; } - // Generated from `System.IO.Pipes.PipesAclExtensions` in `System.IO.Pipes.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class PipesAclExtensions { public static System.IO.Pipes.PipeSecurity GetAccessControl(this System.IO.Pipes.PipeStream stream) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.cs index 479bf8a0de3..bd3581006a0 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.IO.Pipes.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace SafeHandles { - // Generated from `Microsoft.Win32.SafeHandles.SafePipeHandle` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafePipeHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { public override bool IsInvalid { get => throw null; } @@ -24,7 +24,6 @@ namespace System { namespace Pipes { - // Generated from `System.IO.Pipes.AnonymousPipeClientStream` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AnonymousPipeClientStream : System.IO.Pipes.PipeStream { public AnonymousPipeClientStream(System.IO.Pipes.PipeDirection direction, Microsoft.Win32.SafeHandles.SafePipeHandle safePipeHandle) : base(default(System.IO.Pipes.PipeDirection), default(int)) => throw null; @@ -35,7 +34,6 @@ namespace System // ERR: Stub generator didn't handle member: ~AnonymousPipeClientStream } - // Generated from `System.IO.Pipes.AnonymousPipeServerStream` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AnonymousPipeServerStream : System.IO.Pipes.PipeStream { public AnonymousPipeServerStream() : base(default(System.IO.Pipes.PipeDirection), default(int)) => throw null; @@ -52,7 +50,6 @@ namespace System // ERR: Stub generator didn't handle member: ~AnonymousPipeServerStream } - // Generated from `System.IO.Pipes.NamedPipeClientStream` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NamedPipeClientStream : System.IO.Pipes.PipeStream { protected internal override void CheckPipePropertyOperations() => throw null; @@ -75,7 +72,6 @@ namespace System // ERR: Stub generator didn't handle member: ~NamedPipeClientStream } - // Generated from `System.IO.Pipes.NamedPipeServerStream` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NamedPipeServerStream : System.IO.Pipes.PipeStream { public System.IAsyncResult BeginWaitForConnection(System.AsyncCallback callback, object state) => throw null; @@ -97,7 +93,6 @@ namespace System // ERR: Stub generator didn't handle member: ~NamedPipeServerStream } - // Generated from `System.IO.Pipes.PipeDirection` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PipeDirection : int { In = 1, @@ -105,7 +100,6 @@ namespace System Out = 2, } - // Generated from `System.IO.Pipes.PipeOptions` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PipeOptions : int { @@ -115,7 +109,6 @@ namespace System WriteThrough = -2147483648, } - // Generated from `System.IO.Pipes.PipeStream` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class PipeStream : System.IO.Stream { public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; @@ -160,10 +153,8 @@ namespace System public override void WriteByte(System.Byte value) => throw null; } - // Generated from `System.IO.Pipes.PipeStreamImpersonationWorker` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void PipeStreamImpersonationWorker(); - // Generated from `System.IO.Pipes.PipeTransmissionMode` in `System.IO.Pipes, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PipeTransmissionMode : int { Byte = 0, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Expressions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Expressions.cs index 17e349d7cd5..8f8f33ee915 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Expressions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Expressions.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Dynamic { - // Generated from `System.Dynamic.BinaryOperationBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class BinaryOperationBinder : System.Dynamic.DynamicMetaObjectBinder { protected BinaryOperationBinder(System.Linq.Expressions.ExpressionType operation) => throw null; @@ -15,7 +15,6 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.BindingRestrictions` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class BindingRestrictions { public static System.Dynamic.BindingRestrictions Combine(System.Collections.Generic.IList contributingObjects) => throw null; @@ -27,7 +26,6 @@ namespace System public System.Linq.Expressions.Expression ToExpression() => throw null; } - // Generated from `System.Dynamic.CallInfo` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallInfo { public int ArgumentCount { get => throw null; } @@ -38,7 +36,6 @@ namespace System public override int GetHashCode() => throw null; } - // Generated from `System.Dynamic.ConvertBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ConvertBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -50,7 +47,6 @@ namespace System public System.Type Type { get => throw null; } } - // Generated from `System.Dynamic.CreateInstanceBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CreateInstanceBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -61,7 +57,6 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.DeleteIndexBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DeleteIndexBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -72,7 +67,6 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.DeleteMemberBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DeleteMemberBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -84,7 +78,6 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.DynamicMetaObject` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicMetaObject { public virtual System.Dynamic.DynamicMetaObject BindBinaryOperation(System.Dynamic.BinaryOperationBinder binder, System.Dynamic.DynamicMetaObject arg) => throw null; @@ -112,7 +105,6 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.Dynamic.DynamicMetaObjectBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DynamicMetaObjectBinder : System.Runtime.CompilerServices.CallSiteBinder { public abstract System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args); @@ -124,7 +116,6 @@ namespace System public virtual System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.DynamicObject` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicObject : System.Dynamic.IDynamicMetaObjectProvider { protected DynamicObject() => throw null; @@ -144,7 +135,6 @@ namespace System public virtual bool TryUnaryOperation(System.Dynamic.UnaryOperationBinder binder, out object result) => throw null; } - // Generated from `System.Dynamic.ExpandoObject` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExpandoObject : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable, System.ComponentModel.INotifyPropertyChanged, System.Dynamic.IDynamicMetaObjectProvider { void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -168,7 +158,6 @@ namespace System System.Collections.Generic.ICollection System.Collections.Generic.IDictionary.Values { get => throw null; } } - // Generated from `System.Dynamic.GetIndexBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class GetIndexBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -179,7 +168,6 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.GetMemberBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class GetMemberBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -191,19 +179,16 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.IDynamicMetaObjectProvider` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDynamicMetaObjectProvider { System.Dynamic.DynamicMetaObject GetMetaObject(System.Linq.Expressions.Expression parameter); } - // Generated from `System.Dynamic.IInvokeOnGetBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IInvokeOnGetBinder { bool InvokeOnGet { get; } } - // Generated from `System.Dynamic.InvokeBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class InvokeBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -214,7 +199,6 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.InvokeMemberBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class InvokeMemberBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -228,7 +212,6 @@ namespace System public override System.Type ReturnType { get => throw null; } } - // Generated from `System.Dynamic.SetIndexBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SetIndexBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -239,7 +222,6 @@ namespace System protected SetIndexBinder(System.Dynamic.CallInfo callInfo) => throw null; } - // Generated from `System.Dynamic.SetMemberBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SetMemberBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -251,7 +233,6 @@ namespace System protected SetMemberBinder(string name, bool ignoreCase) => throw null; } - // Generated from `System.Dynamic.UnaryOperationBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class UnaryOperationBinder : System.Dynamic.DynamicMetaObjectBinder { public override System.Dynamic.DynamicMetaObject Bind(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) => throw null; @@ -265,17 +246,14 @@ namespace System } namespace Linq { - // Generated from `System.Linq.IOrderedQueryable` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IOrderedQueryable : System.Collections.IEnumerable, System.Linq.IQueryable { } - // Generated from `System.Linq.IOrderedQueryable<>` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IOrderedQueryable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Linq.IOrderedQueryable, System.Linq.IQueryable, System.Linq.IQueryable { } - // Generated from `System.Linq.IQueryProvider` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IQueryProvider { System.Linq.IQueryable CreateQuery(System.Linq.Expressions.Expression expression); @@ -284,7 +262,6 @@ namespace System TResult Execute(System.Linq.Expressions.Expression expression); } - // Generated from `System.Linq.IQueryable` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IQueryable : System.Collections.IEnumerable { System.Type ElementType { get; } @@ -292,14 +269,12 @@ namespace System System.Linq.IQueryProvider Provider { get; } } - // Generated from `System.Linq.IQueryable<>` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IQueryable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Linq.IQueryable { } namespace Expressions { - // Generated from `System.Linq.Expressions.BinaryExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BinaryExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -314,7 +289,6 @@ namespace System public System.Linq.Expressions.BinaryExpression Update(System.Linq.Expressions.Expression left, System.Linq.Expressions.LambdaExpression conversion, System.Linq.Expressions.Expression right) => throw null; } - // Generated from `System.Linq.Expressions.BlockExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BlockExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -326,7 +300,6 @@ namespace System public System.Collections.ObjectModel.ReadOnlyCollection Variables { get => throw null; } } - // Generated from `System.Linq.Expressions.CatchBlock` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CatchBlock { public System.Linq.Expressions.Expression Body { get => throw null; } @@ -337,7 +310,6 @@ namespace System public System.Linq.Expressions.ParameterExpression Variable { get => throw null; } } - // Generated from `System.Linq.Expressions.ConditionalExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConditionalExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -349,7 +321,6 @@ namespace System public System.Linq.Expressions.ConditionalExpression Update(System.Linq.Expressions.Expression test, System.Linq.Expressions.Expression ifTrue, System.Linq.Expressions.Expression ifFalse) => throw null; } - // Generated from `System.Linq.Expressions.ConstantExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConstantExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -358,7 +329,6 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.Linq.Expressions.DebugInfoExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebugInfoExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -372,7 +342,6 @@ namespace System public override System.Type Type { get => throw null; } } - // Generated from `System.Linq.Expressions.DefaultExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -380,7 +349,6 @@ namespace System public override System.Type Type { get => throw null; } } - // Generated from `System.Linq.Expressions.DynamicExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicExpression : System.Linq.Expressions.Expression, System.Linq.Expressions.IArgumentProvider, System.Linq.Expressions.IDynamicExpression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -408,14 +376,12 @@ namespace System public System.Linq.Expressions.DynamicExpression Update(System.Collections.Generic.IEnumerable arguments) => throw null; } - // Generated from `System.Linq.Expressions.DynamicExpressionVisitor` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DynamicExpressionVisitor : System.Linq.Expressions.ExpressionVisitor { protected DynamicExpressionVisitor() => throw null; protected internal override System.Linq.Expressions.Expression VisitDynamic(System.Linq.Expressions.DynamicExpression node) => throw null; } - // Generated from `System.Linq.Expressions.ElementInit` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ElementInit : System.Linq.Expressions.IArgumentProvider { public System.Reflection.MethodInfo AddMethod { get => throw null; } @@ -426,7 +392,6 @@ namespace System public System.Linq.Expressions.ElementInit Update(System.Collections.Generic.IEnumerable arguments) => throw null; } - // Generated from `System.Linq.Expressions.Expression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Expression { protected internal virtual System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -751,7 +716,6 @@ namespace System protected internal virtual System.Linq.Expressions.Expression VisitChildren(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; } - // Generated from `System.Linq.Expressions.Expression<>` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Expression : System.Linq.Expressions.LambdaExpression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -761,7 +725,6 @@ namespace System public System.Linq.Expressions.Expression Update(System.Linq.Expressions.Expression body, System.Collections.Generic.IEnumerable parameters) => throw null; } - // Generated from `System.Linq.Expressions.ExpressionType` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ExpressionType : int { Add = 0, @@ -851,7 +814,6 @@ namespace System Unbox = 62, } - // Generated from `System.Linq.Expressions.ExpressionVisitor` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ExpressionVisitor { protected ExpressionVisitor() => throw null; @@ -896,7 +858,6 @@ namespace System protected internal virtual System.Linq.Expressions.Expression VisitUnary(System.Linq.Expressions.UnaryExpression node) => throw null; } - // Generated from `System.Linq.Expressions.GotoExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GotoExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -908,7 +869,6 @@ namespace System public System.Linq.Expressions.Expression Value { get => throw null; } } - // Generated from `System.Linq.Expressions.GotoExpressionKind` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GotoExpressionKind : int { Break = 2, @@ -917,14 +877,12 @@ namespace System Return = 1, } - // Generated from `System.Linq.Expressions.IArgumentProvider` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IArgumentProvider { int ArgumentCount { get; } System.Linq.Expressions.Expression GetArgument(int index); } - // Generated from `System.Linq.Expressions.IDynamicExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDynamicExpression : System.Linq.Expressions.IArgumentProvider { object CreateCallSite(); @@ -932,7 +890,6 @@ namespace System System.Linq.Expressions.Expression Rewrite(System.Linq.Expressions.Expression[] args); } - // Generated from `System.Linq.Expressions.IndexExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IndexExpression : System.Linq.Expressions.Expression, System.Linq.Expressions.IArgumentProvider { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -946,7 +903,6 @@ namespace System public System.Linq.Expressions.IndexExpression Update(System.Linq.Expressions.Expression @object, System.Collections.Generic.IEnumerable arguments) => throw null; } - // Generated from `System.Linq.Expressions.InvocationExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvocationExpression : System.Linq.Expressions.Expression, System.Linq.Expressions.IArgumentProvider { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -959,7 +915,6 @@ namespace System public System.Linq.Expressions.InvocationExpression Update(System.Linq.Expressions.Expression expression, System.Collections.Generic.IEnumerable arguments) => throw null; } - // Generated from `System.Linq.Expressions.LabelExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LabelExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -970,7 +925,6 @@ namespace System public System.Linq.Expressions.LabelExpression Update(System.Linq.Expressions.LabelTarget target, System.Linq.Expressions.Expression defaultValue) => throw null; } - // Generated from `System.Linq.Expressions.LabelTarget` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LabelTarget { public string Name { get => throw null; } @@ -978,7 +932,6 @@ namespace System public System.Type Type { get => throw null; } } - // Generated from `System.Linq.Expressions.LambdaExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class LambdaExpression : System.Linq.Expressions.Expression { public System.Linq.Expressions.Expression Body { get => throw null; } @@ -994,7 +947,6 @@ namespace System public override System.Type Type { get => throw null; } } - // Generated from `System.Linq.Expressions.ListInitExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ListInitExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1007,7 +959,6 @@ namespace System public System.Linq.Expressions.ListInitExpression Update(System.Linq.Expressions.NewExpression newExpression, System.Collections.Generic.IEnumerable initializers) => throw null; } - // Generated from `System.Linq.Expressions.LoopExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LoopExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1019,7 +970,6 @@ namespace System public System.Linq.Expressions.LoopExpression Update(System.Linq.Expressions.LabelTarget breakLabel, System.Linq.Expressions.LabelTarget continueLabel, System.Linq.Expressions.Expression body) => throw null; } - // Generated from `System.Linq.Expressions.MemberAssignment` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberAssignment : System.Linq.Expressions.MemberBinding { public System.Linq.Expressions.Expression Expression { get => throw null; } @@ -1027,7 +977,6 @@ namespace System public System.Linq.Expressions.MemberAssignment Update(System.Linq.Expressions.Expression expression) => throw null; } - // Generated from `System.Linq.Expressions.MemberBinding` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MemberBinding { public System.Linq.Expressions.MemberBindingType BindingType { get => throw null; } @@ -1036,7 +985,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Linq.Expressions.MemberBindingType` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MemberBindingType : int { Assignment = 0, @@ -1044,7 +992,6 @@ namespace System MemberBinding = 1, } - // Generated from `System.Linq.Expressions.MemberExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1054,7 +1001,6 @@ namespace System public System.Linq.Expressions.MemberExpression Update(System.Linq.Expressions.Expression expression) => throw null; } - // Generated from `System.Linq.Expressions.MemberInitExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberInitExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1067,7 +1013,6 @@ namespace System public System.Linq.Expressions.MemberInitExpression Update(System.Linq.Expressions.NewExpression newExpression, System.Collections.Generic.IEnumerable bindings) => throw null; } - // Generated from `System.Linq.Expressions.MemberListBinding` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberListBinding : System.Linq.Expressions.MemberBinding { public System.Collections.ObjectModel.ReadOnlyCollection Initializers { get => throw null; } @@ -1075,7 +1020,6 @@ namespace System public System.Linq.Expressions.MemberListBinding Update(System.Collections.Generic.IEnumerable initializers) => throw null; } - // Generated from `System.Linq.Expressions.MemberMemberBinding` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberMemberBinding : System.Linq.Expressions.MemberBinding { public System.Collections.ObjectModel.ReadOnlyCollection Bindings { get => throw null; } @@ -1083,7 +1027,6 @@ namespace System public System.Linq.Expressions.MemberMemberBinding Update(System.Collections.Generic.IEnumerable bindings) => throw null; } - // Generated from `System.Linq.Expressions.MethodCallExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MethodCallExpression : System.Linq.Expressions.Expression, System.Linq.Expressions.IArgumentProvider { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1097,7 +1040,6 @@ namespace System public System.Linq.Expressions.MethodCallExpression Update(System.Linq.Expressions.Expression @object, System.Collections.Generic.IEnumerable arguments) => throw null; } - // Generated from `System.Linq.Expressions.NewArrayExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NewArrayExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1106,7 +1048,6 @@ namespace System public System.Linq.Expressions.NewArrayExpression Update(System.Collections.Generic.IEnumerable expressions) => throw null; } - // Generated from `System.Linq.Expressions.NewExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NewExpression : System.Linq.Expressions.Expression, System.Linq.Expressions.IArgumentProvider { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1120,7 +1061,6 @@ namespace System public System.Linq.Expressions.NewExpression Update(System.Collections.Generic.IEnumerable arguments) => throw null; } - // Generated from `System.Linq.Expressions.ParameterExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParameterExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1130,7 +1070,6 @@ namespace System public override System.Type Type { get => throw null; } } - // Generated from `System.Linq.Expressions.RuntimeVariablesExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RuntimeVariablesExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1140,7 +1079,6 @@ namespace System public System.Collections.ObjectModel.ReadOnlyCollection Variables { get => throw null; } } - // Generated from `System.Linq.Expressions.SwitchCase` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SwitchCase { public System.Linq.Expressions.Expression Body { get => throw null; } @@ -1149,7 +1087,6 @@ namespace System public System.Linq.Expressions.SwitchCase Update(System.Collections.Generic.IEnumerable testValues, System.Linq.Expressions.Expression body) => throw null; } - // Generated from `System.Linq.Expressions.SwitchExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SwitchExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1162,7 +1099,6 @@ namespace System public System.Linq.Expressions.SwitchExpression Update(System.Linq.Expressions.Expression switchValue, System.Collections.Generic.IEnumerable cases, System.Linq.Expressions.Expression defaultBody) => throw null; } - // Generated from `System.Linq.Expressions.SymbolDocumentInfo` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SymbolDocumentInfo { public virtual System.Guid DocumentType { get => throw null; } @@ -1171,7 +1107,6 @@ namespace System public virtual System.Guid LanguageVendor { get => throw null; } } - // Generated from `System.Linq.Expressions.TryExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TryExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1184,7 +1119,6 @@ namespace System public System.Linq.Expressions.TryExpression Update(System.Linq.Expressions.Expression body, System.Collections.Generic.IEnumerable handlers, System.Linq.Expressions.Expression @finally, System.Linq.Expressions.Expression fault) => throw null; } - // Generated from `System.Linq.Expressions.TypeBinaryExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeBinaryExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1195,7 +1129,6 @@ namespace System public System.Linq.Expressions.TypeBinaryExpression Update(System.Linq.Expressions.Expression expression) => throw null; } - // Generated from `System.Linq.Expressions.UnaryExpression` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnaryExpression : System.Linq.Expressions.Expression { protected internal override System.Linq.Expressions.Expression Accept(System.Linq.Expressions.ExpressionVisitor visitor) => throw null; @@ -1216,7 +1149,6 @@ namespace System { namespace CompilerServices { - // Generated from `System.Runtime.CompilerServices.CallSite` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallSite { public System.Runtime.CompilerServices.CallSiteBinder Binder { get => throw null; } @@ -1224,7 +1156,6 @@ namespace System public static System.Runtime.CompilerServices.CallSite Create(System.Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder) => throw null; } - // Generated from `System.Runtime.CompilerServices.CallSite<>` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallSite : System.Runtime.CompilerServices.CallSite where T : class { public static System.Runtime.CompilerServices.CallSite Create(System.Runtime.CompilerServices.CallSiteBinder binder) => throw null; @@ -1232,7 +1163,6 @@ namespace System public T Update { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.CallSiteBinder` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CallSiteBinder { public abstract System.Linq.Expressions.Expression Bind(object[] args, System.Collections.ObjectModel.ReadOnlyCollection parameters, System.Linq.Expressions.LabelTarget returnLabel); @@ -1242,13 +1172,11 @@ namespace System public static System.Linq.Expressions.LabelTarget UpdateLabel { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.CallSiteHelpers` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CallSiteHelpers { public static bool IsInternalFrame(System.Reflection.MethodBase mb) => throw null; } - // Generated from `System.Runtime.CompilerServices.DebugInfoGenerator` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DebugInfoGenerator { public static System.Runtime.CompilerServices.DebugInfoGenerator CreatePdbGenerator() => throw null; @@ -1256,7 +1184,6 @@ namespace System public abstract void MarkSequencePoint(System.Linq.Expressions.LambdaExpression method, int ilOffset, System.Linq.Expressions.DebugInfoExpression sequencePoint); } - // Generated from `System.Runtime.CompilerServices.DynamicAttribute` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicAttribute : System.Attribute { public DynamicAttribute() => throw null; @@ -1264,14 +1191,12 @@ namespace System public System.Collections.Generic.IList TransformFlags { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.IRuntimeVariables` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IRuntimeVariables { int Count { get; } object this[int index] { get; set; } } - // Generated from `System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<>` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReadOnlyCollectionBuilder : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public void Add(T item) => throw null; @@ -1308,7 +1233,6 @@ namespace System public System.Collections.ObjectModel.ReadOnlyCollection ToReadOnlyCollection() => throw null; } - // Generated from `System.Runtime.CompilerServices.RuleCache<>` in `System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RuleCache where T : class { } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Parallel.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Parallel.cs index ed33a404a33..a151bca4688 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Parallel.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Parallel.cs @@ -1,16 +1,15 @@ // This file contains auto-generated code. +// Generated from `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Linq { - // Generated from `System.Linq.OrderedParallelQuery<>` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OrderedParallelQuery : System.Linq.ParallelQuery { public override System.Collections.Generic.IEnumerator GetEnumerator() => throw null; } - // Generated from `System.Linq.ParallelEnumerable` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ParallelEnumerable { public static TResult Aggregate(this System.Linq.ParallelQuery source, System.Func seedFactory, System.Func updateAccumulatorFunc, System.Func combineAccumulatorsFunc, System.Func resultSelector) => throw null; @@ -218,14 +217,12 @@ namespace System public static System.Linq.ParallelQuery Zip(this System.Linq.ParallelQuery first, System.Linq.ParallelQuery second, System.Func resultSelector) => throw null; } - // Generated from `System.Linq.ParallelExecutionMode` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ParallelExecutionMode : int { Default = 0, ForceParallelism = 1, } - // Generated from `System.Linq.ParallelMergeOptions` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ParallelMergeOptions : int { AutoBuffered = 2, @@ -234,14 +231,12 @@ namespace System NotBuffered = 1, } - // Generated from `System.Linq.ParallelQuery` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParallelQuery : System.Collections.IEnumerable { System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; internal ParallelQuery() => throw null; } - // Generated from `System.Linq.ParallelQuery<>` in `System.Linq.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParallelQuery : System.Linq.ParallelQuery, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual System.Collections.Generic.IEnumerator GetEnumerator() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Queryable.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Queryable.cs index 21a68113c0c..199d450bc94 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Queryable.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Queryable.cs @@ -1,28 +1,25 @@ // This file contains auto-generated code. +// Generated from `System.Linq.Queryable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Linq { - // Generated from `System.Linq.EnumerableExecutor` in `System.Linq.Queryable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EnumerableExecutor { internal EnumerableExecutor() => throw null; } - // Generated from `System.Linq.EnumerableExecutor<>` in `System.Linq.Queryable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumerableExecutor : System.Linq.EnumerableExecutor { public EnumerableExecutor(System.Linq.Expressions.Expression expression) => throw null; } - // Generated from `System.Linq.EnumerableQuery` in `System.Linq.Queryable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EnumerableQuery { internal EnumerableQuery() => throw null; } - // Generated from `System.Linq.EnumerableQuery<>` in `System.Linq.Queryable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumerableQuery : System.Linq.EnumerableQuery, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Linq.IOrderedQueryable, System.Linq.IOrderedQueryable, System.Linq.IQueryProvider, System.Linq.IQueryable, System.Linq.IQueryable { System.Linq.IQueryable System.Linq.IQueryProvider.CreateQuery(System.Linq.Expressions.Expression expression) => throw null; @@ -39,7 +36,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Linq.Queryable` in `System.Linq.Queryable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Queryable { public static TResult Aggregate(this System.Linq.IQueryable source, TAccumulate seed, System.Linq.Expressions.Expression> func, System.Linq.Expressions.Expression> selector) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.cs index 9da9140659f..f288e27be77 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Linq { - // Generated from `System.Linq.Enumerable` in `System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Enumerable { public static TResult Aggregate(this System.Collections.Generic.IEnumerable source, TAccumulate seed, System.Func func, System.Func resultSelector) => throw null; @@ -221,13 +221,11 @@ namespace System public static System.Collections.Generic.IEnumerable<(TFirst, TSecond)> Zip(this System.Collections.Generic.IEnumerable first, System.Collections.Generic.IEnumerable second) => throw null; } - // Generated from `System.Linq.IGrouping<,>` in `System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IGrouping : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { TKey Key { get; } } - // Generated from `System.Linq.ILookup<,>` in `System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ILookup : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { bool Contains(TKey key); @@ -235,13 +233,11 @@ namespace System System.Collections.Generic.IEnumerable this[TKey key] { get; } } - // Generated from `System.Linq.IOrderedEnumerable<>` in `System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IOrderedEnumerable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { System.Linq.IOrderedEnumerable CreateOrderedEnumerable(System.Func keySelector, System.Collections.Generic.IComparer comparer, bool descending); } - // Generated from `System.Linq.Lookup<,>` in `System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Lookup : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable, System.Linq.ILookup { public System.Collections.Generic.IEnumerable ApplyResultSelector(System.Func, TResult> resultSelector) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Memory.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Memory.cs index f48d07bb8d0..ce4a7e45a61 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Memory.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Memory.cs @@ -1,11 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { - // Generated from `System.MemoryExtensions` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class MemoryExtensions { - // Generated from `System.MemoryExtensions+TryWriteInterpolatedStringHandler` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct TryWriteInterpolatedStringHandler { public bool AppendFormatted(System.ReadOnlySpan value) => throw null; @@ -183,7 +182,6 @@ namespace System public static bool TryWrite(this System.Span destination, ref System.MemoryExtensions.TryWriteInterpolatedStringHandler handler, out int charsWritten) => throw null; } - // Generated from `System.SequencePosition` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct SequencePosition : System.IEquatable { public bool Equals(System.SequencePosition other) => throw null; @@ -197,7 +195,6 @@ namespace System namespace Buffers { - // Generated from `System.Buffers.ArrayBufferWriter<>` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ArrayBufferWriter : System.Buffers.IBufferWriter { public void Advance(int count) => throw null; @@ -213,7 +210,6 @@ namespace System public System.ReadOnlySpan WrittenSpan { get => throw null; } } - // Generated from `System.Buffers.BuffersExtensions` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class BuffersExtensions { public static void CopyTo(System.Buffers.ReadOnlySequence source, System.Span destination) => throw null; @@ -222,7 +218,6 @@ namespace System public static void Write(this System.Buffers.IBufferWriter writer, System.ReadOnlySpan value) => throw null; } - // Generated from `System.Buffers.IBufferWriter<>` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IBufferWriter { void Advance(int count); @@ -230,7 +225,6 @@ namespace System System.Span GetSpan(int sizeHint = default(int)); } - // Generated from `System.Buffers.MemoryPool<>` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class MemoryPool : System.IDisposable { public void Dispose() => throw null; @@ -241,10 +235,8 @@ namespace System public static System.Buffers.MemoryPool Shared { get => throw null; } } - // Generated from `System.Buffers.ReadOnlySequence<>` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ReadOnlySequence { - // Generated from `System.Buffers.ReadOnlySequence<>+Enumerator` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Enumerator { public System.ReadOnlyMemory Current { get => throw null; } @@ -284,7 +276,6 @@ namespace System public bool TryGet(ref System.SequencePosition position, out System.ReadOnlyMemory memory, bool advance = default(bool)) => throw null; } - // Generated from `System.Buffers.ReadOnlySequenceSegment<>` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ReadOnlySequenceSegment { public System.ReadOnlyMemory Memory { get => throw null; set => throw null; } @@ -293,7 +284,6 @@ namespace System public System.Int64 RunningIndex { get => throw null; set => throw null; } } - // Generated from `System.Buffers.SequenceReader<>` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct SequenceReader where T : unmanaged, System.IEquatable { public void Advance(System.Int64 count) => throw null; @@ -335,7 +325,6 @@ namespace System public System.ReadOnlySpan UnreadSpan { get => throw null; } } - // Generated from `System.Buffers.SequenceReaderExtensions` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class SequenceReaderExtensions { public static bool TryReadBigEndian(ref System.Buffers.SequenceReader reader, out int value) => throw null; @@ -346,7 +335,6 @@ namespace System public static bool TryReadLittleEndian(ref System.Buffers.SequenceReader reader, out System.Int16 value) => throw null; } - // Generated from `System.Buffers.StandardFormat` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct StandardFormat : System.IEquatable { public static bool operator !=(System.Buffers.StandardFormat left, System.Buffers.StandardFormat right) => throw null; @@ -371,7 +359,6 @@ namespace System namespace Binary { - // Generated from `System.Buffers.Binary.BinaryPrimitives` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class BinaryPrimitives { public static double ReadDoubleBigEndian(System.ReadOnlySpan source) => throw null; @@ -459,7 +446,6 @@ namespace System } namespace Text { - // Generated from `System.Buffers.Text.Utf8Formatter` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Utf8Formatter { public static bool TryFormat(System.DateTime value, System.Span destination, out int bytesWritten, System.Buffers.StandardFormat format = default(System.Buffers.StandardFormat)) => throw null; @@ -480,7 +466,6 @@ namespace System public static bool TryFormat(System.UInt16 value, System.Span destination, out int bytesWritten, System.Buffers.StandardFormat format = default(System.Buffers.StandardFormat)) => throw null; } - // Generated from `System.Buffers.Text.Utf8Parser` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Utf8Parser { public static bool TryParse(System.ReadOnlySpan source, out System.DateTime value, out int bytesConsumed, System.Char standardFormat = default(System.Char)) => throw null; @@ -507,7 +492,6 @@ namespace System { namespace InteropServices { - // Generated from `System.Runtime.InteropServices.MemoryMarshal` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class MemoryMarshal { public static System.ReadOnlySpan AsBytes(System.ReadOnlySpan span) where T : struct => throw null; @@ -537,7 +521,6 @@ namespace System public static void Write(System.Span destination, ref T value) where T : struct => throw null; } - // Generated from `System.Runtime.InteropServices.SequenceMarshal` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class SequenceMarshal { public static bool TryGetArray(System.Buffers.ReadOnlySequence sequence, out System.ArraySegment segment) => throw null; @@ -550,7 +533,6 @@ namespace System } namespace Text { - // Generated from `System.Text.EncodingExtensions` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class EncodingExtensions { public static void Convert(this System.Text.Decoder decoder, System.Buffers.ReadOnlySequence bytes, System.Buffers.IBufferWriter writer, bool flush, out System.Int64 charsUsed, out bool completed) => throw null; @@ -567,7 +549,6 @@ namespace System public static string GetString(this System.Text.Encoding encoding, System.Buffers.ReadOnlySequence bytes) => throw null; } - // Generated from `System.Text.SpanLineEnumerator` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct SpanLineEnumerator { public System.ReadOnlySpan Current { get => throw null; } @@ -576,7 +557,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Text.SpanRuneEnumerator` in `System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct SpanRuneEnumerator { public System.Text.Rune Current { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.Json.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.Json.cs index e08f3cb25bf..d446b901ee7 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.Json.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.Json.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Net.Http.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { @@ -8,7 +9,6 @@ namespace System { namespace Json { - // Generated from `System.Net.Http.Json.HttpClientJsonExtensions` in `System.Net.Http.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class HttpClientJsonExtensions { public static System.Threading.Tasks.Task DeleteFromJsonAsync(this System.Net.Http.HttpClient client, System.Uri requestUri, System.Type type, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -55,7 +55,6 @@ namespace System public static System.Threading.Tasks.Task PutAsJsonAsync(this System.Net.Http.HttpClient client, string requestUri, TValue value, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.Net.Http.Json.HttpContentJsonExtensions` in `System.Net.Http.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class HttpContentJsonExtensions { public static System.Threading.Tasks.Task ReadFromJsonAsync(this System.Net.Http.HttpContent content, System.Type type, System.Text.Json.Serialization.JsonSerializerContext context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -64,7 +63,6 @@ namespace System public static System.Threading.Tasks.Task ReadFromJsonAsync(this System.Net.Http.HttpContent content, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.Net.Http.Json.JsonContent` in `System.Net.Http.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonContent : System.Net.Http.HttpContent { public static System.Net.Http.Json.JsonContent Create(object inputValue, System.Type inputType, System.Net.Http.Headers.MediaTypeHeaderValue mediaType = default(System.Net.Http.Headers.MediaTypeHeaderValue), System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions)) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.cs index b205db37aff..b90cbb9cb5a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Http.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Http { - // Generated from `System.Net.Http.ByteArrayContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ByteArrayContent : System.Net.Http.HttpContent { public ByteArrayContent(System.Byte[] content) => throw null; @@ -19,14 +19,12 @@ namespace System protected internal override bool TryComputeLength(out System.Int64 length) => throw null; } - // Generated from `System.Net.Http.ClientCertificateOption` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ClientCertificateOption : int { Automatic = 1, Manual = 0, } - // Generated from `System.Net.Http.DelegatingHandler` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DelegatingHandler : System.Net.Http.HttpMessageHandler { protected DelegatingHandler() => throw null; @@ -37,17 +35,14 @@ namespace System protected internal override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Net.Http.FormUrlEncodedContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FormUrlEncodedContent : System.Net.Http.ByteArrayContent { public FormUrlEncodedContent(System.Collections.Generic.IEnumerable> nameValueCollection) : base(default(System.Byte[])) => throw null; protected override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Net.Http.HeaderEncodingSelector<>` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.Text.Encoding HeaderEncodingSelector(string headerName, TContext context); - // Generated from `System.Net.Http.HttpClient` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpClient : System.Net.Http.HttpMessageInvoker { public System.Uri BaseAddress { get => throw null; set => throw null; } @@ -108,7 +103,6 @@ namespace System public System.TimeSpan Timeout { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.HttpClientHandler` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpClientHandler : System.Net.Http.HttpMessageHandler { public bool AllowAutoRedirect { get => throw null; set => throw null; } @@ -141,14 +135,12 @@ namespace System public bool UseProxy { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.HttpCompletionOption` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpCompletionOption : int { ResponseContentRead = 0, ResponseHeadersRead = 1, } - // Generated from `System.Net.Http.HttpContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class HttpContent : System.IDisposable { public void CopyTo(System.IO.Stream stream, System.Net.TransportContext context, System.Threading.CancellationToken cancellationToken) => throw null; @@ -179,14 +171,12 @@ namespace System protected internal abstract bool TryComputeLength(out System.Int64 length); } - // Generated from `System.Net.Http.HttpKeepAlivePingPolicy` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpKeepAlivePingPolicy : int { Always = 1, WithActiveRequests = 0, } - // Generated from `System.Net.Http.HttpMessageHandler` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class HttpMessageHandler : System.IDisposable { public void Dispose() => throw null; @@ -196,7 +186,6 @@ namespace System protected internal abstract System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken); } - // Generated from `System.Net.Http.HttpMessageInvoker` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpMessageInvoker : System.IDisposable { public void Dispose() => throw null; @@ -207,7 +196,6 @@ namespace System public virtual System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Net.Http.HttpMethod` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpMethod : System.IEquatable { public static bool operator !=(System.Net.Http.HttpMethod left, System.Net.Http.HttpMethod right) => throw null; @@ -229,14 +217,12 @@ namespace System public static System.Net.Http.HttpMethod Trace { get => throw null; } } - // Generated from `System.Net.Http.HttpProtocolException` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpProtocolException : System.IO.IOException { public System.Int64 ErrorCode { get => throw null; } public HttpProtocolException(System.Int64 errorCode, string message, System.Exception innerException) => throw null; } - // Generated from `System.Net.Http.HttpRequestException` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpRequestException : System.Exception { public HttpRequestException() => throw null; @@ -246,7 +232,6 @@ namespace System public System.Net.HttpStatusCode? StatusCode { get => throw null; } } - // Generated from `System.Net.Http.HttpRequestMessage` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpRequestMessage : System.IDisposable { public System.Net.Http.HttpContent Content { get => throw null; set => throw null; } @@ -265,7 +250,6 @@ namespace System public System.Net.Http.HttpVersionPolicy VersionPolicy { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.HttpRequestOptions` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpRequestOptions : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { void System.Collections.Generic.ICollection>.Add(System.Collections.Generic.KeyValuePair item) => throw null; @@ -289,7 +273,6 @@ namespace System System.Collections.Generic.ICollection System.Collections.Generic.IDictionary.Values { get => throw null; } } - // Generated from `System.Net.Http.HttpRequestOptionsKey<>` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct HttpRequestOptionsKey { // Stub generator skipped constructor @@ -297,7 +280,6 @@ namespace System public string Key { get => throw null; } } - // Generated from `System.Net.Http.HttpResponseMessage` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpResponseMessage : System.IDisposable { public System.Net.Http.HttpContent Content { get => throw null; set => throw null; } @@ -316,7 +298,6 @@ namespace System public System.Version Version { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.HttpVersionPolicy` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpVersionPolicy : int { RequestVersionExact = 2, @@ -324,7 +305,6 @@ namespace System RequestVersionOrLower = 0, } - // Generated from `System.Net.Http.MessageProcessingHandler` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MessageProcessingHandler : System.Net.Http.DelegatingHandler { protected MessageProcessingHandler() => throw null; @@ -335,7 +315,6 @@ namespace System protected internal override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Net.Http.MultipartContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MultipartContent : System.Net.Http.HttpContent, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual void Add(System.Net.Http.HttpContent content) => throw null; @@ -355,7 +334,6 @@ namespace System protected internal override bool TryComputeLength(out System.Int64 length) => throw null; } - // Generated from `System.Net.Http.MultipartFormDataContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MultipartFormDataContent : System.Net.Http.MultipartContent { public override void Add(System.Net.Http.HttpContent content) => throw null; @@ -366,7 +344,6 @@ namespace System protected override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Net.Http.ReadOnlyMemoryContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReadOnlyMemoryContent : System.Net.Http.HttpContent { protected override System.IO.Stream CreateContentReadStream(System.Threading.CancellationToken cancellationToken) => throw null; @@ -378,14 +355,12 @@ namespace System protected internal override bool TryComputeLength(out System.Int64 length) => throw null; } - // Generated from `System.Net.Http.SocketsHttpConnectionContext` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SocketsHttpConnectionContext { public System.Net.DnsEndPoint DnsEndPoint { get => throw null; } public System.Net.Http.HttpRequestMessage InitialRequestMessage { get => throw null; } } - // Generated from `System.Net.Http.SocketsHttpHandler` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SocketsHttpHandler : System.Net.Http.HttpMessageHandler { public System.Diagnostics.DistributedContextPropagator ActivityHeadersPropagator { get => throw null; set => throw null; } @@ -425,7 +400,6 @@ namespace System public bool UseProxy { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.SocketsHttpPlaintextStreamFilterContext` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SocketsHttpPlaintextStreamFilterContext { public System.Net.Http.HttpRequestMessage InitialRequestMessage { get => throw null; } @@ -433,7 +407,6 @@ namespace System public System.IO.Stream PlaintextStream { get => throw null; } } - // Generated from `System.Net.Http.StreamContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StreamContent : System.Net.Http.HttpContent { protected override System.IO.Stream CreateContentReadStream(System.Threading.CancellationToken cancellationToken) => throw null; @@ -447,7 +420,6 @@ namespace System protected internal override bool TryComputeLength(out System.Int64 length) => throw null; } - // Generated from `System.Net.Http.StringContent` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringContent : System.Net.Http.ByteArrayContent { protected override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context, System.Threading.CancellationToken cancellationToken) => throw null; @@ -460,7 +432,6 @@ namespace System namespace Headers { - // Generated from `System.Net.Http.Headers.AuthenticationHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AuthenticationHeaderValue : System.ICloneable { public AuthenticationHeaderValue(string scheme) => throw null; @@ -475,7 +446,6 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.AuthenticationHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.CacheControlHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CacheControlHeaderValue : System.ICloneable { public CacheControlHeaderValue() => throw null; @@ -503,7 +473,6 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.CacheControlHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.ContentDispositionHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContentDispositionHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -525,7 +494,6 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.ContentDispositionHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.ContentRangeHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContentRangeHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -545,7 +513,6 @@ namespace System public string Unit { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.Headers.EntityTagHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EntityTagHeaderValue : System.ICloneable { public static System.Net.Http.Headers.EntityTagHeaderValue Any { get => throw null; } @@ -561,10 +528,8 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.EntityTagHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.HeaderStringValues` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct HeaderStringValues : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Net.Http.Headers.HeaderStringValues+Enumerator` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public string Current { get => throw null; } @@ -584,7 +549,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Http.Headers.HttpContentHeaders` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpContentHeaders : System.Net.Http.Headers.HttpHeaders { public System.Collections.Generic.ICollection Allow { get => throw null; } @@ -600,7 +564,6 @@ namespace System public System.DateTimeOffset? LastModified { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.Headers.HttpHeaderValueCollection<>` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpHeaderValueCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable where T : class { public void Add(T item) => throw null; @@ -617,7 +580,6 @@ namespace System public bool TryParseAdd(string input) => throw null; } - // Generated from `System.Net.Http.Headers.HttpHeaders` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class HttpHeaders : System.Collections.Generic.IEnumerable>>, System.Collections.IEnumerable { public void Add(string name, System.Collections.Generic.IEnumerable values) => throw null; @@ -636,10 +598,8 @@ namespace System public bool TryGetValues(string name, out System.Collections.Generic.IEnumerable values) => throw null; } - // Generated from `System.Net.Http.Headers.HttpHeadersNonValidated` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct HttpHeadersNonValidated : System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.IEnumerable { - // Generated from `System.Net.Http.Headers.HttpHeadersNonValidated+Enumerator` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { public System.Collections.Generic.KeyValuePair Current { get => throw null; } @@ -665,7 +625,6 @@ namespace System System.Collections.Generic.IEnumerable System.Collections.Generic.IReadOnlyDictionary.Values { get => throw null; } } - // Generated from `System.Net.Http.Headers.HttpRequestHeaders` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpRequestHeaders : System.Net.Http.Headers.HttpHeaders { public System.Net.Http.Headers.HttpHeaderValueCollection Accept { get => throw null; } @@ -702,7 +661,6 @@ namespace System public System.Net.Http.Headers.HttpHeaderValueCollection Warning { get => throw null; } } - // Generated from `System.Net.Http.Headers.HttpResponseHeaders` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpResponseHeaders : System.Net.Http.Headers.HttpHeaders { public System.Net.Http.Headers.HttpHeaderValueCollection AcceptRanges { get => throw null; } @@ -727,7 +685,6 @@ namespace System public System.Net.Http.Headers.HttpHeaderValueCollection WwwAuthenticate { get => throw null; } } - // Generated from `System.Net.Http.Headers.MediaTypeHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MediaTypeHeaderValue : System.ICloneable { public string CharSet { get => throw null; set => throw null; } @@ -744,7 +701,6 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.MediaTypeHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.MediaTypeWithQualityHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MediaTypeWithQualityHeaderValue : System.Net.Http.Headers.MediaTypeHeaderValue, System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -755,7 +711,6 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.MediaTypeWithQualityHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.NameValueHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NameValueHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -771,7 +726,6 @@ namespace System public string Value { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.Headers.NameValueWithParametersHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NameValueWithParametersHeaderValue : System.Net.Http.Headers.NameValueHeaderValue, System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -786,7 +740,6 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.NameValueWithParametersHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.ProductHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProductHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -801,7 +754,6 @@ namespace System public string Version { get => throw null; } } - // Generated from `System.Net.Http.Headers.ProductInfoHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProductInfoHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -817,7 +769,6 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.ProductInfoHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.RangeConditionHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RangeConditionHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -833,7 +784,6 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.RangeConditionHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.RangeHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RangeHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -848,7 +798,6 @@ namespace System public string Unit { get => throw null; set => throw null; } } - // Generated from `System.Net.Http.Headers.RangeItemHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RangeItemHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -860,7 +809,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Http.Headers.RetryConditionHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RetryConditionHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -875,7 +823,6 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.RetryConditionHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.StringWithQualityHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringWithQualityHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -890,7 +837,6 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Net.Http.Headers.TransferCodingHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TransferCodingHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -905,7 +851,6 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Net.Http.Headers.TransferCodingWithQualityHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TransferCodingWithQualityHeaderValue : System.Net.Http.Headers.TransferCodingHeaderValue, System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -916,7 +861,6 @@ namespace System public static bool TryParse(string input, out System.Net.Http.Headers.TransferCodingWithQualityHeaderValue parsedValue) => throw null; } - // Generated from `System.Net.Http.Headers.ViaHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ViaHeaderValue : System.ICloneable { object System.ICloneable.Clone() => throw null; @@ -934,7 +878,6 @@ namespace System public ViaHeaderValue(string protocolVersion, string receivedBy, string protocolName, string comment) => throw null; } - // Generated from `System.Net.Http.Headers.WarningHeaderValue` in `System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WarningHeaderValue : System.ICloneable { public string Agent { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.HttpListener.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.HttpListener.cs index c5ee384896c..954ca76fba4 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.HttpListener.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.HttpListener.cs @@ -1,16 +1,14 @@ // This file contains auto-generated code. +// Generated from `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { namespace Net { - // Generated from `System.Net.AuthenticationSchemeSelector` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate System.Net.AuthenticationSchemes AuthenticationSchemeSelector(System.Net.HttpListenerRequest httpRequest); - // Generated from `System.Net.HttpListener` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListener : System.IDisposable { - // Generated from `System.Net.HttpListener+ExtendedProtectionSelector` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy ExtendedProtectionSelector(System.Net.HttpListenerRequest request); @@ -38,14 +36,12 @@ namespace System public bool UnsafeConnectionNtlmAuthentication { get => throw null; set => throw null; } } - // Generated from `System.Net.HttpListenerBasicIdentity` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerBasicIdentity : System.Security.Principal.GenericIdentity { public HttpListenerBasicIdentity(string username, string password) : base(default(System.Security.Principal.GenericIdentity)) => throw null; public virtual string Password { get => throw null; } } - // Generated from `System.Net.HttpListenerContext` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerContext { public System.Threading.Tasks.Task AcceptWebSocketAsync(string subProtocol) => throw null; @@ -57,7 +53,6 @@ namespace System public System.Security.Principal.IPrincipal User { get => throw null; } } - // Generated from `System.Net.HttpListenerException` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerException : System.ComponentModel.Win32Exception { public override int ErrorCode { get => throw null; } @@ -67,7 +62,6 @@ namespace System public HttpListenerException(int errorCode, string message) => throw null; } - // Generated from `System.Net.HttpListenerPrefixCollection` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerPrefixCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public void Add(string uriPrefix) => throw null; @@ -83,7 +77,6 @@ namespace System public bool Remove(string uriPrefix) => throw null; } - // Generated from `System.Net.HttpListenerRequest` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerRequest { public string[] AcceptTypes { get => throw null; } @@ -121,7 +114,6 @@ namespace System public string[] UserLanguages { get => throw null; } } - // Generated from `System.Net.HttpListenerResponse` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerResponse : System.IDisposable { public void Abort() => throw null; @@ -148,7 +140,6 @@ namespace System public string StatusDescription { get => throw null; set => throw null; } } - // Generated from `System.Net.HttpListenerTimeoutManager` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerTimeoutManager { public System.TimeSpan DrainEntityBody { get => throw null; set => throw null; } @@ -161,7 +152,6 @@ namespace System namespace WebSockets { - // Generated from `System.Net.WebSockets.HttpListenerWebSocketContext` in `System.Net.HttpListener, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpListenerWebSocketContext : System.Net.WebSockets.WebSocketContext { public override System.Net.CookieCollection CookieCollection { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Mail.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Mail.cs index 92ac877e71c..4abf2e6a759 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Mail.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Mail.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Mail { - // Generated from `System.Net.Mail.AlternateView` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class AlternateView : System.Net.Mail.AttachmentBase { public AlternateView(System.IO.Stream contentStream) : base(default(System.IO.Stream)) => throw null; @@ -23,7 +23,6 @@ namespace System public System.Net.Mail.LinkedResourceCollection LinkedResources { get => throw null; } } - // Generated from `System.Net.Mail.AlternateViewCollection` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class AlternateViewCollection : System.Collections.ObjectModel.Collection, System.IDisposable { protected override void ClearItems() => throw null; @@ -33,7 +32,6 @@ namespace System protected override void SetItem(int index, System.Net.Mail.AlternateView item) => throw null; } - // Generated from `System.Net.Mail.Attachment` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Attachment : System.Net.Mail.AttachmentBase { public Attachment(System.IO.Stream contentStream, System.Net.Mime.ContentType contentType) : base(default(System.IO.Stream)) => throw null; @@ -50,7 +48,6 @@ namespace System public System.Text.Encoding NameEncoding { get => throw null; set => throw null; } } - // Generated from `System.Net.Mail.AttachmentBase` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class AttachmentBase : System.IDisposable { protected AttachmentBase(System.IO.Stream contentStream) => throw null; @@ -67,7 +64,6 @@ namespace System public System.Net.Mime.TransferEncoding TransferEncoding { get => throw null; set => throw null; } } - // Generated from `System.Net.Mail.AttachmentCollection` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class AttachmentCollection : System.Collections.ObjectModel.Collection, System.IDisposable { protected override void ClearItems() => throw null; @@ -77,7 +73,6 @@ namespace System protected override void SetItem(int index, System.Net.Mail.Attachment item) => throw null; } - // Generated from `System.Net.Mail.DeliveryNotificationOptions` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum DeliveryNotificationOptions : int { @@ -88,7 +83,6 @@ namespace System OnSuccess = 1, } - // Generated from `System.Net.Mail.LinkedResource` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class LinkedResource : System.Net.Mail.AttachmentBase { public System.Uri ContentLink { get => throw null; set => throw null; } @@ -103,7 +97,6 @@ namespace System public LinkedResource(string fileName, string mediaType) : base(default(System.IO.Stream)) => throw null; } - // Generated from `System.Net.Mail.LinkedResourceCollection` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class LinkedResourceCollection : System.Collections.ObjectModel.Collection, System.IDisposable { protected override void ClearItems() => throw null; @@ -113,7 +106,6 @@ namespace System protected override void SetItem(int index, System.Net.Mail.LinkedResource item) => throw null; } - // Generated from `System.Net.Mail.MailAddress` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class MailAddress { public string Address { get => throw null; } @@ -131,7 +123,6 @@ namespace System public string User { get => throw null; } } - // Generated from `System.Net.Mail.MailAddressCollection` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class MailAddressCollection : System.Collections.ObjectModel.Collection { public void Add(string addresses) => throw null; @@ -141,7 +132,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Mail.MailMessage` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class MailMessage : System.IDisposable { public System.Net.Mail.AlternateViewCollection AlternateViews { get => throw null; } @@ -171,7 +161,6 @@ namespace System public System.Net.Mail.MailAddressCollection To { get => throw null; } } - // Generated from `System.Net.Mail.MailPriority` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum MailPriority : int { High = 2, @@ -179,10 +168,8 @@ namespace System Normal = 0, } - // Generated from `System.Net.Mail.SendCompletedEventHandler` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void SendCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - // Generated from `System.Net.Mail.SmtpClient` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SmtpClient : System.IDisposable { public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get => throw null; } @@ -215,14 +202,12 @@ namespace System public bool UseDefaultCredentials { get => throw null; set => throw null; } } - // Generated from `System.Net.Mail.SmtpDeliveryFormat` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum SmtpDeliveryFormat : int { International = 1, SevenBit = 0, } - // Generated from `System.Net.Mail.SmtpDeliveryMethod` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum SmtpDeliveryMethod : int { Network = 0, @@ -230,7 +215,6 @@ namespace System SpecifiedPickupDirectory = 1, } - // Generated from `System.Net.Mail.SmtpException` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SmtpException : System.Exception, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -244,7 +228,6 @@ namespace System public System.Net.Mail.SmtpStatusCode StatusCode { get => throw null; set => throw null; } } - // Generated from `System.Net.Mail.SmtpFailedRecipientException` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SmtpFailedRecipientException : System.Net.Mail.SmtpException, System.Runtime.Serialization.ISerializable { public string FailedRecipient { get => throw null; } @@ -259,7 +242,6 @@ namespace System public SmtpFailedRecipientException(string message, string failedRecipient, System.Exception innerException) => throw null; } - // Generated from `System.Net.Mail.SmtpFailedRecipientsException` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SmtpFailedRecipientsException : System.Net.Mail.SmtpFailedRecipientException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -272,7 +254,6 @@ namespace System public SmtpFailedRecipientsException(string message, System.Net.Mail.SmtpFailedRecipientException[] innerExceptions) => throw null; } - // Generated from `System.Net.Mail.SmtpStatusCode` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum SmtpStatusCode : int { BadCommandSequence = 503, @@ -305,7 +286,6 @@ namespace System } namespace Mime { - // Generated from `System.Net.Mime.ContentDisposition` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ContentDisposition { public ContentDisposition() => throw null; @@ -323,7 +303,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Mime.ContentType` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ContentType { public string Boundary { get => throw null; set => throw null; } @@ -338,17 +317,14 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Mime.DispositionTypeNames` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class DispositionTypeNames { public const string Attachment = default; public const string Inline = default; } - // Generated from `System.Net.Mime.MediaTypeNames` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class MediaTypeNames { - // Generated from `System.Net.Mime.MediaTypeNames+Application` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Application { public const string Json = default; @@ -361,7 +337,6 @@ namespace System } - // Generated from `System.Net.Mime.MediaTypeNames+Image` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Image { public const string Gif = default; @@ -370,7 +345,6 @@ namespace System } - // Generated from `System.Net.Mime.MediaTypeNames+Text` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Text { public const string Html = default; @@ -382,7 +356,6 @@ namespace System } - // Generated from `System.Net.Mime.TransferEncoding` in `System.Net.Mail, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum TransferEncoding : int { Base64 = 1, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NameResolution.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NameResolution.cs index 0ef4e72b2e3..6224965e325 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NameResolution.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NameResolution.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Net.NameResolution, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Net { - // Generated from `System.Net.Dns` in `System.Net.NameResolution, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Dns { public static System.IAsyncResult BeginGetHostAddresses(string hostNameOrAddress, System.AsyncCallback requestCallback, object state) => throw null; @@ -35,7 +35,6 @@ namespace System public static System.Net.IPHostEntry Resolve(string hostName) => throw null; } - // Generated from `System.Net.IPHostEntry` in `System.Net.NameResolution, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IPHostEntry { public System.Net.IPAddress[] AddressList { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NetworkInformation.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NetworkInformation.cs index c911dc44551..9d5c2758e18 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NetworkInformation.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.NetworkInformation.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace NetworkInformation { - // Generated from `System.Net.NetworkInformation.DuplicateAddressDetectionState` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DuplicateAddressDetectionState : int { Deprecated = 3, @@ -16,14 +16,12 @@ namespace System Tentative = 1, } - // Generated from `System.Net.NetworkInformation.GatewayIPAddressInformation` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class GatewayIPAddressInformation { public abstract System.Net.IPAddress Address { get; } protected GatewayIPAddressInformation() => throw null; } - // Generated from `System.Net.NetworkInformation.GatewayIPAddressInformationCollection` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GatewayIPAddressInformationCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual void Add(System.Net.NetworkInformation.GatewayIPAddressInformation address) => throw null; @@ -39,7 +37,6 @@ namespace System public virtual bool Remove(System.Net.NetworkInformation.GatewayIPAddressInformation address) => throw null; } - // Generated from `System.Net.NetworkInformation.IPAddressInformation` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPAddressInformation { public abstract System.Net.IPAddress Address { get; } @@ -48,7 +45,6 @@ namespace System public abstract bool IsTransient { get; } } - // Generated from `System.Net.NetworkInformation.IPAddressInformationCollection` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IPAddressInformationCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual void Add(System.Net.NetworkInformation.IPAddressInformation address) => throw null; @@ -63,7 +59,6 @@ namespace System public virtual bool Remove(System.Net.NetworkInformation.IPAddressInformation address) => throw null; } - // Generated from `System.Net.NetworkInformation.IPGlobalProperties` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPGlobalProperties { public virtual System.IAsyncResult BeginGetUnicastAddresses(System.AsyncCallback callback, object state) => throw null; @@ -90,7 +85,6 @@ namespace System public abstract System.Net.NetworkInformation.NetBiosNodeType NodeType { get; } } - // Generated from `System.Net.NetworkInformation.IPGlobalStatistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPGlobalStatistics { public abstract int DefaultTtl { get; } @@ -118,7 +112,6 @@ namespace System public abstract System.Int64 ReceivedPacketsWithUnknownProtocol { get; } } - // Generated from `System.Net.NetworkInformation.IPInterfaceProperties` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPInterfaceProperties { public abstract System.Net.NetworkInformation.IPAddressInformationCollection AnycastAddresses { get; } @@ -136,7 +129,6 @@ namespace System public abstract System.Net.NetworkInformation.IPAddressCollection WinsServersAddresses { get; } } - // Generated from `System.Net.NetworkInformation.IPInterfaceStatistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPInterfaceStatistics { public abstract System.Int64 BytesReceived { get; } @@ -154,7 +146,6 @@ namespace System public abstract System.Int64 UnicastPacketsSent { get; } } - // Generated from `System.Net.NetworkInformation.IPv4InterfaceProperties` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPv4InterfaceProperties { protected IPv4InterfaceProperties() => throw null; @@ -167,7 +158,6 @@ namespace System public abstract bool UsesWins { get; } } - // Generated from `System.Net.NetworkInformation.IPv4InterfaceStatistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPv4InterfaceStatistics { public abstract System.Int64 BytesReceived { get; } @@ -185,7 +175,6 @@ namespace System public abstract System.Int64 UnicastPacketsSent { get; } } - // Generated from `System.Net.NetworkInformation.IPv6InterfaceProperties` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IPv6InterfaceProperties { public virtual System.Int64 GetScopeId(System.Net.NetworkInformation.ScopeLevel scopeLevel) => throw null; @@ -194,7 +183,6 @@ namespace System public abstract int Mtu { get; } } - // Generated from `System.Net.NetworkInformation.IcmpV4Statistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IcmpV4Statistics { public abstract System.Int64 AddressMaskRepliesReceived { get; } @@ -226,7 +214,6 @@ namespace System public abstract System.Int64 TimestampRequestsSent { get; } } - // Generated from `System.Net.NetworkInformation.IcmpV6Statistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IcmpV6Statistics { public abstract System.Int64 DestinationUnreachableMessagesReceived { get; } @@ -264,7 +251,6 @@ namespace System public abstract System.Int64 TimeExceededMessagesSent { get; } } - // Generated from `System.Net.NetworkInformation.MulticastIPAddressInformation` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MulticastIPAddressInformation : System.Net.NetworkInformation.IPAddressInformation { public abstract System.Int64 AddressPreferredLifetime { get; } @@ -276,7 +262,6 @@ namespace System public abstract System.Net.NetworkInformation.SuffixOrigin SuffixOrigin { get; } } - // Generated from `System.Net.NetworkInformation.MulticastIPAddressInformationCollection` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MulticastIPAddressInformationCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual void Add(System.Net.NetworkInformation.MulticastIPAddressInformation address) => throw null; @@ -292,7 +277,6 @@ namespace System public virtual bool Remove(System.Net.NetworkInformation.MulticastIPAddressInformation address) => throw null; } - // Generated from `System.Net.NetworkInformation.NetBiosNodeType` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NetBiosNodeType : int { Broadcast = 1, @@ -302,19 +286,15 @@ namespace System Unknown = 0, } - // Generated from `System.Net.NetworkInformation.NetworkAddressChangedEventHandler` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void NetworkAddressChangedEventHandler(object sender, System.EventArgs e); - // Generated from `System.Net.NetworkInformation.NetworkAvailabilityChangedEventHandler` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void NetworkAvailabilityChangedEventHandler(object sender, System.Net.NetworkInformation.NetworkAvailabilityEventArgs e); - // Generated from `System.Net.NetworkInformation.NetworkAvailabilityEventArgs` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetworkAvailabilityEventArgs : System.EventArgs { public bool IsAvailable { get => throw null; } } - // Generated from `System.Net.NetworkInformation.NetworkChange` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetworkChange { public static event System.Net.NetworkInformation.NetworkAddressChangedEventHandler NetworkAddressChanged; @@ -323,7 +303,6 @@ namespace System public static void RegisterNetworkChange(System.Net.NetworkInformation.NetworkChange nc) => throw null; } - // Generated from `System.Net.NetworkInformation.NetworkInformationException` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetworkInformationException : System.ComponentModel.Win32Exception { public override int ErrorCode { get => throw null; } @@ -332,7 +311,6 @@ namespace System public NetworkInformationException(int errorCode) => throw null; } - // Generated from `System.Net.NetworkInformation.NetworkInterface` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class NetworkInterface { public virtual string Description { get => throw null; } @@ -355,14 +333,12 @@ namespace System public virtual bool SupportsMulticast { get => throw null; } } - // Generated from `System.Net.NetworkInformation.NetworkInterfaceComponent` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NetworkInterfaceComponent : int { IPv4 = 0, IPv6 = 1, } - // Generated from `System.Net.NetworkInformation.NetworkInterfaceType` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NetworkInterfaceType : int { AsymmetricDsl = 94, @@ -395,7 +371,6 @@ namespace System Wwanpp2 = 244, } - // Generated from `System.Net.NetworkInformation.OperationalStatus` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OperationalStatus : int { Dormant = 5, @@ -407,7 +382,6 @@ namespace System Up = 1, } - // Generated from `System.Net.NetworkInformation.PhysicalAddress` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PhysicalAddress { public override bool Equals(object comparand) => throw null; @@ -422,7 +396,6 @@ namespace System public static bool TryParse(string address, out System.Net.NetworkInformation.PhysicalAddress value) => throw null; } - // Generated from `System.Net.NetworkInformation.PrefixOrigin` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PrefixOrigin : int { Dhcp = 3, @@ -432,7 +405,6 @@ namespace System WellKnown = 2, } - // Generated from `System.Net.NetworkInformation.ScopeLevel` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ScopeLevel : int { Admin = 4, @@ -445,7 +417,6 @@ namespace System Subnet = 3, } - // Generated from `System.Net.NetworkInformation.SuffixOrigin` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SuffixOrigin : int { LinkLayerAddress = 4, @@ -456,7 +427,6 @@ namespace System WellKnown = 2, } - // Generated from `System.Net.NetworkInformation.TcpConnectionInformation` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TcpConnectionInformation { public abstract System.Net.IPEndPoint LocalEndPoint { get; } @@ -465,7 +435,6 @@ namespace System protected TcpConnectionInformation() => throw null; } - // Generated from `System.Net.NetworkInformation.TcpState` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TcpState : int { CloseWait = 8, @@ -483,7 +452,6 @@ namespace System Unknown = 0, } - // Generated from `System.Net.NetworkInformation.TcpStatistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TcpStatistics { public abstract System.Int64 ConnectionsAccepted { get; } @@ -503,7 +471,6 @@ namespace System protected TcpStatistics() => throw null; } - // Generated from `System.Net.NetworkInformation.UdpStatistics` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class UdpStatistics { public abstract System.Int64 DatagramsReceived { get; } @@ -514,7 +481,6 @@ namespace System protected UdpStatistics() => throw null; } - // Generated from `System.Net.NetworkInformation.UnicastIPAddressInformation` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class UnicastIPAddressInformation : System.Net.NetworkInformation.IPAddressInformation { public abstract System.Int64 AddressPreferredLifetime { get; } @@ -528,7 +494,6 @@ namespace System protected UnicastIPAddressInformation() => throw null; } - // Generated from `System.Net.NetworkInformation.UnicastIPAddressInformationCollection` in `System.Net.NetworkInformation, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnicastIPAddressInformationCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual void Add(System.Net.NetworkInformation.UnicastIPAddressInformation address) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Ping.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Ping.cs index a92a800c303..264f76a3b3a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Ping.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Ping.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace NetworkInformation { - // Generated from `System.Net.NetworkInformation.IPStatus` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum IPStatus : int { BadDestination = 11018, @@ -35,7 +35,6 @@ namespace System UnrecognizedNextHeader = 11043, } - // Generated from `System.Net.NetworkInformation.Ping` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Ping : System.ComponentModel.Component { protected override void Dispose(bool disposing) => throw null; @@ -71,17 +70,14 @@ namespace System public System.Threading.Tasks.Task SendPingAsync(string hostNameOrAddress, int timeout, System.Byte[] buffer, System.Net.NetworkInformation.PingOptions options) => throw null; } - // Generated from `System.Net.NetworkInformation.PingCompletedEventArgs` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PingCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { internal PingCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; public System.Net.NetworkInformation.PingReply Reply { get => throw null; } } - // Generated from `System.Net.NetworkInformation.PingCompletedEventHandler` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void PingCompletedEventHandler(object sender, System.Net.NetworkInformation.PingCompletedEventArgs e); - // Generated from `System.Net.NetworkInformation.PingException` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PingException : System.InvalidOperationException { protected PingException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -89,7 +85,6 @@ namespace System public PingException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Net.NetworkInformation.PingOptions` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PingOptions { public bool DontFragment { get => throw null; set => throw null; } @@ -98,7 +93,6 @@ namespace System public int Ttl { get => throw null; set => throw null; } } - // Generated from `System.Net.NetworkInformation.PingReply` in `System.Net.Ping, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PingReply { public System.Net.IPAddress Address { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Primitives.cs index 4206defea35..33e2c3fb7ea 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Primitives.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Net { - // Generated from `System.Net.AuthenticationSchemes` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AuthenticationSchemes : int { @@ -17,7 +17,6 @@ namespace System Ntlm = 4, } - // Generated from `System.Net.Cookie` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Cookie { public string Comment { get => throw null; set => throw null; } @@ -43,7 +42,6 @@ namespace System public int Version { get => throw null; set => throw null; } } - // Generated from `System.Net.CookieCollection` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CookieCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { public void Add(System.Net.Cookie cookie) => throw null; @@ -64,7 +62,6 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Net.CookieContainer` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CookieContainer { public void Add(System.Net.Cookie cookie) => throw null; @@ -87,7 +84,6 @@ namespace System public void SetCookies(System.Uri uri, string cookieHeader) => throw null; } - // Generated from `System.Net.CookieException` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CookieException : System.FormatException, System.Runtime.Serialization.ISerializable { public CookieException() => throw null; @@ -96,7 +92,6 @@ namespace System void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; } - // Generated from `System.Net.CredentialCache` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CredentialCache : System.Collections.IEnumerable, System.Net.ICredentials, System.Net.ICredentialsByHost { public void Add(System.Uri uriPrefix, string authType, System.Net.NetworkCredential cred) => throw null; @@ -111,7 +106,6 @@ namespace System public void Remove(string host, int port, string authenticationType) => throw null; } - // Generated from `System.Net.DecompressionMethods` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DecompressionMethods : int { @@ -122,7 +116,6 @@ namespace System None = 0, } - // Generated from `System.Net.DnsEndPoint` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DnsEndPoint : System.Net.EndPoint { public override System.Net.Sockets.AddressFamily AddressFamily { get => throw null; } @@ -135,7 +128,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.EndPoint` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EndPoint { public virtual System.Net.Sockets.AddressFamily AddressFamily { get => throw null; } @@ -144,7 +136,6 @@ namespace System public virtual System.Net.SocketAddress Serialize() => throw null; } - // Generated from `System.Net.HttpStatusCode` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpStatusCode : int { Accepted = 202, @@ -215,7 +206,6 @@ namespace System VariantAlsoNegotiates = 506, } - // Generated from `System.Net.HttpVersion` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class HttpVersion { public static System.Version Unknown; @@ -225,19 +215,16 @@ namespace System public static System.Version Version30; } - // Generated from `System.Net.ICredentials` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICredentials { System.Net.NetworkCredential GetCredential(System.Uri uri, string authType); } - // Generated from `System.Net.ICredentialsByHost` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICredentialsByHost { System.Net.NetworkCredential GetCredential(string host, int port, string authenticationType); } - // Generated from `System.Net.IPAddress` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IPAddress { public System.Int64 Address { get => throw null; set => throw null; } @@ -282,7 +269,6 @@ namespace System public bool TryWriteBytes(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Net.IPEndPoint` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IPEndPoint : System.Net.EndPoint { public System.Net.IPAddress Address { get => throw null; set => throw null; } @@ -303,7 +289,6 @@ namespace System public static bool TryParse(string s, out System.Net.IPEndPoint result) => throw null; } - // Generated from `System.Net.IWebProxy` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IWebProxy { System.Net.ICredentials Credentials { get; set; } @@ -311,7 +296,6 @@ namespace System bool IsBypassed(System.Uri host); } - // Generated from `System.Net.NetworkCredential` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetworkCredential : System.Net.ICredentials, System.Net.ICredentialsByHost { public string Domain { get => throw null; set => throw null; } @@ -327,7 +311,6 @@ namespace System public string UserName { get => throw null; set => throw null; } } - // Generated from `System.Net.SocketAddress` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SocketAddress { public override bool Equals(object comparand) => throw null; @@ -340,7 +323,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.TransportContext` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TransportContext { public abstract System.Security.Authentication.ExtendedProtection.ChannelBinding GetChannelBinding(System.Security.Authentication.ExtendedProtection.ChannelBindingKind kind); @@ -349,7 +331,6 @@ namespace System namespace Cache { - // Generated from `System.Net.Cache.RequestCacheLevel` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RequestCacheLevel : int { BypassCache = 1, @@ -361,7 +342,6 @@ namespace System Revalidate = 4, } - // Generated from `System.Net.Cache.RequestCachePolicy` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RequestCachePolicy { public System.Net.Cache.RequestCacheLevel Level { get => throw null; } @@ -373,7 +353,6 @@ namespace System } namespace NetworkInformation { - // Generated from `System.Net.NetworkInformation.IPAddressCollection` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IPAddressCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public virtual void Add(System.Net.IPAddress address) => throw null; @@ -392,7 +371,6 @@ namespace System } namespace Security { - // Generated from `System.Net.Security.AuthenticationLevel` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AuthenticationLevel : int { MutualAuthRequested = 1, @@ -400,7 +378,6 @@ namespace System None = 0, } - // Generated from `System.Net.Security.SslPolicyErrors` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SslPolicyErrors : int { @@ -413,7 +390,6 @@ namespace System } namespace Sockets { - // Generated from `System.Net.Sockets.AddressFamily` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AddressFamily : int { AppleTalk = 16, @@ -451,7 +427,6 @@ namespace System VoiceView = 18, } - // Generated from `System.Net.Sockets.SocketError` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SocketError : int { AccessDenied = 10013, @@ -503,7 +478,6 @@ namespace System WouldBlock = 10035, } - // Generated from `System.Net.Sockets.SocketException` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SocketException : System.ComponentModel.Win32Exception { public override int ErrorCode { get => throw null; } @@ -520,7 +494,6 @@ namespace System { namespace Authentication { - // Generated from `System.Security.Authentication.CipherAlgorithmType` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CipherAlgorithmType : int { Aes = 26129, @@ -535,7 +508,6 @@ namespace System TripleDes = 26115, } - // Generated from `System.Security.Authentication.ExchangeAlgorithmType` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ExchangeAlgorithmType : int { DiffieHellman = 43522, @@ -544,7 +516,6 @@ namespace System RsaSign = 9216, } - // Generated from `System.Security.Authentication.HashAlgorithmType` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HashAlgorithmType : int { Md5 = 32771, @@ -555,7 +526,6 @@ namespace System Sha512 = 32782, } - // Generated from `System.Security.Authentication.SslProtocols` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SslProtocols : int { @@ -571,7 +541,6 @@ namespace System namespace ExtendedProtection { - // Generated from `System.Security.Authentication.ExtendedProtection.ChannelBinding` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ChannelBinding : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { protected ChannelBinding() : base(default(bool)) => throw null; @@ -579,7 +548,6 @@ namespace System public abstract int Size { get; } } - // Generated from `System.Security.Authentication.ExtendedProtection.ChannelBindingKind` in `System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ChannelBindingKind : int { Endpoint = 26, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Quic.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Quic.cs index 2aff7d0f279..50defa4c18d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Quic.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Quic.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Quic { - // Generated from `System.Net.Quic.QuicAbortDirection` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum QuicAbortDirection : int { @@ -15,7 +15,6 @@ namespace System Write = 2, } - // Generated from `System.Net.Quic.QuicClientConnectionOptions` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class QuicClientConnectionOptions : System.Net.Quic.QuicConnectionOptions { public System.Net.Security.SslClientAuthenticationOptions ClientAuthenticationOptions { get => throw null; set => throw null; } @@ -24,7 +23,6 @@ namespace System public System.Net.EndPoint RemoteEndPoint { get => throw null; set => throw null; } } - // Generated from `System.Net.Quic.QuicConnection` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class QuicConnection : System.IAsyncDisposable { public System.Threading.Tasks.ValueTask AcceptInboundStreamAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -40,7 +38,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Quic.QuicConnectionOptions` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class QuicConnectionOptions { public System.Int64 DefaultCloseErrorCode { get => throw null; set => throw null; } @@ -51,7 +48,6 @@ namespace System internal QuicConnectionOptions() => throw null; } - // Generated from `System.Net.Quic.QuicError` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum QuicError : int { AddressInUse = 4, @@ -69,7 +65,6 @@ namespace System VersionNegotiationError = 9, } - // Generated from `System.Net.Quic.QuicException` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class QuicException : System.IO.IOException { public System.Int64? ApplicationErrorCode { get => throw null; } @@ -77,7 +72,6 @@ namespace System public QuicException(System.Net.Quic.QuicError error, System.Int64? applicationErrorCode, string message) => throw null; } - // Generated from `System.Net.Quic.QuicListener` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class QuicListener : System.IAsyncDisposable { public System.Threading.Tasks.ValueTask AcceptConnectionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; @@ -88,7 +82,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Quic.QuicListenerOptions` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class QuicListenerOptions { public System.Collections.Generic.List ApplicationProtocols { get => throw null; set => throw null; } @@ -98,14 +91,12 @@ namespace System public QuicListenerOptions() => throw null; } - // Generated from `System.Net.Quic.QuicServerConnectionOptions` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class QuicServerConnectionOptions : System.Net.Quic.QuicConnectionOptions { public QuicServerConnectionOptions() => throw null; public System.Net.Security.SslServerAuthenticationOptions ServerAuthenticationOptions { get => throw null; set => throw null; } } - // Generated from `System.Net.Quic.QuicStream` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class QuicStream : System.IO.Stream { public void Abort(System.Net.Quic.QuicAbortDirection abortDirection, System.Int64 errorCode) => throw null; @@ -145,7 +136,6 @@ namespace System public System.Threading.Tasks.Task WritesClosed { get => throw null; } } - // Generated from `System.Net.Quic.QuicStreamType` in `System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum QuicStreamType : int { Bidirectional = 1, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Requests.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Requests.cs index 781e37ba2cf..6e9d1c2ecad 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Requests.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Requests.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Net { - // Generated from `System.Net.AuthenticationManager` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AuthenticationManager { public static System.Net.Authorization Authenticate(string challenge, System.Net.WebRequest request, System.Net.ICredentials credentials) => throw null; @@ -17,7 +17,6 @@ namespace System public static void Unregister(string authenticationScheme) => throw null; } - // Generated from `System.Net.Authorization` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Authorization { public Authorization(string token) => throw null; @@ -30,7 +29,6 @@ namespace System public string[] ProtectionRealm { get => throw null; set => throw null; } } - // Generated from `System.Net.FileWebRequest` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileWebRequest : System.Net.WebRequest, System.Runtime.Serialization.ISerializable { public override void Abort() => throw null; @@ -58,7 +56,6 @@ namespace System public override bool UseDefaultCredentials { get => throw null; set => throw null; } } - // Generated from `System.Net.FileWebResponse` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileWebResponse : System.Net.WebResponse, System.Runtime.Serialization.ISerializable { public override void Close() => throw null; @@ -73,7 +70,6 @@ namespace System public override bool SupportsHeaders { get => throw null; } } - // Generated from `System.Net.FtpStatusCode` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FtpStatusCode : int { AccountNeeded = 532, @@ -115,7 +111,6 @@ namespace System Undefined = 0, } - // Generated from `System.Net.FtpWebRequest` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FtpWebRequest : System.Net.WebRequest { public override void Abort() => throw null; @@ -148,7 +143,6 @@ namespace System public bool UsePassive { get => throw null; set => throw null; } } - // Generated from `System.Net.FtpWebResponse` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FtpWebResponse : System.Net.WebResponse, System.IDisposable { public string BannerMessage { get => throw null; } @@ -165,7 +159,6 @@ namespace System public string WelcomeMessage { get => throw null; } } - // Generated from `System.Net.GlobalProxySelection` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GlobalProxySelection { public static System.Net.IWebProxy GetEmptyWebProxy() => throw null; @@ -173,10 +166,8 @@ namespace System public static System.Net.IWebProxy Select { get => throw null; set => throw null; } } - // Generated from `System.Net.HttpContinueDelegate` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void HttpContinueDelegate(int StatusCode, System.Net.WebHeaderCollection httpHeaders); - // Generated from `System.Net.HttpWebRequest` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpWebRequest : System.Net.WebRequest, System.Runtime.Serialization.ISerializable { public override void Abort() => throw null; @@ -246,7 +237,6 @@ namespace System public string UserAgent { get => throw null; set => throw null; } } - // Generated from `System.Net.HttpWebResponse` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpWebResponse : System.Net.WebResponse, System.Runtime.Serialization.ISerializable { public string CharacterSet { get => throw null; } @@ -274,7 +264,6 @@ namespace System public override bool SupportsHeaders { get => throw null; } } - // Generated from `System.Net.IAuthenticationModule` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAuthenticationModule { System.Net.Authorization Authenticate(string challenge, System.Net.WebRequest request, System.Net.ICredentials credentials); @@ -283,19 +272,16 @@ namespace System System.Net.Authorization PreAuthenticate(System.Net.WebRequest request, System.Net.ICredentials credentials); } - // Generated from `System.Net.ICredentialPolicy` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICredentialPolicy { bool ShouldSendCredential(System.Uri challengeUri, System.Net.WebRequest request, System.Net.NetworkCredential credential, System.Net.IAuthenticationModule authenticationModule); } - // Generated from `System.Net.IWebRequestCreate` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IWebRequestCreate { System.Net.WebRequest Create(System.Uri uri); } - // Generated from `System.Net.ProtocolViolationException` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProtocolViolationException : System.InvalidOperationException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -305,7 +291,6 @@ namespace System public ProtocolViolationException(string message) => throw null; } - // Generated from `System.Net.WebException` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WebException : System.InvalidOperationException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -320,7 +305,6 @@ namespace System public WebException(string message, System.Net.WebExceptionStatus status) => throw null; } - // Generated from `System.Net.WebExceptionStatus` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WebExceptionStatus : int { CacheEntryNotFound = 18, @@ -346,7 +330,6 @@ namespace System UnknownError = 16, } - // Generated from `System.Net.WebRequest` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class WebRequest : System.MarshalByRefObject, System.Runtime.Serialization.ISerializable { public virtual void Abort() => throw null; @@ -387,10 +370,8 @@ namespace System protected WebRequest(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; } - // Generated from `System.Net.WebRequestMethods` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class WebRequestMethods { - // Generated from `System.Net.WebRequestMethods+File` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class File { public const string DownloadFile = default; @@ -398,7 +379,6 @@ namespace System } - // Generated from `System.Net.WebRequestMethods+Ftp` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Ftp { public const string AppendFile = default; @@ -417,7 +397,6 @@ namespace System } - // Generated from `System.Net.WebRequestMethods+Http` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Http { public const string Connect = default; @@ -431,7 +410,6 @@ namespace System } - // Generated from `System.Net.WebResponse` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class WebResponse : System.MarshalByRefObject, System.IDisposable, System.Runtime.Serialization.ISerializable { public virtual void Close() => throw null; @@ -453,7 +431,6 @@ namespace System namespace Cache { - // Generated from `System.Net.Cache.HttpCacheAgeControl` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpCacheAgeControl : int { MaxAge = 2, @@ -464,7 +441,6 @@ namespace System None = 0, } - // Generated from `System.Net.Cache.HttpRequestCacheLevel` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpRequestCacheLevel : int { BypassCache = 1, @@ -478,7 +454,6 @@ namespace System Revalidate = 4, } - // Generated from `System.Net.Cache.HttpRequestCachePolicy` in `System.Net.Requests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpRequestCachePolicy : System.Net.Cache.RequestCachePolicy { public System.DateTime CacheSyncDate { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Security.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Security.cs index 8d6b982e5a6..120e83ce903 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Security.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Security.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Security { - // Generated from `System.Net.Security.AuthenticatedStream` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class AuthenticatedStream : System.IO.Stream { protected AuthenticatedStream(System.IO.Stream innerStream, bool leaveInnerStreamOpen) => throw null; @@ -21,14 +21,12 @@ namespace System public bool LeaveInnerStreamOpen { get => throw null; } } - // Generated from `System.Net.Security.CipherSuitesPolicy` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CipherSuitesPolicy { public System.Collections.Generic.IEnumerable AllowedCipherSuites { get => throw null; } public CipherSuitesPolicy(System.Collections.Generic.IEnumerable allowedCipherSuites) => throw null; } - // Generated from `System.Net.Security.EncryptionPolicy` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EncryptionPolicy : int { AllowNoEncryption = 1, @@ -36,10 +34,8 @@ namespace System RequireEncryption = 0, } - // Generated from `System.Net.Security.LocalCertificateSelectionCallback` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.Security.Cryptography.X509Certificates.X509Certificate LocalCertificateSelectionCallback(object sender, string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection localCertificates, System.Security.Cryptography.X509Certificates.X509Certificate remoteCertificate, string[] acceptableIssuers); - // Generated from `System.Net.Security.NegotiateAuthentication` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NegotiateAuthentication : System.IDisposable { public void Dispose() => throw null; @@ -62,7 +58,6 @@ namespace System public System.Net.Security.NegotiateAuthenticationStatusCode Wrap(System.ReadOnlySpan input, System.Buffers.IBufferWriter outputWriter, bool requestEncryption, out bool isEncrypted) => throw null; } - // Generated from `System.Net.Security.NegotiateAuthenticationClientOptions` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NegotiateAuthenticationClientOptions { public System.Security.Principal.TokenImpersonationLevel AllowedImpersonationLevel { get => throw null; set => throw null; } @@ -75,7 +70,6 @@ namespace System public string TargetName { get => throw null; set => throw null; } } - // Generated from `System.Net.Security.NegotiateAuthenticationServerOptions` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NegotiateAuthenticationServerOptions { public System.Security.Authentication.ExtendedProtection.ChannelBinding Binding { get => throw null; set => throw null; } @@ -87,7 +81,6 @@ namespace System public System.Net.Security.ProtectionLevel RequiredProtectionLevel { get => throw null; set => throw null; } } - // Generated from `System.Net.Security.NegotiateAuthenticationStatusCode` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NegotiateAuthenticationStatusCode : int { BadBinding = 3, @@ -108,7 +101,6 @@ namespace System Unsupported = 4, } - // Generated from `System.Net.Security.NegotiateStream` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NegotiateStream : System.Net.Security.AuthenticatedStream { public virtual void AuthenticateAsClient() => throw null; @@ -175,7 +167,6 @@ namespace System public override int WriteTimeout { get => throw null; set => throw null; } } - // Generated from `System.Net.Security.ProtectionLevel` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProtectionLevel : int { EncryptAndSign = 2, @@ -183,16 +174,12 @@ namespace System Sign = 1, } - // Generated from `System.Net.Security.RemoteCertificateValidationCallback` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate bool RemoteCertificateValidationCallback(object sender, System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Security.Cryptography.X509Certificates.X509Chain chain, System.Net.Security.SslPolicyErrors sslPolicyErrors); - // Generated from `System.Net.Security.ServerCertificateSelectionCallback` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.Security.Cryptography.X509Certificates.X509Certificate ServerCertificateSelectionCallback(object sender, string hostName); - // Generated from `System.Net.Security.ServerOptionsSelectionCallback` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.Threading.Tasks.ValueTask ServerOptionsSelectionCallback(System.Net.Security.SslStream stream, System.Net.Security.SslClientHelloInfo clientHelloInfo, object state, System.Threading.CancellationToken cancellationToken); - // Generated from `System.Net.Security.SslApplicationProtocol` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SslApplicationProtocol : System.IEquatable { public static bool operator !=(System.Net.Security.SslApplicationProtocol left, System.Net.Security.SslApplicationProtocol right) => throw null; @@ -210,14 +197,12 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Net.Security.SslCertificateTrust` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SslCertificateTrust { public static System.Net.Security.SslCertificateTrust CreateForX509Collection(System.Security.Cryptography.X509Certificates.X509Certificate2Collection trustList, bool sendTrustInHandshake = default(bool)) => throw null; public static System.Net.Security.SslCertificateTrust CreateForX509Store(System.Security.Cryptography.X509Certificates.X509Store store, bool sendTrustInHandshake = default(bool)) => throw null; } - // Generated from `System.Net.Security.SslClientAuthenticationOptions` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SslClientAuthenticationOptions { public bool AllowRenegotiation { get => throw null; set => throw null; } @@ -234,7 +219,6 @@ namespace System public string TargetHost { get => throw null; set => throw null; } } - // Generated from `System.Net.Security.SslClientHelloInfo` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SslClientHelloInfo { public string ServerName { get => throw null; } @@ -242,7 +226,6 @@ namespace System public System.Security.Authentication.SslProtocols SslProtocols { get => throw null; } } - // Generated from `System.Net.Security.SslServerAuthenticationOptions` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SslServerAuthenticationOptions { public bool AllowRenegotiation { get => throw null; set => throw null; } @@ -260,7 +243,6 @@ namespace System public SslServerAuthenticationOptions() => throw null; } - // Generated from `System.Net.Security.SslStream` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SslStream : System.Net.Security.AuthenticatedStream { public void AuthenticateAsClient(System.Net.Security.SslClientAuthenticationOptions sslClientAuthenticationOptions) => throw null; @@ -343,14 +325,12 @@ namespace System // ERR: Stub generator didn't handle member: ~SslStream } - // Generated from `System.Net.Security.SslStreamCertificateContext` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SslStreamCertificateContext { public static System.Net.Security.SslStreamCertificateContext Create(System.Security.Cryptography.X509Certificates.X509Certificate2 target, System.Security.Cryptography.X509Certificates.X509Certificate2Collection additionalCertificates, bool offline) => throw null; public static System.Net.Security.SslStreamCertificateContext Create(System.Security.Cryptography.X509Certificates.X509Certificate2 target, System.Security.Cryptography.X509Certificates.X509Certificate2Collection additionalCertificates, bool offline = default(bool), System.Net.Security.SslCertificateTrust trust = default(System.Net.Security.SslCertificateTrust)) => throw null; } - // Generated from `System.Net.Security.TlsCipherSuite` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TlsCipherSuite : ushort { TLS_AES_128_CCM_8_SHA256 = 4869, @@ -698,7 +678,6 @@ namespace System { namespace Authentication { - // Generated from `System.Security.Authentication.AuthenticationException` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AuthenticationException : System.SystemException { public AuthenticationException() => throw null; @@ -707,7 +686,6 @@ namespace System public AuthenticationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Security.Authentication.InvalidCredentialException` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidCredentialException : System.Security.Authentication.AuthenticationException { public InvalidCredentialException() => throw null; @@ -718,7 +696,6 @@ namespace System namespace ExtendedProtection { - // Generated from `System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExtendedProtectionPolicy : System.Runtime.Serialization.ISerializable { public System.Security.Authentication.ExtendedProtection.ChannelBinding CustomChannelBinding { get => throw null; } @@ -735,7 +712,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Security.Authentication.ExtendedProtection.PolicyEnforcement` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PolicyEnforcement : int { Always = 2, @@ -743,14 +719,12 @@ namespace System WhenSupported = 1, } - // Generated from `System.Security.Authentication.ExtendedProtection.ProtectionScenario` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProtectionScenario : int { TransportSelected = 0, TrustedProxy = 1, } - // Generated from `System.Security.Authentication.ExtendedProtection.ServiceNameCollection` in `System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ServiceNameCollection : System.Collections.ReadOnlyCollectionBase { public bool Contains(string searchServiceName) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.ServicePoint.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.ServicePoint.cs index 4a700f7c884..650ae555c90 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.ServicePoint.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.ServicePoint.cs @@ -1,13 +1,12 @@ // This file contains auto-generated code. +// Generated from `System.Net.ServicePoint, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { namespace Net { - // Generated from `System.Net.BindIPEndPoint` in `System.Net.ServicePoint, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate System.Net.IPEndPoint BindIPEndPoint(System.Net.ServicePoint servicePoint, System.Net.IPEndPoint remoteEndPoint, int retryCount); - // Generated from `System.Net.SecurityProtocolType` in `System.Net.ServicePoint, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum SecurityProtocolType : int { @@ -19,7 +18,6 @@ namespace System Tls13 = 12288, } - // Generated from `System.Net.ServicePoint` in `System.Net.ServicePoint, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ServicePoint { public System.Uri Address { get => throw null; } @@ -41,7 +39,6 @@ namespace System public bool UseNagleAlgorithm { get => throw null; set => throw null; } } - // Generated from `System.Net.ServicePointManager` in `System.Net.ServicePoint, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ServicePointManager { public static bool CheckCertificateRevocationList { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Sockets.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Sockets.cs index e54cd71530c..9efd737ad71 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Sockets.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.Sockets.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Sockets { - // Generated from `System.Net.Sockets.IOControlCode` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum IOControlCode : long { AbsorbRouterAlert = 2550136837, @@ -45,7 +45,6 @@ namespace System UnicastInterface = 2550136838, } - // Generated from `System.Net.Sockets.IPPacketInformation` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct IPPacketInformation : System.IEquatable { public static bool operator !=(System.Net.Sockets.IPPacketInformation packetInformation1, System.Net.Sockets.IPPacketInformation packetInformation2) => throw null; @@ -58,7 +57,6 @@ namespace System public int Interface { get => throw null; } } - // Generated from `System.Net.Sockets.IPProtectionLevel` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum IPProtectionLevel : int { EdgeRestricted = 20, @@ -67,7 +65,6 @@ namespace System Unspecified = -1, } - // Generated from `System.Net.Sockets.IPv6MulticastOption` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IPv6MulticastOption { public System.Net.IPAddress Group { get => throw null; set => throw null; } @@ -76,7 +73,6 @@ namespace System public System.Int64 InterfaceIndex { get => throw null; set => throw null; } } - // Generated from `System.Net.Sockets.LingerOption` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LingerOption { public bool Enabled { get => throw null; set => throw null; } @@ -84,7 +80,6 @@ namespace System public int LingerTime { get => throw null; set => throw null; } } - // Generated from `System.Net.Sockets.MulticastOption` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MulticastOption { public System.Net.IPAddress Group { get => throw null; set => throw null; } @@ -95,7 +90,6 @@ namespace System public MulticastOption(System.Net.IPAddress group, int interfaceIndex) => throw null; } - // Generated from `System.Net.Sockets.NetworkStream` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetworkStream : System.IO.Stream { public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; @@ -138,7 +132,6 @@ namespace System // ERR: Stub generator didn't handle member: ~NetworkStream } - // Generated from `System.Net.Sockets.ProtocolFamily` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProtocolFamily : int { AppleTalk = 16, @@ -176,7 +169,6 @@ namespace System VoiceView = 18, } - // Generated from `System.Net.Sockets.ProtocolType` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProtocolType : int { Ggp = 3, @@ -206,7 +198,6 @@ namespace System Unspecified = 0, } - // Generated from `System.Net.Sockets.SafeSocketHandle` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeSocketHandle : Microsoft.Win32.SafeHandles.SafeHandleMinusOneIsInvalid { public override bool IsInvalid { get => throw null; } @@ -215,7 +206,6 @@ namespace System public SafeSocketHandle(System.IntPtr preexistingHandle, bool ownsHandle) : base(default(bool)) => throw null; } - // Generated from `System.Net.Sockets.SelectMode` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SelectMode : int { SelectError = 2, @@ -223,7 +213,6 @@ namespace System SelectWrite = 1, } - // Generated from `System.Net.Sockets.SendPacketsElement` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SendPacketsElement { public System.Byte[] Buffer { get => throw null; } @@ -249,7 +238,6 @@ namespace System public SendPacketsElement(string filepath, System.Int64 offset, int count, bool endOfPacket) => throw null; } - // Generated from `System.Net.Sockets.Socket` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Socket : System.IDisposable { public System.Net.Sockets.Socket Accept() => throw null; @@ -442,7 +430,6 @@ namespace System // ERR: Stub generator didn't handle member: ~Socket } - // Generated from `System.Net.Sockets.SocketAsyncEventArgs` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SocketAsyncEventArgs : System.EventArgs, System.IDisposable { public System.Net.Sockets.Socket AcceptSocket { get => throw null; set => throw null; } @@ -475,7 +462,6 @@ namespace System // ERR: Stub generator didn't handle member: ~SocketAsyncEventArgs } - // Generated from `System.Net.Sockets.SocketAsyncOperation` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SocketAsyncOperation : int { Accept = 1, @@ -490,7 +476,6 @@ namespace System SendTo = 9, } - // Generated from `System.Net.Sockets.SocketFlags` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SocketFlags : int { @@ -505,7 +490,6 @@ namespace System Truncated = 256, } - // Generated from `System.Net.Sockets.SocketInformation` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SocketInformation { public System.Net.Sockets.SocketInformationOptions Options { get => throw null; set => throw null; } @@ -513,7 +497,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Net.Sockets.SocketInformationOptions` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SocketInformationOptions : int { @@ -523,7 +506,6 @@ namespace System UseOnlyOverlappedIO = 8, } - // Generated from `System.Net.Sockets.SocketOptionLevel` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SocketOptionLevel : int { IP = 0, @@ -533,7 +515,6 @@ namespace System Udp = 17, } - // Generated from `System.Net.Sockets.SocketOptionName` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SocketOptionName : int { AcceptConnection = 2, @@ -587,7 +568,6 @@ namespace System UseLoopback = 64, } - // Generated from `System.Net.Sockets.SocketReceiveFromResult` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SocketReceiveFromResult { public int ReceivedBytes; @@ -595,7 +575,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Net.Sockets.SocketReceiveMessageFromResult` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SocketReceiveMessageFromResult { public System.Net.Sockets.IPPacketInformation PacketInformation; @@ -605,7 +584,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Net.Sockets.SocketShutdown` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SocketShutdown : int { Both = 2, @@ -613,7 +591,6 @@ namespace System Send = 1, } - // Generated from `System.Net.Sockets.SocketTaskExtensions` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class SocketTaskExtensions { public static System.Threading.Tasks.Task AcceptAsync(this System.Net.Sockets.Socket socket) => throw null; @@ -637,7 +614,6 @@ namespace System public static System.Threading.Tasks.Task SendToAsync(this System.Net.Sockets.Socket socket, System.ArraySegment buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) => throw null; } - // Generated from `System.Net.Sockets.SocketType` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SocketType : int { Dgram = 2, @@ -648,7 +624,6 @@ namespace System Unknown = -1, } - // Generated from `System.Net.Sockets.TcpClient` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TcpClient : System.IDisposable { protected bool Active { get => throw null; set => throw null; } @@ -689,7 +664,6 @@ namespace System // ERR: Stub generator didn't handle member: ~TcpClient } - // Generated from `System.Net.Sockets.TcpListener` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TcpListener { public System.Net.Sockets.Socket AcceptSocket() => throw null; @@ -717,7 +691,6 @@ namespace System public TcpListener(int port) => throw null; } - // Generated from `System.Net.Sockets.TransmitFileOptions` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TransmitFileOptions : int { @@ -729,7 +702,6 @@ namespace System WriteBehind = 4, } - // Generated from `System.Net.Sockets.UdpClient` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UdpClient : System.IDisposable { protected bool Active { get => throw null; set => throw null; } @@ -782,7 +754,6 @@ namespace System public UdpClient(string hostname, int port) => throw null; } - // Generated from `System.Net.Sockets.UdpReceiveResult` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct UdpReceiveResult : System.IEquatable { public static bool operator !=(System.Net.Sockets.UdpReceiveResult left, System.Net.Sockets.UdpReceiveResult right) => throw null; @@ -796,7 +767,6 @@ namespace System public UdpReceiveResult(System.Byte[] buffer, System.Net.IPEndPoint remoteEndPoint) => throw null; } - // Generated from `System.Net.Sockets.UnixDomainSocketEndPoint` in `System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnixDomainSocketEndPoint : System.Net.EndPoint { public override System.Net.Sockets.AddressFamily AddressFamily { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebClient.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebClient.cs index 29e1977324b..729b6fe0355 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebClient.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebClient.cs @@ -1,20 +1,18 @@ // This file contains auto-generated code. +// Generated from `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { namespace Net { - // Generated from `System.Net.DownloadDataCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DownloadDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { internal DownloadDataCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; public System.Byte[] Result { get => throw null; } } - // Generated from `System.Net.DownloadDataCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void DownloadDataCompletedEventHandler(object sender, System.Net.DownloadDataCompletedEventArgs e); - // Generated from `System.Net.DownloadProgressChangedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DownloadProgressChangedEventArgs : System.ComponentModel.ProgressChangedEventArgs { public System.Int64 BytesReceived { get => throw null; } @@ -22,60 +20,48 @@ namespace System public System.Int64 TotalBytesToReceive { get => throw null; } } - // Generated from `System.Net.DownloadProgressChangedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void DownloadProgressChangedEventHandler(object sender, System.Net.DownloadProgressChangedEventArgs e); - // Generated from `System.Net.DownloadStringCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DownloadStringCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { internal DownloadStringCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; public string Result { get => throw null; } } - // Generated from `System.Net.DownloadStringCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void DownloadStringCompletedEventHandler(object sender, System.Net.DownloadStringCompletedEventArgs e); - // Generated from `System.Net.OpenReadCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class OpenReadCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { internal OpenReadCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; public System.IO.Stream Result { get => throw null; } } - // Generated from `System.Net.OpenReadCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void OpenReadCompletedEventHandler(object sender, System.Net.OpenReadCompletedEventArgs e); - // Generated from `System.Net.OpenWriteCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class OpenWriteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { internal OpenWriteCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; public System.IO.Stream Result { get => throw null; } } - // Generated from `System.Net.OpenWriteCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void OpenWriteCompletedEventHandler(object sender, System.Net.OpenWriteCompletedEventArgs e); - // Generated from `System.Net.UploadDataCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UploadDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { public System.Byte[] Result { get => throw null; } internal UploadDataCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; } - // Generated from `System.Net.UploadDataCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void UploadDataCompletedEventHandler(object sender, System.Net.UploadDataCompletedEventArgs e); - // Generated from `System.Net.UploadFileCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UploadFileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { public System.Byte[] Result { get => throw null; } internal UploadFileCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; } - // Generated from `System.Net.UploadFileCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void UploadFileCompletedEventHandler(object sender, System.Net.UploadFileCompletedEventArgs e); - // Generated from `System.Net.UploadProgressChangedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UploadProgressChangedEventArgs : System.ComponentModel.ProgressChangedEventArgs { public System.Int64 BytesReceived { get => throw null; } @@ -85,30 +71,24 @@ namespace System internal UploadProgressChangedEventArgs() : base(default(int), default(object)) => throw null; } - // Generated from `System.Net.UploadProgressChangedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void UploadProgressChangedEventHandler(object sender, System.Net.UploadProgressChangedEventArgs e); - // Generated from `System.Net.UploadStringCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UploadStringCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { public string Result { get => throw null; } internal UploadStringCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; } - // Generated from `System.Net.UploadStringCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void UploadStringCompletedEventHandler(object sender, System.Net.UploadStringCompletedEventArgs e); - // Generated from `System.Net.UploadValuesCompletedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UploadValuesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { public System.Byte[] Result { get => throw null; } internal UploadValuesCompletedEventArgs() : base(default(System.Exception), default(bool), default(object)) => throw null; } - // Generated from `System.Net.UploadValuesCompletedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void UploadValuesCompletedEventHandler(object sender, System.Net.UploadValuesCompletedEventArgs e); - // Generated from `System.Net.WebClient` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class WebClient : System.ComponentModel.Component { public bool AllowReadStreamBuffering { get => throw null; set => throw null; } @@ -233,14 +213,12 @@ namespace System public event System.Net.WriteStreamClosedEventHandler WriteStreamClosed; } - // Generated from `System.Net.WriteStreamClosedEventArgs` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class WriteStreamClosedEventArgs : System.EventArgs { public System.Exception Error { get => throw null; } public WriteStreamClosedEventArgs() => throw null; } - // Generated from `System.Net.WriteStreamClosedEventHandler` in `System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void WriteStreamClosedEventHandler(object sender, System.Net.WriteStreamClosedEventArgs e); } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebHeaderCollection.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebHeaderCollection.cs index 42faf5eb8a1..be08fd414a2 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebHeaderCollection.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebHeaderCollection.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Net.WebHeaderCollection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Net { - // Generated from `System.Net.HttpRequestHeader` in `System.Net.WebHeaderCollection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpRequestHeader : int { Accept = 20, @@ -50,7 +50,6 @@ namespace System Warning = 9, } - // Generated from `System.Net.HttpResponseHeader` in `System.Net.WebHeaderCollection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HttpResponseHeader : int { AcceptRanges = 20, @@ -85,7 +84,6 @@ namespace System WwwAuthenticate = 29, } - // Generated from `System.Net.WebHeaderCollection` in `System.Net.WebHeaderCollection, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WebHeaderCollection : System.Collections.Specialized.NameValueCollection, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable { public void Add(System.Net.HttpRequestHeader header, string value) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebProxy.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebProxy.cs index 68cac788088..f5a422f5129 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebProxy.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebProxy.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Net.WebProxy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { namespace Net { - // Generated from `System.Net.IWebProxyScript` in `System.Net.WebProxy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IWebProxyScript { void Close(); @@ -12,7 +12,6 @@ namespace System string Run(string url, string host); } - // Generated from `System.Net.WebProxy` in `System.Net.WebProxy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class WebProxy : System.Net.IWebProxy, System.Runtime.Serialization.ISerializable { public System.Uri Address { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.Client.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.Client.cs index 51edf59cefd..486479ac3a5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.Client.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.Client.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Net.WebSockets.Client, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace WebSockets { - // Generated from `System.Net.WebSockets.ClientWebSocket` in `System.Net.WebSockets.Client, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ClientWebSocket : System.Net.WebSockets.WebSocket { public override void Abort() => throw null; @@ -29,7 +29,6 @@ namespace System public override string SubProtocol { get => throw null; } } - // Generated from `System.Net.WebSockets.ClientWebSocketOptions` in `System.Net.WebSockets.Client, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ClientWebSocketOptions { public void AddSubProtocol(string subProtocol) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.cs index fb1aa81c592..ba6ea1f8d3b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Net.WebSockets.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace WebSockets { - // Generated from `System.Net.WebSockets.ValueWebSocketReceiveResult` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueWebSocketReceiveResult { public int Count { get => throw null; } @@ -16,7 +16,6 @@ namespace System public ValueWebSocketReceiveResult(int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage) => throw null; } - // Generated from `System.Net.WebSockets.WebSocket` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class WebSocket : System.IDisposable { public abstract void Abort(); @@ -45,7 +44,6 @@ namespace System protected WebSocket() => throw null; } - // Generated from `System.Net.WebSockets.WebSocketCloseStatus` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WebSocketCloseStatus : int { Empty = 1005, @@ -60,7 +58,6 @@ namespace System ProtocolError = 1002, } - // Generated from `System.Net.WebSockets.WebSocketContext` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class WebSocketContext { public abstract System.Net.CookieCollection CookieCollection { get; } @@ -78,7 +75,6 @@ namespace System protected WebSocketContext() => throw null; } - // Generated from `System.Net.WebSockets.WebSocketCreationOptions` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WebSocketCreationOptions { public System.Net.WebSockets.WebSocketDeflateOptions DangerousDeflateOptions { get => throw null; set => throw null; } @@ -88,7 +84,6 @@ namespace System public WebSocketCreationOptions() => throw null; } - // Generated from `System.Net.WebSockets.WebSocketDeflateOptions` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WebSocketDeflateOptions { public bool ClientContextTakeover { get => throw null; set => throw null; } @@ -98,7 +93,6 @@ namespace System public WebSocketDeflateOptions() => throw null; } - // Generated from `System.Net.WebSockets.WebSocketError` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WebSocketError : int { ConnectionClosedPrematurely = 8, @@ -113,7 +107,6 @@ namespace System UnsupportedVersion = 5, } - // Generated from `System.Net.WebSockets.WebSocketException` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WebSocketException : System.ComponentModel.Win32Exception { public override int ErrorCode { get => throw null; } @@ -135,7 +128,6 @@ namespace System public WebSocketException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Net.WebSockets.WebSocketMessageFlags` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum WebSocketMessageFlags : int { @@ -144,7 +136,6 @@ namespace System None = 0, } - // Generated from `System.Net.WebSockets.WebSocketMessageType` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WebSocketMessageType : int { Binary = 1, @@ -152,7 +143,6 @@ namespace System Text = 0, } - // Generated from `System.Net.WebSockets.WebSocketReceiveResult` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WebSocketReceiveResult { public System.Net.WebSockets.WebSocketCloseStatus? CloseStatus { get => throw null; } @@ -164,7 +154,6 @@ namespace System public WebSocketReceiveResult(int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage, System.Net.WebSockets.WebSocketCloseStatus? closeStatus, string closeStatusDescription) => throw null; } - // Generated from `System.Net.WebSockets.WebSocketState` in `System.Net.WebSockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WebSocketState : int { Aborted = 6, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Numerics.Vectors.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Numerics.Vectors.cs index ca976fb5d78..f4f9d830a0b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Numerics.Vectors.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Numerics.Vectors.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Numerics { - // Generated from `System.Numerics.Matrix3x2` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Matrix3x2 : System.IEquatable { public static bool operator !=(System.Numerics.Matrix3x2 value1, System.Numerics.Matrix3x2 value2) => throw null; @@ -52,7 +52,6 @@ namespace System public System.Numerics.Vector2 Translation { get => throw null; set => throw null; } } - // Generated from `System.Numerics.Matrix4x4` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Matrix4x4 : System.IEquatable { public static bool operator !=(System.Numerics.Matrix4x4 value1, System.Numerics.Matrix4x4 value2) => throw null; @@ -130,7 +129,6 @@ namespace System public static System.Numerics.Matrix4x4 Transpose(System.Numerics.Matrix4x4 matrix) => throw null; } - // Generated from `System.Numerics.Plane` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Plane : System.IEquatable { public static bool operator !=(System.Numerics.Plane value1, System.Numerics.Plane value2) => throw null; @@ -154,7 +152,6 @@ namespace System public static System.Numerics.Plane Transform(System.Numerics.Plane plane, System.Numerics.Quaternion rotation) => throw null; } - // Generated from `System.Numerics.Quaternion` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Quaternion : System.IEquatable { public static bool operator !=(System.Numerics.Quaternion value1, System.Numerics.Quaternion value2) => throw null; @@ -200,7 +197,6 @@ namespace System public static System.Numerics.Quaternion Zero { get => throw null; } } - // Generated from `System.Numerics.Vector` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Vector { public static System.Numerics.Vector Abs(System.Numerics.Vector value) where T : struct => throw null; @@ -326,7 +322,6 @@ namespace System public static System.Numerics.Vector Xor(System.Numerics.Vector left, System.Numerics.Vector right) where T : struct => throw null; } - // Generated from `System.Numerics.Vector2` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Vector2 : System.IEquatable, System.IFormattable { public static bool operator !=(System.Numerics.Vector2 left, System.Numerics.Vector2 right) => throw null; @@ -388,7 +383,6 @@ namespace System public static System.Numerics.Vector2 Zero { get => throw null; } } - // Generated from `System.Numerics.Vector3` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Vector3 : System.IEquatable, System.IFormattable { public static bool operator !=(System.Numerics.Vector3 left, System.Numerics.Vector3 right) => throw null; @@ -452,7 +446,6 @@ namespace System public static System.Numerics.Vector3 Zero { get => throw null; } } - // Generated from `System.Numerics.Vector4` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Vector4 : System.IEquatable, System.IFormattable { public static bool operator !=(System.Numerics.Vector4 left, System.Numerics.Vector4 right) => throw null; @@ -520,7 +513,6 @@ namespace System public static System.Numerics.Vector4 Zero { get => throw null; } } - // Generated from `System.Numerics.Vector<>` in `System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Vector : System.IEquatable>, System.IFormattable where T : struct { public static bool operator !=(System.Numerics.Vector left, System.Numerics.Vector right) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ObjectModel.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ObjectModel.cs index 606d485cd9f..1bad4e4e0dc 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ObjectModel.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.ObjectModel.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace ObjectModel { - // Generated from `System.Collections.ObjectModel.KeyedCollection<,>` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class KeyedCollection : System.Collections.ObjectModel.Collection { protected void ChangeItemKey(TItem item, TKey newKey) => throw null; @@ -26,7 +26,6 @@ namespace System public bool TryGetValue(TKey key, out TItem item) => throw null; } - // Generated from `System.Collections.ObjectModel.ObservableCollection<>` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObservableCollection : System.Collections.ObjectModel.Collection, System.Collections.Specialized.INotifyCollectionChanged, System.ComponentModel.INotifyPropertyChanged { protected System.IDisposable BlockReentrancy() => throw null; @@ -47,7 +46,6 @@ namespace System protected override void SetItem(int index, T item) => throw null; } - // Generated from `System.Collections.ObjectModel.ReadOnlyObservableCollection<>` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReadOnlyObservableCollection : System.Collections.ObjectModel.ReadOnlyCollection, System.Collections.Specialized.INotifyCollectionChanged, System.ComponentModel.INotifyPropertyChanged { protected virtual event System.Collections.Specialized.NotifyCollectionChangedEventHandler CollectionChanged; @@ -62,13 +60,11 @@ namespace System } namespace Specialized { - // Generated from `System.Collections.Specialized.INotifyCollectionChanged` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INotifyCollectionChanged { event System.Collections.Specialized.NotifyCollectionChangedEventHandler CollectionChanged; } - // Generated from `System.Collections.Specialized.NotifyCollectionChangedAction` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NotifyCollectionChangedAction : int { Add = 0, @@ -78,7 +74,6 @@ namespace System Reset = 4, } - // Generated from `System.Collections.Specialized.NotifyCollectionChangedEventArgs` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotifyCollectionChangedEventArgs : System.EventArgs { public System.Collections.Specialized.NotifyCollectionChangedAction Action { get => throw null; } @@ -99,21 +94,18 @@ namespace System public int OldStartingIndex { get => throw null; } } - // Generated from `System.Collections.Specialized.NotifyCollectionChangedEventHandler` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void NotifyCollectionChangedEventHandler(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e); } } namespace ComponentModel { - // Generated from `System.ComponentModel.DataErrorsChangedEventArgs` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataErrorsChangedEventArgs : System.EventArgs { public DataErrorsChangedEventArgs(string propertyName) => throw null; public virtual string PropertyName { get => throw null; } } - // Generated from `System.ComponentModel.INotifyDataErrorInfo` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INotifyDataErrorInfo { event System.EventHandler ErrorsChanged; @@ -121,39 +113,32 @@ namespace System bool HasErrors { get; } } - // Generated from `System.ComponentModel.INotifyPropertyChanged` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INotifyPropertyChanged { event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; } - // Generated from `System.ComponentModel.INotifyPropertyChanging` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INotifyPropertyChanging { event System.ComponentModel.PropertyChangingEventHandler PropertyChanging; } - // Generated from `System.ComponentModel.PropertyChangedEventArgs` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PropertyChangedEventArgs : System.EventArgs { public PropertyChangedEventArgs(string propertyName) => throw null; public virtual string PropertyName { get => throw null; } } - // Generated from `System.ComponentModel.PropertyChangedEventHandler` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void PropertyChangedEventHandler(object sender, System.ComponentModel.PropertyChangedEventArgs e); - // Generated from `System.ComponentModel.PropertyChangingEventArgs` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PropertyChangingEventArgs : System.EventArgs { public PropertyChangingEventArgs(string propertyName) => throw null; public virtual string PropertyName { get => throw null; } } - // Generated from `System.ComponentModel.PropertyChangingEventHandler` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void PropertyChangingEventHandler(object sender, System.ComponentModel.PropertyChangingEventArgs e); - // Generated from `System.ComponentModel.TypeConverterAttribute` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeConverterAttribute : System.Attribute { public string ConverterTypeName { get => throw null; } @@ -165,7 +150,6 @@ namespace System public TypeConverterAttribute(string typeName) => throw null; } - // Generated from `System.ComponentModel.TypeDescriptionProviderAttribute` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeDescriptionProviderAttribute : System.Attribute { public TypeDescriptionProviderAttribute(System.Type type) => throw null; @@ -176,7 +160,6 @@ namespace System } namespace Reflection { - // Generated from `System.Reflection.ICustomTypeProvider` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomTypeProvider { System.Type GetCustomType(); @@ -187,7 +170,6 @@ namespace System { namespace Input { - // Generated from `System.Windows.Input.ICommand` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICommand { bool CanExecute(object parameter); @@ -198,7 +180,6 @@ namespace System } namespace Markup { - // Generated from `System.Windows.Markup.ValueSerializerAttribute` in `System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValueSerializerAttribute : System.Attribute { public ValueSerializerAttribute(System.Type valueSerializerType) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.DispatchProxy.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.DispatchProxy.cs index 7c4cac537a1..e22c1633dc8 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.DispatchProxy.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.DispatchProxy.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Reflection.DispatchProxy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Reflection { - // Generated from `System.Reflection.DispatchProxy` in `System.Reflection.DispatchProxy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DispatchProxy { public static T Create() where TProxy : System.Reflection.DispatchProxy => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.ILGeneration.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.ILGeneration.cs index f4834738599..dc68bdfcac8 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.ILGeneration.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.ILGeneration.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Emit { - // Generated from `System.Reflection.Emit.CustomAttributeBuilder` in `System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CustomAttributeBuilder { public CustomAttributeBuilder(System.Reflection.ConstructorInfo con, object[] constructorArgs) => throw null; @@ -15,7 +15,6 @@ namespace System public CustomAttributeBuilder(System.Reflection.ConstructorInfo con, object[] constructorArgs, System.Reflection.PropertyInfo[] namedProperties, object[] propertyValues, System.Reflection.FieldInfo[] namedFields, object[] fieldValues) => throw null; } - // Generated from `System.Reflection.Emit.ILGenerator` in `System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ILGenerator { public virtual void BeginCatchBlock(System.Type exceptionType) => throw null; @@ -58,7 +57,6 @@ namespace System public virtual void UsingNamespace(string usingNamespace) => throw null; } - // Generated from `System.Reflection.Emit.Label` in `System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Label : System.IEquatable { public static bool operator !=(System.Reflection.Emit.Label a, System.Reflection.Emit.Label b) => throw null; @@ -69,7 +67,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Emit.LocalBuilder` in `System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LocalBuilder : System.Reflection.LocalVariableInfo { public override bool IsPinned { get => throw null; } @@ -77,7 +74,6 @@ namespace System public override System.Type LocalType { get => throw null; } } - // Generated from `System.Reflection.Emit.ParameterBuilder` in `System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParameterBuilder { public virtual int Attributes { get => throw null; } @@ -91,7 +87,6 @@ namespace System public void SetCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder customBuilder) => throw null; } - // Generated from `System.Reflection.Emit.SignatureHelper` in `System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SignatureHelper { public void AddArgument(System.Type clsArgument) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.Lightweight.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.Lightweight.cs index c8e9c9d52de..0664619a85e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.Lightweight.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.Lightweight.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Reflection.Emit.Lightweight, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Emit { - // Generated from `System.Reflection.Emit.DynamicILInfo` in `System.Reflection.Emit.Lightweight, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicILInfo { public System.Reflection.Emit.DynamicMethod DynamicMethod { get => throw null; } @@ -26,7 +26,6 @@ namespace System unsafe public void SetLocalSignature(System.Byte* localSignature, int signatureSize) => throw null; } - // Generated from `System.Reflection.Emit.DynamicMethod` in `System.Reflection.Emit.Lightweight, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicMethod : System.Reflection.MethodInfo { public override System.Reflection.MethodAttributes Attributes { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.cs index 692af451e47..abf531b9ec5 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Emit.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Emit { - // Generated from `System.Reflection.Emit.AssemblyBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyBuilder : System.Reflection.Assembly { public override string CodeBase { get => throw null; } @@ -47,7 +47,6 @@ namespace System public void SetCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder customBuilder) => throw null; } - // Generated from `System.Reflection.Emit.AssemblyBuilderAccess` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AssemblyBuilderAccess : int { @@ -55,7 +54,6 @@ namespace System RunAndCollect = 9, } - // Generated from `System.Reflection.Emit.ConstructorBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConstructorBuilder : System.Reflection.ConstructorInfo { public override System.Reflection.MethodAttributes Attributes { get => throw null; } @@ -83,7 +81,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.Emit.EnumBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumBuilder : System.Reflection.TypeInfo { public override System.Reflection.Assembly Assembly { get => throw null; } @@ -147,7 +144,6 @@ namespace System public override System.Type UnderlyingSystemType { get => throw null; } } - // Generated from `System.Reflection.Emit.EventBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventBuilder { public void AddOtherMethod(System.Reflection.Emit.MethodBuilder mdBuilder) => throw null; @@ -158,7 +154,6 @@ namespace System public void SetRemoveOnMethod(System.Reflection.Emit.MethodBuilder mdBuilder) => throw null; } - // Generated from `System.Reflection.Emit.FieldBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FieldBuilder : System.Reflection.FieldInfo { public override System.Reflection.FieldAttributes Attributes { get => throw null; } @@ -180,7 +175,6 @@ namespace System public override void SetValue(object obj, object val, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture) => throw null; } - // Generated from `System.Reflection.Emit.GenericTypeParameterBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GenericTypeParameterBuilder : System.Reflection.TypeInfo { public override System.Reflection.Assembly Assembly { get => throw null; } @@ -258,7 +252,6 @@ namespace System public override System.Type UnderlyingSystemType { get => throw null; } } - // Generated from `System.Reflection.Emit.MethodBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MethodBuilder : System.Reflection.MethodInfo { public override System.Reflection.MethodAttributes Attributes { get => throw null; } @@ -304,7 +297,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.Emit.ModuleBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ModuleBuilder : System.Reflection.Module { public override System.Reflection.Assembly Assembly { get => throw null; } @@ -357,7 +349,6 @@ namespace System public void SetCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder customBuilder) => throw null; } - // Generated from `System.Reflection.Emit.PropertyBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PropertyBuilder : System.Reflection.PropertyInfo { public void AddOtherMethod(System.Reflection.Emit.MethodBuilder mdBuilder) => throw null; @@ -387,7 +378,6 @@ namespace System public override void SetValue(object obj, object value, object[] index) => throw null; } - // Generated from `System.Reflection.Emit.TypeBuilder` in `System.Reflection.Emit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeBuilder : System.Reflection.TypeInfo { public void AddInterfaceImplementation(System.Type interfaceType) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Metadata.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Metadata.cs index 9e951048a39..7b3a400c18d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Metadata.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Metadata.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Reflection { - // Generated from `System.Reflection.AssemblyFlags` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AssemblyFlags : int { @@ -16,7 +16,6 @@ namespace System WindowsRuntime = 512, } - // Generated from `System.Reflection.AssemblyHashAlgorithm` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AssemblyHashAlgorithm : int { MD5 = 32771, @@ -27,7 +26,6 @@ namespace System Sha512 = 32782, } - // Generated from `System.Reflection.DeclarativeSecurityAction` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DeclarativeSecurityAction : short { Assert = 3, @@ -42,7 +40,6 @@ namespace System RequestRefuse = 10, } - // Generated from `System.Reflection.ManifestResourceAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ManifestResourceAttributes : int { @@ -51,7 +48,6 @@ namespace System VisibilityMask = 7, } - // Generated from `System.Reflection.MethodImportAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MethodImportAttributes : short { @@ -76,7 +72,6 @@ namespace System ThrowOnUnmappableCharMask = 12288, } - // Generated from `System.Reflection.MethodSemanticsAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MethodSemanticsAttributes : int { @@ -90,7 +85,6 @@ namespace System namespace Metadata { - // Generated from `System.Reflection.Metadata.ArrayShape` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ArrayShape { // Stub generator skipped constructor @@ -100,7 +94,6 @@ namespace System public System.Collections.Immutable.ImmutableArray Sizes { get => throw null; } } - // Generated from `System.Reflection.Metadata.AssemblyDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyDefinition { // Stub generator skipped constructor @@ -115,7 +108,6 @@ namespace System public System.Version Version { get => throw null; } } - // Generated from `System.Reflection.Metadata.AssemblyDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.AssemblyDefinitionHandle left, System.Reflection.Metadata.AssemblyDefinitionHandle right) => throw null; @@ -131,7 +123,6 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.AssemblyDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.AssemblyFile` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyFile { // Stub generator skipped constructor @@ -141,7 +132,6 @@ namespace System public System.Reflection.Metadata.StringHandle Name { get => throw null; } } - // Generated from `System.Reflection.Metadata.AssemblyFileHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyFileHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.AssemblyFileHandle left, System.Reflection.Metadata.AssemblyFileHandle right) => throw null; @@ -157,10 +147,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.AssemblyFileHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.AssemblyFileHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyFileHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.AssemblyFileHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.AssemblyFileHandle Current { get => throw null; } @@ -179,7 +167,6 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.AssemblyReference` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyReference { // Stub generator skipped constructor @@ -193,7 +180,6 @@ namespace System public System.Version Version { get => throw null; } } - // Generated from `System.Reflection.Metadata.AssemblyReferenceHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyReferenceHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.AssemblyReferenceHandle left, System.Reflection.Metadata.AssemblyReferenceHandle right) => throw null; @@ -209,10 +195,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.AssemblyReferenceHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.AssemblyReferenceHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssemblyReferenceHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.AssemblyReferenceHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.AssemblyReferenceHandle Current { get => throw null; } @@ -231,7 +215,6 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.Blob` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Blob { // Stub generator skipped constructor @@ -240,10 +223,8 @@ namespace System public int Length { get => throw null; } } - // Generated from `System.Reflection.Metadata.BlobBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BlobBuilder { - // Generated from `System.Reflection.Metadata.BlobBuilder+Blobs` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Blobs : System.Collections.Generic.IEnumerable, System.Collections.Generic.IEnumerator, System.Collections.IEnumerable, System.Collections.IEnumerator, System.IDisposable { // Stub generator skipped constructor @@ -316,7 +297,6 @@ namespace System public void WriteUserString(string value) => throw null; } - // Generated from `System.Reflection.Metadata.BlobContentId` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BlobContentId : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.BlobContentId left, System.Reflection.Metadata.BlobContentId right) => throw null; @@ -336,7 +316,6 @@ namespace System public System.UInt32 Stamp { get => throw null; } } - // Generated from `System.Reflection.Metadata.BlobHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BlobHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.BlobHandle left, System.Reflection.Metadata.BlobHandle right) => throw null; @@ -350,7 +329,6 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.BlobHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.BlobReader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BlobReader { public void Align(System.Byte alignment) => throw null; @@ -395,7 +373,6 @@ namespace System public bool TryReadCompressedSignedInteger(out int value) => throw null; } - // Generated from `System.Reflection.Metadata.BlobWriter` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BlobWriter { public void Align(int alignment) => throw null; @@ -452,7 +429,6 @@ namespace System public void WriteUserString(string value) => throw null; } - // Generated from `System.Reflection.Metadata.Constant` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Constant { // Stub generator skipped constructor @@ -461,7 +437,6 @@ namespace System public System.Reflection.Metadata.BlobHandle Value { get => throw null; } } - // Generated from `System.Reflection.Metadata.ConstantHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConstantHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ConstantHandle left, System.Reflection.Metadata.ConstantHandle right) => throw null; @@ -477,7 +452,6 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ConstantHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.ConstantTypeCode` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ConstantTypeCode : byte { Boolean = 2, @@ -497,7 +471,6 @@ namespace System UInt64 = 11, } - // Generated from `System.Reflection.Metadata.CustomAttribute` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttribute { public System.Reflection.Metadata.EntityHandle Constructor { get => throw null; } @@ -507,7 +480,6 @@ namespace System public System.Reflection.Metadata.BlobHandle Value { get => throw null; } } - // Generated from `System.Reflection.Metadata.CustomAttributeHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.CustomAttributeHandle left, System.Reflection.Metadata.CustomAttributeHandle right) => throw null; @@ -523,10 +495,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.CustomAttributeHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.CustomAttributeHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.CustomAttributeHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.CustomAttributeHandle Current { get => throw null; } @@ -545,7 +515,6 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.CustomAttributeNamedArgument<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeNamedArgument { // Stub generator skipped constructor @@ -556,14 +525,12 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.Reflection.Metadata.CustomAttributeNamedArgumentKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CustomAttributeNamedArgumentKind : byte { Field = 83, Property = 84, } - // Generated from `System.Reflection.Metadata.CustomAttributeTypedArgument<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeTypedArgument { // Stub generator skipped constructor @@ -572,7 +539,6 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.Reflection.Metadata.CustomAttributeValue<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeValue { // Stub generator skipped constructor @@ -581,7 +547,6 @@ namespace System public System.Collections.Immutable.ImmutableArray> NamedArguments { get => throw null; } } - // Generated from `System.Reflection.Metadata.CustomDebugInformation` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomDebugInformation { // Stub generator skipped constructor @@ -590,7 +555,6 @@ namespace System public System.Reflection.Metadata.BlobHandle Value { get => throw null; } } - // Generated from `System.Reflection.Metadata.CustomDebugInformationHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomDebugInformationHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.CustomDebugInformationHandle left, System.Reflection.Metadata.CustomDebugInformationHandle right) => throw null; @@ -606,10 +570,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.CustomDebugInformationHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.CustomDebugInformationHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomDebugInformationHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.CustomDebugInformationHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.CustomDebugInformationHandle Current { get => throw null; } @@ -628,7 +590,6 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.DebugMetadataHeader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebugMetadataHeader { public System.Reflection.Metadata.MethodDefinitionHandle EntryPoint { get => throw null; } @@ -636,7 +597,6 @@ namespace System public int IdStartOffset { get => throw null; } } - // Generated from `System.Reflection.Metadata.DeclarativeSecurityAttribute` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DeclarativeSecurityAttribute { public System.Reflection.DeclarativeSecurityAction Action { get => throw null; } @@ -645,7 +605,6 @@ namespace System public System.Reflection.Metadata.BlobHandle PermissionSet { get => throw null; } } - // Generated from `System.Reflection.Metadata.DeclarativeSecurityAttributeHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DeclarativeSecurityAttributeHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.DeclarativeSecurityAttributeHandle left, System.Reflection.Metadata.DeclarativeSecurityAttributeHandle right) => throw null; @@ -661,10 +620,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.DeclarativeSecurityAttributeHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.DeclarativeSecurityAttributeHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DeclarativeSecurityAttributeHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.DeclarativeSecurityAttributeHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.DeclarativeSecurityAttributeHandle Current { get => throw null; } @@ -683,7 +640,6 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.Document` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Document { // Stub generator skipped constructor @@ -693,7 +649,6 @@ namespace System public System.Reflection.Metadata.DocumentNameBlobHandle Name { get => throw null; } } - // Generated from `System.Reflection.Metadata.DocumentHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DocumentHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.DocumentHandle left, System.Reflection.Metadata.DocumentHandle right) => throw null; @@ -709,10 +664,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.DocumentHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.DocumentHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DocumentHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.DocumentHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.DocumentHandle Current { get => throw null; } @@ -731,7 +684,6 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.DocumentNameBlobHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DocumentNameBlobHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.DocumentNameBlobHandle left, System.Reflection.Metadata.DocumentNameBlobHandle right) => throw null; @@ -745,7 +697,6 @@ namespace System public static implicit operator System.Reflection.Metadata.BlobHandle(System.Reflection.Metadata.DocumentNameBlobHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.EntityHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EntityHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.EntityHandle left, System.Reflection.Metadata.EntityHandle right) => throw null; @@ -762,7 +713,6 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.EntityHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.EventAccessors` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EventAccessors { public System.Reflection.Metadata.MethodDefinitionHandle Adder { get => throw null; } @@ -772,7 +722,6 @@ namespace System public System.Reflection.Metadata.MethodDefinitionHandle Remover { get => throw null; } } - // Generated from `System.Reflection.Metadata.EventDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EventDefinition { public System.Reflection.EventAttributes Attributes { get => throw null; } @@ -783,7 +732,6 @@ namespace System public System.Reflection.Metadata.EntityHandle Type { get => throw null; } } - // Generated from `System.Reflection.Metadata.EventDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EventDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.EventDefinitionHandle left, System.Reflection.Metadata.EventDefinitionHandle right) => throw null; @@ -799,10 +747,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.EventDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.EventDefinitionHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EventDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.EventDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.EventDefinitionHandle Current { get => throw null; } @@ -821,7 +767,6 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.ExceptionRegion` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ExceptionRegion { public System.Reflection.Metadata.EntityHandle CatchType { get => throw null; } @@ -834,7 +779,6 @@ namespace System public int TryOffset { get => throw null; } } - // Generated from `System.Reflection.Metadata.ExceptionRegionKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ExceptionRegionKind : ushort { Catch = 0, @@ -843,7 +787,6 @@ namespace System Finally = 2, } - // Generated from `System.Reflection.Metadata.ExportedType` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ExportedType { public System.Reflection.TypeAttributes Attributes { get => throw null; } @@ -856,7 +799,6 @@ namespace System public System.Reflection.Metadata.NamespaceDefinitionHandle NamespaceDefinition { get => throw null; } } - // Generated from `System.Reflection.Metadata.ExportedTypeHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ExportedTypeHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ExportedTypeHandle left, System.Reflection.Metadata.ExportedTypeHandle right) => throw null; @@ -872,10 +814,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ExportedTypeHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.ExportedTypeHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ExportedTypeHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.ExportedTypeHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.ExportedTypeHandle Current { get => throw null; } @@ -894,7 +834,6 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.FieldDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FieldDefinition { public System.Reflection.FieldAttributes Attributes { get => throw null; } @@ -910,7 +849,6 @@ namespace System public System.Reflection.Metadata.BlobHandle Signature { get => throw null; } } - // Generated from `System.Reflection.Metadata.FieldDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FieldDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.FieldDefinitionHandle left, System.Reflection.Metadata.FieldDefinitionHandle right) => throw null; @@ -926,10 +864,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.FieldDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.FieldDefinitionHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FieldDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.FieldDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.FieldDefinitionHandle Current { get => throw null; } @@ -948,7 +884,6 @@ namespace System System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; } - // Generated from `System.Reflection.Metadata.GenericParameter` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericParameter { public System.Reflection.GenericParameterAttributes Attributes { get => throw null; } @@ -960,7 +895,6 @@ namespace System public System.Reflection.Metadata.EntityHandle Parent { get => throw null; } } - // Generated from `System.Reflection.Metadata.GenericParameterConstraint` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericParameterConstraint { // Stub generator skipped constructor @@ -969,7 +903,6 @@ namespace System public System.Reflection.Metadata.EntityHandle Type { get => throw null; } } - // Generated from `System.Reflection.Metadata.GenericParameterConstraintHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericParameterConstraintHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.GenericParameterConstraintHandle left, System.Reflection.Metadata.GenericParameterConstraintHandle right) => throw null; @@ -985,10 +918,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.GenericParameterConstraintHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.GenericParameterConstraintHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericParameterConstraintHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.GenericParameterConstraintHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.GenericParameterConstraintHandle Current { get => throw null; } @@ -1008,7 +939,6 @@ namespace System public System.Reflection.Metadata.GenericParameterConstraintHandle this[int index] { get => throw null; } } - // Generated from `System.Reflection.Metadata.GenericParameterHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericParameterHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.GenericParameterHandle left, System.Reflection.Metadata.GenericParameterHandle right) => throw null; @@ -1024,10 +954,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.GenericParameterHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.GenericParameterHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericParameterHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.GenericParameterHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.GenericParameterHandle Current { get => throw null; } @@ -1047,7 +975,6 @@ namespace System public System.Reflection.Metadata.GenericParameterHandle this[int index] { get => throw null; } } - // Generated from `System.Reflection.Metadata.GuidHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GuidHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.GuidHandle left, System.Reflection.Metadata.GuidHandle right) => throw null; @@ -1061,7 +988,6 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.GuidHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.Handle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Handle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.Handle left, System.Reflection.Metadata.Handle right) => throw null; @@ -1076,7 +1002,6 @@ namespace System public static System.Reflection.Metadata.ModuleDefinitionHandle ModuleDefinition; } - // Generated from `System.Reflection.Metadata.HandleComparer` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HandleComparer : System.Collections.Generic.IComparer, System.Collections.Generic.IComparer, System.Collections.Generic.IEqualityComparer, System.Collections.Generic.IEqualityComparer { public int Compare(System.Reflection.Metadata.EntityHandle x, System.Reflection.Metadata.EntityHandle y) => throw null; @@ -1088,7 +1013,6 @@ namespace System public int GetHashCode(System.Reflection.Metadata.Handle obj) => throw null; } - // Generated from `System.Reflection.Metadata.HandleKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HandleKind : byte { AssemblyDefinition = 32, @@ -1130,7 +1054,6 @@ namespace System UserString = 112, } - // Generated from `System.Reflection.Metadata.IConstructedTypeProvider<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IConstructedTypeProvider : System.Reflection.Metadata.ISZArrayTypeProvider { TType GetArrayType(TType elementType, System.Reflection.Metadata.ArrayShape shape); @@ -1139,7 +1062,6 @@ namespace System TType GetPointerType(TType elementType); } - // Generated from `System.Reflection.Metadata.ICustomAttributeTypeProvider<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomAttributeTypeProvider : System.Reflection.Metadata.ISZArrayTypeProvider, System.Reflection.Metadata.ISimpleTypeProvider { TType GetSystemType(); @@ -1148,7 +1070,6 @@ namespace System bool IsSystemType(TType type); } - // Generated from `System.Reflection.Metadata.ILOpCode` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ILOpCode : ushort { Add = 88, @@ -1371,7 +1292,6 @@ namespace System Xor = 97, } - // Generated from `System.Reflection.Metadata.ILOpCodeExtensions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ILOpCodeExtensions { public static int GetBranchOperandSize(this System.Reflection.Metadata.ILOpCode opCode) => throw null; @@ -1380,13 +1300,11 @@ namespace System public static bool IsBranch(this System.Reflection.Metadata.ILOpCode opCode) => throw null; } - // Generated from `System.Reflection.Metadata.ISZArrayTypeProvider<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISZArrayTypeProvider { TType GetSZArrayType(TType elementType); } - // Generated from `System.Reflection.Metadata.ISignatureTypeProvider<,>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISignatureTypeProvider : System.Reflection.Metadata.IConstructedTypeProvider, System.Reflection.Metadata.ISZArrayTypeProvider, System.Reflection.Metadata.ISimpleTypeProvider { TType GetFunctionPointerType(System.Reflection.Metadata.MethodSignature signature); @@ -1397,7 +1315,6 @@ namespace System TType GetTypeFromSpecification(System.Reflection.Metadata.MetadataReader reader, TGenericContext genericContext, System.Reflection.Metadata.TypeSpecificationHandle handle, System.Byte rawTypeKind); } - // Generated from `System.Reflection.Metadata.ISimpleTypeProvider<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISimpleTypeProvider { TType GetPrimitiveType(System.Reflection.Metadata.PrimitiveTypeCode typeCode); @@ -1405,7 +1322,6 @@ namespace System TType GetTypeFromReference(System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.TypeReferenceHandle handle, System.Byte rawTypeKind); } - // Generated from `System.Reflection.Metadata.ImageFormatLimitationException` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImageFormatLimitationException : System.Exception { public ImageFormatLimitationException() => throw null; @@ -1414,7 +1330,6 @@ namespace System public ImageFormatLimitationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Reflection.Metadata.ImportDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ImportDefinition { public System.Reflection.Metadata.BlobHandle Alias { get => throw null; } @@ -1425,10 +1340,8 @@ namespace System public System.Reflection.Metadata.EntityHandle TargetType { get => throw null; } } - // Generated from `System.Reflection.Metadata.ImportDefinitionCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ImportDefinitionCollection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.ImportDefinitionCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.ImportDefinition Current { get => throw null; } @@ -1446,7 +1359,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.ImportDefinitionKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ImportDefinitionKind : int { AliasAssemblyNamespace = 8, @@ -1460,7 +1372,6 @@ namespace System ImportXmlNamespace = 4, } - // Generated from `System.Reflection.Metadata.ImportScope` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ImportScope { public System.Reflection.Metadata.ImportDefinitionCollection GetImports() => throw null; @@ -1469,10 +1380,8 @@ namespace System public System.Reflection.Metadata.ImportScopeHandle Parent { get => throw null; } } - // Generated from `System.Reflection.Metadata.ImportScopeCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ImportScopeCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.ImportScopeCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.ImportScopeHandle Current { get => throw null; } @@ -1491,7 +1400,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.ImportScopeHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ImportScopeHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ImportScopeHandle left, System.Reflection.Metadata.ImportScopeHandle right) => throw null; @@ -1507,7 +1415,6 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ImportScopeHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.InterfaceImplementation` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct InterfaceImplementation { public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() => throw null; @@ -1515,7 +1422,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.InterfaceImplementationHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct InterfaceImplementationHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.InterfaceImplementationHandle left, System.Reflection.Metadata.InterfaceImplementationHandle right) => throw null; @@ -1531,10 +1437,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.InterfaceImplementationHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.InterfaceImplementationHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct InterfaceImplementationHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.InterfaceImplementationHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.InterfaceImplementationHandle Current { get => throw null; } @@ -1553,7 +1457,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.LocalConstant` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalConstant { // Stub generator skipped constructor @@ -1561,7 +1464,6 @@ namespace System public System.Reflection.Metadata.BlobHandle Signature { get => throw null; } } - // Generated from `System.Reflection.Metadata.LocalConstantHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalConstantHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.LocalConstantHandle left, System.Reflection.Metadata.LocalConstantHandle right) => throw null; @@ -1577,10 +1479,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.LocalConstantHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.LocalConstantHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalConstantHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.LocalConstantHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.LocalConstantHandle Current { get => throw null; } @@ -1599,7 +1499,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.LocalScope` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalScope { public int EndOffset { get => throw null; } @@ -1613,7 +1512,6 @@ namespace System public int StartOffset { get => throw null; } } - // Generated from `System.Reflection.Metadata.LocalScopeHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalScopeHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.LocalScopeHandle left, System.Reflection.Metadata.LocalScopeHandle right) => throw null; @@ -1629,10 +1527,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.LocalScopeHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.LocalScopeHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalScopeHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.LocalScopeHandleCollection+ChildrenEnumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ChildrenEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { // Stub generator skipped constructor @@ -1644,7 +1540,6 @@ namespace System } - // Generated from `System.Reflection.Metadata.LocalScopeHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.LocalScopeHandle Current { get => throw null; } @@ -1663,7 +1558,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.LocalVariable` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalVariable { public System.Reflection.Metadata.LocalVariableAttributes Attributes { get => throw null; } @@ -1672,7 +1566,6 @@ namespace System public System.Reflection.Metadata.StringHandle Name { get => throw null; } } - // Generated from `System.Reflection.Metadata.LocalVariableAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum LocalVariableAttributes : int { @@ -1680,7 +1573,6 @@ namespace System None = 0, } - // Generated from `System.Reflection.Metadata.LocalVariableHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalVariableHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.LocalVariableHandle left, System.Reflection.Metadata.LocalVariableHandle right) => throw null; @@ -1696,10 +1588,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.LocalVariableHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.LocalVariableHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalVariableHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.LocalVariableHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.LocalVariableHandle Current { get => throw null; } @@ -1718,7 +1608,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.ManifestResource` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManifestResource { public System.Reflection.ManifestResourceAttributes Attributes { get => throw null; } @@ -1729,7 +1618,6 @@ namespace System public System.Int64 Offset { get => throw null; } } - // Generated from `System.Reflection.Metadata.ManifestResourceHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManifestResourceHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ManifestResourceHandle left, System.Reflection.Metadata.ManifestResourceHandle right) => throw null; @@ -1745,10 +1633,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ManifestResourceHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.ManifestResourceHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManifestResourceHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.ManifestResourceHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.ManifestResourceHandle Current { get => throw null; } @@ -1767,7 +1653,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.MemberReference` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MemberReference { public TType DecodeFieldSignature(System.Reflection.Metadata.ISignatureTypeProvider provider, TGenericContext genericContext) => throw null; @@ -1780,7 +1665,6 @@ namespace System public System.Reflection.Metadata.BlobHandle Signature { get => throw null; } } - // Generated from `System.Reflection.Metadata.MemberReferenceHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MemberReferenceHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.MemberReferenceHandle left, System.Reflection.Metadata.MemberReferenceHandle right) => throw null; @@ -1796,10 +1680,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.MemberReferenceHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.MemberReferenceHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MemberReferenceHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.MemberReferenceHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.MemberReferenceHandle Current { get => throw null; } @@ -1818,14 +1700,12 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.MemberReferenceKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MemberReferenceKind : int { Field = 1, Method = 0, } - // Generated from `System.Reflection.Metadata.MetadataKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MetadataKind : int { Ecma335 = 0, @@ -1833,7 +1713,6 @@ namespace System WindowsMetadata = 1, } - // Generated from `System.Reflection.Metadata.MetadataReader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataReader { public System.Reflection.Metadata.AssemblyFileHandleCollection AssemblyFiles { get => throw null; } @@ -1919,7 +1798,6 @@ namespace System public System.Reflection.Metadata.MetadataStringDecoder UTF8Decoder { get => throw null; } } - // Generated from `System.Reflection.Metadata.MetadataReaderOptions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MetadataReaderOptions : int { @@ -1928,7 +1806,6 @@ namespace System None = 0, } - // Generated from `System.Reflection.Metadata.MetadataReaderProvider` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataReaderProvider : System.IDisposable { public void Dispose() => throw null; @@ -1941,7 +1818,6 @@ namespace System public System.Reflection.Metadata.MetadataReader GetMetadataReader(System.Reflection.Metadata.MetadataReaderOptions options = default(System.Reflection.Metadata.MetadataReaderOptions), System.Reflection.Metadata.MetadataStringDecoder utf8Decoder = default(System.Reflection.Metadata.MetadataStringDecoder)) => throw null; } - // Generated from `System.Reflection.Metadata.MetadataStreamOptions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MetadataStreamOptions : int { @@ -1950,7 +1826,6 @@ namespace System PrefetchMetadata = 2, } - // Generated from `System.Reflection.Metadata.MetadataStringComparer` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MetadataStringComparer { public bool Equals(System.Reflection.Metadata.DocumentNameBlobHandle handle, string value) => throw null; @@ -1964,7 +1839,6 @@ namespace System public bool StartsWith(System.Reflection.Metadata.StringHandle handle, string value, bool ignoreCase) => throw null; } - // Generated from `System.Reflection.Metadata.MetadataStringDecoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataStringDecoder { public static System.Reflection.Metadata.MetadataStringDecoder DefaultUTF8 { get => throw null; } @@ -1973,7 +1847,6 @@ namespace System public MetadataStringDecoder(System.Text.Encoding encoding) => throw null; } - // Generated from `System.Reflection.Metadata.MethodBodyBlock` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MethodBodyBlock { public static System.Reflection.Metadata.MethodBodyBlock Create(System.Reflection.Metadata.BlobReader reader) => throw null; @@ -1987,7 +1860,6 @@ namespace System public int Size { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodDebugInformation` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodDebugInformation { public System.Reflection.Metadata.DocumentHandle Document { get => throw null; } @@ -1998,7 +1870,6 @@ namespace System public System.Reflection.Metadata.BlobHandle SequencePointsBlob { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodDebugInformationHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodDebugInformationHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.MethodDebugInformationHandle left, System.Reflection.Metadata.MethodDebugInformationHandle right) => throw null; @@ -2015,10 +1886,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.MethodDebugInformationHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.MethodDebugInformationHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodDebugInformationHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.MethodDebugInformationHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.MethodDebugInformationHandle Current { get => throw null; } @@ -2037,7 +1906,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.MethodDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodDefinition { public System.Reflection.MethodAttributes Attributes { get => throw null; } @@ -2055,7 +1923,6 @@ namespace System public System.Reflection.Metadata.BlobHandle Signature { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.MethodDefinitionHandle left, System.Reflection.Metadata.MethodDefinitionHandle right) => throw null; @@ -2072,10 +1939,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.MethodDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.MethodDefinitionHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.MethodDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.MethodDefinitionHandle Current { get => throw null; } @@ -2094,7 +1959,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.MethodImplementation` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodImplementation { public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() => throw null; @@ -2104,7 +1968,6 @@ namespace System public System.Reflection.Metadata.TypeDefinitionHandle Type { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodImplementationHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodImplementationHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.MethodImplementationHandle left, System.Reflection.Metadata.MethodImplementationHandle right) => throw null; @@ -2120,10 +1983,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.MethodImplementationHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.MethodImplementationHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodImplementationHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.MethodImplementationHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.MethodImplementationHandle Current { get => throw null; } @@ -2142,7 +2003,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.MethodImport` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodImport { public System.Reflection.MethodImportAttributes Attributes { get => throw null; } @@ -2151,7 +2011,6 @@ namespace System public System.Reflection.Metadata.StringHandle Name { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodSignature<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodSignature { public int GenericParameterCount { get => throw null; } @@ -2163,7 +2022,6 @@ namespace System public TType ReturnType { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodSpecification` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodSpecification { public System.Collections.Immutable.ImmutableArray DecodeSignature(System.Reflection.Metadata.ISignatureTypeProvider provider, TGenericContext genericContext) => throw null; @@ -2173,7 +2031,6 @@ namespace System public System.Reflection.Metadata.BlobHandle Signature { get => throw null; } } - // Generated from `System.Reflection.Metadata.MethodSpecificationHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodSpecificationHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.MethodSpecificationHandle left, System.Reflection.Metadata.MethodSpecificationHandle right) => throw null; @@ -2189,7 +2046,6 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.MethodSpecificationHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.ModuleDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ModuleDefinition { public System.Reflection.Metadata.GuidHandle BaseGenerationId { get => throw null; } @@ -2201,7 +2057,6 @@ namespace System public System.Reflection.Metadata.StringHandle Name { get => throw null; } } - // Generated from `System.Reflection.Metadata.ModuleDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ModuleDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ModuleDefinitionHandle left, System.Reflection.Metadata.ModuleDefinitionHandle right) => throw null; @@ -2217,7 +2072,6 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ModuleDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.ModuleReference` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ModuleReference { public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() => throw null; @@ -2225,7 +2079,6 @@ namespace System public System.Reflection.Metadata.StringHandle Name { get => throw null; } } - // Generated from `System.Reflection.Metadata.ModuleReferenceHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ModuleReferenceHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ModuleReferenceHandle left, System.Reflection.Metadata.ModuleReferenceHandle right) => throw null; @@ -2241,7 +2094,6 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ModuleReferenceHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.NamespaceDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct NamespaceDefinition { public System.Collections.Immutable.ImmutableArray ExportedTypes { get => throw null; } @@ -2252,7 +2104,6 @@ namespace System public System.Collections.Immutable.ImmutableArray TypeDefinitions { get => throw null; } } - // Generated from `System.Reflection.Metadata.NamespaceDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct NamespaceDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.NamespaceDefinitionHandle left, System.Reflection.Metadata.NamespaceDefinitionHandle right) => throw null; @@ -2266,7 +2117,6 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.NamespaceDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.PEReaderExtensions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class PEReaderExtensions { public static System.Reflection.Metadata.MetadataReader GetMetadataReader(this System.Reflection.PortableExecutable.PEReader peReader) => throw null; @@ -2275,7 +2125,6 @@ namespace System public static System.Reflection.Metadata.MethodBodyBlock GetMethodBody(this System.Reflection.PortableExecutable.PEReader peReader, int relativeVirtualAddress) => throw null; } - // Generated from `System.Reflection.Metadata.Parameter` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Parameter { public System.Reflection.ParameterAttributes Attributes { get => throw null; } @@ -2287,7 +2136,6 @@ namespace System public int SequenceNumber { get => throw null; } } - // Generated from `System.Reflection.Metadata.ParameterHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ParameterHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.ParameterHandle left, System.Reflection.Metadata.ParameterHandle right) => throw null; @@ -2303,10 +2151,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.ParameterHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.ParameterHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ParameterHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.ParameterHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.ParameterHandle Current { get => throw null; } @@ -2325,7 +2171,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.PrimitiveSerializationTypeCode` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PrimitiveSerializationTypeCode : byte { Boolean = 2, @@ -2343,7 +2188,6 @@ namespace System UInt64 = 11, } - // Generated from `System.Reflection.Metadata.PrimitiveTypeCode` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PrimitiveTypeCode : byte { Boolean = 2, @@ -2366,7 +2210,6 @@ namespace System Void = 1, } - // Generated from `System.Reflection.Metadata.PropertyAccessors` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PropertyAccessors { public System.Reflection.Metadata.MethodDefinitionHandle Getter { get => throw null; } @@ -2375,7 +2218,6 @@ namespace System public System.Reflection.Metadata.MethodDefinitionHandle Setter { get => throw null; } } - // Generated from `System.Reflection.Metadata.PropertyDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PropertyDefinition { public System.Reflection.PropertyAttributes Attributes { get => throw null; } @@ -2388,7 +2230,6 @@ namespace System public System.Reflection.Metadata.BlobHandle Signature { get => throw null; } } - // Generated from `System.Reflection.Metadata.PropertyDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PropertyDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.PropertyDefinitionHandle left, System.Reflection.Metadata.PropertyDefinitionHandle right) => throw null; @@ -2404,10 +2245,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.PropertyDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.PropertyDefinitionHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PropertyDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.PropertyDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.PropertyDefinitionHandle Current { get => throw null; } @@ -2426,7 +2265,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.ReservedBlob<>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ReservedBlob where THandle : struct { public System.Reflection.Metadata.Blob Content { get => throw null; } @@ -2435,7 +2273,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.SequencePoint` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SequencePoint : System.IEquatable { public System.Reflection.Metadata.DocumentHandle Document { get => throw null; } @@ -2452,10 +2289,8 @@ namespace System public int StartLine { get => throw null; } } - // Generated from `System.Reflection.Metadata.SequencePointCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SequencePointCollection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.SequencePointCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.SequencePoint Current { get => throw null; } @@ -2473,7 +2308,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.SerializationTypeCode` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SerializationTypeCode : byte { Boolean = 2, @@ -2496,7 +2330,6 @@ namespace System UInt64 = 11, } - // Generated from `System.Reflection.Metadata.SignatureAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SignatureAttributes : byte { @@ -2506,7 +2339,6 @@ namespace System None = 0, } - // Generated from `System.Reflection.Metadata.SignatureCallingConvention` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SignatureCallingConvention : byte { CDecl = 1, @@ -2518,7 +2350,6 @@ namespace System VarArgs = 5, } - // Generated from `System.Reflection.Metadata.SignatureHeader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SignatureHeader : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.SignatureHeader left, System.Reflection.Metadata.SignatureHeader right) => throw null; @@ -2540,7 +2371,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.Metadata.SignatureKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SignatureKind : byte { Field = 6, @@ -2550,7 +2380,6 @@ namespace System Property = 8, } - // Generated from `System.Reflection.Metadata.SignatureTypeCode` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SignatureTypeCode : byte { Array = 20, @@ -2587,7 +2416,6 @@ namespace System Void = 1, } - // Generated from `System.Reflection.Metadata.SignatureTypeKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SignatureTypeKind : byte { Class = 18, @@ -2595,7 +2423,6 @@ namespace System ValueType = 17, } - // Generated from `System.Reflection.Metadata.StandaloneSignature` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct StandaloneSignature { public System.Collections.Immutable.ImmutableArray DecodeLocalSignature(System.Reflection.Metadata.ISignatureTypeProvider provider, TGenericContext genericContext) => throw null; @@ -2606,7 +2433,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.StandaloneSignatureHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct StandaloneSignatureHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.StandaloneSignatureHandle left, System.Reflection.Metadata.StandaloneSignatureHandle right) => throw null; @@ -2622,14 +2448,12 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.StandaloneSignatureHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.StandaloneSignatureKind` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum StandaloneSignatureKind : int { LocalVariables = 1, Method = 0, } - // Generated from `System.Reflection.Metadata.StringHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct StringHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.StringHandle left, System.Reflection.Metadata.StringHandle right) => throw null; @@ -2643,7 +2467,6 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.StringHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.TypeDefinition` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeDefinition { public System.Reflection.TypeAttributes Attributes { get => throw null; } @@ -2667,7 +2490,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.TypeDefinitionHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeDefinitionHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.TypeDefinitionHandle left, System.Reflection.Metadata.TypeDefinitionHandle right) => throw null; @@ -2683,10 +2505,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.TypeDefinitionHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.TypeDefinitionHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.TypeDefinitionHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.TypeDefinitionHandle Current { get => throw null; } @@ -2705,7 +2525,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.TypeLayout` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeLayout { public bool IsDefault { get => throw null; } @@ -2715,7 +2534,6 @@ namespace System public TypeLayout(int size, int packingSize) => throw null; } - // Generated from `System.Reflection.Metadata.TypeReference` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeReference { public System.Reflection.Metadata.StringHandle Name { get => throw null; } @@ -2724,7 +2542,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.TypeReferenceHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeReferenceHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.TypeReferenceHandle left, System.Reflection.Metadata.TypeReferenceHandle right) => throw null; @@ -2740,10 +2557,8 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.TypeReferenceHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.TypeReferenceHandleCollection` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeReferenceHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { - // Generated from `System.Reflection.Metadata.TypeReferenceHandleCollection+Enumerator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Reflection.Metadata.TypeReferenceHandle Current { get => throw null; } @@ -2762,7 +2577,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.TypeSpecification` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeSpecification { public TType DecodeSignature(System.Reflection.Metadata.ISignatureTypeProvider provider, TGenericContext genericContext) => throw null; @@ -2771,7 +2585,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.TypeSpecificationHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypeSpecificationHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.TypeSpecificationHandle left, System.Reflection.Metadata.TypeSpecificationHandle right) => throw null; @@ -2787,7 +2600,6 @@ namespace System public static implicit operator System.Reflection.Metadata.Handle(System.Reflection.Metadata.TypeSpecificationHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.UserStringHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct UserStringHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.UserStringHandle left, System.Reflection.Metadata.UserStringHandle right) => throw null; @@ -2803,7 +2615,6 @@ namespace System namespace Ecma335 { - // Generated from `System.Reflection.Metadata.Ecma335.ArrayShapeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ArrayShapeEncoder { // Stub generator skipped constructor @@ -2812,7 +2623,6 @@ namespace System public void Shape(int rank, System.Collections.Immutable.ImmutableArray sizes, System.Collections.Immutable.ImmutableArray lowerBounds) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.BlobEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BlobEncoder { // Stub generator skipped constructor @@ -2831,7 +2641,6 @@ namespace System public System.Reflection.Metadata.Ecma335.SignatureTypeEncoder TypeSpecificationSignature() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.CodedIndex` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CodedIndex { public static int CustomAttributeType(System.Reflection.Metadata.EntityHandle handle) => throw null; @@ -2851,7 +2660,6 @@ namespace System public static int TypeOrMethodDef(System.Reflection.Metadata.EntityHandle handle) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.ControlFlowBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ControlFlowBuilder { public void AddCatchRegion(System.Reflection.Metadata.Ecma335.LabelHandle tryStart, System.Reflection.Metadata.Ecma335.LabelHandle tryEnd, System.Reflection.Metadata.Ecma335.LabelHandle handlerStart, System.Reflection.Metadata.Ecma335.LabelHandle handlerEnd, System.Reflection.Metadata.EntityHandle catchType) => throw null; @@ -2862,7 +2670,6 @@ namespace System public ControlFlowBuilder() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.CustomAttributeArrayTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeArrayTypeEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -2872,7 +2679,6 @@ namespace System public void ObjectArray() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeElementTypeEncoder { public void Boolean() => throw null; @@ -2896,7 +2702,6 @@ namespace System public void UInt64() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.CustomAttributeNamedArgumentsEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeNamedArgumentsEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -2905,7 +2710,6 @@ namespace System public CustomAttributeNamedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.CustomModifiersEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomModifiersEncoder { public System.Reflection.Metadata.Ecma335.CustomModifiersEncoder AddModifier(System.Reflection.Metadata.EntityHandle type, bool isOptional) => throw null; @@ -2914,7 +2718,6 @@ namespace System public CustomModifiersEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.EditAndContinueLogEntry` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EditAndContinueLogEntry : System.IEquatable { // Stub generator skipped constructor @@ -2926,7 +2729,6 @@ namespace System public System.Reflection.Metadata.Ecma335.EditAndContinueOperation Operation { get => throw null; } } - // Generated from `System.Reflection.Metadata.Ecma335.EditAndContinueOperation` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EditAndContinueOperation : int { AddEvent = 5, @@ -2937,7 +2739,6 @@ namespace System Default = 0, } - // Generated from `System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ExceptionRegionEncoder { public System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder Add(System.Reflection.Metadata.ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, System.Reflection.Metadata.EntityHandle catchType = default(System.Reflection.Metadata.EntityHandle), int filterOffset = default(int)) => throw null; @@ -2952,13 +2753,11 @@ namespace System public static bool IsSmallRegionCount(int exceptionRegionCount) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.ExportedTypeExtensions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ExportedTypeExtensions { public static int GetTypeDefinitionId(this System.Reflection.Metadata.ExportedType exportedType) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.FieldTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FieldTypeEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -2969,7 +2768,6 @@ namespace System public void TypedReference() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.FixedArgumentsEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FixedArgumentsEncoder { public System.Reflection.Metadata.Ecma335.LiteralEncoder AddArgument() => throw null; @@ -2978,7 +2776,6 @@ namespace System public FixedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.FunctionPointerAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FunctionPointerAttributes : int { HasExplicitThis = 96, @@ -2986,7 +2783,6 @@ namespace System None = 0, } - // Generated from `System.Reflection.Metadata.Ecma335.GenericTypeArgumentsEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericTypeArgumentsEncoder { public System.Reflection.Metadata.Ecma335.SignatureTypeEncoder AddArgument() => throw null; @@ -2995,7 +2791,6 @@ namespace System public GenericTypeArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.HeapIndex` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HeapIndex : int { Blob = 2, @@ -3004,7 +2799,6 @@ namespace System UserString = 0, } - // Generated from `System.Reflection.Metadata.Ecma335.InstructionEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct InstructionEncoder { public void Branch(System.Reflection.Metadata.ILOpCode code, System.Reflection.Metadata.Ecma335.LabelHandle label) => throw null; @@ -3036,7 +2830,6 @@ namespace System public void Token(int token) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.LabelHandle` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LabelHandle : System.IEquatable { public static bool operator !=(System.Reflection.Metadata.Ecma335.LabelHandle left, System.Reflection.Metadata.Ecma335.LabelHandle right) => throw null; @@ -3049,7 +2842,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.Metadata.Ecma335.LiteralEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LiteralEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3063,7 +2855,6 @@ namespace System public System.Reflection.Metadata.Ecma335.VectorEncoder Vector() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.LiteralsEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LiteralsEncoder { public System.Reflection.Metadata.Ecma335.LiteralEncoder AddLiteral() => throw null; @@ -3072,7 +2863,6 @@ namespace System public LiteralsEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.LocalVariableTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalVariableTypeEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3083,7 +2873,6 @@ namespace System public void TypedReference() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.LocalVariablesEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LocalVariablesEncoder { public System.Reflection.Metadata.Ecma335.LocalVariableTypeEncoder AddVariable() => throw null; @@ -3092,7 +2881,6 @@ namespace System public LocalVariablesEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.MetadataAggregator` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataAggregator { public System.Reflection.Metadata.Handle GetGenerationHandle(System.Reflection.Metadata.Handle handle, out int generation) => throw null; @@ -3100,7 +2888,6 @@ namespace System public MetadataAggregator(System.Reflection.Metadata.MetadataReader baseReader, System.Collections.Generic.IReadOnlyList deltaReaders) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.MetadataBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataBuilder { public System.Reflection.Metadata.AssemblyDefinitionHandle AddAssembly(System.Reflection.Metadata.StringHandle name, System.Version version, System.Reflection.Metadata.StringHandle culture, System.Reflection.Metadata.BlobHandle publicKey, System.Reflection.AssemblyFlags flags, System.Reflection.AssemblyHashAlgorithm hashAlgorithm) => throw null; @@ -3166,7 +2953,6 @@ namespace System public void SetCapacity(System.Reflection.Metadata.Ecma335.TableIndex table, int rowCount) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.MetadataReaderExtensions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class MetadataReaderExtensions { public static System.Collections.Generic.IEnumerable GetEditAndContinueLogEntries(this System.Reflection.Metadata.MetadataReader reader) => throw null; @@ -3184,7 +2970,6 @@ namespace System public static System.Reflection.Metadata.SignatureTypeKind ResolveSignatureTypeKind(this System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.EntityHandle typeHandle, System.Byte rawTypeKind) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.MetadataRootBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataRootBuilder { public MetadataRootBuilder(System.Reflection.Metadata.Ecma335.MetadataBuilder tablesAndHeaps, string metadataVersion = default(string), bool suppressValidation = default(bool)) => throw null; @@ -3194,7 +2979,6 @@ namespace System public bool SuppressValidation { get => throw null; } } - // Generated from `System.Reflection.Metadata.Ecma335.MetadataSizes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataSizes { public System.Collections.Immutable.ImmutableArray ExternalRowCounts { get => throw null; } @@ -3203,7 +2987,6 @@ namespace System public System.Collections.Immutable.ImmutableArray RowCounts { get => throw null; } } - // Generated from `System.Reflection.Metadata.Ecma335.MetadataTokens` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class MetadataTokens { public static System.Reflection.Metadata.AssemblyFileHandle AssemblyFileHandle(int rowNumber) => throw null; @@ -3263,7 +3046,6 @@ namespace System public static System.Reflection.Metadata.UserStringHandle UserStringHandle(int offset) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.MethodBodyAttributes` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MethodBodyAttributes : int { @@ -3271,10 +3053,8 @@ namespace System None = 0, } - // Generated from `System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodBodyStreamEncoder { - // Generated from `System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder+MethodBody` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodBody { public System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder ExceptionRegions { get => throw null; } @@ -3293,7 +3073,6 @@ namespace System public MethodBodyStreamEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.MethodSignatureEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MethodSignatureEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3304,7 +3083,6 @@ namespace System public void Parameters(int parameterCount, out System.Reflection.Metadata.Ecma335.ReturnTypeEncoder returnType, out System.Reflection.Metadata.Ecma335.ParametersEncoder parameters) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.NameEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct NameEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3313,7 +3091,6 @@ namespace System public NameEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.NamedArgumentTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct NamedArgumentTypeEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3324,7 +3101,6 @@ namespace System public System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder ScalarType() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.NamedArgumentsEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct NamedArgumentsEncoder { public void AddArgument(bool isField, System.Action type, System.Action name, System.Action literal) => throw null; @@ -3334,7 +3110,6 @@ namespace System public NamedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.ParameterTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ParameterTypeEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3345,7 +3120,6 @@ namespace System public void TypedReference() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.ParametersEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ParametersEncoder { public System.Reflection.Metadata.Ecma335.ParameterTypeEncoder AddParameter() => throw null; @@ -3356,7 +3130,6 @@ namespace System public System.Reflection.Metadata.Ecma335.ParametersEncoder StartVarArgs() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.PermissionSetEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PermissionSetEncoder { public System.Reflection.Metadata.Ecma335.PermissionSetEncoder AddPermission(string typeName, System.Reflection.Metadata.BlobBuilder encodedArguments) => throw null; @@ -3366,7 +3139,6 @@ namespace System public PermissionSetEncoder(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.PortablePdbBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PortablePdbBuilder { public System.UInt16 FormatVersion { get => throw null; } @@ -3376,7 +3148,6 @@ namespace System public System.Reflection.Metadata.BlobContentId Serialize(System.Reflection.Metadata.BlobBuilder builder) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.ReturnTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ReturnTypeEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3388,7 +3159,6 @@ namespace System public void Void() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.ScalarEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ScalarEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3399,7 +3169,6 @@ namespace System public void SystemType(string serializedTypeName) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.SignatureDecoder<,>` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SignatureDecoder { public TType DecodeFieldSignature(ref System.Reflection.Metadata.BlobReader blobReader) => throw null; @@ -3411,7 +3180,6 @@ namespace System public SignatureDecoder(System.Reflection.Metadata.ISignatureTypeProvider provider, System.Reflection.Metadata.MetadataReader metadataReader, TGenericContext genericContext) => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.SignatureTypeEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SignatureTypeEncoder { public void Array(System.Action elementType, System.Action arrayShape) => throw null; @@ -3447,7 +3215,6 @@ namespace System public void VoidPointer() => throw null; } - // Generated from `System.Reflection.Metadata.Ecma335.TableIndex` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TableIndex : byte { Assembly = 32, @@ -3505,7 +3272,6 @@ namespace System TypeSpec = 27, } - // Generated from `System.Reflection.Metadata.Ecma335.VectorEncoder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct VectorEncoder { public System.Reflection.Metadata.BlobBuilder Builder { get => throw null; } @@ -3518,7 +3284,6 @@ namespace System } namespace PortableExecutable { - // Generated from `System.Reflection.PortableExecutable.Characteristics` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum Characteristics : ushort { @@ -3539,7 +3304,6 @@ namespace System UpSystemOnly = 16384, } - // Generated from `System.Reflection.PortableExecutable.CodeViewDebugDirectoryData` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CodeViewDebugDirectoryData { public int Age { get => throw null; } @@ -3548,7 +3312,6 @@ namespace System public string Path { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.CoffHeader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CoffHeader { public System.Reflection.PortableExecutable.Characteristics Characteristics { get => throw null; } @@ -3560,7 +3323,6 @@ namespace System public int TimeDateStamp { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.CorFlags` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CorFlags : int { @@ -3573,7 +3335,6 @@ namespace System TrackDebugData = 65536, } - // Generated from `System.Reflection.PortableExecutable.CorHeader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CorHeader { public System.Reflection.PortableExecutable.DirectoryEntry CodeManagerTableDirectory { get => throw null; } @@ -3589,7 +3350,6 @@ namespace System public System.Reflection.PortableExecutable.DirectoryEntry VtableFixupsDirectory { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.DebugDirectoryBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebugDirectoryBuilder { public void AddCodeViewEntry(string pdbPath, System.Reflection.Metadata.BlobContentId pdbContentId, System.UInt16 portablePdbVersion) => throw null; @@ -3602,7 +3362,6 @@ namespace System public DebugDirectoryBuilder() => throw null; } - // Generated from `System.Reflection.PortableExecutable.DebugDirectoryEntry` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DebugDirectoryEntry { public int DataPointer { get => throw null; } @@ -3617,7 +3376,6 @@ namespace System public System.Reflection.PortableExecutable.DebugDirectoryEntryType Type { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.DebugDirectoryEntryType` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DebugDirectoryEntryType : int { CodeView = 2, @@ -3628,7 +3386,6 @@ namespace System Unknown = 0, } - // Generated from `System.Reflection.PortableExecutable.DirectoryEntry` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DirectoryEntry { // Stub generator skipped constructor @@ -3637,7 +3394,6 @@ namespace System public int Size; } - // Generated from `System.Reflection.PortableExecutable.DllCharacteristics` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DllCharacteristics : ushort { @@ -3656,7 +3412,6 @@ namespace System WdmDriver = 8192, } - // Generated from `System.Reflection.PortableExecutable.Machine` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum Machine : ushort { AM33 = 467, @@ -3688,7 +3443,6 @@ namespace System WceMipsV2 = 361, } - // Generated from `System.Reflection.PortableExecutable.ManagedPEBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ManagedPEBuilder : System.Reflection.PortableExecutable.PEBuilder { protected override System.Collections.Immutable.ImmutableArray CreateSections() => throw null; @@ -3700,10 +3454,8 @@ namespace System public void Sign(System.Reflection.Metadata.BlobBuilder peImage, System.Func, System.Byte[]> signatureProvider) => throw null; } - // Generated from `System.Reflection.PortableExecutable.PEBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class PEBuilder { - // Generated from `System.Reflection.PortableExecutable.PEBuilder+Section` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` protected struct Section { public System.Reflection.PortableExecutable.SectionCharacteristics Characteristics; @@ -3724,7 +3476,6 @@ namespace System protected abstract System.Reflection.Metadata.BlobBuilder SerializeSection(string name, System.Reflection.PortableExecutable.SectionLocation location); } - // Generated from `System.Reflection.PortableExecutable.PEDirectoriesBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PEDirectoriesBuilder { public int AddressOfEntryPoint { get => throw null; set => throw null; } @@ -3745,7 +3496,6 @@ namespace System public System.Reflection.PortableExecutable.DirectoryEntry ThreadLocalStorageTable { get => throw null; set => throw null; } } - // Generated from `System.Reflection.PortableExecutable.PEHeader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PEHeader { public int AddressOfEntryPoint { get => throw null; } @@ -3793,7 +3543,6 @@ namespace System public System.Reflection.PortableExecutable.DirectoryEntry ThreadLocalStorageTableDirectory { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.PEHeaderBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PEHeaderBuilder { public static System.Reflection.PortableExecutable.PEHeaderBuilder CreateExecutableHeader() => throw null; @@ -3820,7 +3569,6 @@ namespace System public System.Reflection.PortableExecutable.Subsystem Subsystem { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.PEHeaders` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PEHeaders { public System.Reflection.PortableExecutable.CoffHeader CoffHeader { get => throw null; } @@ -3843,14 +3591,12 @@ namespace System public bool TryGetDirectoryOffset(System.Reflection.PortableExecutable.DirectoryEntry directory, out int offset) => throw null; } - // Generated from `System.Reflection.PortableExecutable.PEMagic` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PEMagic : ushort { PE32 = 267, PE32Plus = 523, } - // Generated from `System.Reflection.PortableExecutable.PEMemoryBlock` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PEMemoryBlock { public System.Collections.Immutable.ImmutableArray GetContent() => throw null; @@ -3862,7 +3608,6 @@ namespace System unsafe public System.Byte* Pointer { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.PEReader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PEReader : System.IDisposable { public void Dispose() => throw null; @@ -3887,7 +3632,6 @@ namespace System public bool TryOpenAssociatedPortablePdb(string peImagePath, System.Func pdbFileStreamProvider, out System.Reflection.Metadata.MetadataReaderProvider pdbReaderProvider, out string pdbPath) => throw null; } - // Generated from `System.Reflection.PortableExecutable.PEStreamOptions` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PEStreamOptions : int { @@ -3898,7 +3642,6 @@ namespace System PrefetchMetadata = 2, } - // Generated from `System.Reflection.PortableExecutable.PdbChecksumDebugDirectoryData` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PdbChecksumDebugDirectoryData { public string AlgorithmName { get => throw null; } @@ -3906,14 +3649,12 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Reflection.PortableExecutable.ResourceSectionBuilder` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ResourceSectionBuilder { protected ResourceSectionBuilder() => throw null; protected internal abstract void Serialize(System.Reflection.Metadata.BlobBuilder builder, System.Reflection.PortableExecutable.SectionLocation location); } - // Generated from `System.Reflection.PortableExecutable.SectionCharacteristics` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SectionCharacteristics : uint { @@ -3965,7 +3706,6 @@ namespace System TypeReg = 0, } - // Generated from `System.Reflection.PortableExecutable.SectionHeader` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SectionHeader { public string Name { get => throw null; } @@ -3981,7 +3721,6 @@ namespace System public int VirtualSize { get => throw null; } } - // Generated from `System.Reflection.PortableExecutable.SectionLocation` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SectionLocation { public int PointerToRawData { get => throw null; } @@ -3990,7 +3729,6 @@ namespace System public SectionLocation(int relativeVirtualAddress, int pointerToRawData) => throw null; } - // Generated from `System.Reflection.PortableExecutable.Subsystem` in `System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum Subsystem : ushort { EfiApplication = 10, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Primitives.cs index a6ce4962794..f8302f96b9c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.Primitives.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Emit { - // Generated from `System.Reflection.Emit.FlowControl` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FlowControl : int { Branch = 0, @@ -20,7 +20,6 @@ namespace System Throw = 8, } - // Generated from `System.Reflection.Emit.OpCode` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct OpCode : System.IEquatable { public static bool operator !=(System.Reflection.Emit.OpCode a, System.Reflection.Emit.OpCode b) => throw null; @@ -40,7 +39,6 @@ namespace System public System.Int16 Value { get => throw null; } } - // Generated from `System.Reflection.Emit.OpCodeType` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OpCodeType : int { Annotation = 0, @@ -51,7 +49,6 @@ namespace System Primitive = 5, } - // Generated from `System.Reflection.Emit.OpCodes` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OpCodes { public static System.Reflection.Emit.OpCode Add; @@ -283,7 +280,6 @@ namespace System public static System.Reflection.Emit.OpCode Xor; } - // Generated from `System.Reflection.Emit.OperandType` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OperandType : int { InlineBrTarget = 0, @@ -306,7 +302,6 @@ namespace System ShortInlineVar = 18, } - // Generated from `System.Reflection.Emit.PackingSize` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PackingSize : int { Size1 = 1, @@ -320,7 +315,6 @@ namespace System Unspecified = 0, } - // Generated from `System.Reflection.Emit.StackBehaviour` in `System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum StackBehaviour : int { Pop0 = 0, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.TypeExtensions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.TypeExtensions.cs index e9ae25ca17f..30f03313c7a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.TypeExtensions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Reflection.TypeExtensions.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Reflection { - // Generated from `System.Reflection.AssemblyExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class AssemblyExtensions { public static System.Type[] GetExportedTypes(this System.Reflection.Assembly assembly) => throw null; @@ -12,7 +12,6 @@ namespace System public static System.Type[] GetTypes(this System.Reflection.Assembly assembly) => throw null; } - // Generated from `System.Reflection.EventInfoExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class EventInfoExtensions { public static System.Reflection.MethodInfo GetAddMethod(this System.Reflection.EventInfo eventInfo) => throw null; @@ -23,27 +22,23 @@ namespace System public static System.Reflection.MethodInfo GetRemoveMethod(this System.Reflection.EventInfo eventInfo, bool nonPublic) => throw null; } - // Generated from `System.Reflection.MemberInfoExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class MemberInfoExtensions { public static int GetMetadataToken(this System.Reflection.MemberInfo member) => throw null; public static bool HasMetadataToken(this System.Reflection.MemberInfo member) => throw null; } - // Generated from `System.Reflection.MethodInfoExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class MethodInfoExtensions { public static System.Reflection.MethodInfo GetBaseDefinition(this System.Reflection.MethodInfo method) => throw null; } - // Generated from `System.Reflection.ModuleExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ModuleExtensions { public static System.Guid GetModuleVersionId(this System.Reflection.Module module) => throw null; public static bool HasModuleVersionId(this System.Reflection.Module module) => throw null; } - // Generated from `System.Reflection.PropertyInfoExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class PropertyInfoExtensions { public static System.Reflection.MethodInfo[] GetAccessors(this System.Reflection.PropertyInfo property) => throw null; @@ -54,7 +49,6 @@ namespace System public static System.Reflection.MethodInfo GetSetMethod(this System.Reflection.PropertyInfo property, bool nonPublic) => throw null; } - // Generated from `System.Reflection.TypeExtensions` in `System.Reflection.TypeExtensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class TypeExtensions { public static System.Reflection.ConstructorInfo GetConstructor(this System.Type type, System.Type[] types) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Resources.Writer.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Resources.Writer.cs index d96259b0e3b..9e25b50b75d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Resources.Writer.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Resources.Writer.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Resources.Writer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Resources { - // Generated from `System.Resources.IResourceWriter` in `System.Resources.Writer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IResourceWriter : System.IDisposable { void AddResource(string name, System.Byte[] value); @@ -14,7 +14,6 @@ namespace System void Generate(); } - // Generated from `System.Resources.ResourceWriter` in `System.Resources.Writer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResourceWriter : System.IDisposable, System.Resources.IResourceWriter { public void AddResource(string name, System.Byte[] value) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.CompilerServices.VisualC.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.CompilerServices.VisualC.cs index 1dc9253fbd4..66b9322cc5a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.CompilerServices.VisualC.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.CompilerServices.VisualC.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,87 +7,71 @@ namespace System { namespace CompilerServices { - // Generated from `System.Runtime.CompilerServices.CompilerMarshalOverride` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CompilerMarshalOverride { } - // Generated from `System.Runtime.CompilerServices.CppInlineNamespaceAttribute` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CppInlineNamespaceAttribute : System.Attribute { public CppInlineNamespaceAttribute(string dottedName) => throw null; } - // Generated from `System.Runtime.CompilerServices.HasCopySemanticsAttribute` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HasCopySemanticsAttribute : System.Attribute { public HasCopySemanticsAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.IsBoxed` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsBoxed { } - // Generated from `System.Runtime.CompilerServices.IsByValue` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsByValue { } - // Generated from `System.Runtime.CompilerServices.IsCopyConstructed` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsCopyConstructed { } - // Generated from `System.Runtime.CompilerServices.IsExplicitlyDereferenced` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsExplicitlyDereferenced { } - // Generated from `System.Runtime.CompilerServices.IsImplicitlyDereferenced` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsImplicitlyDereferenced { } - // Generated from `System.Runtime.CompilerServices.IsJitIntrinsic` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsJitIntrinsic { } - // Generated from `System.Runtime.CompilerServices.IsLong` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsLong { } - // Generated from `System.Runtime.CompilerServices.IsPinned` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsPinned { } - // Generated from `System.Runtime.CompilerServices.IsSignUnspecifiedByte` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsSignUnspecifiedByte { } - // Generated from `System.Runtime.CompilerServices.IsUdtReturn` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsUdtReturn { } - // Generated from `System.Runtime.CompilerServices.NativeCppClassAttribute` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NativeCppClassAttribute : System.Attribute { public NativeCppClassAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.RequiredAttributeAttribute` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RequiredAttributeAttribute : System.Attribute { public RequiredAttributeAttribute(System.Type requiredContract) => throw null; public System.Type RequiredContract { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.ScopelessEnumAttribute` in `System.Runtime.CompilerServices.VisualC, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ScopelessEnumAttribute : System.Attribute { public ScopelessEnumAttribute() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.JavaScript.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.JavaScript.cs index 72c77bed0da..1298bedf792 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.JavaScript.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.JavaScript.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -8,19 +9,16 @@ namespace System { namespace JavaScript { - // Generated from `System.Runtime.InteropServices.JavaScript.JSException` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JSException : System.Exception { public JSException(string msg) => throw null; } - // Generated from `System.Runtime.InteropServices.JavaScript.JSExportAttribute` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JSExportAttribute : System.Attribute { public JSExportAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.JavaScript.JSFunctionBinding` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JSFunctionBinding { public static System.Runtime.InteropServices.JavaScript.JSFunctionBinding BindJSFunction(string functionName, string moduleName, System.ReadOnlySpan signatures) => throw null; @@ -29,7 +27,6 @@ namespace System public JSFunctionBinding() => throw null; } - // Generated from `System.Runtime.InteropServices.JavaScript.JSHost` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class JSHost { public static System.Runtime.InteropServices.JavaScript.JSObject DotnetInstance { get => throw null; } @@ -37,7 +34,6 @@ namespace System public static System.Threading.Tasks.Task ImportAsync(string moduleName, string moduleUrl, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.Runtime.InteropServices.JavaScript.JSImportAttribute` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JSImportAttribute : System.Attribute { public string FunctionName { get => throw null; } @@ -46,20 +42,16 @@ namespace System public string ModuleName { get => throw null; } } - // Generated from `System.Runtime.InteropServices.JavaScript.JSMarshalAsAttribute<>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JSMarshalAsAttribute : System.Attribute where T : System.Runtime.InteropServices.JavaScript.JSType { public JSMarshalAsAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.JavaScript.JSMarshalerArgument` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct JSMarshalerArgument { - // Generated from `System.Runtime.InteropServices.JavaScript.JSMarshalerArgument+ArgumentToJSCallback<>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ArgumentToJSCallback(ref System.Runtime.InteropServices.JavaScript.JSMarshalerArgument arg, T value); - // Generated from `System.Runtime.InteropServices.JavaScript.JSMarshalerArgument+ArgumentToManagedCallback<>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ArgumentToManagedCallback(ref System.Runtime.InteropServices.JavaScript.JSMarshalerArgument arg, out T value); @@ -169,7 +161,6 @@ namespace System public void ToManagedBig(out System.Int64? value) => throw null; } - // Generated from `System.Runtime.InteropServices.JavaScript.JSMarshalerType` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JSMarshalerType { public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Action() => throw null; @@ -206,7 +197,6 @@ namespace System public static System.Runtime.InteropServices.JavaScript.JSMarshalerType Void { get => throw null; } } - // Generated from `System.Runtime.InteropServices.JavaScript.JSObject` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JSObject : System.IDisposable { public void Dispose() => throw null; @@ -227,112 +217,93 @@ namespace System public void SetProperty(string propertyName, string value) => throw null; } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class JSType { - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Any` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Any : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Array<>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Array : System.Runtime.InteropServices.JavaScript.JSType where T : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+BigInt` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BigInt : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Boolean` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Boolean : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Date` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Date : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Discard` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Discard : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Error` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Error : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Function` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Function : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Function<,,,>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Function : System.Runtime.InteropServices.JavaScript.JSType where T1 : System.Runtime.InteropServices.JavaScript.JSType where T2 : System.Runtime.InteropServices.JavaScript.JSType where T3 : System.Runtime.InteropServices.JavaScript.JSType where T4 : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Function<,,>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Function : System.Runtime.InteropServices.JavaScript.JSType where T1 : System.Runtime.InteropServices.JavaScript.JSType where T2 : System.Runtime.InteropServices.JavaScript.JSType where T3 : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Function<,>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Function : System.Runtime.InteropServices.JavaScript.JSType where T1 : System.Runtime.InteropServices.JavaScript.JSType where T2 : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Function<>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Function : System.Runtime.InteropServices.JavaScript.JSType where T : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+MemoryView` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemoryView : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Number` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Number : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Object` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Object : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Promise<>` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Promise : System.Runtime.InteropServices.JavaScript.JSType where T : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+String` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class String : System.Runtime.InteropServices.JavaScript.JSType { } - // Generated from `System.Runtime.InteropServices.JavaScript.JSType+Void` in `System.Runtime.InteropServices.JavaScript, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Void : System.Runtime.InteropServices.JavaScript.JSType { } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.cs index b01300fae36..5dd7c8a64ba 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.InteropServices.cs @@ -1,8 +1,8 @@ // This file contains auto-generated code. +// Generated from `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { - // Generated from `System.DataMisalignedException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataMisalignedException : System.SystemException { public DataMisalignedException() => throw null; @@ -10,7 +10,6 @@ namespace System public DataMisalignedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.DllNotFoundException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DllNotFoundException : System.TypeLoadException { public DllNotFoundException() => throw null; @@ -21,7 +20,6 @@ namespace System namespace IO { - // Generated from `System.IO.UnmanagedMemoryAccessor` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnmanagedMemoryAccessor : System.IDisposable { public bool CanRead { get => throw null; } @@ -71,14 +69,12 @@ namespace System { namespace CompilerServices { - // Generated from `System.Runtime.CompilerServices.IDispatchConstantAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IDispatchConstantAttribute : System.Runtime.CompilerServices.CustomConstantAttribute { public IDispatchConstantAttribute() => throw null; public override object Value { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.IUnknownConstantAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IUnknownConstantAttribute : System.Runtime.CompilerServices.CustomConstantAttribute { public IUnknownConstantAttribute() => throw null; @@ -88,13 +84,11 @@ namespace System } namespace InteropServices { - // Generated from `System.Runtime.InteropServices.AllowReversePInvokeCallsAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AllowReversePInvokeCallsAttribute : System.Attribute { public AllowReversePInvokeCallsAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.ArrayWithOffset` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ArrayWithOffset : System.IEquatable { public static bool operator !=(System.Runtime.InteropServices.ArrayWithOffset a, System.Runtime.InteropServices.ArrayWithOffset b) => throw null; @@ -108,14 +102,12 @@ namespace System public int GetOffset() => throw null; } - // Generated from `System.Runtime.InteropServices.AutomationProxyAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AutomationProxyAttribute : System.Attribute { public AutomationProxyAttribute(bool val) => throw null; public bool Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.BStrWrapper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BStrWrapper { public BStrWrapper(object value) => throw null; @@ -123,7 +115,6 @@ namespace System public string WrappedObject { get => throw null; } } - // Generated from `System.Runtime.InteropServices.BestFitMappingAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BestFitMappingAttribute : System.Attribute { public bool BestFitMapping { get => throw null; } @@ -131,7 +122,6 @@ namespace System public bool ThrowOnUnmappableChar; } - // Generated from `System.Runtime.InteropServices.CLong` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CLong : System.IEquatable { // Stub generator skipped constructor @@ -144,7 +134,6 @@ namespace System public System.IntPtr Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.COMException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class COMException : System.Runtime.InteropServices.ExternalException { public COMException() => throw null; @@ -155,7 +144,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Runtime.InteropServices.CULong` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CULong : System.IEquatable { // Stub generator skipped constructor @@ -168,7 +156,6 @@ namespace System public System.UIntPtr Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.CallingConvention` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CallingConvention : int { Cdecl = 2, @@ -178,7 +165,6 @@ namespace System Winapi = 1, } - // Generated from `System.Runtime.InteropServices.ClassInterfaceAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ClassInterfaceAttribute : System.Attribute { public ClassInterfaceAttribute(System.Runtime.InteropServices.ClassInterfaceType classInterfaceType) => throw null; @@ -186,7 +172,6 @@ namespace System public System.Runtime.InteropServices.ClassInterfaceType Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.ClassInterfaceType` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ClassInterfaceType : int { AutoDispatch = 1, @@ -194,14 +179,12 @@ namespace System None = 0, } - // Generated from `System.Runtime.InteropServices.CoClassAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CoClassAttribute : System.Attribute { public System.Type CoClass { get => throw null; } public CoClassAttribute(System.Type coClass) => throw null; } - // Generated from `System.Runtime.InteropServices.CollectionsMarshal` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CollectionsMarshal { public static System.Span AsSpan(System.Collections.Generic.List list) => throw null; @@ -209,14 +192,12 @@ namespace System public static TValue GetValueRefOrNullRef(System.Collections.Generic.Dictionary dictionary, TKey key) => throw null; } - // Generated from `System.Runtime.InteropServices.ComAliasNameAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComAliasNameAttribute : System.Attribute { public ComAliasNameAttribute(string alias) => throw null; public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.ComAwareEventInfo` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComAwareEventInfo : System.Reflection.EventInfo { public override void AddEventHandler(object target, System.Delegate handler) => throw null; @@ -238,7 +219,6 @@ namespace System public override void RemoveEventHandler(object target, System.Delegate handler) => throw null; } - // Generated from `System.Runtime.InteropServices.ComCompatibleVersionAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComCompatibleVersionAttribute : System.Attribute { public int BuildNumber { get => throw null; } @@ -248,20 +228,17 @@ namespace System public int RevisionNumber { get => throw null; } } - // Generated from `System.Runtime.InteropServices.ComConversionLossAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComConversionLossAttribute : System.Attribute { public ComConversionLossAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.ComDefaultInterfaceAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComDefaultInterfaceAttribute : System.Attribute { public ComDefaultInterfaceAttribute(System.Type defaultInterface) => throw null; public System.Type Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.ComEventInterfaceAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComEventInterfaceAttribute : System.Attribute { public ComEventInterfaceAttribute(System.Type SourceInterface, System.Type EventProvider) => throw null; @@ -269,20 +246,17 @@ namespace System public System.Type SourceInterface { get => throw null; } } - // Generated from `System.Runtime.InteropServices.ComEventsHelper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ComEventsHelper { public static void Combine(object rcw, System.Guid iid, int dispid, System.Delegate d) => throw null; public static System.Delegate Remove(object rcw, System.Guid iid, int dispid, System.Delegate d) => throw null; } - // Generated from `System.Runtime.InteropServices.ComImportAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComImportAttribute : System.Attribute { public ComImportAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.ComInterfaceType` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ComInterfaceType : int { InterfaceIsDual = 0, @@ -291,7 +265,6 @@ namespace System InterfaceIsIUnknown = 1, } - // Generated from `System.Runtime.InteropServices.ComMemberType` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ComMemberType : int { Method = 0, @@ -299,13 +272,11 @@ namespace System PropSet = 2, } - // Generated from `System.Runtime.InteropServices.ComRegisterFunctionAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComRegisterFunctionAttribute : System.Attribute { public ComRegisterFunctionAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.ComSourceInterfacesAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComSourceInterfacesAttribute : System.Attribute { public ComSourceInterfacesAttribute(System.Type sourceInterface) => throw null; @@ -316,16 +287,13 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.ComUnregisterFunctionAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComUnregisterFunctionAttribute : System.Attribute { public ComUnregisterFunctionAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.ComWrappers` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ComWrappers { - // Generated from `System.Runtime.InteropServices.ComWrappers+ComInterfaceDispatch` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ComInterfaceDispatch { // Stub generator skipped constructor @@ -334,7 +302,6 @@ namespace System } - // Generated from `System.Runtime.InteropServices.ComWrappers+ComInterfaceEntry` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ComInterfaceEntry { // Stub generator skipped constructor @@ -356,7 +323,6 @@ namespace System protected abstract void ReleaseObjects(System.Collections.IEnumerable objects); } - // Generated from `System.Runtime.InteropServices.CreateComInterfaceFlags` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CreateComInterfaceFlags : int { @@ -365,7 +331,6 @@ namespace System TrackerSupport = 2, } - // Generated from `System.Runtime.InteropServices.CreateObjectFlags` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CreateObjectFlags : int { @@ -376,7 +341,6 @@ namespace System Unwrap = 8, } - // Generated from `System.Runtime.InteropServices.CurrencyWrapper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CurrencyWrapper { public CurrencyWrapper(System.Decimal obj) => throw null; @@ -384,14 +348,12 @@ namespace System public System.Decimal WrappedObject { get => throw null; } } - // Generated from `System.Runtime.InteropServices.CustomQueryInterfaceMode` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CustomQueryInterfaceMode : int { Allow = 1, Ignore = 0, } - // Generated from `System.Runtime.InteropServices.CustomQueryInterfaceResult` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CustomQueryInterfaceResult : int { Failed = 2, @@ -399,42 +361,36 @@ namespace System NotHandled = 1, } - // Generated from `System.Runtime.InteropServices.DefaultCharSetAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultCharSetAttribute : System.Attribute { public System.Runtime.InteropServices.CharSet CharSet { get => throw null; } public DefaultCharSetAttribute(System.Runtime.InteropServices.CharSet charSet) => throw null; } - // Generated from `System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultDllImportSearchPathsAttribute : System.Attribute { public DefaultDllImportSearchPathsAttribute(System.Runtime.InteropServices.DllImportSearchPath paths) => throw null; public System.Runtime.InteropServices.DllImportSearchPath Paths { get => throw null; } } - // Generated from `System.Runtime.InteropServices.DefaultParameterValueAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultParameterValueAttribute : System.Attribute { public DefaultParameterValueAttribute(object value) => throw null; public object Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.DispIdAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DispIdAttribute : System.Attribute { public DispIdAttribute(int dispId) => throw null; public int Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.DispatchWrapper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DispatchWrapper { public DispatchWrapper(object obj) => throw null; public object WrappedObject { get => throw null; } } - // Generated from `System.Runtime.InteropServices.DllImportAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DllImportAttribute : System.Attribute { public bool BestFitMapping; @@ -449,10 +405,8 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.DllImportResolver` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.IntPtr DllImportResolver(string libraryName, System.Reflection.Assembly assembly, System.Runtime.InteropServices.DllImportSearchPath? searchPath); - // Generated from `System.Runtime.InteropServices.DllImportSearchPath` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DllImportSearchPath : int { @@ -465,13 +419,11 @@ namespace System UserDirectories = 1024, } - // Generated from `System.Runtime.InteropServices.DynamicInterfaceCastableImplementationAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicInterfaceCastableImplementationAttribute : System.Attribute { public DynamicInterfaceCastableImplementationAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.ErrorWrapper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ErrorWrapper { public int ErrorCode { get => throw null; } @@ -480,14 +432,12 @@ namespace System public ErrorWrapper(object errorCode) => throw null; } - // Generated from `System.Runtime.InteropServices.GuidAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GuidAttribute : System.Attribute { public GuidAttribute(string guid) => throw null; public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.HandleCollector` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HandleCollector { public void Add() => throw null; @@ -500,7 +450,6 @@ namespace System public void Remove() => throw null; } - // Generated from `System.Runtime.InteropServices.HandleRef` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct HandleRef { public System.IntPtr Handle { get => throw null; } @@ -511,19 +460,16 @@ namespace System public static explicit operator System.IntPtr(System.Runtime.InteropServices.HandleRef value) => throw null; } - // Generated from `System.Runtime.InteropServices.ICustomAdapter` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomAdapter { object GetUnderlyingObject(); } - // Generated from `System.Runtime.InteropServices.ICustomFactory` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomFactory { System.MarshalByRefObject CreateInstance(System.Type serverType); } - // Generated from `System.Runtime.InteropServices.ICustomMarshaler` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomMarshaler { void CleanUpManagedData(object ManagedObj); @@ -533,27 +479,23 @@ namespace System object MarshalNativeToManaged(System.IntPtr pNativeData); } - // Generated from `System.Runtime.InteropServices.ICustomQueryInterface` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomQueryInterface { System.Runtime.InteropServices.CustomQueryInterfaceResult GetInterface(ref System.Guid iid, out System.IntPtr ppv); } - // Generated from `System.Runtime.InteropServices.IDynamicInterfaceCastable` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDynamicInterfaceCastable { System.RuntimeTypeHandle GetInterfaceImplementation(System.RuntimeTypeHandle interfaceType); bool IsInterfaceImplemented(System.RuntimeTypeHandle interfaceType, bool throwIfNotImplemented); } - // Generated from `System.Runtime.InteropServices.ImportedFromTypeLibAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImportedFromTypeLibAttribute : System.Attribute { public ImportedFromTypeLibAttribute(string tlbFile) => throw null; public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.InterfaceTypeAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InterfaceTypeAttribute : System.Attribute { public InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType interfaceType) => throw null; @@ -561,7 +503,6 @@ namespace System public System.Runtime.InteropServices.ComInterfaceType Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.InvalidComObjectException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidComObjectException : System.SystemException { public InvalidComObjectException() => throw null; @@ -570,7 +511,6 @@ namespace System public InvalidComObjectException(string message, System.Exception inner) => throw null; } - // Generated from `System.Runtime.InteropServices.InvalidOleVariantTypeException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidOleVariantTypeException : System.SystemException { public InvalidOleVariantTypeException() => throw null; @@ -579,14 +519,12 @@ namespace System public InvalidOleVariantTypeException(string message, System.Exception inner) => throw null; } - // Generated from `System.Runtime.InteropServices.LCIDConversionAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LCIDConversionAttribute : System.Attribute { public LCIDConversionAttribute(int lcid) => throw null; public int Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.LibraryImportAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LibraryImportAttribute : System.Attribute { public string EntryPoint { get => throw null; set => throw null; } @@ -597,7 +535,6 @@ namespace System public System.Type StringMarshallingCustomType { get => throw null; set => throw null; } } - // Generated from `System.Runtime.InteropServices.ManagedToNativeComInteropStubAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ManagedToNativeComInteropStubAttribute : System.Attribute { public System.Type ClassType { get => throw null; } @@ -605,7 +542,6 @@ namespace System public string MethodName { get => throw null; } } - // Generated from `System.Runtime.InteropServices.Marshal` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Marshal { public static int AddRef(System.IntPtr pUnk) => throw null; @@ -773,7 +709,6 @@ namespace System public static void ZeroFreeGlobalAllocUnicode(System.IntPtr s) => throw null; } - // Generated from `System.Runtime.InteropServices.MarshalAsAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MarshalAsAttribute : System.Attribute { public System.Runtime.InteropServices.UnmanagedType ArraySubType; @@ -790,7 +725,6 @@ namespace System public System.Runtime.InteropServices.UnmanagedType Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.MarshalDirectiveException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MarshalDirectiveException : System.SystemException { public MarshalDirectiveException() => throw null; @@ -799,7 +733,6 @@ namespace System public MarshalDirectiveException(string message, System.Exception inner) => throw null; } - // Generated from `System.Runtime.InteropServices.NFloat` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct NFloat : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { static bool System.Numerics.IEqualityOperators.operator !=(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) => throw null; @@ -1023,7 +956,6 @@ namespace System static System.Runtime.InteropServices.NFloat System.Numerics.IBitwiseOperators.operator ~(System.Runtime.InteropServices.NFloat value) => throw null; } - // Generated from `System.Runtime.InteropServices.NativeLibrary` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class NativeLibrary { public static void Free(System.IntPtr handle) => throw null; @@ -1037,7 +969,6 @@ namespace System public static bool TryLoad(string libraryPath, out System.IntPtr handle) => throw null; } - // Generated from `System.Runtime.InteropServices.NativeMemory` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class NativeMemory { unsafe public static void* AlignedAlloc(System.UIntPtr byteCount, System.UIntPtr alignment) => throw null; @@ -1054,13 +985,11 @@ namespace System unsafe public static void* Realloc(void* ptr, System.UIntPtr byteCount) => throw null; } - // Generated from `System.Runtime.InteropServices.OptionalAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OptionalAttribute : System.Attribute { public OptionalAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.PosixSignal` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PosixSignal : int { SIGCHLD = -5, @@ -1075,7 +1004,6 @@ namespace System SIGWINCH = -7, } - // Generated from `System.Runtime.InteropServices.PosixSignalContext` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PosixSignalContext { public bool Cancel { get => throw null; set => throw null; } @@ -1083,7 +1011,6 @@ namespace System public System.Runtime.InteropServices.PosixSignal Signal { get => throw null; } } - // Generated from `System.Runtime.InteropServices.PosixSignalRegistration` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PosixSignalRegistration : System.IDisposable { public static System.Runtime.InteropServices.PosixSignalRegistration Create(System.Runtime.InteropServices.PosixSignal signal, System.Action handler) => throw null; @@ -1091,13 +1018,11 @@ namespace System // ERR: Stub generator didn't handle member: ~PosixSignalRegistration } - // Generated from `System.Runtime.InteropServices.PreserveSigAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PreserveSigAttribute : System.Attribute { public PreserveSigAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PrimaryInteropAssemblyAttribute : System.Attribute { public int MajorVersion { get => throw null; } @@ -1105,14 +1030,12 @@ namespace System public PrimaryInteropAssemblyAttribute(int major, int minor) => throw null; } - // Generated from `System.Runtime.InteropServices.ProgIdAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ProgIdAttribute : System.Attribute { public ProgIdAttribute(string progId) => throw null; public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.RuntimeEnvironment` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class RuntimeEnvironment { public static bool FromGlobalAccessCache(System.Reflection.Assembly a) => throw null; @@ -1123,7 +1046,6 @@ namespace System public static string SystemConfigurationFile { get => throw null; } } - // Generated from `System.Runtime.InteropServices.SEHException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SEHException : System.Runtime.InteropServices.ExternalException { public virtual bool CanResume() => throw null; @@ -1133,7 +1055,6 @@ namespace System public SEHException(string message, System.Exception inner) => throw null; } - // Generated from `System.Runtime.InteropServices.SafeArrayRankMismatchException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeArrayRankMismatchException : System.SystemException { public SafeArrayRankMismatchException() => throw null; @@ -1142,7 +1063,6 @@ namespace System public SafeArrayRankMismatchException(string message, System.Exception inner) => throw null; } - // Generated from `System.Runtime.InteropServices.SafeArrayTypeMismatchException` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeArrayTypeMismatchException : System.SystemException { public SafeArrayTypeMismatchException() => throw null; @@ -1151,13 +1071,11 @@ namespace System public SafeArrayTypeMismatchException(string message, System.Exception inner) => throw null; } - // Generated from `System.Runtime.InteropServices.StandardOleMarshalObject` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StandardOleMarshalObject : System.MarshalByRefObject { protected StandardOleMarshalObject() => throw null; } - // Generated from `System.Runtime.InteropServices.StringMarshalling` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum StringMarshalling : int { Custom = 0, @@ -1165,7 +1083,6 @@ namespace System Utf8 = 1, } - // Generated from `System.Runtime.InteropServices.TypeIdentifierAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeIdentifierAttribute : System.Attribute { public string Identifier { get => throw null; } @@ -1174,7 +1091,6 @@ namespace System public TypeIdentifierAttribute(string scope, string identifier) => throw null; } - // Generated from `System.Runtime.InteropServices.TypeLibFuncAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeLibFuncAttribute : System.Attribute { public TypeLibFuncAttribute(System.Runtime.InteropServices.TypeLibFuncFlags flags) => throw null; @@ -1182,7 +1098,6 @@ namespace System public System.Runtime.InteropServices.TypeLibFuncFlags Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.TypeLibFuncFlags` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TypeLibFuncFlags : int { @@ -1201,14 +1116,12 @@ namespace System FUsesGetLastError = 128, } - // Generated from `System.Runtime.InteropServices.TypeLibImportClassAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeLibImportClassAttribute : System.Attribute { public TypeLibImportClassAttribute(System.Type importClass) => throw null; public string Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.TypeLibTypeAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeLibTypeAttribute : System.Attribute { public TypeLibTypeAttribute(System.Runtime.InteropServices.TypeLibTypeFlags flags) => throw null; @@ -1216,7 +1129,6 @@ namespace System public System.Runtime.InteropServices.TypeLibTypeFlags Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.TypeLibTypeFlags` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TypeLibTypeFlags : int { @@ -1236,7 +1148,6 @@ namespace System FReverseBind = 8192, } - // Generated from `System.Runtime.InteropServices.TypeLibVarAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeLibVarAttribute : System.Attribute { public TypeLibVarAttribute(System.Runtime.InteropServices.TypeLibVarFlags flags) => throw null; @@ -1244,7 +1155,6 @@ namespace System public System.Runtime.InteropServices.TypeLibVarFlags Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.TypeLibVarFlags` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TypeLibVarFlags : int { @@ -1263,7 +1173,6 @@ namespace System FUiDefault = 512, } - // Generated from `System.Runtime.InteropServices.TypeLibVersionAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeLibVersionAttribute : System.Attribute { public int MajorVersion { get => throw null; } @@ -1271,21 +1180,18 @@ namespace System public TypeLibVersionAttribute(int major, int minor) => throw null; } - // Generated from `System.Runtime.InteropServices.UnknownWrapper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnknownWrapper { public UnknownWrapper(object obj) => throw null; public object WrappedObject { get => throw null; } } - // Generated from `System.Runtime.InteropServices.UnmanagedCallConvAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnmanagedCallConvAttribute : System.Attribute { public System.Type[] CallConvs; public UnmanagedCallConvAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnmanagedCallersOnlyAttribute : System.Attribute { public System.Type[] CallConvs; @@ -1293,7 +1199,6 @@ namespace System public UnmanagedCallersOnlyAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnmanagedFunctionPointerAttribute : System.Attribute { public bool BestFitMapping; @@ -1304,7 +1209,6 @@ namespace System public UnmanagedFunctionPointerAttribute(System.Runtime.InteropServices.CallingConvention callingConvention) => throw null; } - // Generated from `System.Runtime.InteropServices.VarEnum` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum VarEnum : int { VT_ARRAY = 8192, @@ -1353,7 +1257,6 @@ namespace System VT_VOID = 24, } - // Generated from `System.Runtime.InteropServices.VariantWrapper` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VariantWrapper { public VariantWrapper(object obj) => throw null; @@ -1362,7 +1265,6 @@ namespace System namespace ComTypes { - // Generated from `System.Runtime.InteropServices.ComTypes.ADVF` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ADVF : int { @@ -1375,7 +1277,6 @@ namespace System ADVF_PRIMEFIRST = 2, } - // Generated from `System.Runtime.InteropServices.ComTypes.BINDPTR` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BINDPTR { // Stub generator skipped constructor @@ -1384,7 +1285,6 @@ namespace System public System.IntPtr lpvardesc; } - // Generated from `System.Runtime.InteropServices.ComTypes.BIND_OPTS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BIND_OPTS { // Stub generator skipped constructor @@ -1394,7 +1294,6 @@ namespace System public int grfMode; } - // Generated from `System.Runtime.InteropServices.ComTypes.CALLCONV` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CALLCONV : int { CC_CDECL = 1, @@ -1409,7 +1308,6 @@ namespace System CC_SYSCALL = 6, } - // Generated from `System.Runtime.InteropServices.ComTypes.CONNECTDATA` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CONNECTDATA { // Stub generator skipped constructor @@ -1417,14 +1315,12 @@ namespace System public object pUnk; } - // Generated from `System.Runtime.InteropServices.ComTypes.DATADIR` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DATADIR : int { DATADIR_GET = 1, DATADIR_SET = 2, } - // Generated from `System.Runtime.InteropServices.ComTypes.DESCKIND` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DESCKIND : int { DESCKIND_FUNCDESC = 1, @@ -1435,7 +1331,6 @@ namespace System DESCKIND_VARDESC = 2, } - // Generated from `System.Runtime.InteropServices.ComTypes.DISPPARAMS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DISPPARAMS { // Stub generator skipped constructor @@ -1445,7 +1340,6 @@ namespace System public System.IntPtr rgvarg; } - // Generated from `System.Runtime.InteropServices.ComTypes.DVASPECT` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DVASPECT : int { @@ -1455,10 +1349,8 @@ namespace System DVASPECT_THUMBNAIL = 2, } - // Generated from `System.Runtime.InteropServices.ComTypes.ELEMDESC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ELEMDESC { - // Generated from `System.Runtime.InteropServices.ComTypes.ELEMDESC+DESCUNION` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DESCUNION { // Stub generator skipped constructor @@ -1472,7 +1364,6 @@ namespace System public System.Runtime.InteropServices.ComTypes.TYPEDESC tdesc; } - // Generated from `System.Runtime.InteropServices.ComTypes.EXCEPINFO` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct EXCEPINFO { // Stub generator skipped constructor @@ -1487,7 +1378,6 @@ namespace System public System.Int16 wReserved; } - // Generated from `System.Runtime.InteropServices.ComTypes.FILETIME` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FILETIME { // Stub generator skipped constructor @@ -1495,7 +1385,6 @@ namespace System public int dwLowDateTime; } - // Generated from `System.Runtime.InteropServices.ComTypes.FORMATETC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FORMATETC { // Stub generator skipped constructor @@ -1506,7 +1395,6 @@ namespace System public System.Runtime.InteropServices.ComTypes.TYMED tymed; } - // Generated from `System.Runtime.InteropServices.ComTypes.FUNCDESC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FUNCDESC { // Stub generator skipped constructor @@ -1524,7 +1412,6 @@ namespace System public System.Int16 wFuncFlags; } - // Generated from `System.Runtime.InteropServices.ComTypes.FUNCFLAGS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FUNCFLAGS : short { @@ -1543,7 +1430,6 @@ namespace System FUNCFLAG_FUSESGETLASTERROR = 128, } - // Generated from `System.Runtime.InteropServices.ComTypes.FUNCKIND` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FUNCKIND : int { FUNC_DISPATCH = 4, @@ -1553,7 +1439,6 @@ namespace System FUNC_VIRTUAL = 0, } - // Generated from `System.Runtime.InteropServices.ComTypes.IAdviseSink` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAdviseSink { void OnClose(); @@ -1563,7 +1448,6 @@ namespace System void OnViewChange(int aspect, int index); } - // Generated from `System.Runtime.InteropServices.ComTypes.IBindCtx` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IBindCtx { void EnumObjectParam(out System.Runtime.InteropServices.ComTypes.IEnumString ppenum); @@ -1578,7 +1462,6 @@ namespace System void SetBindOptions(ref System.Runtime.InteropServices.ComTypes.BIND_OPTS pbindopts); } - // Generated from `System.Runtime.InteropServices.ComTypes.IConnectionPoint` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IConnectionPoint { void Advise(object pUnkSink, out int pdwCookie); @@ -1588,14 +1471,12 @@ namespace System void Unadvise(int dwCookie); } - // Generated from `System.Runtime.InteropServices.ComTypes.IConnectionPointContainer` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IConnectionPointContainer { void EnumConnectionPoints(out System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints ppEnum); void FindConnectionPoint(ref System.Guid riid, out System.Runtime.InteropServices.ComTypes.IConnectionPoint ppCP); } - // Generated from `System.Runtime.InteropServices.ComTypes.IDLDESC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct IDLDESC { // Stub generator skipped constructor @@ -1603,7 +1484,6 @@ namespace System public System.Runtime.InteropServices.ComTypes.IDLFLAG wIDLFlags; } - // Generated from `System.Runtime.InteropServices.ComTypes.IDLFLAG` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum IDLFLAG : short { @@ -1614,7 +1494,6 @@ namespace System IDLFLAG_NONE = 0, } - // Generated from `System.Runtime.InteropServices.ComTypes.IDataObject` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataObject { int DAdvise(ref System.Runtime.InteropServices.ComTypes.FORMATETC pFormatetc, System.Runtime.InteropServices.ComTypes.ADVF advf, System.Runtime.InteropServices.ComTypes.IAdviseSink adviseSink, out int connection); @@ -1628,7 +1507,6 @@ namespace System void SetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatIn, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM medium, bool release); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumConnectionPoints { void Clone(out System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints ppenum); @@ -1637,7 +1515,6 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumConnections` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumConnections { void Clone(out System.Runtime.InteropServices.ComTypes.IEnumConnections ppenum); @@ -1646,7 +1523,6 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumFORMATETC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumFORMATETC { void Clone(out System.Runtime.InteropServices.ComTypes.IEnumFORMATETC newEnum); @@ -1655,7 +1531,6 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumMoniker` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumMoniker { void Clone(out System.Runtime.InteropServices.ComTypes.IEnumMoniker ppenum); @@ -1664,7 +1539,6 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumSTATDATA` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumSTATDATA { void Clone(out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA newEnum); @@ -1673,7 +1547,6 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumString` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumString { void Clone(out System.Runtime.InteropServices.ComTypes.IEnumString ppenum); @@ -1682,7 +1555,6 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IEnumVARIANT` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumVARIANT { System.Runtime.InteropServices.ComTypes.IEnumVARIANT Clone(); @@ -1691,7 +1563,6 @@ namespace System int Skip(int celt); } - // Generated from `System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum IMPLTYPEFLAGS : int { @@ -1701,7 +1572,6 @@ namespace System IMPLTYPEFLAG_FSOURCE = 2, } - // Generated from `System.Runtime.InteropServices.ComTypes.IMoniker` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IMoniker { void BindToObject(System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker pmkToLeft, ref System.Guid riidResult, out object ppvResult); @@ -1726,7 +1596,6 @@ namespace System void Save(System.Runtime.InteropServices.ComTypes.IStream pStm, bool fClearDirty); } - // Generated from `System.Runtime.InteropServices.ComTypes.INVOKEKIND` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum INVOKEKIND : int { @@ -1736,7 +1605,6 @@ namespace System INVOKE_PROPERTYPUTREF = 8, } - // Generated from `System.Runtime.InteropServices.ComTypes.IPersistFile` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IPersistFile { void GetClassID(out System.Guid pClassID); @@ -1747,7 +1615,6 @@ namespace System void SaveCompleted(string pszFileName); } - // Generated from `System.Runtime.InteropServices.ComTypes.IRunningObjectTable` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IRunningObjectTable { void EnumRunning(out System.Runtime.InteropServices.ComTypes.IEnumMoniker ppenumMoniker); @@ -1759,7 +1626,6 @@ namespace System void Revoke(int dwRegister); } - // Generated from `System.Runtime.InteropServices.ComTypes.IStream` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IStream { void Clone(out System.Runtime.InteropServices.ComTypes.IStream ppstm); @@ -1775,14 +1641,12 @@ namespace System void Write(System.Byte[] pv, int cb, System.IntPtr pcbWritten); } - // Generated from `System.Runtime.InteropServices.ComTypes.ITypeComp` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeComp { void Bind(string szName, int lHashVal, System.Int16 wFlags, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTInfo, out System.Runtime.InteropServices.ComTypes.DESCKIND pDescKind, out System.Runtime.InteropServices.ComTypes.BINDPTR pBindPtr); void BindType(string szName, int lHashVal, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTInfo, out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp); } - // Generated from `System.Runtime.InteropServices.ComTypes.ITypeInfo` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeInfo { void AddressOfMember(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out System.IntPtr ppv); @@ -1806,7 +1670,6 @@ namespace System void ReleaseVarDesc(System.IntPtr pVarDesc); } - // Generated from `System.Runtime.InteropServices.ComTypes.ITypeInfo2` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeInfo2 : System.Runtime.InteropServices.ComTypes.ITypeInfo { void AddressOfMember(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out System.IntPtr ppv); @@ -1845,7 +1708,6 @@ namespace System void ReleaseVarDesc(System.IntPtr pVarDesc); } - // Generated from `System.Runtime.InteropServices.ComTypes.ITypeLib` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeLib { void FindName(string szNameBuf, int lHashVal, System.Runtime.InteropServices.ComTypes.ITypeInfo[] ppTInfo, int[] rgMemId, ref System.Int16 pcFound); @@ -1860,7 +1722,6 @@ namespace System void ReleaseTLibAttr(System.IntPtr pTLibAttr); } - // Generated from `System.Runtime.InteropServices.ComTypes.ITypeLib2` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITypeLib2 : System.Runtime.InteropServices.ComTypes.ITypeLib { void FindName(string szNameBuf, int lHashVal, System.Runtime.InteropServices.ComTypes.ITypeInfo[] ppTInfo, int[] rgMemId, ref System.Int16 pcFound); @@ -1879,7 +1740,6 @@ namespace System void ReleaseTLibAttr(System.IntPtr pTLibAttr); } - // Generated from `System.Runtime.InteropServices.ComTypes.LIBFLAGS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum LIBFLAGS : short { @@ -1889,7 +1749,6 @@ namespace System LIBFLAG_FRESTRICTED = 1, } - // Generated from `System.Runtime.InteropServices.ComTypes.PARAMDESC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PARAMDESC { // Stub generator skipped constructor @@ -1897,7 +1756,6 @@ namespace System public System.Runtime.InteropServices.ComTypes.PARAMFLAG wParamFlags; } - // Generated from `System.Runtime.InteropServices.ComTypes.PARAMFLAG` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PARAMFLAG : short { @@ -1911,7 +1769,6 @@ namespace System PARAMFLAG_NONE = 0, } - // Generated from `System.Runtime.InteropServices.ComTypes.STATDATA` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct STATDATA { // Stub generator skipped constructor @@ -1921,7 +1778,6 @@ namespace System public System.Runtime.InteropServices.ComTypes.FORMATETC formatetc; } - // Generated from `System.Runtime.InteropServices.ComTypes.STATSTG` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct STATSTG { // Stub generator skipped constructor @@ -1938,7 +1794,6 @@ namespace System public int type; } - // Generated from `System.Runtime.InteropServices.ComTypes.STGMEDIUM` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct STGMEDIUM { // Stub generator skipped constructor @@ -1947,7 +1802,6 @@ namespace System public System.IntPtr unionmember; } - // Generated from `System.Runtime.InteropServices.ComTypes.SYSKIND` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SYSKIND : int { SYS_MAC = 2, @@ -1956,7 +1810,6 @@ namespace System SYS_WIN64 = 3, } - // Generated from `System.Runtime.InteropServices.ComTypes.TYMED` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TYMED : int { @@ -1970,7 +1823,6 @@ namespace System TYMED_NULL = 0, } - // Generated from `System.Runtime.InteropServices.ComTypes.TYPEATTR` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TYPEATTR { public const int MEMBER_ID_NIL = default; @@ -1995,7 +1847,6 @@ namespace System public System.Runtime.InteropServices.ComTypes.TYPEFLAGS wTypeFlags; } - // Generated from `System.Runtime.InteropServices.ComTypes.TYPEDESC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TYPEDESC { // Stub generator skipped constructor @@ -2003,7 +1854,6 @@ namespace System public System.Int16 vt; } - // Generated from `System.Runtime.InteropServices.ComTypes.TYPEFLAGS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TYPEFLAGS : short { @@ -2024,7 +1874,6 @@ namespace System TYPEFLAG_FREVERSEBIND = 8192, } - // Generated from `System.Runtime.InteropServices.ComTypes.TYPEKIND` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TYPEKIND : int { TKIND_ALIAS = 6, @@ -2038,7 +1887,6 @@ namespace System TKIND_UNION = 7, } - // Generated from `System.Runtime.InteropServices.ComTypes.TYPELIBATTR` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TYPELIBATTR { // Stub generator skipped constructor @@ -2050,10 +1898,8 @@ namespace System public System.Int16 wMinorVerNum; } - // Generated from `System.Runtime.InteropServices.ComTypes.VARDESC` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct VARDESC { - // Generated from `System.Runtime.InteropServices.ComTypes.VARDESC+DESCUNION` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DESCUNION { // Stub generator skipped constructor @@ -2071,7 +1917,6 @@ namespace System public System.Int16 wVarFlags; } - // Generated from `System.Runtime.InteropServices.ComTypes.VARFLAGS` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum VARFLAGS : short { @@ -2090,7 +1935,6 @@ namespace System VARFLAG_FUIDEFAULT = 512, } - // Generated from `System.Runtime.InteropServices.ComTypes.VARKIND` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum VARKIND : int { VAR_CONST = 2, @@ -2102,10 +1946,8 @@ namespace System } namespace Marshalling { - // Generated from `System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class AnsiStringMarshaller { - // Generated from `System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller+ManagedToUnmanagedIn` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManagedToUnmanagedIn { public static int BufferSize { get => throw null; } @@ -2121,10 +1963,8 @@ namespace System unsafe public static void Free(System.Byte* unmanaged) => throw null; } - // Generated from `System.Runtime.InteropServices.Marshalling.ArrayMarshaller<,>` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ArrayMarshaller where TUnmanagedElement : unmanaged { - // Generated from `System.Runtime.InteropServices.Marshalling.ArrayMarshaller<,>+ManagedToUnmanagedIn` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManagedToUnmanagedIn { public static int BufferSize { get => throw null; } @@ -2148,10 +1988,8 @@ namespace System unsafe public static System.ReadOnlySpan GetUnmanagedValuesSource(TUnmanagedElement* unmanagedValue, int numElements) => throw null; } - // Generated from `System.Runtime.InteropServices.Marshalling.BStrStringMarshaller` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class BStrStringMarshaller { - // Generated from `System.Runtime.InteropServices.Marshalling.BStrStringMarshaller+ManagedToUnmanagedIn` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManagedToUnmanagedIn { public static int BufferSize { get => throw null; } @@ -2167,7 +2005,6 @@ namespace System unsafe public static void Free(System.UInt16* unmanaged) => throw null; } - // Generated from `System.Runtime.InteropServices.Marshalling.MarshalUsingAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MarshalUsingAttribute : System.Attribute { public int ConstantElementCount { get => throw null; set => throw null; } @@ -2179,10 +2016,8 @@ namespace System public const string ReturnsCountValue = default; } - // Generated from `System.Runtime.InteropServices.Marshalling.PointerArrayMarshaller<,>` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class PointerArrayMarshaller where T : unmanaged where TUnmanagedElement : unmanaged { - // Generated from `System.Runtime.InteropServices.Marshalling.PointerArrayMarshaller<,>+ManagedToUnmanagedIn` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManagedToUnmanagedIn { public static int BufferSize { get => throw null; } @@ -2206,7 +2041,6 @@ namespace System unsafe public static System.ReadOnlySpan GetUnmanagedValuesSource(TUnmanagedElement* unmanagedValue, int numElements) => throw null; } - // Generated from `System.Runtime.InteropServices.Marshalling.Utf16StringMarshaller` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Utf16StringMarshaller { unsafe public static string ConvertToManaged(System.UInt16* unmanaged) => throw null; @@ -2215,10 +2049,8 @@ namespace System public static System.Char GetPinnableReference(string str) => throw null; } - // Generated from `System.Runtime.InteropServices.Marshalling.Utf8StringMarshaller` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Utf8StringMarshaller { - // Generated from `System.Runtime.InteropServices.Marshalling.Utf8StringMarshaller+ManagedToUnmanagedIn` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManagedToUnmanagedIn { public static int BufferSize { get => throw null; } @@ -2237,10 +2069,8 @@ namespace System } namespace ObjectiveC { - // Generated from `System.Runtime.InteropServices.ObjectiveC.ObjectiveCMarshal` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ObjectiveCMarshal { - // Generated from `System.Runtime.InteropServices.ObjectiveC.ObjectiveCMarshal+MessageSendFunction` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MessageSendFunction : int { MsgSend = 0, @@ -2251,7 +2081,6 @@ namespace System } - // Generated from `System.Runtime.InteropServices.ObjectiveC.ObjectiveCMarshal+UnhandledExceptionPropagationHandler` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` unsafe public delegate delegate* unmanaged UnhandledExceptionPropagationHandler(System.Exception exception, System.RuntimeMethodHandle lastMethod, out System.IntPtr context); @@ -2261,7 +2090,6 @@ namespace System public static void SetMessageSendPendingException(System.Exception exception) => throw null; } - // Generated from `System.Runtime.InteropServices.ObjectiveC.ObjectiveCTrackedTypeAttribute` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectiveCTrackedTypeAttribute : System.Attribute { public ObjectiveCTrackedTypeAttribute() => throw null; @@ -2272,7 +2100,6 @@ namespace System } namespace Security { - // Generated from `System.Security.SecureString` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecureString : System.IDisposable { public void AppendChar(System.Char c) => throw null; @@ -2289,7 +2116,6 @@ namespace System public void SetAt(int index, System.Char c) => throw null; } - // Generated from `System.Security.SecureStringMarshal` in `System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class SecureStringMarshal { public static System.IntPtr SecureStringToCoTaskMemAnsi(System.Security.SecureString s) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Intrinsics.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Intrinsics.cs index 592e73c92b9..f210bdeba43 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Intrinsics.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Intrinsics.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Intrinsics { - // Generated from `System.Runtime.Intrinsics.Vector128` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Vector128 { public static System.Runtime.Intrinsics.Vector128 Abs(System.Runtime.Intrinsics.Vector128 vector) where T : struct => throw null; @@ -212,7 +212,6 @@ namespace System public static System.Runtime.Intrinsics.Vector128 Xor(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) where T : struct => throw null; } - // Generated from `System.Runtime.Intrinsics.Vector128<>` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Vector128 : System.IEquatable> where T : struct { public static bool operator !=(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; @@ -241,7 +240,6 @@ namespace System public static System.Runtime.Intrinsics.Vector128 operator ~(System.Runtime.Intrinsics.Vector128 vector) => throw null; } - // Generated from `System.Runtime.Intrinsics.Vector256` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Vector256 { public static System.Runtime.Intrinsics.Vector256 Abs(System.Runtime.Intrinsics.Vector256 vector) where T : struct => throw null; @@ -439,7 +437,6 @@ namespace System public static System.Runtime.Intrinsics.Vector256 Xor(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) where T : struct => throw null; } - // Generated from `System.Runtime.Intrinsics.Vector256<>` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Vector256 : System.IEquatable> where T : struct { public static bool operator !=(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; @@ -468,7 +465,6 @@ namespace System public static System.Runtime.Intrinsics.Vector256 operator ~(System.Runtime.Intrinsics.Vector256 vector) => throw null; } - // Generated from `System.Runtime.Intrinsics.Vector64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Vector64 { public static System.Runtime.Intrinsics.Vector64 Abs(System.Runtime.Intrinsics.Vector64 vector) where T : struct => throw null; @@ -643,7 +639,6 @@ namespace System public static System.Runtime.Intrinsics.Vector64 Xor(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) where T : struct => throw null; } - // Generated from `System.Runtime.Intrinsics.Vector64<>` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Vector64 : System.IEquatable> where T : struct { public static bool operator !=(System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right) => throw null; @@ -674,10 +669,8 @@ namespace System namespace Arm { - // Generated from `System.Runtime.Intrinsics.Arm.AdvSimd` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class AdvSimd : System.Runtime.Intrinsics.Arm.ArmBase { - // Generated from `System.Runtime.Intrinsics.Arm.AdvSimd+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.ArmBase.Arm64 { public static System.Runtime.Intrinsics.Vector128 Abs(System.Runtime.Intrinsics.Vector128 value) => throw null; @@ -2936,10 +2929,8 @@ namespace System public static System.Runtime.Intrinsics.Vector128 ZeroExtendWideningUpper(System.Runtime.Intrinsics.Vector128 value) => throw null; } - // Generated from `System.Runtime.Intrinsics.Arm.Aes` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Aes : System.Runtime.Intrinsics.Arm.ArmBase { - // Generated from `System.Runtime.Intrinsics.Arm.Aes+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.ArmBase.Arm64 { public static bool IsSupported { get => throw null; } @@ -2957,10 +2948,8 @@ namespace System public static System.Runtime.Intrinsics.Vector128 PolynomialMultiplyWideningUpper(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.Arm.ArmBase` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ArmBase { - // Generated from `System.Runtime.Intrinsics.Arm.ArmBase+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 { internal Arm64() => throw null; @@ -2985,10 +2974,8 @@ namespace System public static void Yield() => throw null; } - // Generated from `System.Runtime.Intrinsics.Arm.Crc32` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Crc32 : System.Runtime.Intrinsics.Arm.ArmBase { - // Generated from `System.Runtime.Intrinsics.Arm.Crc32+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.ArmBase.Arm64 { public static System.UInt32 ComputeCrc32(System.UInt32 crc, System.UInt64 data) => throw null; @@ -3006,10 +2993,8 @@ namespace System public static bool IsSupported { get => throw null; } } - // Generated from `System.Runtime.Intrinsics.Arm.Dp` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Dp : System.Runtime.Intrinsics.Arm.AdvSimd { - // Generated from `System.Runtime.Intrinsics.Arm.Dp+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.AdvSimd.Arm64 { public static bool IsSupported { get => throw null; } @@ -3031,10 +3016,8 @@ namespace System public static bool IsSupported { get => throw null; } } - // Generated from `System.Runtime.Intrinsics.Arm.Rdm` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Rdm : System.Runtime.Intrinsics.Arm.AdvSimd { - // Generated from `System.Runtime.Intrinsics.Arm.Rdm+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.AdvSimd.Arm64 { public static bool IsSupported { get => throw null; } @@ -3080,10 +3063,8 @@ namespace System public static System.Runtime.Intrinsics.Vector64 MultiplyRoundedDoublingBySelectedScalarAndSubtractSaturateHigh(System.Runtime.Intrinsics.Vector64 minuend, System.Runtime.Intrinsics.Vector64 left, System.Runtime.Intrinsics.Vector64 right, System.Byte rightIndex) => throw null; } - // Generated from `System.Runtime.Intrinsics.Arm.Sha1` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sha1 : System.Runtime.Intrinsics.Arm.ArmBase { - // Generated from `System.Runtime.Intrinsics.Arm.Sha1+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.ArmBase.Arm64 { public static bool IsSupported { get => throw null; } @@ -3099,10 +3080,8 @@ namespace System public static System.Runtime.Intrinsics.Vector128 ScheduleUpdate1(System.Runtime.Intrinsics.Vector128 tw0_3, System.Runtime.Intrinsics.Vector128 w12_15) => throw null; } - // Generated from `System.Runtime.Intrinsics.Arm.Sha256` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sha256 : System.Runtime.Intrinsics.Arm.ArmBase { - // Generated from `System.Runtime.Intrinsics.Arm.Sha256+Arm64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Arm64 : System.Runtime.Intrinsics.Arm.ArmBase.Arm64 { public static bool IsSupported { get => throw null; } @@ -3119,10 +3098,8 @@ namespace System } namespace X86 { - // Generated from `System.Runtime.Intrinsics.X86.Aes` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Aes : System.Runtime.Intrinsics.X86.Sse2 { - // Generated from `System.Runtime.Intrinsics.X86.Aes+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse2.X64 { public static bool IsSupported { get => throw null; } @@ -3138,10 +3115,8 @@ namespace System public static System.Runtime.Intrinsics.Vector128 KeygenAssist(System.Runtime.Intrinsics.Vector128 value, System.Byte control) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Avx` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Avx : System.Runtime.Intrinsics.X86.Sse42 { - // Generated from `System.Runtime.Intrinsics.X86.Avx+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse42.X64 { public static bool IsSupported { get => throw null; } @@ -3396,10 +3371,8 @@ namespace System public static System.Runtime.Intrinsics.Vector256 Xor(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Avx2` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Avx2 : System.Runtime.Intrinsics.X86.Avx { - // Generated from `System.Runtime.Intrinsics.X86.Avx2+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Avx.X64 { public static bool IsSupported { get => throw null; } @@ -3804,10 +3777,8 @@ namespace System public static System.Runtime.Intrinsics.Vector256 Xor(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.AvxVnni` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class AvxVnni : System.Runtime.Intrinsics.X86.Avx2 { - // Generated from `System.Runtime.Intrinsics.X86.AvxVnni+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Avx2.X64 { public static bool IsSupported { get => throw null; } @@ -3825,10 +3796,8 @@ namespace System public static System.Runtime.Intrinsics.Vector256 MultiplyWideningAndAddSaturate(System.Runtime.Intrinsics.Vector256 addend, System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Bmi1` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Bmi1 : System.Runtime.Intrinsics.X86.X86Base { - // Generated from `System.Runtime.Intrinsics.X86.Bmi1+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.X86Base.X64 { public static System.UInt64 AndNot(System.UInt64 left, System.UInt64 right) => throw null; @@ -3852,10 +3821,8 @@ namespace System public static System.UInt32 TrailingZeroCount(System.UInt32 value) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Bmi2` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Bmi2 : System.Runtime.Intrinsics.X86.X86Base { - // Generated from `System.Runtime.Intrinsics.X86.Bmi2+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.X86Base.X64 { public static bool IsSupported { get => throw null; } @@ -3875,7 +3842,6 @@ namespace System public static System.UInt32 ZeroHighBits(System.UInt32 value, System.UInt32 index) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.FloatComparisonMode` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum FloatComparisonMode : byte { OrderedEqualNonSignaling = 0, @@ -3912,10 +3878,8 @@ namespace System UnorderedTrueSignaling = 31, } - // Generated from `System.Runtime.Intrinsics.X86.Fma` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Fma : System.Runtime.Intrinsics.X86.Avx { - // Generated from `System.Runtime.Intrinsics.X86.Fma+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Avx.X64 { public static bool IsSupported { get => throw null; } @@ -3957,10 +3921,8 @@ namespace System public static System.Runtime.Intrinsics.Vector128 MultiplySubtractScalar(System.Runtime.Intrinsics.Vector128 a, System.Runtime.Intrinsics.Vector128 b, System.Runtime.Intrinsics.Vector128 c) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Lzcnt` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Lzcnt : System.Runtime.Intrinsics.X86.X86Base { - // Generated from `System.Runtime.Intrinsics.X86.Lzcnt+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.X86Base.X64 { public static bool IsSupported { get => throw null; } @@ -3972,10 +3934,8 @@ namespace System public static System.UInt32 LeadingZeroCount(System.UInt32 value) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Pclmulqdq` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Pclmulqdq : System.Runtime.Intrinsics.X86.Sse2 { - // Generated from `System.Runtime.Intrinsics.X86.Pclmulqdq+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse2.X64 { public static bool IsSupported { get => throw null; } @@ -3987,10 +3947,8 @@ namespace System public static bool IsSupported { get => throw null; } } - // Generated from `System.Runtime.Intrinsics.X86.Popcnt` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Popcnt : System.Runtime.Intrinsics.X86.Sse42 { - // Generated from `System.Runtime.Intrinsics.X86.Popcnt+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse42.X64 { public static bool IsSupported { get => throw null; } @@ -4002,10 +3960,8 @@ namespace System public static System.UInt32 PopCount(System.UInt32 value) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Sse` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sse : System.Runtime.Intrinsics.X86.X86Base { - // Generated from `System.Runtime.Intrinsics.X86.Sse+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.X86Base.X64 { public static System.Runtime.Intrinsics.Vector128 ConvertScalarToVector128Single(System.Runtime.Intrinsics.Vector128 upper, System.Int64 value) => throw null; @@ -4107,10 +4063,8 @@ namespace System public static System.Runtime.Intrinsics.Vector128 Xor(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Sse2` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sse2 : System.Runtime.Intrinsics.X86.Sse { - // Generated from `System.Runtime.Intrinsics.X86.Sse2+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse.X64 { public static System.Runtime.Intrinsics.Vector128 ConvertScalarToVector128Double(System.Runtime.Intrinsics.Vector128 upper, System.Int64 value) => throw null; @@ -4430,10 +4384,8 @@ namespace System public static System.Runtime.Intrinsics.Vector128 Xor(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Sse3` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sse3 : System.Runtime.Intrinsics.X86.Sse2 { - // Generated from `System.Runtime.Intrinsics.X86.Sse3+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse2.X64 { public static bool IsSupported { get => throw null; } @@ -4463,10 +4415,8 @@ namespace System internal Sse3() => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Sse41` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sse41 : System.Runtime.Intrinsics.X86.Ssse3 { - // Generated from `System.Runtime.Intrinsics.X86.Sse41+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Ssse3.X64 { public static System.Int64 Extract(System.Runtime.Intrinsics.Vector128 value, System.Byte index) => throw null; @@ -4621,10 +4571,8 @@ namespace System public static bool TestZ(System.Runtime.Intrinsics.Vector128 left, System.Runtime.Intrinsics.Vector128 right) => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Sse42` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Sse42 : System.Runtime.Intrinsics.X86.Sse41 { - // Generated from `System.Runtime.Intrinsics.X86.Sse42+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse41.X64 { public static System.UInt64 Crc32(System.UInt64 crc, System.UInt64 data) => throw null; @@ -4641,10 +4589,8 @@ namespace System internal Sse42() => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.Ssse3` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Ssse3 : System.Runtime.Intrinsics.X86.Sse3 { - // Generated from `System.Runtime.Intrinsics.X86.Ssse3+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.Sse3.X64 { public static bool IsSupported { get => throw null; } @@ -4680,10 +4626,8 @@ namespace System internal Ssse3() => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.X86Base` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X86Base { - // Generated from `System.Runtime.Intrinsics.X86.X86Base+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 { public static bool IsSupported { get => throw null; } @@ -4697,10 +4641,8 @@ namespace System internal X86Base() => throw null; } - // Generated from `System.Runtime.Intrinsics.X86.X86Serialize` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X86Serialize : System.Runtime.Intrinsics.X86.X86Base { - // Generated from `System.Runtime.Intrinsics.X86.X86Serialize+X64` in `System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class X64 : System.Runtime.Intrinsics.X86.X86Base.X64 { public static bool IsSupported { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Loader.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Loader.cs index 20f8e838913..46db4a1d80b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Loader.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Loader.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,20 +7,17 @@ namespace System { namespace Metadata { - // Generated from `System.Reflection.Metadata.AssemblyExtensions` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class AssemblyExtensions { unsafe public static bool TryGetRawMetadata(this System.Reflection.Assembly assembly, out System.Byte* blob, out int length) => throw null; } - // Generated from `System.Reflection.Metadata.MetadataUpdateHandlerAttribute` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataUpdateHandlerAttribute : System.Attribute { public System.Type HandlerType { get => throw null; } public MetadataUpdateHandlerAttribute(System.Type handlerType) => throw null; } - // Generated from `System.Reflection.Metadata.MetadataUpdater` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class MetadataUpdater { public static void ApplyUpdate(System.Reflection.Assembly assembly, System.ReadOnlySpan metadataDelta, System.ReadOnlySpan ilDelta, System.ReadOnlySpan pdbDelta) => throw null; @@ -32,13 +30,11 @@ namespace System { namespace CompilerServices { - // Generated from `System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CreateNewOnMetadataUpdateAttribute : System.Attribute { public CreateNewOnMetadataUpdateAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.MetadataUpdateOriginalTypeAttribute` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MetadataUpdateOriginalTypeAttribute : System.Attribute { public MetadataUpdateOriginalTypeAttribute(System.Type originalType) => throw null; @@ -48,7 +44,6 @@ namespace System } namespace Loader { - // Generated from `System.Runtime.Loader.AssemblyDependencyResolver` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyDependencyResolver { public AssemblyDependencyResolver(string componentAssemblyPath) => throw null; @@ -56,10 +51,8 @@ namespace System public string ResolveUnmanagedDllToPath(string unmanagedDllName) => throw null; } - // Generated from `System.Runtime.Loader.AssemblyLoadContext` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyLoadContext { - // Generated from `System.Runtime.Loader.AssemblyLoadContext+ContextualReflectionScope` in `System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ContextualReflectionScope : System.IDisposable { // Stub generator skipped constructor diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Numerics.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Numerics.cs index b7deb7941e5..a271d3609e0 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Numerics.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Numerics.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Runtime.Numerics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Numerics { - // Generated from `System.Numerics.BigInteger` in `System.Runtime.Numerics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct BigInteger : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { static bool System.Numerics.IEqualityOperators.operator !=(System.Numerics.BigInteger left, System.Numerics.BigInteger right) => throw null; @@ -210,7 +210,6 @@ namespace System static System.Numerics.BigInteger System.Numerics.IBitwiseOperators.operator ~(System.Numerics.BigInteger value) => throw null; } - // Generated from `System.Numerics.Complex` in `System.Runtime.Numerics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Complex : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { static bool System.Numerics.IEqualityOperators.operator !=(System.Numerics.Complex left, System.Numerics.Complex right) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Formatters.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Formatters.cs index a2287252ab9..13a21e51b74 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Formatters.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Formatters.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Serialization { - // Generated from `System.Runtime.Serialization.Formatter` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Formatter : System.Runtime.Serialization.IFormatter { public abstract System.Runtime.Serialization.SerializationBinder Binder { get; set; } @@ -40,7 +40,6 @@ namespace System protected System.Collections.Queue m_objectQueue; } - // Generated from `System.Runtime.Serialization.FormatterConverter` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FormatterConverter : System.Runtime.Serialization.IFormatterConverter { public object Convert(object value, System.Type type) => throw null; @@ -63,7 +62,6 @@ namespace System public System.UInt64 ToUInt64(object value) => throw null; } - // Generated from `System.Runtime.Serialization.FormatterServices` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class FormatterServices { public static void CheckTypeSecurity(System.Type t, System.Runtime.Serialization.Formatters.TypeFilterLevel securityLevel) => throw null; @@ -77,7 +75,6 @@ namespace System public static object PopulateObjectMembers(object obj, System.Reflection.MemberInfo[] members, object[] data) => throw null; } - // Generated from `System.Runtime.Serialization.IFormatter` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFormatter { System.Runtime.Serialization.SerializationBinder Binder { get; set; } @@ -87,14 +84,12 @@ namespace System System.Runtime.Serialization.ISurrogateSelector SurrogateSelector { get; set; } } - // Generated from `System.Runtime.Serialization.ISerializationSurrogate` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISerializationSurrogate { void GetObjectData(object obj, System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); object SetObjectData(object obj, System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context, System.Runtime.Serialization.ISurrogateSelector selector); } - // Generated from `System.Runtime.Serialization.ISurrogateSelector` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISurrogateSelector { void ChainSelector(System.Runtime.Serialization.ISurrogateSelector selector); @@ -102,7 +97,6 @@ namespace System System.Runtime.Serialization.ISerializationSurrogate GetSurrogate(System.Type type, System.Runtime.Serialization.StreamingContext context, out System.Runtime.Serialization.ISurrogateSelector selector); } - // Generated from `System.Runtime.Serialization.ObjectIDGenerator` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectIDGenerator { public virtual System.Int64 GetId(object obj, out bool firstTime) => throw null; @@ -110,7 +104,6 @@ namespace System public ObjectIDGenerator() => throw null; } - // Generated from `System.Runtime.Serialization.ObjectManager` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectManager { public virtual void DoFixups() => throw null; @@ -128,7 +121,6 @@ namespace System public void RegisterObject(object obj, System.Int64 objectID, System.Runtime.Serialization.SerializationInfo info, System.Int64 idOfContainingObj, System.Reflection.MemberInfo member, int[] arrayIndex) => throw null; } - // Generated from `System.Runtime.Serialization.SerializationBinder` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SerializationBinder { public virtual void BindToName(System.Type serializedType, out string assemblyName, out string typeName) => throw null; @@ -136,7 +128,6 @@ namespace System protected SerializationBinder() => throw null; } - // Generated from `System.Runtime.Serialization.SerializationObjectManager` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SerializationObjectManager { public void RaiseOnSerializedEvent() => throw null; @@ -144,7 +135,6 @@ namespace System public SerializationObjectManager(System.Runtime.Serialization.StreamingContext context) => throw null; } - // Generated from `System.Runtime.Serialization.SurrogateSelector` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SurrogateSelector : System.Runtime.Serialization.ISurrogateSelector { public virtual void AddSurrogate(System.Type type, System.Runtime.Serialization.StreamingContext context, System.Runtime.Serialization.ISerializationSurrogate surrogate) => throw null; @@ -157,14 +147,12 @@ namespace System namespace Formatters { - // Generated from `System.Runtime.Serialization.Formatters.FormatterAssemblyStyle` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FormatterAssemblyStyle : int { Full = 1, Simple = 0, } - // Generated from `System.Runtime.Serialization.Formatters.FormatterTypeStyle` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FormatterTypeStyle : int { TypesAlways = 1, @@ -172,14 +160,12 @@ namespace System XsdString = 2, } - // Generated from `System.Runtime.Serialization.Formatters.IFieldInfo` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFieldInfo { string[] FieldNames { get; set; } System.Type[] FieldTypes { get; set; } } - // Generated from `System.Runtime.Serialization.Formatters.TypeFilterLevel` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TypeFilterLevel : int { Full = 3, @@ -188,7 +174,6 @@ namespace System namespace Binary { - // Generated from `System.Runtime.Serialization.Formatters.Binary.BinaryFormatter` in `System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BinaryFormatter : System.Runtime.Serialization.IFormatter { public System.Runtime.Serialization.Formatters.FormatterAssemblyStyle AssemblyFormat { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Json.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Json.cs index e8e4de92a53..d7a217a318b 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Json.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Json.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Serialization { - // Generated from `System.Runtime.Serialization.DateTimeFormat` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateTimeFormat { public DateTimeFormat(string formatString) => throw null; @@ -16,7 +16,6 @@ namespace System public string FormatString { get => throw null; } } - // Generated from `System.Runtime.Serialization.EmitTypeInformation` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EmitTypeInformation : int { Always = 1, @@ -26,7 +25,6 @@ namespace System namespace Json { - // Generated from `System.Runtime.Serialization.Json.DataContractJsonSerializer` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataContractJsonSerializer : System.Runtime.Serialization.XmlObjectSerializer { public DataContractJsonSerializer(System.Type type) => throw null; @@ -63,7 +61,6 @@ namespace System public override void WriteStartObject(System.Xml.XmlWriter writer, object graph) => throw null; } - // Generated from `System.Runtime.Serialization.Json.DataContractJsonSerializerSettings` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataContractJsonSerializerSettings { public DataContractJsonSerializerSettings() => throw null; @@ -77,20 +74,17 @@ namespace System public bool UseSimpleDictionaryFormat { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.Json.IXmlJsonReaderInitializer` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlJsonReaderInitializer { void SetInput(System.Byte[] buffer, int offset, int count, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose); void SetInput(System.IO.Stream stream, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose); } - // Generated from `System.Runtime.Serialization.Json.IXmlJsonWriterInitializer` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlJsonWriterInitializer { void SetOutput(System.IO.Stream stream, System.Text.Encoding encoding, bool ownsStream); } - // Generated from `System.Runtime.Serialization.Json.JsonReaderWriterFactory` in `System.Runtime.Serialization.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class JsonReaderWriterFactory { public static System.Xml.XmlDictionaryReader CreateJsonReader(System.Byte[] buffer, System.Xml.XmlDictionaryReaderQuotas quotas) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Primitives.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Primitives.cs index e06dcdce9f5..b803f1ffcb2 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Primitives.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Primitives.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Serialization { - // Generated from `System.Runtime.Serialization.CollectionDataContractAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CollectionDataContractAttribute : System.Attribute { public CollectionDataContractAttribute() => throw null; @@ -24,7 +24,6 @@ namespace System public string ValueName { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.ContractNamespaceAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContractNamespaceAttribute : System.Attribute { public string ClrNamespace { get => throw null; set => throw null; } @@ -32,7 +31,6 @@ namespace System public ContractNamespaceAttribute(string contractNamespace) => throw null; } - // Generated from `System.Runtime.Serialization.DataContractAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataContractAttribute : System.Attribute { public DataContractAttribute() => throw null; @@ -44,7 +42,6 @@ namespace System public string Namespace { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.DataMemberAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataMemberAttribute : System.Attribute { public DataMemberAttribute() => throw null; @@ -55,7 +52,6 @@ namespace System public int Order { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.EnumMemberAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumMemberAttribute : System.Attribute { public EnumMemberAttribute() => throw null; @@ -63,7 +59,6 @@ namespace System public string Value { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.ISerializationSurrogateProvider` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISerializationSurrogateProvider { object GetDeserializedObject(object obj, System.Type targetType); @@ -71,7 +66,6 @@ namespace System System.Type GetSurrogateType(System.Type type); } - // Generated from `System.Runtime.Serialization.ISerializationSurrogateProvider2` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISerializationSurrogateProvider2 : System.Runtime.Serialization.ISerializationSurrogateProvider { object GetCustomDataToExport(System.Reflection.MemberInfo memberInfo, System.Type dataContractType); @@ -80,13 +74,11 @@ namespace System System.Type GetReferencedTypeOnImport(string typeName, string typeNamespace, object customData); } - // Generated from `System.Runtime.Serialization.IgnoreDataMemberAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IgnoreDataMemberAttribute : System.Attribute { public IgnoreDataMemberAttribute() => throw null; } - // Generated from `System.Runtime.Serialization.InvalidDataContractException` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidDataContractException : System.Exception { public InvalidDataContractException() => throw null; @@ -95,7 +87,6 @@ namespace System public InvalidDataContractException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Runtime.Serialization.KnownTypeAttribute` in `System.Runtime.Serialization.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KnownTypeAttribute : System.Attribute { public KnownTypeAttribute(System.Type type) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Xml.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Xml.cs index 6ee21f22d3f..c68f9be0b74 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Xml.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.Serialization.Xml.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Serialization { - // Generated from `System.Runtime.Serialization.DataContractResolver` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DataContractResolver { protected DataContractResolver() => throw null; @@ -14,7 +14,6 @@ namespace System public abstract bool TryResolveType(System.Type type, System.Type declaredType, System.Runtime.Serialization.DataContractResolver knownTypeResolver, out System.Xml.XmlDictionaryString typeName, out System.Xml.XmlDictionaryString typeNamespace); } - // Generated from `System.Runtime.Serialization.DataContractSerializer` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataContractSerializer : System.Runtime.Serialization.XmlObjectSerializer { public System.Runtime.Serialization.DataContractResolver DataContractResolver { get => throw null; } @@ -46,14 +45,12 @@ namespace System public override void WriteStartObject(System.Xml.XmlWriter writer, object graph) => throw null; } - // Generated from `System.Runtime.Serialization.DataContractSerializerExtensions` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DataContractSerializerExtensions { public static System.Runtime.Serialization.ISerializationSurrogateProvider GetSerializationSurrogateProvider(this System.Runtime.Serialization.DataContractSerializer serializer) => throw null; public static void SetSerializationSurrogateProvider(this System.Runtime.Serialization.DataContractSerializer serializer, System.Runtime.Serialization.ISerializationSurrogateProvider provider) => throw null; } - // Generated from `System.Runtime.Serialization.DataContractSerializerSettings` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataContractSerializerSettings { public System.Runtime.Serialization.DataContractResolver DataContractResolver { get => throw null; set => throw null; } @@ -67,7 +64,6 @@ namespace System public bool SerializeReadOnlyTypes { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.ExportOptions` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExportOptions { public System.Runtime.Serialization.ISerializationSurrogateProvider DataContractSurrogate { get => throw null; set => throw null; } @@ -75,25 +71,21 @@ namespace System public System.Collections.ObjectModel.Collection KnownTypes { get => throw null; } } - // Generated from `System.Runtime.Serialization.ExtensionDataObject` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExtensionDataObject { } - // Generated from `System.Runtime.Serialization.IExtensibleDataObject` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IExtensibleDataObject { System.Runtime.Serialization.ExtensionDataObject ExtensionData { get; set; } } - // Generated from `System.Runtime.Serialization.XPathQueryGenerator` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class XPathQueryGenerator { public static string CreateFromDataContractSerializer(System.Type type, System.Reflection.MemberInfo[] pathToMember, System.Text.StringBuilder rootElementXpath, out System.Xml.XmlNamespaceManager namespaces) => throw null; public static string CreateFromDataContractSerializer(System.Type type, System.Reflection.MemberInfo[] pathToMember, out System.Xml.XmlNamespaceManager namespaces) => throw null; } - // Generated from `System.Runtime.Serialization.XmlObjectSerializer` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlObjectSerializer { public abstract bool IsStartObject(System.Xml.XmlDictionaryReader reader); @@ -115,7 +107,6 @@ namespace System protected XmlObjectSerializer() => throw null; } - // Generated from `System.Runtime.Serialization.XmlSerializableServices` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class XmlSerializableServices { public static void AddDefaultSchema(System.Xml.Schema.XmlSchemaSet schemas, System.Xml.XmlQualifiedName typeQName) => throw null; @@ -123,7 +114,6 @@ namespace System public static void WriteNodes(System.Xml.XmlWriter xmlWriter, System.Xml.XmlNode[] nodes) => throw null; } - // Generated from `System.Runtime.Serialization.XsdDataContractExporter` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XsdDataContractExporter { public bool CanExport(System.Collections.Generic.ICollection assemblies) => throw null; @@ -143,7 +133,6 @@ namespace System namespace DataContracts { - // Generated from `System.Runtime.Serialization.DataContracts.DataContract` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DataContract { public virtual System.Runtime.Serialization.DataContracts.DataContract BaseContract { get => throw null; } @@ -166,12 +155,10 @@ namespace System public virtual System.Xml.XmlQualifiedName XmlName { get => throw null; } } - // Generated from `System.Runtime.Serialization.DataContracts.DataContractCriticalHelper` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` internal abstract class DataContractCriticalHelper { } - // Generated from `System.Runtime.Serialization.DataContracts.DataContractSet` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataContractSet { public System.Collections.Generic.Dictionary Contracts { get => throw null; } @@ -187,7 +174,6 @@ namespace System public System.Collections.Hashtable SurrogateData { get => throw null; } } - // Generated from `System.Runtime.Serialization.DataContracts.DataMember` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataMember { public bool EmitDefaultValue { get => throw null; } @@ -198,7 +184,6 @@ namespace System public System.Int64 Order { get => throw null; } } - // Generated from `System.Runtime.Serialization.DataContracts.XmlDataContract` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDataContract : System.Runtime.Serialization.DataContracts.DataContract { public bool HasRoot { get => throw null; } @@ -215,7 +200,6 @@ namespace System } namespace Xml { - // Generated from `System.Xml.IFragmentCapableXmlDictionaryWriter` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFragmentCapableXmlDictionaryWriter { bool CanFragment { get; } @@ -224,27 +208,23 @@ namespace System void WriteFragment(System.Byte[] buffer, int offset, int count); } - // Generated from `System.Xml.IStreamProvider` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IStreamProvider { System.IO.Stream GetStream(); void ReleaseStream(System.IO.Stream stream); } - // Generated from `System.Xml.IXmlBinaryReaderInitializer` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlBinaryReaderInitializer { void SetInput(System.Byte[] buffer, int offset, int count, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session, System.Xml.OnXmlDictionaryReaderClose onClose); void SetInput(System.IO.Stream stream, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session, System.Xml.OnXmlDictionaryReaderClose onClose); } - // Generated from `System.Xml.IXmlBinaryWriterInitializer` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlBinaryWriterInitializer { void SetOutput(System.IO.Stream stream, System.Xml.IXmlDictionary dictionary, System.Xml.XmlBinaryWriterSession session, bool ownsStream); } - // Generated from `System.Xml.IXmlDictionary` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlDictionary { bool TryLookup(System.Xml.XmlDictionaryString value, out System.Xml.XmlDictionaryString result); @@ -252,23 +232,19 @@ namespace System bool TryLookup(string value, out System.Xml.XmlDictionaryString result); } - // Generated from `System.Xml.IXmlTextReaderInitializer` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlTextReaderInitializer { void SetInput(System.Byte[] buffer, int offset, int count, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose); void SetInput(System.IO.Stream stream, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose); } - // Generated from `System.Xml.IXmlTextWriterInitializer` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlTextWriterInitializer { void SetOutput(System.IO.Stream stream, System.Text.Encoding encoding, bool ownsStream); } - // Generated from `System.Xml.OnXmlDictionaryReaderClose` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void OnXmlDictionaryReaderClose(System.Xml.XmlDictionaryReader reader); - // Generated from `System.Xml.UniqueId` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UniqueId { public static bool operator !=(System.Xml.UniqueId id1, System.Xml.UniqueId id2) => throw null; @@ -289,7 +265,6 @@ namespace System public UniqueId(string value) => throw null; } - // Generated from `System.Xml.XmlBinaryReaderSession` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlBinaryReaderSession : System.Xml.IXmlDictionary { public System.Xml.XmlDictionaryString Add(int id, string value) => throw null; @@ -300,7 +275,6 @@ namespace System public XmlBinaryReaderSession() => throw null; } - // Generated from `System.Xml.XmlBinaryWriterSession` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlBinaryWriterSession { public void Reset() => throw null; @@ -308,7 +282,6 @@ namespace System public XmlBinaryWriterSession() => throw null; } - // Generated from `System.Xml.XmlDictionary` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDictionary : System.Xml.IXmlDictionary { public virtual System.Xml.XmlDictionaryString Add(string value) => throw null; @@ -320,7 +293,6 @@ namespace System public XmlDictionary(int capacity) => throw null; } - // Generated from `System.Xml.XmlDictionaryReader` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlDictionaryReader : System.Xml.XmlReader { public virtual bool CanCanonicalize { get => throw null; } @@ -449,7 +421,6 @@ namespace System protected XmlDictionaryReader() => throw null; } - // Generated from `System.Xml.XmlDictionaryReaderQuotaTypes` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum XmlDictionaryReaderQuotaTypes : int { @@ -460,7 +431,6 @@ namespace System MaxStringContentLength = 2, } - // Generated from `System.Xml.XmlDictionaryReaderQuotas` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDictionaryReaderQuotas { public void CopyTo(System.Xml.XmlDictionaryReaderQuotas quotas) => throw null; @@ -474,7 +444,6 @@ namespace System public XmlDictionaryReaderQuotas() => throw null; } - // Generated from `System.Xml.XmlDictionaryString` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDictionaryString { public System.Xml.IXmlDictionary Dictionary { get => throw null; } @@ -485,7 +454,6 @@ namespace System public XmlDictionaryString(System.Xml.IXmlDictionary dictionary, string value, int key) => throw null; } - // Generated from `System.Xml.XmlDictionaryWriter` in `System.Runtime.Serialization.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlDictionaryWriter : System.Xml.XmlWriter { public virtual bool CanCanonicalize { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.cs index 87212504db9..fbe44d3c8fb 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Runtime.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace Microsoft { @@ -6,21 +7,18 @@ namespace Microsoft { namespace SafeHandles { - // Generated from `Microsoft.Win32.SafeHandles.CriticalHandleMinusOneIsInvalid` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CriticalHandleMinusOneIsInvalid : System.Runtime.InteropServices.CriticalHandle { protected CriticalHandleMinusOneIsInvalid() : base(default(System.IntPtr)) => throw null; public override bool IsInvalid { get => throw null; } } - // Generated from `Microsoft.Win32.SafeHandles.CriticalHandleZeroOrMinusOneIsInvalid` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CriticalHandleZeroOrMinusOneIsInvalid : System.Runtime.InteropServices.CriticalHandle { protected CriticalHandleZeroOrMinusOneIsInvalid() : base(default(System.IntPtr)) => throw null; public override bool IsInvalid { get => throw null; } } - // Generated from `Microsoft.Win32.SafeHandles.SafeFileHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeFileHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { public bool IsAsync { get => throw null; } @@ -30,21 +28,18 @@ namespace Microsoft public SafeFileHandle(System.IntPtr preexistingHandle, bool ownsHandle) : base(default(bool)) => throw null; } - // Generated from `Microsoft.Win32.SafeHandles.SafeHandleMinusOneIsInvalid` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SafeHandleMinusOneIsInvalid : System.Runtime.InteropServices.SafeHandle { public override bool IsInvalid { get => throw null; } protected SafeHandleMinusOneIsInvalid(bool ownsHandle) : base(default(System.IntPtr), default(bool)) => throw null; } - // Generated from `Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SafeHandleZeroOrMinusOneIsInvalid : System.Runtime.InteropServices.SafeHandle { public override bool IsInvalid { get => throw null; } protected SafeHandleZeroOrMinusOneIsInvalid(bool ownsHandle) : base(default(System.IntPtr), default(bool)) => throw null; } - // Generated from `Microsoft.Win32.SafeHandles.SafeWaitHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeWaitHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { protected override bool ReleaseHandle() => throw null; @@ -57,7 +52,6 @@ namespace Microsoft } namespace System { - // Generated from `System.AccessViolationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AccessViolationException : System.SystemException { public AccessViolationException() => throw null; @@ -66,58 +60,40 @@ namespace System public AccessViolationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Action` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(); - // Generated from `System.Action<,,,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16); - // Generated from `System.Action<,,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15); - // Generated from `System.Action<,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14); - // Generated from `System.Action<,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13); - // Generated from `System.Action<,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12); - // Generated from `System.Action<,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11); - // Generated from `System.Action<,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10); - // Generated from `System.Action<,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9); - // Generated from `System.Action<,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8); - // Generated from `System.Action<,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7); - // Generated from `System.Action<,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6); - // Generated from `System.Action<,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5); - // Generated from `System.Action<,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4); - // Generated from `System.Action<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2, T3 arg3); - // Generated from `System.Action<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T1 arg1, T2 arg2); - // Generated from `System.Action<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void Action(T obj); - // Generated from `System.Activator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Activator { public static object CreateInstance(System.Type type) => throw null; @@ -135,7 +111,6 @@ namespace System public static System.Runtime.Remoting.ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes) => throw null; } - // Generated from `System.AggregateException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AggregateException : System.Exception { public AggregateException() => throw null; @@ -155,7 +130,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.AppContext` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class AppContext { public static string BaseDirectory { get => throw null; } @@ -166,7 +140,6 @@ namespace System public static bool TryGetSwitch(string switchName, out bool isEnabled) => throw null; } - // Generated from `System.AppDomain` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AppDomain : System.MarshalByRefObject { public void AppendPrivatePath(string path) => throw null; @@ -239,14 +212,12 @@ namespace System public static void Unload(System.AppDomain domain) => throw null; } - // Generated from `System.AppDomainSetup` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AppDomainSetup { public string ApplicationBase { get => throw null; } public string TargetFrameworkName { get => throw null; } } - // Generated from `System.AppDomainUnloadedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AppDomainUnloadedException : System.SystemException { public AppDomainUnloadedException() => throw null; @@ -255,7 +226,6 @@ namespace System public AppDomainUnloadedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.ApplicationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ApplicationException : System.Exception { public ApplicationException() => throw null; @@ -264,7 +234,6 @@ namespace System public ApplicationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.ApplicationId` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ApplicationId { public ApplicationId(System.Byte[] publicKeyToken, string name, System.Version version, string processorArchitecture, string culture) => throw null; @@ -279,7 +248,6 @@ namespace System public System.Version Version { get => throw null; } } - // Generated from `System.ArgIterator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ArgIterator { // Stub generator skipped constructor @@ -294,7 +262,6 @@ namespace System public int GetRemainingCount() => throw null; } - // Generated from `System.ArgumentException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArgumentException : System.SystemException { public ArgumentException() => throw null; @@ -309,7 +276,6 @@ namespace System public static void ThrowIfNullOrEmpty(string argument, string paramName = default(string)) => throw null; } - // Generated from `System.ArgumentNullException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArgumentNullException : System.ArgumentException { public ArgumentNullException() => throw null; @@ -321,7 +287,6 @@ namespace System public static void ThrowIfNull(object argument, string paramName = default(string)) => throw null; } - // Generated from `System.ArgumentOutOfRangeException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArgumentOutOfRangeException : System.ArgumentException { public virtual object ActualValue { get => throw null; } @@ -335,7 +300,6 @@ namespace System public override string Message { get => throw null; } } - // Generated from `System.ArithmeticException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArithmeticException : System.SystemException { public ArithmeticException() => throw null; @@ -344,7 +308,6 @@ namespace System public ArithmeticException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Array` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Array : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.ICloneable { int System.Collections.IList.Add(object value) => throw null; @@ -466,10 +429,8 @@ namespace System public static bool TrueForAll(T[] array, System.Predicate match) => throw null; } - // Generated from `System.ArraySegment<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ArraySegment : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - // Generated from `System.ArraySegment<>+Enumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public T Current { get => throw null; } @@ -516,7 +477,6 @@ namespace System public static implicit operator System.ArraySegment(T[] array) => throw null; } - // Generated from `System.ArrayTypeMismatchException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArrayTypeMismatchException : System.SystemException { public ArrayTypeMismatchException() => throw null; @@ -525,20 +485,16 @@ namespace System public ArrayTypeMismatchException(string message, System.Exception innerException) => throw null; } - // Generated from `System.AssemblyLoadEventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyLoadEventArgs : System.EventArgs { public AssemblyLoadEventArgs(System.Reflection.Assembly loadedAssembly) => throw null; public System.Reflection.Assembly LoadedAssembly { get => throw null; } } - // Generated from `System.AssemblyLoadEventHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void AssemblyLoadEventHandler(object sender, System.AssemblyLoadEventArgs args); - // Generated from `System.AsyncCallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void AsyncCallback(System.IAsyncResult ar); - // Generated from `System.Attribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Attribute { protected Attribute() => throw null; @@ -581,7 +537,6 @@ namespace System public virtual object TypeId { get => throw null; } } - // Generated from `System.AttributeTargets` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AttributeTargets : int { @@ -603,7 +558,6 @@ namespace System Struct = 8, } - // Generated from `System.AttributeUsageAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AttributeUsageAttribute : System.Attribute { public bool AllowMultiple { get => throw null; set => throw null; } @@ -612,7 +566,6 @@ namespace System public System.AttributeTargets ValidOn { get => throw null; } } - // Generated from `System.BadImageFormatException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BadImageFormatException : System.SystemException { public BadImageFormatException() => throw null; @@ -628,7 +581,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Base64FormattingOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum Base64FormattingOptions : int { @@ -636,7 +588,6 @@ namespace System None = 0, } - // Generated from `System.BitConverter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class BitConverter { public static System.Int64 DoubleToInt64Bits(double value) => throw null; @@ -701,7 +652,6 @@ namespace System public static double UInt64BitsToDouble(System.UInt64 value) => throw null; } - // Generated from `System.Boolean` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Boolean : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable { // Stub generator skipped constructor @@ -737,7 +687,6 @@ namespace System public static bool TryParse(string value, out bool result) => throw null; } - // Generated from `System.Buffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Buffer { public static void BlockCopy(System.Array src, int srcOffset, System.Array dst, int dstOffset, int count) => throw null; @@ -748,7 +697,6 @@ namespace System public static void SetByte(System.Array array, int index, System.Byte value) => throw null; } - // Generated from `System.Byte` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Byte : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { static bool System.Numerics.IEqualityOperators.operator !=(System.Byte left, System.Byte right) => throw null; @@ -882,14 +830,12 @@ namespace System static System.Byte System.Numerics.IBitwiseOperators.operator ~(System.Byte value) => throw null; } - // Generated from `System.CLSCompliantAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CLSCompliantAttribute : System.Attribute { public CLSCompliantAttribute(bool isCompliant) => throw null; public bool IsCompliant { get => throw null; } } - // Generated from `System.CannotUnloadAppDomainException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CannotUnloadAppDomainException : System.SystemException { public CannotUnloadAppDomainException() => throw null; @@ -898,7 +844,6 @@ namespace System public CannotUnloadAppDomainException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Char` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Char : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { static bool System.Numerics.IEqualityOperators.operator !=(System.Char left, System.Char right) => throw null; @@ -1072,7 +1017,6 @@ namespace System static System.Char System.Numerics.IBitwiseOperators.operator ~(System.Char value) => throw null; } - // Generated from `System.CharEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CharEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.ICloneable, System.IDisposable { public object Clone() => throw null; @@ -1083,16 +1027,13 @@ namespace System public void Reset() => throw null; } - // Generated from `System.Comparison<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate int Comparison(T x, T y); - // Generated from `System.ContextBoundObject` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ContextBoundObject : System.MarshalByRefObject { protected ContextBoundObject() => throw null; } - // Generated from `System.ContextMarshalException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContextMarshalException : System.SystemException { public ContextMarshalException() => throw null; @@ -1101,13 +1042,11 @@ namespace System public ContextMarshalException(string message, System.Exception inner) => throw null; } - // Generated from `System.ContextStaticAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContextStaticAttribute : System.Attribute { public ContextStaticAttribute() => throw null; } - // Generated from `System.Convert` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Convert { public static object ChangeType(object value, System.Type conversionType) => throw null; @@ -1432,10 +1371,8 @@ namespace System public static bool TryToBase64Chars(System.ReadOnlySpan bytes, System.Span chars, out int charsWritten, System.Base64FormattingOptions options = default(System.Base64FormattingOptions)) => throw null; } - // Generated from `System.Converter<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TOutput Converter(TInput input); - // Generated from `System.DBNull` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DBNull : System.IConvertible, System.Runtime.Serialization.ISerializable { public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -1460,7 +1397,6 @@ namespace System public static System.DBNull Value; } - // Generated from `System.DateOnly` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DateOnly : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable { public static bool operator !=(System.DateOnly left, System.DateOnly right) => throw null; @@ -1527,7 +1463,6 @@ namespace System public int Year { get => throw null; } } - // Generated from `System.DateTime` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DateTime : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.DateTime d1, System.DateTime d2) => throw null; @@ -1661,7 +1596,6 @@ namespace System public int Year { get => throw null; } } - // Generated from `System.DateTimeKind` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DateTimeKind : int { Local = 2, @@ -1669,7 +1603,6 @@ namespace System Utc = 1, } - // Generated from `System.DateTimeOffset` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DateTimeOffset : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.DateTimeOffset left, System.DateTimeOffset right) => throw null; @@ -1773,7 +1706,6 @@ namespace System public static implicit operator System.DateTimeOffset(System.DateTime dateTime) => throw null; } - // Generated from `System.DayOfWeek` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DayOfWeek : int { Friday = 5, @@ -1785,7 +1717,6 @@ namespace System Wednesday = 3, } - // Generated from `System.Decimal` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Decimal : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { static bool System.Numerics.IEqualityOperators.operator !=(System.Decimal d1, System.Decimal d2) => throw null; @@ -1970,7 +1901,6 @@ namespace System public static implicit operator System.Decimal(System.UInt16 value) => throw null; } - // Generated from `System.Delegate` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Delegate : System.ICloneable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.Delegate d1, System.Delegate d2) => throw null; @@ -2005,7 +1935,6 @@ namespace System public object Target { get => throw null; } } - // Generated from `System.DivideByZeroException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DivideByZeroException : System.ArithmeticException { public DivideByZeroException() => throw null; @@ -2014,7 +1943,6 @@ namespace System public DivideByZeroException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Double` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Double : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { static bool System.Numerics.IEqualityOperators.operator !=(double left, double right) => throw null; @@ -2206,7 +2134,6 @@ namespace System static double System.Numerics.IBitwiseOperators.operator ~(double value) => throw null; } - // Generated from `System.DuplicateWaitObjectException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DuplicateWaitObjectException : System.ArgumentException { public DuplicateWaitObjectException() => throw null; @@ -2216,7 +2143,6 @@ namespace System public DuplicateWaitObjectException(string parameterName, string message) => throw null; } - // Generated from `System.EntryPointNotFoundException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EntryPointNotFoundException : System.TypeLoadException { public EntryPointNotFoundException() => throw null; @@ -2225,7 +2151,6 @@ namespace System public EntryPointNotFoundException(string message, System.Exception inner) => throw null; } - // Generated from `System.Enum` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Enum : System.IComparable, System.IConvertible, System.IFormattable { public int CompareTo(object target) => throw null; @@ -2292,10 +2217,8 @@ namespace System public static bool TryParse(string value, out TEnum result) where TEnum : struct => throw null; } - // Generated from `System.Environment` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Environment { - // Generated from `System.Environment+SpecialFolder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SpecialFolder : int { AdminTools = 48, @@ -2348,7 +2271,6 @@ namespace System } - // Generated from `System.Environment+SpecialFolderOption` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SpecialFolderOption : int { Create = 32768, @@ -2396,7 +2318,6 @@ namespace System public static System.Int64 WorkingSet { get => throw null; } } - // Generated from `System.EnvironmentVariableTarget` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EnvironmentVariableTarget : int { Machine = 2, @@ -2404,20 +2325,16 @@ namespace System User = 1, } - // Generated from `System.EventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventArgs { public static System.EventArgs Empty; public EventArgs() => throw null; } - // Generated from `System.EventHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void EventHandler(object sender, System.EventArgs e); - // Generated from `System.EventHandler<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void EventHandler(object sender, TEventArgs e); - // Generated from `System.Exception` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Exception : System.Runtime.Serialization.ISerializable { public virtual System.Collections.IDictionary Data { get => throw null; } @@ -2439,7 +2356,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.ExecutionEngineException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExecutionEngineException : System.SystemException { public ExecutionEngineException() => throw null; @@ -2447,7 +2363,6 @@ namespace System public ExecutionEngineException(string message, System.Exception innerException) => throw null; } - // Generated from `System.FieldAccessException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FieldAccessException : System.MemberAccessException { public FieldAccessException() => throw null; @@ -2456,19 +2371,16 @@ namespace System public FieldAccessException(string message, System.Exception inner) => throw null; } - // Generated from `System.FileStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileStyleUriParser : System.UriParser { public FileStyleUriParser() => throw null; } - // Generated from `System.FlagsAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FlagsAttribute : System.Attribute { public FlagsAttribute() => throw null; } - // Generated from `System.FormatException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FormatException : System.SystemException { public FormatException() => throw null; @@ -2477,7 +2389,6 @@ namespace System public FormatException(string message, System.Exception innerException) => throw null; } - // Generated from `System.FormattableString` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class FormattableString : System.IFormattable { public abstract int ArgumentCount { get; } @@ -2492,64 +2403,45 @@ namespace System string System.IFormattable.ToString(string ignored, System.IFormatProvider formatProvider) => throw null; } - // Generated from `System.FtpStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FtpStyleUriParser : System.UriParser { public FtpStyleUriParser() => throw null; } - // Generated from `System.Func<,,,,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16); - // Generated from `System.Func<,,,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15); - // Generated from `System.Func<,,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14); - // Generated from `System.Func<,,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13); - // Generated from `System.Func<,,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12); - // Generated from `System.Func<,,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11); - // Generated from `System.Func<,,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10); - // Generated from `System.Func<,,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9); - // Generated from `System.Func<,,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8); - // Generated from `System.Func<,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7); - // Generated from `System.Func<,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6); - // Generated from `System.Func<,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5); - // Generated from `System.Func<,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4); - // Generated from `System.Func<,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3); - // Generated from `System.Func<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T1 arg1, T2 arg2); - // Generated from `System.Func<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(T arg); - // Generated from `System.Func<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult Func(); - // Generated from `System.GC` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class GC { public static void AddMemoryPressure(System.Int64 bytesAllocated) => throw null; @@ -2591,7 +2483,6 @@ namespace System public static void WaitForPendingFinalizers() => throw null; } - // Generated from `System.GCCollectionMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GCCollectionMode : int { Aggressive = 3, @@ -2600,7 +2491,6 @@ namespace System Optimized = 2, } - // Generated from `System.GCGenerationInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GCGenerationInfo { public System.Int64 FragmentationAfterBytes { get => throw null; } @@ -2610,7 +2500,6 @@ namespace System public System.Int64 SizeBeforeBytes { get => throw null; } } - // Generated from `System.GCKind` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GCKind : int { Any = 0, @@ -2619,7 +2508,6 @@ namespace System FullBlocking = 2, } - // Generated from `System.GCMemoryInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GCMemoryInfo { public bool Compacted { get => throw null; } @@ -2641,7 +2529,6 @@ namespace System public System.Int64 TotalCommittedBytes { get => throw null; } } - // Generated from `System.GCNotificationStatus` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GCNotificationStatus : int { Canceled = 2, @@ -2651,13 +2538,11 @@ namespace System Timeout = 3, } - // Generated from `System.GenericUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GenericUriParser : System.UriParser { public GenericUriParser(System.GenericUriParserOptions options) => throw null; } - // Generated from `System.GenericUriParserOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum GenericUriParserOptions : int { @@ -2675,13 +2560,11 @@ namespace System NoUserInfo = 4, } - // Generated from `System.GopherStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GopherStyleUriParser : System.UriParser { public GopherStyleUriParser() => throw null; } - // Generated from `System.Guid` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Guid : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable { public static bool operator !=(System.Guid a, System.Guid b) => throw null; @@ -2725,7 +2608,6 @@ namespace System public bool TryWriteBytes(System.Span destination) => throw null; } - // Generated from `System.Half` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Half : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { static bool System.Numerics.IEqualityOperators.operator !=(System.Half left, System.Half right) => throw null; @@ -2934,7 +2816,6 @@ namespace System static System.Half System.Numerics.IBitwiseOperators.operator ~(System.Half value) => throw null; } - // Generated from `System.HashCode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct HashCode { public void Add(T value) => throw null; @@ -2954,19 +2835,16 @@ namespace System public int ToHashCode() => throw null; } - // Generated from `System.HttpStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HttpStyleUriParser : System.UriParser { public HttpStyleUriParser() => throw null; } - // Generated from `System.IAsyncDisposable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAsyncDisposable { System.Threading.Tasks.ValueTask DisposeAsync(); } - // Generated from `System.IAsyncResult` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAsyncResult { object AsyncState { get; } @@ -2975,25 +2853,21 @@ namespace System bool IsCompleted { get; } } - // Generated from `System.ICloneable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICloneable { object Clone(); } - // Generated from `System.IComparable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComparable { int CompareTo(object obj); } - // Generated from `System.IComparable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComparable { int CompareTo(T other); } - // Generated from `System.IConvertible` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IConvertible { System.TypeCode GetTypeCode(); @@ -3015,43 +2889,36 @@ namespace System System.UInt64 ToUInt64(System.IFormatProvider provider); } - // Generated from `System.ICustomFormatter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomFormatter { string Format(string format, object arg, System.IFormatProvider formatProvider); } - // Generated from `System.IDisposable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDisposable { void Dispose(); } - // Generated from `System.IEquatable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEquatable { bool Equals(T other); } - // Generated from `System.IFormatProvider` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFormatProvider { object GetFormat(System.Type formatType); } - // Generated from `System.IFormattable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFormattable { string ToString(string format, System.IFormatProvider formatProvider); } - // Generated from `System.IObservable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IObservable { System.IDisposable Subscribe(System.IObserver observer); } - // Generated from `System.IObserver<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IObserver { void OnCompleted(); @@ -3059,33 +2926,28 @@ namespace System void OnNext(T value); } - // Generated from `System.IParsable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IParsable where TSelf : System.IParsable { static abstract TSelf Parse(string s, System.IFormatProvider provider); static abstract bool TryParse(string s, System.IFormatProvider provider, out TSelf result); } - // Generated from `System.IProgress<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IProgress { void Report(T value); } - // Generated from `System.ISpanFormattable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISpanFormattable : System.IFormattable { bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider); } - // Generated from `System.ISpanParsable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISpanParsable : System.IParsable where TSelf : System.ISpanParsable { static abstract TSelf Parse(System.ReadOnlySpan s, System.IFormatProvider provider); static abstract bool TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out TSelf result); } - // Generated from `System.Index` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Index : System.IEquatable { public static System.Index End { get => throw null; } @@ -3104,7 +2966,6 @@ namespace System public static implicit operator System.Index(int value) => throw null; } - // Generated from `System.IndexOutOfRangeException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IndexOutOfRangeException : System.SystemException { public IndexOutOfRangeException() => throw null; @@ -3112,7 +2973,6 @@ namespace System public IndexOutOfRangeException(string message, System.Exception innerException) => throw null; } - // Generated from `System.InsufficientExecutionStackException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InsufficientExecutionStackException : System.SystemException { public InsufficientExecutionStackException() => throw null; @@ -3120,7 +2980,6 @@ namespace System public InsufficientExecutionStackException(string message, System.Exception innerException) => throw null; } - // Generated from `System.InsufficientMemoryException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InsufficientMemoryException : System.OutOfMemoryException { public InsufficientMemoryException() => throw null; @@ -3128,7 +2987,6 @@ namespace System public InsufficientMemoryException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Int128` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Int128 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { static bool System.Numerics.IEqualityOperators.operator !=(System.Int128 left, System.Int128 right) => throw null; @@ -3291,7 +3149,6 @@ namespace System static System.Int128 System.Numerics.IBitwiseOperators.operator ~(System.Int128 value) => throw null; } - // Generated from `System.Int16` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Int16 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { static bool System.Numerics.IEqualityOperators.operator !=(System.Int16 left, System.Int16 right) => throw null; @@ -3426,7 +3283,6 @@ namespace System static System.Int16 System.Numerics.IBitwiseOperators.operator ~(System.Int16 value) => throw null; } - // Generated from `System.Int32` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Int32 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { static bool System.Numerics.IEqualityOperators.operator !=(int left, int right) => throw null; @@ -3561,7 +3417,6 @@ namespace System static int System.Numerics.IBitwiseOperators.operator ~(int value) => throw null; } - // Generated from `System.Int64` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Int64 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { static bool System.Numerics.IEqualityOperators.operator !=(System.Int64 left, System.Int64 right) => throw null; @@ -3696,7 +3551,6 @@ namespace System static System.Int64 System.Numerics.IBitwiseOperators.operator ~(System.Int64 value) => throw null; } - // Generated from `System.IntPtr` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct IntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Runtime.Serialization.ISerializable { static bool System.Numerics.IEqualityOperators.operator !=(System.IntPtr value1, System.IntPtr value2) => throw null; @@ -3834,7 +3688,6 @@ namespace System static System.IntPtr System.Numerics.IBitwiseOperators.operator ~(System.IntPtr value) => throw null; } - // Generated from `System.InvalidCastException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidCastException : System.SystemException { public InvalidCastException() => throw null; @@ -3844,7 +3697,6 @@ namespace System public InvalidCastException(string message, int errorCode) => throw null; } - // Generated from `System.InvalidOperationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidOperationException : System.SystemException { public InvalidOperationException() => throw null; @@ -3853,7 +3705,6 @@ namespace System public InvalidOperationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.InvalidProgramException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidProgramException : System.SystemException { public InvalidProgramException() => throw null; @@ -3861,7 +3712,6 @@ namespace System public InvalidProgramException(string message, System.Exception inner) => throw null; } - // Generated from `System.InvalidTimeZoneException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidTimeZoneException : System.Exception { public InvalidTimeZoneException() => throw null; @@ -3870,7 +3720,6 @@ namespace System public InvalidTimeZoneException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Lazy<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Lazy : System.Lazy { public Lazy(System.Func valueFactory, TMetadata metadata) => throw null; @@ -3882,7 +3731,6 @@ namespace System public TMetadata Metadata { get => throw null; } } - // Generated from `System.Lazy<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Lazy { public bool IsValueCreated { get => throw null; } @@ -3897,13 +3745,11 @@ namespace System public T Value { get => throw null; } } - // Generated from `System.LdapStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LdapStyleUriParser : System.UriParser { public LdapStyleUriParser() => throw null; } - // Generated from `System.LoaderOptimization` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LoaderOptimization : int { DisallowBindings = 4, @@ -3914,7 +3760,6 @@ namespace System SingleDomain = 1, } - // Generated from `System.LoaderOptimizationAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LoaderOptimizationAttribute : System.Attribute { public LoaderOptimizationAttribute(System.LoaderOptimization value) => throw null; @@ -3922,13 +3767,11 @@ namespace System public System.LoaderOptimization Value { get => throw null; } } - // Generated from `System.MTAThreadAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MTAThreadAttribute : System.Attribute { public MTAThreadAttribute() => throw null; } - // Generated from `System.MarshalByRefObject` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MarshalByRefObject { public object GetLifetimeService() => throw null; @@ -3937,7 +3780,6 @@ namespace System protected System.MarshalByRefObject MemberwiseClone(bool cloneIdentity) => throw null; } - // Generated from `System.Math` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Math { public static System.IntPtr Abs(System.IntPtr value) => throw null; @@ -4062,7 +3904,6 @@ namespace System public static double Truncate(double d) => throw null; } - // Generated from `System.MathF` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class MathF { public static float Abs(float x) => throw null; @@ -4114,7 +3955,6 @@ namespace System public static float Truncate(float x) => throw null; } - // Generated from `System.MemberAccessException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberAccessException : System.SystemException { public MemberAccessException() => throw null; @@ -4123,7 +3963,6 @@ namespace System public MemberAccessException(string message, System.Exception inner) => throw null; } - // Generated from `System.Memory<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Memory : System.IEquatable> { public void CopyTo(System.Memory destination) => throw null; @@ -4148,7 +3987,6 @@ namespace System public static implicit operator System.Memory(T[] array) => throw null; } - // Generated from `System.MethodAccessException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MethodAccessException : System.MemberAccessException { public MethodAccessException() => throw null; @@ -4157,7 +3995,6 @@ namespace System public MethodAccessException(string message, System.Exception inner) => throw null; } - // Generated from `System.MidpointRounding` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MidpointRounding : int { AwayFromZero = 1, @@ -4167,7 +4004,6 @@ namespace System ToZero = 2, } - // Generated from `System.MissingFieldException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MissingFieldException : System.MissingMemberException, System.Runtime.Serialization.ISerializable { public override string Message { get => throw null; } @@ -4178,7 +4014,6 @@ namespace System public MissingFieldException(string className, string fieldName) => throw null; } - // Generated from `System.MissingMemberException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MissingMemberException : System.MemberAccessException, System.Runtime.Serialization.ISerializable { protected string ClassName; @@ -4193,7 +4028,6 @@ namespace System protected System.Byte[] Signature; } - // Generated from `System.MissingMethodException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MissingMethodException : System.MissingMemberException { public override string Message { get => throw null; } @@ -4204,7 +4038,6 @@ namespace System public MissingMethodException(string className, string methodName) => throw null; } - // Generated from `System.ModuleHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ModuleHandle : System.IEquatable { public static bool operator !=(System.ModuleHandle left, System.ModuleHandle right) => throw null; @@ -4226,7 +4059,6 @@ namespace System public System.RuntimeTypeHandle ResolveTypeHandle(int typeToken, System.RuntimeTypeHandle[] typeInstantiationContext, System.RuntimeTypeHandle[] methodInstantiationContext) => throw null; } - // Generated from `System.MulticastDelegate` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MulticastDelegate : System.Delegate { public static bool operator !=(System.MulticastDelegate d1, System.MulticastDelegate d2) => throw null; @@ -4242,7 +4074,6 @@ namespace System protected override System.Delegate RemoveImpl(System.Delegate value) => throw null; } - // Generated from `System.MulticastNotSupportedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MulticastNotSupportedException : System.SystemException { public MulticastNotSupportedException() => throw null; @@ -4250,31 +4081,26 @@ namespace System public MulticastNotSupportedException(string message, System.Exception inner) => throw null; } - // Generated from `System.NetPipeStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetPipeStyleUriParser : System.UriParser { public NetPipeStyleUriParser() => throw null; } - // Generated from `System.NetTcpStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NetTcpStyleUriParser : System.UriParser { public NetTcpStyleUriParser() => throw null; } - // Generated from `System.NewsStyleUriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NewsStyleUriParser : System.UriParser { public NewsStyleUriParser() => throw null; } - // Generated from `System.NonSerializedAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NonSerializedAttribute : System.Attribute { public NonSerializedAttribute() => throw null; } - // Generated from `System.NotFiniteNumberException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotFiniteNumberException : System.ArithmeticException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -4288,7 +4114,6 @@ namespace System public double OffendingNumber { get => throw null; } } - // Generated from `System.NotImplementedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotImplementedException : System.SystemException { public NotImplementedException() => throw null; @@ -4297,7 +4122,6 @@ namespace System public NotImplementedException(string message, System.Exception inner) => throw null; } - // Generated from `System.NotSupportedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotSupportedException : System.SystemException { public NotSupportedException() => throw null; @@ -4306,7 +4130,6 @@ namespace System public NotSupportedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.NullReferenceException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NullReferenceException : System.SystemException { public NullReferenceException() => throw null; @@ -4315,7 +4138,6 @@ namespace System public NullReferenceException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Nullable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Nullable { public static int Compare(T? n1, T? n2) where T : struct => throw null; @@ -4324,7 +4146,6 @@ namespace System public static T GetValueRefOrDefaultRef(T? nullable) where T : struct => throw null; } - // Generated from `System.Nullable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Nullable where T : struct { public override bool Equals(object other) => throw null; @@ -4340,7 +4161,6 @@ namespace System public static implicit operator System.Nullable(T value) => throw null; } - // Generated from `System.Object` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Object { public virtual bool Equals(object obj) => throw null; @@ -4354,7 +4174,6 @@ namespace System // ERR: Stub generator didn't handle member: ~Object } - // Generated from `System.ObjectDisposedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectDisposedException : System.InvalidOperationException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -4368,7 +4187,6 @@ namespace System public static void ThrowIf(bool condition, object instance) => throw null; } - // Generated from `System.ObsoleteAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObsoleteAttribute : System.Attribute { public string DiagnosticId { get => throw null; set => throw null; } @@ -4380,7 +4198,6 @@ namespace System public string UrlFormat { get => throw null; set => throw null; } } - // Generated from `System.OperatingSystem` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OperatingSystem : System.ICloneable, System.Runtime.Serialization.ISerializable { public object Clone() => throw null; @@ -4413,7 +4230,6 @@ namespace System public string VersionString { get => throw null; } } - // Generated from `System.OperationCanceledException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OperationCanceledException : System.SystemException { public System.Threading.CancellationToken CancellationToken { get => throw null; } @@ -4426,7 +4242,6 @@ namespace System public OperationCanceledException(string message, System.Exception innerException, System.Threading.CancellationToken token) => throw null; } - // Generated from `System.OutOfMemoryException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OutOfMemoryException : System.SystemException { public OutOfMemoryException() => throw null; @@ -4435,7 +4250,6 @@ namespace System public OutOfMemoryException(string message, System.Exception innerException) => throw null; } - // Generated from `System.OverflowException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OverflowException : System.ArithmeticException { public OverflowException() => throw null; @@ -4444,13 +4258,11 @@ namespace System public OverflowException(string message, System.Exception innerException) => throw null; } - // Generated from `System.ParamArrayAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParamArrayAttribute : System.Attribute { public ParamArrayAttribute() => throw null; } - // Generated from `System.PlatformID` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PlatformID : int { MacOSX = 6, @@ -4463,7 +4275,6 @@ namespace System Xbox = 5, } - // Generated from `System.PlatformNotSupportedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PlatformNotSupportedException : System.NotSupportedException { public PlatformNotSupportedException() => throw null; @@ -4472,10 +4283,8 @@ namespace System public PlatformNotSupportedException(string message, System.Exception inner) => throw null; } - // Generated from `System.Predicate<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate bool Predicate(T obj); - // Generated from `System.Progress<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Progress : System.IProgress { protected virtual void OnReport(T value) => throw null; @@ -4485,7 +4294,6 @@ namespace System void System.IProgress.Report(T value) => throw null; } - // Generated from `System.Random` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Random { public virtual int Next() => throw null; @@ -4504,7 +4312,6 @@ namespace System public static System.Random Shared { get => throw null; } } - // Generated from `System.Range` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Range : System.IEquatable { public static System.Range All { get => throw null; } @@ -4521,7 +4328,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.RankException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RankException : System.SystemException { public RankException() => throw null; @@ -4530,7 +4336,6 @@ namespace System public RankException(string message, System.Exception innerException) => throw null; } - // Generated from `System.ReadOnlyMemory<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ReadOnlyMemory : System.IEquatable> { public void CopyTo(System.Memory destination) => throw null; @@ -4554,10 +4359,8 @@ namespace System public static implicit operator System.ReadOnlyMemory(T[] array) => throw null; } - // Generated from `System.ReadOnlySpan<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ReadOnlySpan { - // Generated from `System.ReadOnlySpan<>+Enumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator { public T Current { get => throw null; } @@ -4591,7 +4394,6 @@ namespace System public static implicit operator System.ReadOnlySpan(T[] array) => throw null; } - // Generated from `System.ResolveEventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResolveEventArgs : System.EventArgs { public string Name { get => throw null; } @@ -4600,16 +4402,13 @@ namespace System public ResolveEventArgs(string name, System.Reflection.Assembly requestingAssembly) => throw null; } - // Generated from `System.ResolveEventHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.Reflection.Assembly ResolveEventHandler(object sender, System.ResolveEventArgs args); - // Generated from `System.RuntimeArgumentHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct RuntimeArgumentHandle { // Stub generator skipped constructor } - // Generated from `System.RuntimeFieldHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct RuntimeFieldHandle : System.IEquatable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.RuntimeFieldHandle left, System.RuntimeFieldHandle right) => throw null; @@ -4624,7 +4423,6 @@ namespace System public System.IntPtr Value { get => throw null; } } - // Generated from `System.RuntimeMethodHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct RuntimeMethodHandle : System.IEquatable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.RuntimeMethodHandle left, System.RuntimeMethodHandle right) => throw null; @@ -4640,7 +4438,6 @@ namespace System public System.IntPtr Value { get => throw null; } } - // Generated from `System.RuntimeTypeHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct RuntimeTypeHandle : System.IEquatable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.RuntimeTypeHandle left, object right) => throw null; @@ -4658,7 +4455,6 @@ namespace System public System.IntPtr Value { get => throw null; } } - // Generated from `System.SByte` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SByte : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { static bool System.Numerics.IEqualityOperators.operator !=(System.SByte left, System.SByte right) => throw null; @@ -4793,19 +4589,16 @@ namespace System static System.SByte System.Numerics.IBitwiseOperators.operator ~(System.SByte value) => throw null; } - // Generated from `System.STAThreadAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class STAThreadAttribute : System.Attribute { public STAThreadAttribute() => throw null; } - // Generated from `System.SerializableAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SerializableAttribute : System.Attribute { public SerializableAttribute() => throw null; } - // Generated from `System.Single` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Single : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { static bool System.Numerics.IEqualityOperators.operator !=(float left, float right) => throw null; @@ -4997,10 +4790,8 @@ namespace System static float System.Numerics.IBitwiseOperators.operator ~(float value) => throw null; } - // Generated from `System.Span<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Span { - // Generated from `System.Span<>+Enumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator { public T Current { get => throw null; } @@ -5037,7 +4828,6 @@ namespace System public static implicit operator System.Span(T[] array) => throw null; } - // Generated from `System.StackOverflowException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StackOverflowException : System.SystemException { public StackOverflowException() => throw null; @@ -5045,7 +4835,6 @@ namespace System public StackOverflowException(string message, System.Exception innerException) => throw null; } - // Generated from `System.String` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class String : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.ICloneable, System.IComparable, System.IComparable, System.IConvertible, System.IEquatable { public static bool operator !=(string a, string b) => throw null; @@ -5237,7 +5026,6 @@ namespace System public static implicit operator System.ReadOnlySpan(string value) => throw null; } - // Generated from `System.StringComparer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class StringComparer : System.Collections.Generic.IComparer, System.Collections.Generic.IEqualityComparer, System.Collections.IComparer, System.Collections.IEqualityComparer { public int Compare(object x, object y) => throw null; @@ -5260,7 +5048,6 @@ namespace System protected StringComparer() => throw null; } - // Generated from `System.StringComparison` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum StringComparison : int { CurrentCulture = 0, @@ -5271,7 +5058,6 @@ namespace System OrdinalIgnoreCase = 5, } - // Generated from `System.StringNormalizationExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class StringNormalizationExtensions { public static bool IsNormalized(this string strInput) => throw null; @@ -5280,7 +5066,6 @@ namespace System public static string Normalize(this string strInput, System.Text.NormalizationForm normalizationForm) => throw null; } - // Generated from `System.StringSplitOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum StringSplitOptions : int { @@ -5289,7 +5074,6 @@ namespace System TrimEntries = 2, } - // Generated from `System.SystemException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SystemException : System.Exception { public SystemException() => throw null; @@ -5298,13 +5082,11 @@ namespace System public SystemException(string message, System.Exception innerException) => throw null; } - // Generated from `System.ThreadStaticAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadStaticAttribute : System.Attribute { public ThreadStaticAttribute() => throw null; } - // Generated from `System.TimeOnly` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TimeOnly : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable { public static bool operator !=(System.TimeOnly left, System.TimeOnly right) => throw null; @@ -5379,7 +5161,6 @@ namespace System public static bool TryParseExact(string s, string format, out System.TimeOnly result) => throw null; } - // Generated from `System.TimeSpan` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TimeSpan : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable { public static bool operator !=(System.TimeSpan t1, System.TimeSpan t2) => throw null; @@ -5475,7 +5256,6 @@ namespace System public static System.TimeSpan Zero; } - // Generated from `System.TimeZone` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TimeZone { public static System.TimeZone CurrentTimeZone { get => throw null; } @@ -5490,10 +5270,8 @@ namespace System public virtual System.DateTime ToUniversalTime(System.DateTime time) => throw null; } - // Generated from `System.TimeZoneInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TimeZoneInfo : System.IEquatable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { - // Generated from `System.TimeZoneInfo+AdjustmentRule` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AdjustmentRule : System.IEquatable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public System.TimeSpan BaseUtcOffsetDelta { get => throw null; } @@ -5512,7 +5290,6 @@ namespace System } - // Generated from `System.TimeZoneInfo+TransitionTime` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TransitionTime : System.IEquatable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.TimeZoneInfo.TransitionTime t1, System.TimeZoneInfo.TransitionTime t2) => throw null; @@ -5582,7 +5359,6 @@ namespace System public static System.TimeZoneInfo Utc { get => throw null; } } - // Generated from `System.TimeZoneNotFoundException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TimeZoneNotFoundException : System.Exception { public TimeZoneNotFoundException() => throw null; @@ -5591,7 +5367,6 @@ namespace System public TimeZoneNotFoundException(string message, System.Exception innerException) => throw null; } - // Generated from `System.TimeoutException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TimeoutException : System.SystemException { public TimeoutException() => throw null; @@ -5600,7 +5375,6 @@ namespace System public TimeoutException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Tuple` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Tuple { public static System.Tuple> Create(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, T8 item8) => throw null; @@ -5613,7 +5387,6 @@ namespace System public static System.Tuple Create(T1 item1) => throw null; } - // Generated from `System.Tuple<,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -5636,7 +5409,6 @@ namespace System public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, TRest rest) => throw null; } - // Generated from `System.Tuple<,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -5658,7 +5430,6 @@ namespace System public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7) => throw null; } - // Generated from `System.Tuple<,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -5679,7 +5450,6 @@ namespace System public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6) => throw null; } - // Generated from `System.Tuple<,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -5699,7 +5469,6 @@ namespace System public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5) => throw null; } - // Generated from `System.Tuple<,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -5718,7 +5487,6 @@ namespace System public Tuple(T1 item1, T2 item2, T3 item3, T4 item4) => throw null; } - // Generated from `System.Tuple<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -5736,7 +5504,6 @@ namespace System public Tuple(T1 item1, T2 item2, T3 item3) => throw null; } - // Generated from `System.Tuple<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -5753,7 +5520,6 @@ namespace System public Tuple(T1 item1, T2 item2) => throw null; } - // Generated from `System.Tuple<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple { int System.IComparable.CompareTo(object obj) => throw null; @@ -5769,7 +5535,6 @@ namespace System public Tuple(T1 item1) => throw null; } - // Generated from `System.TupleExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class TupleExtensions { public static void Deconstruct(this System.Tuple>> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10, out T11 item11, out T12 item12, out T13 item13, out T14 item14, out T15 item15, out T16 item16, out T17 item17, out T18 item18, out T19 item19, out T20 item20, out T21 item21) => throw null; @@ -5837,7 +5602,6 @@ namespace System public static System.ValueTuple ToValueTuple(this System.Tuple value) => throw null; } - // Generated from `System.Type` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Type : System.Reflection.MemberInfo, System.Reflection.IReflect { public static bool operator !=(System.Type left, System.Type right) => throw null; @@ -6037,7 +5801,6 @@ namespace System public abstract System.Type UnderlyingSystemType { get; } } - // Generated from `System.TypeAccessException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeAccessException : System.TypeLoadException { public TypeAccessException() => throw null; @@ -6046,7 +5809,6 @@ namespace System public TypeAccessException(string message, System.Exception inner) => throw null; } - // Generated from `System.TypeCode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TypeCode : int { Boolean = 3, @@ -6069,7 +5831,6 @@ namespace System UInt64 = 12, } - // Generated from `System.TypeInitializationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeInitializationException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -6077,7 +5838,6 @@ namespace System public string TypeName { get => throw null; } } - // Generated from `System.TypeLoadException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeLoadException : System.SystemException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -6089,7 +5849,6 @@ namespace System public string TypeName { get => throw null; } } - // Generated from `System.TypeUnloadedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeUnloadedException : System.SystemException { public TypeUnloadedException() => throw null; @@ -6098,7 +5857,6 @@ namespace System public TypeUnloadedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.TypedReference` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TypedReference { public override bool Equals(object o) => throw null; @@ -6111,7 +5869,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.UInt128` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct UInt128 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { static bool System.Numerics.IEqualityOperators.operator !=(System.UInt128 left, System.UInt128 right) => throw null; @@ -6278,7 +6035,6 @@ namespace System static System.UInt128 System.Numerics.IBitwiseOperators.operator ~(System.UInt128 value) => throw null; } - // Generated from `System.UInt16` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct UInt16 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { static bool System.Numerics.IEqualityOperators.operator !=(System.UInt16 left, System.UInt16 right) => throw null; @@ -6412,7 +6168,6 @@ namespace System static System.UInt16 System.Numerics.IBitwiseOperators.operator ~(System.UInt16 value) => throw null; } - // Generated from `System.UInt32` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct UInt32 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { static bool System.Numerics.IEqualityOperators.operator !=(System.UInt32 left, System.UInt32 right) => throw null; @@ -6546,7 +6301,6 @@ namespace System static System.UInt32 System.Numerics.IBitwiseOperators.operator ~(System.UInt32 value) => throw null; } - // Generated from `System.UInt64` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct UInt64 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { static bool System.Numerics.IEqualityOperators.operator !=(System.UInt64 left, System.UInt64 right) => throw null; @@ -6680,7 +6434,6 @@ namespace System static System.UInt64 System.Numerics.IBitwiseOperators.operator ~(System.UInt64 value) => throw null; } - // Generated from `System.UIntPtr` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct UIntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber, System.Runtime.Serialization.ISerializable { static bool System.Numerics.IEqualityOperators.operator !=(System.UIntPtr value1, System.UIntPtr value2) => throw null; @@ -6817,7 +6570,6 @@ namespace System static System.UIntPtr System.Numerics.IBitwiseOperators.operator ~(System.UIntPtr value) => throw null; } - // Generated from `System.UnauthorizedAccessException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnauthorizedAccessException : System.SystemException { public UnauthorizedAccessException() => throw null; @@ -6826,7 +6578,6 @@ namespace System public UnauthorizedAccessException(string message, System.Exception inner) => throw null; } - // Generated from `System.UnhandledExceptionEventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnhandledExceptionEventArgs : System.EventArgs { public object ExceptionObject { get => throw null; } @@ -6834,10 +6585,8 @@ namespace System public UnhandledExceptionEventArgs(object exception, bool isTerminating) => throw null; } - // Generated from `System.UnhandledExceptionEventHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void UnhandledExceptionEventHandler(object sender, System.UnhandledExceptionEventArgs e); - // Generated from `System.Uri` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Uri : System.Runtime.Serialization.ISerializable { public static bool operator !=(System.Uri uri1, System.Uri uri2) => throw null; @@ -6927,7 +6676,6 @@ namespace System public string UserInfo { get => throw null; } } - // Generated from `System.UriBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UriBuilder { public override bool Equals(object rparam) => throw null; @@ -6951,7 +6699,6 @@ namespace System public string UserName { get => throw null; set => throw null; } } - // Generated from `System.UriComponents` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum UriComponents : int { @@ -6974,14 +6721,12 @@ namespace System UserInfo = 2, } - // Generated from `System.UriCreationOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct UriCreationOptions { public bool DangerousDisablePathAndQueryCanonicalization { get => throw null; set => throw null; } // Stub generator skipped constructor } - // Generated from `System.UriFormat` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UriFormat : int { SafeUnescaped = 3, @@ -6989,7 +6734,6 @@ namespace System UriEscaped = 1, } - // Generated from `System.UriFormatException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UriFormatException : System.FormatException, System.Runtime.Serialization.ISerializable { void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -6999,7 +6743,6 @@ namespace System public UriFormatException(string textString, System.Exception e) => throw null; } - // Generated from `System.UriHostNameType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UriHostNameType : int { Basic = 1, @@ -7009,7 +6752,6 @@ namespace System Unknown = 0, } - // Generated from `System.UriKind` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UriKind : int { Absolute = 1, @@ -7017,7 +6759,6 @@ namespace System RelativeOrAbsolute = 0, } - // Generated from `System.UriParser` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class UriParser { protected virtual string GetComponents(System.Uri uri, System.UriComponents components, System.UriFormat format) => throw null; @@ -7032,7 +6773,6 @@ namespace System protected UriParser() => throw null; } - // Generated from `System.UriPartial` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UriPartial : int { Authority = 1, @@ -7041,7 +6781,6 @@ namespace System Scheme = 0, } - // Generated from `System.ValueTuple` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable, System.IEquatable, System.Runtime.CompilerServices.ITuple { public int CompareTo(System.ValueTuple other) => throw null; @@ -7067,7 +6806,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.ValueTuple<,,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple where TRest : struct { public int CompareTo(System.ValueTuple other) => throw null; @@ -7093,7 +6831,6 @@ namespace System public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, TRest rest) => throw null; } - // Generated from `System.ValueTuple<,,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5, T6, T7)>, System.IEquatable<(T1, T2, T3, T4, T5, T6, T7)>, System.Runtime.CompilerServices.ITuple { public int CompareTo((T1, T2, T3, T4, T5, T6, T7) other) => throw null; @@ -7118,7 +6855,6 @@ namespace System public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7) => throw null; } - // Generated from `System.ValueTuple<,,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5, T6)>, System.IEquatable<(T1, T2, T3, T4, T5, T6)>, System.Runtime.CompilerServices.ITuple { public int CompareTo((T1, T2, T3, T4, T5, T6) other) => throw null; @@ -7142,7 +6878,6 @@ namespace System public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6) => throw null; } - // Generated from `System.ValueTuple<,,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5)>, System.IEquatable<(T1, T2, T3, T4, T5)>, System.Runtime.CompilerServices.ITuple { public int CompareTo((T1, T2, T3, T4, T5) other) => throw null; @@ -7165,7 +6900,6 @@ namespace System public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5) => throw null; } - // Generated from `System.ValueTuple<,,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4)>, System.IEquatable<(T1, T2, T3, T4)>, System.Runtime.CompilerServices.ITuple { public int CompareTo((T1, T2, T3, T4) other) => throw null; @@ -7187,7 +6921,6 @@ namespace System public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4) => throw null; } - // Generated from `System.ValueTuple<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3)>, System.IEquatable<(T1, T2, T3)>, System.Runtime.CompilerServices.ITuple { public int CompareTo((T1, T2, T3) other) => throw null; @@ -7208,7 +6941,6 @@ namespace System public ValueTuple(T1 item1, T2 item2, T3 item3) => throw null; } - // Generated from `System.ValueTuple<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2)>, System.IEquatable<(T1, T2)>, System.Runtime.CompilerServices.ITuple { public int CompareTo((T1, T2) other) => throw null; @@ -7228,7 +6960,6 @@ namespace System public ValueTuple(T1 item1, T2 item2) => throw null; } - // Generated from `System.ValueTuple<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple { public int CompareTo(System.ValueTuple other) => throw null; @@ -7247,7 +6978,6 @@ namespace System public ValueTuple(T1 item1) => throw null; } - // Generated from `System.ValueType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ValueType { public override bool Equals(object obj) => throw null; @@ -7256,7 +6986,6 @@ namespace System protected ValueType() => throw null; } - // Generated from `System.Version` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Version : System.ICloneable, System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.ISpanFormattable { public static bool operator !=(System.Version v1, System.Version v2) => throw null; @@ -7294,12 +7023,10 @@ namespace System public Version(string version) => throw null; } - // Generated from `System.Void` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Void { } - // Generated from `System.WeakReference` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WeakReference : System.Runtime.Serialization.ISerializable { public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -7312,7 +7039,6 @@ namespace System // ERR: Stub generator didn't handle member: ~WeakReference } - // Generated from `System.WeakReference<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WeakReference : System.Runtime.Serialization.ISerializable where T : class { public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -7325,7 +7051,6 @@ namespace System namespace Buffers { - // Generated from `System.Buffers.ArrayPool<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ArrayPool { protected ArrayPool() => throw null; @@ -7336,20 +7061,17 @@ namespace System public static System.Buffers.ArrayPool Shared { get => throw null; } } - // Generated from `System.Buffers.IMemoryOwner<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IMemoryOwner : System.IDisposable { System.Memory Memory { get; } } - // Generated from `System.Buffers.IPinnable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IPinnable { System.Buffers.MemoryHandle Pin(int elementIndex); void Unpin(); } - // Generated from `System.Buffers.MemoryHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct MemoryHandle : System.IDisposable { public void Dispose() => throw null; @@ -7358,7 +7080,6 @@ namespace System unsafe public void* Pointer { get => throw null; } } - // Generated from `System.Buffers.MemoryManager<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MemoryManager : System.Buffers.IMemoryOwner, System.Buffers.IPinnable, System.IDisposable { protected System.Memory CreateMemory(int length) => throw null; @@ -7373,7 +7094,6 @@ namespace System public abstract void Unpin(); } - // Generated from `System.Buffers.OperationStatus` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OperationStatus : int { DestinationTooSmall = 1, @@ -7382,15 +7102,12 @@ namespace System NeedMoreData = 2, } - // Generated from `System.Buffers.ReadOnlySpanAction<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ReadOnlySpanAction(System.ReadOnlySpan span, TArg arg); - // Generated from `System.Buffers.SpanAction<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void SpanAction(System.Span span, TArg arg); namespace Text { - // Generated from `System.Buffers.Text.Base64` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Base64 { public static System.Buffers.OperationStatus DecodeFromUtf8(System.ReadOnlySpan utf8, System.Span bytes, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = default(bool)) => throw null; @@ -7407,7 +7124,6 @@ namespace System { namespace Compiler { - // Generated from `System.CodeDom.Compiler.GeneratedCodeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GeneratedCodeAttribute : System.Attribute { public GeneratedCodeAttribute(string tool, string version) => throw null; @@ -7415,7 +7131,6 @@ namespace System public string Version { get => throw null; } } - // Generated from `System.CodeDom.Compiler.IndentedTextWriter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IndentedTextWriter : System.IO.TextWriter { public override void Close() => throw null; @@ -7478,7 +7193,6 @@ namespace System } namespace Collections { - // Generated from `System.Collections.ArrayList` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ArrayList : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ICloneable { public static System.Collections.ArrayList Adapter(System.Collections.IList list) => throw null; @@ -7535,7 +7249,6 @@ namespace System public virtual void TrimToSize() => throw null; } - // Generated from `System.Collections.Comparer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Comparer : System.Collections.IComparer, System.Runtime.Serialization.ISerializable { public int Compare(object a, object b) => throw null; @@ -7545,7 +7258,6 @@ namespace System public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; } - // Generated from `System.Collections.DictionaryEntry` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DictionaryEntry { public void Deconstruct(out object key, out object value) => throw null; @@ -7555,7 +7267,6 @@ namespace System public object Value { get => throw null; set => throw null; } } - // Generated from `System.Collections.Hashtable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Hashtable : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.ICloneable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public virtual void Add(object key, object value) => throw null; @@ -7602,7 +7313,6 @@ namespace System protected System.Collections.IHashCodeProvider hcp { get => throw null; set => throw null; } } - // Generated from `System.Collections.ICollection` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICollection : System.Collections.IEnumerable { void CopyTo(System.Array array, int index); @@ -7611,13 +7321,11 @@ namespace System object SyncRoot { get; } } - // Generated from `System.Collections.IComparer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComparer { int Compare(object x, object y); } - // Generated from `System.Collections.IDictionary` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDictionary : System.Collections.ICollection, System.Collections.IEnumerable { void Add(object key, object value); @@ -7632,7 +7340,6 @@ namespace System System.Collections.ICollection Values { get; } } - // Generated from `System.Collections.IDictionaryEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDictionaryEnumerator : System.Collections.IEnumerator { System.Collections.DictionaryEntry Entry { get; } @@ -7640,13 +7347,11 @@ namespace System object Value { get; } } - // Generated from `System.Collections.IEnumerable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumerable { System.Collections.IEnumerator GetEnumerator(); } - // Generated from `System.Collections.IEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumerator { object Current { get; } @@ -7654,20 +7359,17 @@ namespace System void Reset(); } - // Generated from `System.Collections.IEqualityComparer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEqualityComparer { bool Equals(object x, object y); int GetHashCode(object obj); } - // Generated from `System.Collections.IHashCodeProvider` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IHashCodeProvider { int GetHashCode(object obj); } - // Generated from `System.Collections.IList` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IList : System.Collections.ICollection, System.Collections.IEnumerable { int Add(object value); @@ -7682,13 +7384,11 @@ namespace System void RemoveAt(int index); } - // Generated from `System.Collections.IStructuralComparable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IStructuralComparable { int CompareTo(object other, System.Collections.IComparer comparer); } - // Generated from `System.Collections.IStructuralEquatable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IStructuralEquatable { bool Equals(object other, System.Collections.IEqualityComparer comparer); @@ -7697,20 +7397,17 @@ namespace System namespace Generic { - // Generated from `System.Collections.Generic.IAsyncEnumerable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAsyncEnumerable { System.Collections.Generic.IAsyncEnumerator GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `System.Collections.Generic.IAsyncEnumerator<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAsyncEnumerator : System.IAsyncDisposable { T Current { get; } System.Threading.Tasks.ValueTask MoveNextAsync(); } - // Generated from `System.Collections.Generic.ICollection<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICollection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { void Add(T item); @@ -7722,13 +7419,11 @@ namespace System bool Remove(T item); } - // Generated from `System.Collections.Generic.IComparer<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComparer { int Compare(T x, T y); } - // Generated from `System.Collections.Generic.IDictionary<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { void Add(TKey key, TValue value); @@ -7740,26 +7435,22 @@ namespace System System.Collections.Generic.ICollection Values { get; } } - // Generated from `System.Collections.Generic.IEnumerable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumerable : System.Collections.IEnumerable { System.Collections.Generic.IEnumerator GetEnumerator(); } - // Generated from `System.Collections.Generic.IEnumerator<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEnumerator : System.Collections.IEnumerator, System.IDisposable { T Current { get; } } - // Generated from `System.Collections.Generic.IEqualityComparer<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEqualityComparer { bool Equals(T x, T y); int GetHashCode(T obj); } - // Generated from `System.Collections.Generic.IList<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IList : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { int IndexOf(T item); @@ -7768,13 +7459,11 @@ namespace System void RemoveAt(int index); } - // Generated from `System.Collections.Generic.IReadOnlyCollection<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReadOnlyCollection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { int Count { get; } } - // Generated from `System.Collections.Generic.IReadOnlyDictionary<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReadOnlyDictionary : System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.IEnumerable { bool ContainsKey(TKey key); @@ -7784,13 +7473,11 @@ namespace System System.Collections.Generic.IEnumerable Values { get; } } - // Generated from `System.Collections.Generic.IReadOnlyList<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReadOnlyList : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { T this[int index] { get; } } - // Generated from `System.Collections.Generic.IReadOnlySet<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReadOnlySet : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { bool Contains(T item); @@ -7802,7 +7489,6 @@ namespace System bool SetEquals(System.Collections.Generic.IEnumerable other); } - // Generated from `System.Collections.Generic.ISet<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISet : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { bool Add(T item); @@ -7818,7 +7504,6 @@ namespace System void UnionWith(System.Collections.Generic.IEnumerable other); } - // Generated from `System.Collections.Generic.KeyNotFoundException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KeyNotFoundException : System.SystemException { public KeyNotFoundException() => throw null; @@ -7827,13 +7512,11 @@ namespace System public KeyNotFoundException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Collections.Generic.KeyValuePair` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class KeyValuePair { public static System.Collections.Generic.KeyValuePair Create(TKey key, TValue value) => throw null; } - // Generated from `System.Collections.Generic.KeyValuePair<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct KeyValuePair { public void Deconstruct(out TKey key, out TValue value) => throw null; @@ -7847,7 +7530,6 @@ namespace System } namespace ObjectModel { - // Generated from `System.Collections.ObjectModel.Collection<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Collection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public void Add(T item) => throw null; @@ -7883,7 +7565,6 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Collections.ObjectModel.ReadOnlyCollection<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReadOnlyCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { void System.Collections.Generic.ICollection.Add(T value) => throw null; @@ -7917,10 +7598,8 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Collections.ObjectModel.ReadOnlyDictionary<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReadOnlyDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable { - // Generated from `System.Collections.ObjectModel.ReadOnlyDictionary<,>+KeyCollection` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KeyCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { void System.Collections.Generic.ICollection.Add(TKey item) => throw null; @@ -7938,7 +7617,6 @@ namespace System } - // Generated from `System.Collections.ObjectModel.ReadOnlyDictionary<,>+ValueCollection` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValueCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.ICollection, System.Collections.IEnumerable { void System.Collections.Generic.ICollection.Add(TValue item) => throw null; @@ -7998,7 +7676,6 @@ namespace System } namespace ComponentModel { - // Generated from `System.ComponentModel.DefaultValueAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultValueAttribute : System.Attribute { public DefaultValueAttribute(System.Type type, string value) => throw null; @@ -8022,7 +7699,6 @@ namespace System public virtual object Value { get => throw null; } } - // Generated from `System.ComponentModel.EditorBrowsableAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EditorBrowsableAttribute : System.Attribute { public EditorBrowsableAttribute() => throw null; @@ -8032,7 +7708,6 @@ namespace System public System.ComponentModel.EditorBrowsableState State { get => throw null; } } - // Generated from `System.ComponentModel.EditorBrowsableState` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EditorBrowsableState : int { Advanced = 2, @@ -8045,7 +7720,6 @@ namespace System { namespace Assemblies { - // Generated from `System.Configuration.Assemblies.AssemblyHashAlgorithm` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AssemblyHashAlgorithm : int { MD5 = 32771, @@ -8056,7 +7730,6 @@ namespace System SHA512 = 32782, } - // Generated from `System.Configuration.Assemblies.AssemblyVersionCompatibility` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AssemblyVersionCompatibility : int { SameDomain = 3, @@ -8068,17 +7741,14 @@ namespace System } namespace Diagnostics { - // Generated from `System.Diagnostics.ConditionalAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConditionalAttribute : System.Attribute { public string ConditionString { get => throw null; } public ConditionalAttribute(string conditionString) => throw null; } - // Generated from `System.Diagnostics.Debug` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Debug { - // Generated from `System.Diagnostics.Debug+AssertInterpolatedStringHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AssertInterpolatedStringHandler { public void AppendFormatted(System.ReadOnlySpan value) => throw null; @@ -8096,7 +7766,6 @@ namespace System } - // Generated from `System.Diagnostics.Debug+WriteIfInterpolatedStringHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct WriteIfInterpolatedStringHandler { public void AppendFormatted(System.ReadOnlySpan value) => throw null; @@ -8154,10 +7823,8 @@ namespace System public static void WriteLineIf(bool condition, string message, string category) => throw null; } - // Generated from `System.Diagnostics.DebuggableAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggableAttribute : System.Attribute { - // Generated from `System.Diagnostics.DebuggableAttribute+DebuggingModes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DebuggingModes : int { @@ -8176,7 +7843,6 @@ namespace System public bool IsJITTrackingEnabled { get => throw null; } } - // Generated from `System.Diagnostics.Debugger` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Debugger { public static void Break() => throw null; @@ -8188,14 +7854,12 @@ namespace System public static void NotifyOfCrossThreadDependency() => throw null; } - // Generated from `System.Diagnostics.DebuggerBrowsableAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerBrowsableAttribute : System.Attribute { public DebuggerBrowsableAttribute(System.Diagnostics.DebuggerBrowsableState state) => throw null; public System.Diagnostics.DebuggerBrowsableState State { get => throw null; } } - // Generated from `System.Diagnostics.DebuggerBrowsableState` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DebuggerBrowsableState : int { Collapsed = 2, @@ -8203,7 +7867,6 @@ namespace System RootHidden = 3, } - // Generated from `System.Diagnostics.DebuggerDisplayAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerDisplayAttribute : System.Attribute { public DebuggerDisplayAttribute(string value) => throw null; @@ -8214,31 +7877,26 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Diagnostics.DebuggerHiddenAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerHiddenAttribute : System.Attribute { public DebuggerHiddenAttribute() => throw null; } - // Generated from `System.Diagnostics.DebuggerNonUserCodeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerNonUserCodeAttribute : System.Attribute { public DebuggerNonUserCodeAttribute() => throw null; } - // Generated from `System.Diagnostics.DebuggerStepThroughAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerStepThroughAttribute : System.Attribute { public DebuggerStepThroughAttribute() => throw null; } - // Generated from `System.Diagnostics.DebuggerStepperBoundaryAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerStepperBoundaryAttribute : System.Attribute { public DebuggerStepperBoundaryAttribute() => throw null; } - // Generated from `System.Diagnostics.DebuggerTypeProxyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerTypeProxyAttribute : System.Attribute { public DebuggerTypeProxyAttribute(System.Type type) => throw null; @@ -8248,7 +7906,6 @@ namespace System public string TargetTypeName { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.DebuggerVisualizerAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DebuggerVisualizerAttribute : System.Attribute { public DebuggerVisualizerAttribute(System.Type visualizer) => throw null; @@ -8264,13 +7921,11 @@ namespace System public string VisualizerTypeName { get => throw null; } } - // Generated from `System.Diagnostics.StackTraceHiddenAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StackTraceHiddenAttribute : System.Attribute { public StackTraceHiddenAttribute() => throw null; } - // Generated from `System.Diagnostics.Stopwatch` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Stopwatch { public System.TimeSpan Elapsed { get => throw null; } @@ -8290,7 +7945,6 @@ namespace System public Stopwatch() => throw null; } - // Generated from `System.Diagnostics.UnreachableException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnreachableException : System.Exception { public UnreachableException() => throw null; @@ -8300,13 +7954,11 @@ namespace System namespace CodeAnalysis { - // Generated from `System.Diagnostics.CodeAnalysis.AllowNullAttribute` in `Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed; System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public partial class AllowNullAttribute : System.Attribute { public AllowNullAttribute() => throw null; } - // Generated from `System.Diagnostics.CodeAnalysis.ConstantExpectedAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConstantExpectedAttribute : System.Attribute { public ConstantExpectedAttribute() => throw null; @@ -8314,26 +7966,22 @@ namespace System public object Min { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.DisallowNullAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DisallowNullAttribute : System.Attribute { public DisallowNullAttribute() => throw null; } - // Generated from `System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DoesNotReturnAttribute : System.Attribute { public DoesNotReturnAttribute() => throw null; } - // Generated from `System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute` in `Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed; System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public partial class DoesNotReturnIfAttribute : System.Attribute { public DoesNotReturnIfAttribute(bool parameterValue) => throw null; public bool ParameterValue { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicDependencyAttribute : System.Attribute { public string AssemblyName { get => throw null; } @@ -8349,7 +7997,6 @@ namespace System public string TypeName { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DynamicallyAccessedMemberTypes : int { @@ -8371,34 +8018,29 @@ namespace System PublicProperties = 512, } - // Generated from `System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DynamicallyAccessedMembersAttribute : System.Attribute { public DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes memberTypes) => throw null; public System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes MemberTypes { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExcludeFromCodeCoverageAttribute : System.Attribute { public ExcludeFromCodeCoverageAttribute() => throw null; public string Justification { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.MaybeNullAttribute` in `Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed; System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public partial class MaybeNullAttribute : System.Attribute { public MaybeNullAttribute() => throw null; } - // Generated from `System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MaybeNullWhenAttribute : System.Attribute { public MaybeNullWhenAttribute(bool returnValue) => throw null; public bool ReturnValue { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.MemberNotNullAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberNotNullAttribute : System.Attribute { public MemberNotNullAttribute(params string[] members) => throw null; @@ -8406,7 +8048,6 @@ namespace System public string[] Members { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemberNotNullWhenAttribute : System.Attribute { public MemberNotNullWhenAttribute(bool returnValue, params string[] members) => throw null; @@ -8415,27 +8056,23 @@ namespace System public bool ReturnValue { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.NotNullAttribute` in `Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed; System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public partial class NotNullAttribute : System.Attribute { public NotNullAttribute() => throw null; } - // Generated from `System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NotNullIfNotNullAttribute : System.Attribute { public NotNullIfNotNullAttribute(string parameterName) => throw null; public string ParameterName { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.NotNullWhenAttribute` in `Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed; System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public partial class NotNullWhenAttribute : System.Attribute { public NotNullWhenAttribute(bool returnValue) => throw null; public bool ReturnValue { get => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RequiresAssemblyFilesAttribute : System.Attribute { public string Message { get => throw null; } @@ -8444,7 +8081,6 @@ namespace System public string Url { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RequiresDynamicCodeAttribute : System.Attribute { public string Message { get => throw null; } @@ -8452,7 +8088,6 @@ namespace System public string Url { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RequiresUnreferencedCodeAttribute : System.Attribute { public string Message { get => throw null; } @@ -8460,13 +8095,11 @@ namespace System public string Url { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.SetsRequiredMembersAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SetsRequiredMembersAttribute : System.Attribute { public SetsRequiredMembersAttribute() => throw null; } - // Generated from `System.Diagnostics.CodeAnalysis.StringSyntaxAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringSyntaxAttribute : System.Attribute { public object[] Arguments { get => throw null; } @@ -8487,7 +8120,6 @@ namespace System public const string Xml = default; } - // Generated from `System.Diagnostics.CodeAnalysis.SuppressMessageAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SuppressMessageAttribute : System.Attribute { public string Category { get => throw null; } @@ -8499,7 +8131,6 @@ namespace System public string Target { get => throw null; set => throw null; } } - // Generated from `System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnconditionalSuppressMessageAttribute : System.Attribute { public string Category { get => throw null; } @@ -8511,7 +8142,6 @@ namespace System public UnconditionalSuppressMessageAttribute(string category, string checkId) => throw null; } - // Generated from `System.Diagnostics.CodeAnalysis.UnscopedRefAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnscopedRefAttribute : System.Attribute { public UnscopedRefAttribute() => throw null; @@ -8521,7 +8151,6 @@ namespace System } namespace Globalization { - // Generated from `System.Globalization.Calendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Calendar : System.ICloneable { public virtual System.DateTime AddDays(System.DateTime time, int days) => throw null; @@ -8573,7 +8202,6 @@ namespace System public virtual int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.CalendarAlgorithmType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CalendarAlgorithmType : int { LunarCalendar = 2, @@ -8582,7 +8210,6 @@ namespace System Unknown = 0, } - // Generated from `System.Globalization.CalendarWeekRule` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CalendarWeekRule : int { FirstDay = 0, @@ -8590,7 +8217,6 @@ namespace System FirstFullWeek = 1, } - // Generated from `System.Globalization.CharUnicodeInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CharUnicodeInfo { public static int GetDecimalDigitValue(System.Char ch) => throw null; @@ -8604,7 +8230,6 @@ namespace System public static System.Globalization.UnicodeCategory GetUnicodeCategory(string s, int index) => throw null; } - // Generated from `System.Globalization.ChineseLunisolarCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ChineseLunisolarCalendar : System.Globalization.EastAsianLunisolarCalendar { public const int ChineseEra = default; @@ -8616,7 +8241,6 @@ namespace System public override System.DateTime MinSupportedDateTime { get => throw null; } } - // Generated from `System.Globalization.CompareInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompareInfo : System.Runtime.Serialization.IDeserializationCallback { public int Compare(System.ReadOnlySpan string1, System.ReadOnlySpan string2, System.Globalization.CompareOptions options = default(System.Globalization.CompareOptions)) => throw null; @@ -8687,7 +8311,6 @@ namespace System public System.Globalization.SortVersion Version { get => throw null; } } - // Generated from `System.Globalization.CompareOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CompareOptions : int { @@ -8702,7 +8325,6 @@ namespace System StringSort = 536870912, } - // Generated from `System.Globalization.CultureInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CultureInfo : System.ICloneable, System.IFormatProvider { public virtual System.Globalization.Calendar Calendar { get => throw null; } @@ -8753,7 +8375,6 @@ namespace System public bool UseUserOverride { get => throw null; } } - // Generated from `System.Globalization.CultureNotFoundException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CultureNotFoundException : System.ArgumentException { public CultureNotFoundException() => throw null; @@ -8771,7 +8392,6 @@ namespace System public override string Message { get => throw null; } } - // Generated from `System.Globalization.CultureTypes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CultureTypes : int { @@ -8785,7 +8405,6 @@ namespace System WindowsOnlyCultures = 32, } - // Generated from `System.Globalization.DateTimeFormatInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateTimeFormatInfo : System.ICloneable, System.IFormatProvider { public string AMDesignator { get => throw null; set => throw null; } @@ -8834,7 +8453,6 @@ namespace System public string YearMonthPattern { get => throw null; set => throw null; } } - // Generated from `System.Globalization.DateTimeStyles` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum DateTimeStyles : int { @@ -8850,7 +8468,6 @@ namespace System RoundtripKind = 128, } - // Generated from `System.Globalization.DaylightTime` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DaylightTime { public DaylightTime(System.DateTime start, System.DateTime end, System.TimeSpan delta) => throw null; @@ -8859,7 +8476,6 @@ namespace System public System.DateTime Start { get => throw null; } } - // Generated from `System.Globalization.DigitShapes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DigitShapes : int { Context = 0, @@ -8867,7 +8483,6 @@ namespace System None = 1, } - // Generated from `System.Globalization.EastAsianLunisolarCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EastAsianLunisolarCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -8894,13 +8509,11 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.GlobalizationExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class GlobalizationExtensions { public static System.StringComparer GetStringComparer(this System.Globalization.CompareInfo compareInfo, System.Globalization.CompareOptions options) => throw null; } - // Generated from `System.Globalization.GregorianCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GregorianCalendar : System.Globalization.Calendar { public const int ADEra = default; @@ -8931,7 +8544,6 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.GregorianCalendarTypes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GregorianCalendarTypes : int { Arabic = 10, @@ -8942,7 +8554,6 @@ namespace System USEnglish = 2, } - // Generated from `System.Globalization.HebrewCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HebrewCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -8971,7 +8582,6 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.HijriCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HijriCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -9002,7 +8612,6 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.ISOWeek` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ISOWeek { public static int GetWeekOfYear(System.DateTime date) => throw null; @@ -9013,7 +8622,6 @@ namespace System public static System.DateTime ToDateTime(int year, int week, System.DayOfWeek dayOfWeek) => throw null; } - // Generated from `System.Globalization.IdnMapping` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IdnMapping { public bool AllowUnassigned { get => throw null; set => throw null; } @@ -9029,7 +8637,6 @@ namespace System public bool UseStd3AsciiRules { get => throw null; set => throw null; } } - // Generated from `System.Globalization.JapaneseCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JapaneseCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -9058,7 +8665,6 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.JapaneseLunisolarCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JapaneseLunisolarCalendar : System.Globalization.EastAsianLunisolarCalendar { protected override int DaysInYearBeforeMinSupportedYear { get => throw null; } @@ -9070,7 +8676,6 @@ namespace System public override System.DateTime MinSupportedDateTime { get => throw null; } } - // Generated from `System.Globalization.JulianCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JulianCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -9099,7 +8704,6 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.KoreanCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KoreanCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -9129,7 +8733,6 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.KoreanLunisolarCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KoreanLunisolarCalendar : System.Globalization.EastAsianLunisolarCalendar { protected override int DaysInYearBeforeMinSupportedYear { get => throw null; } @@ -9141,7 +8744,6 @@ namespace System public override System.DateTime MinSupportedDateTime { get => throw null; } } - // Generated from `System.Globalization.NumberFormatInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NumberFormatInfo : System.ICloneable, System.IFormatProvider { public object Clone() => throw null; @@ -9181,7 +8783,6 @@ namespace System public static System.Globalization.NumberFormatInfo ReadOnly(System.Globalization.NumberFormatInfo nfi) => throw null; } - // Generated from `System.Globalization.NumberStyles` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum NumberStyles : int { @@ -9204,7 +8805,6 @@ namespace System Number = 111, } - // Generated from `System.Globalization.PersianCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PersianCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -9233,7 +8833,6 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.RegionInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegionInfo { public virtual string CurrencyEnglishName { get => throw null; } @@ -9257,7 +8856,6 @@ namespace System public virtual string TwoLetterISORegionName { get => throw null; } } - // Generated from `System.Globalization.SortKey` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SortKey { public static int Compare(System.Globalization.SortKey sortkey1, System.Globalization.SortKey sortkey2) => throw null; @@ -9268,7 +8866,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Globalization.SortVersion` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SortVersion : System.IEquatable { public static bool operator !=(System.Globalization.SortVersion left, System.Globalization.SortVersion right) => throw null; @@ -9281,7 +8878,6 @@ namespace System public SortVersion(int fullVersion, System.Guid sortId) => throw null; } - // Generated from `System.Globalization.StringInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringInfo { public override bool Equals(object value) => throw null; @@ -9302,7 +8898,6 @@ namespace System public string SubstringByTextElements(int startingTextElement, int lengthInTextElements) => throw null; } - // Generated from `System.Globalization.TaiwanCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaiwanCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -9331,7 +8926,6 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.TaiwanLunisolarCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaiwanLunisolarCalendar : System.Globalization.EastAsianLunisolarCalendar { protected override int DaysInYearBeforeMinSupportedYear { get => throw null; } @@ -9342,7 +8936,6 @@ namespace System public TaiwanLunisolarCalendar() => throw null; } - // Generated from `System.Globalization.TextElementEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TextElementEnumerator : System.Collections.IEnumerator { public object Current { get => throw null; } @@ -9352,7 +8945,6 @@ namespace System public void Reset() => throw null; } - // Generated from `System.Globalization.TextInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TextInfo : System.ICloneable, System.Runtime.Serialization.IDeserializationCallback { public int ANSICodePage { get => throw null; } @@ -9377,7 +8969,6 @@ namespace System public string ToUpper(string str) => throw null; } - // Generated from `System.Globalization.ThaiBuddhistCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThaiBuddhistCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -9407,7 +8998,6 @@ namespace System public override int TwoDigitYearMax { get => throw null; set => throw null; } } - // Generated from `System.Globalization.TimeSpanStyles` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TimeSpanStyles : int { @@ -9415,7 +9005,6 @@ namespace System None = 0, } - // Generated from `System.Globalization.UmAlQuraCalendar` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UmAlQuraCalendar : System.Globalization.Calendar { public override System.DateTime AddMonths(System.DateTime time, int months) => throw null; @@ -9445,7 +9034,6 @@ namespace System public const int UmAlQuraEra = default; } - // Generated from `System.Globalization.UnicodeCategory` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UnicodeCategory : int { ClosePunctuation = 21, @@ -9483,7 +9071,6 @@ namespace System } namespace IO { - // Generated from `System.IO.BinaryReader` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BinaryReader : System.IDisposable { public virtual System.IO.Stream BaseStream { get => throw null; } @@ -9521,7 +9108,6 @@ namespace System public virtual System.UInt64 ReadUInt64() => throw null; } - // Generated from `System.IO.BinaryWriter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BinaryWriter : System.IAsyncDisposable, System.IDisposable { public virtual System.IO.Stream BaseStream { get => throw null; } @@ -9562,7 +9148,6 @@ namespace System public void Write7BitEncodedInt64(System.Int64 value) => throw null; } - // Generated from `System.IO.BufferedStream` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BufferedStream : System.IO.Stream { public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; @@ -9598,7 +9183,6 @@ namespace System public override void WriteByte(System.Byte value) => throw null; } - // Generated from `System.IO.Directory` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Directory { public static System.IO.DirectoryInfo CreateDirectory(string path) => throw null; @@ -9653,7 +9237,6 @@ namespace System public static void SetLastWriteTimeUtc(string path, System.DateTime lastWriteTimeUtc) => throw null; } - // Generated from `System.IO.DirectoryInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DirectoryInfo : System.IO.FileSystemInfo { public void Create() => throw null; @@ -9693,7 +9276,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.IO.DirectoryNotFoundException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DirectoryNotFoundException : System.IO.IOException { public DirectoryNotFoundException() => throw null; @@ -9702,7 +9284,6 @@ namespace System public DirectoryNotFoundException(string message, System.Exception innerException) => throw null; } - // Generated from `System.IO.EndOfStreamException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EndOfStreamException : System.IO.IOException { public EndOfStreamException() => throw null; @@ -9711,7 +9292,6 @@ namespace System public EndOfStreamException(string message, System.Exception innerException) => throw null; } - // Generated from `System.IO.EnumerationOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumerationOptions { public System.IO.FileAttributes AttributesToSkip { get => throw null; set => throw null; } @@ -9725,7 +9305,6 @@ namespace System public bool ReturnSpecialDirectories { get => throw null; set => throw null; } } - // Generated from `System.IO.File` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class File { public static void AppendAllLines(string path, System.Collections.Generic.IEnumerable contents) => throw null; @@ -9821,7 +9400,6 @@ namespace System public static System.Threading.Tasks.Task WriteAllTextAsync(string path, string contents, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.IO.FileAccess` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FileAccess : int { @@ -9830,7 +9408,6 @@ namespace System Write = 2, } - // Generated from `System.IO.FileAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FileAttributes : int { @@ -9852,7 +9429,6 @@ namespace System Temporary = 256, } - // Generated from `System.IO.FileInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileInfo : System.IO.FileSystemInfo { public System.IO.StreamWriter AppendText() => throw null; @@ -9883,7 +9459,6 @@ namespace System public System.IO.FileInfo Replace(string destinationFileName, string destinationBackupFileName, bool ignoreMetadataErrors) => throw null; } - // Generated from `System.IO.FileLoadException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileLoadException : System.IO.IOException { public FileLoadException() => throw null; @@ -9899,7 +9474,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.IO.FileMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FileMode : int { Append = 6, @@ -9910,7 +9484,6 @@ namespace System Truncate = 5, } - // Generated from `System.IO.FileNotFoundException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileNotFoundException : System.IO.IOException { public string FileName { get => throw null; } @@ -9926,7 +9499,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.IO.FileOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FileOptions : int { @@ -9939,7 +9511,6 @@ namespace System WriteThrough = -2147483648, } - // Generated from `System.IO.FileShare` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FileShare : int { @@ -9951,7 +9522,6 @@ namespace System Write = 2, } - // Generated from `System.IO.FileStream` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileStream : System.IO.Stream { public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; @@ -10004,7 +9574,6 @@ namespace System // ERR: Stub generator didn't handle member: ~FileStream } - // Generated from `System.IO.FileStreamOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileStreamOptions { public System.IO.FileAccess Access { get => throw null; set => throw null; } @@ -10017,7 +9586,6 @@ namespace System public System.IO.UnixFileMode? UnixCreateMode { get => throw null; set => throw null; } } - // Generated from `System.IO.FileSystemInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class FileSystemInfo : System.MarshalByRefObject, System.Runtime.Serialization.ISerializable { public System.IO.FileAttributes Attributes { get => throw null; set => throw null; } @@ -10045,14 +9613,12 @@ namespace System public System.IO.UnixFileMode UnixFileMode { get => throw null; set => throw null; } } - // Generated from `System.IO.HandleInheritability` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum HandleInheritability : int { Inheritable = 1, None = 0, } - // Generated from `System.IO.IOException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IOException : System.SystemException { public IOException() => throw null; @@ -10062,7 +9628,6 @@ namespace System public IOException(string message, int hresult) => throw null; } - // Generated from `System.IO.InvalidDataException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidDataException : System.SystemException { public InvalidDataException() => throw null; @@ -10070,7 +9635,6 @@ namespace System public InvalidDataException(string message, System.Exception innerException) => throw null; } - // Generated from `System.IO.MatchCasing` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MatchCasing : int { CaseInsensitive = 2, @@ -10078,14 +9642,12 @@ namespace System PlatformDefault = 0, } - // Generated from `System.IO.MatchType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MatchType : int { Simple = 0, Win32 = 1, } - // Generated from `System.IO.MemoryStream` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemoryStream : System.IO.Stream { public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; @@ -10128,7 +9690,6 @@ namespace System public virtual void WriteTo(System.IO.Stream stream) => throw null; } - // Generated from `System.IO.Path` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Path { public static System.Char AltDirectorySeparatorChar; @@ -10181,7 +9742,6 @@ namespace System public static System.Char VolumeSeparatorChar; } - // Generated from `System.IO.PathTooLongException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PathTooLongException : System.IO.IOException { public PathTooLongException() => throw null; @@ -10190,7 +9750,6 @@ namespace System public PathTooLongException(string message, System.Exception innerException) => throw null; } - // Generated from `System.IO.RandomAccess` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class RandomAccess { public static System.Int64 GetLength(Microsoft.Win32.SafeHandles.SafeFileHandle handle) => throw null; @@ -10205,14 +9764,12 @@ namespace System public static System.Threading.Tasks.ValueTask WriteAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.ReadOnlyMemory buffer, System.Int64 fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.IO.SearchOption` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SearchOption : int { AllDirectories = 1, TopDirectoryOnly = 0, } - // Generated from `System.IO.SeekOrigin` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SeekOrigin : int { Begin = 0, @@ -10220,7 +9777,6 @@ namespace System End = 2, } - // Generated from `System.IO.Stream` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Stream : System.MarshalByRefObject, System.IAsyncDisposable, System.IDisposable { public virtual System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; @@ -10277,7 +9833,6 @@ namespace System public virtual int WriteTimeout { get => throw null; set => throw null; } } - // Generated from `System.IO.StreamReader` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StreamReader : System.IO.TextReader { public virtual System.IO.Stream BaseStream { get => throw null; } @@ -10318,7 +9873,6 @@ namespace System public StreamReader(string path, bool detectEncodingFromByteOrderMarks) => throw null; } - // Generated from `System.IO.StreamWriter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StreamWriter : System.IO.TextWriter { public virtual bool AutoFlush { get => throw null; set => throw null; } @@ -10366,7 +9920,6 @@ namespace System public override System.Threading.Tasks.Task WriteLineAsync(string value) => throw null; } - // Generated from `System.IO.StringReader` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringReader : System.IO.TextReader { public override void Close() => throw null; @@ -10389,7 +9942,6 @@ namespace System public StringReader(string s) => throw null; } - // Generated from `System.IO.StringWriter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringWriter : System.IO.TextWriter { public override void Close() => throw null; @@ -10421,7 +9973,6 @@ namespace System public override System.Threading.Tasks.Task WriteLineAsync(string value) => throw null; } - // Generated from `System.IO.TextReader` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TextReader : System.MarshalByRefObject, System.IDisposable { public virtual void Close() => throw null; @@ -10448,7 +9999,6 @@ namespace System protected TextReader() => throw null; } - // Generated from `System.IO.TextWriter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TextWriter : System.MarshalByRefObject, System.IAsyncDisposable, System.IDisposable { public virtual void Close() => throw null; @@ -10519,7 +10069,6 @@ namespace System public virtual System.Threading.Tasks.Task WriteLineAsync(string value) => throw null; } - // Generated from `System.IO.UnixFileMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum UnixFileMode : int { @@ -10538,7 +10087,6 @@ namespace System UserWrite = 128, } - // Generated from `System.IO.UnmanagedMemoryStream` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnmanagedMemoryStream : System.IO.Stream { public override bool CanRead { get => throw null; } @@ -10574,7 +10122,6 @@ namespace System namespace Enumeration { - // Generated from `System.IO.Enumeration.FileSystemEntry` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct FileSystemEntry { public System.IO.FileAttributes Attributes { get => throw null; } @@ -10594,14 +10141,11 @@ namespace System public string ToSpecifiedFullPath() => throw null; } - // Generated from `System.IO.Enumeration.FileSystemEnumerable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FileSystemEnumerable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { - // Generated from `System.IO.Enumeration.FileSystemEnumerable<>+FindPredicate` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate bool FindPredicate(ref System.IO.Enumeration.FileSystemEntry entry); - // Generated from `System.IO.Enumeration.FileSystemEnumerable<>+FindTransform` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TResult FindTransform(ref System.IO.Enumeration.FileSystemEntry entry); @@ -10612,7 +10156,6 @@ namespace System public System.IO.Enumeration.FileSystemEnumerable.FindPredicate ShouldRecursePredicate { get => throw null; set => throw null; } } - // Generated from `System.IO.Enumeration.FileSystemEnumerator<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class FileSystemEnumerator : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { protected virtual bool ContinueOnError(int error) => throw null; @@ -10629,7 +10172,6 @@ namespace System protected abstract TResult TransformEntry(ref System.IO.Enumeration.FileSystemEntry entry); } - // Generated from `System.IO.Enumeration.FileSystemName` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class FileSystemName { public static bool MatchesSimpleExpression(System.ReadOnlySpan expression, System.ReadOnlySpan name, bool ignoreCase = default(bool)) => throw null; @@ -10641,7 +10183,6 @@ namespace System } namespace Net { - // Generated from `System.Net.WebUtility` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class WebUtility { public static string HtmlDecode(string value) => throw null; @@ -10657,7 +10198,6 @@ namespace System } namespace Numerics { - // Generated from `System.Numerics.BitOperations` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class BitOperations { public static bool IsPow2(System.IntPtr value) => throw null; @@ -10692,25 +10232,21 @@ namespace System public static int TrailingZeroCount(System.UInt64 value) => throw null; } - // Generated from `System.Numerics.IAdditionOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAdditionOperators where TSelf : System.Numerics.IAdditionOperators { static abstract TResult operator +(TSelf left, TOther right); static virtual TResult operator checked +(TSelf left, TOther right) => throw null; } - // Generated from `System.Numerics.IAdditiveIdentity<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAdditiveIdentity where TSelf : System.Numerics.IAdditiveIdentity { static abstract TResult AdditiveIdentity { get; } } - // Generated from `System.Numerics.IBinaryFloatingPointIeee754<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IBinaryFloatingPointIeee754 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryFloatingPointIeee754 { } - // Generated from `System.Numerics.IBinaryInteger<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IBinaryInteger : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryInteger { static virtual (TSelf, TSelf) DivRem(TSelf left, TSelf right) => throw null; @@ -10739,7 +10275,6 @@ namespace System int WriteLittleEndian(System.Span destination) => throw null; } - // Generated from `System.Numerics.IBinaryNumber<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IBinaryNumber : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryNumber { static virtual TSelf AllBitsSet { get => throw null; } @@ -10747,7 +10282,6 @@ namespace System static abstract TSelf Log2(TSelf value); } - // Generated from `System.Numerics.IBitwiseOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IBitwiseOperators where TSelf : System.Numerics.IBitwiseOperators { static abstract TResult operator &(TSelf left, TOther right); @@ -10756,7 +10290,6 @@ namespace System static abstract TResult operator ~(TSelf value); } - // Generated from `System.Numerics.IComparisonOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IComparisonOperators : System.Numerics.IEqualityOperators where TSelf : System.Numerics.IComparisonOperators { static abstract TResult operator <(TSelf left, TOther right); @@ -10765,28 +10298,24 @@ namespace System static abstract TResult operator >=(TSelf left, TOther right); } - // Generated from `System.Numerics.IDecrementOperators<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDecrementOperators where TSelf : System.Numerics.IDecrementOperators { static abstract TSelf operator --(TSelf value); static virtual TSelf operator checked --(TSelf value) => throw null; } - // Generated from `System.Numerics.IDivisionOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDivisionOperators where TSelf : System.Numerics.IDivisionOperators { static abstract TResult operator /(TSelf left, TOther right); static virtual TResult operator checked /(TSelf left, TOther right) => throw null; } - // Generated from `System.Numerics.IEqualityOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IEqualityOperators where TSelf : System.Numerics.IEqualityOperators { static abstract TResult operator !=(TSelf left, TOther right); static abstract TResult operator ==(TSelf left, TOther right); } - // Generated from `System.Numerics.IExponentialFunctions<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IExponentialFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IExponentialFunctions { static abstract TSelf Exp(TSelf x); @@ -10797,7 +10326,6 @@ namespace System static virtual TSelf ExpM1(TSelf x) => throw null; } - // Generated from `System.Numerics.IFloatingPoint<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFloatingPoint : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPoint { static virtual TSelf Ceiling(TSelf x) => throw null; @@ -10829,7 +10357,6 @@ namespace System int WriteSignificandLittleEndian(System.Span destination) => throw null; } - // Generated from `System.Numerics.IFloatingPointConstants<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFloatingPointConstants : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPointConstants { static abstract TSelf E { get; } @@ -10837,7 +10364,6 @@ namespace System static abstract TSelf Tau { get; } } - // Generated from `System.Numerics.IFloatingPointIeee754<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFloatingPointIeee754 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPointIeee754 { static abstract TSelf Atan2(TSelf y, TSelf x); @@ -10857,7 +10383,6 @@ namespace System static abstract TSelf ScaleB(TSelf x, int n); } - // Generated from `System.Numerics.IHyperbolicFunctions<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IHyperbolicFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IHyperbolicFunctions { static abstract TSelf Acosh(TSelf x); @@ -10868,14 +10393,12 @@ namespace System static abstract TSelf Tanh(TSelf x); } - // Generated from `System.Numerics.IIncrementOperators<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IIncrementOperators where TSelf : System.Numerics.IIncrementOperators { static abstract TSelf operator ++(TSelf value); static virtual TSelf operator checked ++(TSelf value) => throw null; } - // Generated from `System.Numerics.ILogarithmicFunctions<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ILogarithmicFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.ILogarithmicFunctions { static abstract TSelf Log(TSelf x); @@ -10887,33 +10410,28 @@ namespace System static virtual TSelf LogP1(TSelf x) => throw null; } - // Generated from `System.Numerics.IMinMaxValue<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IMinMaxValue where TSelf : System.Numerics.IMinMaxValue { static abstract TSelf MaxValue { get; } static abstract TSelf MinValue { get; } } - // Generated from `System.Numerics.IModulusOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IModulusOperators where TSelf : System.Numerics.IModulusOperators { static abstract TResult operator %(TSelf left, TOther right); } - // Generated from `System.Numerics.IMultiplicativeIdentity<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IMultiplicativeIdentity where TSelf : System.Numerics.IMultiplicativeIdentity { static abstract TResult MultiplicativeIdentity { get; } } - // Generated from `System.Numerics.IMultiplyOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IMultiplyOperators where TSelf : System.Numerics.IMultiplyOperators { static abstract TResult operator *(TSelf left, TOther right); static virtual TResult operator checked *(TSelf left, TOther right) => throw null; } - // Generated from `System.Numerics.INumber<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INumber : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.INumber { static virtual TSelf Clamp(TSelf value, TSelf min, TSelf max) => throw null; @@ -10925,7 +10443,6 @@ namespace System static virtual int Sign(TSelf value) => throw null; } - // Generated from `System.Numerics.INumberBase<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INumberBase : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.INumberBase { static abstract TSelf Abs(TSelf value); @@ -10968,13 +10485,11 @@ namespace System static abstract TSelf Zero { get; } } - // Generated from `System.Numerics.IPowerFunctions<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IPowerFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IPowerFunctions { static abstract TSelf Pow(TSelf x, TSelf y); } - // Generated from `System.Numerics.IRootFunctions<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IRootFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IRootFunctions { static abstract TSelf Cbrt(TSelf x); @@ -10983,7 +10498,6 @@ namespace System static abstract TSelf Sqrt(TSelf x); } - // Generated from `System.Numerics.IShiftOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IShiftOperators where TSelf : System.Numerics.IShiftOperators { static abstract TResult operator <<(TSelf value, TOther shiftAmount); @@ -10991,20 +10505,17 @@ namespace System static abstract TResult operator >>>(TSelf value, TOther shiftAmount); } - // Generated from `System.Numerics.ISignedNumber<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISignedNumber : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.ISignedNumber { static abstract TSelf NegativeOne { get; } } - // Generated from `System.Numerics.ISubtractionOperators<,,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISubtractionOperators where TSelf : System.Numerics.ISubtractionOperators { static abstract TResult operator -(TSelf left, TOther right); static virtual TResult operator checked -(TSelf left, TOther right) => throw null; } - // Generated from `System.Numerics.ITrigonometricFunctions<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITrigonometricFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.ITrigonometricFunctions { static abstract TSelf Acos(TSelf x); @@ -11023,20 +10534,17 @@ namespace System static abstract TSelf TanPi(TSelf x); } - // Generated from `System.Numerics.IUnaryNegationOperators<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IUnaryNegationOperators where TSelf : System.Numerics.IUnaryNegationOperators { static abstract TResult operator -(TSelf value); static virtual TResult operator checked -(TSelf value) => throw null; } - // Generated from `System.Numerics.IUnaryPlusOperators<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IUnaryPlusOperators where TSelf : System.Numerics.IUnaryPlusOperators { static abstract TResult operator +(TSelf value); } - // Generated from `System.Numerics.IUnsignedNumber<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IUnsignedNumber : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IUnsignedNumber { } @@ -11044,7 +10552,6 @@ namespace System } namespace Reflection { - // Generated from `System.Reflection.AmbiguousMatchException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AmbiguousMatchException : System.SystemException { public AmbiguousMatchException() => throw null; @@ -11052,7 +10559,6 @@ namespace System public AmbiguousMatchException(string message, System.Exception inner) => throw null; } - // Generated from `System.Reflection.Assembly` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Assembly : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.Reflection.Assembly left, System.Reflection.Assembly right) => throw null; @@ -11132,7 +10638,6 @@ namespace System public static System.Reflection.Assembly UnsafeLoadFrom(string assemblyFile) => throw null; } - // Generated from `System.Reflection.AssemblyAlgorithmIdAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyAlgorithmIdAttribute : System.Attribute { public System.UInt32 AlgorithmId { get => throw null; } @@ -11140,70 +10645,60 @@ namespace System public AssemblyAlgorithmIdAttribute(System.UInt32 algorithmId) => throw null; } - // Generated from `System.Reflection.AssemblyCompanyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyCompanyAttribute : System.Attribute { public AssemblyCompanyAttribute(string company) => throw null; public string Company { get => throw null; } } - // Generated from `System.Reflection.AssemblyConfigurationAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyConfigurationAttribute : System.Attribute { public AssemblyConfigurationAttribute(string configuration) => throw null; public string Configuration { get => throw null; } } - // Generated from `System.Reflection.AssemblyContentType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AssemblyContentType : int { Default = 0, WindowsRuntime = 1, } - // Generated from `System.Reflection.AssemblyCopyrightAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyCopyrightAttribute : System.Attribute { public AssemblyCopyrightAttribute(string copyright) => throw null; public string Copyright { get => throw null; } } - // Generated from `System.Reflection.AssemblyCultureAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyCultureAttribute : System.Attribute { public AssemblyCultureAttribute(string culture) => throw null; public string Culture { get => throw null; } } - // Generated from `System.Reflection.AssemblyDefaultAliasAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyDefaultAliasAttribute : System.Attribute { public AssemblyDefaultAliasAttribute(string defaultAlias) => throw null; public string DefaultAlias { get => throw null; } } - // Generated from `System.Reflection.AssemblyDelaySignAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyDelaySignAttribute : System.Attribute { public AssemblyDelaySignAttribute(bool delaySign) => throw null; public bool DelaySign { get => throw null; } } - // Generated from `System.Reflection.AssemblyDescriptionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyDescriptionAttribute : System.Attribute { public AssemblyDescriptionAttribute(string description) => throw null; public string Description { get => throw null; } } - // Generated from `System.Reflection.AssemblyFileVersionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyFileVersionAttribute : System.Attribute { public AssemblyFileVersionAttribute(string version) => throw null; public string Version { get => throw null; } } - // Generated from `System.Reflection.AssemblyFlagsAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyFlagsAttribute : System.Attribute { public int AssemblyFlags { get => throw null; } @@ -11213,28 +10708,24 @@ namespace System public System.UInt32 Flags { get => throw null; } } - // Generated from `System.Reflection.AssemblyInformationalVersionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyInformationalVersionAttribute : System.Attribute { public AssemblyInformationalVersionAttribute(string informationalVersion) => throw null; public string InformationalVersion { get => throw null; } } - // Generated from `System.Reflection.AssemblyKeyFileAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyKeyFileAttribute : System.Attribute { public AssemblyKeyFileAttribute(string keyFile) => throw null; public string KeyFile { get => throw null; } } - // Generated from `System.Reflection.AssemblyKeyNameAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyKeyNameAttribute : System.Attribute { public AssemblyKeyNameAttribute(string keyName) => throw null; public string KeyName { get => throw null; } } - // Generated from `System.Reflection.AssemblyMetadataAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyMetadataAttribute : System.Attribute { public AssemblyMetadataAttribute(string key, string value) => throw null; @@ -11242,7 +10733,6 @@ namespace System public string Value { get => throw null; } } - // Generated from `System.Reflection.AssemblyName` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyName : System.ICloneable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public AssemblyName() => throw null; @@ -11272,7 +10762,6 @@ namespace System public System.Configuration.Assemblies.AssemblyVersionCompatibility VersionCompatibility { get => throw null; set => throw null; } } - // Generated from `System.Reflection.AssemblyNameFlags` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AssemblyNameFlags : int { @@ -11283,21 +10772,18 @@ namespace System Retargetable = 256, } - // Generated from `System.Reflection.AssemblyNameProxy` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyNameProxy : System.MarshalByRefObject { public AssemblyNameProxy() => throw null; public System.Reflection.AssemblyName GetAssemblyName(string assemblyFile) => throw null; } - // Generated from `System.Reflection.AssemblyProductAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyProductAttribute : System.Attribute { public AssemblyProductAttribute(string product) => throw null; public string Product { get => throw null; } } - // Generated from `System.Reflection.AssemblySignatureKeyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblySignatureKeyAttribute : System.Attribute { public AssemblySignatureKeyAttribute(string publicKey, string countersignature) => throw null; @@ -11305,28 +10791,24 @@ namespace System public string PublicKey { get => throw null; } } - // Generated from `System.Reflection.AssemblyTitleAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyTitleAttribute : System.Attribute { public AssemblyTitleAttribute(string title) => throw null; public string Title { get => throw null; } } - // Generated from `System.Reflection.AssemblyTrademarkAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyTrademarkAttribute : System.Attribute { public AssemblyTrademarkAttribute(string trademark) => throw null; public string Trademark { get => throw null; } } - // Generated from `System.Reflection.AssemblyVersionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyVersionAttribute : System.Attribute { public AssemblyVersionAttribute(string version) => throw null; public string Version { get => throw null; } } - // Generated from `System.Reflection.Binder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Binder { public abstract System.Reflection.FieldInfo BindToField(System.Reflection.BindingFlags bindingAttr, System.Reflection.FieldInfo[] match, object value, System.Globalization.CultureInfo culture); @@ -11338,7 +10820,6 @@ namespace System public abstract System.Reflection.PropertyInfo SelectProperty(System.Reflection.BindingFlags bindingAttr, System.Reflection.PropertyInfo[] match, System.Type returnType, System.Type[] indexes, System.Reflection.ParameterModifier[] modifiers); } - // Generated from `System.Reflection.BindingFlags` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum BindingFlags : int { @@ -11365,7 +10846,6 @@ namespace System SuppressChangeType = 131072, } - // Generated from `System.Reflection.CallingConventions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CallingConventions : int { @@ -11376,7 +10856,6 @@ namespace System VarArgs = 2, } - // Generated from `System.Reflection.ConstructorInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ConstructorInfo : System.Reflection.MethodBase { public static bool operator !=(System.Reflection.ConstructorInfo left, System.Reflection.ConstructorInfo right) => throw null; @@ -11391,7 +10870,6 @@ namespace System public static string TypeConstructorName; } - // Generated from `System.Reflection.CustomAttributeData` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CustomAttributeData { public virtual System.Type AttributeType { get => throw null; } @@ -11408,7 +10886,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.CustomAttributeExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CustomAttributeExtensions { public static System.Attribute GetCustomAttribute(this System.Reflection.Assembly element, System.Type attributeType) => throw null; @@ -11449,7 +10926,6 @@ namespace System public static bool IsDefined(this System.Reflection.ParameterInfo element, System.Type attributeType, bool inherit) => throw null; } - // Generated from `System.Reflection.CustomAttributeFormatException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CustomAttributeFormatException : System.FormatException { public CustomAttributeFormatException() => throw null; @@ -11458,7 +10934,6 @@ namespace System public CustomAttributeFormatException(string message, System.Exception inner) => throw null; } - // Generated from `System.Reflection.CustomAttributeNamedArgument` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeNamedArgument : System.IEquatable { public static bool operator !=(System.Reflection.CustomAttributeNamedArgument left, System.Reflection.CustomAttributeNamedArgument right) => throw null; @@ -11476,7 +10951,6 @@ namespace System public System.Reflection.CustomAttributeTypedArgument TypedValue { get => throw null; } } - // Generated from `System.Reflection.CustomAttributeTypedArgument` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CustomAttributeTypedArgument : System.IEquatable { public static bool operator !=(System.Reflection.CustomAttributeTypedArgument left, System.Reflection.CustomAttributeTypedArgument right) => throw null; @@ -11492,14 +10966,12 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.Reflection.DefaultMemberAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultMemberAttribute : System.Attribute { public DefaultMemberAttribute(string memberName) => throw null; public string MemberName { get => throw null; } } - // Generated from `System.Reflection.EventAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum EventAttributes : int { @@ -11509,7 +10981,6 @@ namespace System SpecialName = 512, } - // Generated from `System.Reflection.EventInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EventInfo : System.Reflection.MemberInfo { public static bool operator !=(System.Reflection.EventInfo left, System.Reflection.EventInfo right) => throw null; @@ -11537,7 +11008,6 @@ namespace System public virtual System.Reflection.MethodInfo RemoveMethod { get => throw null; } } - // Generated from `System.Reflection.ExceptionHandlingClause` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExceptionHandlingClause { public virtual System.Type CatchType { get => throw null; } @@ -11551,7 +11021,6 @@ namespace System public virtual int TryOffset { get => throw null; } } - // Generated from `System.Reflection.ExceptionHandlingClauseOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ExceptionHandlingClauseOptions : int { @@ -11561,7 +11030,6 @@ namespace System Finally = 2, } - // Generated from `System.Reflection.FieldAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum FieldAttributes : int { @@ -11586,7 +11054,6 @@ namespace System Static = 16, } - // Generated from `System.Reflection.FieldInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class FieldInfo : System.Reflection.MemberInfo { public static bool operator !=(System.Reflection.FieldInfo left, System.Reflection.FieldInfo right) => throw null; @@ -11625,7 +11092,6 @@ namespace System public virtual void SetValueDirect(System.TypedReference obj, object value) => throw null; } - // Generated from `System.Reflection.GenericParameterAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum GenericParameterAttributes : int { @@ -11639,7 +11105,6 @@ namespace System VarianceMask = 3, } - // Generated from `System.Reflection.ICustomAttributeProvider` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICustomAttributeProvider { object[] GetCustomAttributes(System.Type attributeType, bool inherit); @@ -11647,7 +11112,6 @@ namespace System bool IsDefined(System.Type attributeType, bool inherit); } - // Generated from `System.Reflection.IReflect` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReflect { System.Reflection.FieldInfo GetField(string name, System.Reflection.BindingFlags bindingAttr); @@ -11664,13 +11128,11 @@ namespace System System.Type UnderlyingSystemType { get; } } - // Generated from `System.Reflection.IReflectableType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReflectableType { System.Reflection.TypeInfo GetTypeInfo(); } - // Generated from `System.Reflection.ImageFileMachine` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ImageFileMachine : int { AMD64 = 34404, @@ -11679,7 +11141,6 @@ namespace System IA64 = 512, } - // Generated from `System.Reflection.InterfaceMapping` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct InterfaceMapping { // Stub generator skipped constructor @@ -11689,13 +11150,11 @@ namespace System public System.Type TargetType; } - // Generated from `System.Reflection.IntrospectionExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IntrospectionExtensions { public static System.Reflection.TypeInfo GetTypeInfo(this System.Type type) => throw null; } - // Generated from `System.Reflection.InvalidFilterCriteriaException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InvalidFilterCriteriaException : System.ApplicationException { public InvalidFilterCriteriaException() => throw null; @@ -11704,7 +11163,6 @@ namespace System public InvalidFilterCriteriaException(string message, System.Exception inner) => throw null; } - // Generated from `System.Reflection.LocalVariableInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LocalVariableInfo { public virtual bool IsPinned { get => throw null; } @@ -11714,7 +11172,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.ManifestResourceInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ManifestResourceInfo { public virtual string FileName { get => throw null; } @@ -11723,10 +11180,8 @@ namespace System public virtual System.Reflection.ResourceLocation ResourceLocation { get => throw null; } } - // Generated from `System.Reflection.MemberFilter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate bool MemberFilter(System.Reflection.MemberInfo m, object filterCriteria); - // Generated from `System.Reflection.MemberInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MemberInfo : System.Reflection.ICustomAttributeProvider { public static bool operator !=(System.Reflection.MemberInfo left, System.Reflection.MemberInfo right) => throw null; @@ -11749,7 +11204,6 @@ namespace System public abstract System.Type ReflectedType { get; } } - // Generated from `System.Reflection.MemberTypes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MemberTypes : int { @@ -11764,7 +11218,6 @@ namespace System TypeInfo = 32, } - // Generated from `System.Reflection.MethodAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MethodAttributes : int { @@ -11794,7 +11247,6 @@ namespace System VtableLayoutMask = 256, } - // Generated from `System.Reflection.MethodBase` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MethodBase : System.Reflection.MemberInfo { public static bool operator !=(System.Reflection.MethodBase left, System.Reflection.MethodBase right) => throw null; @@ -11837,7 +11289,6 @@ namespace System public virtual System.Reflection.MethodImplAttributes MethodImplementationFlags { get => throw null; } } - // Generated from `System.Reflection.MethodBody` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MethodBody { public virtual System.Collections.Generic.IList ExceptionHandlingClauses { get => throw null; } @@ -11849,7 +11300,6 @@ namespace System protected MethodBody() => throw null; } - // Generated from `System.Reflection.MethodImplAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MethodImplAttributes : int { AggressiveInlining = 256, @@ -11871,7 +11321,6 @@ namespace System Unmanaged = 4, } - // Generated from `System.Reflection.MethodInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MethodInfo : System.Reflection.MethodBase { public static bool operator !=(System.Reflection.MethodInfo left, System.Reflection.MethodInfo right) => throw null; @@ -11893,14 +11342,12 @@ namespace System public abstract System.Reflection.ICustomAttributeProvider ReturnTypeCustomAttributes { get; } } - // Generated from `System.Reflection.Missing` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Missing : System.Runtime.Serialization.ISerializable { void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; public static System.Reflection.Missing Value; } - // Generated from `System.Reflection.Module` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Module : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.Reflection.Module left, System.Reflection.Module right) => throw null; @@ -11954,10 +11401,8 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.ModuleResolveEventHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate System.Reflection.Module ModuleResolveEventHandler(object sender, System.ResolveEventArgs e); - // Generated from `System.Reflection.NullabilityInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NullabilityInfo { public System.Reflection.NullabilityInfo ElementType { get => throw null; } @@ -11967,7 +11412,6 @@ namespace System public System.Reflection.NullabilityState WriteState { get => throw null; } } - // Generated from `System.Reflection.NullabilityInfoContext` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NullabilityInfoContext { public System.Reflection.NullabilityInfo Create(System.Reflection.EventInfo eventInfo) => throw null; @@ -11977,7 +11421,6 @@ namespace System public NullabilityInfoContext() => throw null; } - // Generated from `System.Reflection.NullabilityState` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NullabilityState : int { NotNull = 1, @@ -11985,7 +11428,6 @@ namespace System Unknown = 0, } - // Generated from `System.Reflection.ObfuscateAssemblyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObfuscateAssemblyAttribute : System.Attribute { public bool AssemblyIsPrivate { get => throw null; } @@ -11993,7 +11435,6 @@ namespace System public bool StripAfterObfuscation { get => throw null; set => throw null; } } - // Generated from `System.Reflection.ObfuscationAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObfuscationAttribute : System.Attribute { public bool ApplyToMembers { get => throw null; set => throw null; } @@ -12003,7 +11444,6 @@ namespace System public bool StripAfterObfuscation { get => throw null; set => throw null; } } - // Generated from `System.Reflection.ParameterAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ParameterAttributes : int { @@ -12020,7 +11460,6 @@ namespace System Retval = 8, } - // Generated from `System.Reflection.ParameterInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParameterInfo : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.IObjectReference { public virtual System.Reflection.ParameterAttributes Attributes { get => throw null; } @@ -12055,7 +11494,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Reflection.ParameterModifier` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ParameterModifier { public bool this[int index] { get => throw null; set => throw null; } @@ -12063,7 +11501,6 @@ namespace System public ParameterModifier(int parameterCount) => throw null; } - // Generated from `System.Reflection.Pointer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Pointer : System.Runtime.Serialization.ISerializable { unsafe public static object Box(void* ptr, System.Type type) => throw null; @@ -12073,7 +11510,6 @@ namespace System unsafe public static void* Unbox(object ptr) => throw null; } - // Generated from `System.Reflection.PortableExecutableKinds` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PortableExecutableKinds : int { @@ -12085,7 +11521,6 @@ namespace System Unmanaged32Bit = 8, } - // Generated from `System.Reflection.ProcessorArchitecture` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ProcessorArchitecture : int { Amd64 = 4, @@ -12096,7 +11531,6 @@ namespace System X86 = 2, } - // Generated from `System.Reflection.PropertyAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PropertyAttributes : int { @@ -12110,7 +11544,6 @@ namespace System SpecialName = 512, } - // Generated from `System.Reflection.PropertyInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class PropertyInfo : System.Reflection.MemberInfo { public static bool operator !=(System.Reflection.PropertyInfo left, System.Reflection.PropertyInfo right) => throw null; @@ -12145,7 +11578,6 @@ namespace System public virtual void SetValue(object obj, object value, object[] index) => throw null; } - // Generated from `System.Reflection.ReflectionContext` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ReflectionContext { public virtual System.Reflection.TypeInfo GetTypeForObject(object value) => throw null; @@ -12154,7 +11586,6 @@ namespace System protected ReflectionContext() => throw null; } - // Generated from `System.Reflection.ReflectionTypeLoadException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReflectionTypeLoadException : System.SystemException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -12166,7 +11597,6 @@ namespace System public System.Type[] Types { get => throw null; } } - // Generated from `System.Reflection.ResourceAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ResourceAttributes : int { @@ -12174,7 +11604,6 @@ namespace System Public = 1, } - // Generated from `System.Reflection.ResourceLocation` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ResourceLocation : int { @@ -12183,7 +11612,6 @@ namespace System Embedded = 1, } - // Generated from `System.Reflection.RuntimeReflectionExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class RuntimeReflectionExtensions { public static System.Reflection.MethodInfo GetMethodInfo(this System.Delegate del) => throw null; @@ -12199,7 +11627,6 @@ namespace System public static System.Reflection.PropertyInfo GetRuntimeProperty(this System.Type type, string name) => throw null; } - // Generated from `System.Reflection.StrongNameKeyPair` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StrongNameKeyPair : System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -12211,7 +11638,6 @@ namespace System public StrongNameKeyPair(string keyPairContainer) => throw null; } - // Generated from `System.Reflection.TargetException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TargetException : System.ApplicationException { public TargetException() => throw null; @@ -12220,14 +11646,12 @@ namespace System public TargetException(string message, System.Exception inner) => throw null; } - // Generated from `System.Reflection.TargetInvocationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TargetInvocationException : System.ApplicationException { public TargetInvocationException(System.Exception inner) => throw null; public TargetInvocationException(string message, System.Exception inner) => throw null; } - // Generated from `System.Reflection.TargetParameterCountException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TargetParameterCountException : System.ApplicationException { public TargetParameterCountException() => throw null; @@ -12235,7 +11659,6 @@ namespace System public TargetParameterCountException(string message, System.Exception inner) => throw null; } - // Generated from `System.Reflection.TypeAttributes` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TypeAttributes : int { @@ -12273,7 +11696,6 @@ namespace System WindowsRuntime = 16384, } - // Generated from `System.Reflection.TypeDelegator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeDelegator : System.Reflection.TypeInfo { public override System.Reflection.Assembly Assembly { get => throw null; } @@ -12333,10 +11755,8 @@ namespace System protected System.Type typeImpl; } - // Generated from `System.Reflection.TypeFilter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate bool TypeFilter(System.Type m, object filterCriteria); - // Generated from `System.Reflection.TypeInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TypeInfo : System.Type, System.Reflection.IReflectableType { public virtual System.Type AsType() => throw null; @@ -12363,14 +11783,12 @@ namespace System } namespace Resources { - // Generated from `System.Resources.IResourceReader` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IResourceReader : System.Collections.IEnumerable, System.IDisposable { void Close(); System.Collections.IDictionaryEnumerator GetEnumerator(); } - // Generated from `System.Resources.MissingManifestResourceException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MissingManifestResourceException : System.SystemException { public MissingManifestResourceException() => throw null; @@ -12379,7 +11797,6 @@ namespace System public MissingManifestResourceException(string message, System.Exception inner) => throw null; } - // Generated from `System.Resources.MissingSatelliteAssemblyException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MissingSatelliteAssemblyException : System.SystemException { public string CultureName { get => throw null; } @@ -12390,7 +11807,6 @@ namespace System public MissingSatelliteAssemblyException(string message, string cultureName) => throw null; } - // Generated from `System.Resources.NeutralResourcesLanguageAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NeutralResourcesLanguageAttribute : System.Attribute { public string CultureName { get => throw null; } @@ -12399,7 +11815,6 @@ namespace System public NeutralResourcesLanguageAttribute(string cultureName, System.Resources.UltimateResourceFallbackLocation location) => throw null; } - // Generated from `System.Resources.ResourceManager` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResourceManager { public virtual string BaseName { get => throw null; } @@ -12428,7 +11843,6 @@ namespace System public virtual System.Type ResourceSetType { get => throw null; } } - // Generated from `System.Resources.ResourceReader` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResourceReader : System.Collections.IEnumerable, System.IDisposable, System.Resources.IResourceReader { public void Close() => throw null; @@ -12440,7 +11854,6 @@ namespace System public ResourceReader(string fileName) => throw null; } - // Generated from `System.Resources.ResourceSet` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResourceSet : System.Collections.IEnumerable, System.IDisposable { public virtual void Close() => throw null; @@ -12461,14 +11874,12 @@ namespace System public ResourceSet(string fileName) => throw null; } - // Generated from `System.Resources.SatelliteContractVersionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SatelliteContractVersionAttribute : System.Attribute { public SatelliteContractVersionAttribute(string version) => throw null; public string Version { get => throw null; } } - // Generated from `System.Resources.UltimateResourceFallbackLocation` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UltimateResourceFallbackLocation : int { MainAssembly = 0, @@ -12478,7 +11889,6 @@ namespace System } namespace Runtime { - // Generated from `System.Runtime.AmbiguousImplementationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AmbiguousImplementationException : System.Exception { public AmbiguousImplementationException() => throw null; @@ -12486,20 +11896,17 @@ namespace System public AmbiguousImplementationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Runtime.AssemblyTargetedPatchBandAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AssemblyTargetedPatchBandAttribute : System.Attribute { public AssemblyTargetedPatchBandAttribute(string targetedPatchBand) => throw null; public string TargetedPatchBand { get => throw null; } } - // Generated from `System.Runtime.ControlledExecution` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ControlledExecution { public static void Run(System.Action action, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Runtime.DependentHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DependentHandle : System.IDisposable { public object Dependent { get => throw null; set => throw null; } @@ -12511,14 +11918,12 @@ namespace System public (object, object) TargetAndDependent { get => throw null; } } - // Generated from `System.Runtime.GCLargeObjectHeapCompactionMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GCLargeObjectHeapCompactionMode : int { CompactOnce = 2, Default = 1, } - // Generated from `System.Runtime.GCLatencyMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GCLatencyMode : int { Batch = 0, @@ -12528,7 +11933,6 @@ namespace System SustainedLowLatency = 3, } - // Generated from `System.Runtime.GCSettings` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class GCSettings { public static bool IsServerGC { get => throw null; } @@ -12536,7 +11940,6 @@ namespace System public static System.Runtime.GCLatencyMode LatencyMode { get => throw null; set => throw null; } } - // Generated from `System.Runtime.JitInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class JitInfo { public static System.TimeSpan GetCompilationTime(bool currentThread = default(bool)) => throw null; @@ -12544,7 +11947,6 @@ namespace System public static System.Int64 GetCompiledMethodCount(bool currentThread = default(bool)) => throw null; } - // Generated from `System.Runtime.MemoryFailPoint` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MemoryFailPoint : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.IDisposable { public void Dispose() => throw null; @@ -12552,14 +11954,12 @@ namespace System // ERR: Stub generator didn't handle member: ~MemoryFailPoint } - // Generated from `System.Runtime.ProfileOptimization` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ProfileOptimization { public static void SetProfileRoot(string directoryPath) => throw null; public static void StartProfile(string profile) => throw null; } - // Generated from `System.Runtime.TargetedPatchingOptOutAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TargetedPatchingOptOutAttribute : System.Attribute { public string Reason { get => throw null; } @@ -12568,14 +11968,12 @@ namespace System namespace CompilerServices { - // Generated from `System.Runtime.CompilerServices.AccessedThroughPropertyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AccessedThroughPropertyAttribute : System.Attribute { public AccessedThroughPropertyAttribute(string propertyName) => throw null; public string PropertyName { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.AsyncIteratorMethodBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncIteratorMethodBuilder { // Stub generator skipped constructor @@ -12586,26 +11984,22 @@ namespace System public void MoveNext(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine => throw null; } - // Generated from `System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsyncIteratorStateMachineAttribute : System.Runtime.CompilerServices.StateMachineAttribute { public AsyncIteratorStateMachineAttribute(System.Type stateMachineType) : base(default(System.Type)) => throw null; } - // Generated from `System.Runtime.CompilerServices.AsyncMethodBuilderAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsyncMethodBuilderAttribute : System.Attribute { public AsyncMethodBuilderAttribute(System.Type builderType) => throw null; public System.Type BuilderType { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.AsyncStateMachineAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsyncStateMachineAttribute : System.Runtime.CompilerServices.StateMachineAttribute { public AsyncStateMachineAttribute(System.Type stateMachineType) : base(default(System.Type)) => throw null; } - // Generated from `System.Runtime.CompilerServices.AsyncTaskMethodBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncTaskMethodBuilder { // Stub generator skipped constructor @@ -12619,7 +12013,6 @@ namespace System public System.Threading.Tasks.Task Task { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.AsyncTaskMethodBuilder<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncTaskMethodBuilder { // Stub generator skipped constructor @@ -12633,7 +12026,6 @@ namespace System public System.Threading.Tasks.Task Task { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncValueTaskMethodBuilder { // Stub generator skipped constructor @@ -12647,7 +12039,6 @@ namespace System public System.Threading.Tasks.ValueTask Task { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncValueTaskMethodBuilder { // Stub generator skipped constructor @@ -12661,7 +12052,6 @@ namespace System public System.Threading.Tasks.ValueTask Task { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.AsyncVoidMethodBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncVoidMethodBuilder { // Stub generator skipped constructor @@ -12674,75 +12064,63 @@ namespace System public void Start(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine => throw null; } - // Generated from `System.Runtime.CompilerServices.CallConvCdecl` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallConvCdecl { public CallConvCdecl() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallConvFastcall` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallConvFastcall { public CallConvFastcall() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallConvMemberFunction` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallConvMemberFunction { public CallConvMemberFunction() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallConvStdcall` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallConvStdcall { public CallConvStdcall() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallConvSuppressGCTransition` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallConvSuppressGCTransition { public CallConvSuppressGCTransition() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallConvThiscall` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallConvThiscall { public CallConvThiscall() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallerArgumentExpressionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallerArgumentExpressionAttribute : System.Attribute { public CallerArgumentExpressionAttribute(string parameterName) => throw null; public string ParameterName { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.CallerFilePathAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallerFilePathAttribute : System.Attribute { public CallerFilePathAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallerLineNumberAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallerLineNumberAttribute : System.Attribute { public CallerLineNumberAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.CallerMemberNameAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CallerMemberNameAttribute : System.Attribute { public CallerMemberNameAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.CompilationRelaxations` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CompilationRelaxations : int { NoStringInterning = 8, } - // Generated from `System.Runtime.CompilerServices.CompilationRelaxationsAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompilationRelaxationsAttribute : System.Attribute { public int CompilationRelaxations { get => throw null; } @@ -12750,7 +12128,6 @@ namespace System public CompilationRelaxationsAttribute(int relaxations) => throw null; } - // Generated from `System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompilerFeatureRequiredAttribute : System.Attribute { public CompilerFeatureRequiredAttribute(string featureName) => throw null; @@ -12760,22 +12137,18 @@ namespace System public const string RequiredMembers = default; } - // Generated from `System.Runtime.CompilerServices.CompilerGeneratedAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompilerGeneratedAttribute : System.Attribute { public CompilerGeneratedAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.CompilerGlobalScopeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompilerGlobalScopeAttribute : System.Attribute { public CompilerGlobalScopeAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.ConditionalWeakTable<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConditionalWeakTable : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable where TKey : class where TValue : class { - // Generated from `System.Runtime.CompilerServices.ConditionalWeakTable<,>+CreateValueCallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate TValue CreateValueCallback(TKey key); @@ -12792,17 +12165,14 @@ namespace System public bool TryGetValue(TKey key, out TValue value) => throw null; } - // Generated from `System.Runtime.CompilerServices.ConfiguredAsyncDisposable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredAsyncDisposable { // Stub generator skipped constructor public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable DisposeAsync() => throw null; } - // Generated from `System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredCancelableAsyncEnumerable { - // Generated from `System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<>+Enumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Enumerator { public T Current { get => throw null; } @@ -12818,10 +12188,8 @@ namespace System public System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable WithCancellation(System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Runtime.CompilerServices.ConfiguredTaskAwaitable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredTaskAwaitable { - // Generated from `System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { // Stub generator skipped constructor @@ -12836,10 +12204,8 @@ namespace System public System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter() => throw null; } - // Generated from `System.Runtime.CompilerServices.ConfiguredTaskAwaitable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredTaskAwaitable { - // Generated from `System.Runtime.CompilerServices.ConfiguredTaskAwaitable<>+ConfiguredTaskAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { // Stub generator skipped constructor @@ -12854,10 +12220,8 @@ namespace System public System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter() => throw null; } - // Generated from `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredValueTaskAwaitable { - // Generated from `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable+ConfiguredValueTaskAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { // Stub generator skipped constructor @@ -12872,10 +12236,8 @@ namespace System public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter GetAwaiter() => throw null; } - // Generated from `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredValueTaskAwaitable { - // Generated from `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<>+ConfiguredValueTaskAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ConfiguredValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { // Stub generator skipped constructor @@ -12890,21 +12252,18 @@ namespace System public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter GetAwaiter() => throw null; } - // Generated from `System.Runtime.CompilerServices.CustomConstantAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CustomConstantAttribute : System.Attribute { protected CustomConstantAttribute() => throw null; public abstract object Value { get; } } - // Generated from `System.Runtime.CompilerServices.DateTimeConstantAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DateTimeConstantAttribute : System.Runtime.CompilerServices.CustomConstantAttribute { public DateTimeConstantAttribute(System.Int64 ticks) => throw null; public override object Value { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.DecimalConstantAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecimalConstantAttribute : System.Attribute { public DecimalConstantAttribute(System.Byte scale, System.Byte sign, int hi, int mid, int low) => throw null; @@ -12912,14 +12271,12 @@ namespace System public System.Decimal Value { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.DefaultDependencyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DefaultDependencyAttribute : System.Attribute { public DefaultDependencyAttribute(System.Runtime.CompilerServices.LoadHint loadHintArgument) => throw null; public System.Runtime.CompilerServices.LoadHint LoadHint { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.DefaultInterpolatedStringHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DefaultInterpolatedStringHandler { public void AppendFormatted(System.ReadOnlySpan value) => throw null; @@ -12940,7 +12297,6 @@ namespace System public string ToStringAndClear() => throw null; } - // Generated from `System.Runtime.CompilerServices.DependencyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DependencyAttribute : System.Attribute { public DependencyAttribute(string dependentAssemblyArgument, System.Runtime.CompilerServices.LoadHint loadHintArgument) => throw null; @@ -12948,43 +12304,36 @@ namespace System public System.Runtime.CompilerServices.LoadHint LoadHint { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.DisablePrivateReflectionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DisablePrivateReflectionAttribute : System.Attribute { public DisablePrivateReflectionAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DisableRuntimeMarshallingAttribute : System.Attribute { public DisableRuntimeMarshallingAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.DiscardableAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DiscardableAttribute : System.Attribute { public DiscardableAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.EnumeratorCancellationAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EnumeratorCancellationAttribute : System.Attribute { public EnumeratorCancellationAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.ExtensionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExtensionAttribute : System.Attribute { public ExtensionAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.FixedAddressValueTypeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FixedAddressValueTypeAttribute : System.Attribute { public FixedAddressValueTypeAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.FixedBufferAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FixedBufferAttribute : System.Attribute { public System.Type ElementType { get => throw null; } @@ -12992,51 +12341,43 @@ namespace System public int Length { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.FormattableStringFactory` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class FormattableStringFactory { public static System.FormattableString Create(string format, params object[] arguments) => throw null; } - // Generated from `System.Runtime.CompilerServices.IAsyncStateMachine` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IAsyncStateMachine { void MoveNext(); void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine); } - // Generated from `System.Runtime.CompilerServices.ICriticalNotifyCompletion` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICriticalNotifyCompletion : System.Runtime.CompilerServices.INotifyCompletion { void UnsafeOnCompleted(System.Action continuation); } - // Generated from `System.Runtime.CompilerServices.INotifyCompletion` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface INotifyCompletion { void OnCompleted(System.Action continuation); } - // Generated from `System.Runtime.CompilerServices.IStrongBox` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IStrongBox { object Value { get; set; } } - // Generated from `System.Runtime.CompilerServices.ITuple` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITuple { object this[int index] { get; } int Length { get; } } - // Generated from `System.Runtime.CompilerServices.IndexerNameAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IndexerNameAttribute : System.Attribute { public IndexerNameAttribute(string indexerName) => throw null; } - // Generated from `System.Runtime.CompilerServices.InternalsVisibleToAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InternalsVisibleToAttribute : System.Attribute { public bool AllInternalsVisible { get => throw null; set => throw null; } @@ -13044,7 +12385,6 @@ namespace System public InternalsVisibleToAttribute(string assemblyName) => throw null; } - // Generated from `System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InterpolatedStringHandlerArgumentAttribute : System.Attribute { public string[] Arguments { get => throw null; } @@ -13052,46 +12392,38 @@ namespace System public InterpolatedStringHandlerArgumentAttribute(string argument) => throw null; } - // Generated from `System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InterpolatedStringHandlerAttribute : System.Attribute { public InterpolatedStringHandlerAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.IsByRefLikeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IsByRefLikeAttribute : System.Attribute { public IsByRefLikeAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.IsConst` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsConst { } - // Generated from `System.Runtime.CompilerServices.IsExternalInit` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsExternalInit { } - // Generated from `System.Runtime.CompilerServices.IsReadOnlyAttribute` in `Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed; System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public partial class IsReadOnlyAttribute : System.Attribute { public IsReadOnlyAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.IsVolatile` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class IsVolatile { } - // Generated from `System.Runtime.CompilerServices.IteratorStateMachineAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IteratorStateMachineAttribute : System.Runtime.CompilerServices.StateMachineAttribute { public IteratorStateMachineAttribute(System.Type stateMachineType) : base(default(System.Type)) => throw null; } - // Generated from `System.Runtime.CompilerServices.LoadHint` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LoadHint : int { Always = 1, @@ -13099,7 +12431,6 @@ namespace System Sometimes = 2, } - // Generated from `System.Runtime.CompilerServices.MethodCodeType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MethodCodeType : int { IL = 0, @@ -13108,7 +12439,6 @@ namespace System Runtime = 3, } - // Generated from `System.Runtime.CompilerServices.MethodImplAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MethodImplAttribute : System.Attribute { public System.Runtime.CompilerServices.MethodCodeType MethodCodeType; @@ -13118,7 +12448,6 @@ namespace System public System.Runtime.CompilerServices.MethodImplOptions Value { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.MethodImplOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum MethodImplOptions : int { @@ -13133,13 +12462,11 @@ namespace System Unmanaged = 4, } - // Generated from `System.Runtime.CompilerServices.ModuleInitializerAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ModuleInitializerAttribute : System.Attribute { public ModuleInitializerAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PoolingAsyncValueTaskMethodBuilder { public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine => throw null; @@ -13153,7 +12480,6 @@ namespace System public System.Threading.Tasks.ValueTask Task { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PoolingAsyncValueTaskMethodBuilder { public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine => throw null; @@ -13167,13 +12493,11 @@ namespace System public System.Threading.Tasks.ValueTask Task { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.PreserveBaseOverridesAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PreserveBaseOverridesAttribute : System.Attribute { public PreserveBaseOverridesAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.ReferenceAssemblyAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReferenceAssemblyAttribute : System.Attribute { public string Description { get => throw null; } @@ -13181,20 +12505,17 @@ namespace System public ReferenceAssemblyAttribute(string description) => throw null; } - // Generated from `System.Runtime.CompilerServices.RequiredMemberAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RequiredMemberAttribute : System.Attribute { public RequiredMemberAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.RuntimeCompatibilityAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RuntimeCompatibilityAttribute : System.Attribute { public RuntimeCompatibilityAttribute() => throw null; public bool WrapNonExceptionThrows { get => throw null; set => throw null; } } - // Generated from `System.Runtime.CompilerServices.RuntimeFeature` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class RuntimeFeature { public const string ByRefFields = default; @@ -13209,14 +12530,11 @@ namespace System public const string VirtualStaticsInInterfaces = default; } - // Generated from `System.Runtime.CompilerServices.RuntimeHelpers` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class RuntimeHelpers { - // Generated from `System.Runtime.CompilerServices.RuntimeHelpers+CleanupCode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void CleanupCode(object userData, bool exceptionThrown); - // Generated from `System.Runtime.CompilerServices.RuntimeHelpers+TryCode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void TryCode(object userData); @@ -13244,7 +12562,6 @@ namespace System public static bool TryEnsureSufficientExecutionStack() => throw null; } - // Generated from `System.Runtime.CompilerServices.RuntimeWrappedException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RuntimeWrappedException : System.Exception { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -13252,32 +12569,27 @@ namespace System public object WrappedException { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.SkipLocalsInitAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SkipLocalsInitAttribute : System.Attribute { public SkipLocalsInitAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.SpecialNameAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SpecialNameAttribute : System.Attribute { public SpecialNameAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.StateMachineAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StateMachineAttribute : System.Attribute { public StateMachineAttribute(System.Type stateMachineType) => throw null; public System.Type StateMachineType { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.StringFreezingAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringFreezingAttribute : System.Attribute { public StringFreezingAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.StrongBox<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StrongBox : System.Runtime.CompilerServices.IStrongBox { public StrongBox() => throw null; @@ -13286,13 +12598,11 @@ namespace System object System.Runtime.CompilerServices.IStrongBox.Value { get => throw null; set => throw null; } } - // Generated from `System.Runtime.CompilerServices.SuppressIldasmAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SuppressIldasmAttribute : System.Attribute { public SuppressIldasmAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.SwitchExpressionException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SwitchExpressionException : System.InvalidOperationException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -13305,7 +12615,6 @@ namespace System public object UnmatchedValue { get => throw null; } } - // Generated from `System.Runtime.CompilerServices.TaskAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { public void GetResult() => throw null; @@ -13315,7 +12624,6 @@ namespace System public void UnsafeOnCompleted(System.Action continuation) => throw null; } - // Generated from `System.Runtime.CompilerServices.TaskAwaiter<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct TaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { public TResult GetResult() => throw null; @@ -13325,28 +12633,24 @@ namespace System public void UnsafeOnCompleted(System.Action continuation) => throw null; } - // Generated from `System.Runtime.CompilerServices.TupleElementNamesAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TupleElementNamesAttribute : System.Attribute { public System.Collections.Generic.IList TransformNames { get => throw null; } public TupleElementNamesAttribute(string[] transformNames) => throw null; } - // Generated from `System.Runtime.CompilerServices.TypeForwardedFromAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeForwardedFromAttribute : System.Attribute { public string AssemblyFullName { get => throw null; } public TypeForwardedFromAttribute(string assemblyFullName) => throw null; } - // Generated from `System.Runtime.CompilerServices.TypeForwardedToAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TypeForwardedToAttribute : System.Attribute { public System.Type Destination { get => throw null; } public TypeForwardedToAttribute(System.Type destination) => throw null; } - // Generated from `System.Runtime.CompilerServices.Unsafe` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Unsafe { unsafe public static void* Add(void* source, int elementOffset) => throw null; @@ -13393,13 +12697,11 @@ namespace System public static void WriteUnaligned(ref System.Byte destination, T value) => throw null; } - // Generated from `System.Runtime.CompilerServices.UnsafeValueTypeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnsafeValueTypeAttribute : System.Attribute { public UnsafeValueTypeAttribute() => throw null; } - // Generated from `System.Runtime.CompilerServices.ValueTaskAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { public void GetResult() => throw null; @@ -13409,7 +12711,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Runtime.CompilerServices.ValueTaskAwaiter<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { public TResult GetResult() => throw null; @@ -13419,10 +12720,8 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Runtime.CompilerServices.YieldAwaitable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct YieldAwaitable { - // Generated from `System.Runtime.CompilerServices.YieldAwaitable+YieldAwaiter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct YieldAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { public void GetResult() => throw null; @@ -13440,7 +12739,6 @@ namespace System } namespace ConstrainedExecution { - // Generated from `System.Runtime.ConstrainedExecution.Cer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum Cer : int { MayFail = 1, @@ -13448,7 +12746,6 @@ namespace System Success = 2, } - // Generated from `System.Runtime.ConstrainedExecution.Consistency` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum Consistency : int { MayCorruptAppDomain = 1, @@ -13457,20 +12754,17 @@ namespace System WillNotCorruptState = 3, } - // Generated from `System.Runtime.ConstrainedExecution.CriticalFinalizerObject` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CriticalFinalizerObject { protected CriticalFinalizerObject() => throw null; // ERR: Stub generator didn't handle member: ~CriticalFinalizerObject } - // Generated from `System.Runtime.ConstrainedExecution.PrePrepareMethodAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PrePrepareMethodAttribute : System.Attribute { public PrePrepareMethodAttribute() => throw null; } - // Generated from `System.Runtime.ConstrainedExecution.ReliabilityContractAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReliabilityContractAttribute : System.Attribute { public System.Runtime.ConstrainedExecution.Cer Cer { get => throw null; } @@ -13481,7 +12775,6 @@ namespace System } namespace ExceptionServices { - // Generated from `System.Runtime.ExceptionServices.ExceptionDispatchInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExceptionDispatchInfo { public static System.Runtime.ExceptionServices.ExceptionDispatchInfo Capture(System.Exception source) => throw null; @@ -13492,14 +12785,12 @@ namespace System public static void Throw(System.Exception source) => throw null; } - // Generated from `System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FirstChanceExceptionEventArgs : System.EventArgs { public System.Exception Exception { get => throw null; } public FirstChanceExceptionEventArgs(System.Exception exception) => throw null; } - // Generated from `System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HandleProcessCorruptedStateExceptionsAttribute : System.Attribute { public HandleProcessCorruptedStateExceptionsAttribute() => throw null; @@ -13508,7 +12799,6 @@ namespace System } namespace InteropServices { - // Generated from `System.Runtime.InteropServices.Architecture` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum Architecture : int { Arm = 2, @@ -13522,7 +12812,6 @@ namespace System X86 = 0, } - // Generated from `System.Runtime.InteropServices.CharSet` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CharSet : int { Ansi = 2, @@ -13531,14 +12820,12 @@ namespace System Unicode = 3, } - // Generated from `System.Runtime.InteropServices.ComVisibleAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComVisibleAttribute : System.Attribute { public ComVisibleAttribute(bool visibility) => throw null; public bool Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.CriticalHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CriticalHandle : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.IDisposable { public void Close() => throw null; @@ -13554,7 +12841,6 @@ namespace System // ERR: Stub generator didn't handle member: ~CriticalHandle } - // Generated from `System.Runtime.InteropServices.ExternalException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExternalException : System.SystemException { public virtual int ErrorCode { get => throw null; } @@ -13566,14 +12852,12 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Runtime.InteropServices.FieldOffsetAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FieldOffsetAttribute : System.Attribute { public FieldOffsetAttribute(int offset) => throw null; public int Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.GCHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GCHandle : System.IEquatable { public static bool operator !=(System.Runtime.InteropServices.GCHandle a, System.Runtime.InteropServices.GCHandle b) => throw null; @@ -13594,7 +12878,6 @@ namespace System public static explicit operator System.Runtime.InteropServices.GCHandle(System.IntPtr value) => throw null; } - // Generated from `System.Runtime.InteropServices.GCHandleType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum GCHandleType : int { Normal = 2, @@ -13603,13 +12886,11 @@ namespace System WeakTrackResurrection = 1, } - // Generated from `System.Runtime.InteropServices.InAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class InAttribute : System.Attribute { public InAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.LayoutKind` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LayoutKind : int { Auto = 3, @@ -13617,7 +12898,6 @@ namespace System Sequential = 0, } - // Generated from `System.Runtime.InteropServices.OSPlatform` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct OSPlatform : System.IEquatable { public static bool operator !=(System.Runtime.InteropServices.OSPlatform left, System.Runtime.InteropServices.OSPlatform right) => throw null; @@ -13634,13 +12914,11 @@ namespace System public static System.Runtime.InteropServices.OSPlatform Windows { get => throw null; } } - // Generated from `System.Runtime.InteropServices.OutAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OutAttribute : System.Attribute { public OutAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.RuntimeInformation` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class RuntimeInformation { public static string FrameworkDescription { get => throw null; } @@ -13651,7 +12929,6 @@ namespace System public static string RuntimeIdentifier { get => throw null; } } - // Generated from `System.Runtime.InteropServices.SafeBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SafeBuffer : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { unsafe public void AcquirePointer(ref System.Byte* pointer) => throw null; @@ -13669,7 +12946,6 @@ namespace System public void WriteSpan(System.UInt64 byteOffset, System.ReadOnlySpan data) where T : struct => throw null; } - // Generated from `System.Runtime.InteropServices.SafeHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SafeHandle : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.IDisposable { public void Close() => throw null; @@ -13688,7 +12964,6 @@ namespace System // ERR: Stub generator didn't handle member: ~SafeHandle } - // Generated from `System.Runtime.InteropServices.StructLayoutAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StructLayoutAttribute : System.Attribute { public System.Runtime.InteropServices.CharSet CharSet; @@ -13699,13 +12974,11 @@ namespace System public System.Runtime.InteropServices.LayoutKind Value { get => throw null; } } - // Generated from `System.Runtime.InteropServices.SuppressGCTransitionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SuppressGCTransitionAttribute : System.Attribute { public SuppressGCTransitionAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.UnmanagedType` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum UnmanagedType : int { AnsiBStr = 35, @@ -13750,16 +13023,13 @@ namespace System namespace Marshalling { - // Generated from `System.Runtime.InteropServices.Marshalling.ContiguousCollectionMarshallerAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ContiguousCollectionMarshallerAttribute : System.Attribute { public ContiguousCollectionMarshallerAttribute() => throw null; } - // Generated from `System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CustomMarshallerAttribute : System.Attribute { - // Generated from `System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct GenericPlaceholder { // Stub generator skipped constructor @@ -13772,7 +13042,6 @@ namespace System public System.Type MarshallerType { get => throw null; } } - // Generated from `System.Runtime.InteropServices.Marshalling.MarshalMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum MarshalMode : int { Default = 0, @@ -13787,17 +13056,14 @@ namespace System UnmanagedToManagedRef = 5, } - // Generated from `System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NativeMarshallingAttribute : System.Attribute { public NativeMarshallingAttribute(System.Type nativeType) => throw null; public System.Type NativeType { get => throw null; } } - // Generated from `System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ReadOnlySpanMarshaller where TUnmanagedElement : unmanaged { - // Generated from `System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>+ManagedToUnmanagedIn` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManagedToUnmanagedIn { public static int BufferSize { get => throw null; } @@ -13812,7 +13078,6 @@ namespace System } - // Generated from `System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>+UnmanagedToManagedOut` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class UnmanagedToManagedOut { unsafe public static TUnmanagedElement* AllocateContainerForUnmanagedElements(System.ReadOnlySpan managed, out int numElements) => throw null; @@ -13823,10 +13088,8 @@ namespace System } - // Generated from `System.Runtime.InteropServices.Marshalling.SpanMarshaller<,>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class SpanMarshaller where TUnmanagedElement : unmanaged { - // Generated from `System.Runtime.InteropServices.Marshalling.SpanMarshaller<,>+ManagedToUnmanagedIn` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManagedToUnmanagedIn { public static int BufferSize { get => throw null; } @@ -13854,7 +13117,6 @@ namespace System } namespace Remoting { - // Generated from `System.Runtime.Remoting.ObjectHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectHandle : System.MarshalByRefObject { public ObjectHandle(object o) => throw null; @@ -13864,13 +13126,11 @@ namespace System } namespace Serialization { - // Generated from `System.Runtime.Serialization.IDeserializationCallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDeserializationCallback { void OnDeserialization(object sender); } - // Generated from `System.Runtime.Serialization.IFormatterConverter` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IFormatterConverter { object Convert(object value, System.Type type); @@ -13892,63 +13152,53 @@ namespace System System.UInt64 ToUInt64(object value); } - // Generated from `System.Runtime.Serialization.IObjectReference` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IObjectReference { object GetRealObject(System.Runtime.Serialization.StreamingContext context); } - // Generated from `System.Runtime.Serialization.ISafeSerializationData` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISafeSerializationData { void CompleteDeserialization(object deserialized); } - // Generated from `System.Runtime.Serialization.ISerializable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISerializable { void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); } - // Generated from `System.Runtime.Serialization.OnDeserializedAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OnDeserializedAttribute : System.Attribute { public OnDeserializedAttribute() => throw null; } - // Generated from `System.Runtime.Serialization.OnDeserializingAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OnDeserializingAttribute : System.Attribute { public OnDeserializingAttribute() => throw null; } - // Generated from `System.Runtime.Serialization.OnSerializedAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OnSerializedAttribute : System.Attribute { public OnSerializedAttribute() => throw null; } - // Generated from `System.Runtime.Serialization.OnSerializingAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OnSerializingAttribute : System.Attribute { public OnSerializingAttribute() => throw null; } - // Generated from `System.Runtime.Serialization.OptionalFieldAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OptionalFieldAttribute : System.Attribute { public OptionalFieldAttribute() => throw null; public int VersionAdded { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Serialization.SafeSerializationEventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeSerializationEventArgs : System.EventArgs { public void AddSerializedState(System.Runtime.Serialization.ISafeSerializationData serializedState) => throw null; public System.Runtime.Serialization.StreamingContext StreamingContext { get => throw null; } } - // Generated from `System.Runtime.Serialization.SerializationEntry` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SerializationEntry { public string Name { get => throw null; } @@ -13957,7 +13207,6 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.Runtime.Serialization.SerializationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SerializationException : System.SystemException { public SerializationException() => throw null; @@ -13966,7 +13215,6 @@ namespace System public SerializationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Runtime.Serialization.SerializationInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SerializationInfo { public void AddValue(string name, System.DateTime value) => throw null; @@ -14013,7 +13261,6 @@ namespace System public void SetType(System.Type type) => throw null; } - // Generated from `System.Runtime.Serialization.SerializationInfoEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SerializationInfoEnumerator : System.Collections.IEnumerator { public System.Runtime.Serialization.SerializationEntry Current { get => throw null; } @@ -14025,7 +13272,6 @@ namespace System public object Value { get => throw null; } } - // Generated from `System.Runtime.Serialization.StreamingContext` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct StreamingContext { public object Context { get => throw null; } @@ -14037,7 +13283,6 @@ namespace System public StreamingContext(System.Runtime.Serialization.StreamingContextStates state, object additional) => throw null; } - // Generated from `System.Runtime.Serialization.StreamingContextStates` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum StreamingContextStates : int { @@ -14055,14 +13300,12 @@ namespace System } namespace Versioning { - // Generated from `System.Runtime.Versioning.ComponentGuaranteesAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ComponentGuaranteesAttribute : System.Attribute { public ComponentGuaranteesAttribute(System.Runtime.Versioning.ComponentGuaranteesOptions guarantees) => throw null; public System.Runtime.Versioning.ComponentGuaranteesOptions Guarantees { get => throw null; } } - // Generated from `System.Runtime.Versioning.ComponentGuaranteesOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ComponentGuaranteesOptions : int { @@ -14072,7 +13315,6 @@ namespace System Stable = 2, } - // Generated from `System.Runtime.Versioning.FrameworkName` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FrameworkName : System.IEquatable { public static bool operator !=(System.Runtime.Versioning.FrameworkName left, System.Runtime.Versioning.FrameworkName right) => throw null; @@ -14090,14 +13332,12 @@ namespace System public System.Version Version { get => throw null; } } - // Generated from `System.Runtime.Versioning.OSPlatformAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class OSPlatformAttribute : System.Attribute { protected private OSPlatformAttribute(string platformName) => throw null; public string PlatformName { get => throw null; } } - // Generated from `System.Runtime.Versioning.ObsoletedOSPlatformAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObsoletedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute { public string Message { get => throw null; } @@ -14106,7 +13346,6 @@ namespace System public string Url { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Versioning.RequiresPreviewFeaturesAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RequiresPreviewFeaturesAttribute : System.Attribute { public string Message { get => throw null; } @@ -14115,7 +13354,6 @@ namespace System public string Url { get => throw null; set => throw null; } } - // Generated from `System.Runtime.Versioning.ResourceConsumptionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResourceConsumptionAttribute : System.Attribute { public System.Runtime.Versioning.ResourceScope ConsumptionScope { get => throw null; } @@ -14124,14 +13362,12 @@ namespace System public System.Runtime.Versioning.ResourceScope ResourceScope { get => throw null; } } - // Generated from `System.Runtime.Versioning.ResourceExposureAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ResourceExposureAttribute : System.Attribute { public ResourceExposureAttribute(System.Runtime.Versioning.ResourceScope exposureLevel) => throw null; public System.Runtime.Versioning.ResourceScope ResourceExposureLevel { get => throw null; } } - // Generated from `System.Runtime.Versioning.ResourceScope` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ResourceScope : int { @@ -14144,19 +13380,16 @@ namespace System Process = 2, } - // Generated from `System.Runtime.Versioning.SupportedOSPlatformAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute { public SupportedOSPlatformAttribute(string platformName) : base(default(string)) => throw null; } - // Generated from `System.Runtime.Versioning.SupportedOSPlatformGuardAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute { public SupportedOSPlatformGuardAttribute(string platformName) : base(default(string)) => throw null; } - // Generated from `System.Runtime.Versioning.TargetFrameworkAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TargetFrameworkAttribute : System.Attribute { public string FrameworkDisplayName { get => throw null; set => throw null; } @@ -14164,13 +13397,11 @@ namespace System public TargetFrameworkAttribute(string frameworkName) => throw null; } - // Generated from `System.Runtime.Versioning.TargetPlatformAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TargetPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute { public TargetPlatformAttribute(string platformName) : base(default(string)) => throw null; } - // Generated from `System.Runtime.Versioning.UnsupportedOSPlatformAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnsupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute { public string Message { get => throw null; } @@ -14178,13 +13409,11 @@ namespace System public UnsupportedOSPlatformAttribute(string platformName, string message) : base(default(string)) => throw null; } - // Generated from `System.Runtime.Versioning.UnsupportedOSPlatformGuardAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnsupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute { public UnsupportedOSPlatformGuardAttribute(string platformName) : base(default(string)) => throw null; } - // Generated from `System.Runtime.Versioning.VersioningHelper` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class VersioningHelper { public static string MakeVersionSafeName(string name, System.Runtime.Versioning.ResourceScope from, System.Runtime.Versioning.ResourceScope to) => throw null; @@ -14195,14 +13424,12 @@ namespace System } namespace Security { - // Generated from `System.Security.AllowPartiallyTrustedCallersAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AllowPartiallyTrustedCallersAttribute : System.Attribute { public AllowPartiallyTrustedCallersAttribute() => throw null; public System.Security.PartialTrustVisibilityLevel PartialTrustVisibilityLevel { get => throw null; set => throw null; } } - // Generated from `System.Security.IPermission` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IPermission : System.Security.ISecurityEncodable { System.Security.IPermission Copy(); @@ -14212,14 +13439,12 @@ namespace System System.Security.IPermission Union(System.Security.IPermission target); } - // Generated from `System.Security.ISecurityEncodable` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISecurityEncodable { void FromXml(System.Security.SecurityElement e); System.Security.SecurityElement ToXml(); } - // Generated from `System.Security.IStackWalk` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IStackWalk { void Assert(); @@ -14228,14 +13453,12 @@ namespace System void PermitOnly(); } - // Generated from `System.Security.PartialTrustVisibilityLevel` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PartialTrustVisibilityLevel : int { NotVisibleByDefault = 1, VisibleToAllHosts = 0, } - // Generated from `System.Security.PermissionSet` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PermissionSet : System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Security.ISecurityEncodable, System.Security.IStackWalk { public System.Security.IPermission AddPermission(System.Security.IPermission perm) => throw null; @@ -14276,7 +13499,6 @@ namespace System public System.Security.PermissionSet Union(System.Security.PermissionSet other) => throw null; } - // Generated from `System.Security.SecurityCriticalAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityCriticalAttribute : System.Attribute { public System.Security.SecurityCriticalScope Scope { get => throw null; } @@ -14284,14 +13506,12 @@ namespace System public SecurityCriticalAttribute(System.Security.SecurityCriticalScope scope) => throw null; } - // Generated from `System.Security.SecurityCriticalScope` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SecurityCriticalScope : int { Everything = 1, Explicit = 0, } - // Generated from `System.Security.SecurityElement` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityElement { public void AddAttribute(string name, string value) => throw null; @@ -14316,7 +13536,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Security.SecurityException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityException : System.SystemException { public object Demanded { get => throw null; set => throw null; } @@ -14339,7 +13558,6 @@ namespace System public string Url { get => throw null; set => throw null; } } - // Generated from `System.Security.SecurityRuleSet` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SecurityRuleSet : byte { Level1 = 1, @@ -14347,7 +13565,6 @@ namespace System None = 0, } - // Generated from `System.Security.SecurityRulesAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityRulesAttribute : System.Attribute { public System.Security.SecurityRuleSet RuleSet { get => throw null; } @@ -14355,37 +13572,31 @@ namespace System public bool SkipVerificationInFullTrust { get => throw null; set => throw null; } } - // Generated from `System.Security.SecuritySafeCriticalAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecuritySafeCriticalAttribute : System.Attribute { public SecuritySafeCriticalAttribute() => throw null; } - // Generated from `System.Security.SecurityTransparentAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityTransparentAttribute : System.Attribute { public SecurityTransparentAttribute() => throw null; } - // Generated from `System.Security.SecurityTreatAsSafeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityTreatAsSafeAttribute : System.Attribute { public SecurityTreatAsSafeAttribute() => throw null; } - // Generated from `System.Security.SuppressUnmanagedCodeSecurityAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SuppressUnmanagedCodeSecurityAttribute : System.Attribute { public SuppressUnmanagedCodeSecurityAttribute() => throw null; } - // Generated from `System.Security.UnverifiableCodeAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnverifiableCodeAttribute : System.Attribute { public UnverifiableCodeAttribute() => throw null; } - // Generated from `System.Security.VerificationException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class VerificationException : System.SystemException { public VerificationException() => throw null; @@ -14396,7 +13607,6 @@ namespace System namespace Cryptography { - // Generated from `System.Security.Cryptography.CryptographicException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CryptographicException : System.SystemException { public CryptographicException() => throw null; @@ -14410,20 +13620,17 @@ namespace System } namespace Permissions { - // Generated from `System.Security.Permissions.CodeAccessSecurityAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CodeAccessSecurityAttribute : System.Security.Permissions.SecurityAttribute { protected CodeAccessSecurityAttribute(System.Security.Permissions.SecurityAction action) : base(default(System.Security.Permissions.SecurityAction)) => throw null; } - // Generated from `System.Security.Permissions.PermissionState` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PermissionState : int { None = 0, Unrestricted = 1, } - // Generated from `System.Security.Permissions.SecurityAction` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum SecurityAction : int { Assert = 3, @@ -14437,7 +13644,6 @@ namespace System RequestRefuse = 10, } - // Generated from `System.Security.Permissions.SecurityAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SecurityAttribute : System.Attribute { public System.Security.Permissions.SecurityAction Action { get => throw null; set => throw null; } @@ -14446,7 +13652,6 @@ namespace System public bool Unrestricted { get => throw null; set => throw null; } } - // Generated from `System.Security.Permissions.SecurityPermissionAttribute` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute { public bool Assertion { get => throw null; set => throw null; } @@ -14468,7 +13673,6 @@ namespace System public bool UnmanagedCode { get => throw null; set => throw null; } } - // Generated from `System.Security.Permissions.SecurityPermissionFlag` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SecurityPermissionFlag : int { @@ -14493,7 +13697,6 @@ namespace System } namespace Principal { - // Generated from `System.Security.Principal.IIdentity` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IIdentity { string AuthenticationType { get; } @@ -14501,14 +13704,12 @@ namespace System string Name { get; } } - // Generated from `System.Security.Principal.IPrincipal` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IPrincipal { System.Security.Principal.IIdentity Identity { get; } bool IsInRole(string role); } - // Generated from `System.Security.Principal.PrincipalPolicy` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PrincipalPolicy : int { NoPrincipal = 1, @@ -14516,7 +13717,6 @@ namespace System WindowsPrincipal = 2, } - // Generated from `System.Security.Principal.TokenImpersonationLevel` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TokenImpersonationLevel : int { Anonymous = 1, @@ -14530,7 +13730,6 @@ namespace System } namespace Text { - // Generated from `System.Text.Decoder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Decoder { public virtual void Convert(System.Byte[] bytes, int byteIndex, int byteCount, System.Char[] chars, int charIndex, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed) => throw null; @@ -14550,7 +13749,6 @@ namespace System public virtual void Reset() => throw null; } - // Generated from `System.Text.DecoderExceptionFallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecoderExceptionFallback : System.Text.DecoderFallback { public override System.Text.DecoderFallbackBuffer CreateFallbackBuffer() => throw null; @@ -14560,7 +13758,6 @@ namespace System public override int MaxCharCount { get => throw null; } } - // Generated from `System.Text.DecoderExceptionFallbackBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecoderExceptionFallbackBuffer : System.Text.DecoderFallbackBuffer { public DecoderExceptionFallbackBuffer() => throw null; @@ -14570,7 +13767,6 @@ namespace System public override int Remaining { get => throw null; } } - // Generated from `System.Text.DecoderFallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DecoderFallback { public abstract System.Text.DecoderFallbackBuffer CreateFallbackBuffer(); @@ -14580,7 +13776,6 @@ namespace System public static System.Text.DecoderFallback ReplacementFallback { get => throw null; } } - // Generated from `System.Text.DecoderFallbackBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DecoderFallbackBuffer { protected DecoderFallbackBuffer() => throw null; @@ -14591,7 +13786,6 @@ namespace System public virtual void Reset() => throw null; } - // Generated from `System.Text.DecoderFallbackException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecoderFallbackException : System.ArgumentException { public System.Byte[] BytesUnknown { get => throw null; } @@ -14602,7 +13796,6 @@ namespace System public int Index { get => throw null; } } - // Generated from `System.Text.DecoderReplacementFallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecoderReplacementFallback : System.Text.DecoderFallback { public override System.Text.DecoderFallbackBuffer CreateFallbackBuffer() => throw null; @@ -14614,7 +13807,6 @@ namespace System public override int MaxCharCount { get => throw null; } } - // Generated from `System.Text.DecoderReplacementFallbackBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DecoderReplacementFallbackBuffer : System.Text.DecoderFallbackBuffer { public DecoderReplacementFallbackBuffer(System.Text.DecoderReplacementFallback fallback) => throw null; @@ -14625,7 +13817,6 @@ namespace System public override void Reset() => throw null; } - // Generated from `System.Text.Encoder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Encoder { public virtual void Convert(System.Char[] chars, int charIndex, int charCount, System.Byte[] bytes, int byteIndex, int byteCount, bool flush, out int charsUsed, out int bytesUsed, out bool completed) => throw null; @@ -14643,7 +13834,6 @@ namespace System public virtual void Reset() => throw null; } - // Generated from `System.Text.EncoderExceptionFallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EncoderExceptionFallback : System.Text.EncoderFallback { public override System.Text.EncoderFallbackBuffer CreateFallbackBuffer() => throw null; @@ -14653,7 +13843,6 @@ namespace System public override int MaxCharCount { get => throw null; } } - // Generated from `System.Text.EncoderExceptionFallbackBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EncoderExceptionFallbackBuffer : System.Text.EncoderFallbackBuffer { public EncoderExceptionFallbackBuffer() => throw null; @@ -14664,7 +13853,6 @@ namespace System public override int Remaining { get => throw null; } } - // Generated from `System.Text.EncoderFallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EncoderFallback { public abstract System.Text.EncoderFallbackBuffer CreateFallbackBuffer(); @@ -14674,7 +13862,6 @@ namespace System public static System.Text.EncoderFallback ReplacementFallback { get => throw null; } } - // Generated from `System.Text.EncoderFallbackBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EncoderFallbackBuffer { protected EncoderFallbackBuffer() => throw null; @@ -14686,7 +13873,6 @@ namespace System public virtual void Reset() => throw null; } - // Generated from `System.Text.EncoderFallbackException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EncoderFallbackException : System.ArgumentException { public System.Char CharUnknown { get => throw null; } @@ -14699,7 +13885,6 @@ namespace System public bool IsUnknownSurrogate() => throw null; } - // Generated from `System.Text.EncoderReplacementFallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EncoderReplacementFallback : System.Text.EncoderFallback { public override System.Text.EncoderFallbackBuffer CreateFallbackBuffer() => throw null; @@ -14711,7 +13896,6 @@ namespace System public override int MaxCharCount { get => throw null; } } - // Generated from `System.Text.EncoderReplacementFallbackBuffer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EncoderReplacementFallbackBuffer : System.Text.EncoderFallbackBuffer { public EncoderReplacementFallbackBuffer(System.Text.EncoderReplacementFallback fallback) => throw null; @@ -14723,7 +13907,6 @@ namespace System public override void Reset() => throw null; } - // Generated from `System.Text.Encoding` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Encoding : System.ICloneable { public static System.Text.Encoding ASCII { get => throw null; } @@ -14800,7 +13983,6 @@ namespace System public virtual int WindowsCodePage { get => throw null; } } - // Generated from `System.Text.EncodingInfo` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EncodingInfo { public int CodePage { get => throw null; } @@ -14812,7 +13994,6 @@ namespace System public string Name { get => throw null; } } - // Generated from `System.Text.EncodingProvider` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EncodingProvider { public EncodingProvider() => throw null; @@ -14823,7 +14004,6 @@ namespace System public virtual System.Collections.Generic.IEnumerable GetEncodings() => throw null; } - // Generated from `System.Text.NormalizationForm` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NormalizationForm : int { FormC = 1, @@ -14832,7 +14012,6 @@ namespace System FormKD = 6, } - // Generated from `System.Text.Rune` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct Rune : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.ISpanFormattable { public static bool operator !=(System.Text.Rune left, System.Text.Rune right) => throw null; @@ -14899,10 +14078,8 @@ namespace System public static explicit operator System.Text.Rune(System.UInt32 value) => throw null; } - // Generated from `System.Text.StringBuilder` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class StringBuilder : System.Runtime.Serialization.ISerializable { - // Generated from `System.Text.StringBuilder+AppendInterpolatedStringHandler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AppendInterpolatedStringHandler { public void AppendFormatted(System.ReadOnlySpan value) => throw null; @@ -14921,7 +14098,6 @@ namespace System } - // Generated from `System.Text.StringBuilder+ChunkEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ChunkEnumerator { // Stub generator skipped constructor @@ -15022,7 +14198,6 @@ namespace System public string ToString(int startIndex, int length) => throw null; } - // Generated from `System.Text.StringRuneEnumerator` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct StringRuneEnumerator : System.Collections.Generic.IEnumerable, System.Collections.Generic.IEnumerator, System.Collections.IEnumerable, System.Collections.IEnumerator, System.IDisposable { public System.Text.Rune Current { get => throw null; } @@ -15038,7 +14213,6 @@ namespace System namespace Unicode { - // Generated from `System.Text.Unicode.Utf8` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Utf8 { public static System.Buffers.OperationStatus FromUtf16(System.ReadOnlySpan source, System.Span destination, out int charsRead, out int bytesWritten, bool replaceInvalidSequences = default(bool), bool isFinalBlock = default(bool)) => throw null; @@ -15049,7 +14223,6 @@ namespace System } namespace Threading { - // Generated from `System.Threading.CancellationToken` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CancellationToken : System.IEquatable { public static bool operator !=(System.Threading.CancellationToken left, System.Threading.CancellationToken right) => throw null; @@ -15073,7 +14246,6 @@ namespace System public System.Threading.WaitHandle WaitHandle { get => throw null; } } - // Generated from `System.Threading.CancellationTokenRegistration` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CancellationTokenRegistration : System.IAsyncDisposable, System.IDisposable, System.IEquatable { public static bool operator !=(System.Threading.CancellationTokenRegistration left, System.Threading.CancellationTokenRegistration right) => throw null; @@ -15088,7 +14260,6 @@ namespace System public bool Unregister() => throw null; } - // Generated from `System.Threading.CancellationTokenSource` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CancellationTokenSource : System.IDisposable { public void Cancel() => throw null; @@ -15108,7 +14279,6 @@ namespace System public bool TryReset() => throw null; } - // Generated from `System.Threading.LazyThreadSafetyMode` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LazyThreadSafetyMode : int { ExecutionAndPublication = 2, @@ -15116,7 +14286,6 @@ namespace System PublicationOnly = 1, } - // Generated from `System.Threading.PeriodicTimer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PeriodicTimer : System.IDisposable { public void Dispose() => throw null; @@ -15125,14 +14294,12 @@ namespace System // ERR: Stub generator didn't handle member: ~PeriodicTimer } - // Generated from `System.Threading.Timeout` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Timeout { public const int Infinite = default; public static System.TimeSpan InfiniteTimeSpan; } - // Generated from `System.Threading.Timer` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Timer : System.MarshalByRefObject, System.IAsyncDisposable, System.IDisposable { public static System.Int64 ActiveCount { get => throw null; } @@ -15150,10 +14317,8 @@ namespace System public Timer(System.Threading.TimerCallback callback, object state, System.UInt32 dueTime, System.UInt32 period) => throw null; } - // Generated from `System.Threading.TimerCallback` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void TimerCallback(object state); - // Generated from `System.Threading.WaitHandle` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class WaitHandle : System.MarshalByRefObject, System.IDisposable { public virtual void Close() => throw null; @@ -15184,7 +14349,6 @@ namespace System public const int WaitTimeout = default; } - // Generated from `System.Threading.WaitHandleExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class WaitHandleExtensions { public static Microsoft.Win32.SafeHandles.SafeWaitHandle GetSafeWaitHandle(this System.Threading.WaitHandle waitHandle) => throw null; @@ -15193,7 +14357,6 @@ namespace System namespace Tasks { - // Generated from `System.Threading.Tasks.ConcurrentExclusiveSchedulerPair` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ConcurrentExclusiveSchedulerPair { public void Complete() => throw null; @@ -15206,7 +14369,6 @@ namespace System public System.Threading.Tasks.TaskScheduler ExclusiveScheduler { get => throw null; } } - // Generated from `System.Threading.Tasks.Task` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Task : System.IAsyncResult, System.IDisposable { public object AsyncState { get => throw null; } @@ -15308,7 +14470,6 @@ namespace System public static System.Runtime.CompilerServices.YieldAwaitable Yield() => throw null; } - // Generated from `System.Threading.Tasks.Task<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Task : System.Threading.Tasks.Task { public System.Runtime.CompilerServices.ConfiguredTaskAwaitable ConfigureAwait(bool continueOnCapturedContext) => throw null; @@ -15348,7 +14509,6 @@ namespace System public System.Threading.Tasks.Task WaitAsync(System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Threading.Tasks.TaskAsyncEnumerableExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class TaskAsyncEnumerableExtensions { public static System.Runtime.CompilerServices.ConfiguredAsyncDisposable ConfigureAwait(this System.IAsyncDisposable source, bool continueOnCapturedContext) => throw null; @@ -15357,7 +14517,6 @@ namespace System public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable WithCancellation(this System.Collections.Generic.IAsyncEnumerable source, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Threading.Tasks.TaskCanceledException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaskCanceledException : System.OperationCanceledException { public System.Threading.Tasks.Task Task { get => throw null; } @@ -15369,7 +14528,6 @@ namespace System public TaskCanceledException(string message, System.Exception innerException, System.Threading.CancellationToken token) => throw null; } - // Generated from `System.Threading.Tasks.TaskCompletionSource` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaskCompletionSource { public void SetCanceled() => throw null; @@ -15389,7 +14547,6 @@ namespace System public bool TrySetResult() => throw null; } - // Generated from `System.Threading.Tasks.TaskCompletionSource<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaskCompletionSource { public void SetCanceled() => throw null; @@ -15409,7 +14566,6 @@ namespace System public bool TrySetResult(TResult result) => throw null; } - // Generated from `System.Threading.Tasks.TaskContinuationOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TaskContinuationOptions : int { @@ -15430,7 +14586,6 @@ namespace System RunContinuationsAsynchronously = 64, } - // Generated from `System.Threading.Tasks.TaskCreationOptions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TaskCreationOptions : int { @@ -15443,14 +14598,12 @@ namespace System RunContinuationsAsynchronously = 64, } - // Generated from `System.Threading.Tasks.TaskExtensions` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class TaskExtensions { public static System.Threading.Tasks.Task Unwrap(this System.Threading.Tasks.Task task) => throw null; public static System.Threading.Tasks.Task Unwrap(this System.Threading.Tasks.Task> task) => throw null; } - // Generated from `System.Threading.Tasks.TaskFactory` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaskFactory { public System.Threading.CancellationToken CancellationToken { get => throw null; } @@ -15534,7 +14687,6 @@ namespace System public TaskFactory(System.Threading.Tasks.TaskScheduler scheduler) => throw null; } - // Generated from `System.Threading.Tasks.TaskFactory<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaskFactory { public System.Threading.CancellationToken CancellationToken { get => throw null; } @@ -15583,7 +14735,6 @@ namespace System public TaskFactory(System.Threading.Tasks.TaskScheduler scheduler) => throw null; } - // Generated from `System.Threading.Tasks.TaskScheduler` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TaskScheduler { public static System.Threading.Tasks.TaskScheduler Current { get => throw null; } @@ -15600,7 +14751,6 @@ namespace System public static event System.EventHandler UnobservedTaskException; } - // Generated from `System.Threading.Tasks.TaskSchedulerException` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TaskSchedulerException : System.Exception { public TaskSchedulerException() => throw null; @@ -15610,7 +14760,6 @@ namespace System public TaskSchedulerException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.Tasks.TaskStatus` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum TaskStatus : int { Canceled = 6, @@ -15623,7 +14772,6 @@ namespace System WaitingToRun = 2, } - // Generated from `System.Threading.Tasks.UnobservedTaskExceptionEventArgs` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnobservedTaskExceptionEventArgs : System.EventArgs { public System.AggregateException Exception { get => throw null; } @@ -15632,7 +14780,6 @@ namespace System public UnobservedTaskExceptionEventArgs(System.AggregateException exception) => throw null; } - // Generated from `System.Threading.Tasks.ValueTask` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTask : System.IEquatable { public static bool operator !=(System.Threading.Tasks.ValueTask left, System.Threading.Tasks.ValueTask right) => throw null; @@ -15659,7 +14806,6 @@ namespace System public ValueTask(System.Threading.Tasks.Task task) => throw null; } - // Generated from `System.Threading.Tasks.ValueTask<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueTask : System.IEquatable> { public static bool operator !=(System.Threading.Tasks.ValueTask left, System.Threading.Tasks.ValueTask right) => throw null; @@ -15685,7 +14831,6 @@ namespace System namespace Sources { - // Generated from `System.Threading.Tasks.Sources.IValueTaskSource` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IValueTaskSource { void GetResult(System.Int16 token); @@ -15693,7 +14838,6 @@ namespace System void OnCompleted(System.Action continuation, object state, System.Int16 token, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags flags); } - // Generated from `System.Threading.Tasks.Sources.IValueTaskSource<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IValueTaskSource { TResult GetResult(System.Int16 token); @@ -15701,7 +14845,6 @@ namespace System void OnCompleted(System.Action continuation, object state, System.Int16 token, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags flags); } - // Generated from `System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore<>` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ManualResetValueTaskSourceCore { public TResult GetResult(System.Int16 token) => throw null; @@ -15715,7 +14858,6 @@ namespace System public System.Int16 Version { get => throw null; } } - // Generated from `System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ValueTaskSourceOnCompletedFlags : int { @@ -15724,7 +14866,6 @@ namespace System UseSchedulingContext = 1, } - // Generated from `System.Threading.Tasks.Sources.ValueTaskSourceStatus` in `System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ValueTaskSourceStatus : int { Canceled = 3, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.AccessControl.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.AccessControl.cs index 856e398b7d3..3eb413e4276 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.AccessControl.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.AccessControl.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace AccessControl { - // Generated from `System.Security.AccessControl.AccessControlActions` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AccessControlActions : int { @@ -15,7 +15,6 @@ namespace System View = 1, } - // Generated from `System.Security.AccessControl.AccessControlModification` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AccessControlModification : int { Add = 0, @@ -26,7 +25,6 @@ namespace System Set = 1, } - // Generated from `System.Security.AccessControl.AccessControlSections` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AccessControlSections : int { @@ -38,21 +36,18 @@ namespace System Owner = 4, } - // Generated from `System.Security.AccessControl.AccessControlType` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AccessControlType : int { Allow = 0, Deny = 1, } - // Generated from `System.Security.AccessControl.AccessRule` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class AccessRule : System.Security.AccessControl.AuthorizationRule { public System.Security.AccessControl.AccessControlType AccessControlType { get => throw null; } protected AccessRule(System.Security.Principal.IdentityReference identity, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags)) => throw null; } - // Generated from `System.Security.AccessControl.AccessRule<>` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AccessRule : System.Security.AccessControl.AccessRule where T : struct { public AccessRule(System.Security.Principal.IdentityReference identity, T rights, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AccessControlType)) => throw null; @@ -62,7 +57,6 @@ namespace System public T Rights { get => throw null; } } - // Generated from `System.Security.AccessControl.AceEnumerator` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AceEnumerator : System.Collections.IEnumerator { public System.Security.AccessControl.GenericAce Current { get => throw null; } @@ -71,7 +65,6 @@ namespace System public void Reset() => throw null; } - // Generated from `System.Security.AccessControl.AceFlags` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AceFlags : byte { @@ -87,7 +80,6 @@ namespace System SuccessfulAccess = 64, } - // Generated from `System.Security.AccessControl.AceQualifier` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AceQualifier : int { AccessAllowed = 0, @@ -96,7 +88,6 @@ namespace System SystemAudit = 2, } - // Generated from `System.Security.AccessControl.AceType` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum AceType : byte { AccessAllowed = 0, @@ -119,7 +110,6 @@ namespace System SystemAuditObject = 7, } - // Generated from `System.Security.AccessControl.AuditFlags` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum AuditFlags : int { @@ -128,14 +118,12 @@ namespace System Success = 1, } - // Generated from `System.Security.AccessControl.AuditRule` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class AuditRule : System.Security.AccessControl.AuthorizationRule { public System.Security.AccessControl.AuditFlags AuditFlags { get => throw null; } protected AuditRule(System.Security.Principal.IdentityReference identity, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags auditFlags) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags)) => throw null; } - // Generated from `System.Security.AccessControl.AuditRule<>` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AuditRule : System.Security.AccessControl.AuditRule where T : struct { public AuditRule(System.Security.Principal.IdentityReference identity, T rights, System.Security.AccessControl.AuditFlags flags) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AuditFlags)) => throw null; @@ -145,7 +133,6 @@ namespace System public T Rights { get => throw null; } } - // Generated from `System.Security.AccessControl.AuthorizationRule` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class AuthorizationRule { protected internal int AccessMask { get => throw null; } @@ -156,7 +143,6 @@ namespace System public System.Security.AccessControl.PropagationFlags PropagationFlags { get => throw null; } } - // Generated from `System.Security.AccessControl.AuthorizationRuleCollection` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AuthorizationRuleCollection : System.Collections.ReadOnlyCollectionBase { public void AddRule(System.Security.AccessControl.AuthorizationRule rule) => throw null; @@ -165,7 +151,6 @@ namespace System public System.Security.AccessControl.AuthorizationRule this[int index] { get => throw null; } } - // Generated from `System.Security.AccessControl.CommonAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CommonAce : System.Security.AccessControl.QualifiedAce { public override int BinaryLength { get => throw null; } @@ -174,7 +159,6 @@ namespace System public static int MaxOpaqueLength(bool isCallback) => throw null; } - // Generated from `System.Security.AccessControl.CommonAcl` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CommonAcl : System.Security.AccessControl.GenericAcl { public override int BinaryLength { get => throw null; } @@ -190,7 +174,6 @@ namespace System public override System.Byte Revision { get => throw null; } } - // Generated from `System.Security.AccessControl.CommonObjectSecurity` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class CommonObjectSecurity : System.Security.AccessControl.ObjectSecurity { protected void AddAccessRule(System.Security.AccessControl.AccessRule rule) => throw null; @@ -211,7 +194,6 @@ namespace System protected void SetAuditRule(System.Security.AccessControl.AuditRule rule) => throw null; } - // Generated from `System.Security.AccessControl.CommonSecurityDescriptor` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CommonSecurityDescriptor : System.Security.AccessControl.GenericSecurityDescriptor { public void AddDiscretionaryAcl(System.Byte revision, int trusted) => throw null; @@ -235,7 +217,6 @@ namespace System public System.Security.AccessControl.SystemAcl SystemAcl { get => throw null; set => throw null; } } - // Generated from `System.Security.AccessControl.CompoundAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompoundAce : System.Security.AccessControl.KnownAce { public override int BinaryLength { get => throw null; } @@ -244,13 +225,11 @@ namespace System public override void GetBinaryForm(System.Byte[] binaryForm, int offset) => throw null; } - // Generated from `System.Security.AccessControl.CompoundAceType` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CompoundAceType : int { Impersonation = 1, } - // Generated from `System.Security.AccessControl.ControlFlags` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ControlFlags : int { @@ -273,7 +252,6 @@ namespace System SystemAclProtected = 8192, } - // Generated from `System.Security.AccessControl.CustomAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CustomAce : System.Security.AccessControl.GenericAce { public override int BinaryLength { get => throw null; } @@ -285,7 +263,6 @@ namespace System public void SetOpaque(System.Byte[] opaque) => throw null; } - // Generated from `System.Security.AccessControl.DiscretionaryAcl` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DiscretionaryAcl : System.Security.AccessControl.CommonAcl { public void AddAccess(System.Security.AccessControl.AccessControlType accessType, System.Security.Principal.SecurityIdentifier sid, System.Security.AccessControl.ObjectAccessRule rule) => throw null; @@ -305,7 +282,6 @@ namespace System public void SetAccess(System.Security.AccessControl.AccessControlType accessType, System.Security.Principal.SecurityIdentifier sid, int accessMask, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.ObjectAceFlags objectFlags, System.Guid objectType, System.Guid inheritedObjectType) => throw null; } - // Generated from `System.Security.AccessControl.GenericAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class GenericAce { public static bool operator !=(System.Security.AccessControl.GenericAce left, System.Security.AccessControl.GenericAce right) => throw null; @@ -325,7 +301,6 @@ namespace System public System.Security.AccessControl.PropagationFlags PropagationFlags { get => throw null; } } - // Generated from `System.Security.AccessControl.GenericAcl` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class GenericAcl : System.Collections.ICollection, System.Collections.IEnumerable { public static System.Byte AclRevision; @@ -345,7 +320,6 @@ namespace System public virtual object SyncRoot { get => throw null; } } - // Generated from `System.Security.AccessControl.GenericSecurityDescriptor` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class GenericSecurityDescriptor { public int BinaryLength { get => throw null; } @@ -359,7 +333,6 @@ namespace System public static System.Byte Revision { get => throw null; } } - // Generated from `System.Security.AccessControl.InheritanceFlags` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum InheritanceFlags : int { @@ -368,7 +341,6 @@ namespace System ObjectInherit = 2, } - // Generated from `System.Security.AccessControl.KnownAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class KnownAce : System.Security.AccessControl.GenericAce { public int AccessMask { get => throw null; set => throw null; } @@ -376,10 +348,8 @@ namespace System public System.Security.Principal.SecurityIdentifier SecurityIdentifier { get => throw null; set => throw null; } } - // Generated from `System.Security.AccessControl.NativeObjectSecurity` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class NativeObjectSecurity : System.Security.AccessControl.CommonObjectSecurity { - // Generated from `System.Security.AccessControl.NativeObjectSecurity+ExceptionFromErrorCode` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` protected internal delegate System.Exception ExceptionFromErrorCode(int errorCode, string name, System.Runtime.InteropServices.SafeHandle handle, object context); @@ -395,7 +365,6 @@ namespace System protected void Persist(string name, System.Security.AccessControl.AccessControlSections includeSections, object exceptionContext) => throw null; } - // Generated from `System.Security.AccessControl.ObjectAccessRule` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ObjectAccessRule : System.Security.AccessControl.AccessRule { public System.Guid InheritedObjectType { get => throw null; } @@ -404,7 +373,6 @@ namespace System public System.Guid ObjectType { get => throw null; } } - // Generated from `System.Security.AccessControl.ObjectAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ObjectAce : System.Security.AccessControl.QualifiedAce { public override int BinaryLength { get => throw null; } @@ -416,7 +384,6 @@ namespace System public System.Guid ObjectAceType { get => throw null; set => throw null; } } - // Generated from `System.Security.AccessControl.ObjectAceFlags` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ObjectAceFlags : int { @@ -425,7 +392,6 @@ namespace System ObjectAceTypePresent = 1, } - // Generated from `System.Security.AccessControl.ObjectAuditRule` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ObjectAuditRule : System.Security.AccessControl.AuditRule { public System.Guid InheritedObjectType { get => throw null; } @@ -434,7 +400,6 @@ namespace System public System.Guid ObjectType { get => throw null; } } - // Generated from `System.Security.AccessControl.ObjectSecurity` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ObjectSecurity { public abstract System.Type AccessRightType { get; } @@ -484,7 +449,6 @@ namespace System protected void WriteUnlock() => throw null; } - // Generated from `System.Security.AccessControl.ObjectSecurity<>` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ObjectSecurity : System.Security.AccessControl.NativeObjectSecurity where T : struct { public override System.Type AccessRightType { get => throw null; } @@ -512,7 +476,6 @@ namespace System public virtual void SetAuditRule(System.Security.AccessControl.AuditRule rule) => throw null; } - // Generated from `System.Security.AccessControl.PrivilegeNotHeldException` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PrivilegeNotHeldException : System.UnauthorizedAccessException, System.Runtime.Serialization.ISerializable { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -522,7 +485,6 @@ namespace System public PrivilegeNotHeldException(string privilege, System.Exception inner) => throw null; } - // Generated from `System.Security.AccessControl.PropagationFlags` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum PropagationFlags : int { @@ -531,7 +493,6 @@ namespace System None = 0, } - // Generated from `System.Security.AccessControl.QualifiedAce` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class QualifiedAce : System.Security.AccessControl.KnownAce { public System.Security.AccessControl.AceQualifier AceQualifier { get => throw null; } @@ -542,7 +503,6 @@ namespace System public void SetOpaque(System.Byte[] opaque) => throw null; } - // Generated from `System.Security.AccessControl.RawAcl` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RawAcl : System.Security.AccessControl.GenericAcl { public override int BinaryLength { get => throw null; } @@ -556,7 +516,6 @@ namespace System public override System.Byte Revision { get => throw null; } } - // Generated from `System.Security.AccessControl.RawSecurityDescriptor` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RawSecurityDescriptor : System.Security.AccessControl.GenericSecurityDescriptor { public override System.Security.AccessControl.ControlFlags ControlFlags { get => throw null; } @@ -571,7 +530,6 @@ namespace System public System.Security.AccessControl.RawAcl SystemAcl { get => throw null; set => throw null; } } - // Generated from `System.Security.AccessControl.ResourceType` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ResourceType : int { DSObject = 8, @@ -589,7 +547,6 @@ namespace System WmiGuidObject = 11, } - // Generated from `System.Security.AccessControl.SecurityInfos` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SecurityInfos : int { @@ -599,7 +556,6 @@ namespace System SystemAcl = 8, } - // Generated from `System.Security.AccessControl.SystemAcl` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SystemAcl : System.Security.AccessControl.CommonAcl { public void AddAudit(System.Security.AccessControl.AuditFlags auditFlags, System.Security.Principal.SecurityIdentifier sid, int accessMask, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags) => throw null; @@ -622,7 +578,6 @@ namespace System } namespace Policy { - // Generated from `System.Security.Policy.Evidence` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Evidence : System.Collections.ICollection, System.Collections.IEnumerable { public void AddAssembly(object id) => throw null; @@ -650,7 +605,6 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Security.Policy.EvidenceBase` in `System.Security.AccessControl, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EvidenceBase { public virtual System.Security.Policy.EvidenceBase Clone() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Claims.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Claims.cs index 4ab3994fb51..0388322c56d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Claims.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Claims.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Claims { - // Generated from `System.Security.Claims.Claim` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Claim { public Claim(System.IO.BinaryReader reader) => throw null; @@ -33,7 +33,6 @@ namespace System protected virtual void WriteTo(System.IO.BinaryWriter writer, System.Byte[] userData) => throw null; } - // Generated from `System.Security.Claims.ClaimTypes` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ClaimTypes { public const string Actor = default; @@ -92,7 +91,6 @@ namespace System public const string X500DistinguishedName = default; } - // Generated from `System.Security.Claims.ClaimValueTypes` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ClaimValueTypes { public const string Base64Binary = default; @@ -124,7 +122,6 @@ namespace System public const string YearMonthDuration = default; } - // Generated from `System.Security.Claims.ClaimsIdentity` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ClaimsIdentity : System.Security.Principal.IIdentity { public System.Security.Claims.ClaimsIdentity Actor { get => throw null; set => throw null; } @@ -170,7 +167,6 @@ namespace System protected virtual void WriteTo(System.IO.BinaryWriter writer, System.Byte[] userData) => throw null; } - // Generated from `System.Security.Claims.ClaimsPrincipal` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ClaimsPrincipal : System.Security.Principal.IPrincipal { public virtual void AddIdentities(System.Collections.Generic.IEnumerable identities) => throw null; @@ -205,7 +201,6 @@ namespace System } namespace Principal { - // Generated from `System.Security.Principal.GenericIdentity` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GenericIdentity : System.Security.Claims.ClaimsIdentity { public override string AuthenticationType { get => throw null; } @@ -218,7 +213,6 @@ namespace System public override string Name { get => throw null; } } - // Generated from `System.Security.Principal.GenericPrincipal` in `System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GenericPrincipal : System.Security.Claims.ClaimsPrincipal { public GenericPrincipal(System.Security.Principal.IIdentity identity, string[] roles) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.cs index 4a32cc3af37..c3a9156d0b3 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Cryptography.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace SafeHandles { - // Generated from `Microsoft.Win32.SafeHandles.SafeNCryptHandle` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SafeNCryptHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { protected override bool ReleaseHandle() => throw null; @@ -15,7 +15,6 @@ namespace Microsoft protected SafeNCryptHandle(System.IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle) : base(default(bool)) => throw null; } - // Generated from `Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeNCryptKeyHandle : Microsoft.Win32.SafeHandles.SafeNCryptHandle { protected override bool ReleaseNativeHandle() => throw null; @@ -23,21 +22,18 @@ namespace Microsoft public SafeNCryptKeyHandle(System.IntPtr handle, System.Runtime.InteropServices.SafeHandle parentHandle) => throw null; } - // Generated from `Microsoft.Win32.SafeHandles.SafeNCryptProviderHandle` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeNCryptProviderHandle : Microsoft.Win32.SafeHandles.SafeNCryptHandle { protected override bool ReleaseNativeHandle() => throw null; public SafeNCryptProviderHandle() => throw null; } - // Generated from `Microsoft.Win32.SafeHandles.SafeNCryptSecretHandle` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeNCryptSecretHandle : Microsoft.Win32.SafeHandles.SafeNCryptHandle { protected override bool ReleaseNativeHandle() => throw null; public SafeNCryptSecretHandle() => throw null; } - // Generated from `Microsoft.Win32.SafeHandles.SafeX509ChainHandle` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeX509ChainHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { protected override void Dispose(bool disposing) => throw null; @@ -54,7 +50,6 @@ namespace System { namespace Cryptography { - // Generated from `System.Security.Cryptography.Aes` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Aes : System.Security.Cryptography.SymmetricAlgorithm { protected Aes() => throw null; @@ -62,7 +57,6 @@ namespace System public static System.Security.Cryptography.Aes Create(string algorithmName) => throw null; } - // Generated from `System.Security.Cryptography.AesCcm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AesCcm : System.IDisposable { public AesCcm(System.Byte[] key) => throw null; @@ -77,7 +71,6 @@ namespace System public static System.Security.Cryptography.KeySizes TagByteSizes { get => throw null; } } - // Generated from `System.Security.Cryptography.AesCng` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AesCng : System.Security.Cryptography.Aes { public AesCng() => throw null; @@ -101,7 +94,6 @@ namespace System protected override bool TryEncryptEcbCore(System.ReadOnlySpan plaintext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.AesCryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AesCryptoServiceProvider : System.Security.Cryptography.Aes { public AesCryptoServiceProvider() => throw null; @@ -123,7 +115,6 @@ namespace System public override System.Security.Cryptography.PaddingMode Padding { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.AesGcm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AesGcm : System.IDisposable { public AesGcm(System.Byte[] key) => throw null; @@ -138,7 +129,6 @@ namespace System public static System.Security.Cryptography.KeySizes TagByteSizes { get => throw null; } } - // Generated from `System.Security.Cryptography.AesManaged` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AesManaged : System.Security.Cryptography.Aes { public AesManaged() => throw null; @@ -160,7 +150,6 @@ namespace System public override System.Security.Cryptography.PaddingMode Padding { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.AsnEncodedData` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsnEncodedData { protected AsnEncodedData() => throw null; @@ -177,7 +166,6 @@ namespace System public System.Byte[] RawData { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.AsnEncodedDataCollection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsnEncodedDataCollection : System.Collections.ICollection, System.Collections.IEnumerable { public int Add(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; @@ -194,7 +182,6 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Security.Cryptography.AsnEncodedDataEnumerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsnEncodedDataEnumerator : System.Collections.IEnumerator { public System.Security.Cryptography.AsnEncodedData Current { get => throw null; } @@ -203,7 +190,6 @@ namespace System public void Reset() => throw null; } - // Generated from `System.Security.Cryptography.AsymmetricAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class AsymmetricAlgorithm : System.IDisposable { protected AsymmetricAlgorithm() => throw null; @@ -243,7 +229,6 @@ namespace System public bool TryExportSubjectPublicKeyInfoPem(System.Span destination, out int charsWritten) => throw null; } - // Generated from `System.Security.Cryptography.AsymmetricKeyExchangeDeformatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class AsymmetricKeyExchangeDeformatter { protected AsymmetricKeyExchangeDeformatter() => throw null; @@ -252,7 +237,6 @@ namespace System public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key); } - // Generated from `System.Security.Cryptography.AsymmetricKeyExchangeFormatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class AsymmetricKeyExchangeFormatter { protected AsymmetricKeyExchangeFormatter() => throw null; @@ -262,7 +246,6 @@ namespace System public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key); } - // Generated from `System.Security.Cryptography.AsymmetricSignatureDeformatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class AsymmetricSignatureDeformatter { protected AsymmetricSignatureDeformatter() => throw null; @@ -272,7 +255,6 @@ namespace System public virtual bool VerifySignature(System.Security.Cryptography.HashAlgorithm hash, System.Byte[] rgbSignature) => throw null; } - // Generated from `System.Security.Cryptography.AsymmetricSignatureFormatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class AsymmetricSignatureFormatter { protected AsymmetricSignatureFormatter() => throw null; @@ -282,7 +264,6 @@ namespace System public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key); } - // Generated from `System.Security.Cryptography.ChaCha20Poly1305` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ChaCha20Poly1305 : System.IDisposable { public ChaCha20Poly1305(System.Byte[] key) => throw null; @@ -295,7 +276,6 @@ namespace System public static bool IsSupported { get => throw null; } } - // Generated from `System.Security.Cryptography.CipherMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CipherMode : int { CBC = 1, @@ -305,7 +285,6 @@ namespace System OFB = 3, } - // Generated from `System.Security.Cryptography.CngAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CngAlgorithm : System.IEquatable { public static bool operator !=(System.Security.Cryptography.CngAlgorithm left, System.Security.Cryptography.CngAlgorithm right) => throw null; @@ -332,7 +311,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Security.Cryptography.CngAlgorithmGroup` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CngAlgorithmGroup : System.IEquatable { public static bool operator !=(System.Security.Cryptography.CngAlgorithmGroup left, System.Security.Cryptography.CngAlgorithmGroup right) => throw null; @@ -350,7 +328,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Security.Cryptography.CngExportPolicies` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CngExportPolicies : int { @@ -361,7 +338,6 @@ namespace System None = 0, } - // Generated from `System.Security.Cryptography.CngKey` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CngKey : System.IDisposable { public System.Security.Cryptography.CngAlgorithm Algorithm { get => throw null; } @@ -398,7 +374,6 @@ namespace System public string UniqueName { get => throw null; } } - // Generated from `System.Security.Cryptography.CngKeyBlobFormat` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CngKeyBlobFormat : System.IEquatable { public static bool operator !=(System.Security.Cryptography.CngKeyBlobFormat left, System.Security.Cryptography.CngKeyBlobFormat right) => throw null; @@ -419,7 +394,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Security.Cryptography.CngKeyCreationOptions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CngKeyCreationOptions : int { @@ -428,7 +402,6 @@ namespace System OverwriteExistingKey = 128, } - // Generated from `System.Security.Cryptography.CngKeyCreationParameters` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CngKeyCreationParameters { public CngKeyCreationParameters() => throw null; @@ -441,7 +414,6 @@ namespace System public System.Security.Cryptography.CngUIPolicy UIPolicy { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.CngKeyHandleOpenOptions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CngKeyHandleOpenOptions : int { @@ -449,7 +421,6 @@ namespace System None = 0, } - // Generated from `System.Security.Cryptography.CngKeyOpenOptions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CngKeyOpenOptions : int { @@ -459,7 +430,6 @@ namespace System UserKey = 0, } - // Generated from `System.Security.Cryptography.CngKeyUsages` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CngKeyUsages : int { @@ -470,7 +440,6 @@ namespace System Signing = 2, } - // Generated from `System.Security.Cryptography.CngProperty` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct CngProperty : System.IEquatable { public static bool operator !=(System.Security.Cryptography.CngProperty left, System.Security.Cryptography.CngProperty right) => throw null; @@ -485,13 +454,11 @@ namespace System public System.Security.Cryptography.CngPropertyOptions Options { get => throw null; } } - // Generated from `System.Security.Cryptography.CngPropertyCollection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CngPropertyCollection : System.Collections.ObjectModel.Collection { public CngPropertyCollection() => throw null; } - // Generated from `System.Security.Cryptography.CngPropertyOptions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CngPropertyOptions : int { @@ -500,7 +467,6 @@ namespace System Persist = -2147483648, } - // Generated from `System.Security.Cryptography.CngProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CngProvider : System.IEquatable { public static bool operator !=(System.Security.Cryptography.CngProvider left, System.Security.Cryptography.CngProvider right) => throw null; @@ -516,7 +482,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Security.Cryptography.CngUIPolicy` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CngUIPolicy { public CngUIPolicy(System.Security.Cryptography.CngUIProtectionLevels protectionLevel) => throw null; @@ -531,7 +496,6 @@ namespace System public string UseContext { get => throw null; } } - // Generated from `System.Security.Cryptography.CngUIProtectionLevels` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CngUIProtectionLevels : int { @@ -540,7 +504,6 @@ namespace System ProtectKey = 1, } - // Generated from `System.Security.Cryptography.CryptoConfig` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CryptoConfig { public static void AddAlgorithm(System.Type algorithm, params string[] names) => throw null; @@ -553,7 +516,6 @@ namespace System public static string MapNameToOID(string name) => throw null; } - // Generated from `System.Security.Cryptography.CryptoStream` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CryptoStream : System.IO.Stream, System.IDisposable { public override System.IAsyncResult BeginRead(System.Byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; @@ -589,21 +551,18 @@ namespace System public override void WriteByte(System.Byte value) => throw null; } - // Generated from `System.Security.Cryptography.CryptoStreamMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum CryptoStreamMode : int { Read = 0, Write = 1, } - // Generated from `System.Security.Cryptography.CryptographicOperations` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class CryptographicOperations { public static bool FixedTimeEquals(System.ReadOnlySpan left, System.ReadOnlySpan right) => throw null; public static void ZeroMemory(System.Span buffer) => throw null; } - // Generated from `System.Security.Cryptography.CryptographicUnexpectedOperationException` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CryptographicUnexpectedOperationException : System.Security.Cryptography.CryptographicException { public CryptographicUnexpectedOperationException() => throw null; @@ -613,7 +572,6 @@ namespace System public CryptographicUnexpectedOperationException(string format, string insert) => throw null; } - // Generated from `System.Security.Cryptography.CspKeyContainerInfo` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CspKeyContainerInfo { public bool Accessible { get => throw null; } @@ -631,7 +589,6 @@ namespace System public string UniqueKeyContainerName { get => throw null; } } - // Generated from `System.Security.Cryptography.CspParameters` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CspParameters { public CspParameters() => throw null; @@ -647,7 +604,6 @@ namespace System public int ProviderType; } - // Generated from `System.Security.Cryptography.CspProviderFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CspProviderFlags : int { @@ -662,7 +618,6 @@ namespace System UseUserProtectedKey = 32, } - // Generated from `System.Security.Cryptography.DES` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DES : System.Security.Cryptography.SymmetricAlgorithm { public static System.Security.Cryptography.DES Create() => throw null; @@ -673,7 +628,6 @@ namespace System public override System.Byte[] Key { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.DESCryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DESCryptoServiceProvider : System.Security.Cryptography.DES { public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; @@ -685,7 +639,6 @@ namespace System public override void GenerateKey() => throw null; } - // Generated from `System.Security.Cryptography.DSA` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DSA : System.Security.Cryptography.AsymmetricAlgorithm { public static System.Security.Cryptography.DSA Create() => throw null; @@ -746,7 +699,6 @@ namespace System protected virtual bool VerifySignatureCore(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; } - // Generated from `System.Security.Cryptography.DSACng` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DSACng : System.Security.Cryptography.DSA { public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; @@ -772,7 +724,6 @@ namespace System protected override bool VerifySignatureCore(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; } - // Generated from `System.Security.Cryptography.DSACryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DSACryptoServiceProvider : System.Security.Cryptography.DSA, System.Security.Cryptography.ICspAsymmetricAlgorithm { public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; @@ -806,7 +757,6 @@ namespace System public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; } - // Generated from `System.Security.Cryptography.DSAOpenSsl` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DSAOpenSsl : System.Security.Cryptography.DSA { public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; @@ -821,7 +771,6 @@ namespace System public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; } - // Generated from `System.Security.Cryptography.DSAParameters` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DSAParameters { public int Counter; @@ -835,7 +784,6 @@ namespace System public System.Byte[] Y; } - // Generated from `System.Security.Cryptography.DSASignatureDeformatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DSASignatureDeformatter : System.Security.Cryptography.AsymmetricSignatureDeformatter { public DSASignatureDeformatter() => throw null; @@ -845,14 +793,12 @@ namespace System public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; } - // Generated from `System.Security.Cryptography.DSASignatureFormat` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DSASignatureFormat : int { IeeeP1363FixedFieldConcatenation = 0, Rfc3279DerSequence = 1, } - // Generated from `System.Security.Cryptography.DSASignatureFormatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DSASignatureFormatter : System.Security.Cryptography.AsymmetricSignatureFormatter { public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; @@ -862,7 +808,6 @@ namespace System public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; } - // Generated from `System.Security.Cryptography.DeriveBytes` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class DeriveBytes : System.IDisposable { protected DeriveBytes() => throw null; @@ -872,7 +817,6 @@ namespace System public abstract void Reset(); } - // Generated from `System.Security.Cryptography.ECAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ECAlgorithm : System.Security.Cryptography.AsymmetricAlgorithm { protected ECAlgorithm() => throw null; @@ -898,10 +842,8 @@ namespace System public override bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.ECCurve` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ECCurve { - // Generated from `System.Security.Cryptography.ECCurve+ECCurveType` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ECCurveType : int { Characteristic2 = 4, @@ -913,7 +855,6 @@ namespace System } - // Generated from `System.Security.Cryptography.ECCurve+NamedCurves` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class NamedCurves { public static System.Security.Cryptography.ECCurve brainpoolP160r1 { get => throw null; } @@ -958,7 +899,6 @@ namespace System public void Validate() => throw null; } - // Generated from `System.Security.Cryptography.ECDiffieHellman` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ECDiffieHellman : System.Security.Cryptography.ECAlgorithm { public static System.Security.Cryptography.ECDiffieHellman Create() => throw null; @@ -979,7 +919,6 @@ namespace System public override string ToXmlString(bool includePrivateParameters) => throw null; } - // Generated from `System.Security.Cryptography.ECDiffieHellmanCng` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ECDiffieHellmanCng : System.Security.Cryptography.ECDiffieHellman { public override System.Byte[] DeriveKeyFromHash(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Byte[] secretPrepend, System.Byte[] secretAppend) => throw null; @@ -1022,7 +961,6 @@ namespace System public bool UseSecretAgreementAsHmacKey { get => throw null; } } - // Generated from `System.Security.Cryptography.ECDiffieHellmanCngPublicKey` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ECDiffieHellmanCngPublicKey : System.Security.Cryptography.ECDiffieHellmanPublicKey { public System.Security.Cryptography.CngKeyBlobFormat BlobFormat { get => throw null; } @@ -1035,7 +973,6 @@ namespace System public override string ToXmlString() => throw null; } - // Generated from `System.Security.Cryptography.ECDiffieHellmanKeyDerivationFunction` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ECDiffieHellmanKeyDerivationFunction : int { Hash = 0, @@ -1043,7 +980,6 @@ namespace System Tls = 2, } - // Generated from `System.Security.Cryptography.ECDiffieHellmanOpenSsl` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ECDiffieHellmanOpenSsl : System.Security.Cryptography.ECDiffieHellman { public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateKeyHandle() => throw null; @@ -1057,7 +993,6 @@ namespace System public override System.Security.Cryptography.ECDiffieHellmanPublicKey PublicKey { get => throw null; } } - // Generated from `System.Security.Cryptography.ECDiffieHellmanPublicKey` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ECDiffieHellmanPublicKey : System.IDisposable { public void Dispose() => throw null; @@ -1072,7 +1007,6 @@ namespace System public virtual bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.ECDsa` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class ECDsa : System.Security.Cryptography.ECAlgorithm { public static System.Security.Cryptography.ECDsa Create() => throw null; @@ -1130,7 +1064,6 @@ namespace System protected virtual bool VerifyHashCore(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; } - // Generated from `System.Security.Cryptography.ECDsaCng` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ECDsaCng : System.Security.Cryptography.ECDsa { protected override void Dispose(bool disposing) => throw null; @@ -1170,7 +1103,6 @@ namespace System protected override bool VerifyHashCore(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.DSASignatureFormat signatureFormat) => throw null; } - // Generated from `System.Security.Cryptography.ECDsaOpenSsl` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ECDsaOpenSsl : System.Security.Cryptography.ECDsa { public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateKeyHandle() => throw null; @@ -1183,13 +1115,11 @@ namespace System public override bool VerifyHash(System.Byte[] hash, System.Byte[] signature) => throw null; } - // Generated from `System.Security.Cryptography.ECKeyXmlFormat` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ECKeyXmlFormat : int { Rfc4050 = 0, } - // Generated from `System.Security.Cryptography.ECParameters` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ECParameters { public System.Security.Cryptography.ECCurve Curve; @@ -1199,7 +1129,6 @@ namespace System public void Validate() => throw null; } - // Generated from `System.Security.Cryptography.ECPoint` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ECPoint { // Stub generator skipped constructor @@ -1207,7 +1136,6 @@ namespace System public System.Byte[] Y; } - // Generated from `System.Security.Cryptography.FromBase64Transform` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class FromBase64Transform : System.IDisposable, System.Security.Cryptography.ICryptoTransform { public virtual bool CanReuseTransform { get => throw null; } @@ -1224,14 +1152,12 @@ namespace System // ERR: Stub generator didn't handle member: ~FromBase64Transform } - // Generated from `System.Security.Cryptography.FromBase64TransformMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum FromBase64TransformMode : int { DoNotIgnoreWhiteSpaces = 1, IgnoreWhiteSpaces = 0, } - // Generated from `System.Security.Cryptography.HKDF` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class HKDF { public static System.Byte[] DeriveKey(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.Byte[] ikm, int outputLength, System.Byte[] salt = default(System.Byte[]), System.Byte[] info = default(System.Byte[])) => throw null; @@ -1242,7 +1168,6 @@ namespace System public static int Extract(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, System.ReadOnlySpan ikm, System.ReadOnlySpan salt, System.Span prk) => throw null; } - // Generated from `System.Security.Cryptography.HMAC` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class HMAC : System.Security.Cryptography.KeyedHashAlgorithm { protected int BlockSizeValue { get => throw null; set => throw null; } @@ -1259,7 +1184,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.HMACMD5` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HMACMD5 : System.Security.Cryptography.HMAC { protected override void Dispose(bool disposing) => throw null; @@ -1285,7 +1209,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.HMACSHA1` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HMACSHA1 : System.Security.Cryptography.HMAC { protected override void Dispose(bool disposing) => throw null; @@ -1312,7 +1235,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.HMACSHA256` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HMACSHA256 : System.Security.Cryptography.HMAC { protected override void Dispose(bool disposing) => throw null; @@ -1338,7 +1260,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.HMACSHA384` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HMACSHA384 : System.Security.Cryptography.HMAC { protected override void Dispose(bool disposing) => throw null; @@ -1365,7 +1286,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.HMACSHA512` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HMACSHA512 : System.Security.Cryptography.HMAC { protected override void Dispose(bool disposing) => throw null; @@ -1392,7 +1312,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.HashAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class HashAlgorithm : System.IDisposable, System.Security.Cryptography.ICryptoTransform { public virtual bool CanReuseTransform { get => throw null; } @@ -1424,7 +1343,6 @@ namespace System protected virtual bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.HashAlgorithmName` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct HashAlgorithmName : System.IEquatable { public static bool operator !=(System.Security.Cryptography.HashAlgorithmName left, System.Security.Cryptography.HashAlgorithmName right) => throw null; @@ -1445,7 +1363,6 @@ namespace System public static bool TryFromOid(string oidValue, out System.Security.Cryptography.HashAlgorithmName value) => throw null; } - // Generated from `System.Security.Cryptography.ICryptoTransform` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICryptoTransform : System.IDisposable { bool CanReuseTransform { get; } @@ -1456,7 +1373,6 @@ namespace System System.Byte[] TransformFinalBlock(System.Byte[] inputBuffer, int inputOffset, int inputCount); } - // Generated from `System.Security.Cryptography.ICspAsymmetricAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ICspAsymmetricAlgorithm { System.Security.Cryptography.CspKeyContainerInfo CspKeyContainerInfo { get; } @@ -1464,7 +1380,6 @@ namespace System void ImportCspBlob(System.Byte[] rawData); } - // Generated from `System.Security.Cryptography.IncrementalHash` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IncrementalHash : System.IDisposable { public System.Security.Cryptography.HashAlgorithmName AlgorithmName { get => throw null; } @@ -1484,14 +1399,12 @@ namespace System public bool TryGetHashAndReset(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.KeyNumber` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum KeyNumber : int { Exchange = 1, Signature = 2, } - // Generated from `System.Security.Cryptography.KeySizes` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class KeySizes { public KeySizes(int minSize, int maxSize, int skipSize) => throw null; @@ -1500,7 +1413,6 @@ namespace System public int SkipSize { get => throw null; } } - // Generated from `System.Security.Cryptography.KeyedHashAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class KeyedHashAlgorithm : System.Security.Cryptography.HashAlgorithm { public static System.Security.Cryptography.KeyedHashAlgorithm Create() => throw null; @@ -1511,7 +1423,6 @@ namespace System protected KeyedHashAlgorithm() => throw null; } - // Generated from `System.Security.Cryptography.MD5` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MD5 : System.Security.Cryptography.HashAlgorithm { public static System.Security.Cryptography.MD5 Create() => throw null; @@ -1529,7 +1440,6 @@ namespace System public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.MD5CryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MD5CryptoServiceProvider : System.Security.Cryptography.MD5 { protected override void Dispose(bool disposing) => throw null; @@ -1541,14 +1451,12 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.MaskGenerationMethod` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class MaskGenerationMethod { public abstract System.Byte[] GenerateMask(System.Byte[] rgbSeed, int cbReturn); protected MaskGenerationMethod() => throw null; } - // Generated from `System.Security.Cryptography.Oid` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Oid { public string FriendlyName { get => throw null; set => throw null; } @@ -1561,7 +1469,6 @@ namespace System public string Value { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.OidCollection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OidCollection : System.Collections.ICollection, System.Collections.IEnumerable { public int Add(System.Security.Cryptography.Oid oid) => throw null; @@ -1577,7 +1484,6 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Security.Cryptography.OidEnumerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class OidEnumerator : System.Collections.IEnumerator { public System.Security.Cryptography.Oid Current { get => throw null; } @@ -1586,7 +1492,6 @@ namespace System public void Reset() => throw null; } - // Generated from `System.Security.Cryptography.OidGroup` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum OidGroup : int { All = 0, @@ -1602,7 +1507,6 @@ namespace System Template = 9, } - // Generated from `System.Security.Cryptography.PKCS1MaskGenerationMethod` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PKCS1MaskGenerationMethod : System.Security.Cryptography.MaskGenerationMethod { public override System.Byte[] GenerateMask(System.Byte[] rgbSeed, int cbReturn) => throw null; @@ -1610,7 +1514,6 @@ namespace System public PKCS1MaskGenerationMethod() => throw null; } - // Generated from `System.Security.Cryptography.PaddingMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PaddingMode : int { ANSIX923 = 4, @@ -1620,7 +1523,6 @@ namespace System Zeros = 3, } - // Generated from `System.Security.Cryptography.PasswordDeriveBytes` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PasswordDeriveBytes : System.Security.Cryptography.DeriveBytes { public System.Byte[] CryptDeriveKey(string algname, string alghashname, int keySize, System.Byte[] rgbIV) => throw null; @@ -1640,7 +1542,6 @@ namespace System public System.Byte[] Salt { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.PbeEncryptionAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum PbeEncryptionAlgorithm : int { Aes128Cbc = 1, @@ -1650,7 +1551,6 @@ namespace System Unknown = 0, } - // Generated from `System.Security.Cryptography.PbeParameters` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PbeParameters { public System.Security.Cryptography.PbeEncryptionAlgorithm EncryptionAlgorithm { get => throw null; } @@ -1659,7 +1559,6 @@ namespace System public PbeParameters(System.Security.Cryptography.PbeEncryptionAlgorithm encryptionAlgorithm, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int iterationCount) => throw null; } - // Generated from `System.Security.Cryptography.PemEncoding` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class PemEncoding { public static System.Security.Cryptography.PemFields Find(System.ReadOnlySpan pemData) => throw null; @@ -1670,7 +1569,6 @@ namespace System public static string WriteString(System.ReadOnlySpan label, System.ReadOnlySpan data) => throw null; } - // Generated from `System.Security.Cryptography.PemFields` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct PemFields { public System.Range Base64Data { get => throw null; } @@ -1680,7 +1578,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Security.Cryptography.RC2` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class RC2 : System.Security.Cryptography.SymmetricAlgorithm { public static System.Security.Cryptography.RC2 Create() => throw null; @@ -1691,7 +1588,6 @@ namespace System protected RC2() => throw null; } - // Generated from `System.Security.Cryptography.RC2CryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RC2CryptoServiceProvider : System.Security.Cryptography.RC2 { public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(System.Byte[] rgbKey, System.Byte[] rgbIV) => throw null; @@ -1703,7 +1599,6 @@ namespace System public bool UseSalt { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.RNGCryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RNGCryptoServiceProvider : System.Security.Cryptography.RandomNumberGenerator { protected override void Dispose(bool disposing) => throw null; @@ -1718,7 +1613,6 @@ namespace System public RNGCryptoServiceProvider(string str) => throw null; } - // Generated from `System.Security.Cryptography.RSA` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class RSA : System.Security.Cryptography.AsymmetricAlgorithm { public static System.Security.Cryptography.RSA Create() => throw null; @@ -1784,7 +1678,6 @@ namespace System public virtual bool VerifyHash(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; } - // Generated from `System.Security.Cryptography.RSACng` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RSACng : System.Security.Cryptography.RSA { public override System.Byte[] Decrypt(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) => throw null; @@ -1813,7 +1706,6 @@ namespace System public override bool VerifyHash(System.ReadOnlySpan hash, System.ReadOnlySpan signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) => throw null; } - // Generated from `System.Security.Cryptography.RSACryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RSACryptoServiceProvider : System.Security.Cryptography.RSA, System.Security.Cryptography.ICspAsymmetricAlgorithm { public System.Security.Cryptography.CspKeyContainerInfo CspKeyContainerInfo { get => throw null; } @@ -1851,7 +1743,6 @@ namespace System public bool VerifyHash(System.Byte[] rgbHash, string str, System.Byte[] rgbSignature) => throw null; } - // Generated from `System.Security.Cryptography.RSAEncryptionPadding` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RSAEncryptionPadding : System.IEquatable { public static bool operator !=(System.Security.Cryptography.RSAEncryptionPadding left, System.Security.Cryptography.RSAEncryptionPadding right) => throw null; @@ -1870,14 +1761,12 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Security.Cryptography.RSAEncryptionPaddingMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RSAEncryptionPaddingMode : int { Oaep = 1, Pkcs1 = 0, } - // Generated from `System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RSAOAEPKeyExchangeDeformatter : System.Security.Cryptography.AsymmetricKeyExchangeDeformatter { public override System.Byte[] DecryptKeyExchange(System.Byte[] rgbData) => throw null; @@ -1887,7 +1776,6 @@ namespace System public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; } - // Generated from `System.Security.Cryptography.RSAOAEPKeyExchangeFormatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RSAOAEPKeyExchangeFormatter : System.Security.Cryptography.AsymmetricKeyExchangeFormatter { public override System.Byte[] CreateKeyExchange(System.Byte[] rgbData) => throw null; @@ -1900,7 +1788,6 @@ namespace System public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; } - // Generated from `System.Security.Cryptography.RSAOpenSsl` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RSAOpenSsl : System.Security.Cryptography.RSA { public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateKeyHandle() => throw null; @@ -1913,7 +1800,6 @@ namespace System public RSAOpenSsl(int keySize) => throw null; } - // Generated from `System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RSAPKCS1KeyExchangeDeformatter : System.Security.Cryptography.AsymmetricKeyExchangeDeformatter { public override System.Byte[] DecryptKeyExchange(System.Byte[] rgbIn) => throw null; @@ -1924,7 +1810,6 @@ namespace System public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; } - // Generated from `System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RSAPKCS1KeyExchangeFormatter : System.Security.Cryptography.AsymmetricKeyExchangeFormatter { public override System.Byte[] CreateKeyExchange(System.Byte[] rgbData) => throw null; @@ -1936,7 +1821,6 @@ namespace System public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; } - // Generated from `System.Security.Cryptography.RSAPKCS1SignatureDeformatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RSAPKCS1SignatureDeformatter : System.Security.Cryptography.AsymmetricSignatureDeformatter { public RSAPKCS1SignatureDeformatter() => throw null; @@ -1946,7 +1830,6 @@ namespace System public override bool VerifySignature(System.Byte[] rgbHash, System.Byte[] rgbSignature) => throw null; } - // Generated from `System.Security.Cryptography.RSAPKCS1SignatureFormatter` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RSAPKCS1SignatureFormatter : System.Security.Cryptography.AsymmetricSignatureFormatter { public override System.Byte[] CreateSignature(System.Byte[] rgbHash) => throw null; @@ -1956,7 +1839,6 @@ namespace System public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; } - // Generated from `System.Security.Cryptography.RSAParameters` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct RSAParameters { public System.Byte[] D; @@ -1970,7 +1852,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Security.Cryptography.RSASignaturePadding` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RSASignaturePadding : System.IEquatable { public static bool operator !=(System.Security.Cryptography.RSASignaturePadding left, System.Security.Cryptography.RSASignaturePadding right) => throw null; @@ -1984,14 +1865,12 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Security.Cryptography.RSASignaturePaddingMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RSASignaturePaddingMode : int { Pkcs1 = 0, Pss = 1, } - // Generated from `System.Security.Cryptography.RandomNumberGenerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class RandomNumberGenerator : System.IDisposable { public static System.Security.Cryptography.RandomNumberGenerator Create() => throw null; @@ -2010,7 +1889,6 @@ namespace System protected RandomNumberGenerator() => throw null; } - // Generated from `System.Security.Cryptography.Rfc2898DeriveBytes` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Rfc2898DeriveBytes : System.Security.Cryptography.DeriveBytes { public System.Byte[] CryptDeriveKey(string algname, string alghashname, int keySize, System.Byte[] rgbIV) => throw null; @@ -2036,7 +1914,6 @@ namespace System public System.Byte[] Salt { get => throw null; set => throw null; } } - // Generated from `System.Security.Cryptography.Rijndael` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class Rijndael : System.Security.Cryptography.SymmetricAlgorithm { public static System.Security.Cryptography.Rijndael Create() => throw null; @@ -2044,7 +1921,6 @@ namespace System protected Rijndael() => throw null; } - // Generated from `System.Security.Cryptography.RijndaelManaged` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RijndaelManaged : System.Security.Cryptography.Rijndael { public override int BlockSize { get => throw null; set => throw null; } @@ -2065,7 +1941,6 @@ namespace System public RijndaelManaged() => throw null; } - // Generated from `System.Security.Cryptography.SHA1` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SHA1 : System.Security.Cryptography.HashAlgorithm { public static System.Security.Cryptography.SHA1 Create() => throw null; @@ -2083,7 +1958,6 @@ namespace System public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.SHA1CryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SHA1CryptoServiceProvider : System.Security.Cryptography.SHA1 { protected override void Dispose(bool disposing) => throw null; @@ -2095,7 +1969,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.SHA1Managed` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SHA1Managed : System.Security.Cryptography.SHA1 { protected override void Dispose(bool disposing) => throw null; @@ -2107,7 +1980,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.SHA256` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SHA256 : System.Security.Cryptography.HashAlgorithm { public static System.Security.Cryptography.SHA256 Create() => throw null; @@ -2125,7 +1997,6 @@ namespace System public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.SHA256CryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SHA256CryptoServiceProvider : System.Security.Cryptography.SHA256 { protected override void Dispose(bool disposing) => throw null; @@ -2137,7 +2008,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.SHA256Managed` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SHA256Managed : System.Security.Cryptography.SHA256 { protected override void Dispose(bool disposing) => throw null; @@ -2149,7 +2019,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.SHA384` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SHA384 : System.Security.Cryptography.HashAlgorithm { public static System.Security.Cryptography.SHA384 Create() => throw null; @@ -2167,7 +2036,6 @@ namespace System public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.SHA384CryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SHA384CryptoServiceProvider : System.Security.Cryptography.SHA384 { protected override void Dispose(bool disposing) => throw null; @@ -2179,7 +2047,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.SHA384Managed` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SHA384Managed : System.Security.Cryptography.SHA384 { protected override void Dispose(bool disposing) => throw null; @@ -2191,7 +2058,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.SHA512` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SHA512 : System.Security.Cryptography.HashAlgorithm { public static System.Security.Cryptography.SHA512 Create() => throw null; @@ -2209,7 +2075,6 @@ namespace System public static bool TryHashData(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.SHA512CryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SHA512CryptoServiceProvider : System.Security.Cryptography.SHA512 { protected override void Dispose(bool disposing) => throw null; @@ -2221,7 +2086,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.SHA512Managed` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SHA512Managed : System.Security.Cryptography.SHA512 { protected override void Dispose(bool disposing) => throw null; @@ -2233,7 +2097,6 @@ namespace System protected override bool TryHashFinal(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.SafeEvpPKeyHandle` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeEvpPKeyHandle : System.Runtime.InteropServices.SafeHandle { public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateHandle() => throw null; @@ -2244,7 +2107,6 @@ namespace System public SafeEvpPKeyHandle(System.IntPtr handle, bool ownsHandle) : base(default(System.IntPtr), default(bool)) => throw null; } - // Generated from `System.Security.Cryptography.SignatureDescription` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SignatureDescription { public virtual System.Security.Cryptography.AsymmetricSignatureDeformatter CreateDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key) => throw null; @@ -2258,7 +2120,6 @@ namespace System public SignatureDescription(System.Security.SecurityElement el) => throw null; } - // Generated from `System.Security.Cryptography.SymmetricAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SymmetricAlgorithm : System.IDisposable { public virtual int BlockSize { get => throw null; set => throw null; } @@ -2327,7 +2188,6 @@ namespace System public bool ValidKeySize(int bitLength) => throw null; } - // Generated from `System.Security.Cryptography.ToBase64Transform` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ToBase64Transform : System.IDisposable, System.Security.Cryptography.ICryptoTransform { public virtual bool CanReuseTransform { get => throw null; } @@ -2343,7 +2203,6 @@ namespace System // ERR: Stub generator didn't handle member: ~ToBase64Transform } - // Generated from `System.Security.Cryptography.TripleDES` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class TripleDES : System.Security.Cryptography.SymmetricAlgorithm { public static System.Security.Cryptography.TripleDES Create() => throw null; @@ -2353,7 +2212,6 @@ namespace System protected TripleDES() => throw null; } - // Generated from `System.Security.Cryptography.TripleDESCng` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TripleDESCng : System.Security.Cryptography.TripleDES { public override System.Security.Cryptography.ICryptoTransform CreateDecryptor() => throw null; @@ -2377,7 +2235,6 @@ namespace System protected override bool TryEncryptEcbCore(System.ReadOnlySpan plaintext, System.Span destination, System.Security.Cryptography.PaddingMode paddingMode, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.TripleDESCryptoServiceProvider` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TripleDESCryptoServiceProvider : System.Security.Cryptography.TripleDES { public override int BlockSize { get => throw null; set => throw null; } @@ -2401,7 +2258,6 @@ namespace System namespace X509Certificates { - // Generated from `System.Security.Cryptography.X509Certificates.CertificateRequest` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CertificateRequest { public System.Collections.ObjectModel.Collection CertificateExtensions { get => throw null; } @@ -2430,7 +2286,6 @@ namespace System public System.Security.Cryptography.X509Certificates.X500DistinguishedName SubjectName { get => throw null; } } - // Generated from `System.Security.Cryptography.X509Certificates.CertificateRequestLoadOptions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CertificateRequestLoadOptions : int { @@ -2439,7 +2294,6 @@ namespace System UnsafeLoadCertificateExtensions = 2, } - // Generated from `System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CertificateRevocationListBuilder { public void AddEntry(System.Byte[] serialNumber, System.DateTimeOffset? revocationTime = default(System.DateTimeOffset?), System.Security.Cryptography.X509Certificates.X509RevocationReason? reason = default(System.Security.Cryptography.X509Certificates.X509RevocationReason?)) => throw null; @@ -2457,7 +2311,6 @@ namespace System public bool RemoveEntry(System.ReadOnlySpan serialNumber) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.DSACertificateExtensions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DSACertificateExtensions { public static System.Security.Cryptography.X509Certificates.X509Certificate2 CopyWithPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.DSA privateKey) => throw null; @@ -2465,7 +2318,6 @@ namespace System public static System.Security.Cryptography.DSA GetDSAPublicKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.ECDsaCertificateExtensions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ECDsaCertificateExtensions { public static System.Security.Cryptography.X509Certificates.X509Certificate2 CopyWithPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.ECDsa privateKey) => throw null; @@ -2473,7 +2325,6 @@ namespace System public static System.Security.Cryptography.ECDsa GetECDsaPublicKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.OpenFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum OpenFlags : int { @@ -2484,7 +2335,6 @@ namespace System ReadWrite = 1, } - // Generated from `System.Security.Cryptography.X509Certificates.PublicKey` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PublicKey { public static System.Security.Cryptography.X509Certificates.PublicKey CreateFromSubjectPublicKeyInfo(System.ReadOnlySpan source, out int bytesRead) => throw null; @@ -2502,7 +2352,6 @@ namespace System public bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.RSACertificateExtensions` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class RSACertificateExtensions { public static System.Security.Cryptography.X509Certificates.X509Certificate2 CopyWithPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.RSA privateKey) => throw null; @@ -2510,14 +2359,12 @@ namespace System public static System.Security.Cryptography.RSA GetRSAPublicKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.StoreLocation` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum StoreLocation : int { CurrentUser = 1, LocalMachine = 2, } - // Generated from `System.Security.Cryptography.X509Certificates.StoreName` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum StoreName : int { AddressBook = 1, @@ -2530,7 +2377,6 @@ namespace System TrustedPublisher = 8, } - // Generated from `System.Security.Cryptography.X509Certificates.SubjectAlternativeNameBuilder` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SubjectAlternativeNameBuilder { public void AddDnsName(string dnsName) => throw null; @@ -2542,7 +2388,6 @@ namespace System public SubjectAlternativeNameBuilder() => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X500DistinguishedName` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X500DistinguishedName : System.Security.Cryptography.AsnEncodedData { public string Decode(System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags flag) => throw null; @@ -2557,7 +2402,6 @@ namespace System public X500DistinguishedName(string distinguishedName, System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags flag) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X500DistinguishedNameBuilder` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X500DistinguishedNameBuilder { public void Add(System.Security.Cryptography.Oid oid, string value, System.Formats.Asn1.UniversalTagNumber? stringEncodingType = default(System.Formats.Asn1.UniversalTagNumber?)) => throw null; @@ -2574,7 +2418,6 @@ namespace System public X500DistinguishedNameBuilder() => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum X500DistinguishedNameFlags : int { @@ -2590,7 +2433,6 @@ namespace System UseUTF8Encoding = 4096, } - // Generated from `System.Security.Cryptography.X509Certificates.X500RelativeDistinguishedName` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X500RelativeDistinguishedName { public System.Security.Cryptography.Oid GetSingleElementType() => throw null; @@ -2599,7 +2441,6 @@ namespace System public System.ReadOnlyMemory RawData { get => throw null; } } - // Generated from `System.Security.Cryptography.X509Certificates.X509AuthorityInformationAccessExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509AuthorityInformationAccessExtension : System.Security.Cryptography.X509Certificates.X509Extension { public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; @@ -2613,7 +2454,6 @@ namespace System public X509AuthorityInformationAccessExtension(System.ReadOnlySpan rawData, bool critical = default(bool)) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509AuthorityKeyIdentifierExtension : System.Security.Cryptography.X509Certificates.X509Extension { public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; @@ -2634,7 +2474,6 @@ namespace System public X509AuthorityKeyIdentifierExtension(System.ReadOnlySpan rawData, bool critical = default(bool)) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509BasicConstraintsExtension : System.Security.Cryptography.X509Certificates.X509Extension { public bool CertificateAuthority { get => throw null; } @@ -2648,7 +2487,6 @@ namespace System public X509BasicConstraintsExtension(bool certificateAuthority, bool hasPathLengthConstraint, int pathLengthConstraint, bool critical) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509Certificate` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509Certificate : System.IDisposable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public static System.Security.Cryptography.X509Certificates.X509Certificate CreateFromCertFile(string filename) => throw null; @@ -2712,7 +2550,6 @@ namespace System public X509Certificate(string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509Certificate2` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509Certificate2 : System.Security.Cryptography.X509Certificates.X509Certificate { public bool Archived { get => throw null; set => throw null; } @@ -2775,7 +2612,6 @@ namespace System public X509Certificate2(string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509Certificate2Collection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509Certificate2Collection : System.Security.Cryptography.X509Certificates.X509CertificateCollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public int Add(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; @@ -2812,7 +2648,6 @@ namespace System public X509Certificate2Collection(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509Certificate2Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Security.Cryptography.X509Certificates.X509Certificate2 Current { get => throw null; } @@ -2824,10 +2659,8 @@ namespace System void System.Collections.IEnumerator.Reset() => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509CertificateCollection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509CertificateCollection : System.Collections.CollectionBase { - // Generated from `System.Security.Cryptography.X509Certificates.X509CertificateCollection+X509CertificateEnumerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509CertificateEnumerator : System.Collections.IEnumerator { public System.Security.Cryptography.X509Certificates.X509Certificate Current { get => throw null; } @@ -2857,7 +2690,6 @@ namespace System public X509CertificateCollection(System.Security.Cryptography.X509Certificates.X509Certificate[] value) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509Chain` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509Chain : System.IDisposable { public bool Build(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; @@ -2875,7 +2707,6 @@ namespace System public X509Chain(bool useMachineContext) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainElement` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509ChainElement { public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get => throw null; } @@ -2883,7 +2714,6 @@ namespace System public string Information { get => throw null; } } - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainElementCollection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509ChainElementCollection : System.Collections.Generic.IEnumerable, System.Collections.ICollection, System.Collections.IEnumerable { void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null; @@ -2897,7 +2727,6 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509ChainElementEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Security.Cryptography.X509Certificates.X509ChainElement Current { get => throw null; } @@ -2907,7 +2736,6 @@ namespace System public void Reset() => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainPolicy` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509ChainPolicy { public System.Security.Cryptography.OidCollection ApplicationPolicy { get => throw null; } @@ -2927,7 +2755,6 @@ namespace System public X509ChainPolicy() => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainStatus` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct X509ChainStatus { public System.Security.Cryptography.X509Certificates.X509ChainStatusFlags Status { get => throw null; set => throw null; } @@ -2935,7 +2762,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainStatusFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum X509ChainStatusFlags : int { @@ -2967,14 +2793,12 @@ namespace System UntrustedRoot = 32, } - // Generated from `System.Security.Cryptography.X509Certificates.X509ChainTrustMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum X509ChainTrustMode : int { CustomRootTrust = 1, System = 0, } - // Generated from `System.Security.Cryptography.X509Certificates.X509ContentType` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum X509ContentType : int { Authenticode = 6, @@ -2987,7 +2811,6 @@ namespace System Unknown = 0, } - // Generated from `System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509EnhancedKeyUsageExtension : System.Security.Cryptography.X509Certificates.X509Extension { public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; @@ -2997,7 +2820,6 @@ namespace System public X509EnhancedKeyUsageExtension(System.Security.Cryptography.OidCollection enhancedKeyUsages, bool critical) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509Extension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509Extension : System.Security.Cryptography.AsnEncodedData { public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; @@ -3010,7 +2832,6 @@ namespace System public X509Extension(string oid, System.ReadOnlySpan rawData, bool critical) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509ExtensionCollection` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509ExtensionCollection : System.Collections.Generic.IEnumerable, System.Collections.ICollection, System.Collections.IEnumerable { public int Add(System.Security.Cryptography.X509Certificates.X509Extension extension) => throw null; @@ -3027,7 +2848,6 @@ namespace System public X509ExtensionCollection() => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509ExtensionEnumerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509ExtensionEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Security.Cryptography.X509Certificates.X509Extension Current { get => throw null; } @@ -3037,7 +2857,6 @@ namespace System public void Reset() => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509FindType` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum X509FindType : int { FindByApplicationPolicy = 10, @@ -3057,7 +2876,6 @@ namespace System FindByTimeValid = 6, } - // Generated from `System.Security.Cryptography.X509Certificates.X509IncludeOption` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum X509IncludeOption : int { EndCertOnly = 2, @@ -3066,7 +2884,6 @@ namespace System WholeChain = 3, } - // Generated from `System.Security.Cryptography.X509Certificates.X509KeyStorageFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum X509KeyStorageFlags : int { @@ -3079,7 +2896,6 @@ namespace System UserProtected = 8, } - // Generated from `System.Security.Cryptography.X509Certificates.X509KeyUsageExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509KeyUsageExtension : System.Security.Cryptography.X509Certificates.X509Extension { public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; @@ -3089,7 +2905,6 @@ namespace System public X509KeyUsageExtension(System.Security.Cryptography.X509Certificates.X509KeyUsageFlags keyUsages, bool critical) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509KeyUsageFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum X509KeyUsageFlags : int { @@ -3105,7 +2920,6 @@ namespace System None = 0, } - // Generated from `System.Security.Cryptography.X509Certificates.X509NameType` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum X509NameType : int { DnsFromAlternativeName = 4, @@ -3116,7 +2930,6 @@ namespace System UrlName = 5, } - // Generated from `System.Security.Cryptography.X509Certificates.X509RevocationFlag` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum X509RevocationFlag : int { EndCertificateOnly = 0, @@ -3124,7 +2937,6 @@ namespace System ExcludeRoot = 2, } - // Generated from `System.Security.Cryptography.X509Certificates.X509RevocationMode` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum X509RevocationMode : int { NoCheck = 0, @@ -3132,7 +2944,6 @@ namespace System Online = 1, } - // Generated from `System.Security.Cryptography.X509Certificates.X509RevocationReason` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum X509RevocationReason : int { AACompromise = 10, @@ -3148,7 +2959,6 @@ namespace System WeakAlgorithmOrKey = 11, } - // Generated from `System.Security.Cryptography.X509Certificates.X509SignatureGenerator` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class X509SignatureGenerator { protected abstract System.Security.Cryptography.X509Certificates.PublicKey BuildPublicKey(); @@ -3160,7 +2970,6 @@ namespace System protected X509SignatureGenerator() => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509Store` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509Store : System.IDisposable { public void Add(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) => throw null; @@ -3186,7 +2995,6 @@ namespace System public X509Store(string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, System.Security.Cryptography.X509Certificates.OpenFlags flags) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509SubjectAlternativeNameExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509SubjectAlternativeNameExtension : System.Security.Cryptography.X509Certificates.X509Extension { public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; @@ -3197,7 +3005,6 @@ namespace System public X509SubjectAlternativeNameExtension(System.ReadOnlySpan rawData, bool critical = default(bool)) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class X509SubjectKeyIdentifierExtension : System.Security.Cryptography.X509Certificates.X509Extension { public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) => throw null; @@ -3212,7 +3019,6 @@ namespace System public X509SubjectKeyIdentifierExtension(string subjectKeyIdentifier, bool critical) => throw null; } - // Generated from `System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum X509SubjectKeyIdentifierHashAlgorithm : int { CapiSha1 = 2, @@ -3220,7 +3026,6 @@ namespace System ShortSha1 = 1, } - // Generated from `System.Security.Cryptography.X509Certificates.X509VerificationFlags` in `System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum X509VerificationFlags : int { diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Principal.Windows.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Principal.Windows.cs index f79ef83dafa..2b35db3bc00 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Principal.Windows.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Security.Principal.Windows.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace Microsoft { @@ -6,7 +7,6 @@ namespace Microsoft { namespace SafeHandles { - // Generated from `Microsoft.Win32.SafeHandles.SafeAccessTokenHandle` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SafeAccessTokenHandle : System.Runtime.InteropServices.SafeHandle { public static Microsoft.Win32.SafeHandles.SafeAccessTokenHandle InvalidHandle { get => throw null; } @@ -25,7 +25,6 @@ namespace System { namespace Principal { - // Generated from `System.Security.Principal.IdentityNotMappedException` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IdentityNotMappedException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; @@ -35,7 +34,6 @@ namespace System public System.Security.Principal.IdentityReferenceCollection UnmappedIdentities { get => throw null; } } - // Generated from `System.Security.Principal.IdentityReference` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class IdentityReference { public static bool operator !=(System.Security.Principal.IdentityReference left, System.Security.Principal.IdentityReference right) => throw null; @@ -49,7 +47,6 @@ namespace System public abstract string Value { get; } } - // Generated from `System.Security.Principal.IdentityReferenceCollection` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class IdentityReferenceCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public void Add(System.Security.Principal.IdentityReference identity) => throw null; @@ -68,7 +65,6 @@ namespace System public System.Security.Principal.IdentityReferenceCollection Translate(System.Type targetType, bool forceSuccess) => throw null; } - // Generated from `System.Security.Principal.NTAccount` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NTAccount : System.Security.Principal.IdentityReference { public static bool operator !=(System.Security.Principal.NTAccount left, System.Security.Principal.NTAccount right) => throw null; @@ -83,7 +79,6 @@ namespace System public override string Value { get => throw null; } } - // Generated from `System.Security.Principal.SecurityIdentifier` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SecurityIdentifier : System.Security.Principal.IdentityReference, System.IComparable { public static bool operator !=(System.Security.Principal.SecurityIdentifier left, System.Security.Principal.SecurityIdentifier right) => throw null; @@ -110,7 +105,6 @@ namespace System public override string Value { get => throw null; } } - // Generated from `System.Security.Principal.TokenAccessLevels` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum TokenAccessLevels : int { @@ -129,7 +123,6 @@ namespace System Write = 131296, } - // Generated from `System.Security.Principal.WellKnownSidType` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WellKnownSidType : int { AccountAdministratorSid = 38, @@ -230,7 +223,6 @@ namespace System WorldSid = 1, } - // Generated from `System.Security.Principal.WindowsAccountType` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WindowsAccountType : int { Anonymous = 3, @@ -239,7 +231,6 @@ namespace System System = 2, } - // Generated from `System.Security.Principal.WindowsBuiltInRole` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WindowsBuiltInRole : int { AccountOperator = 548, @@ -253,7 +244,6 @@ namespace System User = 545, } - // Generated from `System.Security.Principal.WindowsIdentity` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WindowsIdentity : System.Security.Claims.ClaimsIdentity, System.IDisposable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public Microsoft.Win32.SafeHandles.SafeAccessTokenHandle AccessToken { get => throw null; } @@ -294,7 +284,6 @@ namespace System public WindowsIdentity(string sUserPrincipalName) => throw null; } - // Generated from `System.Security.Principal.WindowsPrincipal` in `System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WindowsPrincipal : System.Security.Claims.ClaimsPrincipal { public virtual System.Collections.Generic.IEnumerable DeviceClaims { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.CodePages.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.CodePages.cs index 3f1a653e166..4ea79881dce 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.CodePages.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.CodePages.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Text.Encoding.CodePages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Text { - // Generated from `System.Text.CodePagesEncodingProvider` in `System.Text.Encoding.CodePages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CodePagesEncodingProvider : System.Text.EncodingProvider { public override System.Text.Encoding GetEncoding(int codepage) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.Extensions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.Extensions.cs index 5b4f0ec85c1..cf256dec475 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.Extensions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encoding.Extensions.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Text.Encoding.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Text { - // Generated from `System.Text.ASCIIEncoding` in `System.Text.Encoding.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ASCIIEncoding : System.Text.Encoding { public ASCIIEncoding() => throw null; @@ -30,7 +30,6 @@ namespace System public override bool IsSingleByte { get => throw null; } } - // Generated from `System.Text.UTF32Encoding` in `System.Text.Encoding.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UTF32Encoding : System.Text.Encoding { public override bool Equals(object value) => throw null; @@ -57,7 +56,6 @@ namespace System public UTF32Encoding(bool bigEndian, bool byteOrderMark, bool throwOnInvalidCharacters) => throw null; } - // Generated from `System.Text.UTF7Encoding` in `System.Text.Encoding.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UTF7Encoding : System.Text.Encoding { public override bool Equals(object value) => throw null; @@ -81,7 +79,6 @@ namespace System public UTF7Encoding(bool allowOptionals) => throw null; } - // Generated from `System.Text.UTF8Encoding` in `System.Text.Encoding.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UTF8Encoding : System.Text.Encoding { public override bool Equals(object value) => throw null; @@ -112,7 +109,6 @@ namespace System public UTF8Encoding(bool encoderShouldEmitUTF8Identifier, bool throwOnInvalidBytes) => throw null; } - // Generated from `System.Text.UnicodeEncoding` in `System.Text.Encoding.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnicodeEncoding : System.Text.Encoding { public const int CharSize = default; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encodings.Web.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encodings.Web.cs index 6c78fcca304..19f4b843376 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encodings.Web.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Encodings.Web.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { @@ -8,7 +9,6 @@ namespace System { namespace Web { - // Generated from `System.Text.Encodings.Web.HtmlEncoder` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class HtmlEncoder : System.Text.Encodings.Web.TextEncoder { public static System.Text.Encodings.Web.HtmlEncoder Create(System.Text.Encodings.Web.TextEncoderSettings settings) => throw null; @@ -17,7 +17,6 @@ namespace System protected HtmlEncoder() => throw null; } - // Generated from `System.Text.Encodings.Web.JavaScriptEncoder` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JavaScriptEncoder : System.Text.Encodings.Web.TextEncoder { public static System.Text.Encodings.Web.JavaScriptEncoder Create(System.Text.Encodings.Web.TextEncoderSettings settings) => throw null; @@ -27,7 +26,6 @@ namespace System public static System.Text.Encodings.Web.JavaScriptEncoder UnsafeRelaxedJsonEscaping { get => throw null; } } - // Generated from `System.Text.Encodings.Web.TextEncoder` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class TextEncoder { public virtual System.Buffers.OperationStatus Encode(System.ReadOnlySpan source, System.Span destination, out int charsConsumed, out int charsWritten, bool isFinalBlock = default(bool)) => throw null; @@ -44,7 +42,6 @@ namespace System public abstract bool WillEncode(int unicodeScalar); } - // Generated from `System.Text.Encodings.Web.TextEncoderSettings` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TextEncoderSettings { public virtual void AllowCharacter(System.Char character) => throw null; @@ -63,7 +60,6 @@ namespace System public TextEncoderSettings(params System.Text.Unicode.UnicodeRange[] allowedRanges) => throw null; } - // Generated from `System.Text.Encodings.Web.UrlEncoder` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class UrlEncoder : System.Text.Encodings.Web.TextEncoder { public static System.Text.Encodings.Web.UrlEncoder Create(System.Text.Encodings.Web.TextEncoderSettings settings) => throw null; @@ -76,7 +72,6 @@ namespace System } namespace Unicode { - // Generated from `System.Text.Unicode.UnicodeRange` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UnicodeRange { public static System.Text.Unicode.UnicodeRange Create(System.Char firstCharacter, System.Char lastCharacter) => throw null; @@ -85,7 +80,6 @@ namespace System public UnicodeRange(int firstCodePoint, int length) => throw null; } - // Generated from `System.Text.Unicode.UnicodeRanges` in `System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class UnicodeRanges { public static System.Text.Unicode.UnicodeRange All { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Json.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Json.cs index a7c7d5dace8..7c5954e05ca 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Json.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.Json.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Json { - // Generated from `System.Text.Json.JsonCommentHandling` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonCommentHandling : byte { Allow = 2, @@ -14,7 +14,6 @@ namespace System Skip = 1, } - // Generated from `System.Text.Json.JsonDocument` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonDocument : System.IDisposable { public void Dispose() => throw null; @@ -30,7 +29,6 @@ namespace System public void WriteTo(System.Text.Json.Utf8JsonWriter writer) => throw null; } - // Generated from `System.Text.Json.JsonDocumentOptions` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonDocumentOptions { public bool AllowTrailingCommas { get => throw null; set => throw null; } @@ -39,10 +37,8 @@ namespace System public int MaxDepth { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.JsonElement` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonElement { - // Generated from `System.Text.Json.JsonElement+ArrayEnumerator` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ArrayEnumerator : System.Collections.Generic.IEnumerable, System.Collections.Generic.IEnumerator, System.Collections.IEnumerable, System.Collections.IEnumerator, System.IDisposable { // Stub generator skipped constructor @@ -57,7 +53,6 @@ namespace System } - // Generated from `System.Text.Json.JsonElement+ObjectEnumerator` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct ObjectEnumerator : System.Collections.Generic.IEnumerable, System.Collections.Generic.IEnumerator, System.Collections.IEnumerable, System.Collections.IEnumerator, System.IDisposable { public System.Text.Json.JsonProperty Current { get => throw null; } @@ -127,7 +122,6 @@ namespace System public void WriteTo(System.Text.Json.Utf8JsonWriter writer) => throw null; } - // Generated from `System.Text.Json.JsonEncodedText` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonEncodedText : System.IEquatable { public static System.Text.Json.JsonEncodedText Encode(System.ReadOnlySpan utf8Value, System.Text.Encodings.Web.JavaScriptEncoder encoder = default(System.Text.Encodings.Web.JavaScriptEncoder)) => throw null; @@ -141,7 +135,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Text.Json.JsonException` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonException : System.Exception { public System.Int64? BytePositionInLine { get => throw null; } @@ -157,7 +150,6 @@ namespace System public string Path { get => throw null; } } - // Generated from `System.Text.Json.JsonNamingPolicy` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonNamingPolicy { public static System.Text.Json.JsonNamingPolicy CamelCase { get => throw null; } @@ -165,7 +157,6 @@ namespace System protected JsonNamingPolicy() => throw null; } - // Generated from `System.Text.Json.JsonProperty` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonProperty { // Stub generator skipped constructor @@ -178,7 +169,6 @@ namespace System public void WriteTo(System.Text.Json.Utf8JsonWriter writer) => throw null; } - // Generated from `System.Text.Json.JsonReaderOptions` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonReaderOptions { public bool AllowTrailingCommas { get => throw null; set => throw null; } @@ -187,7 +177,6 @@ namespace System public int MaxDepth { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.JsonReaderState` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonReaderState { // Stub generator skipped constructor @@ -195,7 +184,6 @@ namespace System public System.Text.Json.JsonReaderOptions Options { get => throw null; } } - // Generated from `System.Text.Json.JsonSerializer` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class JsonSerializer { public static object Deserialize(this System.Text.Json.JsonDocument document, System.Type returnType, System.Text.Json.Serialization.JsonSerializerContext context) => throw null; @@ -270,14 +258,12 @@ namespace System public static System.Byte[] SerializeToUtf8Bytes(TValue value, System.Text.Json.Serialization.Metadata.JsonTypeInfo jsonTypeInfo) => throw null; } - // Generated from `System.Text.Json.JsonSerializerDefaults` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonSerializerDefaults : int { General = 0, Web = 1, } - // Generated from `System.Text.Json.JsonSerializerOptions` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonSerializerOptions { public void AddContext() where TContext : System.Text.Json.Serialization.JsonSerializerContext, new() => throw null; @@ -308,7 +294,6 @@ namespace System public bool WriteIndented { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.JsonTokenType` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonTokenType : byte { Comment = 6, @@ -325,7 +310,6 @@ namespace System True = 9, } - // Generated from `System.Text.Json.JsonValueKind` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonValueKind : byte { Array = 2, @@ -338,7 +322,6 @@ namespace System Undefined = 0, } - // Generated from `System.Text.Json.JsonWriterOptions` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonWriterOptions { public System.Text.Encodings.Web.JavaScriptEncoder Encoder { get => throw null; set => throw null; } @@ -348,7 +331,6 @@ namespace System public bool SkipValidation { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Utf8JsonReader` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct Utf8JsonReader { public System.Int64 BytesConsumed { get => throw null; } @@ -410,7 +392,6 @@ namespace System public bool ValueTextEquals(string text) => throw null; } - // Generated from `System.Text.Json.Utf8JsonWriter` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Utf8JsonWriter : System.IAsyncDisposable, System.IDisposable { public System.Int64 BytesCommitted { get => throw null; } @@ -537,7 +518,6 @@ namespace System namespace Nodes { - // Generated from `System.Text.Json.Nodes.JsonArray` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonArray : System.Text.Json.Nodes.JsonNode, System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.IEnumerable { public void Add(System.Text.Json.Nodes.JsonNode item) => throw null; @@ -560,7 +540,6 @@ namespace System public override void WriteTo(System.Text.Json.Utf8JsonWriter writer, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions)) => throw null; } - // Generated from `System.Text.Json.Nodes.JsonNode` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonNode { public System.Text.Json.Nodes.JsonArray AsArray() => throw null; @@ -649,14 +628,12 @@ namespace System public static implicit operator System.Text.Json.Nodes.JsonNode(System.UInt16? value) => throw null; } - // Generated from `System.Text.Json.Nodes.JsonNodeOptions` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonNodeOptions { // Stub generator skipped constructor public bool PropertyNameCaseInsensitive { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Nodes.JsonObject` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonObject : System.Text.Json.Nodes.JsonNode, System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { public void Add(System.Collections.Generic.KeyValuePair property) => throw null; @@ -681,7 +658,6 @@ namespace System public override void WriteTo(System.Text.Json.Utf8JsonWriter writer, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions)) => throw null; } - // Generated from `System.Text.Json.Nodes.JsonValue` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonValue : System.Text.Json.Nodes.JsonNode { public static System.Text.Json.Nodes.JsonValue Create(System.DateTime value, System.Text.Json.Nodes.JsonNodeOptions? options = default(System.Text.Json.Nodes.JsonNodeOptions?)) => throw null; @@ -727,50 +703,42 @@ namespace System } namespace Serialization { - // Generated from `System.Text.Json.Serialization.IJsonOnDeserialized` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IJsonOnDeserialized { void OnDeserialized(); } - // Generated from `System.Text.Json.Serialization.IJsonOnDeserializing` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IJsonOnDeserializing { void OnDeserializing(); } - // Generated from `System.Text.Json.Serialization.IJsonOnSerialized` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IJsonOnSerialized { void OnSerialized(); } - // Generated from `System.Text.Json.Serialization.IJsonOnSerializing` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IJsonOnSerializing { void OnSerializing(); } - // Generated from `System.Text.Json.Serialization.JsonAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonAttribute : System.Attribute { protected JsonAttribute() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonConstructorAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonConstructorAttribute : System.Text.Json.Serialization.JsonAttribute { public JsonConstructorAttribute() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonConverter` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonConverter { public abstract bool CanConvert(System.Type typeToConvert); internal JsonConverter() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonConverter<>` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonConverter : System.Text.Json.Serialization.JsonConverter { public override bool CanConvert(System.Type typeToConvert) => throw null; @@ -782,7 +750,6 @@ namespace System public virtual void WriteAsPropertyName(System.Text.Json.Utf8JsonWriter writer, T value, System.Text.Json.JsonSerializerOptions options) => throw null; } - // Generated from `System.Text.Json.Serialization.JsonConverterAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonConverterAttribute : System.Text.Json.Serialization.JsonAttribute { public System.Type ConverterType { get => throw null; } @@ -791,14 +758,12 @@ namespace System public JsonConverterAttribute(System.Type converterType) => throw null; } - // Generated from `System.Text.Json.Serialization.JsonConverterFactory` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonConverterFactory : System.Text.Json.Serialization.JsonConverter { public abstract System.Text.Json.Serialization.JsonConverter CreateConverter(System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options); protected JsonConverterFactory() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonDerivedTypeAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonDerivedTypeAttribute : System.Text.Json.Serialization.JsonAttribute { public System.Type DerivedType { get => throw null; } @@ -808,20 +773,17 @@ namespace System public object TypeDiscriminator { get => throw null; } } - // Generated from `System.Text.Json.Serialization.JsonExtensionDataAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonExtensionDataAttribute : System.Text.Json.Serialization.JsonAttribute { public JsonExtensionDataAttribute() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonIgnoreAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonIgnoreAttribute : System.Text.Json.Serialization.JsonAttribute { public System.Text.Json.Serialization.JsonIgnoreCondition Condition { get => throw null; set => throw null; } public JsonIgnoreAttribute() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonIgnoreCondition` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonIgnoreCondition : int { Always = 1, @@ -830,20 +792,17 @@ namespace System WhenWritingNull = 3, } - // Generated from `System.Text.Json.Serialization.JsonIncludeAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonIncludeAttribute : System.Text.Json.Serialization.JsonAttribute { public JsonIncludeAttribute() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonKnownNamingPolicy` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonKnownNamingPolicy : int { CamelCase = 1, Unspecified = 0, } - // Generated from `System.Text.Json.Serialization.JsonNumberHandling` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum JsonNumberHandling : int { @@ -853,14 +812,12 @@ namespace System WriteAsString = 2, } - // Generated from `System.Text.Json.Serialization.JsonNumberHandlingAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonNumberHandlingAttribute : System.Text.Json.Serialization.JsonAttribute { public System.Text.Json.Serialization.JsonNumberHandling Handling { get => throw null; } public JsonNumberHandlingAttribute(System.Text.Json.Serialization.JsonNumberHandling handling) => throw null; } - // Generated from `System.Text.Json.Serialization.JsonPolymorphicAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonPolymorphicAttribute : System.Text.Json.Serialization.JsonAttribute { public bool IgnoreUnrecognizedTypeDiscriminators { get => throw null; set => throw null; } @@ -869,27 +826,23 @@ namespace System public System.Text.Json.Serialization.JsonUnknownDerivedTypeHandling UnknownDerivedTypeHandling { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.JsonPropertyNameAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonPropertyNameAttribute : System.Text.Json.Serialization.JsonAttribute { public JsonPropertyNameAttribute(string name) => throw null; public string Name { get => throw null; } } - // Generated from `System.Text.Json.Serialization.JsonPropertyOrderAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonPropertyOrderAttribute : System.Text.Json.Serialization.JsonAttribute { public JsonPropertyOrderAttribute(int order) => throw null; public int Order { get => throw null; } } - // Generated from `System.Text.Json.Serialization.JsonRequiredAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonRequiredAttribute : System.Text.Json.Serialization.JsonAttribute { public JsonRequiredAttribute() => throw null; } - // Generated from `System.Text.Json.Serialization.JsonSerializableAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonSerializableAttribute : System.Text.Json.Serialization.JsonAttribute { public System.Text.Json.Serialization.JsonSourceGenerationMode GenerationMode { get => throw null; set => throw null; } @@ -897,7 +850,6 @@ namespace System public string TypeInfoPropertyName { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.JsonSerializerContext` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonSerializerContext : System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver { protected abstract System.Text.Json.JsonSerializerOptions GeneratedSerializerOptions { get; } @@ -907,7 +859,6 @@ namespace System public System.Text.Json.JsonSerializerOptions Options { get => throw null; } } - // Generated from `System.Text.Json.Serialization.JsonSourceGenerationMode` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum JsonSourceGenerationMode : int { @@ -916,7 +867,6 @@ namespace System Serialization = 2, } - // Generated from `System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonSourceGenerationOptionsAttribute : System.Text.Json.Serialization.JsonAttribute { public System.Text.Json.Serialization.JsonIgnoreCondition DefaultIgnoreCondition { get => throw null; set => throw null; } @@ -929,7 +879,6 @@ namespace System public bool WriteIndented { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.JsonStringEnumConverter` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonStringEnumConverter : System.Text.Json.Serialization.JsonConverterFactory { public override bool CanConvert(System.Type typeToConvert) => throw null; @@ -938,7 +887,6 @@ namespace System public JsonStringEnumConverter(System.Text.Json.JsonNamingPolicy namingPolicy = default(System.Text.Json.JsonNamingPolicy), bool allowIntegerValues = default(bool)) => throw null; } - // Generated from `System.Text.Json.Serialization.JsonUnknownDerivedTypeHandling` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonUnknownDerivedTypeHandling : int { FailSerialization = 0, @@ -946,14 +894,12 @@ namespace System FallBackToNearestAncestor = 2, } - // Generated from `System.Text.Json.Serialization.JsonUnknownTypeHandling` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonUnknownTypeHandling : int { JsonElement = 0, JsonNode = 1, } - // Generated from `System.Text.Json.Serialization.ReferenceHandler` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ReferenceHandler { public abstract System.Text.Json.Serialization.ReferenceResolver CreateResolver(); @@ -962,14 +908,12 @@ namespace System protected ReferenceHandler() => throw null; } - // Generated from `System.Text.Json.Serialization.ReferenceHandler<>` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ReferenceHandler : System.Text.Json.Serialization.ReferenceHandler where T : System.Text.Json.Serialization.ReferenceResolver, new() { public override System.Text.Json.Serialization.ReferenceResolver CreateResolver() => throw null; public ReferenceHandler() => throw null; } - // Generated from `System.Text.Json.Serialization.ReferenceResolver` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ReferenceResolver { public abstract void AddReference(string referenceId, object value); @@ -980,7 +924,6 @@ namespace System namespace Metadata { - // Generated from `System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DefaultJsonTypeInfoResolver : System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver { public DefaultJsonTypeInfoResolver() => throw null; @@ -988,13 +931,11 @@ namespace System public System.Collections.Generic.IList> Modifiers { get => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IJsonTypeInfoResolver { System.Text.Json.Serialization.Metadata.JsonTypeInfo GetTypeInfo(System.Type type, System.Text.Json.JsonSerializerOptions options); } - // Generated from `System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<>` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonCollectionInfoValues { public System.Text.Json.Serialization.Metadata.JsonTypeInfo ElementInfo { get => throw null; set => throw null; } @@ -1005,7 +946,6 @@ namespace System public System.Action SerializeHandler { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonDerivedType` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct JsonDerivedType { public System.Type DerivedType { get => throw null; } @@ -1016,7 +956,6 @@ namespace System public object TypeDiscriminator { get => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonMetadataServices` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class JsonMetadataServices { public static System.Text.Json.Serialization.JsonConverter BooleanConverter { get => throw null; } @@ -1079,7 +1018,6 @@ namespace System public static System.Text.Json.Serialization.JsonConverter VersionConverter { get => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<>` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonObjectInfoValues { public System.Func ConstructorParameterMetadataInitializer { get => throw null; set => throw null; } @@ -1091,7 +1029,6 @@ namespace System public System.Action SerializeHandler { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonParameterInfoValues` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonParameterInfoValues { public object DefaultValue { get => throw null; set => throw null; } @@ -1102,7 +1039,6 @@ namespace System public int Position { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonPolymorphismOptions` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonPolymorphismOptions { public System.Collections.Generic.IList DerivedTypes { get => throw null; } @@ -1112,7 +1048,6 @@ namespace System public System.Text.Json.Serialization.JsonUnknownDerivedTypeHandling UnknownDerivedTypeHandling { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonPropertyInfo` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonPropertyInfo { public System.Reflection.ICustomAttributeProvider AttributeProvider { get => throw null; set => throw null; } @@ -1129,7 +1064,6 @@ namespace System public System.Func ShouldSerialize { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<>` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class JsonPropertyInfoValues { public System.Text.Json.Serialization.JsonConverter Converter { get => throw null; set => throw null; } @@ -1149,7 +1083,6 @@ namespace System public System.Action Setter { get => throw null; set => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonTypeInfo` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonTypeInfo { public System.Text.Json.Serialization.JsonConverter Converter { get => throw null; } @@ -1172,14 +1105,12 @@ namespace System public System.Type Type { get => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonTypeInfo<>` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class JsonTypeInfo : System.Text.Json.Serialization.Metadata.JsonTypeInfo { public System.Func CreateObject { get => throw null; set => throw null; } public System.Action SerializeHandler { get => throw null; } } - // Generated from `System.Text.Json.Serialization.Metadata.JsonTypeInfoKind` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum JsonTypeInfoKind : int { Dictionary = 3, @@ -1188,7 +1119,6 @@ namespace System Object = 1, } - // Generated from `System.Text.Json.Serialization.Metadata.JsonTypeInfoResolver` in `System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class JsonTypeInfoResolver { public static System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Combine(params System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver[] resolvers) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.RegularExpressions.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.RegularExpressions.cs index 220a0838c91..327a4efb7aa 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.RegularExpressions.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Text.RegularExpressions.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace RegularExpressions { - // Generated from `System.Text.RegularExpressions.Capture` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Capture { internal Capture() => throw null; @@ -17,7 +17,6 @@ namespace System public System.ReadOnlySpan ValueSpan { get => throw null; } } - // Generated from `System.Text.RegularExpressions.CaptureCollection` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CaptureCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { void System.Collections.Generic.ICollection.Add(System.Text.RegularExpressions.Capture item) => throw null; @@ -48,7 +47,6 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Text.RegularExpressions.GeneratedRegexAttribute` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GeneratedRegexAttribute : System.Attribute { public string CultureName { get => throw null; } @@ -62,7 +60,6 @@ namespace System public string Pattern { get => throw null; } } - // Generated from `System.Text.RegularExpressions.Group` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Group : System.Text.RegularExpressions.Capture { public System.Text.RegularExpressions.CaptureCollection Captures { get => throw null; } @@ -72,7 +69,6 @@ namespace System public static System.Text.RegularExpressions.Group Synchronized(System.Text.RegularExpressions.Group inner) => throw null; } - // Generated from `System.Text.RegularExpressions.GroupCollection` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GroupCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyDictionary, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { void System.Collections.Generic.ICollection.Add(System.Text.RegularExpressions.Group item) => throw null; @@ -109,7 +105,6 @@ namespace System public System.Collections.Generic.IEnumerable Values { get => throw null; } } - // Generated from `System.Text.RegularExpressions.Match` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Match : System.Text.RegularExpressions.Group { public static System.Text.RegularExpressions.Match Empty { get => throw null; } @@ -119,7 +114,6 @@ namespace System public static System.Text.RegularExpressions.Match Synchronized(System.Text.RegularExpressions.Match inner) => throw null; } - // Generated from `System.Text.RegularExpressions.MatchCollection` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class MatchCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { void System.Collections.Generic.ICollection.Add(System.Text.RegularExpressions.Match item) => throw null; @@ -150,13 +144,10 @@ namespace System public object SyncRoot { get => throw null; } } - // Generated from `System.Text.RegularExpressions.MatchEvaluator` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate string MatchEvaluator(System.Text.RegularExpressions.Match match); - // Generated from `System.Text.RegularExpressions.Regex` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Regex : System.Runtime.Serialization.ISerializable { - // Generated from `System.Text.RegularExpressions.Regex+ValueMatchEnumerator` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueMatchEnumerator { public System.Text.RegularExpressions.ValueMatch Current { get => throw null; } @@ -256,7 +247,6 @@ namespace System protected internal System.Text.RegularExpressions.RegexOptions roptions; } - // Generated from `System.Text.RegularExpressions.RegexCompilationInfo` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegexCompilationInfo { public bool IsPublic { get => throw null; set => throw null; } @@ -269,7 +259,6 @@ namespace System public RegexCompilationInfo(string pattern, System.Text.RegularExpressions.RegexOptions options, string name, string fullnamespace, bool ispublic, System.TimeSpan matchTimeout) => throw null; } - // Generated from `System.Text.RegularExpressions.RegexMatchTimeoutException` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegexMatchTimeoutException : System.TimeoutException, System.Runtime.Serialization.ISerializable { void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -283,7 +272,6 @@ namespace System public RegexMatchTimeoutException(string regexInput, string regexPattern, System.TimeSpan matchTimeout) => throw null; } - // Generated from `System.Text.RegularExpressions.RegexOptions` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum RegexOptions : int { @@ -300,7 +288,6 @@ namespace System Singleline = 16, } - // Generated from `System.Text.RegularExpressions.RegexParseError` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum RegexParseError : int { AlternationHasComment = 17, @@ -337,7 +324,6 @@ namespace System UnterminatedComment = 14, } - // Generated from `System.Text.RegularExpressions.RegexParseException` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegexParseException : System.ArgumentException { public System.Text.RegularExpressions.RegexParseError Error { get => throw null; } @@ -345,7 +331,6 @@ namespace System public int Offset { get => throw null; } } - // Generated from `System.Text.RegularExpressions.RegexRunner` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class RegexRunner { protected void Capture(int capnum, int start, int end) => throw null; @@ -389,14 +374,12 @@ namespace System protected internal int runtrackpos; } - // Generated from `System.Text.RegularExpressions.RegexRunnerFactory` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class RegexRunnerFactory { protected internal abstract System.Text.RegularExpressions.RegexRunner CreateInstance(); protected RegexRunnerFactory() => throw null; } - // Generated from `System.Text.RegularExpressions.ValueMatch` in `System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ValueMatch { public int Index { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Channels.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Channels.cs index 140b75c98f5..f898283d56e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Channels.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Channels.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Channels { - // Generated from `System.Threading.Channels.BoundedChannelFullMode` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum BoundedChannelFullMode : int { DropNewest = 1, @@ -15,7 +15,6 @@ namespace System Wait = 0, } - // Generated from `System.Threading.Channels.BoundedChannelOptions` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class BoundedChannelOptions : System.Threading.Channels.ChannelOptions { public BoundedChannelOptions(int capacity) => throw null; @@ -23,7 +22,6 @@ namespace System public System.Threading.Channels.BoundedChannelFullMode FullMode { get => throw null; set => throw null; } } - // Generated from `System.Threading.Channels.Channel` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class Channel { public static System.Threading.Channels.Channel CreateBounded(System.Threading.Channels.BoundedChannelOptions options) => throw null; @@ -33,7 +31,6 @@ namespace System public static System.Threading.Channels.Channel CreateUnbounded(System.Threading.Channels.UnboundedChannelOptions options) => throw null; } - // Generated from `System.Threading.Channels.Channel<,>` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Channel { protected Channel() => throw null; @@ -43,13 +40,11 @@ namespace System public static implicit operator System.Threading.Channels.ChannelWriter(System.Threading.Channels.Channel channel) => throw null; } - // Generated from `System.Threading.Channels.Channel<>` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class Channel : System.Threading.Channels.Channel { protected Channel() => throw null; } - // Generated from `System.Threading.Channels.ChannelClosedException` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class ChannelClosedException : System.InvalidOperationException { public ChannelClosedException() => throw null; @@ -59,7 +54,6 @@ namespace System public ChannelClosedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.Channels.ChannelOptions` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ChannelOptions { public bool AllowSynchronousContinuations { get => throw null; set => throw null; } @@ -68,7 +62,6 @@ namespace System public bool SingleWriter { get => throw null; set => throw null; } } - // Generated from `System.Threading.Channels.ChannelReader<>` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ChannelReader { public virtual bool CanCount { get => throw null; } @@ -83,7 +76,6 @@ namespace System public abstract System.Threading.Tasks.ValueTask WaitToReadAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - // Generated from `System.Threading.Channels.ChannelWriter<>` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public abstract class ChannelWriter { protected ChannelWriter() => throw null; @@ -94,7 +86,6 @@ namespace System public virtual System.Threading.Tasks.ValueTask WriteAsync(T item, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; } - // Generated from `System.Threading.Channels.UnboundedChannelOptions` in `System.Threading.Channels, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class UnboundedChannelOptions : System.Threading.Channels.ChannelOptions { public UnboundedChannelOptions() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Overlapped.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Overlapped.cs index d4d29658180..59532065c20 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Overlapped.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Overlapped.cs @@ -1,13 +1,12 @@ // This file contains auto-generated code. +// Generated from `System.Threading.Overlapped, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Threading { - // Generated from `System.Threading.IOCompletionCallback` in `System.Threading.Overlapped, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` unsafe public delegate void IOCompletionCallback(System.UInt32 errorCode, System.UInt32 numBytes, System.Threading.NativeOverlapped* pOVERLAP); - // Generated from `System.Threading.NativeOverlapped` in `System.Threading.Overlapped, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct NativeOverlapped { public System.IntPtr EventHandle; @@ -18,7 +17,6 @@ namespace System public int OffsetLow; } - // Generated from `System.Threading.Overlapped` in `System.Threading.Overlapped, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Overlapped { public System.IAsyncResult AsyncResult { get => throw null; set => throw null; } @@ -37,7 +35,6 @@ namespace System unsafe public System.Threading.NativeOverlapped* UnsafePack(System.Threading.IOCompletionCallback iocb, object userData) => throw null; } - // Generated from `System.Threading.PreAllocatedOverlapped` in `System.Threading.Overlapped, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class PreAllocatedOverlapped : System.IDisposable { public void Dispose() => throw null; @@ -46,7 +43,6 @@ namespace System // ERR: Stub generator didn't handle member: ~PreAllocatedOverlapped } - // Generated from `System.Threading.ThreadPoolBoundHandle` in `System.Threading.Overlapped, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadPoolBoundHandle : System.IDisposable { unsafe public System.Threading.NativeOverlapped* AllocateNativeOverlapped(System.Threading.IOCompletionCallback callback, object state, object pinData) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Dataflow.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Dataflow.cs index 3d6201cb73d..83cf3572c14 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Dataflow.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Dataflow.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -8,7 +9,6 @@ namespace System { namespace Dataflow { - // Generated from `System.Threading.Tasks.Dataflow.ActionBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ActionBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public ActionBlock(System.Action action) => throw null; @@ -24,7 +24,6 @@ namespace System public override string ToString() => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.BatchBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BatchBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public BatchBlock(int batchSize) => throw null; @@ -45,7 +44,6 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.BatchedJoinBlock<,,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BatchedJoinBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Collections.Generic.IList, System.Collections.Generic.IList>>, System.Threading.Tasks.Dataflow.ISourceBlock, System.Collections.Generic.IList, System.Collections.Generic.IList>> { public int BatchSize { get => throw null; } @@ -67,7 +65,6 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList, System.Collections.Generic.IList, System.Collections.Generic.IList>> items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.BatchedJoinBlock<,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BatchedJoinBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Collections.Generic.IList>>, System.Threading.Tasks.Dataflow.ISourceBlock, System.Collections.Generic.IList>> { public int BatchSize { get => throw null; } @@ -88,7 +85,6 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList, System.Collections.Generic.IList>> items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.BroadcastBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BroadcastBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public BroadcastBlock(System.Func cloningFunction) => throw null; @@ -106,7 +102,6 @@ namespace System bool System.Threading.Tasks.Dataflow.IReceivableSourceBlock.TryReceiveAll(out System.Collections.Generic.IList items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.BufferBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BufferBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public BufferBlock() => throw null; @@ -125,7 +120,6 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.DataflowBlock` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class DataflowBlock { public static System.IObservable AsObservable(this System.Threading.Tasks.Dataflow.ISourceBlock source) => throw null; @@ -156,7 +150,6 @@ namespace System public static bool TryReceive(this System.Threading.Tasks.Dataflow.IReceivableSourceBlock source, out TOutput item) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.DataflowBlockOptions` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataflowBlockOptions { public int BoundedCapacity { get => throw null; set => throw null; } @@ -169,7 +162,6 @@ namespace System public const int Unbounded = default; } - // Generated from `System.Threading.Tasks.Dataflow.DataflowLinkOptions` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class DataflowLinkOptions { public bool Append { get => throw null; set => throw null; } @@ -178,7 +170,6 @@ namespace System public bool PropagateCompletion { get => throw null; set => throw null; } } - // Generated from `System.Threading.Tasks.Dataflow.DataflowMessageHeader` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct DataflowMessageHeader : System.IEquatable { public static bool operator !=(System.Threading.Tasks.Dataflow.DataflowMessageHeader left, System.Threading.Tasks.Dataflow.DataflowMessageHeader right) => throw null; @@ -192,7 +183,6 @@ namespace System public bool IsValid { get => throw null; } } - // Generated from `System.Threading.Tasks.Dataflow.DataflowMessageStatus` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DataflowMessageStatus : int { Accepted = 0, @@ -202,7 +192,6 @@ namespace System Postponed = 2, } - // Generated from `System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExecutionDataflowBlockOptions : System.Threading.Tasks.Dataflow.DataflowBlockOptions { public ExecutionDataflowBlockOptions() => throw null; @@ -210,7 +199,6 @@ namespace System public bool SingleProducerConstrained { get => throw null; set => throw null; } } - // Generated from `System.Threading.Tasks.Dataflow.GroupingDataflowBlockOptions` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class GroupingDataflowBlockOptions : System.Threading.Tasks.Dataflow.DataflowBlockOptions { public bool Greedy { get => throw null; set => throw null; } @@ -218,7 +206,6 @@ namespace System public System.Int64 MaxNumberOfGroups { get => throw null; set => throw null; } } - // Generated from `System.Threading.Tasks.Dataflow.IDataflowBlock` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IDataflowBlock { void Complete(); @@ -226,19 +213,16 @@ namespace System void Fault(System.Exception exception); } - // Generated from `System.Threading.Tasks.Dataflow.IPropagatorBlock<,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IPropagatorBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { } - // Generated from `System.Threading.Tasks.Dataflow.IReceivableSourceBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IReceivableSourceBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.ISourceBlock { bool TryReceive(System.Predicate filter, out TOutput item); bool TryReceiveAll(out System.Collections.Generic.IList items); } - // Generated from `System.Threading.Tasks.Dataflow.ISourceBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ISourceBlock : System.Threading.Tasks.Dataflow.IDataflowBlock { TOutput ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed); @@ -247,13 +231,11 @@ namespace System bool ReserveMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target); } - // Generated from `System.Threading.Tasks.Dataflow.ITargetBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface ITargetBlock : System.Threading.Tasks.Dataflow.IDataflowBlock { System.Threading.Tasks.Dataflow.DataflowMessageStatus OfferMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, TInput messageValue, System.Threading.Tasks.Dataflow.ISourceBlock source, bool consumeToAccept); } - // Generated from `System.Threading.Tasks.Dataflow.JoinBlock<,,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JoinBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock>, System.Threading.Tasks.Dataflow.ISourceBlock> { public void Complete() => throw null; @@ -274,7 +256,6 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList> items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.JoinBlock<,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class JoinBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock>, System.Threading.Tasks.Dataflow.ISourceBlock> { public void Complete() => throw null; @@ -294,7 +275,6 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList> items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.TransformBlock<,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TransformBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public void Complete() => throw null; @@ -316,7 +296,6 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.TransformManyBlock<,>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class TransformManyBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public void Complete() => throw null; @@ -340,7 +319,6 @@ namespace System public bool TryReceiveAll(out System.Collections.Generic.IList items) => throw null; } - // Generated from `System.Threading.Tasks.Dataflow.WriteOnceBlock<>` in `System.Threading.Tasks.Dataflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WriteOnceBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { public void Complete() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Parallel.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Parallel.cs index 2a6e8b01213..7d73c62a13f 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Parallel.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Tasks.Parallel.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Threading.Tasks.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Tasks { - // Generated from `System.Threading.Tasks.Parallel` in `System.Threading.Tasks.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Parallel { public static System.Threading.Tasks.ParallelLoopResult For(int fromInclusive, int toExclusive, System.Action body) => throw null; @@ -51,7 +51,6 @@ namespace System public static void Invoke(params System.Action[] actions) => throw null; } - // Generated from `System.Threading.Tasks.ParallelLoopResult` in `System.Threading.Tasks.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct ParallelLoopResult { public bool IsCompleted { get => throw null; } @@ -59,7 +58,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Threading.Tasks.ParallelLoopState` in `System.Threading.Tasks.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParallelLoopState { public void Break() => throw null; @@ -70,7 +68,6 @@ namespace System public void Stop() => throw null; } - // Generated from `System.Threading.Tasks.ParallelOptions` in `System.Threading.Tasks.Parallel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ParallelOptions { public System.Threading.CancellationToken CancellationToken { get => throw null; set => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Thread.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Thread.cs index 93327b0f8fc..ee5ec8959b9 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Thread.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.Thread.cs @@ -1,8 +1,8 @@ // This file contains auto-generated code. +// Generated from `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { - // Generated from `System.LocalDataStoreSlot` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LocalDataStoreSlot { // ERR: Stub generator didn't handle member: ~LocalDataStoreSlot @@ -10,7 +10,6 @@ namespace System namespace Threading { - // Generated from `System.Threading.ApartmentState` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ApartmentState : int { MTA = 1, @@ -18,7 +17,6 @@ namespace System Unknown = 2, } - // Generated from `System.Threading.CompressedStack` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CompressedStack : System.Runtime.Serialization.ISerializable { public static System.Threading.CompressedStack Capture() => throw null; @@ -28,10 +26,8 @@ namespace System public static void Run(System.Threading.CompressedStack compressedStack, System.Threading.ContextCallback callback, object state) => throw null; } - // Generated from `System.Threading.ParameterizedThreadStart` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ParameterizedThreadStart(object obj); - // Generated from `System.Threading.Thread` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Thread : System.Runtime.ConstrainedExecution.CriticalFinalizerObject { public void Abort() => throw null; @@ -118,23 +114,19 @@ namespace System // ERR: Stub generator didn't handle member: ~Thread } - // Generated from `System.Threading.ThreadAbortException` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadAbortException : System.SystemException { public object ExceptionState { get => throw null; } } - // Generated from `System.Threading.ThreadExceptionEventArgs` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadExceptionEventArgs : System.EventArgs { public System.Exception Exception { get => throw null; } public ThreadExceptionEventArgs(System.Exception t) => throw null; } - // Generated from `System.Threading.ThreadExceptionEventHandler` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ThreadExceptionEventHandler(object sender, System.Threading.ThreadExceptionEventArgs e); - // Generated from `System.Threading.ThreadInterruptedException` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadInterruptedException : System.SystemException { public ThreadInterruptedException() => throw null; @@ -143,7 +135,6 @@ namespace System public ThreadInterruptedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.ThreadPriority` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ThreadPriority : int { AboveNormal = 3, @@ -153,15 +144,12 @@ namespace System Normal = 2, } - // Generated from `System.Threading.ThreadStart` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ThreadStart(); - // Generated from `System.Threading.ThreadStartException` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadStartException : System.SystemException { } - // Generated from `System.Threading.ThreadState` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ThreadState : int { @@ -177,7 +165,6 @@ namespace System WaitSleepJoin = 32, } - // Generated from `System.Threading.ThreadStateException` in `System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadStateException : System.SystemException { public ThreadStateException() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.ThreadPool.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.ThreadPool.cs index 56e213f9d8a..0b672acd53e 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.ThreadPool.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.ThreadPool.cs @@ -1,22 +1,20 @@ // This file contains auto-generated code. +// Generated from `System.Threading.ThreadPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Threading { - // Generated from `System.Threading.IThreadPoolWorkItem` in `System.Threading.ThreadPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IThreadPoolWorkItem { void Execute(); } - // Generated from `System.Threading.RegisteredWaitHandle` in `System.Threading.ThreadPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class RegisteredWaitHandle : System.MarshalByRefObject { public bool Unregister(System.Threading.WaitHandle waitObject) => throw null; } - // Generated from `System.Threading.ThreadPool` in `System.Threading.ThreadPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class ThreadPool { public static bool BindHandle(System.IntPtr osHandle) => throw null; @@ -46,10 +44,8 @@ namespace System public static System.Threading.RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle waitObject, System.Threading.WaitOrTimerCallback callBack, object state, System.UInt32 millisecondsTimeOutInterval, bool executeOnlyOnce) => throw null; } - // Generated from `System.Threading.WaitCallback` in `System.Threading.ThreadPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void WaitCallback(object state); - // Generated from `System.Threading.WaitOrTimerCallback` in `System.Threading.ThreadPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void WaitOrTimerCallback(object state, bool timedOut); } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.cs index c6d43c9297e..ee58958e493 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Threading.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Threading { - // Generated from `System.Threading.AbandonedMutexException` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AbandonedMutexException : System.SystemException { public AbandonedMutexException() => throw null; @@ -18,7 +18,6 @@ namespace System public int MutexIndex { get => throw null; } } - // Generated from `System.Threading.AsyncFlowControl` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncFlowControl : System.IDisposable, System.IEquatable { public static bool operator !=(System.Threading.AsyncFlowControl a, System.Threading.AsyncFlowControl b) => throw null; @@ -31,7 +30,6 @@ namespace System public void Undo() => throw null; } - // Generated from `System.Threading.AsyncLocal<>` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AsyncLocal { public AsyncLocal() => throw null; @@ -39,7 +37,6 @@ namespace System public T Value { get => throw null; set => throw null; } } - // Generated from `System.Threading.AsyncLocalValueChangedArgs<>` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct AsyncLocalValueChangedArgs { // Stub generator skipped constructor @@ -48,13 +45,11 @@ namespace System public bool ThreadContextChanged { get => throw null; } } - // Generated from `System.Threading.AutoResetEvent` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class AutoResetEvent : System.Threading.EventWaitHandle { public AutoResetEvent(bool initialState) : base(default(bool), default(System.Threading.EventResetMode)) => throw null; } - // Generated from `System.Threading.Barrier` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Barrier : System.IDisposable { public System.Int64 AddParticipant() => throw null; @@ -76,7 +71,6 @@ namespace System public bool SignalAndWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Threading.BarrierPostPhaseException` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class BarrierPostPhaseException : System.Exception { public BarrierPostPhaseException() => throw null; @@ -86,10 +80,8 @@ namespace System public BarrierPostPhaseException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.ContextCallback` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ContextCallback(object state); - // Generated from `System.Threading.CountdownEvent` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CountdownEvent : System.IDisposable { public void AddCount() => throw null; @@ -115,14 +107,12 @@ namespace System public System.Threading.WaitHandle WaitHandle { get => throw null; } } - // Generated from `System.Threading.EventResetMode` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EventResetMode : int { AutoReset = 0, ManualReset = 1, } - // Generated from `System.Threading.EventWaitHandle` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class EventWaitHandle : System.Threading.WaitHandle { public EventWaitHandle(bool initialState, System.Threading.EventResetMode mode) => throw null; @@ -134,7 +124,6 @@ namespace System public static bool TryOpenExisting(string name, out System.Threading.EventWaitHandle result) => throw null; } - // Generated from `System.Threading.ExecutionContext` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ExecutionContext : System.IDisposable, System.Runtime.Serialization.ISerializable { public static System.Threading.ExecutionContext Capture() => throw null; @@ -148,7 +137,6 @@ namespace System public static System.Threading.AsyncFlowControl SuppressFlow() => throw null; } - // Generated from `System.Threading.HostExecutionContext` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HostExecutionContext : System.IDisposable { public virtual System.Threading.HostExecutionContext CreateCopy() => throw null; @@ -159,7 +147,6 @@ namespace System protected internal object State { get => throw null; set => throw null; } } - // Generated from `System.Threading.HostExecutionContextManager` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class HostExecutionContextManager { public virtual System.Threading.HostExecutionContext Capture() => throw null; @@ -168,7 +155,6 @@ namespace System public virtual object SetHostExecutionContext(System.Threading.HostExecutionContext hostExecutionContext) => throw null; } - // Generated from `System.Threading.Interlocked` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Interlocked { public static int Add(ref int location1, int value) => throw null; @@ -217,7 +203,6 @@ namespace System public static System.UInt64 Read(ref System.UInt64 location) => throw null; } - // Generated from `System.Threading.LazyInitializer` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class LazyInitializer { public static T EnsureInitialized(ref T target) where T : class => throw null; @@ -227,7 +212,6 @@ namespace System public static T EnsureInitialized(ref T target, ref object syncLock, System.Func valueFactory) where T : class => throw null; } - // Generated from `System.Threading.LockCookie` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct LockCookie : System.IEquatable { public static bool operator !=(System.Threading.LockCookie a, System.Threading.LockCookie b) => throw null; @@ -238,7 +222,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Threading.LockRecursionException` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class LockRecursionException : System.Exception { public LockRecursionException() => throw null; @@ -247,20 +230,17 @@ namespace System public LockRecursionException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.LockRecursionPolicy` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum LockRecursionPolicy : int { NoRecursion = 0, SupportsRecursion = 1, } - // Generated from `System.Threading.ManualResetEvent` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ManualResetEvent : System.Threading.EventWaitHandle { public ManualResetEvent(bool initialState) : base(default(bool), default(System.Threading.EventResetMode)) => throw null; } - // Generated from `System.Threading.ManualResetEventSlim` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ManualResetEventSlim : System.IDisposable { public void Dispose() => throw null; @@ -281,7 +261,6 @@ namespace System public System.Threading.WaitHandle WaitHandle { get => throw null; } } - // Generated from `System.Threading.Monitor` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Monitor { public static void Enter(object obj) => throw null; @@ -304,7 +283,6 @@ namespace System public static bool Wait(object obj, int millisecondsTimeout, bool exitContext) => throw null; } - // Generated from `System.Threading.Mutex` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Mutex : System.Threading.WaitHandle { public Mutex() => throw null; @@ -316,7 +294,6 @@ namespace System public static bool TryOpenExisting(string name, out System.Threading.Mutex result) => throw null; } - // Generated from `System.Threading.ReaderWriterLock` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReaderWriterLock : System.Runtime.ConstrainedExecution.CriticalFinalizerObject { public void AcquireReaderLock(System.TimeSpan timeout) => throw null; @@ -337,7 +314,6 @@ namespace System public int WriterSeqNum { get => throw null; } } - // Generated from `System.Threading.ReaderWriterLockSlim` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ReaderWriterLockSlim : System.IDisposable { public int CurrentReadCount { get => throw null; } @@ -368,7 +344,6 @@ namespace System public int WaitingWriteCount { get => throw null; } } - // Generated from `System.Threading.Semaphore` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class Semaphore : System.Threading.WaitHandle { public static System.Threading.Semaphore OpenExisting(string name) => throw null; @@ -380,7 +355,6 @@ namespace System public static bool TryOpenExisting(string name, out System.Threading.Semaphore result) => throw null; } - // Generated from `System.Threading.SemaphoreFullException` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SemaphoreFullException : System.SystemException { public SemaphoreFullException() => throw null; @@ -389,7 +363,6 @@ namespace System public SemaphoreFullException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.SemaphoreSlim` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SemaphoreSlim : System.IDisposable { public System.Threading.WaitHandle AvailableWaitHandle { get => throw null; } @@ -414,10 +387,8 @@ namespace System public System.Threading.Tasks.Task WaitAsync(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) => throw null; } - // Generated from `System.Threading.SendOrPostCallback` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void SendOrPostCallback(object state); - // Generated from `System.Threading.SpinLock` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SpinLock { public void Enter(ref bool lockTaken) => throw null; @@ -433,7 +404,6 @@ namespace System public void TryEnter(ref bool lockTaken) => throw null; } - // Generated from `System.Threading.SpinWait` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct SpinWait { public int Count { get => throw null; } @@ -447,7 +417,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Threading.SynchronizationContext` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SynchronizationContext { public virtual System.Threading.SynchronizationContext CreateCopy() => throw null; @@ -464,7 +433,6 @@ namespace System protected static int WaitHelper(System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) => throw null; } - // Generated from `System.Threading.SynchronizationLockException` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SynchronizationLockException : System.SystemException { public SynchronizationLockException() => throw null; @@ -473,7 +441,6 @@ namespace System public SynchronizationLockException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Threading.ThreadLocal<>` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ThreadLocal : System.IDisposable { public void Dispose() => throw null; @@ -489,7 +456,6 @@ namespace System // ERR: Stub generator didn't handle member: ~ThreadLocal } - // Generated from `System.Threading.Volatile` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Volatile { public static System.IntPtr Read(ref System.IntPtr location) => throw null; @@ -522,7 +488,6 @@ namespace System public static void Write(ref T location, T value) where T : class => throw null; } - // Generated from `System.Threading.WaitHandleCannotBeOpenedException` in `System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class WaitHandleCannotBeOpenedException : System.ApplicationException { public WaitHandleCannotBeOpenedException() => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Transactions.Local.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Transactions.Local.cs index 76efd10fee1..3ace7f93f48 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Transactions.Local.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Transactions.Local.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { namespace Transactions { - // Generated from `System.Transactions.CommittableTransaction` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class CommittableTransaction : System.Transactions.Transaction, System.IAsyncResult { object System.IAsyncResult.AsyncState { get => throw null; } @@ -19,27 +19,23 @@ namespace System bool System.IAsyncResult.IsCompleted { get => throw null; } } - // Generated from `System.Transactions.DependentCloneOption` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum DependentCloneOption : int { BlockCommitUntilComplete = 0, RollbackIfNotComplete = 1, } - // Generated from `System.Transactions.DependentTransaction` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class DependentTransaction : System.Transactions.Transaction { public void Complete() => throw null; } - // Generated from `System.Transactions.Enlistment` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Enlistment { public void Done() => throw null; internal Enlistment() => throw null; } - // Generated from `System.Transactions.EnlistmentOptions` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` [System.Flags] public enum EnlistmentOptions : int { @@ -47,7 +43,6 @@ namespace System None = 0, } - // Generated from `System.Transactions.EnterpriseServicesInteropOption` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum EnterpriseServicesInteropOption : int { Automatic = 1, @@ -55,10 +50,8 @@ namespace System None = 0, } - // Generated from `System.Transactions.HostCurrentTransactionCallback` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate System.Transactions.Transaction HostCurrentTransactionCallback(); - // Generated from `System.Transactions.IDtcTransaction` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IDtcTransaction { void Abort(System.IntPtr reason, int retaining, int async); @@ -66,7 +59,6 @@ namespace System void GetTransactionInfo(System.IntPtr transactionInformation); } - // Generated from `System.Transactions.IEnlistmentNotification` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IEnlistmentNotification { void Commit(System.Transactions.Enlistment enlistment); @@ -75,7 +67,6 @@ namespace System void Rollback(System.Transactions.Enlistment enlistment); } - // Generated from `System.Transactions.IPromotableSinglePhaseNotification` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface IPromotableSinglePhaseNotification : System.Transactions.ITransactionPromoter { void Initialize(); @@ -83,25 +74,21 @@ namespace System void SinglePhaseCommit(System.Transactions.SinglePhaseEnlistment singlePhaseEnlistment); } - // Generated from `System.Transactions.ISimpleTransactionSuperior` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface ISimpleTransactionSuperior : System.Transactions.ITransactionPromoter { void Rollback(); } - // Generated from `System.Transactions.ISinglePhaseNotification` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface ISinglePhaseNotification : System.Transactions.IEnlistmentNotification { void SinglePhaseCommit(System.Transactions.SinglePhaseEnlistment singlePhaseEnlistment); } - // Generated from `System.Transactions.ITransactionPromoter` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public interface ITransactionPromoter { System.Byte[] Promote(); } - // Generated from `System.Transactions.IsolationLevel` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum IsolationLevel : int { Chaos = 5, @@ -113,7 +100,6 @@ namespace System Unspecified = 6, } - // Generated from `System.Transactions.PreparingEnlistment` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class PreparingEnlistment : System.Transactions.Enlistment { public void ForceRollback() => throw null; @@ -122,7 +108,6 @@ namespace System public System.Byte[] RecoveryInformation() => throw null; } - // Generated from `System.Transactions.SinglePhaseEnlistment` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SinglePhaseEnlistment : System.Transactions.Enlistment { public void Aborted() => throw null; @@ -132,13 +117,11 @@ namespace System public void InDoubt(System.Exception e) => throw null; } - // Generated from `System.Transactions.SubordinateTransaction` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class SubordinateTransaction : System.Transactions.Transaction { public SubordinateTransaction(System.Transactions.IsolationLevel isoLevel, System.Transactions.ISimpleTransactionSuperior superior) => throw null; } - // Generated from `System.Transactions.Transaction` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class Transaction : System.IDisposable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.Transactions.Transaction x, System.Transactions.Transaction y) => throw null; @@ -168,7 +151,6 @@ namespace System public System.Transactions.TransactionInformation TransactionInformation { get => throw null; } } - // Generated from `System.Transactions.TransactionAbortedException` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionAbortedException : System.Transactions.TransactionException { public TransactionAbortedException() => throw null; @@ -177,17 +159,14 @@ namespace System public TransactionAbortedException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Transactions.TransactionCompletedEventHandler` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void TransactionCompletedEventHandler(object sender, System.Transactions.TransactionEventArgs e); - // Generated from `System.Transactions.TransactionEventArgs` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionEventArgs : System.EventArgs { public System.Transactions.Transaction Transaction { get => throw null; } public TransactionEventArgs() => throw null; } - // Generated from `System.Transactions.TransactionException` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionException : System.SystemException { public TransactionException() => throw null; @@ -196,7 +175,6 @@ namespace System public TransactionException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Transactions.TransactionInDoubtException` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionInDoubtException : System.Transactions.TransactionException { public TransactionInDoubtException() => throw null; @@ -205,7 +183,6 @@ namespace System public TransactionInDoubtException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Transactions.TransactionInformation` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionInformation { public System.DateTime CreationTime { get => throw null; } @@ -214,7 +191,6 @@ namespace System public System.Transactions.TransactionStatus Status { get => throw null; } } - // Generated from `System.Transactions.TransactionInterop` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class TransactionInterop { public static System.Transactions.IDtcTransaction GetDtcTransaction(System.Transactions.Transaction transaction) => throw null; @@ -227,7 +203,6 @@ namespace System public static System.Guid PromoterTypeDtc; } - // Generated from `System.Transactions.TransactionManager` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public static class TransactionManager { public static System.TimeSpan DefaultTimeout { get => throw null; set => throw null; } @@ -239,7 +214,6 @@ namespace System public static System.Transactions.Enlistment Reenlist(System.Guid resourceManagerIdentifier, System.Byte[] recoveryInformation, System.Transactions.IEnlistmentNotification enlistmentNotification) => throw null; } - // Generated from `System.Transactions.TransactionManagerCommunicationException` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionManagerCommunicationException : System.Transactions.TransactionException { public TransactionManagerCommunicationException() => throw null; @@ -248,7 +222,6 @@ namespace System public TransactionManagerCommunicationException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Transactions.TransactionOptions` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public struct TransactionOptions : System.IEquatable { public static bool operator !=(System.Transactions.TransactionOptions x, System.Transactions.TransactionOptions y) => throw null; @@ -261,7 +234,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Transactions.TransactionPromotionException` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionPromotionException : System.Transactions.TransactionException { public TransactionPromotionException() => throw null; @@ -270,7 +242,6 @@ namespace System public TransactionPromotionException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Transactions.TransactionScope` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class TransactionScope : System.IDisposable { public void Complete() => throw null; @@ -291,14 +262,12 @@ namespace System public TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption) => throw null; } - // Generated from `System.Transactions.TransactionScopeAsyncFlowOption` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum TransactionScopeAsyncFlowOption : int { Enabled = 1, Suppress = 0, } - // Generated from `System.Transactions.TransactionScopeOption` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum TransactionScopeOption : int { Required = 0, @@ -306,10 +275,8 @@ namespace System Suppress = 2, } - // Generated from `System.Transactions.TransactionStartedEventHandler` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public delegate void TransactionStartedEventHandler(object sender, System.Transactions.TransactionEventArgs e); - // Generated from `System.Transactions.TransactionStatus` in `System.Transactions.Local, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public enum TransactionStatus : int { Aborted = 2, diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Web.HttpUtility.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Web.HttpUtility.cs index f76e1e332da..6a83230211c 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Web.HttpUtility.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Web.HttpUtility.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Web.HttpUtility, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. namespace System { namespace Web { - // Generated from `System.Web.HttpUtility` in `System.Web.HttpUtility, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51` public class HttpUtility { public static string HtmlAttributeEncode(string s) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.ReaderWriter.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.ReaderWriter.cs index 1dc257b5521..6895809f5b6 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.ReaderWriter.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.ReaderWriter.cs @@ -1,10 +1,10 @@ // This file contains auto-generated code. +// Generated from `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Xml { - // Generated from `System.Xml.ConformanceLevel` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ConformanceLevel : int { Auto = 0, @@ -12,7 +12,6 @@ namespace System Fragment = 1, } - // Generated from `System.Xml.DtdProcessing` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum DtdProcessing : int { Ignore = 1, @@ -20,33 +19,28 @@ namespace System Prohibit = 0, } - // Generated from `System.Xml.EntityHandling` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum EntityHandling : int { ExpandCharEntities = 2, ExpandEntities = 1, } - // Generated from `System.Xml.Formatting` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum Formatting : int { Indented = 1, None = 0, } - // Generated from `System.Xml.IApplicationResourceStreamResolver` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IApplicationResourceStreamResolver { System.IO.Stream GetApplicationResourceStream(System.Uri relativeUri); } - // Generated from `System.Xml.IHasXmlNode` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IHasXmlNode { System.Xml.XmlNode GetNode(); } - // Generated from `System.Xml.IXmlLineInfo` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlLineInfo { bool HasLineInfo(); @@ -54,7 +48,6 @@ namespace System int LinePosition { get; } } - // Generated from `System.Xml.IXmlNamespaceResolver` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlNamespaceResolver { System.Collections.Generic.IDictionary GetNamespacesInScope(System.Xml.XmlNamespaceScope scope); @@ -62,7 +55,6 @@ namespace System string LookupPrefix(string namespaceName); } - // Generated from `System.Xml.NameTable` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class NameTable : System.Xml.XmlNameTable { public override string Add(System.Char[] key, int start, int len) => throw null; @@ -72,7 +64,6 @@ namespace System public NameTable() => throw null; } - // Generated from `System.Xml.NamespaceHandling` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum NamespaceHandling : int { @@ -80,7 +71,6 @@ namespace System OmitDuplicates = 1, } - // Generated from `System.Xml.NewLineHandling` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum NewLineHandling : int { Entitize = 1, @@ -88,7 +78,6 @@ namespace System Replace = 0, } - // Generated from `System.Xml.ReadState` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ReadState : int { Closed = 4, @@ -98,7 +87,6 @@ namespace System Interactive = 1, } - // Generated from `System.Xml.ValidationType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum ValidationType : int { Auto = 1, @@ -108,7 +96,6 @@ namespace System XDR = 3, } - // Generated from `System.Xml.WhitespaceHandling` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WhitespaceHandling : int { All = 0, @@ -116,7 +103,6 @@ namespace System Significant = 1, } - // Generated from `System.Xml.WriteState` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum WriteState : int { Attribute = 3, @@ -128,7 +114,6 @@ namespace System Start = 0, } - // Generated from `System.Xml.XmlAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAttribute : System.Xml.XmlNode { public override System.Xml.XmlNode AppendChild(System.Xml.XmlNode newChild) => throw null; @@ -157,7 +142,6 @@ namespace System protected internal XmlAttribute(string prefix, string localName, string namespaceURI, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlAttributeCollection` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAttributeCollection : System.Xml.XmlNamedNodeMap, System.Collections.ICollection, System.Collections.IEnumerable { public System.Xml.XmlAttribute Append(System.Xml.XmlAttribute node) => throw null; @@ -181,7 +165,6 @@ namespace System object System.Collections.ICollection.SyncRoot { get => throw null; } } - // Generated from `System.Xml.XmlCDataSection` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlCDataSection : System.Xml.XmlCharacterData { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -195,7 +178,6 @@ namespace System protected internal XmlCDataSection(string data, System.Xml.XmlDocument doc) : base(default(string), default(System.Xml.XmlDocument)) => throw null; } - // Generated from `System.Xml.XmlCharacterData` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlCharacterData : System.Xml.XmlLinkedNode { public virtual void AppendData(string strData) => throw null; @@ -210,7 +192,6 @@ namespace System protected internal XmlCharacterData(string data, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlComment` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlComment : System.Xml.XmlCharacterData { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -222,7 +203,6 @@ namespace System protected internal XmlComment(string comment, System.Xml.XmlDocument doc) : base(default(string), default(System.Xml.XmlDocument)) => throw null; } - // Generated from `System.Xml.XmlConvert` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlConvert { public static string DecodeName(string name) => throw null; @@ -287,7 +267,6 @@ namespace System public XmlConvert() => throw null; } - // Generated from `System.Xml.XmlDateTimeSerializationMode` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlDateTimeSerializationMode : int { Local = 0, @@ -296,7 +275,6 @@ namespace System Utc = 1, } - // Generated from `System.Xml.XmlDeclaration` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDeclaration : System.Xml.XmlLinkedNode { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -313,7 +291,6 @@ namespace System protected internal XmlDeclaration(string version, string encoding, string standalone, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlDocument` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDocument : System.Xml.XmlNode { public override string BaseURI { get => throw null; } @@ -385,7 +362,6 @@ namespace System public virtual System.Xml.XmlResolver XmlResolver { set => throw null; } } - // Generated from `System.Xml.XmlDocumentFragment` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDocumentFragment : System.Xml.XmlNode { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -400,7 +376,6 @@ namespace System protected internal XmlDocumentFragment(System.Xml.XmlDocument ownerDocument) => throw null; } - // Generated from `System.Xml.XmlDocumentType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlDocumentType : System.Xml.XmlLinkedNode { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -418,7 +393,6 @@ namespace System protected internal XmlDocumentType(string name, string publicId, string systemId, string internalSubset, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlElement` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlElement : System.Xml.XmlLinkedNode { public override System.Xml.XmlAttributeCollection Attributes { get => throw null; } @@ -460,7 +434,6 @@ namespace System protected internal XmlElement(string prefix, string localName, string namespaceURI, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlEntity` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlEntity : System.Xml.XmlNode { public override string BaseURI { get => throw null; } @@ -479,7 +452,6 @@ namespace System public override void WriteTo(System.Xml.XmlWriter w) => throw null; } - // Generated from `System.Xml.XmlEntityReference` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlEntityReference : System.Xml.XmlLinkedNode { public override string BaseURI { get => throw null; } @@ -494,7 +466,6 @@ namespace System protected internal XmlEntityReference(string name, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlException` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -509,7 +480,6 @@ namespace System public XmlException(string message, System.Exception innerException, int lineNumber, int linePosition) => throw null; } - // Generated from `System.Xml.XmlImplementation` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlImplementation { public virtual System.Xml.XmlDocument CreateDocument() => throw null; @@ -518,7 +488,6 @@ namespace System public XmlImplementation(System.Xml.XmlNameTable nt) => throw null; } - // Generated from `System.Xml.XmlLinkedNode` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlLinkedNode : System.Xml.XmlNode { public override System.Xml.XmlNode NextSibling { get => throw null; } @@ -526,7 +495,6 @@ namespace System internal XmlLinkedNode() => throw null; } - // Generated from `System.Xml.XmlNameTable` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlNameTable { public abstract string Add(System.Char[] array, int offset, int length); @@ -536,7 +504,6 @@ namespace System protected XmlNameTable() => throw null; } - // Generated from `System.Xml.XmlNamedNodeMap` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNamedNodeMap : System.Collections.IEnumerable { public virtual int Count { get => throw null; } @@ -550,7 +517,6 @@ namespace System internal XmlNamedNodeMap() => throw null; } - // Generated from `System.Xml.XmlNamespaceManager` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNamespaceManager : System.Collections.IEnumerable, System.Xml.IXmlNamespaceResolver { public virtual void AddNamespace(string prefix, string uri) => throw null; @@ -567,7 +533,6 @@ namespace System public XmlNamespaceManager(System.Xml.XmlNameTable nameTable) => throw null; } - // Generated from `System.Xml.XmlNamespaceScope` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlNamespaceScope : int { All = 0, @@ -575,7 +540,6 @@ namespace System Local = 2, } - // Generated from `System.Xml.XmlNode` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlNode : System.Collections.IEnumerable, System.ICloneable, System.Xml.XPath.IXPathNavigable { public virtual System.Xml.XmlNode AppendChild(System.Xml.XmlNode newChild) => throw null; @@ -628,7 +592,6 @@ namespace System internal XmlNode() => throw null; } - // Generated from `System.Xml.XmlNodeChangedAction` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlNodeChangedAction : int { Change = 2, @@ -636,7 +599,6 @@ namespace System Remove = 1, } - // Generated from `System.Xml.XmlNodeChangedEventArgs` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNodeChangedEventArgs : System.EventArgs { public System.Xml.XmlNodeChangedAction Action { get => throw null; } @@ -648,10 +610,8 @@ namespace System public XmlNodeChangedEventArgs(System.Xml.XmlNode node, System.Xml.XmlNode oldParent, System.Xml.XmlNode newParent, string oldValue, string newValue, System.Xml.XmlNodeChangedAction action) => throw null; } - // Generated from `System.Xml.XmlNodeChangedEventHandler` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlNodeChangedEventHandler(object sender, System.Xml.XmlNodeChangedEventArgs e); - // Generated from `System.Xml.XmlNodeList` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlNodeList : System.Collections.IEnumerable, System.IDisposable { public abstract int Count { get; } @@ -664,7 +624,6 @@ namespace System protected XmlNodeList() => throw null; } - // Generated from `System.Xml.XmlNodeOrder` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlNodeOrder : int { After = 1, @@ -673,7 +632,6 @@ namespace System Unknown = 3, } - // Generated from `System.Xml.XmlNodeReader` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNodeReader : System.Xml.XmlReader, System.Xml.IXmlNamespaceResolver { public override int AttributeCount { get => throw null; } @@ -723,7 +681,6 @@ namespace System public override System.Xml.XmlSpace XmlSpace { get => throw null; } } - // Generated from `System.Xml.XmlNodeType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlNodeType : int { Attribute = 2, @@ -746,7 +703,6 @@ namespace System XmlDeclaration = 17, } - // Generated from `System.Xml.XmlNotation` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNotation : System.Xml.XmlNode { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -762,7 +718,6 @@ namespace System public override void WriteTo(System.Xml.XmlWriter w) => throw null; } - // Generated from `System.Xml.XmlOutputMethod` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlOutputMethod : int { AutoDetect = 3, @@ -771,7 +726,6 @@ namespace System Xml = 0, } - // Generated from `System.Xml.XmlParserContext` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlParserContext { public string BaseURI { get => throw null; set => throw null; } @@ -790,7 +744,6 @@ namespace System public System.Xml.XmlSpace XmlSpace { get => throw null; set => throw null; } } - // Generated from `System.Xml.XmlProcessingInstruction` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlProcessingInstruction : System.Xml.XmlLinkedNode { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -806,7 +759,6 @@ namespace System protected internal XmlProcessingInstruction(string target, string data, System.Xml.XmlDocument doc) => throw null; } - // Generated from `System.Xml.XmlQualifiedName` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlQualifiedName { public static bool operator !=(System.Xml.XmlQualifiedName a, System.Xml.XmlQualifiedName b) => throw null; @@ -824,7 +776,6 @@ namespace System public XmlQualifiedName(string name, string ns) => throw null; } - // Generated from `System.Xml.XmlReader` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlReader : System.IDisposable { public abstract int AttributeCount { get; } @@ -963,7 +914,6 @@ namespace System public virtual System.Xml.XmlSpace XmlSpace { get => throw null; } } - // Generated from `System.Xml.XmlReaderSettings` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlReaderSettings { public bool Async { get => throw null; set => throw null; } @@ -990,7 +940,6 @@ namespace System public System.Xml.XmlResolver XmlResolver { set => throw null; } } - // Generated from `System.Xml.XmlResolver` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlResolver { public virtual System.Net.ICredentials Credentials { set => throw null; } @@ -1002,7 +951,6 @@ namespace System protected XmlResolver() => throw null; } - // Generated from `System.Xml.XmlSecureResolver` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSecureResolver : System.Xml.XmlResolver { public override System.Net.ICredentials Credentials { set => throw null; } @@ -1012,7 +960,6 @@ namespace System public XmlSecureResolver(System.Xml.XmlResolver resolver, string securityUrl) => throw null; } - // Generated from `System.Xml.XmlSignificantWhitespace` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSignificantWhitespace : System.Xml.XmlCharacterData { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -1027,7 +974,6 @@ namespace System protected internal XmlSignificantWhitespace(string strData, System.Xml.XmlDocument doc) : base(default(string), default(System.Xml.XmlDocument)) => throw null; } - // Generated from `System.Xml.XmlSpace` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSpace : int { Default = 1, @@ -1035,7 +981,6 @@ namespace System Preserve = 2, } - // Generated from `System.Xml.XmlText` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlText : System.Xml.XmlCharacterData { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -1051,7 +996,6 @@ namespace System protected internal XmlText(string strData, System.Xml.XmlDocument doc) : base(default(string), default(System.Xml.XmlDocument)) => throw null; } - // Generated from `System.Xml.XmlTextReader` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlTextReader : System.Xml.XmlReader, System.Xml.IXmlLineInfo, System.Xml.IXmlNamespaceResolver { public override int AttributeCount { get => throw null; } @@ -1131,7 +1075,6 @@ namespace System public XmlTextReader(string xmlFragment, System.Xml.XmlNodeType fragType, System.Xml.XmlParserContext context) => throw null; } - // Generated from `System.Xml.XmlTextWriter` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlTextWriter : System.Xml.XmlWriter { public System.IO.Stream BaseStream { get => throw null; } @@ -1176,7 +1119,6 @@ namespace System public XmlTextWriter(string filename, System.Text.Encoding encoding) => throw null; } - // Generated from `System.Xml.XmlTokenizedType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlTokenizedType : int { CDATA = 0, @@ -1194,7 +1136,6 @@ namespace System QName = 10, } - // Generated from `System.Xml.XmlUrlResolver` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlUrlResolver : System.Xml.XmlResolver { public System.Net.Cache.RequestCachePolicy CachePolicy { set => throw null; } @@ -1206,7 +1147,6 @@ namespace System public XmlUrlResolver() => throw null; } - // Generated from `System.Xml.XmlValidatingReader` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlValidatingReader : System.Xml.XmlReader, System.Xml.IXmlLineInfo, System.Xml.IXmlNamespaceResolver { public override int AttributeCount { get => throw null; } @@ -1269,7 +1209,6 @@ namespace System public XmlValidatingReader(string xmlFragment, System.Xml.XmlNodeType fragType, System.Xml.XmlParserContext context) => throw null; } - // Generated from `System.Xml.XmlWhitespace` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlWhitespace : System.Xml.XmlCharacterData { public override System.Xml.XmlNode CloneNode(bool deep) => throw null; @@ -1284,7 +1223,6 @@ namespace System protected internal XmlWhitespace(string strData, System.Xml.XmlDocument doc) : base(default(string), default(System.Xml.XmlDocument)) => throw null; } - // Generated from `System.Xml.XmlWriter` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlWriter : System.IAsyncDisposable, System.IDisposable { public virtual void Close() => throw null; @@ -1390,7 +1328,6 @@ namespace System protected XmlWriter() => throw null; } - // Generated from `System.Xml.XmlWriterSettings` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlWriterSettings { public bool Async { get => throw null; set => throw null; } @@ -1415,7 +1352,6 @@ namespace System namespace Resolvers { - // Generated from `System.Xml.Resolvers.XmlKnownDtds` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum XmlKnownDtds : int { @@ -1425,7 +1361,6 @@ namespace System Xhtml10 = 1, } - // Generated from `System.Xml.Resolvers.XmlPreloadedResolver` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlPreloadedResolver : System.Xml.XmlResolver { public void Add(System.Uri uri, System.Byte[] value) => throw null; @@ -1449,7 +1384,6 @@ namespace System } namespace Schema { - // Generated from `System.Xml.Schema.IXmlSchemaInfo` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlSchemaInfo { bool IsDefault { get; } @@ -1461,7 +1395,6 @@ namespace System System.Xml.Schema.XmlSchemaValidity Validity { get; } } - // Generated from `System.Xml.Schema.ValidationEventArgs` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ValidationEventArgs : System.EventArgs { public System.Xml.Schema.XmlSchemaException Exception { get => throw null; } @@ -1469,10 +1402,8 @@ namespace System public System.Xml.Schema.XmlSeverityType Severity { get => throw null; } } - // Generated from `System.Xml.Schema.ValidationEventHandler` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void ValidationEventHandler(object sender, System.Xml.Schema.ValidationEventArgs e); - // Generated from `System.Xml.Schema.XmlAtomicValue` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAtomicValue : System.Xml.XPath.XPathItem, System.ICloneable { public System.Xml.Schema.XmlAtomicValue Clone() => throw null; @@ -1491,7 +1422,6 @@ namespace System public override System.Xml.Schema.XmlSchemaType XmlType { get => throw null; } } - // Generated from `System.Xml.Schema.XmlSchema` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchema : System.Xml.Schema.XmlSchemaObject { public System.Xml.Schema.XmlSchemaForm AttributeFormDefault { get => throw null; set => throw null; } @@ -1527,14 +1457,12 @@ namespace System public XmlSchema() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAll` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAll : System.Xml.Schema.XmlSchemaGroupBase { public override System.Xml.Schema.XmlSchemaObjectCollection Items { get => throw null; } public XmlSchemaAll() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAnnotated` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAnnotated : System.Xml.Schema.XmlSchemaObject { public System.Xml.Schema.XmlSchemaAnnotation Annotation { get => throw null; set => throw null; } @@ -1543,7 +1471,6 @@ namespace System public XmlSchemaAnnotated() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAnnotation` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAnnotation : System.Xml.Schema.XmlSchemaObject { public string Id { get => throw null; set => throw null; } @@ -1552,7 +1479,6 @@ namespace System public XmlSchemaAnnotation() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAny` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAny : System.Xml.Schema.XmlSchemaParticle { public string Namespace { get => throw null; set => throw null; } @@ -1560,7 +1486,6 @@ namespace System public XmlSchemaAny() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAnyAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAnyAttribute : System.Xml.Schema.XmlSchemaAnnotated { public string Namespace { get => throw null; set => throw null; } @@ -1568,7 +1493,6 @@ namespace System public XmlSchemaAnyAttribute() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAppInfo` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAppInfo : System.Xml.Schema.XmlSchemaObject { public System.Xml.XmlNode[] Markup { get => throw null; set => throw null; } @@ -1576,7 +1500,6 @@ namespace System public XmlSchemaAppInfo() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAttribute : System.Xml.Schema.XmlSchemaAnnotated { public System.Xml.Schema.XmlSchemaSimpleType AttributeSchemaType { get => throw null; } @@ -1593,7 +1516,6 @@ namespace System public XmlSchemaAttribute() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAttributeGroup` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAttributeGroup : System.Xml.Schema.XmlSchemaAnnotated { public System.Xml.Schema.XmlSchemaAnyAttribute AnyAttribute { get => throw null; set => throw null; } @@ -1604,21 +1526,18 @@ namespace System public XmlSchemaAttributeGroup() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaAttributeGroupRef` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaAttributeGroupRef : System.Xml.Schema.XmlSchemaAnnotated { public System.Xml.XmlQualifiedName RefName { get => throw null; set => throw null; } public XmlSchemaAttributeGroupRef() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaChoice` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaChoice : System.Xml.Schema.XmlSchemaGroupBase { public override System.Xml.Schema.XmlSchemaObjectCollection Items { get => throw null; } public XmlSchemaChoice() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaCollection` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaCollection : System.Collections.ICollection, System.Collections.IEnumerable { public System.Xml.Schema.XmlSchema Add(System.Xml.Schema.XmlSchema schema) => throw null; @@ -1644,7 +1563,6 @@ namespace System public XmlSchemaCollection(System.Xml.XmlNameTable nametable) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaCollectionEnumerator` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaCollectionEnumerator : System.Collections.IEnumerator { public System.Xml.Schema.XmlSchema Current { get => throw null; } @@ -1654,14 +1572,12 @@ namespace System void System.Collections.IEnumerator.Reset() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaCompilationSettings` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaCompilationSettings { public bool EnableUpaCheck { get => throw null; set => throw null; } public XmlSchemaCompilationSettings() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaComplexContent` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaComplexContent : System.Xml.Schema.XmlSchemaContentModel { public override System.Xml.Schema.XmlSchemaContent Content { get => throw null; set => throw null; } @@ -1669,7 +1585,6 @@ namespace System public XmlSchemaComplexContent() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaComplexContentExtension` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaComplexContentExtension : System.Xml.Schema.XmlSchemaContent { public System.Xml.Schema.XmlSchemaAnyAttribute AnyAttribute { get => throw null; set => throw null; } @@ -1679,7 +1594,6 @@ namespace System public XmlSchemaComplexContentExtension() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaComplexContentRestriction` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaComplexContentRestriction : System.Xml.Schema.XmlSchemaContent { public System.Xml.Schema.XmlSchemaAnyAttribute AnyAttribute { get => throw null; set => throw null; } @@ -1689,7 +1603,6 @@ namespace System public XmlSchemaComplexContentRestriction() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaComplexType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaComplexType : System.Xml.Schema.XmlSchemaType { public System.Xml.Schema.XmlSchemaAnyAttribute AnyAttribute { get => throw null; set => throw null; } @@ -1707,20 +1620,17 @@ namespace System public XmlSchemaComplexType() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaContent` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaContent : System.Xml.Schema.XmlSchemaAnnotated { protected XmlSchemaContent() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaContentModel` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaContentModel : System.Xml.Schema.XmlSchemaAnnotated { public abstract System.Xml.Schema.XmlSchemaContent Content { get; set; } protected XmlSchemaContentModel() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaContentProcessing` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSchemaContentProcessing : int { Lax = 2, @@ -1729,7 +1639,6 @@ namespace System Strict = 3, } - // Generated from `System.Xml.Schema.XmlSchemaContentType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSchemaContentType : int { ElementOnly = 2, @@ -1738,7 +1647,6 @@ namespace System TextOnly = 0, } - // Generated from `System.Xml.Schema.XmlSchemaDatatype` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaDatatype { public virtual object ChangeType(object value, System.Type targetType) => throw null; @@ -1751,7 +1659,6 @@ namespace System public virtual System.Xml.Schema.XmlSchemaDatatypeVariety Variety { get => throw null; } } - // Generated from `System.Xml.Schema.XmlSchemaDatatypeVariety` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSchemaDatatypeVariety : int { Atomic = 0, @@ -1759,7 +1666,6 @@ namespace System Union = 2, } - // Generated from `System.Xml.Schema.XmlSchemaDerivationMethod` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum XmlSchemaDerivationMethod : int { @@ -1773,7 +1679,6 @@ namespace System Union = 16, } - // Generated from `System.Xml.Schema.XmlSchemaDocumentation` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaDocumentation : System.Xml.Schema.XmlSchemaObject { public string Language { get => throw null; set => throw null; } @@ -1782,7 +1687,6 @@ namespace System public XmlSchemaDocumentation() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaElement` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaElement : System.Xml.Schema.XmlSchemaParticle { public System.Xml.Schema.XmlSchemaDerivationMethod Block { get => throw null; set => throw null; } @@ -1806,13 +1710,11 @@ namespace System public XmlSchemaElement() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaEnumerationFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaEnumerationFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaEnumerationFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaException` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -1828,7 +1730,6 @@ namespace System public XmlSchemaException(string message, System.Exception innerException, int lineNumber, int linePosition) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaExternal` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaExternal : System.Xml.Schema.XmlSchemaObject { public string Id { get => throw null; set => throw null; } @@ -1838,7 +1739,6 @@ namespace System protected XmlSchemaExternal() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaFacet : System.Xml.Schema.XmlSchemaAnnotated { public virtual bool IsFixed { get => throw null; set => throw null; } @@ -1846,7 +1746,6 @@ namespace System protected XmlSchemaFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaForm` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSchemaForm : int { None = 0, @@ -1854,13 +1753,11 @@ namespace System Unqualified = 2, } - // Generated from `System.Xml.Schema.XmlSchemaFractionDigitsFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaFractionDigitsFacet : System.Xml.Schema.XmlSchemaNumericFacet { public XmlSchemaFractionDigitsFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaGroup` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaGroup : System.Xml.Schema.XmlSchemaAnnotated { public string Name { get => throw null; set => throw null; } @@ -1869,14 +1766,12 @@ namespace System public XmlSchemaGroup() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaGroupBase` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaGroupBase : System.Xml.Schema.XmlSchemaParticle { public abstract System.Xml.Schema.XmlSchemaObjectCollection Items { get; } internal XmlSchemaGroupBase() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaGroupRef` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaGroupRef : System.Xml.Schema.XmlSchemaParticle { public System.Xml.Schema.XmlSchemaGroupBase Particle { get => throw null; } @@ -1884,7 +1779,6 @@ namespace System public XmlSchemaGroupRef() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaIdentityConstraint` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaIdentityConstraint : System.Xml.Schema.XmlSchemaAnnotated { public System.Xml.Schema.XmlSchemaObjectCollection Fields { get => throw null; } @@ -1894,7 +1788,6 @@ namespace System public XmlSchemaIdentityConstraint() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaImport` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaImport : System.Xml.Schema.XmlSchemaExternal { public System.Xml.Schema.XmlSchemaAnnotation Annotation { get => throw null; set => throw null; } @@ -1902,17 +1795,14 @@ namespace System public XmlSchemaImport() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaInclude` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaInclude : System.Xml.Schema.XmlSchemaExternal { public System.Xml.Schema.XmlSchemaAnnotation Annotation { get => throw null; set => throw null; } public XmlSchemaInclude() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaInference` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaInference { - // Generated from `System.Xml.Schema.XmlSchemaInference+InferenceOption` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum InferenceOption : int { Relaxed = 1, @@ -1927,7 +1817,6 @@ namespace System public XmlSchemaInference() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaInferenceException` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaInferenceException : System.Xml.Schema.XmlSchemaException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -1938,7 +1827,6 @@ namespace System public XmlSchemaInferenceException(string message, System.Exception innerException, int lineNumber, int linePosition) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaInfo` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaInfo : System.Xml.Schema.IXmlSchemaInfo { public System.Xml.Schema.XmlSchemaContentType ContentType { get => throw null; set => throw null; } @@ -1952,62 +1840,52 @@ namespace System public XmlSchemaInfo() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaKey` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaKey : System.Xml.Schema.XmlSchemaIdentityConstraint { public XmlSchemaKey() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaKeyref` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaKeyref : System.Xml.Schema.XmlSchemaIdentityConstraint { public System.Xml.XmlQualifiedName Refer { get => throw null; set => throw null; } public XmlSchemaKeyref() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaLengthFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaLengthFacet : System.Xml.Schema.XmlSchemaNumericFacet { public XmlSchemaLengthFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaMaxExclusiveFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaMaxExclusiveFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaMaxExclusiveFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaMaxInclusiveFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaMaxInclusiveFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaMaxInclusiveFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaMaxLengthFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaMaxLengthFacet : System.Xml.Schema.XmlSchemaNumericFacet { public XmlSchemaMaxLengthFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaMinExclusiveFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaMinExclusiveFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaMinExclusiveFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaMinInclusiveFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaMinInclusiveFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaMinInclusiveFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaMinLengthFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaMinLengthFacet : System.Xml.Schema.XmlSchemaNumericFacet { public XmlSchemaMinLengthFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaNotation` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaNotation : System.Xml.Schema.XmlSchemaAnnotated { public string Name { get => throw null; set => throw null; } @@ -2016,13 +1894,11 @@ namespace System public XmlSchemaNotation() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaNumericFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaNumericFacet : System.Xml.Schema.XmlSchemaFacet { protected XmlSchemaNumericFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaObject` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaObject { public int LineNumber { get => throw null; set => throw null; } @@ -2033,7 +1909,6 @@ namespace System protected XmlSchemaObject() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaObjectCollection` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaObjectCollection : System.Collections.CollectionBase { public int Add(System.Xml.Schema.XmlSchemaObject item) => throw null; @@ -2052,7 +1927,6 @@ namespace System public XmlSchemaObjectCollection(System.Xml.Schema.XmlSchemaObject parent) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaObjectEnumerator` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaObjectEnumerator : System.Collections.IEnumerator { public System.Xml.Schema.XmlSchemaObject Current { get => throw null; } @@ -2063,7 +1937,6 @@ namespace System void System.Collections.IEnumerator.Reset() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaObjectTable` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaObjectTable { public bool Contains(System.Xml.XmlQualifiedName name) => throw null; @@ -2074,7 +1947,6 @@ namespace System public System.Collections.ICollection Values { get => throw null; } } - // Generated from `System.Xml.Schema.XmlSchemaParticle` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaParticle : System.Xml.Schema.XmlSchemaAnnotated { public System.Decimal MaxOccurs { get => throw null; set => throw null; } @@ -2084,13 +1956,11 @@ namespace System protected XmlSchemaParticle() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaPatternFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaPatternFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaPatternFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaRedefine` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaRedefine : System.Xml.Schema.XmlSchemaExternal { public System.Xml.Schema.XmlSchemaObjectTable AttributeGroups { get => throw null; } @@ -2100,14 +1970,12 @@ namespace System public XmlSchemaRedefine() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSequence` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSequence : System.Xml.Schema.XmlSchemaGroupBase { public override System.Xml.Schema.XmlSchemaObjectCollection Items { get => throw null; } public XmlSchemaSequence() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSet { public System.Xml.Schema.XmlSchema Add(System.Xml.Schema.XmlSchema schema) => throw null; @@ -2136,14 +2004,12 @@ namespace System public XmlSchemaSet(System.Xml.XmlNameTable nameTable) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleContent` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleContent : System.Xml.Schema.XmlSchemaContentModel { public override System.Xml.Schema.XmlSchemaContent Content { get => throw null; set => throw null; } public XmlSchemaSimpleContent() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleContentExtension` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleContentExtension : System.Xml.Schema.XmlSchemaContent { public System.Xml.Schema.XmlSchemaAnyAttribute AnyAttribute { get => throw null; set => throw null; } @@ -2152,7 +2018,6 @@ namespace System public XmlSchemaSimpleContentExtension() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleContentRestriction` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleContentRestriction : System.Xml.Schema.XmlSchemaContent { public System.Xml.Schema.XmlSchemaAnyAttribute AnyAttribute { get => throw null; set => throw null; } @@ -2163,20 +2028,17 @@ namespace System public XmlSchemaSimpleContentRestriction() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleType : System.Xml.Schema.XmlSchemaType { public System.Xml.Schema.XmlSchemaSimpleTypeContent Content { get => throw null; set => throw null; } public XmlSchemaSimpleType() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleTypeContent` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSchemaSimpleTypeContent : System.Xml.Schema.XmlSchemaAnnotated { protected XmlSchemaSimpleTypeContent() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleTypeList` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleTypeList : System.Xml.Schema.XmlSchemaSimpleTypeContent { public System.Xml.Schema.XmlSchemaSimpleType BaseItemType { get => throw null; set => throw null; } @@ -2185,7 +2047,6 @@ namespace System public XmlSchemaSimpleTypeList() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleTypeRestriction` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleTypeRestriction : System.Xml.Schema.XmlSchemaSimpleTypeContent { public System.Xml.Schema.XmlSchemaSimpleType BaseType { get => throw null; set => throw null; } @@ -2194,7 +2055,6 @@ namespace System public XmlSchemaSimpleTypeRestriction() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaSimpleTypeUnion` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaSimpleTypeUnion : System.Xml.Schema.XmlSchemaSimpleTypeContent { public System.Xml.Schema.XmlSchemaSimpleType[] BaseMemberTypes { get => throw null; } @@ -2203,13 +2063,11 @@ namespace System public XmlSchemaSimpleTypeUnion() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaTotalDigitsFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaTotalDigitsFacet : System.Xml.Schema.XmlSchemaNumericFacet { public XmlSchemaTotalDigitsFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaType : System.Xml.Schema.XmlSchemaAnnotated { public object BaseSchemaType { get => throw null; } @@ -2230,13 +2088,11 @@ namespace System public XmlSchemaType() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaUnique` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaUnique : System.Xml.Schema.XmlSchemaIdentityConstraint { public XmlSchemaUnique() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaUse` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSchemaUse : int { None = 0, @@ -2245,7 +2101,6 @@ namespace System Required = 3, } - // Generated from `System.Xml.Schema.XmlSchemaValidationException` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaValidationException : System.Xml.Schema.XmlSchemaException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -2258,7 +2113,6 @@ namespace System public XmlSchemaValidationException(string message, System.Exception innerException, int lineNumber, int linePosition) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaValidationFlags` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum XmlSchemaValidationFlags : int { @@ -2270,7 +2124,6 @@ namespace System ReportValidationWarnings = 4, } - // Generated from `System.Xml.Schema.XmlSchemaValidator` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaValidator { public void AddSchema(System.Xml.Schema.XmlSchema schema) => throw null; @@ -2300,7 +2153,6 @@ namespace System public XmlSchemaValidator(System.Xml.XmlNameTable nameTable, System.Xml.Schema.XmlSchemaSet schemas, System.Xml.IXmlNamespaceResolver namespaceResolver, System.Xml.Schema.XmlSchemaValidationFlags validationFlags) => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaValidity` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSchemaValidity : int { Invalid = 2, @@ -2308,27 +2160,23 @@ namespace System Valid = 1, } - // Generated from `System.Xml.Schema.XmlSchemaWhiteSpaceFacet` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaWhiteSpaceFacet : System.Xml.Schema.XmlSchemaFacet { public XmlSchemaWhiteSpaceFacet() => throw null; } - // Generated from `System.Xml.Schema.XmlSchemaXPath` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaXPath : System.Xml.Schema.XmlSchemaAnnotated { public string XPath { get => throw null; set => throw null; } public XmlSchemaXPath() => throw null; } - // Generated from `System.Xml.Schema.XmlSeverityType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSeverityType : int { Error = 0, Warning = 1, } - // Generated from `System.Xml.Schema.XmlTypeCode` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlTypeCode : int { AnyAtomicType = 10, @@ -2388,13 +2236,11 @@ namespace System YearMonthDuration = 53, } - // Generated from `System.Xml.Schema.XmlValueGetter` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate object XmlValueGetter(); } namespace Serialization { - // Generated from `System.Xml.Serialization.IXmlSerializable` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlSerializable { System.Xml.Schema.XmlSchema GetSchema(); @@ -2402,13 +2248,11 @@ namespace System void WriteXml(System.Xml.XmlWriter writer); } - // Generated from `System.Xml.Serialization.XmlAnyAttributeAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAnyAttributeAttribute : System.Attribute { public XmlAnyAttributeAttribute() => throw null; } - // Generated from `System.Xml.Serialization.XmlAnyElementAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAnyElementAttribute : System.Attribute { public string Name { get => throw null; set => throw null; } @@ -2419,7 +2263,6 @@ namespace System public XmlAnyElementAttribute(string name, string ns) => throw null; } - // Generated from `System.Xml.Serialization.XmlAttributeAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAttributeAttribute : System.Attribute { public string AttributeName { get => throw null; set => throw null; } @@ -2433,7 +2276,6 @@ namespace System public XmlAttributeAttribute(string attributeName, System.Type type) => throw null; } - // Generated from `System.Xml.Serialization.XmlElementAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlElementAttribute : System.Attribute { public string DataType { get => throw null; set => throw null; } @@ -2449,7 +2291,6 @@ namespace System public XmlElementAttribute(string elementName, System.Type type) => throw null; } - // Generated from `System.Xml.Serialization.XmlEnumAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlEnumAttribute : System.Attribute { public string Name { get => throw null; set => throw null; } @@ -2457,19 +2298,16 @@ namespace System public XmlEnumAttribute(string name) => throw null; } - // Generated from `System.Xml.Serialization.XmlIgnoreAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlIgnoreAttribute : System.Attribute { public XmlIgnoreAttribute() => throw null; } - // Generated from `System.Xml.Serialization.XmlNamespaceDeclarationsAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNamespaceDeclarationsAttribute : System.Attribute { public XmlNamespaceDeclarationsAttribute() => throw null; } - // Generated from `System.Xml.Serialization.XmlRootAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlRootAttribute : System.Attribute { public string DataType { get => throw null; set => throw null; } @@ -2480,7 +2318,6 @@ namespace System public XmlRootAttribute(string elementName) => throw null; } - // Generated from `System.Xml.Serialization.XmlSchemaProviderAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaProviderAttribute : System.Attribute { public bool IsAny { get => throw null; set => throw null; } @@ -2488,7 +2325,6 @@ namespace System public XmlSchemaProviderAttribute(string methodName) => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializerNamespaces` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSerializerNamespaces { public void Add(string prefix, string ns) => throw null; @@ -2499,7 +2335,6 @@ namespace System public XmlSerializerNamespaces(System.Xml.Serialization.XmlSerializerNamespaces namespaces) => throw null; } - // Generated from `System.Xml.Serialization.XmlTextAttribute` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlTextAttribute : System.Attribute { public string DataType { get => throw null; set => throw null; } @@ -2511,13 +2346,11 @@ namespace System } namespace XPath { - // Generated from `System.Xml.XPath.IXPathNavigable` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXPathNavigable { System.Xml.XPath.XPathNavigator CreateNavigator(); } - // Generated from `System.Xml.XPath.XPathExpression` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XPathExpression { public abstract void AddSort(object expr, System.Collections.IComparer comparer); @@ -2531,7 +2364,6 @@ namespace System public abstract void SetContext(System.Xml.XmlNamespaceManager nsManager); } - // Generated from `System.Xml.XPath.XPathItem` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XPathItem { public abstract bool IsNode { get; } @@ -2549,7 +2381,6 @@ namespace System public abstract System.Xml.Schema.XmlSchemaType XmlType { get; } } - // Generated from `System.Xml.XPath.XPathNamespaceScope` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XPathNamespaceScope : int { All = 0, @@ -2557,7 +2388,6 @@ namespace System Local = 2, } - // Generated from `System.Xml.XPath.XPathNavigator` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XPathNavigator : System.Xml.XPath.XPathItem, System.ICloneable, System.Xml.IXmlNamespaceResolver, System.Xml.XPath.IXPathNavigable { public virtual System.Xml.XmlWriter AppendChild() => throw null; @@ -2678,7 +2508,6 @@ namespace System public override System.Xml.Schema.XmlSchemaType XmlType { get => throw null; } } - // Generated from `System.Xml.XPath.XPathNodeIterator` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XPathNodeIterator : System.Collections.IEnumerable, System.ICloneable { public abstract System.Xml.XPath.XPathNodeIterator Clone(); @@ -2691,7 +2520,6 @@ namespace System protected XPathNodeIterator() => throw null; } - // Generated from `System.Xml.XPath.XPathNodeType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XPathNodeType : int { All = 9, @@ -2706,7 +2534,6 @@ namespace System Whitespace = 6, } - // Generated from `System.Xml.XPath.XPathResultType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XPathResultType : int { Any = 5, @@ -2718,7 +2545,6 @@ namespace System String = 1, } - // Generated from `System.Xml.XPath.XmlCaseOrder` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlCaseOrder : int { LowerFirst = 2, @@ -2726,14 +2552,12 @@ namespace System UpperFirst = 1, } - // Generated from `System.Xml.XPath.XmlDataType` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlDataType : int { Number = 2, Text = 1, } - // Generated from `System.Xml.XPath.XmlSortOrder` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XmlSortOrder : int { Ascending = 1, @@ -2743,7 +2567,6 @@ namespace System } namespace Xsl { - // Generated from `System.Xml.Xsl.IXsltContextFunction` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXsltContextFunction { System.Xml.XPath.XPathResultType[] ArgTypes { get; } @@ -2753,7 +2576,6 @@ namespace System System.Xml.XPath.XPathResultType ReturnType { get; } } - // Generated from `System.Xml.Xsl.IXsltContextVariable` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXsltContextVariable { object Evaluate(System.Xml.Xsl.XsltContext xsltContext); @@ -2762,7 +2584,6 @@ namespace System System.Xml.XPath.XPathResultType VariableType { get; } } - // Generated from `System.Xml.Xsl.XslCompiledTransform` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XslCompiledTransform { public void Load(System.Xml.XPath.IXPathNavigable stylesheet) => throw null; @@ -2793,7 +2614,6 @@ namespace System public XslCompiledTransform(bool enableDebug) => throw null; } - // Generated from `System.Xml.Xsl.XslTransform` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XslTransform { public void Load(System.Xml.XPath.IXPathNavigable stylesheet) => throw null; @@ -2826,7 +2646,6 @@ namespace System public XslTransform() => throw null; } - // Generated from `System.Xml.Xsl.XsltArgumentList` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XsltArgumentList { public void AddExtensionObject(string namespaceUri, object extension) => throw null; @@ -2840,7 +2659,6 @@ namespace System public event System.Xml.Xsl.XsltMessageEncounteredEventHandler XsltMessageEncountered; } - // Generated from `System.Xml.Xsl.XsltCompileException` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XsltCompileException : System.Xml.Xsl.XsltException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -2851,7 +2669,6 @@ namespace System public XsltCompileException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Xml.Xsl.XsltContext` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XsltContext : System.Xml.XmlNamespaceManager { public abstract int CompareDocument(string baseUri, string nextbaseUri); @@ -2863,7 +2680,6 @@ namespace System protected XsltContext(System.Xml.NameTable table) : base(default(System.Xml.XmlNameTable)) => throw null; } - // Generated from `System.Xml.Xsl.XsltException` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XsltException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; @@ -2877,17 +2693,14 @@ namespace System public XsltException(string message, System.Exception innerException) => throw null; } - // Generated from `System.Xml.Xsl.XsltMessageEncounteredEventArgs` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XsltMessageEncounteredEventArgs : System.EventArgs { public abstract string Message { get; } protected XsltMessageEncounteredEventArgs() => throw null; } - // Generated from `System.Xml.Xsl.XsltMessageEncounteredEventHandler` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XsltMessageEncounteredEventHandler(object sender, System.Xml.Xsl.XsltMessageEncounteredEventArgs e); - // Generated from `System.Xml.Xsl.XsltSettings` in `System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XsltSettings { public static System.Xml.Xsl.XsltSettings Default { get => throw null; } diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XDocument.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XDocument.cs index 05c82be7de1..d060d6c424a 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XDocument.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XDocument.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Linq { - // Generated from `System.Xml.Linq.Extensions` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Extensions { public static System.Collections.Generic.IEnumerable Ancestors(this System.Collections.Generic.IEnumerable source) where T : System.Xml.Linq.XNode => throw null; @@ -29,7 +29,6 @@ namespace System public static void Remove(this System.Collections.Generic.IEnumerable source) where T : System.Xml.Linq.XNode => throw null; } - // Generated from `System.Xml.Linq.LoadOptions` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum LoadOptions : int { @@ -39,7 +38,6 @@ namespace System SetLineInfo = 4, } - // Generated from `System.Xml.Linq.ReaderOptions` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum ReaderOptions : int { @@ -47,7 +45,6 @@ namespace System OmitDuplicateNamespaces = 1, } - // Generated from `System.Xml.Linq.SaveOptions` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum SaveOptions : int { @@ -56,7 +53,6 @@ namespace System OmitDuplicateNamespaces = 2, } - // Generated from `System.Xml.Linq.XAttribute` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XAttribute : System.Xml.Linq.XObject { public static System.Collections.Generic.IEnumerable EmptySequence { get => throw null; } @@ -98,7 +94,6 @@ namespace System public static explicit operator string(System.Xml.Linq.XAttribute attribute) => throw null; } - // Generated from `System.Xml.Linq.XCData` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XCData : System.Xml.Linq.XText { public override System.Xml.XmlNodeType NodeType { get => throw null; } @@ -108,7 +103,6 @@ namespace System public XCData(string value) : base(default(System.Xml.Linq.XText)) => throw null; } - // Generated from `System.Xml.Linq.XComment` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XComment : System.Xml.Linq.XNode { public override System.Xml.XmlNodeType NodeType { get => throw null; } @@ -119,7 +113,6 @@ namespace System public XComment(string value) => throw null; } - // Generated from `System.Xml.Linq.XContainer` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XContainer : System.Xml.Linq.XNode { public void Add(object content) => throw null; @@ -142,7 +135,6 @@ namespace System internal XContainer() => throw null; } - // Generated from `System.Xml.Linq.XDeclaration` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XDeclaration { public string Encoding { get => throw null; set => throw null; } @@ -153,7 +145,6 @@ namespace System public XDeclaration(string version, string encoding, string standalone) => throw null; } - // Generated from `System.Xml.Linq.XDocument` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XDocument : System.Xml.Linq.XContainer { public System.Xml.Linq.XDeclaration Declaration { get => throw null; set => throw null; } @@ -191,7 +182,6 @@ namespace System public XDocument(params object[] content) => throw null; } - // Generated from `System.Xml.Linq.XDocumentType` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XDocumentType : System.Xml.Linq.XNode { public string InternalSubset { get => throw null; set => throw null; } @@ -205,7 +195,6 @@ namespace System public XDocumentType(string name, string publicId, string systemId, string internalSubset) => throw null; } - // Generated from `System.Xml.Linq.XElement` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XElement : System.Xml.Linq.XContainer, System.Xml.Serialization.IXmlSerializable { public System.Collections.Generic.IEnumerable AncestorsAndSelf() => throw null; @@ -297,7 +286,6 @@ namespace System public static explicit operator string(System.Xml.Linq.XElement element) => throw null; } - // Generated from `System.Xml.Linq.XName` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XName : System.IEquatable, System.Runtime.Serialization.ISerializable { public static bool operator !=(System.Xml.Linq.XName left, System.Xml.Linq.XName right) => throw null; @@ -315,7 +303,6 @@ namespace System public static implicit operator System.Xml.Linq.XName(string expandedName) => throw null; } - // Generated from `System.Xml.Linq.XNamespace` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XNamespace { public static bool operator !=(System.Xml.Linq.XNamespace left, System.Xml.Linq.XNamespace right) => throw null; @@ -333,7 +320,6 @@ namespace System public static implicit operator System.Xml.Linq.XNamespace(string namespaceName) => throw null; } - // Generated from `System.Xml.Linq.XNode` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XNode : System.Xml.Linq.XObject { public void AddAfterSelf(object content) => throw null; @@ -370,7 +356,6 @@ namespace System internal XNode() => throw null; } - // Generated from `System.Xml.Linq.XNodeDocumentOrderComparer` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XNodeDocumentOrderComparer : System.Collections.Generic.IComparer, System.Collections.IComparer { public int Compare(System.Xml.Linq.XNode x, System.Xml.Linq.XNode y) => throw null; @@ -378,7 +363,6 @@ namespace System public XNodeDocumentOrderComparer() => throw null; } - // Generated from `System.Xml.Linq.XNodeEqualityComparer` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XNodeEqualityComparer : System.Collections.Generic.IEqualityComparer, System.Collections.IEqualityComparer { public bool Equals(System.Xml.Linq.XNode x, System.Xml.Linq.XNode y) => throw null; @@ -388,7 +372,6 @@ namespace System public XNodeEqualityComparer() => throw null; } - // Generated from `System.Xml.Linq.XObject` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XObject : System.Xml.IXmlLineInfo { public void AddAnnotation(object annotation) => throw null; @@ -410,7 +393,6 @@ namespace System internal XObject() => throw null; } - // Generated from `System.Xml.Linq.XObjectChange` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public enum XObjectChange : int { Add = 0, @@ -419,7 +401,6 @@ namespace System Value = 3, } - // Generated from `System.Xml.Linq.XObjectChangeEventArgs` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XObjectChangeEventArgs : System.EventArgs { public static System.Xml.Linq.XObjectChangeEventArgs Add; @@ -430,7 +411,6 @@ namespace System public XObjectChangeEventArgs(System.Xml.Linq.XObjectChange objectChange) => throw null; } - // Generated from `System.Xml.Linq.XProcessingInstruction` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XProcessingInstruction : System.Xml.Linq.XNode { public string Data { get => throw null; set => throw null; } @@ -442,7 +422,6 @@ namespace System public XProcessingInstruction(string target, string data) => throw null; } - // Generated from `System.Xml.Linq.XStreamingElement` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XStreamingElement { public void Add(object content) => throw null; @@ -463,7 +442,6 @@ namespace System public XStreamingElement(System.Xml.Linq.XName name, params object[] content) => throw null; } - // Generated from `System.Xml.Linq.XText` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XText : System.Xml.Linq.XNode { public override System.Xml.XmlNodeType NodeType { get => throw null; } @@ -477,7 +455,6 @@ namespace System } namespace Schema { - // Generated from `System.Xml.Schema.Extensions` in `System.Xml.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Extensions { public static System.Xml.Schema.IXmlSchemaInfo GetSchemaInfo(this System.Xml.Linq.XAttribute source) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.XDocument.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.XDocument.cs index 4770fc85133..08eb0a49e18 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.XDocument.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.XDocument.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Xml.XPath.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace XPath { - // Generated from `System.Xml.XPath.Extensions` in `System.Xml.XPath.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class Extensions { public static System.Xml.XPath.XPathNavigator CreateNavigator(this System.Xml.Linq.XNode node) => throw null; @@ -19,7 +19,6 @@ namespace System public static System.Collections.Generic.IEnumerable XPathSelectElements(this System.Xml.Linq.XNode node, string expression, System.Xml.IXmlNamespaceResolver resolver) => throw null; } - // Generated from `System.Xml.XPath.XDocumentExtensions` in `System.Xml.XPath.XDocument, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public static class XDocumentExtensions { public static System.Xml.XPath.IXPathNavigable ToXPathNavigable(this System.Xml.Linq.XNode node) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.cs index b942127f234..ec7ea32f149 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XPath.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Xml.XPath, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace XPath { - // Generated from `System.Xml.XPath.XPathDocument` in `System.Xml.XPath, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XPathDocument : System.Xml.XPath.IXPathNavigable { public System.Xml.XPath.XPathNavigator CreateNavigator() => throw null; @@ -18,7 +18,6 @@ namespace System public XPathDocument(string uri, System.Xml.XmlSpace space) => throw null; } - // Generated from `System.Xml.XPath.XPathException` in `System.Xml.XPath, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XPathException : System.SystemException { public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XmlSerializer.cs b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XmlSerializer.cs index 0e63a16183f..b811f7d0a4d 100644 --- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XmlSerializer.cs +++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Xml.XmlSerializer.cs @@ -1,4 +1,5 @@ // This file contains auto-generated code. +// Generated from `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { @@ -6,7 +7,6 @@ namespace System { namespace Serialization { - // Generated from `System.Xml.Serialization.CodeGenerationOptions` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum CodeGenerationOptions : int { @@ -18,7 +18,6 @@ namespace System None = 0, } - // Generated from `System.Xml.Serialization.CodeIdentifier` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CodeIdentifier { public CodeIdentifier() => throw null; @@ -27,7 +26,6 @@ namespace System public static string MakeValid(string identifier) => throw null; } - // Generated from `System.Xml.Serialization.CodeIdentifiers` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class CodeIdentifiers { public void Add(string identifier, object value) => throw null; @@ -45,14 +43,12 @@ namespace System public bool UseCamelCasing { get => throw null; set => throw null; } } - // Generated from `System.Xml.Serialization.IXmlTextParser` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public interface IXmlTextParser { bool Normalized { get; set; } System.Xml.WhitespaceHandling WhitespaceHandling { get; set; } } - // Generated from `System.Xml.Serialization.ImportContext` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class ImportContext { public ImportContext(System.Xml.Serialization.CodeIdentifiers identifiers, bool shareTypes) => throw null; @@ -61,13 +57,11 @@ namespace System public System.Collections.Specialized.StringCollection Warnings { get => throw null; } } - // Generated from `System.Xml.Serialization.SchemaImporter` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class SchemaImporter { internal SchemaImporter() => throw null; } - // Generated from `System.Xml.Serialization.SoapAttributeAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapAttributeAttribute : System.Attribute { public string AttributeName { get => throw null; set => throw null; } @@ -77,7 +71,6 @@ namespace System public SoapAttributeAttribute(string attributeName) => throw null; } - // Generated from `System.Xml.Serialization.SoapAttributeOverrides` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapAttributeOverrides { public void Add(System.Type type, System.Xml.Serialization.SoapAttributes attributes) => throw null; @@ -87,7 +80,6 @@ namespace System public SoapAttributeOverrides() => throw null; } - // Generated from `System.Xml.Serialization.SoapAttributes` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapAttributes { public System.Xml.Serialization.SoapAttributeAttribute SoapAttribute { get => throw null; set => throw null; } @@ -100,7 +92,6 @@ namespace System public System.Xml.Serialization.SoapTypeAttribute SoapType { get => throw null; set => throw null; } } - // Generated from `System.Xml.Serialization.SoapElementAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapElementAttribute : System.Attribute { public string DataType { get => throw null; set => throw null; } @@ -110,7 +101,6 @@ namespace System public SoapElementAttribute(string elementName) => throw null; } - // Generated from `System.Xml.Serialization.SoapEnumAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapEnumAttribute : System.Attribute { public string Name { get => throw null; set => throw null; } @@ -118,20 +108,17 @@ namespace System public SoapEnumAttribute(string name) => throw null; } - // Generated from `System.Xml.Serialization.SoapIgnoreAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapIgnoreAttribute : System.Attribute { public SoapIgnoreAttribute() => throw null; } - // Generated from `System.Xml.Serialization.SoapIncludeAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapIncludeAttribute : System.Attribute { public SoapIncludeAttribute(System.Type type) => throw null; public System.Type Type { get => throw null; set => throw null; } } - // Generated from `System.Xml.Serialization.SoapReflectionImporter` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapReflectionImporter { public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping(string elementName, string ns, System.Xml.Serialization.XmlReflectionMember[] members) => throw null; @@ -148,7 +135,6 @@ namespace System public SoapReflectionImporter(string defaultNamespace) => throw null; } - // Generated from `System.Xml.Serialization.SoapSchemaMember` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapSchemaMember { public string MemberName { get => throw null; set => throw null; } @@ -156,7 +142,6 @@ namespace System public SoapSchemaMember() => throw null; } - // Generated from `System.Xml.Serialization.SoapTypeAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class SoapTypeAttribute : System.Attribute { public bool IncludeInSchema { get => throw null; set => throw null; } @@ -167,7 +152,6 @@ namespace System public string TypeName { get => throw null; set => throw null; } } - // Generated from `System.Xml.Serialization.UnreferencedObjectEventArgs` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class UnreferencedObjectEventArgs : System.EventArgs { public string UnreferencedId { get => throw null; } @@ -175,10 +159,8 @@ namespace System public UnreferencedObjectEventArgs(object o, string id) => throw null; } - // Generated from `System.Xml.Serialization.UnreferencedObjectEventHandler` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void UnreferencedObjectEventHandler(object sender, System.Xml.Serialization.UnreferencedObjectEventArgs e); - // Generated from `System.Xml.Serialization.XmlAnyElementAttributes` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAnyElementAttributes : System.Collections.CollectionBase { public int Add(System.Xml.Serialization.XmlAnyElementAttribute attribute) => throw null; @@ -191,7 +173,6 @@ namespace System public XmlAnyElementAttributes() => throw null; } - // Generated from `System.Xml.Serialization.XmlArrayAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlArrayAttribute : System.Attribute { public string ElementName { get => throw null; set => throw null; } @@ -203,7 +184,6 @@ namespace System public XmlArrayAttribute(string elementName) => throw null; } - // Generated from `System.Xml.Serialization.XmlArrayItemAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlArrayItemAttribute : System.Attribute { public string DataType { get => throw null; set => throw null; } @@ -219,7 +199,6 @@ namespace System public XmlArrayItemAttribute(string elementName, System.Type type) => throw null; } - // Generated from `System.Xml.Serialization.XmlArrayItemAttributes` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlArrayItemAttributes : System.Collections.CollectionBase { public int Add(System.Xml.Serialization.XmlArrayItemAttribute attribute) => throw null; @@ -232,7 +211,6 @@ namespace System public XmlArrayItemAttributes() => throw null; } - // Generated from `System.Xml.Serialization.XmlAttributeEventArgs` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAttributeEventArgs : System.EventArgs { public System.Xml.XmlAttribute Attr { get => throw null; } @@ -242,10 +220,8 @@ namespace System public object ObjectBeingDeserialized { get => throw null; } } - // Generated from `System.Xml.Serialization.XmlAttributeEventHandler` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlAttributeEventHandler(object sender, System.Xml.Serialization.XmlAttributeEventArgs e); - // Generated from `System.Xml.Serialization.XmlAttributeOverrides` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAttributeOverrides { public void Add(System.Type type, System.Xml.Serialization.XmlAttributes attributes) => throw null; @@ -255,7 +231,6 @@ namespace System public XmlAttributeOverrides() => throw null; } - // Generated from `System.Xml.Serialization.XmlAttributes` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlAttributes { public System.Xml.Serialization.XmlAnyAttributeAttribute XmlAnyAttribute { get => throw null; set => throw null; } @@ -276,7 +251,6 @@ namespace System public bool Xmlns { get => throw null; set => throw null; } } - // Generated from `System.Xml.Serialization.XmlChoiceIdentifierAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlChoiceIdentifierAttribute : System.Attribute { public string MemberName { get => throw null; set => throw null; } @@ -284,7 +258,6 @@ namespace System public XmlChoiceIdentifierAttribute(string name) => throw null; } - // Generated from `System.Xml.Serialization.XmlDeserializationEvents` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public struct XmlDeserializationEvents { public System.Xml.Serialization.XmlAttributeEventHandler OnUnknownAttribute { get => throw null; set => throw null; } @@ -294,7 +267,6 @@ namespace System // Stub generator skipped constructor } - // Generated from `System.Xml.Serialization.XmlElementAttributes` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlElementAttributes : System.Collections.CollectionBase { public int Add(System.Xml.Serialization.XmlElementAttribute attribute) => throw null; @@ -307,7 +279,6 @@ namespace System public XmlElementAttributes() => throw null; } - // Generated from `System.Xml.Serialization.XmlElementEventArgs` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlElementEventArgs : System.EventArgs { public System.Xml.XmlElement Element { get => throw null; } @@ -317,17 +288,14 @@ namespace System public object ObjectBeingDeserialized { get => throw null; } } - // Generated from `System.Xml.Serialization.XmlElementEventHandler` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlElementEventHandler(object sender, System.Xml.Serialization.XmlElementEventArgs e); - // Generated from `System.Xml.Serialization.XmlIncludeAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlIncludeAttribute : System.Attribute { public System.Type Type { get => throw null; set => throw null; } public XmlIncludeAttribute(System.Type type) => throw null; } - // Generated from `System.Xml.Serialization.XmlMapping` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlMapping { public string ElementName { get => throw null; } @@ -337,7 +305,6 @@ namespace System public string XsdElementName { get => throw null; } } - // Generated from `System.Xml.Serialization.XmlMappingAccess` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` [System.Flags] public enum XmlMappingAccess : int { @@ -346,7 +313,6 @@ namespace System Write = 2, } - // Generated from `System.Xml.Serialization.XmlMemberMapping` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlMemberMapping { public bool Any { get => throw null; } @@ -360,7 +326,6 @@ namespace System public string XsdElementName { get => throw null; } } - // Generated from `System.Xml.Serialization.XmlMembersMapping` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlMembersMapping : System.Xml.Serialization.XmlMapping { public int Count { get => throw null; } @@ -369,7 +334,6 @@ namespace System public string TypeNamespace { get => throw null; } } - // Generated from `System.Xml.Serialization.XmlNodeEventArgs` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlNodeEventArgs : System.EventArgs { public int LineNumber { get => throw null; } @@ -382,10 +346,8 @@ namespace System public string Text { get => throw null; } } - // Generated from `System.Xml.Serialization.XmlNodeEventHandler` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlNodeEventHandler(object sender, System.Xml.Serialization.XmlNodeEventArgs e); - // Generated from `System.Xml.Serialization.XmlReflectionImporter` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlReflectionImporter { public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping(string elementName, string ns, System.Xml.Serialization.XmlReflectionMember[] members, bool hasWrapperElement) => throw null; @@ -404,7 +366,6 @@ namespace System public XmlReflectionImporter(string defaultNamespace) => throw null; } - // Generated from `System.Xml.Serialization.XmlReflectionMember` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlReflectionMember { public bool IsReturnValue { get => throw null; set => throw null; } @@ -416,7 +377,6 @@ namespace System public XmlReflectionMember() => throw null; } - // Generated from `System.Xml.Serialization.XmlSchemaEnumerator` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { public System.Xml.Schema.XmlSchema Current { get => throw null; } @@ -427,7 +387,6 @@ namespace System public XmlSchemaEnumerator(System.Xml.Serialization.XmlSchemas list) => throw null; } - // Generated from `System.Xml.Serialization.XmlSchemaExporter` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaExporter { public string ExportAnyType(System.Xml.Serialization.XmlMembersMapping members) => throw null; @@ -439,7 +398,6 @@ namespace System public XmlSchemaExporter(System.Xml.Serialization.XmlSchemas schemas) => throw null; } - // Generated from `System.Xml.Serialization.XmlSchemaImporter` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemaImporter : System.Xml.Serialization.SchemaImporter { public System.Xml.Serialization.XmlMembersMapping ImportAnyType(System.Xml.XmlQualifiedName typeName, string elementName) => throw null; @@ -457,7 +415,6 @@ namespace System public XmlSchemaImporter(System.Xml.Serialization.XmlSchemas schemas, System.Xml.Serialization.CodeIdentifiers typeIdentifiers) => throw null; } - // Generated from `System.Xml.Serialization.XmlSchemas` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSchemas : System.Collections.CollectionBase, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { public int Add(System.Xml.Schema.XmlSchema schema) => throw null; @@ -485,25 +442,19 @@ namespace System public XmlSchemas() => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializationCollectionFixupCallback` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlSerializationCollectionFixupCallback(object collection, object collectionItems); - // Generated from `System.Xml.Serialization.XmlSerializationFixupCallback` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlSerializationFixupCallback(object fixup); - // Generated from `System.Xml.Serialization.XmlSerializationGeneratedCode` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSerializationGeneratedCode { protected XmlSerializationGeneratedCode() => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializationReadCallback` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate object XmlSerializationReadCallback(); - // Generated from `System.Xml.Serialization.XmlSerializationReader` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSerializationReader : System.Xml.Serialization.XmlSerializationGeneratedCode { - // Generated from `System.Xml.Serialization.XmlSerializationReader+CollectionFixup` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` protected class CollectionFixup { public System.Xml.Serialization.XmlSerializationCollectionFixupCallback Callback { get => throw null; } @@ -513,7 +464,6 @@ namespace System } - // Generated from `System.Xml.Serialization.XmlSerializationReader+Fixup` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` protected class Fixup { public System.Xml.Serialization.XmlSerializationFixupCallback Callback { get => throw null; } @@ -603,10 +553,8 @@ namespace System protected XmlSerializationReader() => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializationWriteCallback` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public delegate void XmlSerializationWriteCallback(object o); - // Generated from `System.Xml.Serialization.XmlSerializationWriter` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSerializationWriter : System.Xml.Serialization.XmlSerializationGeneratedCode { protected void AddWriteCallback(System.Type type, string typeName, string typeNs, System.Xml.Serialization.XmlSerializationWriteCallback callback) => throw null; @@ -706,7 +654,6 @@ namespace System protected XmlSerializationWriter() => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializer` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSerializer { public virtual bool CanDeserialize(System.Xml.XmlReader xmlReader) => throw null; @@ -748,7 +695,6 @@ namespace System public XmlSerializer(System.Xml.Serialization.XmlTypeMapping xmlTypeMapping) => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializerAssemblyAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSerializerAssemblyAttribute : System.Attribute { public string AssemblyName { get => throw null; set => throw null; } @@ -758,7 +704,6 @@ namespace System public XmlSerializerAssemblyAttribute(string assemblyName, string codeBase) => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializerFactory` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSerializerFactory { public System.Xml.Serialization.XmlSerializer CreateSerializer(System.Type type) => throw null; @@ -772,7 +717,6 @@ namespace System public XmlSerializerFactory() => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializerImplementation` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class XmlSerializerImplementation { public virtual bool CanSerialize(System.Type type) => throw null; @@ -785,7 +729,6 @@ namespace System protected XmlSerializerImplementation() => throw null; } - // Generated from `System.Xml.Serialization.XmlSerializerVersionAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlSerializerVersionAttribute : System.Attribute { public string Namespace { get => throw null; set => throw null; } @@ -796,7 +739,6 @@ namespace System public XmlSerializerVersionAttribute(System.Type type) => throw null; } - // Generated from `System.Xml.Serialization.XmlTypeAttribute` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlTypeAttribute : System.Attribute { public bool AnonymousType { get => throw null; set => throw null; } @@ -807,7 +749,6 @@ namespace System public XmlTypeAttribute(string typeName) => throw null; } - // Generated from `System.Xml.Serialization.XmlTypeMapping` in `System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public class XmlTypeMapping : System.Xml.Serialization.XmlMapping { public string TypeFullName { get => throw null; } From 311cf4e7fdc4497a0c5b5f7451fb1808a630d21e Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Tue, 7 Mar 2023 11:56:05 +0100 Subject: [PATCH 077/145] C++: add false positives to `MissingCheckScanf` test See https://github.com/github/codeql/issues/12412 for the initial report. --- .../MissingCheckScanf.expected | 2 ++ .../Critical/MissingCheckScanf/test.cpp | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/cpp/ql/test/query-tests/Critical/MissingCheckScanf/MissingCheckScanf.expected b/cpp/ql/test/query-tests/Critical/MissingCheckScanf/MissingCheckScanf.expected index bbedf4ecc3f..12b4827c147 100644 --- a/cpp/ql/test/query-tests/Critical/MissingCheckScanf/MissingCheckScanf.expected +++ b/cpp/ql/test/query-tests/Critical/MissingCheckScanf/MissingCheckScanf.expected @@ -19,3 +19,5 @@ | test.cpp:302:8:302:12 | ptr_i | This variable is read, but may not have been written. It should be guarded by a check that the $@ returns at least 1. | test.cpp:301:3:301:7 | call to scanf | call to scanf | | test.cpp:310:7:310:7 | i | This variable is read, but may not have been written. It should be guarded by a check that the $@ returns at least 1. | test.cpp:309:3:309:7 | call to scanf | call to scanf | | test.cpp:404:25:404:25 | u | This variable is read, but may not have been written. It should be guarded by a check that the $@ returns at least 1. | test.cpp:403:6:403:11 | call to sscanf | call to sscanf | +| test.cpp:416:7:416:7 | i | This variable is read, but may not have been written. It should be guarded by a check that the $@ returns at least 1. | test.cpp:413:7:413:11 | call to scanf | call to scanf | +| test.cpp:423:7:423:7 | i | This variable is read, but may not have been written. It should be guarded by a check that the $@ returns at least 1. | test.cpp:420:7:420:11 | call to scanf | call to scanf | diff --git a/cpp/ql/test/query-tests/Critical/MissingCheckScanf/test.cpp b/cpp/ql/test/query-tests/Critical/MissingCheckScanf/test.cpp index 38af4d7efcd..51a0a8e624e 100644 --- a/cpp/ql/test/query-tests/Critical/MissingCheckScanf/test.cpp +++ b/cpp/ql/test/query-tests/Critical/MissingCheckScanf/test.cpp @@ -406,3 +406,20 @@ char *my_string_copy() { *ptr++ = 0; return DST_STRING; } + +void scan_and_write() { + { + int i; + if (scanf("%d", &i) < 1) { + i = 0; + } + use(i); // GOOD [FALSE POSITIVE]: variable is overwritten with a default value when scanf fails + } + { + int i; + if (scanf("%d", &i) != 1) { + i = 0; + } + use(i); // GOOD [FALSE POSITIVE]: variable is overwritten with a default value when scanf fails + } +} From 429518bcea07302ff2e3199a15fac94598d20141 Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Tue, 7 Mar 2023 12:03:34 +0100 Subject: [PATCH 078/145] C++: add further FP to test --- .../Critical/MissingCheckScanf/MissingCheckScanf.expected | 1 + cpp/ql/test/query-tests/Critical/MissingCheckScanf/test.cpp | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/cpp/ql/test/query-tests/Critical/MissingCheckScanf/MissingCheckScanf.expected b/cpp/ql/test/query-tests/Critical/MissingCheckScanf/MissingCheckScanf.expected index 12b4827c147..a34e79ace7b 100644 --- a/cpp/ql/test/query-tests/Critical/MissingCheckScanf/MissingCheckScanf.expected +++ b/cpp/ql/test/query-tests/Critical/MissingCheckScanf/MissingCheckScanf.expected @@ -21,3 +21,4 @@ | test.cpp:404:25:404:25 | u | This variable is read, but may not have been written. It should be guarded by a check that the $@ returns at least 1. | test.cpp:403:6:403:11 | call to sscanf | call to sscanf | | test.cpp:416:7:416:7 | i | This variable is read, but may not have been written. It should be guarded by a check that the $@ returns at least 1. | test.cpp:413:7:413:11 | call to scanf | call to scanf | | test.cpp:423:7:423:7 | i | This variable is read, but may not have been written. It should be guarded by a check that the $@ returns at least 1. | test.cpp:420:7:420:11 | call to scanf | call to scanf | +| test.cpp:430:6:430:6 | i | This variable is read, but may not have been written. It should be guarded by a check that the $@ returns at least 1. | test.cpp:429:2:429:6 | call to scanf | call to scanf | diff --git a/cpp/ql/test/query-tests/Critical/MissingCheckScanf/test.cpp b/cpp/ql/test/query-tests/Critical/MissingCheckScanf/test.cpp index 51a0a8e624e..5940ad39529 100644 --- a/cpp/ql/test/query-tests/Critical/MissingCheckScanf/test.cpp +++ b/cpp/ql/test/query-tests/Critical/MissingCheckScanf/test.cpp @@ -423,3 +423,9 @@ void scan_and_write() { use(i); // GOOD [FALSE POSITIVE]: variable is overwritten with a default value when scanf fails } } + +void scan_and_static_variable() { + static int i; + scanf("%d", &i); + use(i); // GOOD [FALSE POSITIVE]: static variables are always 0-initialized +} From dda29e99b24bd681ab90c82b69f478843f14afcb Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Tue, 7 Mar 2023 13:28:48 +0100 Subject: [PATCH 079/145] Python: Add test of keyword argument with same name as positional-only parameter This is a bit of an edge case, but allowed. Since we currently don't provide information on positional only arguments, we can't do much to solve it right now. --- .../dataflow/coverage/argumentPassing.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/python/ql/test/experimental/dataflow/coverage/argumentPassing.py b/python/ql/test/experimental/dataflow/coverage/argumentPassing.py index 35695b01f03..b547bd83f95 100644 --- a/python/ql/test/experimental/dataflow/coverage/argumentPassing.py +++ b/python/ql/test/experimental/dataflow/coverage/argumentPassing.py @@ -204,6 +204,18 @@ def test_mixed(): mixed(**args) +def kwargs_same_name_as_positional_only(a, /, **kwargs): + SINK1(a) + SINK2(kwargs["a"]) + +@expects(2*2) +def test_kwargs_same_name_as_positional_only(): + kwargs_same_name_as_positional_only(arg1, a=arg2) # $ arg1 SPURIOUS: bad1="arg2" MISSING: arg2 + + kwargs = {"a": arg2} # $ func=kwargs_same_name_as_positional_only SPURIOUS: bad1="arg2" MISSING: arg2 + kwargs_same_name_as_positional_only(arg1, **kwargs) # $ arg1 + + def starargs_only(*args): SINK1(args[0]) SINK2(args[1]) From 78a802359e67367289ba2f59759add7c623dc8ea Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Tue, 7 Mar 2023 13:38:48 +0100 Subject: [PATCH 080/145] Remove references to 'ruby' in generic extractor code --- ruby/extractor/src/extractor.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ruby/extractor/src/extractor.rs b/ruby/extractor/src/extractor.rs index fe1fc2e5ec1..09072bbf20f 100644 --- a/ruby/extractor/src/extractor.rs +++ b/ruby/extractor/src/extractor.rs @@ -306,8 +306,8 @@ impl<'a> Visitor<'a> { fn enter_node(&mut self, node: Node) -> bool { if node.is_missing() { self.record_parse_error_for_node( - "A parse error occurred (expected {} symbol). Check the syntax of the file using the {} command. If the file is invalid, correct the error or exclude the file from analysis.", - &[node.kind(), "ruby -c"], + "A parse error occurred (expected {} symbol). Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.", + &[node.kind()], node, true, ); @@ -315,8 +315,8 @@ impl<'a> Visitor<'a> { } if node.is_error() { self.record_parse_error_for_node( - "A parse error occurred. Check the syntax of the file using the {} command. If the file is invalid, correct the error or exclude the file from analysis.", - &["ruby -c"], + "A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.", + &[], node, true, ); From c4fd39ec3fdd50474edff25f929373873de62021 Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Tue, 7 Mar 2023 13:49:51 +0100 Subject: [PATCH 081/145] C++: fix example code for `FilePermissions.qll` --- .../Security/CWE/CWE-732/DoNotCreateWorldWritable.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cpp/ql/src/Security/CWE/CWE-732/DoNotCreateWorldWritable.c b/cpp/ql/src/Security/CWE/CWE-732/DoNotCreateWorldWritable.c index 3c984aa6a62..b015770ad80 100644 --- a/cpp/ql/src/Security/CWE/CWE-732/DoNotCreateWorldWritable.c +++ b/cpp/ql/src/Security/CWE/CWE-732/DoNotCreateWorldWritable.c @@ -1,11 +1,11 @@ -int write_default_config_bad() { +void write_default_config_bad() { // BAD - this is world-writable so any user can overwrite the config - FILE* out = creat(OUTFILE, 0666); - fprintf(out, DEFAULT_CONFIG); + int out = creat(OUTFILE, 0666); + dprintf(out, DEFAULT_CONFIG); } -int write_default_config_good() { +void write_default_config_good() { // GOOD - this allows only the current user to modify the file - FILE* out = creat(OUTFILE, S_IWUSR | S_IRUSR); - fprintf(out, DEFAULT_CONFIG); + int out = creat(OUTFILE, S_IWUSR | S_IRUSR); + dprintf(out, DEFAULT_CONFIG); } From 4d3b05e041a3103685a7c8b5eca0f05d5968b001 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Tue, 14 Feb 2023 14:17:55 +0000 Subject: [PATCH 082/145] Add test for first diagnostic (different OS/arch) --- .../diagnostics.expected | 15 +++++++++++++++ .../test.py | 9 +++++++++ .../work/go.mod | 3 +++ .../work/go.sum | 0 .../work/test.go | 8 ++++++++ 5 files changed, 35 insertions(+) create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/test.py create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/work/go.mod create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/work/go.sum create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/work/test.go diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected new file mode 100644 index 00000000000..ac44761fa3d --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected @@ -0,0 +1,15 @@ +{ + "internal": false, + "markdownMessage": "Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner)", + "severity": "warning", + "source": { + "extractorName": "go", + "id": "go/extractor/package-different-os-architecture", + "name": "Package syscall/js is intended for a different OS or architecture" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/test.py b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/test.py new file mode 100644 index 00000000000..9f34f431b93 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/test.py @@ -0,0 +1,9 @@ +import sys + +from create_database_utils import * +from diagnostics_test_utils import * + +os.environ['LGTM_INDEX_IMPORT_PATH'] = "test" +run_codeql_database_create([], lang="go", source="work", db=None) + +check_diagnostics() diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/work/go.mod b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/work/go.mod new file mode 100644 index 00000000000..6d61cf5dc3d --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/work/go.mod @@ -0,0 +1,3 @@ +go 1.18 + +module test diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/work/go.sum b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/work/go.sum new file mode 100644 index 00000000000..e69de29bb2d diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/work/test.go b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/work/test.go new file mode 100644 index 00000000000..dc3846a02e2 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/work/test.go @@ -0,0 +1,8 @@ +package test + +import "syscall/js" + +func Test() { + var x js.Error + _ = x +} From cbb2fb9968e4acbb4e1a1401dede208fb5f63c81 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Wed, 1 Mar 2023 10:39:41 +0000 Subject: [PATCH 083/145] Emit diagnostic to pass first integration test --- go/extractor/diagnostics/diagnostics.go | 103 ++++++++++++++++++++++++ go/extractor/extractor.go | 10 ++- 2 files changed, 112 insertions(+), 1 deletion(-) create mode 100644 go/extractor/diagnostics/diagnostics.go diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go new file mode 100644 index 00000000000..8c7e9e4d5b8 --- /dev/null +++ b/go/extractor/diagnostics/diagnostics.go @@ -0,0 +1,103 @@ +package diagnostics + +import ( + "encoding/json" + "log" + "os" + "time" +) + +type sourceStruct struct { + Id string `json:"id"` + Name string `json:"name"` + ExtractorName string `json:"extractorName"` +} + +type diagnosticSeverity string + +const ( + severityError diagnosticSeverity = "error" + severityWarning diagnosticSeverity = "warning" + severityNote diagnosticSeverity = "note" +) + +type visibilityStruct struct { + StatusPage bool `json:"statusPage"` // True if the message should be displayed on the status page (defaults to false) + CliSummaryTable bool `json:"cliSummaryTable"` // True if the message should be counted in the diagnostics summary table printed by `codeql database analyze` (defaults to false) + Telemetry bool `json:"telemetry"` // True if the message should be sent to telemetry (defaults to false) +} + +type locationStruct struct { + File string `json:"file,omitempty"` + StartLine int `json:"startLine,omitempty"` + StartColumn int `json:"startColumn,omitempty"` + EndLine int `json:"endLine,omitempty"` + EndColumn int `json:"endColumn,omitempty"` +} + +type diagnostic struct { + Timestamp string `json:"timestamp"` + Source sourceStruct `json:"source"` + MarkdownMessage string `json:"markdownMessage"` + Severity string `json:"severity"` + Internal bool `json:"internal"` + Visibility visibilityStruct `json:"visibility"` + Location *locationStruct `json:"location,omitempty"` // Use a pointer so that it is omitted if nil +} + +var diagnosticsEmitted, diagnosticsLimit uint = 0, 100 + +func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagnosticSeverity, internal, visibilitySP, visibilityCST, visibilityT bool, file string, startLine, startColumn, endLine, endColumn int) { + if diagnosticsEmitted <= diagnosticsLimit { + diagnosticsEmitted += 1 + + diagnosticDir := os.Getenv("CODEQL_EXTRACTOR_GO_DIAGNOSTIC_DIR") + if diagnosticDir == "" { + log.Println("No diagnostic directory set, so not emitting diagnostic") + return + } + + var optLoc *locationStruct + if file == "" && startLine == 0 && startColumn == 0 && endLine == 0 && endColumn == 0 { + optLoc = nil + } else { + optLoc = &locationStruct{file, startLine, startColumn, endLine, endColumn} + } + d := diagnostic{ + time.Now().UTC().Format("2006-01-02T15:04:05.000") + "Z", + sourceStruct{sourceid, sourcename, "go"}, + markdownMessage, + string(severity), + internal, + visibilityStruct{visibilitySP, visibilityCST, visibilityT}, + optLoc, + } + + content, err := json.Marshal(d) + if err != nil { + log.Println(err) + } + + targetFile, err := os.CreateTemp(diagnosticDir, "go-extractor.*.jsonl") + if err != nil { + log.Println("Failed to create temporary file for diagnostic: ") + log.Println(err) + } + defer targetFile.Close() + + _, err = targetFile.Write(content) + if err != nil { + log.Fatal(err) + } + } +} + +func EmitPackageDifferentOSArchitecture(pkgPath string) { + emitDiagnostic("go/extractor/package-different-os-architecture", + "Package "+pkgPath+" is intended for a different OS or architecture", + "Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner)", + severityWarning, false, + true, true, true, + "", 0, 0, 0, 0, + ) +} diff --git a/go/extractor/extractor.go b/go/extractor/extractor.go index 4b087d82947..cc7dcf442ae 100644 --- a/go/extractor/extractor.go +++ b/go/extractor/extractor.go @@ -22,6 +22,7 @@ import ( "time" "github.com/github/codeql-go/extractor/dbscheme" + "github.com/github/codeql-go/extractor/diagnostics" "github.com/github/codeql-go/extractor/srcarchive" "github.com/github/codeql-go/extractor/trap" "github.com/github/codeql-go/extractor/util" @@ -144,7 +145,14 @@ func ExtractWithFlags(buildFlags []string, patterns []string) error { if len(pkg.Errors) != 0 { log.Printf("Warning: encountered errors extracting package `%s`:", pkg.PkgPath) for i, err := range pkg.Errors { - log.Printf(" %s", err.Error()) + errString := err.Error() + log.Printf(" %s", errString) + + if strings.Contains(errString, "build constraints exclude all Go files in ") { + // `err` is a NoGoError from the package cmd/go/internal/load, which we cannot access as it is internal + diagnostics.EmitPackageDifferentOSArchitecture(pkg.PkgPath) + } + extraction.extractError(tw, err, lbl, i) } } From 137b2c9ef9f13acae5d2de613a5f068e8c2e00ef Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Fri, 24 Feb 2023 12:57:12 +0000 Subject: [PATCH 084/145] Add test for second diagnostic (newer go version) --- .../newer-go-version-needed/diagnostics.expected | 15 +++++++++++++++ .../diagnostics/newer-go-version-needed/test.py | 9 +++++++++ .../newer-go-version-needed/work/go.mod | 3 +++ .../newer-go-version-needed/work/go.sum | 0 .../newer-go-version-needed/work/test.go | 4 ++++ 5 files changed, 31 insertions(+) create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/test.py create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/work/go.mod create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/work/go.sum create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/work/test.go diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected new file mode 100644 index 00000000000..3b061be5f82 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected @@ -0,0 +1,15 @@ +{ + "internal": false, + "markdownMessage": "The version of Go available in the environment is lower than the version specified in the `go.mod` file. [Install a newer version](https://github.com/actions/setup-go#basic)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/newer-go-version-needed", + "name": "Newer Go version needed" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/test.py b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/test.py new file mode 100644 index 00000000000..9f34f431b93 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/test.py @@ -0,0 +1,9 @@ +import sys + +from create_database_utils import * +from diagnostics_test_utils import * + +os.environ['LGTM_INDEX_IMPORT_PATH'] = "test" +run_codeql_database_create([], lang="go", source="work", db=None) + +check_diagnostics() diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/work/go.mod b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/work/go.mod new file mode 100644 index 00000000000..14415aab0a7 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/work/go.mod @@ -0,0 +1,3 @@ +go 999.0 + +module test diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/work/go.sum b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/work/go.sum new file mode 100644 index 00000000000..e69de29bb2d diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/work/test.go b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/work/test.go new file mode 100644 index 00000000000..d0a32dfa082 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/work/test.go @@ -0,0 +1,4 @@ +package test + +func Test() { +} From 3f805d34566c918dc6fa0e1d43a5314dfa42d23c Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Fri, 24 Feb 2023 12:12:24 +0000 Subject: [PATCH 085/145] Remove unused param from function --- go/extractor/cli/go-autobuilder/go-autobuilder.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/extractor/cli/go-autobuilder/go-autobuilder.go b/go/extractor/cli/go-autobuilder/go-autobuilder.go index c78f7eaa276..76e564819f8 100644 --- a/go/extractor/cli/go-autobuilder/go-autobuilder.go +++ b/go/extractor/cli/go-autobuilder/go-autobuilder.go @@ -203,7 +203,7 @@ func (m ModMode) argsForGoVersion(version string) []string { } // addVersionToMod add a go version directive, e.g. `go 1.14` to a `go.mod` file. -func addVersionToMod(goMod []byte, version string) bool { +func addVersionToMod(version string) bool { cmd := exec.Command("go", "mod", "edit", "-go="+version) return util.RunCmd(cmd) } @@ -294,7 +294,7 @@ func main() { } else if explicitRe := regexp.MustCompile("(?m)^## explicit$"); !explicitRe.Match(modulesTxt) { // and the modules.txt does not contain an explicit annotation log.Println("Adding a version directive to the go.mod file as the modules.txt does not have explicit annotations") - if !addVersionToMod(goMod, "1.13") { + if !addVersionToMod("1.13") { log.Println("Failed to add a version to the go.mod file to fix explicitly required package bug; not using vendored dependencies") modMode = ModMod } From c0cc1c3fd5af57b794af7a748fa4546587a90161 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Fri, 24 Feb 2023 12:56:50 +0000 Subject: [PATCH 086/145] Emit diagnostic to pass second integration test --- .../cli/go-autobuilder/go-autobuilder.go | 24 +++++++++++++++---- go/extractor/diagnostics/diagnostics.go | 10 ++++++++ 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/go/extractor/cli/go-autobuilder/go-autobuilder.go b/go/extractor/cli/go-autobuilder/go-autobuilder.go index 76e564819f8..559610f2270 100644 --- a/go/extractor/cli/go-autobuilder/go-autobuilder.go +++ b/go/extractor/cli/go-autobuilder/go-autobuilder.go @@ -16,6 +16,7 @@ import ( "golang.org/x/mod/semver" "github.com/github/codeql-go/extractor/autobuilder" + "github.com/github/codeql-go/extractor/diagnostics" "github.com/github/codeql-go/extractor/util" ) @@ -249,12 +250,30 @@ func main() { depMode := GoGetNoModules modMode := ModUnset needGopath := true + goDirectiveFound := false + goDirectiveVersion := "1.16" if _, present := os.LookupEnv("GO111MODULE"); !present { os.Setenv("GO111MODULE", "auto") } if util.FileExists("go.mod") { depMode = GoGetWithModules needGopath = false + versionRe := regexp.MustCompile(`(?m)^go[ \t\r]+([0-9]+\.[0-9]+)$`) + goMod, err := ioutil.ReadFile("go.mod") + if err != nil { + log.Println("Failed to read go.mod to check for missing Go version") + } else { + matches := versionRe.FindSubmatch(goMod) + if matches != nil { + goDirectiveFound = true + if len(matches) > 1 { + goDirectiveVersion = "v" + string(matches[1]) + if semver.Compare(goDirectiveVersion, getEnvGoSemVer()) >= 0 { + diagnostics.EmitNewerGoVersionNeeded() + } + } + } + } log.Println("Found go.mod, enabling go modules") } else if util.FileExists("Gopkg.toml") { depMode = Dep @@ -283,10 +302,7 @@ func main() { // we work around this by adding an explicit go version of 1.13, which is the last version // where this is not an issue if depMode == GoGetWithModules { - goMod, err := ioutil.ReadFile("go.mod") - if err != nil { - log.Println("Failed to read go.mod to check for missing Go version") - } else if versionRe := regexp.MustCompile(`(?m)^go[ \t\r]+[0-9]+\.[0-9]+$`); !versionRe.Match(goMod) { + if !goDirectiveFound { // if the go.mod does not contain a version line modulesTxt, err := ioutil.ReadFile("vendor/modules.txt") if err != nil { diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 8c7e9e4d5b8..001bde28eb7 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -101,3 +101,13 @@ func EmitPackageDifferentOSArchitecture(pkgPath string) { "", 0, 0, 0, 0, ) } + +func EmitNewerGoVersionNeeded() { + emitDiagnostic("go/autobuilder/newer-go-version-needed", + "Newer Go version needed", + "The version of Go available in the environment is lower than the version specified in the `go.mod` file. [Install a newer version](https://github.com/actions/setup-go#basic)", + severityError, false, + true, true, true, + "", 0, 0, 0, 0, + ) +} From 4fe4dfbf835b69448617b91bb9dca081aad95a77 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Tue, 28 Feb 2023 16:56:57 +0000 Subject: [PATCH 087/145] Add tests for third diagnostic (package not found) --- .../diagnostics.expected | 15 +++++++++++++++ .../package-not-found-with-go-mod/test.py | 9 +++++++++ .../package-not-found-with-go-mod/work/go.mod | 7 +++++++ .../package-not-found-with-go-mod/work/go.sum | 1 + .../package-not-found-with-go-mod/work/test.go | 8 ++++++++ .../diagnostics.expected | 15 +++++++++++++++ .../package-not-found-without-go-mod/test.py | 9 +++++++++ .../package-not-found-without-go-mod/work/test.go | 8 ++++++++ 8 files changed, 72 insertions(+) create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/test.py create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/go.mod create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/go.sum create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/test.go create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/test.py create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/work/test.go diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected new file mode 100644 index 00000000000..6a1e9a00373 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected @@ -0,0 +1,15 @@ +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/extractor/package-not-found", + "name": "Package github.com/linode/linode-docs-theme could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/test.py b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/test.py new file mode 100644 index 00000000000..9f34f431b93 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/test.py @@ -0,0 +1,9 @@ +import sys + +from create_database_utils import * +from diagnostics_test_utils import * + +os.environ['LGTM_INDEX_IMPORT_PATH'] = "test" +run_codeql_database_create([], lang="go", source="work", db=None) + +check_diagnostics() diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/go.mod b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/go.mod new file mode 100644 index 00000000000..52f47d8d3e2 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/go.mod @@ -0,0 +1,7 @@ +go 1.19 + +require ( + github.com/linode/linode-docs-theme v0.0.0-20220622135843-166f108e1933 +) + +module test diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/go.sum b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/go.sum new file mode 100644 index 00000000000..c4c3e8d972d --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/go.sum @@ -0,0 +1 @@ +github.com/linode/linode-docs-theme v0.0.0-20220622135843-166f108e1933 h1:QchGQS6xESuyjdlNJEjvq2ftGX0sCTAhPhD5hAOJVMI= diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/test.go b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/test.go new file mode 100644 index 00000000000..d51c5a926eb --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/test.go @@ -0,0 +1,8 @@ +package test + +import linodedocstheme "github.com/linode/linode-docs-theme" + +func Test() { + theme := linodedocstheme.Theme{} + _ = theme +} diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected new file mode 100644 index 00000000000..6a1e9a00373 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected @@ -0,0 +1,15 @@ +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/extractor/package-not-found", + "name": "Package github.com/linode/linode-docs-theme could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/test.py b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/test.py new file mode 100644 index 00000000000..9f34f431b93 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/test.py @@ -0,0 +1,9 @@ +import sys + +from create_database_utils import * +from diagnostics_test_utils import * + +os.environ['LGTM_INDEX_IMPORT_PATH'] = "test" +run_codeql_database_create([], lang="go", source="work", db=None) + +check_diagnostics() diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/work/test.go b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/work/test.go new file mode 100644 index 00000000000..d51c5a926eb --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/work/test.go @@ -0,0 +1,8 @@ +package test + +import linodedocstheme "github.com/linode/linode-docs-theme" + +func Test() { + theme := linodedocstheme.Theme{} + _ = theme +} From 2a41e6ae66929304f355417283adf02598f63d55 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Tue, 28 Feb 2023 16:57:24 +0000 Subject: [PATCH 088/145] Emit diagnostic to pass third inegration tests --- go/extractor/diagnostics/diagnostics.go | 10 ++++++++++ go/extractor/extractor.go | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 001bde28eb7..b9babbd31b1 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -102,6 +102,16 @@ func EmitPackageDifferentOSArchitecture(pkgPath string) { ) } +func EmitCannotFindPackage(pkgPath string) { + emitDiagnostic("go/extractor/package-not-found", + "Package "+pkgPath+" could not be found", + "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + severityError, false, + true, true, true, + "", 0, 0, 0, 0, + ) +} + func EmitNewerGoVersionNeeded() { emitDiagnostic("go/autobuilder/newer-go-version-needed", "Newer Go version needed", diff --git a/go/extractor/extractor.go b/go/extractor/extractor.go index cc7dcf442ae..fcdad1be108 100644 --- a/go/extractor/extractor.go +++ b/go/extractor/extractor.go @@ -151,8 +151,10 @@ func ExtractWithFlags(buildFlags []string, patterns []string) error { if strings.Contains(errString, "build constraints exclude all Go files in ") { // `err` is a NoGoError from the package cmd/go/internal/load, which we cannot access as it is internal diagnostics.EmitPackageDifferentOSArchitecture(pkg.PkgPath) + } else if strings.Contains(errString, "cannot find package") || + strings.Contains(errString, "no required module provides package") { + diagnostics.EmitCannotFindPackage(pkg.PkgPath) } - extraction.extractError(tw, err, lbl, i) } } From 4907e5754f6cd1d661f9b78decdb6d445471f32d Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Wed, 1 Mar 2023 12:13:34 +0000 Subject: [PATCH 089/145] Address review comments --- .../cli/go-autobuilder/go-autobuilder.go | 3 +- go/extractor/diagnostics/diagnostics.go | 28 +++++++++++++++++-- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/go/extractor/cli/go-autobuilder/go-autobuilder.go b/go/extractor/cli/go-autobuilder/go-autobuilder.go index 559610f2270..eeb82ee54e5 100644 --- a/go/extractor/cli/go-autobuilder/go-autobuilder.go +++ b/go/extractor/cli/go-autobuilder/go-autobuilder.go @@ -251,7 +251,6 @@ func main() { modMode := ModUnset needGopath := true goDirectiveFound := false - goDirectiveVersion := "1.16" if _, present := os.LookupEnv("GO111MODULE"); !present { os.Setenv("GO111MODULE", "auto") } @@ -267,7 +266,7 @@ func main() { if matches != nil { goDirectiveFound = true if len(matches) > 1 { - goDirectiveVersion = "v" + string(matches[1]) + goDirectiveVersion := "v" + string(matches[1]) if semver.Compare(goDirectiveVersion, getEnvGoSemVer()) >= 0 { diagnostics.EmitNewerGoVersionNeeded() } diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index b9babbd31b1..ff0294d22f5 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -2,6 +2,7 @@ package diagnostics import ( "encoding/json" + "fmt" "log" "os" "time" @@ -46,14 +47,18 @@ type diagnostic struct { } var diagnosticsEmitted, diagnosticsLimit uint = 0, 100 +var noDiagnosticDirPrinted bool = false func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagnosticSeverity, internal, visibilitySP, visibilityCST, visibilityT bool, file string, startLine, startColumn, endLine, endColumn int) { - if diagnosticsEmitted <= diagnosticsLimit { + if diagnosticsEmitted < diagnosticsLimit { diagnosticsEmitted += 1 diagnosticDir := os.Getenv("CODEQL_EXTRACTOR_GO_DIAGNOSTIC_DIR") if diagnosticDir == "" { - log.Println("No diagnostic directory set, so not emitting diagnostic") + if !noDiagnosticDirPrinted { + log.Println("No diagnostic directory set, so not emitting diagnostic") + noDiagnosticDirPrinted = true + } return } @@ -73,6 +78,18 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn optLoc, } + if diagnosticsEmitted == diagnosticsLimit { + d = diagnostic{ + time.Now().UTC().Format("2006-01-02T15:04:05.000") + "Z", + sourceStruct{"go/diagnostic-limit-hit", "Some diagnostics were dropped", "go"}, + fmt.Sprintf("The number of diagnostics exceeded the limit (%d); the remainder were dropped.", diagnosticsLimit), + string(severityWarning), + false, + visibilityStruct{true, true, true}, + nil, + } + } + content, err := json.Marshal(d) if err != nil { log.Println(err) @@ -83,7 +100,12 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn log.Println("Failed to create temporary file for diagnostic: ") log.Println(err) } - defer targetFile.Close() + defer func() { + if err := targetFile.Close(); err != nil { + log.Println("Failed to close diagnostic file:") + log.Println(err) + } + }() _, err = targetFile.Write(content) if err != nil { From b6a9f872387280d616fc515081d6a5481ad9c379 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Wed, 1 Mar 2023 12:22:49 +0000 Subject: [PATCH 090/145] Use "go/autobuilder/" as prefix for all diagnostics --- go/extractor/diagnostics/diagnostics.go | 6 +++--- .../diagnostics.expected | 2 +- .../package-not-found-with-go-mod/diagnostics.expected | 2 +- .../package-not-found-without-go-mod/diagnostics.expected | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index ff0294d22f5..7a335676514 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -81,7 +81,7 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn if diagnosticsEmitted == diagnosticsLimit { d = diagnostic{ time.Now().UTC().Format("2006-01-02T15:04:05.000") + "Z", - sourceStruct{"go/diagnostic-limit-hit", "Some diagnostics were dropped", "go"}, + sourceStruct{"go/autobuilder/diagnostic-limit-hit", "Some diagnostics were dropped", "go"}, fmt.Sprintf("The number of diagnostics exceeded the limit (%d); the remainder were dropped.", diagnosticsLimit), string(severityWarning), false, @@ -115,7 +115,7 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn } func EmitPackageDifferentOSArchitecture(pkgPath string) { - emitDiagnostic("go/extractor/package-different-os-architecture", + emitDiagnostic("go/autobuilder/package-different-os-architecture", "Package "+pkgPath+" is intended for a different OS or architecture", "Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner)", severityWarning, false, @@ -125,7 +125,7 @@ func EmitPackageDifferentOSArchitecture(pkgPath string) { } func EmitCannotFindPackage(pkgPath string) { - emitDiagnostic("go/extractor/package-not-found", + emitDiagnostic("go/autobuilder/package-not-found", "Package "+pkgPath+" could not be found", "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", severityError, false, diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected index ac44761fa3d..4cbca52e70a 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected @@ -4,7 +4,7 @@ "severity": "warning", "source": { "extractorName": "go", - "id": "go/extractor/package-different-os-architecture", + "id": "go/autobuilder/package-different-os-architecture", "name": "Package syscall/js is intended for a different OS or architecture" }, "visibility": { diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected index 6a1e9a00373..6e9ad4949ff 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected @@ -4,7 +4,7 @@ "severity": "error", "source": { "extractorName": "go", - "id": "go/extractor/package-not-found", + "id": "go/autobuilder/package-not-found", "name": "Package github.com/linode/linode-docs-theme could not be found" }, "visibility": { diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected index 6a1e9a00373..6e9ad4949ff 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected @@ -4,7 +4,7 @@ "severity": "error", "source": { "extractorName": "go", - "id": "go/extractor/package-not-found", + "id": "go/autobuilder/package-not-found", "name": "Package github.com/linode/linode-docs-theme could not be found" }, "visibility": { From 01a2e74df7399fdc09ed9a87a9015ab5c3b3c0b3 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Wed, 1 Mar 2023 16:10:47 +0000 Subject: [PATCH 091/145] Add test for diagnostic-limit-hit diagnostic --- .../diagnostics.expected | 1500 +++++++++++++++++ .../diagnostics-limit-exceeded/test.py | 9 + .../diagnostics-limit-exceeded/work/test.go | 336 ++++ 3 files changed, 1845 insertions(+) create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/diagnostics.expected create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/test.py create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/work/test.go diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/diagnostics.expected new file mode 100644 index 00000000000..54a5cd021b9 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/diagnostics.expected @@ -0,0 +1,1500 @@ +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo000 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo001 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo002 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo003 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo004 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo005 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo006 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo007 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo008 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo009 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo010 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo011 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo012 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo013 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo014 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo015 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo016 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo017 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo018 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo019 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo020 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo021 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo022 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo023 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo024 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo025 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo026 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo027 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo028 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo029 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo030 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo031 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo032 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo033 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo034 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo035 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo036 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo037 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo038 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo039 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo041 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo042 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo043 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo044 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo045 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo046 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo047 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo048 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo049 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo050 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo051 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo052 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo053 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo054 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo055 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo056 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo057 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo058 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo059 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo060 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo061 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo062 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo063 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo064 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo065 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo066 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo067 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo068 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo069 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo070 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo071 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo072 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo073 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo074 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo075 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo076 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo077 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo078 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo079 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo080 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo081 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo082 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo083 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo084 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo085 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo086 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo087 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo088 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo089 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo090 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo091 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo092 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo093 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo094 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo095 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo096 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo097 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo098 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/package-not-found", + "name": "Package github.com/nosuchorg/nosuchrepo099 could not be found" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} +{ + "internal": false, + "markdownMessage": "The number of diagnostics exceeded the limit (100); the remainder were dropped.", + "severity": "warning", + "source": { + "extractorName": "go", + "id": "go/autobuilder/diagnostic-limit-hit", + "name": "Some diagnostics were dropped" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/test.py b/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/test.py new file mode 100644 index 00000000000..9f34f431b93 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/test.py @@ -0,0 +1,9 @@ +import sys + +from create_database_utils import * +from diagnostics_test_utils import * + +os.environ['LGTM_INDEX_IMPORT_PATH'] = "test" +run_codeql_database_create([], lang="go", source="work", db=None) + +check_diagnostics() diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/work/test.go b/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/work/test.go new file mode 100644 index 00000000000..2dfb38f12f8 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/work/test.go @@ -0,0 +1,336 @@ +package test + +import ( + "github.com/nosuchorg/nosuchrepo000" + "github.com/nosuchorg/nosuchrepo001" + "github.com/nosuchorg/nosuchrepo002" + "github.com/nosuchorg/nosuchrepo003" + "github.com/nosuchorg/nosuchrepo004" + "github.com/nosuchorg/nosuchrepo005" + "github.com/nosuchorg/nosuchrepo006" + "github.com/nosuchorg/nosuchrepo007" + "github.com/nosuchorg/nosuchrepo008" + "github.com/nosuchorg/nosuchrepo009" + "github.com/nosuchorg/nosuchrepo010" + "github.com/nosuchorg/nosuchrepo011" + "github.com/nosuchorg/nosuchrepo012" + "github.com/nosuchorg/nosuchrepo013" + "github.com/nosuchorg/nosuchrepo014" + "github.com/nosuchorg/nosuchrepo015" + "github.com/nosuchorg/nosuchrepo016" + "github.com/nosuchorg/nosuchrepo017" + "github.com/nosuchorg/nosuchrepo018" + "github.com/nosuchorg/nosuchrepo019" + "github.com/nosuchorg/nosuchrepo020" + "github.com/nosuchorg/nosuchrepo021" + "github.com/nosuchorg/nosuchrepo022" + "github.com/nosuchorg/nosuchrepo023" + "github.com/nosuchorg/nosuchrepo024" + "github.com/nosuchorg/nosuchrepo025" + "github.com/nosuchorg/nosuchrepo026" + "github.com/nosuchorg/nosuchrepo027" + "github.com/nosuchorg/nosuchrepo028" + "github.com/nosuchorg/nosuchrepo029" + "github.com/nosuchorg/nosuchrepo030" + "github.com/nosuchorg/nosuchrepo031" + "github.com/nosuchorg/nosuchrepo032" + "github.com/nosuchorg/nosuchrepo033" + "github.com/nosuchorg/nosuchrepo034" + "github.com/nosuchorg/nosuchrepo035" + "github.com/nosuchorg/nosuchrepo036" + "github.com/nosuchorg/nosuchrepo037" + "github.com/nosuchorg/nosuchrepo038" + "github.com/nosuchorg/nosuchrepo039" + "github.com/nosuchorg/nosuchrepo041" + "github.com/nosuchorg/nosuchrepo042" + "github.com/nosuchorg/nosuchrepo043" + "github.com/nosuchorg/nosuchrepo044" + "github.com/nosuchorg/nosuchrepo045" + "github.com/nosuchorg/nosuchrepo046" + "github.com/nosuchorg/nosuchrepo047" + "github.com/nosuchorg/nosuchrepo048" + "github.com/nosuchorg/nosuchrepo049" + "github.com/nosuchorg/nosuchrepo050" + "github.com/nosuchorg/nosuchrepo051" + "github.com/nosuchorg/nosuchrepo052" + "github.com/nosuchorg/nosuchrepo053" + "github.com/nosuchorg/nosuchrepo054" + "github.com/nosuchorg/nosuchrepo055" + "github.com/nosuchorg/nosuchrepo056" + "github.com/nosuchorg/nosuchrepo057" + "github.com/nosuchorg/nosuchrepo058" + "github.com/nosuchorg/nosuchrepo059" + "github.com/nosuchorg/nosuchrepo060" + "github.com/nosuchorg/nosuchrepo061" + "github.com/nosuchorg/nosuchrepo062" + "github.com/nosuchorg/nosuchrepo063" + "github.com/nosuchorg/nosuchrepo064" + "github.com/nosuchorg/nosuchrepo065" + "github.com/nosuchorg/nosuchrepo066" + "github.com/nosuchorg/nosuchrepo067" + "github.com/nosuchorg/nosuchrepo068" + "github.com/nosuchorg/nosuchrepo069" + "github.com/nosuchorg/nosuchrepo070" + "github.com/nosuchorg/nosuchrepo071" + "github.com/nosuchorg/nosuchrepo072" + "github.com/nosuchorg/nosuchrepo073" + "github.com/nosuchorg/nosuchrepo074" + "github.com/nosuchorg/nosuchrepo075" + "github.com/nosuchorg/nosuchrepo076" + "github.com/nosuchorg/nosuchrepo077" + "github.com/nosuchorg/nosuchrepo078" + "github.com/nosuchorg/nosuchrepo079" + "github.com/nosuchorg/nosuchrepo080" + "github.com/nosuchorg/nosuchrepo081" + "github.com/nosuchorg/nosuchrepo082" + "github.com/nosuchorg/nosuchrepo083" + "github.com/nosuchorg/nosuchrepo084" + "github.com/nosuchorg/nosuchrepo085" + "github.com/nosuchorg/nosuchrepo086" + "github.com/nosuchorg/nosuchrepo087" + "github.com/nosuchorg/nosuchrepo088" + "github.com/nosuchorg/nosuchrepo089" + "github.com/nosuchorg/nosuchrepo090" + "github.com/nosuchorg/nosuchrepo091" + "github.com/nosuchorg/nosuchrepo092" + "github.com/nosuchorg/nosuchrepo093" + "github.com/nosuchorg/nosuchrepo094" + "github.com/nosuchorg/nosuchrepo095" + "github.com/nosuchorg/nosuchrepo096" + "github.com/nosuchorg/nosuchrepo097" + "github.com/nosuchorg/nosuchrepo098" + "github.com/nosuchorg/nosuchrepo099" + "github.com/nosuchorg/nosuchrepo100" + "github.com/nosuchorg/nosuchrepo101" + "github.com/nosuchorg/nosuchrepo102" + "github.com/nosuchorg/nosuchrepo103" + "github.com/nosuchorg/nosuchrepo104" + "github.com/nosuchorg/nosuchrepo105" + "github.com/nosuchorg/nosuchrepo106" + "github.com/nosuchorg/nosuchrepo107" + "github.com/nosuchorg/nosuchrepo108" + "github.com/nosuchorg/nosuchrepo109" +) + +func Test() { + theme000 := nosuchrepo000.Theme{} + _ = theme000 + theme001 := nosuchrepo001.Theme{} + _ = theme001 + theme002 := nosuchrepo002.Theme{} + _ = theme002 + theme003 := nosuchrepo003.Theme{} + _ = theme003 + theme004 := nosuchrepo004.Theme{} + _ = theme004 + theme005 := nosuchrepo005.Theme{} + _ = theme005 + theme006 := nosuchrepo006.Theme{} + _ = theme006 + theme007 := nosuchrepo007.Theme{} + _ = theme007 + theme008 := nosuchrepo008.Theme{} + _ = theme008 + theme009 := nosuchrepo009.Theme{} + _ = theme009 + theme010 := nosuchrepo010.Theme{} + _ = theme010 + theme011 := nosuchrepo011.Theme{} + _ = theme011 + theme012 := nosuchrepo012.Theme{} + _ = theme012 + theme013 := nosuchrepo013.Theme{} + _ = theme013 + theme014 := nosuchrepo014.Theme{} + _ = theme014 + theme015 := nosuchrepo015.Theme{} + _ = theme015 + theme016 := nosuchrepo016.Theme{} + _ = theme016 + theme017 := nosuchrepo017.Theme{} + _ = theme017 + theme018 := nosuchrepo018.Theme{} + _ = theme018 + theme019 := nosuchrepo019.Theme{} + _ = theme019 + theme020 := nosuchrepo020.Theme{} + _ = theme020 + theme021 := nosuchrepo021.Theme{} + _ = theme021 + theme022 := nosuchrepo022.Theme{} + _ = theme022 + theme023 := nosuchrepo023.Theme{} + _ = theme023 + theme024 := nosuchrepo024.Theme{} + _ = theme024 + theme025 := nosuchrepo025.Theme{} + _ = theme025 + theme026 := nosuchrepo026.Theme{} + _ = theme026 + theme027 := nosuchrepo027.Theme{} + _ = theme027 + theme028 := nosuchrepo028.Theme{} + _ = theme028 + theme029 := nosuchrepo029.Theme{} + _ = theme029 + theme030 := nosuchrepo030.Theme{} + _ = theme030 + theme031 := nosuchrepo031.Theme{} + _ = theme031 + theme032 := nosuchrepo032.Theme{} + _ = theme032 + theme033 := nosuchrepo033.Theme{} + _ = theme033 + theme034 := nosuchrepo034.Theme{} + _ = theme034 + theme035 := nosuchrepo035.Theme{} + _ = theme035 + theme036 := nosuchrepo036.Theme{} + _ = theme036 + theme037 := nosuchrepo037.Theme{} + _ = theme037 + theme038 := nosuchrepo038.Theme{} + _ = theme038 + theme039 := nosuchrepo039.Theme{} + _ = theme039 + theme040 := nosuchrepo030.Theme{} + _ = theme040 + theme041 := nosuchrepo041.Theme{} + _ = theme041 + theme042 := nosuchrepo042.Theme{} + _ = theme042 + theme043 := nosuchrepo043.Theme{} + _ = theme043 + theme044 := nosuchrepo044.Theme{} + _ = theme044 + theme045 := nosuchrepo045.Theme{} + _ = theme045 + theme046 := nosuchrepo046.Theme{} + _ = theme046 + theme047 := nosuchrepo047.Theme{} + _ = theme047 + theme048 := nosuchrepo048.Theme{} + _ = theme048 + theme049 := nosuchrepo049.Theme{} + _ = theme049 + theme050 := nosuchrepo050.Theme{} + _ = theme050 + theme051 := nosuchrepo051.Theme{} + _ = theme051 + theme052 := nosuchrepo052.Theme{} + _ = theme052 + theme053 := nosuchrepo053.Theme{} + _ = theme053 + theme054 := nosuchrepo054.Theme{} + _ = theme054 + theme055 := nosuchrepo055.Theme{} + _ = theme055 + theme056 := nosuchrepo056.Theme{} + _ = theme056 + theme057 := nosuchrepo057.Theme{} + _ = theme057 + theme058 := nosuchrepo058.Theme{} + _ = theme058 + theme059 := nosuchrepo059.Theme{} + _ = theme059 + theme060 := nosuchrepo060.Theme{} + _ = theme060 + theme061 := nosuchrepo061.Theme{} + _ = theme061 + theme062 := nosuchrepo062.Theme{} + _ = theme062 + theme063 := nosuchrepo063.Theme{} + _ = theme063 + theme064 := nosuchrepo064.Theme{} + _ = theme064 + theme065 := nosuchrepo065.Theme{} + _ = theme065 + theme066 := nosuchrepo066.Theme{} + _ = theme066 + theme067 := nosuchrepo067.Theme{} + _ = theme067 + theme068 := nosuchrepo068.Theme{} + _ = theme068 + theme069 := nosuchrepo069.Theme{} + _ = theme069 + theme070 := nosuchrepo070.Theme{} + _ = theme070 + theme071 := nosuchrepo071.Theme{} + _ = theme071 + theme072 := nosuchrepo072.Theme{} + _ = theme072 + theme073 := nosuchrepo073.Theme{} + _ = theme073 + theme074 := nosuchrepo074.Theme{} + _ = theme074 + theme075 := nosuchrepo075.Theme{} + _ = theme075 + theme076 := nosuchrepo076.Theme{} + _ = theme076 + theme077 := nosuchrepo077.Theme{} + _ = theme077 + theme078 := nosuchrepo078.Theme{} + _ = theme078 + theme079 := nosuchrepo079.Theme{} + _ = theme079 + theme080 := nosuchrepo080.Theme{} + _ = theme080 + theme081 := nosuchrepo081.Theme{} + _ = theme081 + theme082 := nosuchrepo082.Theme{} + _ = theme082 + theme083 := nosuchrepo083.Theme{} + _ = theme083 + theme084 := nosuchrepo084.Theme{} + _ = theme084 + theme085 := nosuchrepo085.Theme{} + _ = theme085 + theme086 := nosuchrepo086.Theme{} + _ = theme086 + theme087 := nosuchrepo087.Theme{} + _ = theme087 + theme088 := nosuchrepo088.Theme{} + _ = theme088 + theme089 := nosuchrepo089.Theme{} + _ = theme089 + theme090 := nosuchrepo090.Theme{} + _ = theme090 + theme091 := nosuchrepo091.Theme{} + _ = theme091 + theme092 := nosuchrepo092.Theme{} + _ = theme092 + theme093 := nosuchrepo093.Theme{} + _ = theme093 + theme094 := nosuchrepo094.Theme{} + _ = theme094 + theme095 := nosuchrepo095.Theme{} + _ = theme095 + theme096 := nosuchrepo096.Theme{} + _ = theme096 + theme097 := nosuchrepo097.Theme{} + _ = theme097 + theme098 := nosuchrepo098.Theme{} + _ = theme098 + theme099 := nosuchrepo099.Theme{} + _ = theme099 + theme100 := nosuchrepo100.Theme{} + _ = theme100 + theme101 := nosuchrepo101.Theme{} + _ = theme101 + theme102 := nosuchrepo102.Theme{} + _ = theme102 + theme103 := nosuchrepo103.Theme{} + _ = theme103 + theme104 := nosuchrepo104.Theme{} + _ = theme104 + theme105 := nosuchrepo105.Theme{} + _ = theme105 + theme106 := nosuchrepo106.Theme{} + _ = theme106 + theme107 := nosuchrepo107.Theme{} + _ = theme107 + theme108 := nosuchrepo108.Theme{} + _ = theme108 + theme109 := nosuchrepo109.Theme{} + _ = theme109 +} From 8d28253175da9a5e6246f6e548fca8c52d746ec6 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Thu, 2 Mar 2023 15:13:49 +0000 Subject: [PATCH 092/145] Add tests for fourth diagnostic (Go files found but not processed) --- .../diagnostics.expected | 15 +++++++++++++++ .../go-files-found-not-processed/test.py | 9 +++++++++ .../go-files-found-not-processed/work/go.mod | 3 +++ .../go-files-found-not-processed/work/go.sum | 0 .../work/subdir/go.mod | 3 +++ .../work/subdir/go.sum | 0 .../work/subdir/test.go | 4 ++++ .../no-go-files-found/diagnostics.expected | 0 .../go/diagnostics/no-go-files-found/test.py | 9 +++++++++ .../diagnostics/no-go-files-found/work/test.txt | 1 + 10 files changed, 44 insertions(+) create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/diagnostics.expected create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/test.py create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/go.mod create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/go.sum create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/subdir/go.mod create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/subdir/go.sum create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/subdir/test.go create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/no-go-files-found/diagnostics.expected create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/no-go-files-found/test.py create mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/no-go-files-found/work/test.txt diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/diagnostics.expected new file mode 100644 index 00000000000..d2bd4c12bca --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/diagnostics.expected @@ -0,0 +1,15 @@ +{ + "internal": false, + "markdownMessage": "[Specify a custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language) that includes one or more `go build` commands to build the `.go` files to be analyzed.", + "severity": "error", + "source": { + "extractorName": "go", + "id": "go/autobuilder/go-files-found-but-not-processed", + "name": "Go files were found but not processed" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/test.py b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/test.py new file mode 100644 index 00000000000..2f43492da41 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/test.py @@ -0,0 +1,9 @@ +import sys + +from create_database_utils import * +from diagnostics_test_utils import * + +os.environ['LGTM_INDEX_IMPORT_PATH'] = "test" +run_codeql_database_create([], lang="go", source="work", db=None, runFunction=runUnsuccessfully) + +check_diagnostics() diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/go.mod b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/go.mod new file mode 100644 index 00000000000..6d61cf5dc3d --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/go.mod @@ -0,0 +1,3 @@ +go 1.18 + +module test diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/go.sum b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/go.sum new file mode 100644 index 00000000000..e69de29bb2d diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/subdir/go.mod b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/subdir/go.mod new file mode 100644 index 00000000000..66cb49581d3 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/subdir/go.mod @@ -0,0 +1,3 @@ +go 1.18 + +module test/subdir diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/subdir/go.sum b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/subdir/go.sum new file mode 100644 index 00000000000..e69de29bb2d diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/subdir/test.go b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/subdir/test.go new file mode 100644 index 00000000000..3f8cd1e2951 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/work/subdir/test.go @@ -0,0 +1,4 @@ +package test/subdir + +func Test() { +} diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/no-go-files-found/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/no-go-files-found/diagnostics.expected new file mode 100644 index 00000000000..e69de29bb2d diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/no-go-files-found/test.py b/go/ql/integration-tests/all-platforms/go/diagnostics/no-go-files-found/test.py new file mode 100644 index 00000000000..2f43492da41 --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/no-go-files-found/test.py @@ -0,0 +1,9 @@ +import sys + +from create_database_utils import * +from diagnostics_test_utils import * + +os.environ['LGTM_INDEX_IMPORT_PATH'] = "test" +run_codeql_database_create([], lang="go", source="work", db=None, runFunction=runUnsuccessfully) + +check_diagnostics() diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/no-go-files-found/work/test.txt b/go/ql/integration-tests/all-platforms/go/diagnostics/no-go-files-found/work/test.txt new file mode 100644 index 00000000000..82b6450140b --- /dev/null +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/no-go-files-found/work/test.txt @@ -0,0 +1 @@ +// The "Go files were found but not processed" diagnostic should not be emitted because there are no go files \ No newline at end of file From a7a10de9eac3700c13b0fbfb03cc8d2930e076a6 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Fri, 3 Mar 2023 11:10:00 +0000 Subject: [PATCH 093/145] Emit diagnostic to pass fourth integration tests --- go/extractor/diagnostics/diagnostics.go | 10 ++++++++++ go/extractor/extractor.go | 9 +++++++++ go/extractor/util/util.go | 15 +++++++++++++++ 3 files changed, 34 insertions(+) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 7a335676514..91c67e7e1ec 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -143,3 +143,13 @@ func EmitNewerGoVersionNeeded() { "", 0, 0, 0, 0, ) } + +func EmitGoFilesFoundButNotProcessed() { + emitDiagnostic("go/autobuilder/go-files-found-but-not-processed", + "Go files were found but not processed", + "[Specify a custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language) that includes one or more `go build` commands to build the `.go` files to be analyzed.", + severityError, false, + true, true, true, + "", 0, 0, 0, 0, + ) +} diff --git a/go/extractor/extractor.go b/go/extractor/extractor.go index fcdad1be108..3d4601b1321 100644 --- a/go/extractor/extractor.go +++ b/go/extractor/extractor.go @@ -98,6 +98,15 @@ func ExtractWithFlags(buildFlags []string, patterns []string) error { if len(pkgs) == 0 { log.Println("No packages found.") + + wd, err := os.Getwd() + if err != nil { + log.Fatalf("Unable to determine current directory: %s\n", err.Error()) + } + + if util.FindGoFiles(wd) { + diagnostics.EmitGoFilesFoundButNotProcessed() + } } log.Println("Extracting universe scope.") diff --git a/go/extractor/util/util.go b/go/extractor/util/util.go index 37165f56cd7..0f38db5d97f 100644 --- a/go/extractor/util/util.go +++ b/go/extractor/util/util.go @@ -4,6 +4,7 @@ import ( "encoding/json" "errors" "io" + "io/fs" "log" "os" "os/exec" @@ -281,3 +282,17 @@ func EscapeTrapSpecialChars(s string) string { s = strings.ReplaceAll(s, "#", "#") return s } + +func FindGoFiles(root string) bool { + found := false + filepath.WalkDir(root, func(s string, d fs.DirEntry, e error) error { + if e != nil { + return e + } + if filepath.Ext(d.Name()) == ".go" { + found = true + } + return nil + }) + return found +} From 2c5239ff7b549b66bfc170b48bac9945c91fb56f Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Fri, 3 Mar 2023 11:10:38 +0000 Subject: [PATCH 094/145] Use full stops at the end of diagnostics messages --- go/extractor/diagnostics/diagnostics.go | 6 +- .../diagnostics.expected | 2 +- .../diagnostics.expected | 198 +++++++++--------- .../diagnostics.expected | 2 +- .../diagnostics.expected | 2 +- .../diagnostics.expected | 2 +- 6 files changed, 106 insertions(+), 106 deletions(-) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 91c67e7e1ec..99d5749d1a9 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -117,7 +117,7 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn func EmitPackageDifferentOSArchitecture(pkgPath string) { emitDiagnostic("go/autobuilder/package-different-os-architecture", "Package "+pkgPath+" is intended for a different OS or architecture", - "Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner)", + "Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner).", severityWarning, false, true, true, true, "", 0, 0, 0, 0, @@ -127,7 +127,7 @@ func EmitPackageDifferentOSArchitecture(pkgPath string) { func EmitCannotFindPackage(pkgPath string) { emitDiagnostic("go/autobuilder/package-not-found", "Package "+pkgPath+" could not be found", - "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", severityError, false, true, true, true, "", 0, 0, 0, 0, @@ -137,7 +137,7 @@ func EmitCannotFindPackage(pkgPath string) { func EmitNewerGoVersionNeeded() { emitDiagnostic("go/autobuilder/newer-go-version-needed", "Newer Go version needed", - "The version of Go available in the environment is lower than the version specified in the `go.mod` file. [Install a newer version](https://github.com/actions/setup-go#basic)", + "The version of Go available in the environment is lower than the version specified in the `go.mod` file. [Install a newer version](https://github.com/actions/setup-go#basic).", severityError, false, true, true, true, "", 0, 0, 0, 0, diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected index 4cbca52e70a..e4ffb98ad90 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected @@ -1,6 +1,6 @@ { "internal": false, - "markdownMessage": "Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner)", + "markdownMessage": "Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner).", "severity": "warning", "source": { "extractorName": "go", diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/diagnostics.expected index 54a5cd021b9..88da9a2e91c 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/diagnostics.expected @@ -1,6 +1,6 @@ { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -15,7 +15,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -30,7 +30,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -45,7 +45,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -60,7 +60,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -75,7 +75,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -90,7 +90,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -105,7 +105,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -120,7 +120,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -135,7 +135,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -150,7 +150,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -165,7 +165,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -180,7 +180,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -195,7 +195,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -210,7 +210,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -225,7 +225,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -240,7 +240,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -255,7 +255,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -270,7 +270,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -285,7 +285,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -300,7 +300,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -315,7 +315,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -330,7 +330,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -345,7 +345,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -360,7 +360,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -375,7 +375,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -390,7 +390,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -405,7 +405,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -420,7 +420,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -435,7 +435,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -450,7 +450,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -465,7 +465,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -480,7 +480,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -495,7 +495,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -510,7 +510,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -525,7 +525,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -540,7 +540,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -555,7 +555,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -570,7 +570,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -585,7 +585,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -600,7 +600,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -615,7 +615,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -630,7 +630,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -645,7 +645,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -660,7 +660,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -675,7 +675,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -690,7 +690,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -705,7 +705,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -720,7 +720,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -735,7 +735,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -750,7 +750,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -765,7 +765,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -780,7 +780,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -795,7 +795,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -810,7 +810,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -825,7 +825,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -840,7 +840,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -855,7 +855,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -870,7 +870,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -885,7 +885,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -900,7 +900,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -915,7 +915,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -930,7 +930,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -945,7 +945,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -960,7 +960,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -975,7 +975,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -990,7 +990,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1005,7 +1005,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1020,7 +1020,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1035,7 +1035,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1050,7 +1050,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1065,7 +1065,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1080,7 +1080,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1095,7 +1095,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1110,7 +1110,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1125,7 +1125,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1140,7 +1140,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1155,7 +1155,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1170,7 +1170,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1185,7 +1185,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1200,7 +1200,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1215,7 +1215,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1230,7 +1230,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1245,7 +1245,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1260,7 +1260,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1275,7 +1275,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1290,7 +1290,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1305,7 +1305,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1320,7 +1320,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1335,7 +1335,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1350,7 +1350,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1365,7 +1365,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1380,7 +1380,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1395,7 +1395,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1410,7 +1410,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1425,7 +1425,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1440,7 +1440,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1455,7 +1455,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", @@ -1470,7 +1470,7 @@ } { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected index 3b061be5f82..8aeb5c593fb 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected @@ -1,6 +1,6 @@ { "internal": false, - "markdownMessage": "The version of Go available in the environment is lower than the version specified in the `go.mod` file. [Install a newer version](https://github.com/actions/setup-go#basic)", + "markdownMessage": "The version of Go available in the environment is lower than the version specified in the `go.mod` file. [Install a newer version](https://github.com/actions/setup-go#basic).", "severity": "error", "source": { "extractorName": "go", diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected index 6e9ad4949ff..24e8e824f3e 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected @@ -1,6 +1,6 @@ { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected index 6e9ad4949ff..24e8e824f3e 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected @@ -1,6 +1,6 @@ { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)", + "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", "severity": "error", "source": { "extractorName": "go", From a4c9120a9a8bbbbc8ebbe829225307f865bee782 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Fri, 3 Mar 2023 11:59:16 +0000 Subject: [PATCH 095/145] Update one of the diagnostic messages --- go/extractor/diagnostics/diagnostics.go | 2 +- .../go/diagnostics/newer-go-version-needed/diagnostics.expected | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 99d5749d1a9..4e5be1b30ef 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -137,7 +137,7 @@ func EmitCannotFindPackage(pkgPath string) { func EmitNewerGoVersionNeeded() { emitDiagnostic("go/autobuilder/newer-go-version-needed", "Newer Go version needed", - "The version of Go available in the environment is lower than the version specified in the `go.mod` file. [Install a newer version](https://github.com/actions/setup-go#basic).", + "The detected version of Go is lower than the version specified in `go.mod`. [Install a newer version](https://github.com/actions/setup-go#basic).", severityError, false, true, true, true, "", 0, 0, 0, 0, diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected index 8aeb5c593fb..50118465c26 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected @@ -1,6 +1,6 @@ { "internal": false, - "markdownMessage": "The version of Go available in the environment is lower than the version specified in the `go.mod` file. [Install a newer version](https://github.com/actions/setup-go#basic).", + "markdownMessage": "The detected version of Go is lower than the version specified in `go.mod`. [Install a newer version](https://github.com/actions/setup-go#basic).", "severity": "error", "source": { "extractorName": "go", From 05a4fdf6d87988a3756a2214cbe43a76c47e92b2 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Tue, 7 Mar 2023 14:36:34 +0000 Subject: [PATCH 096/145] Put all package-not-found errors into one diagnostic --- go/extractor/diagnostics/diagnostics.go | 31 +- go/extractor/extractor.go | 9 +- .../diagnostics.expected | 4 +- .../work/test.go | 335 +++++++++++++++++- .../diagnostics.expected | 4 +- 5 files changed, 371 insertions(+), 12 deletions(-) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 4e5be1b30ef..f1ab4799a45 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -5,6 +5,7 @@ import ( "fmt" "log" "os" + "strings" "time" ) @@ -124,10 +125,32 @@ func EmitPackageDifferentOSArchitecture(pkgPath string) { ) } -func EmitCannotFindPackage(pkgPath string) { - emitDiagnostic("go/autobuilder/package-not-found", - "Package "+pkgPath+" could not be found", - "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", +const maxNumPkgPaths = 5 + +func EmitCannotFindPackages(pkgPaths []string) { + numPkgPaths := len(pkgPaths) + + ending := "s" + if numPkgPaths == 1 { + ending = "" + } + + numPrinted := numPkgPaths + truncated := false + if numPrinted > maxNumPkgPaths { + numPrinted = maxNumPkgPaths + truncated = true + } + + secondLine := "`" + strings.Join(pkgPaths[0:numPrinted], "`, `") + "`" + if truncated { + secondLine += fmt.Sprintf(" and %d more", numPkgPaths-maxNumPkgPaths) + } + + emitDiagnostic( + "go/autobuilder/package-not-found", + fmt.Sprintf("%d package%s could not be found", numPkgPaths, ending), + "The following packages could not be found. Check that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).\n\n"+secondLine, severityError, false, true, true, true, "", 0, 0, 0, 0, diff --git a/go/extractor/extractor.go b/go/extractor/extractor.go index 3d4601b1321..9ba33c7c779 100644 --- a/go/extractor/extractor.go +++ b/go/extractor/extractor.go @@ -128,6 +128,8 @@ func ExtractWithFlags(buildFlags []string, patterns []string) error { log.Printf("Done running go list deps: resolved %d packages.", len(pkgInfos)) } + pkgsNotFound := make([]string, 0, len(pkgs)) + // Do a post-order traversal and extract the package scope of each package packages.Visit(pkgs, func(pkg *packages.Package) bool { return true @@ -162,14 +164,19 @@ func ExtractWithFlags(buildFlags []string, patterns []string) error { diagnostics.EmitPackageDifferentOSArchitecture(pkg.PkgPath) } else if strings.Contains(errString, "cannot find package") || strings.Contains(errString, "no required module provides package") { - diagnostics.EmitCannotFindPackage(pkg.PkgPath) + pkgsNotFound = append(pkgsNotFound, pkg.PkgPath) } extraction.extractError(tw, err, lbl, i) } } + log.Printf("Done extracting types for package %s.", pkg.PkgPath) }) + if len(pkgsNotFound) > 0 { + diagnostics.EmitCannotFindPackages(pkgsNotFound) + } + for _, pkg := range pkgs { pkgInfo, ok := pkgInfos[pkg.PkgPath] if !ok || pkgInfo.PkgDir == "" { diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected index 24e8e824f3e..981d96f8188 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected @@ -1,11 +1,11 @@ { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", + "markdownMessage": "The following packages could not be found. Check that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).\n\n`github.com/nosuchorg/nosuchrepo000`, `github.com/nosuchorg/nosuchrepo001`, `github.com/nosuchorg/nosuchrepo002`, `github.com/nosuchorg/nosuchrepo003`, `github.com/nosuchorg/nosuchrepo004` and 105 more", "severity": "error", "source": { "extractorName": "go", "id": "go/autobuilder/package-not-found", - "name": "Package github.com/linode/linode-docs-theme could not be found" + "name": "110 packages could not be found" }, "visibility": { "cliSummaryTable": true, diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/test.go b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/test.go index d51c5a926eb..c353ecd0195 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/test.go +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/work/test.go @@ -1,8 +1,337 @@ package test -import linodedocstheme "github.com/linode/linode-docs-theme" +import ( + "github.com/nosuchorg/nosuchrepo000" + "github.com/nosuchorg/nosuchrepo001" + "github.com/nosuchorg/nosuchrepo002" + "github.com/nosuchorg/nosuchrepo003" + "github.com/nosuchorg/nosuchrepo004" + "github.com/nosuchorg/nosuchrepo005" + "github.com/nosuchorg/nosuchrepo006" + "github.com/nosuchorg/nosuchrepo007" + "github.com/nosuchorg/nosuchrepo008" + "github.com/nosuchorg/nosuchrepo009" + "github.com/nosuchorg/nosuchrepo010" + "github.com/nosuchorg/nosuchrepo011" + "github.com/nosuchorg/nosuchrepo012" + "github.com/nosuchorg/nosuchrepo013" + "github.com/nosuchorg/nosuchrepo014" + "github.com/nosuchorg/nosuchrepo015" + "github.com/nosuchorg/nosuchrepo016" + "github.com/nosuchorg/nosuchrepo017" + "github.com/nosuchorg/nosuchrepo018" + "github.com/nosuchorg/nosuchrepo019" + "github.com/nosuchorg/nosuchrepo020" + "github.com/nosuchorg/nosuchrepo021" + "github.com/nosuchorg/nosuchrepo022" + "github.com/nosuchorg/nosuchrepo023" + "github.com/nosuchorg/nosuchrepo024" + "github.com/nosuchorg/nosuchrepo025" + "github.com/nosuchorg/nosuchrepo026" + "github.com/nosuchorg/nosuchrepo027" + "github.com/nosuchorg/nosuchrepo028" + "github.com/nosuchorg/nosuchrepo029" + "github.com/nosuchorg/nosuchrepo030" + "github.com/nosuchorg/nosuchrepo031" + "github.com/nosuchorg/nosuchrepo032" + "github.com/nosuchorg/nosuchrepo033" + "github.com/nosuchorg/nosuchrepo034" + "github.com/nosuchorg/nosuchrepo035" + "github.com/nosuchorg/nosuchrepo036" + "github.com/nosuchorg/nosuchrepo037" + "github.com/nosuchorg/nosuchrepo038" + "github.com/nosuchorg/nosuchrepo039" + "github.com/nosuchorg/nosuchrepo040" + "github.com/nosuchorg/nosuchrepo041" + "github.com/nosuchorg/nosuchrepo042" + "github.com/nosuchorg/nosuchrepo043" + "github.com/nosuchorg/nosuchrepo044" + "github.com/nosuchorg/nosuchrepo045" + "github.com/nosuchorg/nosuchrepo046" + "github.com/nosuchorg/nosuchrepo047" + "github.com/nosuchorg/nosuchrepo048" + "github.com/nosuchorg/nosuchrepo049" + "github.com/nosuchorg/nosuchrepo050" + "github.com/nosuchorg/nosuchrepo051" + "github.com/nosuchorg/nosuchrepo052" + "github.com/nosuchorg/nosuchrepo053" + "github.com/nosuchorg/nosuchrepo054" + "github.com/nosuchorg/nosuchrepo055" + "github.com/nosuchorg/nosuchrepo056" + "github.com/nosuchorg/nosuchrepo057" + "github.com/nosuchorg/nosuchrepo058" + "github.com/nosuchorg/nosuchrepo059" + "github.com/nosuchorg/nosuchrepo060" + "github.com/nosuchorg/nosuchrepo061" + "github.com/nosuchorg/nosuchrepo062" + "github.com/nosuchorg/nosuchrepo063" + "github.com/nosuchorg/nosuchrepo064" + "github.com/nosuchorg/nosuchrepo065" + "github.com/nosuchorg/nosuchrepo066" + "github.com/nosuchorg/nosuchrepo067" + "github.com/nosuchorg/nosuchrepo068" + "github.com/nosuchorg/nosuchrepo069" + "github.com/nosuchorg/nosuchrepo070" + "github.com/nosuchorg/nosuchrepo071" + "github.com/nosuchorg/nosuchrepo072" + "github.com/nosuchorg/nosuchrepo073" + "github.com/nosuchorg/nosuchrepo074" + "github.com/nosuchorg/nosuchrepo075" + "github.com/nosuchorg/nosuchrepo076" + "github.com/nosuchorg/nosuchrepo077" + "github.com/nosuchorg/nosuchrepo078" + "github.com/nosuchorg/nosuchrepo079" + "github.com/nosuchorg/nosuchrepo080" + "github.com/nosuchorg/nosuchrepo081" + "github.com/nosuchorg/nosuchrepo082" + "github.com/nosuchorg/nosuchrepo083" + "github.com/nosuchorg/nosuchrepo084" + "github.com/nosuchorg/nosuchrepo085" + "github.com/nosuchorg/nosuchrepo086" + "github.com/nosuchorg/nosuchrepo087" + "github.com/nosuchorg/nosuchrepo088" + "github.com/nosuchorg/nosuchrepo089" + "github.com/nosuchorg/nosuchrepo090" + "github.com/nosuchorg/nosuchrepo091" + "github.com/nosuchorg/nosuchrepo092" + "github.com/nosuchorg/nosuchrepo093" + "github.com/nosuchorg/nosuchrepo094" + "github.com/nosuchorg/nosuchrepo095" + "github.com/nosuchorg/nosuchrepo096" + "github.com/nosuchorg/nosuchrepo097" + "github.com/nosuchorg/nosuchrepo098" + "github.com/nosuchorg/nosuchrepo099" + "github.com/nosuchorg/nosuchrepo100" + "github.com/nosuchorg/nosuchrepo101" + "github.com/nosuchorg/nosuchrepo102" + "github.com/nosuchorg/nosuchrepo103" + "github.com/nosuchorg/nosuchrepo104" + "github.com/nosuchorg/nosuchrepo105" + "github.com/nosuchorg/nosuchrepo106" + "github.com/nosuchorg/nosuchrepo107" + "github.com/nosuchorg/nosuchrepo108" + "github.com/nosuchorg/nosuchrepo109" +) func Test() { - theme := linodedocstheme.Theme{} - _ = theme + theme000 := nosuchrepo000.Theme{} + _ = theme000 + theme001 := nosuchrepo001.Theme{} + _ = theme001 + theme002 := nosuchrepo002.Theme{} + _ = theme002 + theme003 := nosuchrepo003.Theme{} + _ = theme003 + theme004 := nosuchrepo004.Theme{} + _ = theme004 + theme005 := nosuchrepo005.Theme{} + _ = theme005 + theme006 := nosuchrepo006.Theme{} + _ = theme006 + theme007 := nosuchrepo007.Theme{} + _ = theme007 + theme008 := nosuchrepo008.Theme{} + _ = theme008 + theme009 := nosuchrepo009.Theme{} + _ = theme009 + theme010 := nosuchrepo010.Theme{} + _ = theme010 + theme011 := nosuchrepo011.Theme{} + _ = theme011 + theme012 := nosuchrepo012.Theme{} + _ = theme012 + theme013 := nosuchrepo013.Theme{} + _ = theme013 + theme014 := nosuchrepo014.Theme{} + _ = theme014 + theme015 := nosuchrepo015.Theme{} + _ = theme015 + theme016 := nosuchrepo016.Theme{} + _ = theme016 + theme017 := nosuchrepo017.Theme{} + _ = theme017 + theme018 := nosuchrepo018.Theme{} + _ = theme018 + theme019 := nosuchrepo019.Theme{} + _ = theme019 + theme020 := nosuchrepo020.Theme{} + _ = theme020 + theme021 := nosuchrepo021.Theme{} + _ = theme021 + theme022 := nosuchrepo022.Theme{} + _ = theme022 + theme023 := nosuchrepo023.Theme{} + _ = theme023 + theme024 := nosuchrepo024.Theme{} + _ = theme024 + theme025 := nosuchrepo025.Theme{} + _ = theme025 + theme026 := nosuchrepo026.Theme{} + _ = theme026 + theme027 := nosuchrepo027.Theme{} + _ = theme027 + theme028 := nosuchrepo028.Theme{} + _ = theme028 + theme029 := nosuchrepo029.Theme{} + _ = theme029 + theme030 := nosuchrepo030.Theme{} + _ = theme030 + theme031 := nosuchrepo031.Theme{} + _ = theme031 + theme032 := nosuchrepo032.Theme{} + _ = theme032 + theme033 := nosuchrepo033.Theme{} + _ = theme033 + theme034 := nosuchrepo034.Theme{} + _ = theme034 + theme035 := nosuchrepo035.Theme{} + _ = theme035 + theme036 := nosuchrepo036.Theme{} + _ = theme036 + theme037 := nosuchrepo037.Theme{} + _ = theme037 + theme038 := nosuchrepo038.Theme{} + _ = theme038 + theme039 := nosuchrepo039.Theme{} + _ = theme039 + theme040 := nosuchrepo040.Theme{} + _ = theme040 + theme041 := nosuchrepo041.Theme{} + _ = theme041 + theme042 := nosuchrepo042.Theme{} + _ = theme042 + theme043 := nosuchrepo043.Theme{} + _ = theme043 + theme044 := nosuchrepo044.Theme{} + _ = theme044 + theme045 := nosuchrepo045.Theme{} + _ = theme045 + theme046 := nosuchrepo046.Theme{} + _ = theme046 + theme047 := nosuchrepo047.Theme{} + _ = theme047 + theme048 := nosuchrepo048.Theme{} + _ = theme048 + theme049 := nosuchrepo049.Theme{} + _ = theme049 + theme050 := nosuchrepo050.Theme{} + _ = theme050 + theme051 := nosuchrepo051.Theme{} + _ = theme051 + theme052 := nosuchrepo052.Theme{} + _ = theme052 + theme053 := nosuchrepo053.Theme{} + _ = theme053 + theme054 := nosuchrepo054.Theme{} + _ = theme054 + theme055 := nosuchrepo055.Theme{} + _ = theme055 + theme056 := nosuchrepo056.Theme{} + _ = theme056 + theme057 := nosuchrepo057.Theme{} + _ = theme057 + theme058 := nosuchrepo058.Theme{} + _ = theme058 + theme059 := nosuchrepo059.Theme{} + _ = theme059 + theme060 := nosuchrepo060.Theme{} + _ = theme060 + theme061 := nosuchrepo061.Theme{} + _ = theme061 + theme062 := nosuchrepo062.Theme{} + _ = theme062 + theme063 := nosuchrepo063.Theme{} + _ = theme063 + theme064 := nosuchrepo064.Theme{} + _ = theme064 + theme065 := nosuchrepo065.Theme{} + _ = theme065 + theme066 := nosuchrepo066.Theme{} + _ = theme066 + theme067 := nosuchrepo067.Theme{} + _ = theme067 + theme068 := nosuchrepo068.Theme{} + _ = theme068 + theme069 := nosuchrepo069.Theme{} + _ = theme069 + theme070 := nosuchrepo070.Theme{} + _ = theme070 + theme071 := nosuchrepo071.Theme{} + _ = theme071 + theme072 := nosuchrepo072.Theme{} + _ = theme072 + theme073 := nosuchrepo073.Theme{} + _ = theme073 + theme074 := nosuchrepo074.Theme{} + _ = theme074 + theme075 := nosuchrepo075.Theme{} + _ = theme075 + theme076 := nosuchrepo076.Theme{} + _ = theme076 + theme077 := nosuchrepo077.Theme{} + _ = theme077 + theme078 := nosuchrepo078.Theme{} + _ = theme078 + theme079 := nosuchrepo079.Theme{} + _ = theme079 + theme080 := nosuchrepo080.Theme{} + _ = theme080 + theme081 := nosuchrepo081.Theme{} + _ = theme081 + theme082 := nosuchrepo082.Theme{} + _ = theme082 + theme083 := nosuchrepo083.Theme{} + _ = theme083 + theme084 := nosuchrepo084.Theme{} + _ = theme084 + theme085 := nosuchrepo085.Theme{} + _ = theme085 + theme086 := nosuchrepo086.Theme{} + _ = theme086 + theme087 := nosuchrepo087.Theme{} + _ = theme087 + theme088 := nosuchrepo088.Theme{} + _ = theme088 + theme089 := nosuchrepo089.Theme{} + _ = theme089 + theme090 := nosuchrepo090.Theme{} + _ = theme090 + theme091 := nosuchrepo091.Theme{} + _ = theme091 + theme092 := nosuchrepo092.Theme{} + _ = theme092 + theme093 := nosuchrepo093.Theme{} + _ = theme093 + theme094 := nosuchrepo094.Theme{} + _ = theme094 + theme095 := nosuchrepo095.Theme{} + _ = theme095 + theme096 := nosuchrepo096.Theme{} + _ = theme096 + theme097 := nosuchrepo097.Theme{} + _ = theme097 + theme098 := nosuchrepo098.Theme{} + _ = theme098 + theme099 := nosuchrepo099.Theme{} + _ = theme099 + theme100 := nosuchrepo100.Theme{} + _ = theme100 + theme101 := nosuchrepo101.Theme{} + _ = theme101 + theme102 := nosuchrepo102.Theme{} + _ = theme102 + theme103 := nosuchrepo103.Theme{} + _ = theme103 + theme104 := nosuchrepo104.Theme{} + _ = theme104 + theme105 := nosuchrepo105.Theme{} + _ = theme105 + theme106 := nosuchrepo106.Theme{} + _ = theme106 + theme107 := nosuchrepo107.Theme{} + _ = theme107 + theme108 := nosuchrepo108.Theme{} + _ = theme108 + theme109 := nosuchrepo109.Theme{} + _ = theme109 } diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected index 24e8e824f3e..513fca45c88 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected @@ -1,11 +1,11 @@ { "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", + "markdownMessage": "The following packages could not be found. Check that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).\n\n`github.com/linode/linode-docs-theme`", "severity": "error", "source": { "extractorName": "go", "id": "go/autobuilder/package-not-found", - "name": "Package github.com/linode/linode-docs-theme could not be found" + "name": "1 package could not be found" }, "visibility": { "cliSummaryTable": true, From c28f51f82078c28f917d7d0d66ca60d4a59f7650 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Tue, 7 Mar 2023 14:37:12 +0000 Subject: [PATCH 097/145] Remove diagnostics-limit-exceeded test There is no way to trigger this any more. --- .../diagnostics.expected | 1500 ----------------- .../diagnostics-limit-exceeded/test.py | 9 - .../diagnostics-limit-exceeded/work/test.go | 336 ---- 3 files changed, 1845 deletions(-) delete mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/diagnostics.expected delete mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/test.py delete mode 100644 go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/work/test.go diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/diagnostics.expected deleted file mode 100644 index 88da9a2e91c..00000000000 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/diagnostics.expected +++ /dev/null @@ -1,1500 +0,0 @@ -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo000 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo001 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo002 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo003 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo004 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo005 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo006 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo007 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo008 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo009 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo010 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo011 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo012 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo013 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo014 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo015 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo016 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo017 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo018 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo019 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo020 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo021 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo022 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo023 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo024 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo025 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo026 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo027 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo028 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo029 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo030 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo031 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo032 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo033 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo034 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo035 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo036 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo037 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo038 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo039 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo041 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo042 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo043 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo044 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo045 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo046 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo047 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo048 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo049 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo050 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo051 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo052 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo053 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo054 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo055 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo056 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo057 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo058 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo059 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo060 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo061 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo062 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo063 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo064 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo065 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo066 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo067 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo068 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo069 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo070 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo071 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo072 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo073 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo074 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo075 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo076 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo077 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo078 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo079 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo080 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo081 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo082 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo083 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo084 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo085 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo086 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo087 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo088 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo089 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo090 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo091 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo092 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo093 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo094 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo095 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo096 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo097 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo098 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "Check that the path is correct. If it is a private package, make sure it can be accessed. If it is contained in the repository then you may need a [custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language).", - "severity": "error", - "source": { - "extractorName": "go", - "id": "go/autobuilder/package-not-found", - "name": "Package github.com/nosuchorg/nosuchrepo099 could not be found" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} -{ - "internal": false, - "markdownMessage": "The number of diagnostics exceeded the limit (100); the remainder were dropped.", - "severity": "warning", - "source": { - "extractorName": "go", - "id": "go/autobuilder/diagnostic-limit-hit", - "name": "Some diagnostics were dropped" - }, - "visibility": { - "cliSummaryTable": true, - "statusPage": true, - "telemetry": true - } -} diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/test.py b/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/test.py deleted file mode 100644 index 9f34f431b93..00000000000 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/test.py +++ /dev/null @@ -1,9 +0,0 @@ -import sys - -from create_database_utils import * -from diagnostics_test_utils import * - -os.environ['LGTM_INDEX_IMPORT_PATH'] = "test" -run_codeql_database_create([], lang="go", source="work", db=None) - -check_diagnostics() diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/work/test.go b/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/work/test.go deleted file mode 100644 index 2dfb38f12f8..00000000000 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/diagnostics-limit-exceeded/work/test.go +++ /dev/null @@ -1,336 +0,0 @@ -package test - -import ( - "github.com/nosuchorg/nosuchrepo000" - "github.com/nosuchorg/nosuchrepo001" - "github.com/nosuchorg/nosuchrepo002" - "github.com/nosuchorg/nosuchrepo003" - "github.com/nosuchorg/nosuchrepo004" - "github.com/nosuchorg/nosuchrepo005" - "github.com/nosuchorg/nosuchrepo006" - "github.com/nosuchorg/nosuchrepo007" - "github.com/nosuchorg/nosuchrepo008" - "github.com/nosuchorg/nosuchrepo009" - "github.com/nosuchorg/nosuchrepo010" - "github.com/nosuchorg/nosuchrepo011" - "github.com/nosuchorg/nosuchrepo012" - "github.com/nosuchorg/nosuchrepo013" - "github.com/nosuchorg/nosuchrepo014" - "github.com/nosuchorg/nosuchrepo015" - "github.com/nosuchorg/nosuchrepo016" - "github.com/nosuchorg/nosuchrepo017" - "github.com/nosuchorg/nosuchrepo018" - "github.com/nosuchorg/nosuchrepo019" - "github.com/nosuchorg/nosuchrepo020" - "github.com/nosuchorg/nosuchrepo021" - "github.com/nosuchorg/nosuchrepo022" - "github.com/nosuchorg/nosuchrepo023" - "github.com/nosuchorg/nosuchrepo024" - "github.com/nosuchorg/nosuchrepo025" - "github.com/nosuchorg/nosuchrepo026" - "github.com/nosuchorg/nosuchrepo027" - "github.com/nosuchorg/nosuchrepo028" - "github.com/nosuchorg/nosuchrepo029" - "github.com/nosuchorg/nosuchrepo030" - "github.com/nosuchorg/nosuchrepo031" - "github.com/nosuchorg/nosuchrepo032" - "github.com/nosuchorg/nosuchrepo033" - "github.com/nosuchorg/nosuchrepo034" - "github.com/nosuchorg/nosuchrepo035" - "github.com/nosuchorg/nosuchrepo036" - "github.com/nosuchorg/nosuchrepo037" - "github.com/nosuchorg/nosuchrepo038" - "github.com/nosuchorg/nosuchrepo039" - "github.com/nosuchorg/nosuchrepo041" - "github.com/nosuchorg/nosuchrepo042" - "github.com/nosuchorg/nosuchrepo043" - "github.com/nosuchorg/nosuchrepo044" - "github.com/nosuchorg/nosuchrepo045" - "github.com/nosuchorg/nosuchrepo046" - "github.com/nosuchorg/nosuchrepo047" - "github.com/nosuchorg/nosuchrepo048" - "github.com/nosuchorg/nosuchrepo049" - "github.com/nosuchorg/nosuchrepo050" - "github.com/nosuchorg/nosuchrepo051" - "github.com/nosuchorg/nosuchrepo052" - "github.com/nosuchorg/nosuchrepo053" - "github.com/nosuchorg/nosuchrepo054" - "github.com/nosuchorg/nosuchrepo055" - "github.com/nosuchorg/nosuchrepo056" - "github.com/nosuchorg/nosuchrepo057" - "github.com/nosuchorg/nosuchrepo058" - "github.com/nosuchorg/nosuchrepo059" - "github.com/nosuchorg/nosuchrepo060" - "github.com/nosuchorg/nosuchrepo061" - "github.com/nosuchorg/nosuchrepo062" - "github.com/nosuchorg/nosuchrepo063" - "github.com/nosuchorg/nosuchrepo064" - "github.com/nosuchorg/nosuchrepo065" - "github.com/nosuchorg/nosuchrepo066" - "github.com/nosuchorg/nosuchrepo067" - "github.com/nosuchorg/nosuchrepo068" - "github.com/nosuchorg/nosuchrepo069" - "github.com/nosuchorg/nosuchrepo070" - "github.com/nosuchorg/nosuchrepo071" - "github.com/nosuchorg/nosuchrepo072" - "github.com/nosuchorg/nosuchrepo073" - "github.com/nosuchorg/nosuchrepo074" - "github.com/nosuchorg/nosuchrepo075" - "github.com/nosuchorg/nosuchrepo076" - "github.com/nosuchorg/nosuchrepo077" - "github.com/nosuchorg/nosuchrepo078" - "github.com/nosuchorg/nosuchrepo079" - "github.com/nosuchorg/nosuchrepo080" - "github.com/nosuchorg/nosuchrepo081" - "github.com/nosuchorg/nosuchrepo082" - "github.com/nosuchorg/nosuchrepo083" - "github.com/nosuchorg/nosuchrepo084" - "github.com/nosuchorg/nosuchrepo085" - "github.com/nosuchorg/nosuchrepo086" - "github.com/nosuchorg/nosuchrepo087" - "github.com/nosuchorg/nosuchrepo088" - "github.com/nosuchorg/nosuchrepo089" - "github.com/nosuchorg/nosuchrepo090" - "github.com/nosuchorg/nosuchrepo091" - "github.com/nosuchorg/nosuchrepo092" - "github.com/nosuchorg/nosuchrepo093" - "github.com/nosuchorg/nosuchrepo094" - "github.com/nosuchorg/nosuchrepo095" - "github.com/nosuchorg/nosuchrepo096" - "github.com/nosuchorg/nosuchrepo097" - "github.com/nosuchorg/nosuchrepo098" - "github.com/nosuchorg/nosuchrepo099" - "github.com/nosuchorg/nosuchrepo100" - "github.com/nosuchorg/nosuchrepo101" - "github.com/nosuchorg/nosuchrepo102" - "github.com/nosuchorg/nosuchrepo103" - "github.com/nosuchorg/nosuchrepo104" - "github.com/nosuchorg/nosuchrepo105" - "github.com/nosuchorg/nosuchrepo106" - "github.com/nosuchorg/nosuchrepo107" - "github.com/nosuchorg/nosuchrepo108" - "github.com/nosuchorg/nosuchrepo109" -) - -func Test() { - theme000 := nosuchrepo000.Theme{} - _ = theme000 - theme001 := nosuchrepo001.Theme{} - _ = theme001 - theme002 := nosuchrepo002.Theme{} - _ = theme002 - theme003 := nosuchrepo003.Theme{} - _ = theme003 - theme004 := nosuchrepo004.Theme{} - _ = theme004 - theme005 := nosuchrepo005.Theme{} - _ = theme005 - theme006 := nosuchrepo006.Theme{} - _ = theme006 - theme007 := nosuchrepo007.Theme{} - _ = theme007 - theme008 := nosuchrepo008.Theme{} - _ = theme008 - theme009 := nosuchrepo009.Theme{} - _ = theme009 - theme010 := nosuchrepo010.Theme{} - _ = theme010 - theme011 := nosuchrepo011.Theme{} - _ = theme011 - theme012 := nosuchrepo012.Theme{} - _ = theme012 - theme013 := nosuchrepo013.Theme{} - _ = theme013 - theme014 := nosuchrepo014.Theme{} - _ = theme014 - theme015 := nosuchrepo015.Theme{} - _ = theme015 - theme016 := nosuchrepo016.Theme{} - _ = theme016 - theme017 := nosuchrepo017.Theme{} - _ = theme017 - theme018 := nosuchrepo018.Theme{} - _ = theme018 - theme019 := nosuchrepo019.Theme{} - _ = theme019 - theme020 := nosuchrepo020.Theme{} - _ = theme020 - theme021 := nosuchrepo021.Theme{} - _ = theme021 - theme022 := nosuchrepo022.Theme{} - _ = theme022 - theme023 := nosuchrepo023.Theme{} - _ = theme023 - theme024 := nosuchrepo024.Theme{} - _ = theme024 - theme025 := nosuchrepo025.Theme{} - _ = theme025 - theme026 := nosuchrepo026.Theme{} - _ = theme026 - theme027 := nosuchrepo027.Theme{} - _ = theme027 - theme028 := nosuchrepo028.Theme{} - _ = theme028 - theme029 := nosuchrepo029.Theme{} - _ = theme029 - theme030 := nosuchrepo030.Theme{} - _ = theme030 - theme031 := nosuchrepo031.Theme{} - _ = theme031 - theme032 := nosuchrepo032.Theme{} - _ = theme032 - theme033 := nosuchrepo033.Theme{} - _ = theme033 - theme034 := nosuchrepo034.Theme{} - _ = theme034 - theme035 := nosuchrepo035.Theme{} - _ = theme035 - theme036 := nosuchrepo036.Theme{} - _ = theme036 - theme037 := nosuchrepo037.Theme{} - _ = theme037 - theme038 := nosuchrepo038.Theme{} - _ = theme038 - theme039 := nosuchrepo039.Theme{} - _ = theme039 - theme040 := nosuchrepo030.Theme{} - _ = theme040 - theme041 := nosuchrepo041.Theme{} - _ = theme041 - theme042 := nosuchrepo042.Theme{} - _ = theme042 - theme043 := nosuchrepo043.Theme{} - _ = theme043 - theme044 := nosuchrepo044.Theme{} - _ = theme044 - theme045 := nosuchrepo045.Theme{} - _ = theme045 - theme046 := nosuchrepo046.Theme{} - _ = theme046 - theme047 := nosuchrepo047.Theme{} - _ = theme047 - theme048 := nosuchrepo048.Theme{} - _ = theme048 - theme049 := nosuchrepo049.Theme{} - _ = theme049 - theme050 := nosuchrepo050.Theme{} - _ = theme050 - theme051 := nosuchrepo051.Theme{} - _ = theme051 - theme052 := nosuchrepo052.Theme{} - _ = theme052 - theme053 := nosuchrepo053.Theme{} - _ = theme053 - theme054 := nosuchrepo054.Theme{} - _ = theme054 - theme055 := nosuchrepo055.Theme{} - _ = theme055 - theme056 := nosuchrepo056.Theme{} - _ = theme056 - theme057 := nosuchrepo057.Theme{} - _ = theme057 - theme058 := nosuchrepo058.Theme{} - _ = theme058 - theme059 := nosuchrepo059.Theme{} - _ = theme059 - theme060 := nosuchrepo060.Theme{} - _ = theme060 - theme061 := nosuchrepo061.Theme{} - _ = theme061 - theme062 := nosuchrepo062.Theme{} - _ = theme062 - theme063 := nosuchrepo063.Theme{} - _ = theme063 - theme064 := nosuchrepo064.Theme{} - _ = theme064 - theme065 := nosuchrepo065.Theme{} - _ = theme065 - theme066 := nosuchrepo066.Theme{} - _ = theme066 - theme067 := nosuchrepo067.Theme{} - _ = theme067 - theme068 := nosuchrepo068.Theme{} - _ = theme068 - theme069 := nosuchrepo069.Theme{} - _ = theme069 - theme070 := nosuchrepo070.Theme{} - _ = theme070 - theme071 := nosuchrepo071.Theme{} - _ = theme071 - theme072 := nosuchrepo072.Theme{} - _ = theme072 - theme073 := nosuchrepo073.Theme{} - _ = theme073 - theme074 := nosuchrepo074.Theme{} - _ = theme074 - theme075 := nosuchrepo075.Theme{} - _ = theme075 - theme076 := nosuchrepo076.Theme{} - _ = theme076 - theme077 := nosuchrepo077.Theme{} - _ = theme077 - theme078 := nosuchrepo078.Theme{} - _ = theme078 - theme079 := nosuchrepo079.Theme{} - _ = theme079 - theme080 := nosuchrepo080.Theme{} - _ = theme080 - theme081 := nosuchrepo081.Theme{} - _ = theme081 - theme082 := nosuchrepo082.Theme{} - _ = theme082 - theme083 := nosuchrepo083.Theme{} - _ = theme083 - theme084 := nosuchrepo084.Theme{} - _ = theme084 - theme085 := nosuchrepo085.Theme{} - _ = theme085 - theme086 := nosuchrepo086.Theme{} - _ = theme086 - theme087 := nosuchrepo087.Theme{} - _ = theme087 - theme088 := nosuchrepo088.Theme{} - _ = theme088 - theme089 := nosuchrepo089.Theme{} - _ = theme089 - theme090 := nosuchrepo090.Theme{} - _ = theme090 - theme091 := nosuchrepo091.Theme{} - _ = theme091 - theme092 := nosuchrepo092.Theme{} - _ = theme092 - theme093 := nosuchrepo093.Theme{} - _ = theme093 - theme094 := nosuchrepo094.Theme{} - _ = theme094 - theme095 := nosuchrepo095.Theme{} - _ = theme095 - theme096 := nosuchrepo096.Theme{} - _ = theme096 - theme097 := nosuchrepo097.Theme{} - _ = theme097 - theme098 := nosuchrepo098.Theme{} - _ = theme098 - theme099 := nosuchrepo099.Theme{} - _ = theme099 - theme100 := nosuchrepo100.Theme{} - _ = theme100 - theme101 := nosuchrepo101.Theme{} - _ = theme101 - theme102 := nosuchrepo102.Theme{} - _ = theme102 - theme103 := nosuchrepo103.Theme{} - _ = theme103 - theme104 := nosuchrepo104.Theme{} - _ = theme104 - theme105 := nosuchrepo105.Theme{} - _ = theme105 - theme106 := nosuchrepo106.Theme{} - _ = theme106 - theme107 := nosuchrepo107.Theme{} - _ = theme107 - theme108 := nosuchrepo108.Theme{} - _ = theme108 - theme109 := nosuchrepo109.Theme{} - _ = theme109 -} From 2edccec693697c61f40cba8d1c5fd934498440d8 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Tue, 7 Mar 2023 14:47:43 +0000 Subject: [PATCH 098/145] Do not link to GitHub AE version of documentation --- go/extractor/diagnostics/diagnostics.go | 2 +- .../go-files-found-not-processed/diagnostics.expected | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index f1ab4799a45..2749a513947 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -170,7 +170,7 @@ func EmitNewerGoVersionNeeded() { func EmitGoFilesFoundButNotProcessed() { emitDiagnostic("go/autobuilder/go-files-found-but-not-processed", "Go files were found but not processed", - "[Specify a custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language) that includes one or more `go build` commands to build the `.go` files to be analyzed.", + "[Specify a custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages) that includes one or more `go build` commands to build the `.go` files to be analyzed.", severityError, false, true, true, true, "", 0, 0, 0, 0, diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/diagnostics.expected index d2bd4c12bca..3f5cd5c631e 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/diagnostics.expected @@ -1,6 +1,6 @@ { "internal": false, - "markdownMessage": "[Specify a custom build command](https://docs.github.com/en/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language) that includes one or more `go build` commands to build the `.go` files to be analyzed.", + "markdownMessage": "[Specify a custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages) that includes one or more `go build` commands to build the `.go` files to be analyzed.", "severity": "error", "source": { "extractorName": "go", From 07098bf8bfcfadd18d2df274f4f277ed89b47e3b Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Tue, 7 Mar 2023 15:05:02 +0000 Subject: [PATCH 099/145] Minor refactor in diagnostics.go --- go/extractor/diagnostics/diagnostics.go | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 2749a513947..0b31178d0fb 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -69,8 +69,11 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn } else { optLoc = &locationStruct{file, startLine, startColumn, endLine, endColumn} } + + timestamp := time.Now().UTC().Format("2006-01-02T15:04:05.000") + "Z" + d := diagnostic{ - time.Now().UTC().Format("2006-01-02T15:04:05.000") + "Z", + timestamp, sourceStruct{sourceid, sourcename, "go"}, markdownMessage, string(severity), @@ -81,7 +84,7 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn if diagnosticsEmitted == diagnosticsLimit { d = diagnostic{ - time.Now().UTC().Format("2006-01-02T15:04:05.000") + "Z", + timestamp, sourceStruct{"go/autobuilder/diagnostic-limit-hit", "Some diagnostics were dropped", "go"}, fmt.Sprintf("The number of diagnostics exceeded the limit (%d); the remainder were dropped.", diagnosticsLimit), string(severityWarning), @@ -116,7 +119,8 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn } func EmitPackageDifferentOSArchitecture(pkgPath string) { - emitDiagnostic("go/autobuilder/package-different-os-architecture", + emitDiagnostic( + "go/autobuilder/package-different-os-architecture", "Package "+pkgPath+" is intended for a different OS or architecture", "Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner).", severityWarning, false, @@ -158,7 +162,8 @@ func EmitCannotFindPackages(pkgPaths []string) { } func EmitNewerGoVersionNeeded() { - emitDiagnostic("go/autobuilder/newer-go-version-needed", + emitDiagnostic( + "go/autobuilder/newer-go-version-needed", "Newer Go version needed", "The detected version of Go is lower than the version specified in `go.mod`. [Install a newer version](https://github.com/actions/setup-go#basic).", severityError, false, @@ -168,7 +173,8 @@ func EmitNewerGoVersionNeeded() { } func EmitGoFilesFoundButNotProcessed() { - emitDiagnostic("go/autobuilder/go-files-found-but-not-processed", + emitDiagnostic( + "go/autobuilder/go-files-found-but-not-processed", "Go files were found but not processed", "[Specify a custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages) that includes one or more `go build` commands to build the `.go` files to be analyzed.", severityError, false, From 1283bcb860c624834a39dde3e51cab0816a4a0a9 Mon Sep 17 00:00:00 2001 From: Alex Denisov Date: Fri, 3 Mar 2023 17:27:35 +0100 Subject: [PATCH 100/145] Swift: mangle builtin types --- swift/extractor/mangler/SwiftMangler.cpp | 9 +++++++++ swift/extractor/mangler/SwiftMangler.h | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/swift/extractor/mangler/SwiftMangler.cpp b/swift/extractor/mangler/SwiftMangler.cpp index 5797938e20b..00be81ee11f 100644 --- a/swift/extractor/mangler/SwiftMangler.cpp +++ b/swift/extractor/mangler/SwiftMangler.cpp @@ -38,3 +38,12 @@ std::optional SwiftMangler::mangleType(const swift::ModuleType& typ } return key; } + +#define TYPE(TYPE_ID, PARENT_TYPE) +#define BUILTIN_TYPE(TYPE_ID, PARENT_TYPE) \ + std::optional SwiftMangler::mangleType(const swift::TYPE_ID##Type& type) { \ + llvm::SmallString<32> buffer; \ + type.getTypeName(buffer); \ + return buffer.str().str(); \ + } +#include diff --git a/swift/extractor/mangler/SwiftMangler.h b/swift/extractor/mangler/SwiftMangler.h index 43cdb79d99c..252bf4afd99 100644 --- a/swift/extractor/mangler/SwiftMangler.h +++ b/swift/extractor/mangler/SwiftMangler.h @@ -15,6 +15,11 @@ class SwiftMangler { std::optional mangleType(const swift::ModuleType& type); +#define TYPE(TYPE_ID, PARENT_TYPE) +#define BUILTIN_TYPE(TYPE_ID, PARENT_TYPE) \ + std::optional mangleType(const swift::TYPE_ID##Type& type); +#include + private: swift::Mangle::ASTMangler mangler; }; From 858aa9ae63e6fe8a72f61cc811676f35f70bc757 Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Tue, 7 Mar 2023 17:55:13 +0100 Subject: [PATCH 101/145] Ruby: add some links to diagnostic messages --- ruby/extractor/src/diagnostics.rs | 48 +++++++++++++------ ruby/extractor/src/extractor.rs | 41 +++++++++------- ruby/extractor/src/main.rs | 23 +++++---- .../diagnostics/ExtractionErrors.expected | 2 +- 4 files changed, 75 insertions(+), 39 deletions(-) diff --git a/ruby/extractor/src/diagnostics.rs b/ruby/extractor/src/diagnostics.rs index 5d6a9edfbdf..d21408b3368 100644 --- a/ruby/extractor/src/diagnostics.rs +++ b/ruby/extractor/src/diagnostics.rs @@ -214,6 +214,12 @@ fn longest_backtick_sequence_length(text: &str) -> usize { } result } +pub enum Arg<'a> { + Code(&'a str), + Link(&'a str, &'a str), + None, +} + impl DiagnosticMessage { pub fn full_error_message(&self) -> String { match &self.location { @@ -236,26 +242,40 @@ impl DiagnosticMessage { self } - pub fn message(&mut self, text: &str, args: &[&str]) -> &mut Self { + pub fn message(&mut self, text: &str, args: &[Arg]) -> &mut Self { let parts = text.split("{}"); - let args = args.iter().chain(std::iter::repeat(&"")); + let args = args.iter().chain(std::iter::repeat(&Arg::None)); let mut plain = String::with_capacity(2 * text.len()); let mut markdown = String::with_capacity(2 * text.len()); for (p, a) in parts.zip(args) { plain.push_str(p); - plain.push_str(a); markdown.push_str(p); - if a.len() > 0 { - let count = longest_backtick_sequence_length(a) + 1; - markdown.push_str(&"`".repeat(count)); - if count > 1 { - markdown.push_str(" "); + match a { + Arg::Code(t) => { + plain.push_str(t); + if t.len() > 0 { + let count = longest_backtick_sequence_length(t) + 1; + markdown.push_str(&"`".repeat(count)); + if count > 1 { + markdown.push_str(" "); + } + markdown.push_str(t); + if count > 1 { + markdown.push_str(" "); + } + markdown.push_str(&"`".repeat(count)); + } } - markdown.push_str(a); - if count > 1 { - markdown.push_str(" "); + Arg::Link(text, url) => { + plain.push_str(text); + self.help_link(url); + markdown.push_str("["); + markdown.push_str(text); + markdown.push_str("]("); + markdown.push_str(url); + markdown.push_str(")"); } - markdown.push_str(&"`".repeat(count)); + Arg::None => {} } } self.text(&plain); @@ -323,14 +343,14 @@ fn test_message() { let mut m = DiagnosticLoggers::new("foo") .logger() .new_entry("id", "name"); - m.message("hello: {}", &["hello"]); + m.message("hello: {}", &[Arg::Code("hello")]); assert_eq!("hello: hello", m.plaintext_message); assert_eq!("hello: `hello`", m.markdown_message); let mut m = DiagnosticLoggers::new("foo") .logger() .new_entry("id", "name"); - m.message("hello with backticks: {}", &["oh `hello`!"]); + m.message("hello with backticks: {}", &[Arg::Code("oh `hello`!")]); assert_eq!("hello with backticks: oh `hello`!", m.plaintext_message); assert_eq!( "hello with backticks: `` oh `hello`! ``", diff --git a/ruby/extractor/src/extractor.rs b/ruby/extractor/src/extractor.rs index 09072bbf20f..b8952e971b0 100644 --- a/ruby/extractor/src/extractor.rs +++ b/ruby/extractor/src/extractor.rs @@ -277,7 +277,7 @@ impl<'a> Visitor<'a> { fn record_parse_error_for_node( &mut self, message: &str, - args: &[&str], + args: &[diagnostics::Arg], node: Node, status_page: bool, ) { @@ -306,8 +306,8 @@ impl<'a> Visitor<'a> { fn enter_node(&mut self, node: Node) -> bool { if node.is_missing() { self.record_parse_error_for_node( - "A parse error occurred (expected {} symbol). Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.", - &[node.kind()], + "A parse error occurred (expected {} symbol). Check the syntax of the file. If the file is invalid, correct the error or {} the file from analysis.", + &[diagnostics::Arg::Code(node.kind()), diagnostics::Arg::Link("exclude", "https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning")], node, true, ); @@ -315,8 +315,8 @@ impl<'a> Visitor<'a> { } if node.is_error() { self.record_parse_error_for_node( - "A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.", - &[], + "A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or {} the file from analysis.", + &[diagnostics::Arg::Link("exclude", "https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning")], node, true, ); @@ -407,7 +407,10 @@ impl<'a> Visitor<'a> { .new_entry("parse-error", "Parse error") .severity(diagnostics::Severity::Error) .location(self.path, start_line, start_column, end_line, end_column) - .message("Unknown table type: {}", &[node.kind()]), + .message( + "Unknown table type: {}", + &[diagnostics::Arg::Code(node.kind())], + ), ); valid = false; @@ -458,10 +461,10 @@ impl<'a> Visitor<'a> { self.record_parse_error_for_node( "Type mismatch for field {}::{} with type {} != {}", &[ - node.kind(), - child_node.field_name.unwrap_or("child"), - &format!("{:?}", child_node.type_name), - &format!("{:?}", field.type_info), + diagnostics::Arg::Code(node.kind()), + diagnostics::Arg::Code(child_node.field_name.unwrap_or("child")), + diagnostics::Arg::Code(&format!("{:?}", child_node.type_name)), + diagnostics::Arg::Code(&format!("{:?}", field.type_info)), ], *node, false, @@ -471,9 +474,9 @@ impl<'a> Visitor<'a> { self.record_parse_error_for_node( "Value for unknown field: {}::{} and type {}", &[ - node.kind(), - &child_node.field_name.unwrap_or("child"), - &format!("{:?}", child_node.type_name), + diagnostics::Arg::Code(node.kind()), + diagnostics::Arg::Code(&child_node.field_name.unwrap_or("child")), + diagnostics::Arg::Code(&format!("{:?}", child_node.type_name)), ], *node, false, @@ -512,7 +515,10 @@ impl<'a> Visitor<'a> { if !*has_index && index > 0 { self.record_parse_error_for_node( "Too many values for field: {}::{}", - &[node.kind(), table_name], + &[ + diagnostics::Arg::Code(node.kind()), + diagnostics::Arg::Code(table_name), + ], *node, false, ); @@ -629,8 +635,11 @@ fn location_for(visitor: &mut Visitor, n: Node) -> (usize, usize, usize, usize) .diagnostics_writer .new_entry("internal-error", "Internal error") .message( - "Cannot correct end column value: end_byte index {} is not in range [1,{}]", - &[&index.to_string(), &source.len().to_string()], + "Cannot correct end column value: end_byte index {} is not in range [1,{}].", + &[ + diagnostics::Arg::Code(&index.to_string()), + diagnostics::Arg::Code(&source.len().to_string()), + ], ) .severity(diagnostics::Severity::Error), ); diff --git a/ruby/extractor/src/main.rs b/ruby/extractor/src/main.rs index 9591ec2fc96..83360eadc39 100644 --- a/ruby/extractor/src/main.rs +++ b/ruby/extractor/src/main.rs @@ -74,7 +74,7 @@ fn main() -> std::io::Result<()> { main_thread_logger.write( main_thread_logger .new_entry("configuration-error", "Configuration error") - .message("{}; defaulting to 1 thread.", &[&e]) + .message("{}; defaulting to 1 thread.", &[diagnostics::Arg::Code(&e)]) .severity(diagnostics::Severity::Warning), ); 1 @@ -95,7 +95,7 @@ fn main() -> std::io::Result<()> { main_thread_logger.write( main_thread_logger .new_entry("configuration-error", "Configuration error") - .message("{}; using gzip.", &[&e]) + .message("{}; using gzip.", &[diagnostics::Arg::Code(&e)]) .severity(diagnostics::Severity::Warning), ); trap::Compression::Gzip @@ -203,11 +203,15 @@ fn main() -> std::io::Result<()> { ) .file(&path.to_string_lossy()) .message( - "Could not decode the file contents as {}: {}. The contents of the file must match the character encoding specified in the {} directive.", - &[&encoding_name, &msg, "encoding:"], + "Could not decode the file contents as {}: {}. The contents of the file must match the character encoding specified in the {} {}.", + &[ + diagnostics::Arg::Code(&encoding_name), + diagnostics::Arg::Code(&msg), + diagnostics::Arg::Code("encoding:"), + diagnostics::Arg::Link("directive", "https://docs.ruby-lang.org/en/master/syntax/comments_rdoc.html#label-encoding+Directive") + ], ) .status_page() - .help_link("https://docs.ruby-lang.org/en/master/syntax/comments_rdoc.html#label-encoding+Directive") .severity(diagnostics::Severity::Warning), ); } @@ -219,11 +223,14 @@ fn main() -> std::io::Result<()> { .new_entry("unknown-character-encoding", "Unknown character encoding") .file(&path.to_string_lossy()) .message( - "Unknown character encoding {} in {} directive.", - &[&encoding_name, "#encoding:"], + "Unknown character encoding {} in {} {}.", + &[ + diagnostics::Arg::Code(&encoding_name), + diagnostics::Arg::Code("#encoding:"), + diagnostics::Arg::Link("directive", "https://docs.ruby-lang.org/en/master/syntax/comments_rdoc.html#label-encoding+Directive") + ], ) .status_page() - .help_link("https://docs.ruby-lang.org/en/master/syntax/comments_rdoc.html#label-encoding+Directive") .severity(diagnostics::Severity::Warning), ); } diff --git a/ruby/ql/test/query-tests/diagnostics/ExtractionErrors.expected b/ruby/ql/test/query-tests/diagnostics/ExtractionErrors.expected index 82b4407140b..dc37ca3642b 100644 --- a/ruby/ql/test/query-tests/diagnostics/ExtractionErrors.expected +++ b/ruby/ql/test/query-tests/diagnostics/ExtractionErrors.expected @@ -1 +1 @@ -| src/not_ruby.rb:5:25:5:26 | A parse error occurred. Check the syntax of the file using the ruby -c command. If the file is invalid, correct the error or exclude the file from analysis. | Extraction failed in src/not_ruby.rb with error A parse error occurred. Check the syntax of the file using the ruby -c command. If the file is invalid, correct the error or exclude the file from analysis. | 2 | +| src/not_ruby.rb:5:25:5:26 | A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis. | Extraction failed in src/not_ruby.rb with error A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis. | 2 | From 67e7b8fc234c09cb7fe2178c891549c689bab2bf Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Thu, 2 Mar 2023 14:16:49 +0100 Subject: [PATCH 102/145] C#: If a type (or any child of a type) is a pointer like type then it is unsafe. --- csharp/ql/lib/semmle/code/csharp/Member.qll | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/csharp/ql/lib/semmle/code/csharp/Member.qll b/csharp/ql/lib/semmle/code/csharp/Member.qll index 2308911e770..eb62a2f0b5c 100644 --- a/csharp/ql/lib/semmle/code/csharp/Member.qll +++ b/csharp/ql/lib/semmle/code/csharp/Member.qll @@ -98,10 +98,21 @@ class Modifiable extends Declaration, @modifiable { /** Holds if this declaration is `unsafe`. */ predicate isUnsafe() { - this.hasModifier("unsafe") or - this.(Parameterizable).getAParameter().getType() instanceof PointerType or - this.(Property).getType() instanceof PointerType or - this.(Callable).getReturnType() instanceof PointerType + this.hasModifier("unsafe") + or + exists(Type t, Type child | + t = this.(Parameterizable).getAParameter().getType() or + t = this.(Property).getType() or + t = this.(Callable).getReturnType() or + t = this.(DelegateType).getReturnType() + | + child = t.getAChild*() and + ( + child instanceof PointerType + or + child instanceof FunctionPointerType + ) + ) } /** Holds if this declaration is `async`. */ From b6d97b07bf79eea79aaf5df0e7a5df3ad45c6613 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Thu, 2 Mar 2023 14:17:49 +0100 Subject: [PATCH 103/145] C#: Also print the unsafe keyword for eg. classes when creating stubs. --- csharp/ql/src/Stubs/Stubs.qll | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/csharp/ql/src/Stubs/Stubs.qll b/csharp/ql/src/Stubs/Stubs.qll index 276f3f7e8ab..78cd18c34ec 100644 --- a/csharp/ql/src/Stubs/Stubs.qll +++ b/csharp/ql/src/Stubs/Stubs.qll @@ -132,11 +132,11 @@ abstract private class GeneratedType extends Type, GeneratedElement { else ( not this instanceof DelegateType and result = - this.stubAttributes() + stubAccessibility(this) + this.stubAbstractModifier() + - this.stubStaticModifier() + this.stubPartialModifier() + this.stubKeyword() + " " + - this.getUndecoratedName() + stubGenericArguments(this) + this.stubBaseTypesString() + - stubTypeParametersConstraints(this) + "\n{\n" + this.stubPrivateConstructor() + - this.stubMembers(assembly) + "}\n\n" + this.stubAttributes() + stubUnsafe(this) + stubAccessibility(this) + + this.stubAbstractModifier() + this.stubStaticModifier() + this.stubPartialModifier() + + this.stubKeyword() + " " + this.getUndecoratedName() + stubGenericArguments(this) + + this.stubBaseTypesString() + stubTypeParametersConstraints(this) + "\n{\n" + + this.stubPrivateConstructor() + this.stubMembers(assembly) + "}\n\n" or result = this.stubAttributes() + stubUnsafe(this) + stubAccessibility(this) + this.stubKeyword() + From c88f52c63e1b6b1172c6c0af5fc94c5af8b775e3 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Thu, 2 Mar 2023 14:18:06 +0100 Subject: [PATCH 104/145] C#: Add stubs test case. --- csharp/ql/test/query-tests/Stubs/All/AllStubs.expected | 2 +- csharp/ql/test/query-tests/Stubs/All/Test.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected b/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected index 187485652aa..1d6a4fb7801 100644 --- a/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected +++ b/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected @@ -1 +1 @@ -| // This file contains auto-generated code.\n// Generated from `Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`.\n\nnamespace A1\n{\npublic class C1\n{\n}\n\n}\nnamespace A2\n{\nnamespace B2\n{\npublic class C2\n{\n}\n\n}\n}\nnamespace A3\n{\npublic class C3\n{\n}\n\n}\nnamespace A4\n{\npublic class C4\n{\n}\n\nnamespace B4\n{\npublic class D4\n{\n}\n\n}\n}\nnamespace Test\n{\npublic class Class1\n{\npublic class Class11 : Test.Class1.Interface1, Test.Class1.Interface2\n{\n int Test.Class1.Interface2.this[int i] { get => throw null; }\n public void Method1() => throw null;\n void Test.Class1.Interface2.Method2() => throw null;\n}\n\n\npublic class Class12 : Test.Class1.Class11\n{\n}\n\n\npublic abstract class Class13\n{\n protected internal virtual void M() => throw null;\n public virtual void M1() where T: Test.Class1.Class13 => throw null;\n public abstract void M2();\n}\n\n\npublic abstract class Class14 : Test.Class1.Class13\n{\n protected internal override void M() => throw null;\n public override void M1() => throw null;\n public abstract override void M2();\n}\n\n\npublic delegate void Delegate1(T i, int j);\n\n\npublic class GenericType\n{\npublic class X\n{\n}\n\n\n}\n\n\npublic interface Interface1\n{\n void Method1();\n}\n\n\nprotected internal interface Interface2\n{\n int this[int i] { get; }\n void Method2();\n}\n\n\npublic struct Struct1\n{\n public void Method(Test.Class1.Struct1 s = default(Test.Class1.Struct1)) => throw null;\n public int i;\n public static int j = default;\n public System.ValueTuple t1;\n public (int,int) t2;\n}\n\n\n public event Test.Class1.Delegate1 Event1;\n public Test.Class1.GenericType.X Prop { get => throw null; }\n}\n\npublic class Class10\n{\n unsafe public void M1(delegate* unmanaged f) => throw null;\n}\n\npublic class Class11 : Test.IInterface2, Test.IInterface3\n{\n static Test.Class11 Test.IInterface2.operator *(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator +(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator -(Test.Class11 left, Test.Class11 right) => throw null;\n static Test.Class11 Test.IInterface2.operator /(Test.Class11 left, Test.Class11 right) => throw null;\n public void M1() => throw null;\n void Test.IInterface2.M2() => throw null;\n public static explicit operator System.Int16(Test.Class11 n) => throw null;\n static explicit Test.IInterface2.operator int(Test.Class11 n) => throw null;\n}\n\npublic class Class3\n{\n public object Item { get => throw null; set => throw null; }\n [System.Runtime.CompilerServices.IndexerName("MyItem")]\n public object this[string index] { get => throw null; set => throw null; }\n}\n\npublic class Class4\n{\n unsafe public void M(int* p) => throw null;\n}\n\npublic class Class5 : Test.IInterface1\n{\n public void M2() => throw null;\n}\n\npublic class Class6 where T: class, Test.IInterface1\n{\n public virtual void M1() where T: class, Test.IInterface1, new() => throw null;\n}\n\npublic class Class7 : Test.Class6\n{\n public override void M1() where T: class => throw null;\n}\n\npublic class Class8\n{\n public static int @this = default;\n}\n\npublic class Class9\n{\npublic class Nested : Test.Class9\n{\n}\n\n\n public Test.Class9.Nested NestedInstance { get => throw null; }\n}\n\npublic enum Enum1 : int\n{\n None1 = 0,\n Some11 = 1,\n Some12 = 2,\n}\n\npublic enum Enum2 : int\n{\n None2 = 2,\n Some21 = 1,\n Some22 = 3,\n}\n\npublic enum Enum3 : int\n{\n None3 = 2,\n Some31 = 1,\n Some32 = 0,\n}\n\npublic enum Enum4 : int\n{\n None4 = 2,\n Some41 = 7,\n Some42 = 6,\n}\n\npublic enum EnumLong : long\n{\n None = 10,\n Some = 223372036854775807,\n}\n\npublic interface IInterface1\n{\n void M1() => throw null;\n void M2();\n}\n\npublic interface IInterface2 where T: Test.IInterface2\n{\n static abstract T operator *(T left, T right);\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n static virtual T operator /(T left, T right) => throw null;\n void M1();\n void M2();\n static abstract explicit operator System.Int16(T n);\n static abstract explicit operator int(T n);\n}\n\npublic interface IInterface3 where T: Test.IInterface3\n{\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n void M1();\n static abstract explicit operator System.Int16(T n);\n}\n\n}\n\n\n | +| // This file contains auto-generated code.\n// Generated from `Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`.\n\nnamespace A1\n{\npublic class C1\n{\n}\n\n}\nnamespace A2\n{\nnamespace B2\n{\npublic class C2\n{\n}\n\n}\n}\nnamespace A3\n{\npublic class C3\n{\n}\n\n}\nnamespace A4\n{\npublic class C4\n{\n}\n\nnamespace B4\n{\npublic class D4\n{\n}\n\n}\n}\nnamespace Test\n{\npublic class Class1\n{\npublic class Class11 : Test.Class1.Interface1, Test.Class1.Interface2\n{\n int Test.Class1.Interface2.this[int i] { get => throw null; }\n public void Method1() => throw null;\n void Test.Class1.Interface2.Method2() => throw null;\n}\n\n\npublic class Class12 : Test.Class1.Class11\n{\n}\n\n\npublic abstract class Class13\n{\n protected internal virtual void M() => throw null;\n public virtual void M1() where T: Test.Class1.Class13 => throw null;\n public abstract void M2();\n}\n\n\npublic abstract class Class14 : Test.Class1.Class13\n{\n protected internal override void M() => throw null;\n public override void M1() => throw null;\n public abstract override void M2();\n}\n\n\npublic delegate void Delegate1(T i, int j);\n\n\npublic class GenericType\n{\npublic class X\n{\n}\n\n\n}\n\n\npublic interface Interface1\n{\n void Method1();\n}\n\n\nprotected internal interface Interface2\n{\n int this[int i] { get; }\n void Method2();\n}\n\n\npublic struct Struct1\n{\n public void Method(Test.Class1.Struct1 s = default(Test.Class1.Struct1)) => throw null;\n public int i;\n public static int j = default;\n public System.ValueTuple t1;\n public (int,int) t2;\n}\n\n\n public event Test.Class1.Delegate1 Event1;\n public Test.Class1.GenericType.X Prop { get => throw null; }\n}\n\npublic class Class10\n{\n unsafe public void M1(delegate* unmanaged f) => throw null;\n}\n\npublic class Class11 : Test.IInterface2, Test.IInterface3\n{\n static Test.Class11 Test.IInterface2.operator *(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator +(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator -(Test.Class11 left, Test.Class11 right) => throw null;\n static Test.Class11 Test.IInterface2.operator /(Test.Class11 left, Test.Class11 right) => throw null;\n public void M1() => throw null;\n void Test.IInterface2.M2() => throw null;\n public static explicit operator System.Int16(Test.Class11 n) => throw null;\n static explicit Test.IInterface2.operator int(Test.Class11 n) => throw null;\n}\n\npublic class Class3\n{\n public object Item { get => throw null; set => throw null; }\n [System.Runtime.CompilerServices.IndexerName("MyItem")]\n public object this[string index] { get => throw null; set => throw null; }\n}\n\npublic class Class4\n{\n unsafe public void M(int* p) => throw null;\n}\n\npublic class Class5 : Test.IInterface1\n{\n public void M2() => throw null;\n}\n\npublic class Class6 where T: class, Test.IInterface1\n{\n public virtual void M1() where T: class, Test.IInterface1, new() => throw null;\n}\n\npublic class Class7 : Test.Class6\n{\n public override void M1() where T: class => throw null;\n}\n\npublic class Class8\n{\n public static int @this = default;\n}\n\npublic class Class9\n{\npublic class Nested : Test.Class9\n{\n}\n\n\n public Test.Class9.Nested NestedInstance { get => throw null; }\n}\n\npublic enum Enum1 : int\n{\n None1 = 0,\n Some11 = 1,\n Some12 = 2,\n}\n\npublic enum Enum2 : int\n{\n None2 = 2,\n Some21 = 1,\n Some22 = 3,\n}\n\npublic enum Enum3 : int\n{\n None3 = 2,\n Some31 = 1,\n Some32 = 0,\n}\n\npublic enum Enum4 : int\n{\n None4 = 2,\n Some41 = 7,\n Some42 = 6,\n}\n\npublic enum EnumLong : long\n{\n None = 10,\n Some = 223372036854775807,\n}\n\npublic interface IInterface1\n{\n void M1() => throw null;\n void M2();\n}\n\npublic interface IInterface2 where T: Test.IInterface2\n{\n static abstract T operator *(T left, T right);\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n static virtual T operator /(T left, T right) => throw null;\n void M1();\n void M2();\n static abstract explicit operator System.Int16(T n);\n static abstract explicit operator int(T n);\n}\n\npublic interface IInterface3 where T: Test.IInterface3\n{\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n void M1();\n static abstract explicit operator System.Int16(T n);\n}\n\nunsafe public static class MyUnsafeClass\n{\n}\n\n}\n\n\n | diff --git a/csharp/ql/test/query-tests/Stubs/All/Test.cs b/csharp/ql/test/query-tests/Stubs/All/Test.cs index d8a8fdb443c..644798fff61 100644 --- a/csharp/ql/test/query-tests/Stubs/All/Test.cs +++ b/csharp/ql/test/query-tests/Stubs/All/Test.cs @@ -172,6 +172,8 @@ namespace Test static explicit IInterface2.operator int(Class11 n) => 0; } + public static unsafe class MyUnsafeClass { } + public enum Enum1 { None1, From 7ce5c0d55d62a8db84b7722847f9d1bbd5f35666 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Thu, 2 Mar 2023 14:23:43 +0100 Subject: [PATCH 105/145] C#: Add change note. --- csharp/ql/lib/change-notes/2023-03-02-unsafemembers.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 csharp/ql/lib/change-notes/2023-03-02-unsafemembers.md diff --git a/csharp/ql/lib/change-notes/2023-03-02-unsafemembers.md b/csharp/ql/lib/change-notes/2023-03-02-unsafemembers.md new file mode 100644 index 00000000000..7ff64ca1301 --- /dev/null +++ b/csharp/ql/lib/change-notes/2023-03-02-unsafemembers.md @@ -0,0 +1,4 @@ +--- +category: minorAnalysis +--- +* The `unsafe` predicate for `Modifiable` has been extended to cover delegate return types and identify pointer like types at any nest level. This is relevant for `unsafe` declarations extracted from assemblies. \ No newline at end of file From 07143106616726d3d3aab430ce19c1a4fd56291a Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Wed, 8 Mar 2023 10:14:49 +0100 Subject: [PATCH 106/145] C#: Add some more test examples. --- csharp/ql/test/query-tests/Stubs/All/AllStubs.expected | 2 +- csharp/ql/test/query-tests/Stubs/All/Test.cs | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected b/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected index 1d6a4fb7801..0fd2ca78088 100644 --- a/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected +++ b/csharp/ql/test/query-tests/Stubs/All/AllStubs.expected @@ -1 +1 @@ -| // This file contains auto-generated code.\n// Generated from `Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`.\n\nnamespace A1\n{\npublic class C1\n{\n}\n\n}\nnamespace A2\n{\nnamespace B2\n{\npublic class C2\n{\n}\n\n}\n}\nnamespace A3\n{\npublic class C3\n{\n}\n\n}\nnamespace A4\n{\npublic class C4\n{\n}\n\nnamespace B4\n{\npublic class D4\n{\n}\n\n}\n}\nnamespace Test\n{\npublic class Class1\n{\npublic class Class11 : Test.Class1.Interface1, Test.Class1.Interface2\n{\n int Test.Class1.Interface2.this[int i] { get => throw null; }\n public void Method1() => throw null;\n void Test.Class1.Interface2.Method2() => throw null;\n}\n\n\npublic class Class12 : Test.Class1.Class11\n{\n}\n\n\npublic abstract class Class13\n{\n protected internal virtual void M() => throw null;\n public virtual void M1() where T: Test.Class1.Class13 => throw null;\n public abstract void M2();\n}\n\n\npublic abstract class Class14 : Test.Class1.Class13\n{\n protected internal override void M() => throw null;\n public override void M1() => throw null;\n public abstract override void M2();\n}\n\n\npublic delegate void Delegate1(T i, int j);\n\n\npublic class GenericType\n{\npublic class X\n{\n}\n\n\n}\n\n\npublic interface Interface1\n{\n void Method1();\n}\n\n\nprotected internal interface Interface2\n{\n int this[int i] { get; }\n void Method2();\n}\n\n\npublic struct Struct1\n{\n public void Method(Test.Class1.Struct1 s = default(Test.Class1.Struct1)) => throw null;\n public int i;\n public static int j = default;\n public System.ValueTuple t1;\n public (int,int) t2;\n}\n\n\n public event Test.Class1.Delegate1 Event1;\n public Test.Class1.GenericType.X Prop { get => throw null; }\n}\n\npublic class Class10\n{\n unsafe public void M1(delegate* unmanaged f) => throw null;\n}\n\npublic class Class11 : Test.IInterface2, Test.IInterface3\n{\n static Test.Class11 Test.IInterface2.operator *(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator +(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator -(Test.Class11 left, Test.Class11 right) => throw null;\n static Test.Class11 Test.IInterface2.operator /(Test.Class11 left, Test.Class11 right) => throw null;\n public void M1() => throw null;\n void Test.IInterface2.M2() => throw null;\n public static explicit operator System.Int16(Test.Class11 n) => throw null;\n static explicit Test.IInterface2.operator int(Test.Class11 n) => throw null;\n}\n\npublic class Class3\n{\n public object Item { get => throw null; set => throw null; }\n [System.Runtime.CompilerServices.IndexerName("MyItem")]\n public object this[string index] { get => throw null; set => throw null; }\n}\n\npublic class Class4\n{\n unsafe public void M(int* p) => throw null;\n}\n\npublic class Class5 : Test.IInterface1\n{\n public void M2() => throw null;\n}\n\npublic class Class6 where T: class, Test.IInterface1\n{\n public virtual void M1() where T: class, Test.IInterface1, new() => throw null;\n}\n\npublic class Class7 : Test.Class6\n{\n public override void M1() where T: class => throw null;\n}\n\npublic class Class8\n{\n public static int @this = default;\n}\n\npublic class Class9\n{\npublic class Nested : Test.Class9\n{\n}\n\n\n public Test.Class9.Nested NestedInstance { get => throw null; }\n}\n\npublic enum Enum1 : int\n{\n None1 = 0,\n Some11 = 1,\n Some12 = 2,\n}\n\npublic enum Enum2 : int\n{\n None2 = 2,\n Some21 = 1,\n Some22 = 3,\n}\n\npublic enum Enum3 : int\n{\n None3 = 2,\n Some31 = 1,\n Some32 = 0,\n}\n\npublic enum Enum4 : int\n{\n None4 = 2,\n Some41 = 7,\n Some42 = 6,\n}\n\npublic enum EnumLong : long\n{\n None = 10,\n Some = 223372036854775807,\n}\n\npublic interface IInterface1\n{\n void M1() => throw null;\n void M2();\n}\n\npublic interface IInterface2 where T: Test.IInterface2\n{\n static abstract T operator *(T left, T right);\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n static virtual T operator /(T left, T right) => throw null;\n void M1();\n void M2();\n static abstract explicit operator System.Int16(T n);\n static abstract explicit operator int(T n);\n}\n\npublic interface IInterface3 where T: Test.IInterface3\n{\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n void M1();\n static abstract explicit operator System.Int16(T n);\n}\n\nunsafe public static class MyUnsafeClass\n{\n}\n\n}\n\n\n | +| // This file contains auto-generated code.\n// Generated from `Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`.\n\nnamespace A1\n{\npublic class C1\n{\n}\n\n}\nnamespace A2\n{\nnamespace B2\n{\npublic class C2\n{\n}\n\n}\n}\nnamespace A3\n{\npublic class C3\n{\n}\n\n}\nnamespace A4\n{\npublic class C4\n{\n}\n\nnamespace B4\n{\npublic class D4\n{\n}\n\n}\n}\nnamespace Test\n{\npublic class Class1\n{\npublic class Class11 : Test.Class1.Interface1, Test.Class1.Interface2\n{\n int Test.Class1.Interface2.this[int i] { get => throw null; }\n public void Method1() => throw null;\n void Test.Class1.Interface2.Method2() => throw null;\n}\n\n\npublic class Class12 : Test.Class1.Class11\n{\n}\n\n\npublic abstract class Class13\n{\n protected internal virtual void M() => throw null;\n public virtual void M1() where T: Test.Class1.Class13 => throw null;\n public abstract void M2();\n}\n\n\npublic abstract class Class14 : Test.Class1.Class13\n{\n protected internal override void M() => throw null;\n public override void M1() => throw null;\n public abstract override void M2();\n}\n\n\npublic delegate void Delegate1(T i, int j);\n\n\npublic class GenericType\n{\npublic class X\n{\n}\n\n\n}\n\n\npublic interface Interface1\n{\n void Method1();\n}\n\n\nprotected internal interface Interface2\n{\n int this[int i] { get; }\n void Method2();\n}\n\n\npublic struct Struct1\n{\n public void Method(Test.Class1.Struct1 s = default(Test.Class1.Struct1)) => throw null;\n public int i;\n public static int j = default;\n public System.ValueTuple t1;\n public (int,int) t2;\n}\n\n\n public event Test.Class1.Delegate1 Event1;\n public Test.Class1.GenericType.X Prop { get => throw null; }\n}\n\npublic class Class10\n{\n unsafe public void M1(delegate* unmanaged f) => throw null;\n}\n\npublic class Class11 : Test.IInterface2, Test.IInterface3\n{\n static Test.Class11 Test.IInterface2.operator *(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator +(Test.Class11 left, Test.Class11 right) => throw null;\n public static Test.Class11 operator -(Test.Class11 left, Test.Class11 right) => throw null;\n static Test.Class11 Test.IInterface2.operator /(Test.Class11 left, Test.Class11 right) => throw null;\n public void M1() => throw null;\n void Test.IInterface2.M2() => throw null;\n public static explicit operator System.Int16(Test.Class11 n) => throw null;\n static explicit Test.IInterface2.operator int(Test.Class11 n) => throw null;\n}\n\npublic class Class3\n{\n public object Item { get => throw null; set => throw null; }\n [System.Runtime.CompilerServices.IndexerName("MyItem")]\n public object this[string index] { get => throw null; set => throw null; }\n}\n\npublic class Class4\n{\n unsafe public void M(int* p) => throw null;\n}\n\npublic class Class5 : Test.IInterface1\n{\n public void M2() => throw null;\n}\n\npublic class Class6 where T: class, Test.IInterface1\n{\n public virtual void M1() where T: class, Test.IInterface1, new() => throw null;\n}\n\npublic class Class7 : Test.Class6\n{\n public override void M1() where T: class => throw null;\n}\n\npublic class Class8\n{\n public static int @this = default;\n}\n\npublic class Class9\n{\npublic class Nested : Test.Class9\n{\n}\n\n\n public Test.Class9.Nested NestedInstance { get => throw null; }\n}\n\npublic enum Enum1 : int\n{\n None1 = 0,\n Some11 = 1,\n Some12 = 2,\n}\n\npublic enum Enum2 : int\n{\n None2 = 2,\n Some21 = 1,\n Some22 = 3,\n}\n\npublic enum Enum3 : int\n{\n None3 = 2,\n Some31 = 1,\n Some32 = 0,\n}\n\npublic enum Enum4 : int\n{\n None4 = 2,\n Some41 = 7,\n Some42 = 6,\n}\n\npublic enum EnumLong : long\n{\n None = 10,\n Some = 223372036854775807,\n}\n\npublic interface IInterface1\n{\n void M1() => throw null;\n void M2();\n}\n\npublic interface IInterface2 where T: Test.IInterface2\n{\n static abstract T operator *(T left, T right);\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n static virtual T operator /(T left, T right) => throw null;\n void M1();\n void M2();\n static abstract explicit operator System.Int16(T n);\n static abstract explicit operator int(T n);\n}\n\npublic interface IInterface3 where T: Test.IInterface3\n{\n static abstract T operator +(T left, T right);\n static virtual T operator -(T left, T right) => throw null;\n void M1();\n static abstract explicit operator System.Int16(T n);\n}\n\nunsafe public class MyUnsafeClass\n{\n unsafe public static void M1(delegate* f) => throw null;\n unsafe public static void M2(int*[] x) => throw null;\n unsafe public static System.Char* M3() => throw null;\n public static void M4(int x) => throw null;\n}\n\n}\n\n\n | diff --git a/csharp/ql/test/query-tests/Stubs/All/Test.cs b/csharp/ql/test/query-tests/Stubs/All/Test.cs index 644798fff61..7e3f96bb000 100644 --- a/csharp/ql/test/query-tests/Stubs/All/Test.cs +++ b/csharp/ql/test/query-tests/Stubs/All/Test.cs @@ -172,7 +172,13 @@ namespace Test static explicit IInterface2.operator int(Class11 n) => 0; } - public static unsafe class MyUnsafeClass { } + public unsafe class MyUnsafeClass + { + public static void M1(delegate* f) => throw null; + public static void M2(int*[] x) => throw null; + public static char* M3() => throw null; + public static void M4(int x) => throw null; + } public enum Enum1 { From a63a4c29e29f54d7b99cd1da2d858c06f74f22e4 Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Wed, 8 Mar 2023 09:48:35 +0000 Subject: [PATCH 107/145] Go: fix incorrect-integer-conversion sanitizer This was amended as part of https://github.com/github/codeql/pull/12186, but the conversion was inadequate because the new implementation didn't work when a sink (type conversion) led directly to a non-`localTaintStep` step, such as a store step or an interprocedural step. Here I move the sink back one step to the argument of the type conversion and sanitize the result of the conversion instead, to ensure there is always a unique local successor to a sink. This should eliminate unexpected extra results that resulted from https://github.com/github/codeql/pull/12186. Independently there are also *lost* results that stem from needing a higher `fieldFlowBranchLimit` that are not addressed in this PR, but raising that limit is a performance risk and so I will address this separately. --- .../IncorrectIntegerConversionLib.qll | 13 ++++++---- .../IncorrectIntegerConversionQuery.ql | 11 +++++---- .../CWE-681/IncorrectIntegerConversion.ql | 24 ++++++++++++++----- 3 files changed, 34 insertions(+), 14 deletions(-) diff --git a/go/ql/lib/semmle/go/security/IncorrectIntegerConversionLib.qll b/go/ql/lib/semmle/go/security/IncorrectIntegerConversionLib.qll index e96ba8b687c..298dd7c8513 100644 --- a/go/ql/lib/semmle/go/security/IncorrectIntegerConversionLib.qll +++ b/go/ql/lib/semmle/go/security/IncorrectIntegerConversionLib.qll @@ -123,7 +123,13 @@ class ConversionWithoutBoundsCheckConfig extends TaintTracking::Configuration { ) } - override predicate isSink(DataFlow::Node sink) { this.isSinkWithBitSize(sink, sinkBitSize) } + override predicate isSink(DataFlow::Node sink) { + // We use the argument of the type conversion as the configuration sink so that we + // can sanitize the result of the conversion to prevent flow on to further sinks + // without needing to use `isSanitizerOut`, which doesn't work with flow states + // (and therefore the legacy `TaintTracking::Configuration` class). + this.isSinkWithBitSize(sink.getASuccessor(), sinkBitSize) + } override predicate isSanitizer(DataFlow::Node node) { // To catch flows that only happen on 32-bit architectures we @@ -135,10 +141,9 @@ class ConversionWithoutBoundsCheckConfig extends TaintTracking::Configuration { g.isBoundFor(bitSize, sinkIsSigned) ) or - exists(DataFlow::Node sink, int bitSize | + exists(int bitSize | isIncorrectIntegerConversion(sourceBitSize, bitSize) and - this.isSinkWithBitSize(sink, bitSize) and - TaintTracking::localTaintStep(sink, node) + this.isSinkWithBitSize(node, bitSize) ) } } diff --git a/go/ql/src/Security/CWE-681/IncorrectIntegerConversionQuery.ql b/go/ql/src/Security/CWE-681/IncorrectIntegerConversionQuery.ql index c710d135a65..8513c673189 100644 --- a/go/ql/src/Security/CWE-681/IncorrectIntegerConversionQuery.ql +++ b/go/ql/src/Security/CWE-681/IncorrectIntegerConversionQuery.ql @@ -19,10 +19,13 @@ import semmle.go.security.IncorrectIntegerConversionLib from DataFlow::PathNode source, DataFlow::PathNode sink, ConversionWithoutBoundsCheckConfig cfg, - DataFlow::CallNode call -where cfg.hasFlowPath(source, sink) and call.getResult(0) = source.getNode() -select sink.getNode(), source, sink, + DataFlow::CallNode call, DataFlow::Node sinkConverted +where + cfg.hasFlowPath(source, sink) and + call.getResult(0) = source.getNode() and + sinkConverted = sink.getNode().getASuccessor() +select sinkConverted, source, sink, "Incorrect conversion of " + describeBitSize(cfg.getSourceBitSize(), getIntTypeBitSize(source.getNode().getFile())) + - " from $@ to a lower bit size type " + sink.getNode().getType().getUnderlyingType().getName() + + " from $@ to a lower bit size type " + sinkConverted.getType().getUnderlyingType().getName() + " without an upper bound check.", source, call.getTarget().getQualifiedName() diff --git a/go/ql/test/query-tests/Security/CWE-681/IncorrectIntegerConversion.ql b/go/ql/test/query-tests/Security/CWE-681/IncorrectIntegerConversion.ql index 90bb7f94e73..e4eb088abd8 100644 --- a/go/ql/test/query-tests/Security/CWE-681/IncorrectIntegerConversion.ql +++ b/go/ql/test/query-tests/Security/CWE-681/IncorrectIntegerConversion.ql @@ -1,11 +1,23 @@ import go -import TestUtilities.InlineFlowTest +import TestUtilities.InlineExpectationsTest import semmle.go.security.IncorrectIntegerConversionLib -class IncorrectIntegerConversionTest extends InlineFlowTest { - override DataFlow::Configuration getValueFlowConfig() { - result = any(ConversionWithoutBoundsCheckConfig config) - } +class TestIncorrectIntegerConversion extends InlineExpectationsTest { + TestIncorrectIntegerConversion() { this = "TestIncorrectIntegerConversion" } - override DataFlow::Configuration getTaintFlowConfig() { none() } + override string getARelevantTag() { result = "hasValueFlow" } + + override predicate hasActualResult(Location location, string element, string tag, string value) { + tag = "hasValueFlow" and + exists(DataFlow::Node sink, DataFlow::Node sinkConverted | + any(ConversionWithoutBoundsCheckConfig config).hasFlowTo(sink) and + sinkConverted = sink.getASuccessor() + | + sinkConverted + .hasLocationInfo(location.getFile().getAbsolutePath(), location.getStartLine(), + location.getStartColumn(), location.getEndLine(), location.getEndColumn()) and + element = sinkConverted.toString() and + value = "\"" + sinkConverted.toString() + "\"" + ) + } } From 2d6f3ed6c2e6abf912a08a218234759386c0a70c Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Wed, 8 Mar 2023 13:10:03 +0100 Subject: [PATCH 108/145] Address comments --- ruby/extractor/src/diagnostics.rs | 26 +++++++++++++++----------- ruby/extractor/src/extractor.rs | 30 +++++++++++++++--------------- ruby/extractor/src/main.rs | 21 ++++++++++++--------- 3 files changed, 42 insertions(+), 35 deletions(-) diff --git a/ruby/extractor/src/diagnostics.rs b/ruby/extractor/src/diagnostics.rs index d21408b3368..ae62a254b08 100644 --- a/ruby/extractor/src/diagnostics.rs +++ b/ruby/extractor/src/diagnostics.rs @@ -214,10 +214,12 @@ fn longest_backtick_sequence_length(text: &str) -> usize { } result } -pub enum Arg<'a> { +/** + * An argument of a diagnostic message format string. A message argument is either a "code" snippet or a link. + */ +pub enum MessageArg<'a> { Code(&'a str), Link(&'a str, &'a str), - None, } impl DiagnosticMessage { @@ -242,16 +244,15 @@ impl DiagnosticMessage { self } - pub fn message(&mut self, text: &str, args: &[Arg]) -> &mut Self { + pub fn message(&mut self, text: &str, args: &[MessageArg]) -> &mut Self { let parts = text.split("{}"); - let args = args.iter().chain(std::iter::repeat(&Arg::None)); let mut plain = String::with_capacity(2 * text.len()); let mut markdown = String::with_capacity(2 * text.len()); - for (p, a) in parts.zip(args) { + for (i, p) in parts.enumerate() { plain.push_str(p); markdown.push_str(p); - match a { - Arg::Code(t) => { + match args.get(i) { + Some(MessageArg::Code(t)) => { plain.push_str(t); if t.len() > 0 { let count = longest_backtick_sequence_length(t) + 1; @@ -266,7 +267,7 @@ impl DiagnosticMessage { markdown.push_str(&"`".repeat(count)); } } - Arg::Link(text, url) => { + Some(MessageArg::Link(text, url)) => { plain.push_str(text); self.help_link(url); markdown.push_str("["); @@ -275,7 +276,7 @@ impl DiagnosticMessage { markdown.push_str(url); markdown.push_str(")"); } - Arg::None => {} + None => {} } } self.text(&plain); @@ -343,14 +344,17 @@ fn test_message() { let mut m = DiagnosticLoggers::new("foo") .logger() .new_entry("id", "name"); - m.message("hello: {}", &[Arg::Code("hello")]); + m.message("hello: {}", &[MessageArg::Code("hello")]); assert_eq!("hello: hello", m.plaintext_message); assert_eq!("hello: `hello`", m.markdown_message); let mut m = DiagnosticLoggers::new("foo") .logger() .new_entry("id", "name"); - m.message("hello with backticks: {}", &[Arg::Code("oh `hello`!")]); + m.message( + "hello with backticks: {}", + &[MessageArg::Code("oh `hello`!")], + ); assert_eq!("hello with backticks: oh `hello`!", m.plaintext_message); assert_eq!( "hello with backticks: `` oh `hello`! ``", diff --git a/ruby/extractor/src/extractor.rs b/ruby/extractor/src/extractor.rs index b8952e971b0..7b9ed84adfb 100644 --- a/ruby/extractor/src/extractor.rs +++ b/ruby/extractor/src/extractor.rs @@ -277,7 +277,7 @@ impl<'a> Visitor<'a> { fn record_parse_error_for_node( &mut self, message: &str, - args: &[diagnostics::Arg], + args: &[diagnostics::MessageArg], node: Node, status_page: bool, ) { @@ -307,7 +307,7 @@ impl<'a> Visitor<'a> { if node.is_missing() { self.record_parse_error_for_node( "A parse error occurred (expected {} symbol). Check the syntax of the file. If the file is invalid, correct the error or {} the file from analysis.", - &[diagnostics::Arg::Code(node.kind()), diagnostics::Arg::Link("exclude", "https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning")], + &[diagnostics::MessageArg::Code(node.kind()), diagnostics::MessageArg::Link("exclude", "https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning")], node, true, ); @@ -316,7 +316,7 @@ impl<'a> Visitor<'a> { if node.is_error() { self.record_parse_error_for_node( "A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or {} the file from analysis.", - &[diagnostics::Arg::Link("exclude", "https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning")], + &[diagnostics::MessageArg::Link("exclude", "https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning")], node, true, ); @@ -409,7 +409,7 @@ impl<'a> Visitor<'a> { .location(self.path, start_line, start_column, end_line, end_column) .message( "Unknown table type: {}", - &[diagnostics::Arg::Code(node.kind())], + &[diagnostics::MessageArg::Code(node.kind())], ), ); @@ -461,10 +461,10 @@ impl<'a> Visitor<'a> { self.record_parse_error_for_node( "Type mismatch for field {}::{} with type {} != {}", &[ - diagnostics::Arg::Code(node.kind()), - diagnostics::Arg::Code(child_node.field_name.unwrap_or("child")), - diagnostics::Arg::Code(&format!("{:?}", child_node.type_name)), - diagnostics::Arg::Code(&format!("{:?}", field.type_info)), + diagnostics::MessageArg::Code(node.kind()), + diagnostics::MessageArg::Code(child_node.field_name.unwrap_or("child")), + diagnostics::MessageArg::Code(&format!("{:?}", child_node.type_name)), + diagnostics::MessageArg::Code(&format!("{:?}", field.type_info)), ], *node, false, @@ -474,9 +474,9 @@ impl<'a> Visitor<'a> { self.record_parse_error_for_node( "Value for unknown field: {}::{} and type {}", &[ - diagnostics::Arg::Code(node.kind()), - diagnostics::Arg::Code(&child_node.field_name.unwrap_or("child")), - diagnostics::Arg::Code(&format!("{:?}", child_node.type_name)), + diagnostics::MessageArg::Code(node.kind()), + diagnostics::MessageArg::Code(&child_node.field_name.unwrap_or("child")), + diagnostics::MessageArg::Code(&format!("{:?}", child_node.type_name)), ], *node, false, @@ -516,8 +516,8 @@ impl<'a> Visitor<'a> { self.record_parse_error_for_node( "Too many values for field: {}::{}", &[ - diagnostics::Arg::Code(node.kind()), - diagnostics::Arg::Code(table_name), + diagnostics::MessageArg::Code(node.kind()), + diagnostics::MessageArg::Code(table_name), ], *node, false, @@ -637,8 +637,8 @@ fn location_for(visitor: &mut Visitor, n: Node) -> (usize, usize, usize, usize) .message( "Cannot correct end column value: end_byte index {} is not in range [1,{}].", &[ - diagnostics::Arg::Code(&index.to_string()), - diagnostics::Arg::Code(&source.len().to_string()), + diagnostics::MessageArg::Code(&index.to_string()), + diagnostics::MessageArg::Code(&source.len().to_string()), ], ) .severity(diagnostics::Severity::Error), diff --git a/ruby/extractor/src/main.rs b/ruby/extractor/src/main.rs index 83360eadc39..e95f7780df9 100644 --- a/ruby/extractor/src/main.rs +++ b/ruby/extractor/src/main.rs @@ -74,7 +74,10 @@ fn main() -> std::io::Result<()> { main_thread_logger.write( main_thread_logger .new_entry("configuration-error", "Configuration error") - .message("{}; defaulting to 1 thread.", &[diagnostics::Arg::Code(&e)]) + .message( + "{}; defaulting to 1 thread.", + &[diagnostics::MessageArg::Code(&e)], + ) .severity(diagnostics::Severity::Warning), ); 1 @@ -95,7 +98,7 @@ fn main() -> std::io::Result<()> { main_thread_logger.write( main_thread_logger .new_entry("configuration-error", "Configuration error") - .message("{}; using gzip.", &[diagnostics::Arg::Code(&e)]) + .message("{}; using gzip.", &[diagnostics::MessageArg::Code(&e)]) .severity(diagnostics::Severity::Warning), ); trap::Compression::Gzip @@ -205,10 +208,10 @@ fn main() -> std::io::Result<()> { .message( "Could not decode the file contents as {}: {}. The contents of the file must match the character encoding specified in the {} {}.", &[ - diagnostics::Arg::Code(&encoding_name), - diagnostics::Arg::Code(&msg), - diagnostics::Arg::Code("encoding:"), - diagnostics::Arg::Link("directive", "https://docs.ruby-lang.org/en/master/syntax/comments_rdoc.html#label-encoding+Directive") + diagnostics::MessageArg::Code(&encoding_name), + diagnostics::MessageArg::Code(&msg), + diagnostics::MessageArg::Code("encoding:"), + diagnostics::MessageArg::Link("directive", "https://docs.ruby-lang.org/en/master/syntax/comments_rdoc.html#label-encoding+Directive") ], ) .status_page() @@ -225,9 +228,9 @@ fn main() -> std::io::Result<()> { .message( "Unknown character encoding {} in {} {}.", &[ - diagnostics::Arg::Code(&encoding_name), - diagnostics::Arg::Code("#encoding:"), - diagnostics::Arg::Link("directive", "https://docs.ruby-lang.org/en/master/syntax/comments_rdoc.html#label-encoding+Directive") + diagnostics::MessageArg::Code(&encoding_name), + diagnostics::MessageArg::Code("#encoding:"), + diagnostics::MessageArg::Link("directive", "https://docs.ruby-lang.org/en/master/syntax/comments_rdoc.html#label-encoding+Directive") ], ) .status_page() From 71d0a2378b9b97719acdc477ace07c0e290149b4 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 3 Mar 2023 11:41:45 +0000 Subject: [PATCH 109/145] Append process id to diagnostics filename --- csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs index f00f59b488a..29d60331d5d 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/Autobuilder.cs @@ -241,7 +241,7 @@ namespace Semmle.Autobuild.Shared SourceArchiveDir = RequireEnvironmentVariable(EnvVars.SourceArchiveDir(this.Options.Language)); DiagnosticsDir = RequireEnvironmentVariable(EnvVars.DiagnosticDir(this.Options.Language)); - this.diagnostics = actions.CreateDiagnosticsWriter(Path.Combine(DiagnosticsDir, $"autobuilder-{DateTime.UtcNow:yyyyMMddHHmm}.jsonc")); + this.diagnostics = actions.CreateDiagnosticsWriter(Path.Combine(DiagnosticsDir, $"autobuilder-{DateTime.UtcNow:yyyyMMddHHmm}-{Environment.ProcessId}.jsonc")); } /// From e5be8ab1e5e80ab36449e7be2327491e6de71889 Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Wed, 8 Mar 2023 16:04:49 +0100 Subject: [PATCH 110/145] JS: add integration test for diagnostic messages --- .../diagnostics/syntax-error/bad.js | 1 + .../syntax-error/diagnostics.expected | 21 +++++++++++++++++++ .../diagnostics/syntax-error/test.py | 7 +++++++ .../all-platforms/qlpack.yml | 3 +++ 4 files changed, 32 insertions(+) create mode 100644 javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/bad.js create mode 100644 javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected create mode 100644 javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/test.py create mode 100644 javascript/ql/integration-tests/all-platforms/qlpack.yml diff --git a/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/bad.js b/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/bad.js new file mode 100644 index 00000000000..039f5478a41 --- /dev/null +++ b/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/bad.js @@ -0,0 +1 @@ +4 %%% 5 diff --git a/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected b/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected new file mode 100644 index 00000000000..965772ed46b --- /dev/null +++ b/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected @@ -0,0 +1,21 @@ +{ + "location": { + "endColumn": 4, + "endLine": 1, + "file": "bad.js", + "startColumn": 4, + "startLine": 1 + }, + "markdownMessage": "A parse error occurred: Unexpected token. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.", + "severity": "warning", + "source": { + "extractorName": "javascript", + "id": "javascript/parse-error", + "name": "Parse error" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +} diff --git a/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/test.py b/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/test.py new file mode 100644 index 00000000000..886c058d8f5 --- /dev/null +++ b/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/test.py @@ -0,0 +1,7 @@ +import os +from create_database_utils import * +from diagnostics_test_utils import * + +run_codeql_database_create([], lang="javascript", runFunction = runSuccessfully, db = None) + +check_diagnostics() diff --git a/javascript/ql/integration-tests/all-platforms/qlpack.yml b/javascript/ql/integration-tests/all-platforms/qlpack.yml new file mode 100644 index 00000000000..f4bc24850b4 --- /dev/null +++ b/javascript/ql/integration-tests/all-platforms/qlpack.yml @@ -0,0 +1,3 @@ +dependencies: + codeql/javascript-all: '*' + codeql/javascript-queries: '*' From ebf0bb889bbab7247a3c740a16d1523a3a646a80 Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Wed, 8 Mar 2023 14:42:29 +0100 Subject: [PATCH 111/145] Ruby: add some integration tests for diagnostic messages --- .../diagnostics/syntax-error/bad.rb | 3 ++ .../syntax-error/diagnostics.expected | 46 +++++++++++++++++++ .../diagnostics/syntax-error/test.py | 7 +++ .../unknown-encoding/diagnostics.expected | 19 ++++++++ .../diagnostics/unknown-encoding/encoding.rb | 5 ++ .../diagnostics/unknown-encoding/test.py | 7 +++ .../all-platforms/qlpack.yml | 3 ++ 7 files changed, 90 insertions(+) create mode 100644 ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/bad.rb create mode 100644 ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected create mode 100644 ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/test.py create mode 100644 ruby/ql/integration-tests/all-platforms/diagnostics/unknown-encoding/diagnostics.expected create mode 100644 ruby/ql/integration-tests/all-platforms/diagnostics/unknown-encoding/encoding.rb create mode 100644 ruby/ql/integration-tests/all-platforms/diagnostics/unknown-encoding/test.py create mode 100644 ruby/ql/integration-tests/all-platforms/qlpack.yml diff --git a/ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/bad.rb b/ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/bad.rb new file mode 100644 index 00000000000..9e8d3571c37 --- /dev/null +++ b/ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/bad.rb @@ -0,0 +1,3 @@ +4 %%% 5 + +if 1; 2 \ No newline at end of file diff --git a/ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected b/ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected new file mode 100644 index 00000000000..c2d3b590bd9 --- /dev/null +++ b/ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected @@ -0,0 +1,46 @@ +{ + "helpLinks": [ + "https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning" + ], + "location": { + "endColumn": 5, + "endLine": 1, + "file": "/bad.rb", + "startColumn": 4, + "startLine": 1 + }, + "markdownMessage": "A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or [exclude](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning) the file from analysis.", + "plaintextMessage": "A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.", + "severity": "Error", + "source": { + "extractorName": "ruby", + "id": "ruby/parse-error", + "name": "Parse error" + }, + "visibility": { + "statusPage": true + } +} +{ + "helpLinks": [ + "https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning" + ], + "location": { + "endColumn": 7, + "endLine": 3, + "file": "/bad.rb", + "startColumn": 8, + "startLine": 3 + }, + "markdownMessage": "A parse error occurred (expected `end` symbol). Check the syntax of the file. If the file is invalid, correct the error or [exclude](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning) the file from analysis.", + "plaintextMessage": "A parse error occurred (expected end symbol). Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.", + "severity": "Error", + "source": { + "extractorName": "ruby", + "id": "ruby/parse-error", + "name": "Parse error" + }, + "visibility": { + "statusPage": true + } +} diff --git a/ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/test.py b/ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/test.py new file mode 100644 index 00000000000..5f86ca78199 --- /dev/null +++ b/ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/test.py @@ -0,0 +1,7 @@ +import os +from create_database_utils import * +from diagnostics_test_utils import * + +run_codeql_database_create([], lang="ruby", runFunction = runSuccessfully, db = None) + +check_diagnostics() diff --git a/ruby/ql/integration-tests/all-platforms/diagnostics/unknown-encoding/diagnostics.expected b/ruby/ql/integration-tests/all-platforms/diagnostics/unknown-encoding/diagnostics.expected new file mode 100644 index 00000000000..f67e92b9c57 --- /dev/null +++ b/ruby/ql/integration-tests/all-platforms/diagnostics/unknown-encoding/diagnostics.expected @@ -0,0 +1,19 @@ +{ + "helpLinks": [ + "https://docs.ruby-lang.org/en/master/syntax/comments_rdoc.html#label-encoding+Directive" + ], + "location": { + "file": "/encoding.rb" + }, + "markdownMessage": "Unknown character encoding `silly` in `#encoding:` [directive](https://docs.ruby-lang.org/en/master/syntax/comments_rdoc.html#label-encoding+Directive).", + "plaintextMessage": "Unknown character encoding silly in #encoding: directive.", + "severity": "Warning", + "source": { + "extractorName": "ruby", + "id": "ruby/unknown-character-encoding", + "name": "Unknown character encoding" + }, + "visibility": { + "statusPage": true + } +} \ No newline at end of file diff --git a/ruby/ql/integration-tests/all-platforms/diagnostics/unknown-encoding/encoding.rb b/ruby/ql/integration-tests/all-platforms/diagnostics/unknown-encoding/encoding.rb new file mode 100644 index 00000000000..c2af14ae99b --- /dev/null +++ b/ruby/ql/integration-tests/all-platforms/diagnostics/unknown-encoding/encoding.rb @@ -0,0 +1,5 @@ +# encoding: silly + +def f + puts "hello" +end \ No newline at end of file diff --git a/ruby/ql/integration-tests/all-platforms/diagnostics/unknown-encoding/test.py b/ruby/ql/integration-tests/all-platforms/diagnostics/unknown-encoding/test.py new file mode 100644 index 00000000000..5f86ca78199 --- /dev/null +++ b/ruby/ql/integration-tests/all-platforms/diagnostics/unknown-encoding/test.py @@ -0,0 +1,7 @@ +import os +from create_database_utils import * +from diagnostics_test_utils import * + +run_codeql_database_create([], lang="ruby", runFunction = runSuccessfully, db = None) + +check_diagnostics() diff --git a/ruby/ql/integration-tests/all-platforms/qlpack.yml b/ruby/ql/integration-tests/all-platforms/qlpack.yml new file mode 100644 index 00000000000..a27def4e4d7 --- /dev/null +++ b/ruby/ql/integration-tests/all-platforms/qlpack.yml @@ -0,0 +1,3 @@ +dependencies: + codeql/ruby-all: '*' + codeql/ruby-queries: '*' From 7ab0f88f78d4e66f5928bbfae275a72e4aed832e Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Wed, 8 Mar 2023 16:44:59 +0100 Subject: [PATCH 112/145] JS: add link to docs to parse error diagnostic --- javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java | 2 +- .../all-platforms/diagnostics/syntax-error/diagnostics.expected | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java index 710dbe94fc7..59f9d28fe58 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java +++ b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java @@ -1236,7 +1236,7 @@ protected DependencyInstallationResult preparePackagesAndDependencies(Set if (!extractor.getConfig().isExterns()) seenFiles = true; for (ParseError err : loc.getParseErrors()) { String msg = "A parse error occurred: " + StringUtil.escapeMarkdown(err.getMessage()) - + ". Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis."; + + ". Check the syntax of the file. If the file is invalid, correct the error or [exclude](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning) the file from analysis."; // file, relative to the source root String relativeFilePath = null; if (file.startsWith(LGTM_SRC)) { diff --git a/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected b/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected index 965772ed46b..6337f4a4692 100644 --- a/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected +++ b/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected @@ -6,7 +6,7 @@ "startColumn": 4, "startLine": 1 }, - "markdownMessage": "A parse error occurred: Unexpected token. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.", + "markdownMessage": "A parse error occurred: Unexpected token. Check the syntax of the file. If the file is invalid, correct the error or [exclude](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning) the file from analysis.", "severity": "warning", "source": { "extractorName": "javascript", From 17c550bc88864e46bb25835dc26aa5ee260bfd30 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Wed, 8 Mar 2023 15:51:45 +0000 Subject: [PATCH 113/145] Address review comments --- go/extractor/diagnostics/diagnostics.go | 76 ++++++++++++------------- go/extractor/util/util.go | 1 + 2 files changed, 39 insertions(+), 38 deletions(-) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 0b31178d0fb..90b2e838a9a 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -29,6 +29,8 @@ type visibilityStruct struct { Telemetry bool `json:"telemetry"` // True if the message should be sent to telemetry (defaults to false) } +var fullVisibility *visibilityStruct = &visibilityStruct{true, true, true} + type locationStruct struct { File string `json:"file,omitempty"` StartLine int `json:"startLine,omitempty"` @@ -37,20 +39,22 @@ type locationStruct struct { EndColumn int `json:"endColumn,omitempty"` } +var noLocation *locationStruct = nil + type diagnostic struct { - Timestamp string `json:"timestamp"` - Source sourceStruct `json:"source"` - MarkdownMessage string `json:"markdownMessage"` - Severity string `json:"severity"` - Internal bool `json:"internal"` - Visibility visibilityStruct `json:"visibility"` - Location *locationStruct `json:"location,omitempty"` // Use a pointer so that it is omitted if nil + Timestamp string `json:"timestamp"` + Source sourceStruct `json:"source"` + MarkdownMessage string `json:"markdownMessage"` + Severity string `json:"severity"` + Internal bool `json:"internal"` + Visibility *visibilityStruct `json:"visibility,omitempty"` // Use a pointer so that it is omitted if nil + Location *locationStruct `json:"location,omitempty"` // Use a pointer so that it is omitted if nil } var diagnosticsEmitted, diagnosticsLimit uint = 0, 100 var noDiagnosticDirPrinted bool = false -func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagnosticSeverity, internal, visibilitySP, visibilityCST, visibilityT bool, file string, startLine, startColumn, endLine, endColumn int) { +func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagnosticSeverity, internal bool, visibility *visibilityStruct, location *locationStruct) { if diagnosticsEmitted < diagnosticsLimit { diagnosticsEmitted += 1 @@ -63,43 +67,39 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn return } - var optLoc *locationStruct - if file == "" && startLine == 0 && startColumn == 0 && endLine == 0 && endColumn == 0 { - optLoc = nil - } else { - optLoc = &locationStruct{file, startLine, startColumn, endLine, endColumn} - } - timestamp := time.Now().UTC().Format("2006-01-02T15:04:05.000") + "Z" - d := diagnostic{ - timestamp, - sourceStruct{sourceid, sourcename, "go"}, - markdownMessage, - string(severity), - internal, - visibilityStruct{visibilitySP, visibilityCST, visibilityT}, - optLoc, - } + var d diagnostic - if diagnosticsEmitted == diagnosticsLimit { + if diagnosticsEmitted < diagnosticsLimit { d = diagnostic{ timestamp, - sourceStruct{"go/autobuilder/diagnostic-limit-hit", "Some diagnostics were dropped", "go"}, - fmt.Sprintf("The number of diagnostics exceeded the limit (%d); the remainder were dropped.", diagnosticsLimit), + sourceStruct{sourceid, sourcename, "go"}, + markdownMessage, + string(severity), + internal, + visibility, + location, + } + } else { + d = diagnostic{ + timestamp, + sourceStruct{"go/autobuilder/diagnostic-limit-reached", "Diagnostics limit exceeded", "go"}, + fmt.Sprintf("CodeQL has produced more than the maximum number of diagnostics. Only the first %d have been reported.", diagnosticsLimit), string(severityWarning), false, - visibilityStruct{true, true, true}, - nil, + visibility, + location, } } content, err := json.Marshal(d) if err != nil { log.Println(err) + return } - targetFile, err := os.CreateTemp(diagnosticDir, "go-extractor.*.jsonl") + targetFile, err := os.CreateTemp(diagnosticDir, "go-extractor.*.json") if err != nil { log.Println("Failed to create temporary file for diagnostic: ") log.Println(err) @@ -124,8 +124,8 @@ func EmitPackageDifferentOSArchitecture(pkgPath string) { "Package "+pkgPath+" is intended for a different OS or architecture", "Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner).", severityWarning, false, - true, true, true, - "", 0, 0, 0, 0, + fullVisibility, + noLocation, ) } @@ -156,8 +156,8 @@ func EmitCannotFindPackages(pkgPaths []string) { fmt.Sprintf("%d package%s could not be found", numPkgPaths, ending), "The following packages could not be found. Check that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).\n\n"+secondLine, severityError, false, - true, true, true, - "", 0, 0, 0, 0, + fullVisibility, + noLocation, ) } @@ -167,8 +167,8 @@ func EmitNewerGoVersionNeeded() { "Newer Go version needed", "The detected version of Go is lower than the version specified in `go.mod`. [Install a newer version](https://github.com/actions/setup-go#basic).", severityError, false, - true, true, true, - "", 0, 0, 0, 0, + fullVisibility, + noLocation, ) } @@ -178,7 +178,7 @@ func EmitGoFilesFoundButNotProcessed() { "Go files were found but not processed", "[Specify a custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages) that includes one or more `go build` commands to build the `.go` files to be analyzed.", severityError, false, - true, true, true, - "", 0, 0, 0, 0, + fullVisibility, + noLocation, ) } diff --git a/go/extractor/util/util.go b/go/extractor/util/util.go index 0f38db5d97f..4417419db6a 100644 --- a/go/extractor/util/util.go +++ b/go/extractor/util/util.go @@ -291,6 +291,7 @@ func FindGoFiles(root string) bool { } if filepath.Ext(d.Name()) == ".go" { found = true + return filepath.SkipAll } return nil }) From 0d6f17ec90f54e61725ca458c71d536c08fdd1c2 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Wed, 8 Mar 2023 15:53:00 +0000 Subject: [PATCH 114/145] Do not use field `internal`, which is deprecated --- go/extractor/diagnostics/diagnostics.go | 13 +++++-------- .../diagnostics.expected | 1 - .../diagnostics.expected | 1 - .../newer-go-version-needed/diagnostics.expected | 1 - .../diagnostics.expected | 1 - .../diagnostics.expected | 1 - 6 files changed, 5 insertions(+), 13 deletions(-) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 90b2e838a9a..7f4dcd73c10 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -46,7 +46,6 @@ type diagnostic struct { Source sourceStruct `json:"source"` MarkdownMessage string `json:"markdownMessage"` Severity string `json:"severity"` - Internal bool `json:"internal"` Visibility *visibilityStruct `json:"visibility,omitempty"` // Use a pointer so that it is omitted if nil Location *locationStruct `json:"location,omitempty"` // Use a pointer so that it is omitted if nil } @@ -54,7 +53,7 @@ type diagnostic struct { var diagnosticsEmitted, diagnosticsLimit uint = 0, 100 var noDiagnosticDirPrinted bool = false -func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagnosticSeverity, internal bool, visibility *visibilityStruct, location *locationStruct) { +func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagnosticSeverity, visibility *visibilityStruct, location *locationStruct) { if diagnosticsEmitted < diagnosticsLimit { diagnosticsEmitted += 1 @@ -77,7 +76,6 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn sourceStruct{sourceid, sourcename, "go"}, markdownMessage, string(severity), - internal, visibility, location, } @@ -87,7 +85,6 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn sourceStruct{"go/autobuilder/diagnostic-limit-reached", "Diagnostics limit exceeded", "go"}, fmt.Sprintf("CodeQL has produced more than the maximum number of diagnostics. Only the first %d have been reported.", diagnosticsLimit), string(severityWarning), - false, visibility, location, } @@ -123,7 +120,7 @@ func EmitPackageDifferentOSArchitecture(pkgPath string) { "go/autobuilder/package-different-os-architecture", "Package "+pkgPath+" is intended for a different OS or architecture", "Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner).", - severityWarning, false, + severityWarning, fullVisibility, noLocation, ) @@ -155,7 +152,7 @@ func EmitCannotFindPackages(pkgPaths []string) { "go/autobuilder/package-not-found", fmt.Sprintf("%d package%s could not be found", numPkgPaths, ending), "The following packages could not be found. Check that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).\n\n"+secondLine, - severityError, false, + severityError, fullVisibility, noLocation, ) @@ -166,7 +163,7 @@ func EmitNewerGoVersionNeeded() { "go/autobuilder/newer-go-version-needed", "Newer Go version needed", "The detected version of Go is lower than the version specified in `go.mod`. [Install a newer version](https://github.com/actions/setup-go#basic).", - severityError, false, + severityError, fullVisibility, noLocation, ) @@ -177,7 +174,7 @@ func EmitGoFilesFoundButNotProcessed() { "go/autobuilder/go-files-found-but-not-processed", "Go files were found but not processed", "[Specify a custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages) that includes one or more `go build` commands to build the `.go` files to be analyzed.", - severityError, false, + severityError, fullVisibility, noLocation, ) diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected index e4ffb98ad90..26309d90ceb 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected @@ -1,5 +1,4 @@ { - "internal": false, "markdownMessage": "Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner).", "severity": "warning", "source": { diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/diagnostics.expected index 3f5cd5c631e..405113fe93a 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/diagnostics.expected @@ -1,5 +1,4 @@ { - "internal": false, "markdownMessage": "[Specify a custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages) that includes one or more `go build` commands to build the `.go` files to be analyzed.", "severity": "error", "source": { diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected index 50118465c26..e50dcf5c093 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected @@ -1,5 +1,4 @@ { - "internal": false, "markdownMessage": "The detected version of Go is lower than the version specified in `go.mod`. [Install a newer version](https://github.com/actions/setup-go#basic).", "severity": "error", "source": { diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected index 981d96f8188..74294ee419f 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected @@ -1,5 +1,4 @@ { - "internal": false, "markdownMessage": "The following packages could not be found. Check that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).\n\n`github.com/nosuchorg/nosuchrepo000`, `github.com/nosuchorg/nosuchrepo001`, `github.com/nosuchorg/nosuchrepo002`, `github.com/nosuchorg/nosuchrepo003`, `github.com/nosuchorg/nosuchrepo004` and 105 more", "severity": "error", "source": { diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected index 513fca45c88..edcfc0bd4d5 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected @@ -1,5 +1,4 @@ { - "internal": false, "markdownMessage": "The following packages could not be found. Check that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).\n\n`github.com/linode/linode-docs-theme`", "severity": "error", "source": { From 63d3b3ff2a2bfbe732ca008c13d53f7d993329ca Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Wed, 8 Mar 2023 15:57:03 +0000 Subject: [PATCH 115/145] Fix diagnostic-limit-reached visibility and location --- go/extractor/diagnostics/diagnostics.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 7f4dcd73c10..08d5438a3c9 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -85,8 +85,8 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn sourceStruct{"go/autobuilder/diagnostic-limit-reached", "Diagnostics limit exceeded", "go"}, fmt.Sprintf("CodeQL has produced more than the maximum number of diagnostics. Only the first %d have been reported.", diagnosticsLimit), string(severityWarning), - visibility, - location, + fullVisibility, + noLocation, } } From 9fc119cc55c69d74701cd793b34d2e56328cdc94 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Wed, 8 Mar 2023 17:09:52 +0000 Subject: [PATCH 116/145] Rearrange diagnostic error message The context should come in the middle and the call to action should come last. --- go/extractor/diagnostics/diagnostics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 08d5438a3c9..2a9c5722d17 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -151,7 +151,7 @@ func EmitCannotFindPackages(pkgPaths []string) { emitDiagnostic( "go/autobuilder/package-not-found", fmt.Sprintf("%d package%s could not be found", numPkgPaths, ending), - "The following packages could not be found. Check that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).\n\n"+secondLine, + "The following packages could not be found.\n\n"+secondLine+"\n\nCheck that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", severityError, fullVisibility, noLocation, From 540ce1f0dbb79334c151a85645ac257e279c0a27 Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Wed, 8 Mar 2023 17:44:19 +0000 Subject: [PATCH 117/145] Contrary to what the QLDoc says, this predicate was way too large to be evaluated on the 'quick-lint/quick-lint-js' project. Before: ``` Most expensive predicates for completed query RuleOfTwo.ql: time | evals | max @ iter | predicate ------|-------|--------------|---------- 25m9s | | | Declaration#4bfb53be::DirectAccessHolder::thisCouldAccessMember#3#dispred#ffff@8a38e2tm 17m1s | | | Declaration#4bfb53be::DirectAccessHolder::thisCouldAccessMember#3#dispred#fffb@0796c497 3.5s | 130 | 116ms @ 3 | Declaration#4bfb53be::DirectAccessHolder::thisCanAccessClassTrans#fff@926a68j9 3.3s | | | Declaration#4bfb53be::DirectAccessHolder::thisCouldAccessMember#3#dispred#fffb_1230#join_rhs@25e9ffj8 1.7s | 3 | 1.7s @ 1 | Element#496c7fc2::ElementBase::toString#0#dispred#ff@fcd81c49 1.3s | | | Declaration#4bfb53be::DirectAccessHolder::thisCouldAccessMember#3#dispred#fffb_0132#join_rhs@9c2065t1 1.3s | | | Declaration#4bfb53be::DirectAccessHolder::thisCouldAccessMember#3#dispred#ffff_0132#join_rhs@672330eh 1.1s | | | Declaration#4bfb53be::DirectAccessHolder::thisCanAccessClassTrans#fff_102#join_rhs@f7d5464o 829ms | 336 | 85ms @ 6 | Enclosing#c50c5fbf::exprEnclosingElement#1#ff@e34d9wq1 615ms | | | Expr#ef463c5d::Expr::getType#ff@e265e79q ``` After: ``` Most expensive predicates for completed query RuleOfTwo.ql: time | evals | max @ iter | predicate ------|-------|-------------|---------- 11.8s | | | _#Class#bacd9b46::Class::getADerivedClass#0#dispredPlus#ff_#Declaration#4bfb53be::AccessHolder::getE__#antijoin_rhs#1@fb0627h8 4.8s | | | _#Class#bacd9b46::Class::getADerivedClass#0#dispredPlus#ff_#Declaration#4bfb53be::AccessHolder::getE__#antijoin_rhs#4@c43dbeia 3.8s | | | _#Class#bacd9b46::Class::getADerivedClass#0#dispredPlus#ff_#Declaration#4bfb53be::AccessHolder::getE__#antijoin_rhs#3@313e5963 3.4s | 130 | 93ms @ 3 | Declaration#4bfb53be::DirectAccessHolder::thisCanAccessClassTrans#fff@a0289bfg 1.5s | 3 | 1.5s @ 1 | Element#496c7fc2::ElementBase::toString#0#dispred#ff@fcd81c49 806ms | | | Declaration#4bfb53be::DirectAccessHolder::thisCanAccessClassTrans#fff_021#join_rhs@cc1b76s7 721ms | 336 | 61ms @ 5 | Enclosing#c50c5fbf::exprEnclosingElement#1#ff@e34d9wq1 489ms | | | Expr#ef463c5d::Expr::getType#ff@e265e79q 337ms | 130 | 62ms @ 5 | Class#bacd9b46::Class::accessOfBaseMemberMulti#ffff@0165b0dr 329ms | | | Variable#7a968d4e::ParameterDeclarationEntry::getAnonymousParameterDescription#0#dispred#ff@0f12bdvq 211ms | | | exprs_10#join_rhs@5481143i ``` --- cpp/ql/lib/semmle/code/cpp/Declaration.qll | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cpp/ql/lib/semmle/code/cpp/Declaration.qll b/cpp/ql/lib/semmle/code/cpp/Declaration.qll index 6c27ef7b3ec..d6cf6de8e4b 100644 --- a/cpp/ql/lib/semmle/code/cpp/Declaration.qll +++ b/cpp/ql/lib/semmle/code/cpp/Declaration.qll @@ -619,11 +619,10 @@ private class DirectAccessHolder extends Element { /** * Like `couldAccessMember` but only contains derivations in which either * (5.2), (5.3) or (5.4) must be invoked. In other words, the `this` - * parameter is not ignored. This restriction makes it feasible to fully - * enumerate this predicate even on large code bases. We check for 11.4 as - * part of (5.3), since this further limits the number of tuples produced by - * this predicate. + * parameter is not ignored. We check for 11.4 as part of (5.3), since + * this further limits the number of tuples produced by this predicate. */ + pragma[inline] predicate thisCouldAccessMember(Class memberClass, AccessSpecifier memberAccess, Class derived) { // Only (5.4) is recursive, and chains of invocations of (5.4) can always // be collapsed to one invocation by the transitivity of 11.2/4. From 695160d480448e627044e2fc684e7f01e018b062 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 8 Mar 2023 18:09:09 +0000 Subject: [PATCH 118/145] Remove check for stdout redirection --- .../autobuilder/Semmle.Autobuild.Shared/BuildActions.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildActions.cs b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildActions.cs index 0982a520bfd..46c32ecbd72 100644 --- a/csharp/autobuilder/Semmle.Autobuild.Shared/BuildActions.cs +++ b/csharp/autobuilder/Semmle.Autobuild.Shared/BuildActions.cs @@ -199,12 +199,8 @@ namespace Semmle.Autobuild.Shared if (workingDirectory is not null) pi.WorkingDirectory = workingDirectory; - // Environment variables can only be used when not redirecting stdout - if (!redirectStandardOutput) - { - if (environment is not null) - environment.ForEach(kvp => pi.Environment[kvp.Key] = kvp.Value); - } + environment?.ForEach(kvp => pi.Environment[kvp.Key] = kvp.Value); + return pi; } From 820de5d36f9b79e0b89033bc4fec0f1fb1699111 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Wed, 8 Mar 2023 22:00:34 +0000 Subject: [PATCH 119/145] Remove fatal/panic exits from diagnostic code --- go/extractor/diagnostics/diagnostics.go | 5 +++-- go/extractor/extractor.go | 6 ++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 2a9c5722d17..78cda1dc4d6 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -98,7 +98,7 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn targetFile, err := os.CreateTemp(diagnosticDir, "go-extractor.*.json") if err != nil { - log.Println("Failed to create temporary file for diagnostic: ") + log.Println("Failed to create diagnostic file: ") log.Println(err) } defer func() { @@ -110,7 +110,8 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn _, err = targetFile.Write(content) if err != nil { - log.Fatal(err) + log.Println("Failed to write to diagnostic file: ") + log.Println(err) } } } diff --git a/go/extractor/extractor.go b/go/extractor/extractor.go index 9ba33c7c779..72aad3d8188 100644 --- a/go/extractor/extractor.go +++ b/go/extractor/extractor.go @@ -101,10 +101,8 @@ func ExtractWithFlags(buildFlags []string, patterns []string) error { wd, err := os.Getwd() if err != nil { - log.Fatalf("Unable to determine current directory: %s\n", err.Error()) - } - - if util.FindGoFiles(wd) { + log.Printf("Warning: failed to get working directory: %s\n", err.Error()) + } else if util.FindGoFiles(wd) { diagnostics.EmitGoFilesFoundButNotProcessed() } } From db5bd9878176904062ac15482d43000848c0b86f Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Wed, 8 Mar 2023 22:48:57 +0000 Subject: [PATCH 120/145] Return on failure to create file --- go/extractor/diagnostics/diagnostics.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 78cda1dc4d6..2ef5fc7808e 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -100,6 +100,7 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn if err != nil { log.Println("Failed to create diagnostic file: ") log.Println(err) + return } defer func() { if err := targetFile.Close(); err != nil { From 060cd9fada10dfee2541453fb2a42d93b1d01441 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Mar 2023 04:06:43 +0000 Subject: [PATCH 121/145] Bump serde from 1.0.152 to 1.0.154 in /ruby Bumps [serde](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.154. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.154) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- ruby/Cargo.lock | Bin 18234 -> 18234 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/ruby/Cargo.lock b/ruby/Cargo.lock index 8c1ebf3208b92ab31503c39a57da7ddf2fbaa6be..ec10fb3fde416489acaa24a04a6db78d3f7039d4 100644 GIT binary patch delta 167 zcmWN}u@S;B3;@7OLq(eb$OM*UTh>tk1s!*AY+y;z9xRZ?i*QGm1z3eK$N>NAGOWw+ zp2Cp&Wp_VUHG>QhkYk?7p-IY(MO+{rjC%1D98kF```Z&AkokR8`%E$IBC2{5M36aW(#JZA~(P-Q@2dr zJV5)LZkL={T?Gx`od)D2!H8ll7$vABZwW>f&ZTG-sg;WJgrqVmS Date: Thu, 9 Mar 2023 10:19:44 +0100 Subject: [PATCH 122/145] python: add test documenting effect of scopes --- .../library-tests/ApiGraphs/py3/test_captured.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 python/ql/test/library-tests/ApiGraphs/py3/test_captured.py diff --git a/python/ql/test/library-tests/ApiGraphs/py3/test_captured.py b/python/ql/test/library-tests/ApiGraphs/py3/test_captured.py new file mode 100644 index 00000000000..965132c3181 --- /dev/null +++ b/python/ql/test/library-tests/ApiGraphs/py3/test_captured.py @@ -0,0 +1,14 @@ +from html import escape + +def p(x): + return escape(x) #$ use=moduleImport("html").getMember("escape").getReturn() + +def p_list(l): + return ", ".join(p(x) for x in l) #$ use=moduleImport("html").getMember("escape").getReturn() + +def pp_list(l): + def pp(x): + return escape(x) #$ use=moduleImport("html").getMember("escape").getReturn() + + def pp_list_inner(l): + return ", ".join(pp(x) for x in l) #$ MISSING: use=moduleImport("html").getMember("escape").getReturn() From f19f7967c236596bfe2a5b5f20fe3596fddd087b Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Thu, 9 Mar 2023 09:23:56 +0000 Subject: [PATCH 123/145] C++: Fix join order. Before (I stopped midway): ``` (72s) Tuple counts for _#Class#bacd9b46::Class::getADerivedClass#0#dispredPlus#ff_#Declaration#4bfb53be::AccessHolder::getE__#antijoin_rhs#1/3@fb0627h8 after 1m4s: ... 20000 ~0% {5} r28 = r26 UNION r27 224367484 ~7% {9} r29 = JOIN r28 WITH Class#bacd9b46::Class::accessOfBaseMember#2#dispred#ffff_1023#join_rhs ON FIRST 1 OUTPUT Rhs.3, "protected", Lhs.1 'arg0', Lhs.2 'arg1', Lhs.3 'arg2', Lhs.0, Lhs.4, Rhs.1, Rhs.2 111914129 ~0% {7} r30 = JOIN r29 WITH specifiers ON FIRST 2 OUTPUT Lhs.6, Lhs.2 'arg0', Lhs.3 'arg1', Lhs.4 'arg2', Lhs.5, Lhs.7, Lhs.8 123503367 ~0% {8} r31 = JOIN r30 WITH Declaration#4bfb53be::DirectAccessHolder::isFriendOfOrEqualTo#1#dispred#ff ON FIRST 1 OUTPUT Lhs.3 'arg2', Rhs.1, Lhs.1 'arg0', Lhs.2 'arg1', Lhs.4, Lhs.0, Lhs.5, Lhs.6 331748250 ~0% {10} r32 = JOIN r31 WITH Class#bacd9b46::Class::accessOfBaseMember#2#dispred#ffff ON FIRST 2 OUTPUT Lhs.2 'arg0', Lhs.3 'arg1', Lhs.0 'arg2', Lhs.4, Lhs.5, Lhs.6, Lhs.7, Lhs.1, Rhs.2, Rhs.3 331748250 ~0% {10} r33 = SELECT r32 ON In.8 = In.9 331748250 ~2% {9} r34 = SCAN r33 OUTPUT In.7, In.5, In.8, In.0 'arg0', In.1 'arg1', In.2 'arg2', In.3, In.4, In.6 38000 ~4% {10} r35 = JOIN r34 WITH Class#bacd9b46::Class::accessOfBaseMember#2#dispred#ffff ON FIRST 3 OUTPUT Rhs.3, Lhs.3 'arg0', Lhs.4 'arg1', Lhs.5 'arg2', Lhs.6, Lhs.7, Lhs.1, Lhs.8, Lhs.0, Lhs.2 37500 ~0% {11} r36 = JOIN r35 WITH specifiers ON FIRST 1 OUTPUT Lhs.1 'arg0', Lhs.2 'arg1', Lhs.3 'arg2', Lhs.4, Lhs.5, Lhs.6, Lhs.7, Lhs.8, Lhs.9, Lhs.0, Rhs.1 28973 ~0% {11} r37 = SELECT r36 ON In.10 >= "protected" 28973 ~98% {6} r38 = SCAN r37 OUTPUT In.8, "public", In.0 'arg0', In.1 'arg1', In.2 'arg2', In.6 111913629 ~6% {7} r39 = JOIN r29 WITH specifiers ON FIRST 2 OUTPUT Lhs.6, Lhs.4 'arg2', Lhs.2 'arg0', Lhs.3 'arg1', Lhs.5, Lhs.7, Lhs.8 110582830 ~0% {8} r40 = JOIN r39 WITH Declaration#4bfb53be::DirectAccessHolder::isFriendOfOrEqualTo#1#dispred#ff ON FIRST 2 OUTPUT Lhs.1 'arg2', Lhs.5, Lhs.6, Lhs.2 'arg0', Lhs.3 'arg1', Lhs.1 'arg2', Lhs.4, Lhs.0 123503367 ~0% {8} r41 = JOIN r30 WITH Declaration#4bfb53be::DirectAccessHolder::isFriendOfOrEqualTo#1#dispred#ff ON FIRST 1 OUTPUT Rhs.1, Lhs.3 'arg2', Lhs.1 'arg0', Lhs.2 'arg1', Lhs.4, Lhs.0, Lhs.5, Lhs.6 0 ~0% {8} r42 = JOIN r41 WITH #Class#bacd9b46::Class::getADerivedClass#0#dispredPlus#ff ON FIRST 2 OUTPUT Lhs.0, Lhs.6, Lhs.7, Lhs.2 'arg0', Lhs.3 'arg1', Lhs.1 'arg2', Lhs.4, Lhs.5 110582830 ~0% {8} r43 = r40 UNION r42 15000 ~6% {8} r44 = JOIN r43 WITH Class#bacd9b46::Class::accessOfBaseMember#2#dispred#ffff ON FIRST 3 OUTPUT Lhs.5 'arg2', Lhs.1, Lhs.3 'arg0', Lhs.4 'arg1', Lhs.6, Lhs.7, Lhs.2, Lhs.0 ... ``` After: ``` Tuple counts for _#Class#bacd9b46::Class::getADerivedClass#0#dispredPlus#ff_#Declaration#4bfb53be::AccessHolder::getE__#antijoin_rhs#1/3@997a3ai9 after 744ms: ... 78600 ~8% {6} r29 = r26 UNION r28 437816 ~0% {9} r30 = JOIN r29 WITH Class#bacd9b46::Class::accessOfBaseMember#2#dispred#ffff ON FIRST 1 OUTPUT Lhs.1 'arg0', Lhs.2 'arg1', Lhs.0 'arg2', Lhs.3, Lhs.4, Lhs.5, Rhs.1, Rhs.2, Rhs.3 430928 ~0% {9} r31 = SELECT r30 ON In.7 = In.8 430928 ~0% {7} r32 = SCAN r31 OUTPUT In.5, In.6, In.0 'arg0', In.1 'arg1', In.2 'arg2', In.3, In.7 1096333 ~0% {7} r33 = JOIN r32 WITH Class#bacd9b46::Class::accessOfBaseMember#2#dispred#ffff ON FIRST 2 OUTPUT Lhs.1, Lhs.5, Rhs.2, Lhs.2 'arg0', Lhs.3 'arg1', Lhs.4 'arg2', Lhs.6 777970 ~0% {8} r34 = JOIN r33 WITH Class#bacd9b46::Class::accessOfBaseMember#2#dispred#ffff ON FIRST 3 OUTPUT Lhs.0, Lhs.1, Lhs.2, Rhs.3, Lhs.3 'arg0', Lhs.4 'arg1', Lhs.5 'arg2', Lhs.6 334217 ~0% {6} r35 = JOIN r14 WITH Declaration#4bfb53be::DirectAccessHolder::isFriendOfOrEqualTo#1#dispred#ff ON FIRST 1 OUTPUT Lhs.3 'arg2', Rhs.1, Lhs.1 'arg0', Lhs.2 'arg1', Lhs.4, Lhs.0 235623 ~0% {8} r36 = JOIN r35 WITH Class#bacd9b46::Class::accessOfBaseMember#2#dispred#ffff ON FIRST 2 OUTPUT Lhs.2 'arg0', Lhs.3 'arg1', Lhs.0 'arg2', Lhs.4, Lhs.5, Lhs.1, Rhs.2, Rhs.3 235623 ~0% {8} r37 = SELECT r36 ON In.6 = In.7 235623 ~0% {7} r38 = SCAN r37 OUTPUT In.5, In.6, In.0 'arg0', In.1 'arg1', In.2 'arg2', In.3, In.4 437303 ~0% {9} r39 = JOIN r38 WITH Class#bacd9b46::Class::accessOfBaseMember#2#dispred#ffff_0213#join_rhs ON FIRST 2 OUTPUT Rhs.3, Lhs.2 'arg0', Lhs.3 'arg1', Lhs.4 'arg2', Lhs.5, Lhs.6, Lhs.0, Lhs.1, Rhs.2 437303 ~4% {10} r40 = JOIN r39 WITH specifiers ON FIRST 1 OUTPUT Lhs.1 'arg0', Lhs.2 'arg1', Lhs.3 'arg2', Lhs.4, Lhs.5, Lhs.6, Lhs.7, Lhs.8, Lhs.0, Rhs.1 352102 ~1% {10} r41 = SELECT r40 ON In.9 >= "protected" 352102 ~0% {6} r42 = SCAN r41 OUTPUT In.7, In.3, In.0 'arg0', In.1 'arg1', In.2 'arg2', In.6 775332 ~0% {8} r43 = JOIN r42 WITH Class#bacd9b46::Class::accessOfBaseMember#2#dispred#ffff ON FIRST 2 OUTPUT Lhs.0, Lhs.1, Rhs.2, Rhs.3, Lhs.2 'arg0', Lhs.3 'arg1', Lhs.4 'arg2', Lhs.5 1553302 ~51% {8} r44 = r34 UNION r43 1553302 ~152% {7} r45 = JOIN r44 WITH Class#bacd9b46::Class::accessOfBaseMember#2#dispred#ffff ON FIRST 4 OUTPUT Lhs.7, "public", Lhs.4 'arg0', Lhs.5 'arg1', Lhs.6 'arg2', Lhs.2, Lhs.3 ... ``` --- cpp/ql/lib/semmle/code/cpp/Declaration.qll | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpp/ql/lib/semmle/code/cpp/Declaration.qll b/cpp/ql/lib/semmle/code/cpp/Declaration.qll index d6cf6de8e4b..7d7dee45aa9 100644 --- a/cpp/ql/lib/semmle/code/cpp/Declaration.qll +++ b/cpp/ql/lib/semmle/code/cpp/Declaration.qll @@ -664,7 +664,9 @@ private class DirectAccessHolder extends Element { // bypasses `p`. Then that path must be public, or we are in case 2. exists(AccessSpecifier public | public.hasName("public") | exists(Class between, Class p | - between.accessOfBaseMember(memberClass, memberAccess).hasName("protected") and + between + .accessOfBaseMember(pragma[only_bind_into](memberClass), memberAccess) + .hasName("protected") and this.isFriendOfOrEqualTo(p) and ( // This is case 1 from above. If `p` derives privately from `between` From c7b41ca470bac4b9f7a1ca7ffae7aa9a24f829e7 Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Thu, 9 Mar 2023 10:41:06 +0000 Subject: [PATCH 124/145] C++: Disable standard order for 'fwdFlow' in stage 1 of dataflow. --- cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll b/cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll index d574f95d181..b8dd15df047 100644 --- a/cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll +++ b/cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll @@ -456,6 +456,7 @@ module Impl { * The Boolean `cc` records whether the node is reached through an * argument in a call. */ + pragma[assume_small_delta] private predicate fwdFlow(NodeEx node, Cc cc) { sourceNode(node, _) and if hasSourceCallCtx() then cc = true else cc = false From 1f77f77153985352e0bfe769967fd998b1135113 Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Thu, 9 Mar 2023 10:41:15 +0000 Subject: [PATCH 125/145] DataFlow: Sync identical files. --- .../semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll | 1 + cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll | 1 + .../ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImpl.qll | 1 + go/ql/lib/semmle/go/dataflow/internal/DataFlowImpl.qll | 1 + java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImpl.qll | 1 + .../ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl.qll | 1 + ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImpl.qll | 1 + swift/ql/lib/codeql/swift/dataflow/internal/DataFlowImpl.qll | 1 + 8 files changed, 8 insertions(+) diff --git a/cpp/ql/lib/experimental/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll b/cpp/ql/lib/experimental/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll index d574f95d181..b8dd15df047 100644 --- a/cpp/ql/lib/experimental/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll +++ b/cpp/ql/lib/experimental/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll @@ -456,6 +456,7 @@ module Impl { * The Boolean `cc` records whether the node is reached through an * argument in a call. */ + pragma[assume_small_delta] private predicate fwdFlow(NodeEx node, Cc cc) { sourceNode(node, _) and if hasSourceCallCtx() then cc = true else cc = false diff --git a/cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll b/cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll index d574f95d181..b8dd15df047 100644 --- a/cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll +++ b/cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll @@ -456,6 +456,7 @@ module Impl { * The Boolean `cc` records whether the node is reached through an * argument in a call. */ + pragma[assume_small_delta] private predicate fwdFlow(NodeEx node, Cc cc) { sourceNode(node, _) and if hasSourceCallCtx() then cc = true else cc = false diff --git a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImpl.qll b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImpl.qll index d574f95d181..b8dd15df047 100644 --- a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImpl.qll +++ b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImpl.qll @@ -456,6 +456,7 @@ module Impl { * The Boolean `cc` records whether the node is reached through an * argument in a call. */ + pragma[assume_small_delta] private predicate fwdFlow(NodeEx node, Cc cc) { sourceNode(node, _) and if hasSourceCallCtx() then cc = true else cc = false diff --git a/go/ql/lib/semmle/go/dataflow/internal/DataFlowImpl.qll b/go/ql/lib/semmle/go/dataflow/internal/DataFlowImpl.qll index d574f95d181..b8dd15df047 100644 --- a/go/ql/lib/semmle/go/dataflow/internal/DataFlowImpl.qll +++ b/go/ql/lib/semmle/go/dataflow/internal/DataFlowImpl.qll @@ -456,6 +456,7 @@ module Impl { * The Boolean `cc` records whether the node is reached through an * argument in a call. */ + pragma[assume_small_delta] private predicate fwdFlow(NodeEx node, Cc cc) { sourceNode(node, _) and if hasSourceCallCtx() then cc = true else cc = false diff --git a/java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImpl.qll b/java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImpl.qll index d574f95d181..b8dd15df047 100644 --- a/java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImpl.qll +++ b/java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImpl.qll @@ -456,6 +456,7 @@ module Impl { * The Boolean `cc` records whether the node is reached through an * argument in a call. */ + pragma[assume_small_delta] private predicate fwdFlow(NodeEx node, Cc cc) { sourceNode(node, _) and if hasSourceCallCtx() then cc = true else cc = false diff --git a/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl.qll b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl.qll index d574f95d181..b8dd15df047 100644 --- a/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl.qll +++ b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl.qll @@ -456,6 +456,7 @@ module Impl { * The Boolean `cc` records whether the node is reached through an * argument in a call. */ + pragma[assume_small_delta] private predicate fwdFlow(NodeEx node, Cc cc) { sourceNode(node, _) and if hasSourceCallCtx() then cc = true else cc = false diff --git a/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImpl.qll b/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImpl.qll index d574f95d181..b8dd15df047 100644 --- a/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImpl.qll +++ b/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImpl.qll @@ -456,6 +456,7 @@ module Impl { * The Boolean `cc` records whether the node is reached through an * argument in a call. */ + pragma[assume_small_delta] private predicate fwdFlow(NodeEx node, Cc cc) { sourceNode(node, _) and if hasSourceCallCtx() then cc = true else cc = false diff --git a/swift/ql/lib/codeql/swift/dataflow/internal/DataFlowImpl.qll b/swift/ql/lib/codeql/swift/dataflow/internal/DataFlowImpl.qll index d574f95d181..b8dd15df047 100644 --- a/swift/ql/lib/codeql/swift/dataflow/internal/DataFlowImpl.qll +++ b/swift/ql/lib/codeql/swift/dataflow/internal/DataFlowImpl.qll @@ -456,6 +456,7 @@ module Impl { * The Boolean `cc` records whether the node is reached through an * argument in a call. */ + pragma[assume_small_delta] private predicate fwdFlow(NodeEx node, Cc cc) { sourceNode(node, _) and if hasSourceCallCtx() then cc = true else cc = false From 8096f862241dda5bb26fd2ad2bc80d08c4bc86c3 Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Wed, 8 Mar 2023 16:37:01 +0100 Subject: [PATCH 126/145] Ruby: lower severity of parse error to warning --- ruby/extractor/src/extractor.rs | 4 ++-- .../diagnostics/syntax-error/diagnostics.expected | 4 ++-- ruby/ql/lib/change-notes/2023-03-09-parse-error.md | 4 ++++ ruby/ql/lib/codeql/ruby/Diagnostics.qll | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 ruby/ql/lib/change-notes/2023-03-09-parse-error.md diff --git a/ruby/extractor/src/extractor.rs b/ruby/extractor/src/extractor.rs index 7b9ed84adfb..4e3445bd0d2 100644 --- a/ruby/extractor/src/extractor.rs +++ b/ruby/extractor/src/extractor.rs @@ -294,7 +294,7 @@ impl<'a> Visitor<'a> { .diagnostics_writer .new_entry("parse-error", "Parse error"); &mesg - .severity(diagnostics::Severity::Error) + .severity(diagnostics::Severity::Warning) .location(self.path, start_line, start_column, end_line, end_column) .message(message, args); if status_page { @@ -405,7 +405,7 @@ impl<'a> Visitor<'a> { loc, self.diagnostics_writer .new_entry("parse-error", "Parse error") - .severity(diagnostics::Severity::Error) + .severity(diagnostics::Severity::Warning) .location(self.path, start_line, start_column, end_line, end_column) .message( "Unknown table type: {}", diff --git a/ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected b/ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected index c2d3b590bd9..2ed9ee863de 100644 --- a/ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected +++ b/ruby/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected @@ -11,7 +11,7 @@ }, "markdownMessage": "A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or [exclude](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning) the file from analysis.", "plaintextMessage": "A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.", - "severity": "Error", + "severity": "Warning", "source": { "extractorName": "ruby", "id": "ruby/parse-error", @@ -34,7 +34,7 @@ }, "markdownMessage": "A parse error occurred (expected `end` symbol). Check the syntax of the file. If the file is invalid, correct the error or [exclude](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning) the file from analysis.", "plaintextMessage": "A parse error occurred (expected end symbol). Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.", - "severity": "Error", + "severity": "Warning", "source": { "extractorName": "ruby", "id": "ruby/parse-error", diff --git a/ruby/ql/lib/change-notes/2023-03-09-parse-error.md b/ruby/ql/lib/change-notes/2023-03-09-parse-error.md new file mode 100644 index 00000000000..da07ab22b5f --- /dev/null +++ b/ruby/ql/lib/change-notes/2023-03-09-parse-error.md @@ -0,0 +1,4 @@ +--- + category: minorAnalysis +--- +* The severity of parse errors was reduced to warning (previously error). diff --git a/ruby/ql/lib/codeql/ruby/Diagnostics.qll b/ruby/ql/lib/codeql/ruby/Diagnostics.qll index b8995c01bc2..faf7b8420a0 100644 --- a/ruby/ql/lib/codeql/ruby/Diagnostics.qll +++ b/ruby/ql/lib/codeql/ruby/Diagnostics.qll @@ -47,6 +47,6 @@ class Diagnostic extends @diagnostic { } /** A diagnostic relating to a particular error in extracting a file. */ -class ExtractionError extends Diagnostic, @diagnostic_error { +class ExtractionError extends Diagnostic { ExtractionError() { this.getTag() = "parse_error" } } From c98e0fa0b47e78f6237e6c2b8998c0211da1c4b3 Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Thu, 9 Mar 2023 11:21:02 +0100 Subject: [PATCH 127/145] Ruby: fix comment --- ruby/extractor/src/diagnostics.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ruby/extractor/src/diagnostics.rs b/ruby/extractor/src/diagnostics.rs index ae62a254b08..ddef135c485 100644 --- a/ruby/extractor/src/diagnostics.rs +++ b/ruby/extractor/src/diagnostics.rs @@ -214,9 +214,9 @@ fn longest_backtick_sequence_length(text: &str) -> usize { } result } -/** - * An argument of a diagnostic message format string. A message argument is either a "code" snippet or a link. - */ + +/// An argument of a diagnostic message format string. +/// A message argument is either a "code" snippet or a link. pub enum MessageArg<'a> { Code(&'a str), Link(&'a str, &'a str), From dd3e357ad3bbcfde4b007e71b10976cf718bbb2a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Mar 2023 12:30:57 +0000 Subject: [PATCH 128/145] Bump serde from 1.0.152 to 1.0.154 in /ql Bumps [serde](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.154. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.154) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- ql/Cargo.lock | Bin 22220 -> 22220 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/ql/Cargo.lock b/ql/Cargo.lock index 17d1507d6fd90078179ec55863e6b2d6e609dfea..4136e6fa8b387819252c808bb60f25e35cf60c26 100644 GIT binary patch delta 166 zcmWN}!41MN3;;lN2>3Drah$~Q2hm5LpfUiD*si|}lPP#qLSl_B!v=JKyKNn|b@;q< zZ}WVuY6cl1AjiCrLz9#ni?~2!gd!FKF;h(fl!R1C)Sz$yO}zBqbm;do?b+kvT7yyC rT}~NAo0~@EMyOW2X)*=I>H$*;m~B6u*&8p25&C#O_S;C`7d=mZ?cp+0 delta 171 zcmXBMu?+$-3;;m=5Fk1>Ku%)E{t76*1SX(xVy9)8OhNGy5^H?JC~Uw>+yJ-C!!i%A zCk?TGcDG|GY@vZAh`|!FN^+vyDrQOM8eL&D;ZmzLk=Ce&NJu85k+-ggZNKK}zn!$9 vtX~lKYA_;1V^A`VL_sn*i>wV7%&0AalWW!_m8lX2@8400Y From f87b307ddbd06d1ebf78125b3db593e5dc7d5441 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Thu, 9 Mar 2023 14:00:52 +0000 Subject: [PATCH 129/145] The source name of a diagnostic should not change --- go/extractor/diagnostics/diagnostics.go | 8 ++++---- .../diagnostics.expected | 4 ++-- .../package-not-found-with-go-mod/diagnostics.expected | 4 ++-- .../package-not-found-without-go-mod/diagnostics.expected | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/go/extractor/diagnostics/diagnostics.go b/go/extractor/diagnostics/diagnostics.go index 2ef5fc7808e..08ad3e18b85 100644 --- a/go/extractor/diagnostics/diagnostics.go +++ b/go/extractor/diagnostics/diagnostics.go @@ -120,8 +120,8 @@ func emitDiagnostic(sourceid, sourcename, markdownMessage string, severity diagn func EmitPackageDifferentOSArchitecture(pkgPath string) { emitDiagnostic( "go/autobuilder/package-different-os-architecture", - "Package "+pkgPath+" is intended for a different OS or architecture", - "Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner).", + "An imported package is intended for a different OS or architecture", + "`"+pkgPath+"` could not be imported. Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner).", severityWarning, fullVisibility, noLocation, @@ -152,8 +152,8 @@ func EmitCannotFindPackages(pkgPaths []string) { emitDiagnostic( "go/autobuilder/package-not-found", - fmt.Sprintf("%d package%s could not be found", numPkgPaths, ending), - "The following packages could not be found.\n\n"+secondLine+"\n\nCheck that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", + "Some packages could not be found", + fmt.Sprintf("%d package%s could not be found.\n\n%s.\n\nCheck that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", numPkgPaths, ending, secondLine), severityError, fullVisibility, noLocation, diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected index 26309d90ceb..dc7a5dca282 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected @@ -1,10 +1,10 @@ { - "markdownMessage": "Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner).", + "markdownMessage": "`syscall/js` could not be imported. Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner).", "severity": "warning", "source": { "extractorName": "go", "id": "go/autobuilder/package-different-os-architecture", - "name": "Package syscall/js is intended for a different OS or architecture" + "name": "An imported package is intended for a different OS or architecture" }, "visibility": { "cliSummaryTable": true, diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected index 74294ee419f..a24d8121da7 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected @@ -1,10 +1,10 @@ { - "markdownMessage": "The following packages could not be found. Check that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).\n\n`github.com/nosuchorg/nosuchrepo000`, `github.com/nosuchorg/nosuchrepo001`, `github.com/nosuchorg/nosuchrepo002`, `github.com/nosuchorg/nosuchrepo003`, `github.com/nosuchorg/nosuchrepo004` and 105 more", + "markdownMessage": "110 packages could not be found.\n\n`github.com/nosuchorg/nosuchrepo000`, `github.com/nosuchorg/nosuchrepo001`, `github.com/nosuchorg/nosuchrepo002`, `github.com/nosuchorg/nosuchrepo003`, `github.com/nosuchorg/nosuchrepo004` and 105 more.\n\nCheck that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", "severity": "error", "source": { "extractorName": "go", "id": "go/autobuilder/package-not-found", - "name": "110 packages could not be found" + "name": "Some packages could not be found" }, "visibility": { "cliSummaryTable": true, diff --git a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected index edcfc0bd4d5..d5c515a076b 100644 --- a/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected +++ b/go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/diagnostics.expected @@ -1,10 +1,10 @@ { - "markdownMessage": "The following packages could not be found. Check that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).\n\n`github.com/linode/linode-docs-theme`", + "markdownMessage": "1 package could not be found.\n\n`github.com/linode/linode-docs-theme`.\n\nCheck that the paths are correct and make sure any private packages can be accessed. If any of the packages are present in the repository then you may need a [custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).", "severity": "error", "source": { "extractorName": "go", "id": "go/autobuilder/package-not-found", - "name": "1 package could not be found" + "name": "Some packages could not be found" }, "visibility": { "cliSummaryTable": true, From f0bb25bfce57d5c985cbd2ed4513909fe5bb4d3c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Mar 2023 15:46:31 +0000 Subject: [PATCH 130/145] JS: Bump patch version of ML-powered library and query packs --- .../ql/experimental/adaptivethreatmodeling/lib/qlpack.yml | 2 +- .../ql/experimental/adaptivethreatmodeling/src/qlpack.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/ql/experimental/adaptivethreatmodeling/lib/qlpack.yml b/javascript/ql/experimental/adaptivethreatmodeling/lib/qlpack.yml index a0fd5078807..36cbd0ff6bc 100644 --- a/javascript/ql/experimental/adaptivethreatmodeling/lib/qlpack.yml +++ b/javascript/ql/experimental/adaptivethreatmodeling/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/javascript-experimental-atm-lib -version: 0.4.8 +version: 0.4.9 extractor: javascript library: true groups: diff --git a/javascript/ql/experimental/adaptivethreatmodeling/src/qlpack.yml b/javascript/ql/experimental/adaptivethreatmodeling/src/qlpack.yml index 6391cd89371..3ad20587684 100644 --- a/javascript/ql/experimental/adaptivethreatmodeling/src/qlpack.yml +++ b/javascript/ql/experimental/adaptivethreatmodeling/src/qlpack.yml @@ -1,6 +1,6 @@ name: codeql/javascript-experimental-atm-queries language: javascript -version: 0.4.8 +version: 0.4.9 suites: codeql-suites defaultSuiteFile: codeql-suites/javascript-atm-code-scanning.qls groups: From a82aaea5142f72d0e9939e55541f327d5aa6de23 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Mar 2023 15:54:49 +0000 Subject: [PATCH 131/145] JS: Bump version of ML-powered library and query packs to 0.4.10 --- .../ql/experimental/adaptivethreatmodeling/lib/qlpack.yml | 2 +- .../ql/experimental/adaptivethreatmodeling/src/qlpack.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/ql/experimental/adaptivethreatmodeling/lib/qlpack.yml b/javascript/ql/experimental/adaptivethreatmodeling/lib/qlpack.yml index 36cbd0ff6bc..34809b9c54d 100644 --- a/javascript/ql/experimental/adaptivethreatmodeling/lib/qlpack.yml +++ b/javascript/ql/experimental/adaptivethreatmodeling/lib/qlpack.yml @@ -1,5 +1,5 @@ name: codeql/javascript-experimental-atm-lib -version: 0.4.9 +version: 0.4.10 extractor: javascript library: true groups: diff --git a/javascript/ql/experimental/adaptivethreatmodeling/src/qlpack.yml b/javascript/ql/experimental/adaptivethreatmodeling/src/qlpack.yml index 3ad20587684..d900281fe4e 100644 --- a/javascript/ql/experimental/adaptivethreatmodeling/src/qlpack.yml +++ b/javascript/ql/experimental/adaptivethreatmodeling/src/qlpack.yml @@ -1,6 +1,6 @@ name: codeql/javascript-experimental-atm-queries language: javascript -version: 0.4.9 +version: 0.4.10 suites: codeql-suites defaultSuiteFile: codeql-suites/javascript-atm-code-scanning.qls groups: From 7649772935f010d46912638f3e4b808db3cd4048 Mon Sep 17 00:00:00 2001 From: Nick Rolfe Date: Tue, 21 Sep 2021 12:08:42 +0100 Subject: [PATCH 132/145] Expose TRAP compression option via the new extractor options feature. --- ruby/codeql-extractor.yml | 13 +++++++++++-- ruby/extractor/src/main.rs | 25 +++++++++++++------------ 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/ruby/codeql-extractor.yml b/ruby/codeql-extractor.yml index c505292cfd2..48de6c8af86 100644 --- a/ruby/codeql-extractor.yml +++ b/ruby/codeql-extractor.yml @@ -11,8 +11,17 @@ file_types: - name: ruby display_name: Ruby files extensions: - - .rb + - .rb - name: erb display_name: Ruby templates extensions: - - .erb + - .erb +options: + trap_compression: + title: Controls compression for the TRAP files written by the extractor. + description: > + This option is only intended for use in debugging the extractor. Accepted + values are 'gzip' (the default, to write gzip-compressed TRAP) and 'none' + (to write uncompressed TRAP). + type: string + pattern: "^(none|gzip)$" diff --git a/ruby/extractor/src/main.rs b/ruby/extractor/src/main.rs index e95f7780df9..4b986d241a2 100644 --- a/ruby/extractor/src/main.rs +++ b/ruby/extractor/src/main.rs @@ -92,18 +92,19 @@ fn main() -> std::io::Result<()> { "threads" } ); - let trap_compression = match trap::Compression::from_env("CODEQL_RUBY_TRAP_COMPRESSION") { - Ok(x) => x, - Err(e) => { - main_thread_logger.write( - main_thread_logger - .new_entry("configuration-error", "Configuration error") - .message("{}; using gzip.", &[diagnostics::MessageArg::Code(&e)]) - .severity(diagnostics::Severity::Warning), - ); - trap::Compression::Gzip - } - }; + let trap_compression = + match trap::Compression::from_env("CODEQL_EXTRACTOR_RUBY_OPTION_TRAP_COMPRESSION") { + Ok(x) => x, + Err(e) => { + main_thread_logger.write( + main_thread_logger + .new_entry("configuration-error", "Configuration error") + .message("{}; using gzip.", &[diagnostics::MessageArg::Code(&e)]) + .severity(diagnostics::Severity::Warning), + ); + trap::Compression::Gzip + } + }; drop(main_thread_logger); rayon::ThreadPoolBuilder::new() .num_threads(num_threads) From cf64e0e85f63596a3e192c6121000bc7d03ffaaf Mon Sep 17 00:00:00 2001 From: Harry Maclean Date: Fri, 10 Mar 2023 19:18:49 +1300 Subject: [PATCH 133/145] Ruby: trap_compression -> trap.compression Change the trap_compression extractor option to be an object `trap` with a nested option `compression`. This means that on the command line you would supply the option as follows: codeql database create --extractor-option trap.compression=gzip This is a little less jarring than the previous design, which would use underscores amonst the hyphens: codeql database create --extractor-option trap_compression=gzip --- ruby/codeql-extractor.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/ruby/codeql-extractor.yml b/ruby/codeql-extractor.yml index 48de6c8af86..a0d81ac13c1 100644 --- a/ruby/codeql-extractor.yml +++ b/ruby/codeql-extractor.yml @@ -17,11 +17,15 @@ file_types: extensions: - .erb options: - trap_compression: - title: Controls compression for the TRAP files written by the extractor. - description: > - This option is only intended for use in debugging the extractor. Accepted - values are 'gzip' (the default, to write gzip-compressed TRAP) and 'none' - (to write uncompressed TRAP). - type: string - pattern: "^(none|gzip)$" + trap: + title: Options related to TRAP output. + type: object + properties: + compression: + title: Controls compression for the TRAP files written by the extractor. + description: > + This option is only intended for use in debugging the extractor. Accepted + values are 'gzip' (the default, to write gzip-compressed TRAP) and 'none' + (to write uncompressed TRAP). + type: string + pattern: "^(none|gzip)$" From 9cf2acface2dc37db52ed34a8c413edae0d80004 Mon Sep 17 00:00:00 2001 From: Harry Maclean Date: Fri, 10 Mar 2023 21:11:58 +1300 Subject: [PATCH 134/145] Ruby: Make trap option title consistent with C# --- ruby/codeql-extractor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby/codeql-extractor.yml b/ruby/codeql-extractor.yml index a0d81ac13c1..1c9cfbdf052 100644 --- a/ruby/codeql-extractor.yml +++ b/ruby/codeql-extractor.yml @@ -18,7 +18,7 @@ file_types: - .erb options: trap: - title: Options related to TRAP output. + title: Options pertaining to TRAP. type: object properties: compression: From 730eae952139209fe9fdf598541d608f4c0c0c84 Mon Sep 17 00:00:00 2001 From: Anders Schack-Mulligen Date: Fri, 17 Feb 2023 12:16:46 +0100 Subject: [PATCH 135/145] Java: Autoformat --- .../semmle/code/java/deadcode/DeadField.qll | 3 ++- .../semmle/code/java/deadcode/EntryPoints.qll | 11 +++++---- .../code/java/deadcode/StrutsEntryPoints.qll | 4 ++-- .../code/java/deadcode/TestEntryPoints.qll | 3 ++- .../code/java/frameworks/android/Intent.qll | 3 ++- .../code/java/frameworks/android/Slice.qll | 3 ++- .../frameworks/google/GoogleHttpClientApi.qll | 3 ++- .../jackson/JacksonSerializability.qll | 3 ++- .../frameworks/javaee/ejb/EJBRestrictions.qll | 4 ++-- java/ql/lib/semmle/code/java/os/OSCheck.qll | 6 +++-- .../code/java/security/FragmentInjection.qll | 3 ++- .../IntentUriPermissionManipulation.qll | 3 ++- java/ql/lib/semmle/code/java/security/JWT.qll | 3 ++- .../code/java/security/RequestForgery.qll | 3 ++- .../code/java/security/SpelInjection.qll | 3 ++- .../code/java/security/TemplateInjection.qll | 4 ++-- java/ql/lib/semmle/code/java/security/XSS.qll | 3 ++- .../semmle/code/java/security/XmlParsers.qll | 3 ++- .../code/java/security/XsltInjectionQuery.qll | 3 ++- .../CWE/CWE-113/NettyResponseSplitting.ql | 24 ++++++++++++------- ...ClientSuppliedIpUsedInSecurityCheckLib.qll | 4 ++-- 21 files changed, 62 insertions(+), 37 deletions(-) diff --git a/java/ql/lib/semmle/code/java/deadcode/DeadField.qll b/java/ql/lib/semmle/code/java/deadcode/DeadField.qll index 4499c6d63c8..32690d73626 100644 --- a/java/ql/lib/semmle/code/java/deadcode/DeadField.qll +++ b/java/ql/lib/semmle/code/java/deadcode/DeadField.qll @@ -138,7 +138,8 @@ class ClassReflectivelyReadField extends ReflectivelyReadField { * Consider all `JacksonSerializableField`s as reflectively read. */ class JacksonSerializableReflectivelyReadField extends ReflectivelyReadField, - JacksonSerializableField { } + JacksonSerializableField +{ } /** * A field that is used when applying Jackson mixins. diff --git a/java/ql/lib/semmle/code/java/deadcode/EntryPoints.qll b/java/ql/lib/semmle/code/java/deadcode/EntryPoints.qll index 81f5a2d765e..2213960222e 100644 --- a/java/ql/lib/semmle/code/java/deadcode/EntryPoints.qll +++ b/java/ql/lib/semmle/code/java/deadcode/EntryPoints.qll @@ -94,7 +94,8 @@ abstract class ReflectivelyConstructedClass extends EntryPoint, Class { /** * Classes that are deserialized by Jackson are reflectively constructed. */ -library class JacksonReflectivelyConstructedClass extends ReflectivelyConstructedClass instanceof JacksonDeserializableType { +library class JacksonReflectivelyConstructedClass extends ReflectivelyConstructedClass instanceof JacksonDeserializableType +{ override Callable getALiveCallable() { // Constructors may be called by Jackson, if they are a no-arg, they have a suitable annotation, // or inherit a suitable annotation through a mixin. @@ -308,8 +309,8 @@ class FacesAccessibleMethodEntryPoint extends CallableEntryPoint { * A Java Server Faces custom component, that is reflectively constructed by the framework when * used in a view (JSP or facelet). */ -class FacesComponentReflectivelyConstructedClass extends ReflectivelyConstructedClass instanceof FacesComponent { -} +class FacesComponentReflectivelyConstructedClass extends ReflectivelyConstructedClass instanceof FacesComponent +{ } /** * Entry point for EJB home interfaces. @@ -459,5 +460,5 @@ class ArbitraryXmlEntryPoint extends ReflectivelyConstructedClass { deprecated class ArbitraryXMLEntryPoint = ArbitraryXmlEntryPoint; /** A Selenium PageObject, created by a call to PageFactory.initElements(..). */ -class SeleniumPageObjectEntryPoint extends ReflectivelyConstructedClass instanceof SeleniumPageObject { -} +class SeleniumPageObjectEntryPoint extends ReflectivelyConstructedClass instanceof SeleniumPageObject +{ } diff --git a/java/ql/lib/semmle/code/java/deadcode/StrutsEntryPoints.qll b/java/ql/lib/semmle/code/java/deadcode/StrutsEntryPoints.qll index de2c0c44678..86910a921f8 100644 --- a/java/ql/lib/semmle/code/java/deadcode/StrutsEntryPoints.qll +++ b/java/ql/lib/semmle/code/java/deadcode/StrutsEntryPoints.qll @@ -33,8 +33,8 @@ class Struts1ActionEntryPoint extends EntryPoint, Class { /** * A struts 2 action class that is reflectively constructed. */ -class Struts2ReflectivelyConstructedAction extends ReflectivelyConstructedClass instanceof Struts2ActionClass { -} +class Struts2ReflectivelyConstructedAction extends ReflectivelyConstructedClass instanceof Struts2ActionClass +{ } /** * A method called on a struts 2 action class when the action is activated. diff --git a/java/ql/lib/semmle/code/java/deadcode/TestEntryPoints.qll b/java/ql/lib/semmle/code/java/deadcode/TestEntryPoints.qll index d659918e815..b8013d2947a 100644 --- a/java/ql/lib/semmle/code/java/deadcode/TestEntryPoints.qll +++ b/java/ql/lib/semmle/code/java/deadcode/TestEntryPoints.qll @@ -78,7 +78,8 @@ class JUnitCategory extends WhitelistedLiveClass { /** * A listener that will be reflectively constructed by TestNG. */ -class TestNGReflectivelyConstructedListener extends ReflectivelyConstructedClass instanceof TestNGListenerImpl { +class TestNGReflectivelyConstructedListener extends ReflectivelyConstructedClass instanceof TestNGListenerImpl +{ // Consider any class that implements a TestNG listener interface to be live. Listeners can be // specified on the command line, in `testng.xml` files and in Ant build files, so it is safest // to assume that all such listeners are live. diff --git a/java/ql/lib/semmle/code/java/frameworks/android/Intent.qll b/java/ql/lib/semmle/code/java/frameworks/android/Intent.qll index 4f6e9e3f5e4..104fd74b5f2 100644 --- a/java/ql/lib/semmle/code/java/frameworks/android/Intent.qll +++ b/java/ql/lib/semmle/code/java/frameworks/android/Intent.qll @@ -123,7 +123,8 @@ class StartServiceMethod extends Method { /** Specifies that if an `Intent` is tainted, then so are its synthetic fields. */ private class IntentFieldsInheritTaint extends DataFlow::SyntheticFieldContent, - TaintInheritingContent { + TaintInheritingContent +{ IntentFieldsInheritTaint() { this.getField().matches("android.content.Intent.%") } } diff --git a/java/ql/lib/semmle/code/java/frameworks/android/Slice.qll b/java/ql/lib/semmle/code/java/frameworks/android/Slice.qll index 33de1ea0d12..96ccb2a4401 100644 --- a/java/ql/lib/semmle/code/java/frameworks/android/Slice.qll +++ b/java/ql/lib/semmle/code/java/frameworks/android/Slice.qll @@ -35,6 +35,7 @@ private class SliceProviderLifecycleStep extends AdditionalValueStep { } private class SliceActionsInheritTaint extends DataFlow::SyntheticFieldContent, - TaintInheritingContent { + TaintInheritingContent +{ SliceActionsInheritTaint() { this.getField() = "androidx.slice.Slice.action" } } diff --git a/java/ql/lib/semmle/code/java/frameworks/google/GoogleHttpClientApi.qll b/java/ql/lib/semmle/code/java/frameworks/google/GoogleHttpClientApi.qll index d98967566e8..306970846d1 100644 --- a/java/ql/lib/semmle/code/java/frameworks/google/GoogleHttpClientApi.qll +++ b/java/ql/lib/semmle/code/java/frameworks/google/GoogleHttpClientApi.qll @@ -11,7 +11,8 @@ private class ParseAsMethod extends Method { } } -private class TypeLiteralToParseAsFlowConfiguration extends DataFlowForSerializability::Configuration { +private class TypeLiteralToParseAsFlowConfiguration extends DataFlowForSerializability::Configuration +{ TypeLiteralToParseAsFlowConfiguration() { this = "GoogleHttpClientApi::TypeLiteralToParseAsFlowConfiguration" } diff --git a/java/ql/lib/semmle/code/java/frameworks/jackson/JacksonSerializability.qll b/java/ql/lib/semmle/code/java/frameworks/jackson/JacksonSerializability.qll index 020c167fab7..4911c146442 100644 --- a/java/ql/lib/semmle/code/java/frameworks/jackson/JacksonSerializability.qll +++ b/java/ql/lib/semmle/code/java/frameworks/jackson/JacksonSerializability.qll @@ -91,7 +91,8 @@ private class FieldReferencedJacksonSerializableType extends JacksonSerializable /** A type whose values may be deserialized by the Jackson JSON framework. */ abstract class JacksonDeserializableType extends Type { } -private class TypeLiteralToJacksonDatabindFlowConfiguration extends DataFlowForSerializability::Configuration { +private class TypeLiteralToJacksonDatabindFlowConfiguration extends DataFlowForSerializability::Configuration +{ TypeLiteralToJacksonDatabindFlowConfiguration() { this = "TypeLiteralToJacksonDatabindFlowConfiguration" } diff --git a/java/ql/lib/semmle/code/java/frameworks/javaee/ejb/EJBRestrictions.qll b/java/ql/lib/semmle/code/java/frameworks/javaee/ejb/EJBRestrictions.qll index c56571624e6..8df603c5d6a 100644 --- a/java/ql/lib/semmle/code/java/frameworks/javaee/ejb/EJBRestrictions.qll +++ b/java/ql/lib/semmle/code/java/frameworks/javaee/ejb/EJBRestrictions.qll @@ -75,8 +75,8 @@ class ForbiddenSecurityConfigurationCallable extends ForbiddenCallable { } /** A method or constructor involving serialization that may not be called by an EJB. */ -class ForbiddenSerializationCallable extends ForbiddenCallable instanceof ForbiddenSerializationMethod { -} +class ForbiddenSerializationCallable extends ForbiddenCallable instanceof ForbiddenSerializationMethod +{ } /** A method or constructor involving network factory operations that may not be called by an EJB. */ class ForbiddenSetFactoryCallable extends ForbiddenCallable instanceof ForbiddenSetFactoryMethod { } diff --git a/java/ql/lib/semmle/code/java/os/OSCheck.qll b/java/ql/lib/semmle/code/java/os/OSCheck.qll index d43e2015705..eade97a6e53 100644 --- a/java/ql/lib/semmle/code/java/os/OSCheck.qll +++ b/java/ql/lib/semmle/code/java/os/OSCheck.qll @@ -115,7 +115,8 @@ private class IsWindowsFromApacheCommons extends IsWindowsGuard instanceof Field IsWindowsFromApacheCommons() { isOsFromApacheCommons(this, "IS\\_OS\\_WINDOWS") } } -private class IsSpecificWindowsVariantFromApacheCommons extends IsSpecificWindowsVariant instanceof FieldAccess { +private class IsSpecificWindowsVariantFromApacheCommons extends IsSpecificWindowsVariant instanceof FieldAccess +{ IsSpecificWindowsVariantFromApacheCommons() { isOsFromApacheCommons(this, "IS\\_OS\\_WINDOWS\\_%") } @@ -125,7 +126,8 @@ private class IsUnixFromApacheCommons extends IsUnixGuard instanceof FieldAccess IsUnixFromApacheCommons() { isOsFromApacheCommons(this, "IS\\_OS\\_UNIX") } } -private class IsSpecificUnixVariantFromApacheCommons extends IsSpecificUnixVariant instanceof FieldAccess { +private class IsSpecificUnixVariantFromApacheCommons extends IsSpecificUnixVariant instanceof FieldAccess +{ IsSpecificUnixVariantFromApacheCommons() { isOsFromApacheCommons(this, [ diff --git a/java/ql/lib/semmle/code/java/security/FragmentInjection.qll b/java/ql/lib/semmle/code/java/security/FragmentInjection.qll index 046993f6658..aa2a5f3dbfa 100644 --- a/java/ql/lib/semmle/code/java/security/FragmentInjection.qll +++ b/java/ql/lib/semmle/code/java/security/FragmentInjection.qll @@ -47,7 +47,8 @@ private class DefaultFragmentInjectionSink extends FragmentInjectionSink { DefaultFragmentInjectionSink() { sinkNode(this, "fragment-injection") } } -private class DefaultFragmentInjectionAdditionalTaintStep extends FragmentInjectionAdditionalTaintStep { +private class DefaultFragmentInjectionAdditionalTaintStep extends FragmentInjectionAdditionalTaintStep +{ override predicate step(DataFlow::Node n1, DataFlow::Node n2) { exists(ReflectiveClassIdentifierMethodAccess ma | ma.getArgument(0) = n1.asExpr() and ma = n2.asExpr() diff --git a/java/ql/lib/semmle/code/java/security/IntentUriPermissionManipulation.qll b/java/ql/lib/semmle/code/java/security/IntentUriPermissionManipulation.qll index 54a431e28dd..4842d36e86a 100644 --- a/java/ql/lib/semmle/code/java/security/IntentUriPermissionManipulation.qll +++ b/java/ql/lib/semmle/code/java/security/IntentUriPermissionManipulation.qll @@ -45,7 +45,8 @@ class IntentUriPermissionManipulationAdditionalTaintStep extends Unit { abstract predicate step(DataFlow::Node node1, DataFlow::Node node2); } -private class DefaultIntentUriPermissionManipulationSink extends IntentUriPermissionManipulationSink { +private class DefaultIntentUriPermissionManipulationSink extends IntentUriPermissionManipulationSink +{ DefaultIntentUriPermissionManipulationSink() { exists(MethodAccess ma | ma.getMethod() instanceof ActivitySetResultMethod | ma.getArgument(1) = this.asExpr() diff --git a/java/ql/lib/semmle/code/java/security/JWT.qll b/java/ql/lib/semmle/code/java/security/JWT.qll index 40569c49bd9..7056c7567f2 100644 --- a/java/ql/lib/semmle/code/java/security/JWT.qll +++ b/java/ql/lib/semmle/code/java/security/JWT.qll @@ -55,7 +55,8 @@ class JwtParserWithInsecureParseAdditionalFlowStep extends Unit { } /** A set of additional flow steps to consider when working with JWT parsing related data flows. */ -private class DefaultJwtParserWithInsecureParseAdditionalFlowStep extends JwtParserWithInsecureParseAdditionalFlowStep { +private class DefaultJwtParserWithInsecureParseAdditionalFlowStep extends JwtParserWithInsecureParseAdditionalFlowStep +{ override predicate step(DataFlow::Node node1, DataFlow::Node node2) { jwtParserStep(node1.asExpr(), node2.asExpr()) } diff --git a/java/ql/lib/semmle/code/java/security/RequestForgery.qll b/java/ql/lib/semmle/code/java/security/RequestForgery.qll index e6efc13c8a5..c454da5f035 100644 --- a/java/ql/lib/semmle/code/java/security/RequestForgery.qll +++ b/java/ql/lib/semmle/code/java/security/RequestForgery.qll @@ -34,7 +34,8 @@ private class DefaultRequestForgeryAdditionalTaintStep extends RequestForgeryAdd } } -private class TypePropertiesRequestForgeryAdditionalTaintStep extends RequestForgeryAdditionalTaintStep { +private class TypePropertiesRequestForgeryAdditionalTaintStep extends RequestForgeryAdditionalTaintStep +{ override predicate propagatesTaint(DataFlow::Node pred, DataFlow::Node succ) { exists(MethodAccess ma | // Properties props = new Properties(); diff --git a/java/ql/lib/semmle/code/java/security/SpelInjection.qll b/java/ql/lib/semmle/code/java/security/SpelInjection.qll index 55f526d72f4..bed4d313ff6 100644 --- a/java/ql/lib/semmle/code/java/security/SpelInjection.qll +++ b/java/ql/lib/semmle/code/java/security/SpelInjection.qll @@ -21,7 +21,8 @@ class SpelExpressionInjectionAdditionalTaintStep extends Unit { } /** A set of additional taint steps to consider when taint tracking SpEL related data flows. */ -private class DefaultSpelExpressionInjectionAdditionalTaintStep extends SpelExpressionInjectionAdditionalTaintStep { +private class DefaultSpelExpressionInjectionAdditionalTaintStep extends SpelExpressionInjectionAdditionalTaintStep +{ override predicate step(DataFlow::Node node1, DataFlow::Node node2) { expressionParsingStep(node1, node2) } diff --git a/java/ql/lib/semmle/code/java/security/TemplateInjection.qll b/java/ql/lib/semmle/code/java/security/TemplateInjection.qll index ce2bd9d217d..b8625556c7a 100644 --- a/java/ql/lib/semmle/code/java/security/TemplateInjection.qll +++ b/java/ql/lib/semmle/code/java/security/TemplateInjection.qll @@ -62,8 +62,8 @@ abstract class TemplateInjectionSanitizerWithState extends DataFlow::Node { abstract predicate hasState(DataFlow::FlowState state); } -private class DefaultTemplateInjectionSource extends TemplateInjectionSource instanceof RemoteFlowSource { -} +private class DefaultTemplateInjectionSource extends TemplateInjectionSource instanceof RemoteFlowSource +{ } private class DefaultTemplateInjectionSink extends TemplateInjectionSink { DefaultTemplateInjectionSink() { sinkNode(this, "ssti") } diff --git a/java/ql/lib/semmle/code/java/security/XSS.qll b/java/ql/lib/semmle/code/java/security/XSS.qll index fa94fe09cac..9d15d8edeb5 100644 --- a/java/ql/lib/semmle/code/java/security/XSS.qll +++ b/java/ql/lib/semmle/code/java/security/XSS.qll @@ -60,7 +60,8 @@ private class DefaultXssSanitizer extends XssSanitizer { } /** A configuration that tracks data from a servlet writer to an output method. */ -private class XssVulnerableWriterSourceToWritingMethodFlowConfig extends TaintTracking2::Configuration { +private class XssVulnerableWriterSourceToWritingMethodFlowConfig extends TaintTracking2::Configuration +{ XssVulnerableWriterSourceToWritingMethodFlowConfig() { this = "XSS::XssVulnerableWriterSourceToWritingMethodFlowConfig" } diff --git a/java/ql/lib/semmle/code/java/security/XmlParsers.qll b/java/ql/lib/semmle/code/java/security/XmlParsers.qll index 5882677c27d..8cdf962584d 100644 --- a/java/ql/lib/semmle/code/java/security/XmlParsers.qll +++ b/java/ql/lib/semmle/code/java/security/XmlParsers.qll @@ -198,7 +198,8 @@ private class DocumentBuilderConstruction extends MethodAccess { } } -private class SafeDocumentBuilderFactoryToDocumentBuilderConstructionFlowConfig extends DataFlow3::Configuration { +private class SafeDocumentBuilderFactoryToDocumentBuilderConstructionFlowConfig extends DataFlow3::Configuration +{ SafeDocumentBuilderFactoryToDocumentBuilderConstructionFlowConfig() { this = "XmlParsers::SafeDocumentBuilderFactoryToDocumentBuilderConstructionFlowConfig" } diff --git a/java/ql/lib/semmle/code/java/security/XsltInjectionQuery.qll b/java/ql/lib/semmle/code/java/security/XsltInjectionQuery.qll index 34e533c0040..3cfe91f7408 100644 --- a/java/ql/lib/semmle/code/java/security/XsltInjectionQuery.qll +++ b/java/ql/lib/semmle/code/java/security/XsltInjectionQuery.qll @@ -55,7 +55,8 @@ private predicate newTransformerOrTemplatesStep(DataFlow::Node n1, DataFlow::Nod /** * A data flow configuration for secure processing feature that is enabled on `TransformerFactory`. */ -private class TransformerFactoryWithSecureProcessingFeatureFlowConfig extends DataFlow2::Configuration { +private class TransformerFactoryWithSecureProcessingFeatureFlowConfig extends DataFlow2::Configuration +{ TransformerFactoryWithSecureProcessingFeatureFlowConfig() { this = "TransformerFactoryWithSecureProcessingFeatureFlowConfig" } diff --git a/java/ql/src/Security/CWE/CWE-113/NettyResponseSplitting.ql b/java/ql/src/Security/CWE/CWE-113/NettyResponseSplitting.ql index 35b85788221..7376aa51e58 100644 --- a/java/ql/src/Security/CWE/CWE-113/NettyResponseSplitting.ql +++ b/java/ql/src/Security/CWE/CWE-113/NettyResponseSplitting.ql @@ -27,25 +27,29 @@ abstract private class InsecureNettyObjectCreation extends ClassInstanceExpr { abstract string splittingType(); } -abstract private class RequestOrResponseSplittingInsecureNettyObjectCreation extends InsecureNettyObjectCreation { +abstract private class RequestOrResponseSplittingInsecureNettyObjectCreation extends InsecureNettyObjectCreation +{ override string splittingType() { result = "Request splitting or response splitting" } } /** * Request splitting can allowing an attacker to inject/smuggle an additional HTTP request into the socket connection. */ -abstract private class RequestSplittingInsecureNettyObjectCreation extends InsecureNettyObjectCreation { +abstract private class RequestSplittingInsecureNettyObjectCreation extends InsecureNettyObjectCreation +{ override string splittingType() { result = "Request splitting" } } /** * Response splitting can lead to HTTP vulnerabilities like XSS and cache poisoning. */ -abstract private class ResponseSplittingInsecureNettyObjectCreation extends InsecureNettyObjectCreation { +abstract private class ResponseSplittingInsecureNettyObjectCreation extends InsecureNettyObjectCreation +{ override string splittingType() { result = "Response splitting" } } -private class InsecureDefaultHttpHeadersClassInstantiation extends RequestOrResponseSplittingInsecureNettyObjectCreation { +private class InsecureDefaultHttpHeadersClassInstantiation extends RequestOrResponseSplittingInsecureNettyObjectCreation +{ InsecureDefaultHttpHeadersClassInstantiation() { this.getConstructedType() .hasQualifiedName("io.netty.handler.codec.http", @@ -54,21 +58,24 @@ private class InsecureDefaultHttpHeadersClassInstantiation extends RequestOrResp } } -private class InsecureDefaultHttpResponseClassInstantiation extends ResponseSplittingInsecureNettyObjectCreation { +private class InsecureDefaultHttpResponseClassInstantiation extends ResponseSplittingInsecureNettyObjectCreation +{ InsecureDefaultHttpResponseClassInstantiation() { this.getConstructedType().hasQualifiedName("io.netty.handler.codec.http", "DefaultHttpResponse") and vulnerableArgumentIndex = 2 } } -private class InsecureDefaultHttpRequestClassInstantiation extends RequestSplittingInsecureNettyObjectCreation { +private class InsecureDefaultHttpRequestClassInstantiation extends RequestSplittingInsecureNettyObjectCreation +{ InsecureDefaultHttpRequestClassInstantiation() { this.getConstructedType().hasQualifiedName("io.netty.handler.codec.http", "DefaultHttpRequest") and vulnerableArgumentIndex = 3 } } -private class InsecureDefaultFullHttpResponseClassInstantiation extends ResponseSplittingInsecureNettyObjectCreation { +private class InsecureDefaultFullHttpResponseClassInstantiation extends ResponseSplittingInsecureNettyObjectCreation +{ InsecureDefaultFullHttpResponseClassInstantiation() { this.getConstructedType() .hasQualifiedName("io.netty.handler.codec.http", "DefaultFullHttpResponse") and @@ -76,7 +83,8 @@ private class InsecureDefaultFullHttpResponseClassInstantiation extends Response } } -private class InsecureDefaultFullHttpRequestClassInstantiation extends RequestSplittingInsecureNettyObjectCreation { +private class InsecureDefaultFullHttpRequestClassInstantiation extends RequestSplittingInsecureNettyObjectCreation +{ InsecureDefaultFullHttpRequestClassInstantiation() { this.getConstructedType() .hasQualifiedName("io.netty.handler.codec.http", "DefaultFullHttpRequest") and diff --git a/java/ql/src/experimental/Security/CWE/CWE-348/ClientSuppliedIpUsedInSecurityCheckLib.qll b/java/ql/src/experimental/Security/CWE/CWE-348/ClientSuppliedIpUsedInSecurityCheckLib.qll index 39d27be133b..0e3d11420ba 100644 --- a/java/ql/src/experimental/Security/CWE/CWE-348/ClientSuppliedIpUsedInSecurityCheckLib.qll +++ b/java/ql/src/experimental/Security/CWE/CWE-348/ClientSuppliedIpUsedInSecurityCheckLib.qll @@ -81,8 +81,8 @@ private class CompareSink extends ClientSuppliedIpUsedInSecurityCheckSink { } /** A data flow sink for sql operation. */ -private class SqlOperationSink extends ClientSuppliedIpUsedInSecurityCheckSink instanceof QueryInjectionSink { -} +private class SqlOperationSink extends ClientSuppliedIpUsedInSecurityCheckSink instanceof QueryInjectionSink +{ } /** A method that split string. */ class SplitMethod extends Method { From 5ad7ed49dd3de03ec6dcfcb6848758a6a987e11c Mon Sep 17 00:00:00 2001 From: Anders Schack-Mulligen Date: Fri, 17 Feb 2023 12:20:25 +0100 Subject: [PATCH 136/145] C#: Autoformat --- csharp/ql/lib/semmle/code/cil/Method.qll | 3 +- csharp/ql/lib/semmle/code/cil/Types.qll | 3 +- csharp/ql/lib/semmle/code/csharp/Property.qll | 6 ++- csharp/ql/lib/semmle/code/csharp/Variable.qll | 6 ++- .../semmle/code/csharp/commons/Assertions.qll | 6 ++- .../code/csharp/dataflow/FlowSummary.qll | 3 +- .../lib/semmle/code/csharp/dataflow/SSA.qll | 6 ++- .../dataflow/internal/DataFlowPrivate.qll | 6 ++- .../semmle/code/csharp/dispatch/Dispatch.qll | 21 ++++++---- .../lib/semmle/code/csharp/exprs/Dynamic.qll | 3 +- .../csharp/frameworks/EntityFramework.qll | 3 +- .../csharp/frameworks/system/Diagnostics.qll | 3 +- .../frameworks/system/collections/Generic.qll | 27 ++++++++---- .../system/collections/Specialized.qll | 3 +- .../system/runtime/CompilerServices.qll | 9 ++-- .../cryptography/X509Certificates.qll | 3 +- .../dataflow/UnsafeDeserializationQuery.qll | 33 ++++++++++----- .../security/dataflow/flowsources/Remote.qll | 3 +- .../JsonWebTokenHandlerLib.qll | 6 ++- .../backdoor/PotentialTimeBomb.ql | 9 ++-- .../experimental/ir/implementation/Opcode.qll | 39 +++++++++++------ .../raw/internal/TranslatedCondition.qll | 6 ++- .../raw/internal/TranslatedDeclaration.qll | 3 +- .../raw/internal/TranslatedExpr.qll | 6 ++- .../raw/internal/TranslatedInitialization.qll | 9 ++-- .../raw/internal/desugar/Common.qll | 3 +- .../raw/internal/desugar/Delegate.qll | 6 ++- .../raw/internal/desugar/Foreach.qll | 39 +++++++++++------ .../raw/internal/desugar/Lock.qll | 42 ++++++++++++------- .../TranslatedCompilerGeneratedCall.qll | 3 +- .../TranslatedCompilerGeneratedCondition.qll | 3 +- ...TranslatedCompilerGeneratedDeclaration.qll | 3 +- .../TranslatedCompilerGeneratedElement.qll | 3 +- .../TranslatedCompilerGeneratedExpr.qll | 3 +- .../dataflow/library/FlowSummaries.ql | 3 +- .../dataflow/library/FlowSummariesFiltered.ql | 3 +- .../EntityFramework/FlowSummaries.ql | 4 +- 37 files changed, 226 insertions(+), 114 deletions(-) diff --git a/csharp/ql/lib/semmle/code/cil/Method.qll b/csharp/ql/lib/semmle/code/cil/Method.qll index 4ba193fb01f..08abb9f41c7 100644 --- a/csharp/ql/lib/semmle/code/cil/Method.qll +++ b/csharp/ql/lib/semmle/code/cil/Method.qll @@ -67,7 +67,8 @@ class MethodImplementation extends EntryPoint, @cil_method_implementation { * destructors, operators, accessors and so on. */ class Method extends DotNet::Callable, Element, Member, TypeContainer, DataFlowNode, - CustomModifierReceiver, Parameterizable, @cil_method { + CustomModifierReceiver, Parameterizable, @cil_method +{ /** * Gets a method implementation, if any. Note that there can * be several implementations in different assemblies. diff --git a/csharp/ql/lib/semmle/code/cil/Types.qll b/csharp/ql/lib/semmle/code/cil/Types.qll index 32efaf193ad..0e41fe748f4 100644 --- a/csharp/ql/lib/semmle/code/cil/Types.qll +++ b/csharp/ql/lib/semmle/code/cil/Types.qll @@ -302,7 +302,8 @@ class SystemType extends ValueOrRefType { * ``` */ class FunctionPointerType extends Type, CustomModifierReceiver, Parameterizable, - @cil_function_pointer_type { + @cil_function_pointer_type +{ /** Gets the return type of this function pointer. */ Type getReturnType() { cil_function_pointer_return_type(this, result) } diff --git a/csharp/ql/lib/semmle/code/csharp/Property.qll b/csharp/ql/lib/semmle/code/csharp/Property.qll index 94aecf65637..15c707321c8 100644 --- a/csharp/ql/lib/semmle/code/csharp/Property.qll +++ b/csharp/ql/lib/semmle/code/csharp/Property.qll @@ -15,7 +15,8 @@ private import TypeRef * (`Property`), or an indexer (`Indexer`). */ class DeclarationWithAccessors extends AssignableMember, Virtualizable, Attributable, - @declaration_with_accessors { + @declaration_with_accessors +{ /** Gets an accessor of this declaration. */ Accessor getAnAccessor() { result.getDeclaration() = this } @@ -49,7 +50,8 @@ class DeclarationWithAccessors extends AssignableMember, Virtualizable, Attribut * property (`Property`) or an indexer (`Indexer`). */ class DeclarationWithGetSetAccessors extends DeclarationWithAccessors, TopLevelExprParent, - @assignable_with_accessors { + @assignable_with_accessors +{ /** Gets the `get` accessor of this declaration, if any. */ Getter getGetter() { result = this.getAnAccessor() } diff --git a/csharp/ql/lib/semmle/code/csharp/Variable.qll b/csharp/ql/lib/semmle/code/csharp/Variable.qll index e5ccba59794..13254c90867 100644 --- a/csharp/ql/lib/semmle/code/csharp/Variable.qll +++ b/csharp/ql/lib/semmle/code/csharp/Variable.qll @@ -90,7 +90,8 @@ class LocalScopeVariable extends Variable, @local_scope_variable { * ``` */ class Parameter extends DotNet::Parameter, LocalScopeVariable, Attributable, TopLevelExprParent, - @parameter { + @parameter +{ /** * Gets the position of this parameter. For example, the position of `x` is * 0 and the position of `y` is 1 in @@ -376,7 +377,8 @@ class LocalConstant extends LocalVariable, @local_constant { * ``` */ class Field extends Variable, AssignableMember, Attributable, TopLevelExprParent, DotNet::Field, - @field { + @field +{ /** * Gets the initial value of this field, if any. For example, the initial * value of `F` on line 2 is `20` in diff --git a/csharp/ql/lib/semmle/code/csharp/commons/Assertions.qll b/csharp/ql/lib/semmle/code/csharp/commons/Assertions.qll index f35b10ac934..a73b3f9c52e 100644 --- a/csharp/ql/lib/semmle/code/csharp/commons/Assertions.qll +++ b/csharp/ql/lib/semmle/code/csharp/commons/Assertions.qll @@ -172,7 +172,8 @@ private predicate isDoesNotReturnIfAttributeParameter(Parameter p, boolean value * A method with a parameter that is annotated with * `System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(false)`. */ -class SystemDiagnosticsCodeAnalysisDoesNotReturnIfAnnotatedAssertTrueMethod extends BooleanAssertMethod { +class SystemDiagnosticsCodeAnalysisDoesNotReturnIfAnnotatedAssertTrueMethod extends BooleanAssertMethod +{ private int i_; SystemDiagnosticsCodeAnalysisDoesNotReturnIfAnnotatedAssertTrueMethod() { @@ -190,7 +191,8 @@ class SystemDiagnosticsCodeAnalysisDoesNotReturnIfAnnotatedAssertTrueMethod exte * A method with a parameter that is annotated with * `System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(true)`. */ -class SystemDiagnosticsCodeAnalysisDoesNotReturnIfAnnotatedAssertFalseMethod extends BooleanAssertMethod { +class SystemDiagnosticsCodeAnalysisDoesNotReturnIfAnnotatedAssertFalseMethod extends BooleanAssertMethod +{ private int i_; SystemDiagnosticsCodeAnalysisDoesNotReturnIfAnnotatedAssertFalseMethod() { diff --git a/csharp/ql/lib/semmle/code/csharp/dataflow/FlowSummary.qll b/csharp/ql/lib/semmle/code/csharp/dataflow/FlowSummary.qll index 65b63958cb9..0fcbe39c462 100644 --- a/csharp/ql/lib/semmle/code/csharp/dataflow/FlowSummary.qll +++ b/csharp/ql/lib/semmle/code/csharp/dataflow/FlowSummary.qll @@ -143,7 +143,8 @@ private class RecordConstructorFlow extends SummarizedCallable { class RequiredSummaryComponentStack = Impl::Public::RequiredSummaryComponentStack; -private class RecordConstructorFlowRequiredSummaryComponentStack extends RequiredSummaryComponentStack { +private class RecordConstructorFlowRequiredSummaryComponentStack extends RequiredSummaryComponentStack +{ override predicate required(SummaryComponent head, SummaryComponentStack tail) { exists(Property p | recordConstructorFlow(_, _, p) and diff --git a/csharp/ql/lib/semmle/code/csharp/dataflow/SSA.qll b/csharp/ql/lib/semmle/code/csharp/dataflow/SSA.qll index 8764da0a784..e692721f058 100644 --- a/csharp/ql/lib/semmle/code/csharp/dataflow/SSA.qll +++ b/csharp/ql/lib/semmle/code/csharp/dataflow/SSA.qll @@ -110,7 +110,8 @@ module Ssa { /** A plain field or property. */ class PlainFieldOrPropSourceVariable extends FieldOrPropSourceVariable, - SsaImpl::TPlainFieldOrProp { + SsaImpl::TPlainFieldOrProp + { override Callable getEnclosingCallable() { this = SsaImpl::TPlainFieldOrProp(result, _) } override string toString() { @@ -127,7 +128,8 @@ module Ssa { /** A qualified field or property. */ class QualifiedFieldOrPropSourceVariable extends FieldOrPropSourceVariable, - SsaImpl::TQualifiedFieldOrProp { + SsaImpl::TQualifiedFieldOrProp + { override Callable getEnclosingCallable() { this = SsaImpl::TQualifiedFieldOrProp(result, _, _) } diff --git a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll index 4edd6dd79bb..a7fc72d0c17 100644 --- a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll +++ b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll @@ -1215,7 +1215,8 @@ private module ArgumentNodes { * ``` */ class ImplicitCapturedArgumentNode extends ArgumentNodeImpl, NodeImpl, - TImplicitCapturedArgumentNode { + TImplicitCapturedArgumentNode + { private LocalScopeVariable v; private ControlFlow::Nodes::ElementNode cfn; @@ -2034,7 +2035,8 @@ private module PostUpdateNodes { * a pre-update node for the `ObjectCreationNode`. */ class ObjectInitializerNode extends PostUpdateNode, NodeImpl, ArgumentNodeImpl, - TObjectInitializerNode { + TObjectInitializerNode + { private ObjectCreation oc; private ControlFlow::Nodes::ElementNode cfn; diff --git a/csharp/ql/lib/semmle/code/csharp/dispatch/Dispatch.qll b/csharp/ql/lib/semmle/code/csharp/dispatch/Dispatch.qll index 4d994ed2afb..c50ec8dfb21 100644 --- a/csharp/ql/lib/semmle/code/csharp/dispatch/Dispatch.qll +++ b/csharp/ql/lib/semmle/code/csharp/dispatch/Dispatch.qll @@ -1115,7 +1115,8 @@ private module Internal { /** A call using reflection. */ private class DispatchReflectionCall extends DispatchReflectionOrDynamicCall, - TDispatchReflectionCall { + TDispatchReflectionCall + { override MethodCall getCall() { this = TDispatchReflectionCall(result, _, _, _, _) } override string getName() { this = TDispatchReflectionCall(_, result, _, _, _) } @@ -1163,7 +1164,8 @@ private module Internal { /** A method call using dynamic types. */ private class DispatchDynamicMethodCall extends DispatchReflectionOrDynamicCall, - TDispatchDynamicMethodCall { + TDispatchDynamicMethodCall + { override DynamicMethodCall getCall() { this = TDispatchDynamicMethodCall(result) } override string getName() { result = this.getCall().getLateBoundTargetName() } @@ -1184,7 +1186,8 @@ private module Internal { /** An operator call using dynamic types. */ private class DispatchDynamicOperatorCall extends DispatchReflectionOrDynamicCall, - TDispatchDynamicOperatorCall { + TDispatchDynamicOperatorCall + { override DynamicOperatorCall getCall() { this = TDispatchDynamicOperatorCall(result) } override string getName() { @@ -1201,7 +1204,8 @@ private module Internal { /** A (potential) call to a property accessor using dynamic types. */ private class DispatchDynamicMemberAccess extends DispatchReflectionOrDynamicCall, - TDispatchDynamicMemberAccess { + TDispatchDynamicMemberAccess + { override DynamicMemberAccess getCall() { this = TDispatchDynamicMemberAccess(result) } override string getName() { @@ -1225,7 +1229,8 @@ private module Internal { /** A (potential) call to an indexer accessor using dynamic types. */ private class DispatchDynamicElementAccess extends DispatchReflectionOrDynamicCall, - TDispatchDynamicElementAccess { + TDispatchDynamicElementAccess + { override DynamicElementAccess getCall() { this = TDispatchDynamicElementAccess(result) } override string getName() { @@ -1251,7 +1256,8 @@ private module Internal { /** A (potential) call to an event accessor using dynamic types. */ private class DispatchDynamicEventAccess extends DispatchReflectionOrDynamicCall, - TDispatchDynamicEventAccess { + TDispatchDynamicEventAccess + { override AssignArithmeticOperation getCall() { this = TDispatchDynamicEventAccess(result, _, _) } @@ -1268,7 +1274,8 @@ private module Internal { /** A call to a constructor using dynamic types. */ private class DispatchDynamicObjectCreation extends DispatchReflectionOrDynamicCall, - TDispatchDynamicObjectCreation { + TDispatchDynamicObjectCreation + { override DynamicObjectCreation getCall() { this = TDispatchDynamicObjectCreation(result) } override string getName() { none() } diff --git a/csharp/ql/lib/semmle/code/csharp/exprs/Dynamic.qll b/csharp/ql/lib/semmle/code/csharp/exprs/Dynamic.qll index eda31432f38..04ea9f062a5 100644 --- a/csharp/ql/lib/semmle/code/csharp/exprs/Dynamic.qll +++ b/csharp/ql/lib/semmle/code/csharp/exprs/Dynamic.qll @@ -190,7 +190,8 @@ class DynamicAccess extends DynamicExpr { * property, or an event). */ class DynamicMemberAccess extends DynamicAccess, MemberAccess, AssignableAccess, - @dynamic_member_access_expr { + @dynamic_member_access_expr +{ override string toString() { result = "dynamic access to member " + this.getLateBoundTargetName() } diff --git a/csharp/ql/lib/semmle/code/csharp/frameworks/EntityFramework.qll b/csharp/ql/lib/semmle/code/csharp/frameworks/EntityFramework.qll index c35db06d214..77022bc4ab3 100644 --- a/csharp/ql/lib/semmle/code/csharp/frameworks/EntityFramework.qll +++ b/csharp/ql/lib/semmle/code/csharp/frameworks/EntityFramework.qll @@ -432,7 +432,8 @@ module EntityFramework { } } - private class DbContextSaveChangesRequiredSummaryComponentStack extends RequiredSummaryComponentStack { + private class DbContextSaveChangesRequiredSummaryComponentStack extends RequiredSummaryComponentStack + { override predicate required(SummaryComponent head, SummaryComponentStack tail) { exists(Content c | head = SummaryComponent::content(c) | any(DbContextClass cls).requiresComponentStackIn(c, _, tail, _) diff --git a/csharp/ql/lib/semmle/code/csharp/frameworks/system/Diagnostics.qll b/csharp/ql/lib/semmle/code/csharp/frameworks/system/Diagnostics.qll index 81a620c9e7c..14d7497ec33 100644 --- a/csharp/ql/lib/semmle/code/csharp/frameworks/system/Diagnostics.qll +++ b/csharp/ql/lib/semmle/code/csharp/frameworks/system/Diagnostics.qll @@ -74,7 +74,8 @@ class SystemDiagnosticsProcessClass extends SystemDiagnosticsClass { } /** The `System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute` class. */ -class SystemDiagnosticsCodeAnalysisDoesNotReturnIfAttributeClass extends SystemDiagnosticsCodeAnalysisClass { +class SystemDiagnosticsCodeAnalysisDoesNotReturnIfAttributeClass extends SystemDiagnosticsCodeAnalysisClass +{ SystemDiagnosticsCodeAnalysisDoesNotReturnIfAttributeClass() { this.hasName("DoesNotReturnIfAttribute") } diff --git a/csharp/ql/lib/semmle/code/csharp/frameworks/system/collections/Generic.qll b/csharp/ql/lib/semmle/code/csharp/frameworks/system/collections/Generic.qll index 260fe6d0318..bc1b514e0d1 100644 --- a/csharp/ql/lib/semmle/code/csharp/frameworks/system/collections/Generic.qll +++ b/csharp/ql/lib/semmle/code/csharp/frameworks/system/collections/Generic.qll @@ -33,7 +33,8 @@ class SystemCollectionsGenericUnboundGenericStruct extends UnboundGenericStruct } /** The `System.Collections.Generic.IComparer<>` interface. */ -class SystemCollectionsGenericIComparerTInterface extends SystemCollectionsGenericUnboundGenericInterface { +class SystemCollectionsGenericIComparerTInterface extends SystemCollectionsGenericUnboundGenericInterface +{ SystemCollectionsGenericIComparerTInterface() { this.hasName("IComparer<>") } /** Gets the `int Compare(T, T)` method. */ @@ -48,7 +49,8 @@ class SystemCollectionsGenericIComparerTInterface extends SystemCollectionsGener } /** The `System.Collections.Generic.IEqualityComparer<>` interface. */ -class SystemCollectionsGenericIEqualityComparerTInterface extends SystemCollectionsGenericUnboundGenericInterface { +class SystemCollectionsGenericIEqualityComparerTInterface extends SystemCollectionsGenericUnboundGenericInterface +{ SystemCollectionsGenericIEqualityComparerTInterface() { this.hasName("IEqualityComparer<>") } /** Gets the `bool Equals(T, T)` method. */ @@ -63,7 +65,8 @@ class SystemCollectionsGenericIEqualityComparerTInterface extends SystemCollecti } /** The `System.Collections.Generic.IEnumerable<>` interface. */ -class SystemCollectionsGenericIEnumerableTInterface extends SystemCollectionsGenericUnboundGenericInterface { +class SystemCollectionsGenericIEnumerableTInterface extends SystemCollectionsGenericUnboundGenericInterface +{ SystemCollectionsGenericIEnumerableTInterface() { this.hasName("IEnumerable<>") and this.getNumberOfTypeParameters() = 1 @@ -71,7 +74,8 @@ class SystemCollectionsGenericIEnumerableTInterface extends SystemCollectionsGen } /** The `System.Collections.Generic.IEnumerator<>` interface. */ -class SystemCollectionsGenericIEnumeratorInterface extends SystemCollectionsGenericUnboundGenericInterface { +class SystemCollectionsGenericIEnumeratorInterface extends SystemCollectionsGenericUnboundGenericInterface +{ SystemCollectionsGenericIEnumeratorInterface() { this.hasName("IEnumerator<>") and this.getNumberOfTypeParameters() = 1 @@ -86,7 +90,8 @@ class SystemCollectionsGenericIEnumeratorInterface extends SystemCollectionsGene } /** The `System.Collections.Generic.IList<>` interface. */ -class SystemCollectionsGenericIListTInterface extends SystemCollectionsGenericUnboundGenericInterface { +class SystemCollectionsGenericIListTInterface extends SystemCollectionsGenericUnboundGenericInterface +{ SystemCollectionsGenericIListTInterface() { this.hasName("IList<>") and this.getNumberOfTypeParameters() = 1 @@ -102,7 +107,8 @@ class SystemCollectionsGenericListClass extends SystemCollectionsGenericUnboundG } /** The `System.Collections.Generic.KeyValuePair<,>` structure. */ -class SystemCollectionsGenericKeyValuePairStruct extends SystemCollectionsGenericUnboundGenericStruct { +class SystemCollectionsGenericKeyValuePairStruct extends SystemCollectionsGenericUnboundGenericStruct +{ SystemCollectionsGenericKeyValuePairStruct() { this.hasName("KeyValuePair<,>") and this.getNumberOfTypeParameters() = 2 @@ -124,7 +130,8 @@ class SystemCollectionsGenericKeyValuePairStruct extends SystemCollectionsGeneri } /** The `System.Collections.Generic.ICollection<>` interface. */ -class SystemCollectionsGenericICollectionInterface extends SystemCollectionsGenericUnboundGenericInterface { +class SystemCollectionsGenericICollectionInterface extends SystemCollectionsGenericUnboundGenericInterface +{ SystemCollectionsGenericICollectionInterface() { this.hasName("ICollection<>") } /** Gets the `Count` property. */ @@ -138,12 +145,14 @@ class SystemCollectionsGenericICollectionInterface extends SystemCollectionsGene } /** The `System.Collections.Generic.IList<>` interface. */ -class SystemCollectionsGenericIListInterface extends SystemCollectionsGenericUnboundGenericInterface { +class SystemCollectionsGenericIListInterface extends SystemCollectionsGenericUnboundGenericInterface +{ SystemCollectionsGenericIListInterface() { this.hasName("IList<>") } } /** The `System.Collections.Generic.IDictionary<>` interface. */ -class SystemCollectionsGenericIDictionaryInterface extends SystemCollectionsGenericUnboundGenericInterface { +class SystemCollectionsGenericIDictionaryInterface extends SystemCollectionsGenericUnboundGenericInterface +{ SystemCollectionsGenericIDictionaryInterface() { this.hasName("IDictionary<,>") and this.getNumberOfTypeParameters() = 2 diff --git a/csharp/ql/lib/semmle/code/csharp/frameworks/system/collections/Specialized.qll b/csharp/ql/lib/semmle/code/csharp/frameworks/system/collections/Specialized.qll index 2ddac761c4b..07ec6b1213c 100644 --- a/csharp/ql/lib/semmle/code/csharp/frameworks/system/collections/Specialized.qll +++ b/csharp/ql/lib/semmle/code/csharp/frameworks/system/collections/Specialized.qll @@ -19,6 +19,7 @@ class SystemCollectionsSpecializedClass extends Class { } /** The `System.Collections.Specialized.NameValueCollection` class. */ -class SystemCollectionsSpecializedNameValueCollectionClass extends SystemCollectionsSpecializedClass { +class SystemCollectionsSpecializedNameValueCollectionClass extends SystemCollectionsSpecializedClass +{ SystemCollectionsSpecializedNameValueCollectionClass() { this.hasName("NameValueCollection") } } diff --git a/csharp/ql/lib/semmle/code/csharp/frameworks/system/runtime/CompilerServices.qll b/csharp/ql/lib/semmle/code/csharp/frameworks/system/runtime/CompilerServices.qll index 9ae5ec90b24..f8d6139d30d 100644 --- a/csharp/ql/lib/semmle/code/csharp/frameworks/system/runtime/CompilerServices.qll +++ b/csharp/ql/lib/semmle/code/csharp/frameworks/system/runtime/CompilerServices.qll @@ -20,7 +20,8 @@ class SystemRuntimeCompilerServicesNamespaceUnboundGenericStruct extends Unbound } /** The `System.Runtime.CompilerServices.TaskAwaiter<>` struct. */ -class SystemRuntimeCompilerServicesTaskAwaiterStruct extends SystemRuntimeCompilerServicesNamespaceUnboundGenericStruct { +class SystemRuntimeCompilerServicesTaskAwaiterStruct extends SystemRuntimeCompilerServicesNamespaceUnboundGenericStruct +{ SystemRuntimeCompilerServicesTaskAwaiterStruct() { this.hasName("TaskAwaiter<>") } /** Gets the `GetResult` method. */ @@ -31,7 +32,8 @@ class SystemRuntimeCompilerServicesTaskAwaiterStruct extends SystemRuntimeCompil } /** The `System.Runtime.CompilerServices.ConfiguredTaskAwaitable<>` struct. */ -class SystemRuntimeCompilerServicesConfiguredTaskAwaitableTStruct extends SystemRuntimeCompilerServicesNamespaceUnboundGenericStruct { +class SystemRuntimeCompilerServicesConfiguredTaskAwaitableTStruct extends SystemRuntimeCompilerServicesNamespaceUnboundGenericStruct +{ SystemRuntimeCompilerServicesConfiguredTaskAwaitableTStruct() { this.hasName("ConfiguredTaskAwaitable<>") } @@ -55,7 +57,8 @@ private class SyntheticConfiguredTaskAwaiterField extends SyntheticField { } /** The `System.Runtime.CompilerServices.ConfiguredTaskAwaitable<>.ConfiguredTaskAwaiter` struct. */ -class SystemRuntimeCompilerServicesConfiguredTaskAwaitableTConfiguredTaskAwaiterStruct extends Struct { +class SystemRuntimeCompilerServicesConfiguredTaskAwaitableTConfiguredTaskAwaiterStruct extends Struct +{ SystemRuntimeCompilerServicesConfiguredTaskAwaitableTConfiguredTaskAwaiterStruct() { this = any(SystemRuntimeCompilerServicesConfiguredTaskAwaitableTStruct n).getANestedType() and this.hasName("ConfiguredTaskAwaiter") diff --git a/csharp/ql/lib/semmle/code/csharp/frameworks/system/security/cryptography/X509Certificates.qll b/csharp/ql/lib/semmle/code/csharp/frameworks/system/security/cryptography/X509Certificates.qll index 54cc8d11864..5e7bcd2b5d7 100644 --- a/csharp/ql/lib/semmle/code/csharp/frameworks/system/security/cryptography/X509Certificates.qll +++ b/csharp/ql/lib/semmle/code/csharp/frameworks/system/security/cryptography/X509Certificates.qll @@ -22,7 +22,8 @@ class SystemSecurityCryptographyX509CertificatesClass extends Class { * The `X509Certificate` or `X509Certificate2` class in the namespace * `System.Security.Cryptography.X509Certificates`. */ -class SystemSecurityCryptographyX509CertificatesX509CertificateClass extends SystemSecurityCryptographyX509CertificatesClass { +class SystemSecurityCryptographyX509CertificatesX509CertificateClass extends SystemSecurityCryptographyX509CertificatesClass +{ SystemSecurityCryptographyX509CertificatesX509CertificateClass() { this.hasName("X509Certificate") or this.hasName("X509Certificate2") diff --git a/csharp/ql/lib/semmle/code/csharp/security/dataflow/UnsafeDeserializationQuery.qll b/csharp/ql/lib/semmle/code/csharp/security/dataflow/UnsafeDeserializationQuery.qll index 9f1deaa3854..3ccc1f64fd4 100644 --- a/csharp/ql/lib/semmle/code/csharp/security/dataflow/UnsafeDeserializationQuery.qll +++ b/csharp/ql/lib/semmle/code/csharp/security/dataflow/UnsafeDeserializationQuery.qll @@ -299,7 +299,8 @@ private predicate isDataContractJsonSerializerCall(MethodCall mc, Method m) { abstract private class DataContractJsonSerializerSink extends InstanceMethodSink { } -private class DataContractJsonSerializerDeserializeMethodSink extends DataContractJsonSerializerSink { +private class DataContractJsonSerializerDeserializeMethodSink extends DataContractJsonSerializerSink +{ DataContractJsonSerializerDeserializeMethodSink() { exists(MethodCall mc | isDataContractJsonSerializerCall(mc, _) and @@ -308,7 +309,8 @@ private class DataContractJsonSerializerDeserializeMethodSink extends DataContra } } -private class DataContractJsonSafeConstructorTrackingConfiguration extends SafeConstructorTrackingConfig { +private class DataContractJsonSafeConstructorTrackingConfiguration extends SafeConstructorTrackingConfig +{ DataContractJsonSafeConstructorTrackingConfiguration() { this = "DataContractJsonSafeConstructorTrackingConfiguration" } @@ -357,7 +359,8 @@ private class JavaScriptSerializerDeserializeMethodSink extends JavaScriptSerial } } -private class JavaScriptSerializerSafeConstructorTrackingConfiguration extends SafeConstructorTrackingConfig { +private class JavaScriptSerializerSafeConstructorTrackingConfiguration extends SafeConstructorTrackingConfig +{ JavaScriptSerializerSafeConstructorTrackingConfiguration() { this = "JavaScriptSerializerSafeConstructorTrackingConfiguration" } @@ -400,7 +403,8 @@ private class XmlObjectSerializerDeserializeMethodSink extends XmlObjectSerializ } } -private class XmlObjectSerializerDerivedConstructorTrackingConfiguration extends SafeConstructorTrackingConfig { +private class XmlObjectSerializerDerivedConstructorTrackingConfiguration extends SafeConstructorTrackingConfig +{ XmlObjectSerializerDerivedConstructorTrackingConfiguration() { this = "XmlObjectSerializerDerivedConstructorTrackingConfiguration" } @@ -445,7 +449,8 @@ private class XmlSerializerDeserializeMethodSink extends XmlSerializerSink { } } -private class XmlSerializerSafeConstructorTrackingConfiguration extends SafeConstructorTrackingConfig { +private class XmlSerializerSafeConstructorTrackingConfiguration extends SafeConstructorTrackingConfig +{ XmlSerializerSafeConstructorTrackingConfiguration() { this = "XmlSerializerSafeConstructorTrackingConfiguration" } @@ -492,7 +497,8 @@ private class DataContractSerializerDeserializeMethodSink extends DataContractSe } } -private class DataContractSerializerSafeConstructorTrackingConfiguration extends SafeConstructorTrackingConfig { +private class DataContractSerializerSafeConstructorTrackingConfiguration extends SafeConstructorTrackingConfig +{ DataContractSerializerSafeConstructorTrackingConfiguration() { this = "DataContractSerializerSafeConstructorTrackingConfiguration" } @@ -535,7 +541,8 @@ private class XmlMessageFormatterDeserializeMethodSink extends XmlMessageFormatt } } -private class XmlMessageFormatterSafeConstructorTrackingConfiguration extends SafeConstructorTrackingConfig { +private class XmlMessageFormatterSafeConstructorTrackingConfiguration extends SafeConstructorTrackingConfig +{ XmlMessageFormatterSafeConstructorTrackingConfiguration() { this = "XmlMessageFormatterSafeConstructorTrackingConfiguration" } @@ -717,7 +724,8 @@ private class SweetJaysonDeserializeMethodSink extends SweetJaysonSink { /** ServiceStack.Text.JsonSerializer */ abstract private class ServiceStackTextJsonSerializerSink extends ConstructorOrStaticMethodSink { } -private class ServiceStackTextJsonSerializerDeserializeMethodSink extends ServiceStackTextJsonSerializerSink { +private class ServiceStackTextJsonSerializerDeserializeMethodSink extends ServiceStackTextJsonSerializerSink +{ ServiceStackTextJsonSerializerDeserializeMethodSink() { exists(MethodCall mc, Method m | m = mc.getTarget() and @@ -741,7 +749,8 @@ private class ServiceStackTextJsonSerializerDeserializeMethodSink extends Servic /** ServiceStack.Text.TypeSerializer */ abstract private class ServiceStackTextTypeSerializerSink extends ConstructorOrStaticMethodSink { } -private class ServiceStackTextTypeSerializerDeserializeMethodSink extends ServiceStackTextTypeSerializerSink { +private class ServiceStackTextTypeSerializerDeserializeMethodSink extends ServiceStackTextTypeSerializerSink +{ ServiceStackTextTypeSerializerDeserializeMethodSink() { exists(MethodCall mc, Method m | m = mc.getTarget() and @@ -765,7 +774,8 @@ private class ServiceStackTextTypeSerializerDeserializeMethodSink extends Servic /** ServiceStack.Text.CsvSerializer */ abstract private class ServiceStackTextCsvSerializerSink extends ConstructorOrStaticMethodSink { } -private class ServiceStackTextCsvSerializerDeserializeMethodSink extends ServiceStackTextCsvSerializerSink { +private class ServiceStackTextCsvSerializerDeserializeMethodSink extends ServiceStackTextCsvSerializerSink +{ ServiceStackTextCsvSerializerDeserializeMethodSink() { exists(MethodCall mc, Method m | m = mc.getTarget() and @@ -789,7 +799,8 @@ private class ServiceStackTextCsvSerializerDeserializeMethodSink extends Service /** ServiceStack.Text.XmlSerializer */ abstract private class ServiceStackTextXmlSerializerSink extends ConstructorOrStaticMethodSink { } -private class ServiceStackTextXmlSerializerDeserializeMethodSink extends ServiceStackTextXmlSerializerSink { +private class ServiceStackTextXmlSerializerDeserializeMethodSink extends ServiceStackTextXmlSerializerSink +{ ServiceStackTextXmlSerializerDeserializeMethodSink() { exists(MethodCall mc, Method m | m = mc.getTarget() and diff --git a/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/Remote.qll b/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/Remote.qll index 6243074cf17..404730ac4c4 100644 --- a/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/Remote.qll +++ b/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/Remote.qll @@ -75,7 +75,8 @@ class AspNetQueryStringRemoteFlowSource extends AspNetRemoteFlowSource, DataFlow /** A data flow source of remote user input (ASP.NET unvalidated request data). */ class AspNetUnvalidatedQueryStringRemoteFlowSource extends AspNetRemoteFlowSource, - DataFlow::ExprNode { + DataFlow::ExprNode +{ AspNetUnvalidatedQueryStringRemoteFlowSource() { this.getExpr() = any(SystemWebUnvalidatedRequestValues c).getAProperty().getGetter().getACall() or this.getExpr() = diff --git a/csharp/ql/src/experimental/Security Features/JsonWebTokenHandler/JsonWebTokenHandlerLib.qll b/csharp/ql/src/experimental/Security Features/JsonWebTokenHandler/JsonWebTokenHandlerLib.qll index 636400ceb33..8b2c28a4a06 100644 --- a/csharp/ql/src/experimental/Security Features/JsonWebTokenHandler/JsonWebTokenHandlerLib.qll +++ b/csharp/ql/src/experimental/Security Features/JsonWebTokenHandler/JsonWebTokenHandlerLib.qll @@ -21,7 +21,8 @@ class TokenValidationParametersPropertySensitiveValidation extends Property { /** * A dataflow from a `false` value to a write sensitive property for `TokenValidationParameters`. */ -class FalseValueFlowsToTokenValidationParametersPropertyWriteToBypassValidation extends DataFlow::Configuration { +class FalseValueFlowsToTokenValidationParametersPropertyWriteToBypassValidation extends DataFlow::Configuration +{ FalseValueFlowsToTokenValidationParametersPropertyWriteToBypassValidation() { this = "FalseValueFlowsToTokenValidationParametersPropertyWriteToBypassValidation" } @@ -219,7 +220,8 @@ class CallableAlwaysReturnsParameter0 extends CallableReturnsStringAndArg0IsStri /** * A Callable that always return the 1st argument, both of `string` type. Higher precision */ -class CallableAlwaysReturnsParameter0MayThrowExceptions extends CallableReturnsStringAndArg0IsString { +class CallableAlwaysReturnsParameter0MayThrowExceptions extends CallableReturnsStringAndArg0IsString +{ CallableAlwaysReturnsParameter0MayThrowExceptions() { forex(Expr ret | this.canReturn(ret) | ret = this.getParameter(0).getAnAccess() diff --git a/csharp/ql/src/experimental/Security Features/backdoor/PotentialTimeBomb.ql b/csharp/ql/src/experimental/Security Features/backdoor/PotentialTimeBomb.ql index 7f1d48788db..d493bdd7e27 100644 --- a/csharp/ql/src/experimental/Security Features/backdoor/PotentialTimeBomb.ql +++ b/csharp/ql/src/experimental/Security Features/backdoor/PotentialTimeBomb.ql @@ -80,7 +80,8 @@ class DateTimeStruct extends Struct { /** * Dataflow configuration to find flow from a GetLastWriteTime source to a DateTime arithmetic operation */ -private class FlowsFromGetLastWriteTimeConfigToTimeSpanArithmeticCallable extends TaintTracking::Configuration { +private class FlowsFromGetLastWriteTimeConfigToTimeSpanArithmeticCallable extends TaintTracking::Configuration +{ FlowsFromGetLastWriteTimeConfigToTimeSpanArithmeticCallable() { this = "FlowsFromGetLastWriteTimeConfigToTimeSpanArithmeticCallable" } @@ -103,7 +104,8 @@ private class FlowsFromGetLastWriteTimeConfigToTimeSpanArithmeticCallable extend /** * Dataflow configuration to find flow from a DateTime arithmetic operation to a DateTime comparison operation */ -private class FlowsFromTimeSpanArithmeticToTimeComparisonCallable extends TaintTracking::Configuration { +private class FlowsFromTimeSpanArithmeticToTimeComparisonCallable extends TaintTracking::Configuration +{ FlowsFromTimeSpanArithmeticToTimeComparisonCallable() { this = "FlowsFromTimeSpanArithmeticToTimeComparisonCallable" } @@ -125,7 +127,8 @@ private class FlowsFromTimeSpanArithmeticToTimeComparisonCallable extends TaintT /** * Dataflow configuration to find flow from a DateTime comparison operation to a Selection Statement (such as an If) */ -private class FlowsFromTimeComparisonCallableToSelectionStatementCondition extends TaintTracking::Configuration { +private class FlowsFromTimeComparisonCallableToSelectionStatementCondition extends TaintTracking::Configuration +{ FlowsFromTimeComparisonCallableToSelectionStatementCondition() { this = "FlowsFromTimeComparisonCallableToSelectionStatementCondition" } diff --git a/csharp/ql/src/experimental/ir/implementation/Opcode.qll b/csharp/ql/src/experimental/ir/implementation/Opcode.qll index b4def7fe4ae..7b064340ffe 100644 --- a/csharp/ql/src/experimental/ir/implementation/Opcode.qll +++ b/csharp/ql/src/experimental/ir/implementation/Opcode.qll @@ -1082,7 +1082,8 @@ module Opcode { * See the `CallSideEffectInstruction` documentation for more details. */ class CallSideEffect extends WriteSideEffectOpcode, EscapedWriteOpcode, MayWriteOpcode, - ReadSideEffectOpcode, EscapedReadOpcode, MayReadOpcode, TCallSideEffect { + ReadSideEffectOpcode, EscapedReadOpcode, MayReadOpcode, TCallSideEffect + { final override string toString() { result = "CallSideEffect" } } @@ -1092,7 +1093,8 @@ module Opcode { * See the `CallReadSideEffectInstruction` documentation for more details. */ class CallReadSideEffect extends ReadSideEffectOpcode, EscapedReadOpcode, MayReadOpcode, - TCallReadSideEffect { + TCallReadSideEffect + { final override string toString() { result = "CallReadSideEffect" } } @@ -1102,7 +1104,8 @@ module Opcode { * See the `IndirectReadSideEffectInstruction` documentation for more details. */ class IndirectReadSideEffect extends ReadSideEffectOpcode, IndirectReadOpcode, - TIndirectReadSideEffect { + TIndirectReadSideEffect + { final override string toString() { result = "IndirectReadSideEffect" } } @@ -1112,7 +1115,8 @@ module Opcode { * See the `IndirectMustWriteSideEffectInstruction` documentation for more details. */ class IndirectMustWriteSideEffect extends WriteSideEffectOpcode, IndirectWriteOpcode, - TIndirectMustWriteSideEffect { + TIndirectMustWriteSideEffect + { final override string toString() { result = "IndirectMustWriteSideEffect" } } @@ -1122,7 +1126,8 @@ module Opcode { * See the `IndirectMayWriteSideEffectInstruction` documentation for more details. */ class IndirectMayWriteSideEffect extends WriteSideEffectOpcode, IndirectWriteOpcode, - MayWriteOpcode, TIndirectMayWriteSideEffect { + MayWriteOpcode, TIndirectMayWriteSideEffect + { final override string toString() { result = "IndirectMayWriteSideEffect" } } @@ -1132,7 +1137,8 @@ module Opcode { * See the `BufferReadSideEffectInstruction` documentation for more details. */ class BufferReadSideEffect extends ReadSideEffectOpcode, UnsizedBufferReadOpcode, - TBufferReadSideEffect { + TBufferReadSideEffect + { final override string toString() { result = "BufferReadSideEffect" } } @@ -1142,7 +1148,8 @@ module Opcode { * See the `BufferMustWriteSideEffectInstruction` documentation for more details. */ class BufferMustWriteSideEffect extends WriteSideEffectOpcode, UnsizedBufferWriteOpcode, - TBufferMustWriteSideEffect { + TBufferMustWriteSideEffect + { final override string toString() { result = "BufferMustWriteSideEffect" } } @@ -1152,7 +1159,8 @@ module Opcode { * See the `BufferMayWriteSideEffectInstruction` documentation for more details. */ class BufferMayWriteSideEffect extends WriteSideEffectOpcode, UnsizedBufferWriteOpcode, - MayWriteOpcode, TBufferMayWriteSideEffect { + MayWriteOpcode, TBufferMayWriteSideEffect + { final override string toString() { result = "BufferMayWriteSideEffect" } } @@ -1162,7 +1170,8 @@ module Opcode { * See the `SizedBufferReadSideEffectInstruction` documentation for more details. */ class SizedBufferReadSideEffect extends ReadSideEffectOpcode, SizedBufferReadOpcode, - TSizedBufferReadSideEffect { + TSizedBufferReadSideEffect + { final override string toString() { result = "SizedBufferReadSideEffect" } } @@ -1172,7 +1181,8 @@ module Opcode { * See the `SizedBufferMustWriteSideEffectInstruction` documentation for more details. */ class SizedBufferMustWriteSideEffect extends WriteSideEffectOpcode, SizedBufferWriteOpcode, - TSizedBufferMustWriteSideEffect { + TSizedBufferMustWriteSideEffect + { final override string toString() { result = "SizedBufferMustWriteSideEffect" } } @@ -1182,7 +1192,8 @@ module Opcode { * See the `SizedBufferMayWriteSideEffectInstruction` documentation for more details. */ class SizedBufferMayWriteSideEffect extends WriteSideEffectOpcode, SizedBufferWriteOpcode, - MayWriteOpcode, TSizedBufferMayWriteSideEffect { + MayWriteOpcode, TSizedBufferMayWriteSideEffect + { final override string toString() { result = "SizedBufferMayWriteSideEffect" } } @@ -1192,7 +1203,8 @@ module Opcode { * See the `InitializeDynamicAllocationInstruction` documentation for more details. */ class InitializeDynamicAllocation extends SideEffectOpcode, EntireAllocationWriteOpcode, - TInitializeDynamicAllocation { + TInitializeDynamicAllocation + { final override string toString() { result = "InitializeDynamicAllocation" } } @@ -1221,7 +1233,8 @@ module Opcode { * See the `InlineAsmInstruction` documentation for more details. */ class InlineAsm extends Opcode, EscapedWriteOpcode, MayWriteOpcode, EscapedReadOpcode, - MayReadOpcode, TInlineAsm { + MayReadOpcode, TInlineAsm + { final override string toString() { result = "InlineAsm" } final override predicate hasOperandInternal(OperandTag tag) { diff --git a/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedCondition.qll b/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedCondition.qll index fe555344b2f..43db3c90065 100644 --- a/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedCondition.qll +++ b/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedCondition.qll @@ -28,7 +28,8 @@ abstract class TranslatedCondition extends ConditionBase { } abstract class TranslatedFlexibleCondition extends TranslatedCondition, ConditionContext, - TTranslatedFlexibleCondition { + TTranslatedFlexibleCondition +{ TranslatedFlexibleCondition() { this = TTranslatedFlexibleCondition(expr) } final override TranslatedElement getChild(int id) { id = 0 and result = this.getOperand() } @@ -156,7 +157,8 @@ class TranslatedLogicalOrExpr extends TranslatedBinaryLogicalOperation { } class TranslatedValueCondition extends TranslatedCondition, ValueConditionBase, - TTranslatedValueCondition { + TTranslatedValueCondition +{ TranslatedValueCondition() { this = TTranslatedValueCondition(expr) } override TranslatedExpr getValueExpr() { result = getTranslatedExpr(expr) } diff --git a/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedDeclaration.qll b/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedDeclaration.qll index 74d72f4f438..20d2b1e3459 100644 --- a/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedDeclaration.qll +++ b/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedDeclaration.qll @@ -40,7 +40,8 @@ abstract class TranslatedLocalDeclaration extends TranslatedElement, TTranslated * including its initialization, if any. */ class TranslatedLocalVariableDeclaration extends TranslatedLocalDeclaration, - LocalVariableDeclarationBase, InitializationContext { + LocalVariableDeclarationBase, InitializationContext +{ LocalVariable var; TranslatedLocalVariableDeclaration() { var = expr.getVariable() } diff --git a/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedExpr.qll b/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedExpr.qll index 06391c010b4..67ebf19b766 100644 --- a/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedExpr.qll +++ b/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedExpr.qll @@ -119,7 +119,8 @@ abstract class TranslatedCoreExpr extends TranslatedExpr { } class TranslatedConditionValue extends TranslatedCoreExpr, ConditionContext, - TTranslatedConditionValue { + TTranslatedConditionValue +{ TranslatedConditionValue() { this = TTranslatedConditionValue(expr) } override TranslatedElement getChild(int id) { id = 0 and result = this.getCondition() } @@ -1950,7 +1951,8 @@ class TranslatedDelegateCall extends TranslatedNonConstantExpr { * object is allocated, which is then initialized by the constructor. */ abstract class TranslatedCreation extends TranslatedCoreExpr, TTranslatedCreationExpr, - ConstructorCallContext { + ConstructorCallContext +{ TranslatedCreation() { this = TTranslatedCreationExpr(expr) } override TranslatedElement getChild(int id) { diff --git a/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedInitialization.qll b/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedInitialization.qll index d5b287ddbde..bc127680ca4 100644 --- a/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedInitialization.qll +++ b/csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedInitialization.qll @@ -276,7 +276,8 @@ abstract class TranslatedElementInitialization extends TranslatedElement { * an explicit element in an initializer list. */ class TranslatedExplicitElementInitialization extends TranslatedElementInitialization, - TTranslatedExplicitElementInitialization, InitializationContext { + TTranslatedExplicitElementInitialization, InitializationContext +{ int elementIndex; TranslatedExplicitElementInitialization() { @@ -312,7 +313,8 @@ class TranslatedExplicitElementInitialization extends TranslatedElementInitializ // TODO: Possibly refactor into something simpler abstract class TranslatedConstructorCallFromConstructor extends TranslatedElement, - ConstructorCallContext { + ConstructorCallContext +{ Call call; final override Language::AST getAst() { result = call } @@ -344,7 +346,8 @@ TranslatedConstructorInitializer getTranslatedConstructorInitializer(Constructor */ // Review: do we need the conversion instructions in C#? class TranslatedConstructorInitializer extends TranslatedConstructorCallFromConstructor, - TTranslatedConstructorInitializer { + TTranslatedConstructorInitializer +{ TranslatedConstructorInitializer() { this = TTranslatedConstructorInitializer(call) } override string toString() { result = "constructor init: " + call.toString() } diff --git a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Common.qll b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Common.qll index 19b773c2622..dbc76ec3954 100644 --- a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Common.qll +++ b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Common.qll @@ -126,7 +126,8 @@ abstract class TranslatedCompilerGeneratedBlock extends TranslatedCompilerGenera * the body of the `then` and the body of the `else`. */ abstract class TranslatedCompilerGeneratedIfStmt extends TranslatedCompilerGeneratedStmt, - ConditionContext { + ConditionContext +{ override Instruction getFirstInstruction() { result = getCondition().getFirstInstruction() } override TranslatedElement getChild(int id) { diff --git a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Delegate.qll b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Delegate.qll index 5e51073900e..4ce965aa1f0 100644 --- a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Delegate.qll +++ b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Delegate.qll @@ -45,7 +45,8 @@ module DelegateElements { * The translation of the constructor call that happens as part of the delegate creation. */ private class TranslatedDelegateConstructorCall extends TranslatedCompilerGeneratedCall, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override DelegateCreation generatedBy; TranslatedDelegateConstructorCall() { this = TTranslatedCompilerGeneratedElement(generatedBy, 0) } @@ -80,7 +81,8 @@ private class TranslatedDelegateConstructorCall extends TranslatedCompilerGenera * The translation of the invoke call that happens as part of the desugaring of the delegate call. */ private class TranslatedDelegateInvokeCall extends TranslatedCompilerGeneratedCall, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override DelegateCall generatedBy; TranslatedDelegateInvokeCall() { this = TTranslatedCompilerGeneratedElement(generatedBy, 1) } diff --git a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Foreach.qll b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Foreach.qll index bc8ec748648..9be3c45d418 100644 --- a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Foreach.qll +++ b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Foreach.qll @@ -64,7 +64,8 @@ module ForeachElements { } private class TranslatedForeachTry extends TranslatedCompilerGeneratedTry, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override ForeachStmt generatedBy; TranslatedForeachTry() { this = TTranslatedCompilerGeneratedElement(generatedBy, 0) } @@ -88,7 +89,8 @@ private class TranslatedForeachTry extends TranslatedCompilerGeneratedTry, * The translation of the finally block. */ private class TranslatedForeachFinally extends TranslatedCompilerGeneratedBlock, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override ForeachStmt generatedBy; TranslatedForeachFinally() { this = TTranslatedCompilerGeneratedElement(generatedBy, 1) } @@ -108,7 +110,8 @@ private class TranslatedForeachFinally extends TranslatedCompilerGeneratedBlock, * to correctly mark which edges should be back edges. */ class TranslatedForeachWhile extends TranslatedCompilerGeneratedStmt, ConditionContext, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override ForeachStmt generatedBy; TranslatedForeachWhile() { this = TTranslatedCompilerGeneratedElement(generatedBy, 2) } @@ -164,7 +167,8 @@ class TranslatedForeachWhile extends TranslatedCompilerGeneratedStmt, ConditionC * The translation of the call to the `MoveNext` method, used as a condition for the while. */ private class TranslatedForeachMoveNext extends TranslatedCompilerGeneratedCall, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override ForeachStmt generatedBy; TranslatedForeachMoveNext() { this = TTranslatedCompilerGeneratedElement(generatedBy, 3) } @@ -192,7 +196,8 @@ private class TranslatedForeachMoveNext extends TranslatedCompilerGeneratedCall, * The translation of the call to retrieve the enumerator. */ private class TranslatedForeachGetEnumerator extends TranslatedCompilerGeneratedCall, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override ForeachStmt generatedBy; TranslatedForeachGetEnumerator() { this = TTranslatedCompilerGeneratedElement(generatedBy, 4) } @@ -219,7 +224,8 @@ private class TranslatedForeachGetEnumerator extends TranslatedCompilerGenerated * The translation of the call to the getter method of the `Current` property of the enumerator. */ private class TranslatedForeachCurrent extends TranslatedCompilerGeneratedCall, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override ForeachStmt generatedBy; TranslatedForeachCurrent() { this = TTranslatedCompilerGeneratedElement(generatedBy, 5) } @@ -247,7 +253,8 @@ private class TranslatedForeachCurrent extends TranslatedCompilerGeneratedCall, * The translation of the call to dispose (inside the finally block) */ private class TranslatedForeachDispose extends TranslatedCompilerGeneratedCall, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override ForeachStmt generatedBy; TranslatedForeachDispose() { this = TTranslatedCompilerGeneratedElement(generatedBy, 6) } @@ -275,7 +282,8 @@ private class TranslatedForeachDispose extends TranslatedCompilerGeneratedCall, * The condition for the while, ie. a call to MoveNext. */ private class TranslatedForeachWhileCondition extends TranslatedCompilerGeneratedValueCondition, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override ForeachStmt generatedBy; TranslatedForeachWhileCondition() { this = TTranslatedCompilerGeneratedElement(generatedBy, 7) } @@ -295,7 +303,8 @@ private class TranslatedForeachWhileCondition extends TranslatedCompilerGenerate * declaration of the `temporary` enumerator variable) */ private class TranslatedForeachEnumerator extends TranslatedCompilerGeneratedDeclaration, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override ForeachStmt generatedBy; TranslatedForeachEnumerator() { this = TTranslatedCompilerGeneratedElement(generatedBy, 8) } @@ -323,7 +332,8 @@ private class TranslatedForeachEnumerator extends TranslatedCompilerGeneratedDec * Class that represents that translation of the declaration that's happening inside the body of the while. */ private class TranslatedForeachIterVar extends TranslatedCompilerGeneratedDeclaration, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override ForeachStmt generatedBy; TranslatedForeachIterVar() { this = TTranslatedCompilerGeneratedElement(generatedBy, 9) } @@ -352,7 +362,8 @@ private class TranslatedForeachIterVar extends TranslatedCompilerGeneratedDeclar * for the call to `MoveNext`. */ private class TranslatedMoveNextEnumAcc extends TTranslatedCompilerGeneratedElement, - TranslatedCompilerGeneratedVariableAccess { + TranslatedCompilerGeneratedVariableAccess +{ override ForeachStmt generatedBy; TranslatedMoveNextEnumAcc() { this = TTranslatedCompilerGeneratedElement(generatedBy, 10) } @@ -384,7 +395,8 @@ private class TranslatedMoveNextEnumAcc extends TTranslatedCompilerGeneratedElem * for the call to the getter of the property `Current`. */ private class TranslatedForeachCurrentEnumAcc extends TTranslatedCompilerGeneratedElement, - TranslatedCompilerGeneratedVariableAccess { + TranslatedCompilerGeneratedVariableAccess +{ override ForeachStmt generatedBy; TranslatedForeachCurrentEnumAcc() { this = TTranslatedCompilerGeneratedElement(generatedBy, 11) } @@ -416,7 +428,8 @@ private class TranslatedForeachCurrentEnumAcc extends TTranslatedCompilerGenerat * for the call to `Dispose`. */ private class TranslatedForeachDisposeEnumAcc extends TTranslatedCompilerGeneratedElement, - TranslatedCompilerGeneratedVariableAccess { + TranslatedCompilerGeneratedVariableAccess +{ override ForeachStmt generatedBy; TranslatedForeachDisposeEnumAcc() { this = TTranslatedCompilerGeneratedElement(generatedBy, 12) } diff --git a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Lock.qll b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Lock.qll index bb1ab29e51c..484d11205cd 100644 --- a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Lock.qll +++ b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/Lock.qll @@ -57,7 +57,8 @@ module LockElements { * The translation of the `try` stmt. */ private class TranslatedLockTry extends TranslatedCompilerGeneratedTry, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override LockStmt generatedBy; TranslatedLockTry() { this = TTranslatedCompilerGeneratedElement(generatedBy, 0) } @@ -81,7 +82,8 @@ private class TranslatedLockTry extends TranslatedCompilerGeneratedTry, * The translation of the `lock` stmt's body. */ private class TranslatedLockTryBody extends TranslatedCompilerGeneratedBlock, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override LockStmt generatedBy; TranslatedLockTryBody() { this = TTranslatedCompilerGeneratedElement(generatedBy, 1) } @@ -102,7 +104,8 @@ private class TranslatedLockTryBody extends TranslatedCompilerGeneratedBlock, * The translation of the finally block. */ private class TranslatedLockFinally extends TranslatedCompilerGeneratedBlock, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override LockStmt generatedBy; TranslatedLockFinally() { this = TTranslatedCompilerGeneratedElement(generatedBy, 2) } @@ -120,7 +123,8 @@ private class TranslatedLockFinally extends TranslatedCompilerGeneratedBlock, * The translation of the call to dispose (inside the finally block) */ private class TranslatedMonitorExit extends TranslatedCompilerGeneratedCall, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override LockStmt generatedBy; TranslatedMonitorExit() { this = TTranslatedCompilerGeneratedElement(generatedBy, 3) } @@ -152,7 +156,8 @@ private class TranslatedMonitorExit extends TranslatedCompilerGeneratedCall, * The translation of the call to dispose (inside the finally block) */ private class TranslatedMonitorEnter extends TranslatedCompilerGeneratedCall, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override LockStmt generatedBy; TranslatedMonitorEnter() { this = TTranslatedCompilerGeneratedElement(generatedBy, 4) } @@ -190,7 +195,8 @@ private class TranslatedMonitorEnter extends TranslatedCompilerGeneratedCall, * The translation of the condition of the `if` present in the `finally` clause. */ private class TranslatedIfCondition extends TranslatedCompilerGeneratedValueCondition, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override LockStmt generatedBy; TranslatedIfCondition() { this = TTranslatedCompilerGeneratedElement(generatedBy, 5) } @@ -209,7 +215,8 @@ private class TranslatedIfCondition extends TranslatedCompilerGeneratedValueCond * The translation of the `if` stmt present in the `finally` clause. */ private class TranslatedFinallyIf extends TranslatedCompilerGeneratedIfStmt, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override LockStmt generatedBy; TranslatedFinallyIf() { this = TTranslatedCompilerGeneratedElement(generatedBy, 6) } @@ -236,7 +243,8 @@ private class TranslatedFinallyIf extends TranslatedCompilerGeneratedIfStmt, * bool temp variable. */ private class TranslatedWasTakenConst extends TranslatedCompilerGeneratedConstant, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override LockStmt generatedBy; TranslatedWasTakenConst() { this = TTranslatedCompilerGeneratedElement(generatedBy, 7) } @@ -255,7 +263,8 @@ private class TranslatedWasTakenConst extends TranslatedCompilerGeneratedConstan * Represents the translation of the `lockWasTaken` temp variable declaration. */ private class TranslatedLockWasTakenDecl extends TranslatedCompilerGeneratedDeclaration, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override LockStmt generatedBy; TranslatedLockWasTakenDecl() { this = TTranslatedCompilerGeneratedElement(generatedBy, 8) } @@ -286,7 +295,8 @@ private class TranslatedLockWasTakenDecl extends TranslatedCompilerGeneratedDecl * expression being locked. */ private class TranslatedLockedVarDecl extends TranslatedCompilerGeneratedDeclaration, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ override LockStmt generatedBy; TranslatedLockedVarDecl() { this = TTranslatedCompilerGeneratedElement(generatedBy, 9) } @@ -315,7 +325,8 @@ private class TranslatedLockedVarDecl extends TranslatedCompilerGeneratedDeclara * Used as an argument for the `MonitorEnter` call. */ private class TranslatedMonitorEnterVarAcc extends TTranslatedCompilerGeneratedElement, - TranslatedCompilerGeneratedVariableAccess { + TranslatedCompilerGeneratedVariableAccess +{ override LockStmt generatedBy; TranslatedMonitorEnterVarAcc() { this = TTranslatedCompilerGeneratedElement(generatedBy, 10) } @@ -341,7 +352,8 @@ private class TranslatedMonitorEnterVarAcc extends TTranslatedCompilerGeneratedE * Used as an argument for the `MonitorExit` call. */ private class TranslatedMonitorExitVarAcc extends TTranslatedCompilerGeneratedElement, - TranslatedCompilerGeneratedVariableAccess { + TranslatedCompilerGeneratedVariableAccess +{ override LockStmt generatedBy; TranslatedMonitorExitVarAcc() { this = TTranslatedCompilerGeneratedElement(generatedBy, 11) } @@ -366,7 +378,8 @@ private class TranslatedMonitorExitVarAcc extends TTranslatedCompilerGeneratedEl * Used as an argument for the `MonitorEnter` call. */ private class TranslatedLockWasTakenCondVarAcc extends TTranslatedCompilerGeneratedElement, - TranslatedCompilerGeneratedVariableAccess { + TranslatedCompilerGeneratedVariableAccess +{ override LockStmt generatedBy; TranslatedLockWasTakenCondVarAcc() { this = TTranslatedCompilerGeneratedElement(generatedBy, 12) } @@ -391,7 +404,8 @@ private class TranslatedLockWasTakenCondVarAcc extends TTranslatedCompilerGenera * as the `if` condition in the finally clause. */ private class TranslatedLockWasTakenRefArg extends TTranslatedCompilerGeneratedElement, - TranslatedCompilerGeneratedVariableAccess { + TranslatedCompilerGeneratedVariableAccess +{ override LockStmt generatedBy; TranslatedLockWasTakenRefArg() { this = TTranslatedCompilerGeneratedElement(generatedBy, 13) } diff --git a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedCall.qll b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedCall.qll index 28dfd2b4cc3..d1834f90c1c 100644 --- a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedCall.qll +++ b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedCall.qll @@ -10,7 +10,8 @@ private import TranslatedCompilerGeneratedElement private import experimental.ir.internal.IRCSharpLanguage as Language abstract class TranslatedCompilerGeneratedCall extends TranslatedCallBase, - TranslatedCompilerGeneratedElement { + TranslatedCompilerGeneratedElement +{ final override string toString() { result = "compiler generated call (" + generatedBy.toString() + ")" } diff --git a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedCondition.qll b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedCondition.qll index df0bf1b24c6..57fdc12121c 100644 --- a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedCondition.qll +++ b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedCondition.qll @@ -9,7 +9,8 @@ private import TranslatedCompilerGeneratedElement private import experimental.ir.internal.IRCSharpLanguage as Language abstract class TranslatedCompilerGeneratedValueCondition extends TranslatedCompilerGeneratedElement, - ValueConditionBase { + ValueConditionBase +{ final override string toString() { result = "compiler generated condition (" + generatedBy.toString() + ")" } diff --git a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedDeclaration.qll b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedDeclaration.qll index 6757b032424..ead9a38fc5e 100644 --- a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedDeclaration.qll +++ b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedDeclaration.qll @@ -16,7 +16,8 @@ private import experimental.ir.internal.CSharpType private import experimental.ir.internal.IRCSharpLanguage as Language abstract class TranslatedCompilerGeneratedDeclaration extends LocalVariableDeclarationBase, - TranslatedCompilerGeneratedElement { + TranslatedCompilerGeneratedElement +{ final override string toString() { result = "compiler generated declaration (" + generatedBy.toString() + ")" } diff --git a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedElement.qll b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedElement.qll index ffcc400a9bc..7008187520c 100644 --- a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedElement.qll +++ b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedElement.qll @@ -7,7 +7,8 @@ private import experimental.ir.implementation.raw.internal.TranslatedElement private import experimental.ir.internal.IRCSharpLanguage as Language abstract class TranslatedCompilerGeneratedElement extends TranslatedElement, - TTranslatedCompilerGeneratedElement { + TTranslatedCompilerGeneratedElement +{ // The element that generates generated the compiler element can // only be a stmt or an expr ControlFlowElement generatedBy; diff --git a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedExpr.qll b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedExpr.qll index b7988c3fde8..3c5a60cf812 100644 --- a/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedExpr.qll +++ b/csharp/ql/src/experimental/ir/implementation/raw/internal/desugar/internal/TranslatedCompilerGeneratedExpr.qll @@ -10,7 +10,8 @@ private import experimental.ir.implementation.raw.internal.common.TranslatedExpr private import experimental.ir.internal.IRCSharpLanguage as Language abstract class TranslatedCompilerGeneratedExpr extends TranslatedCompilerGeneratedElement, - TranslatedExprBase { + TranslatedExprBase +{ override string toString() { result = "compiler generated expr (" + generatedBy.toString() + ")" } abstract Type getResultType(); diff --git a/csharp/ql/test/library-tests/dataflow/library/FlowSummaries.ql b/csharp/ql/test/library-tests/dataflow/library/FlowSummaries.ql index eaf4d9d947f..69a03f32893 100644 --- a/csharp/ql/test/library-tests/dataflow/library/FlowSummaries.ql +++ b/csharp/ql/test/library-tests/dataflow/library/FlowSummaries.ql @@ -6,7 +6,8 @@ private class IncludeAllSummarizedCallable extends IncludeSummarizedCallable { IncludeAllSummarizedCallable() { exists(this) } } -private class IncludeNeutralCallable extends RelevantNeutralCallable instanceof FlowSummaryImpl::Public::NeutralCallable { +private class IncludeNeutralCallable extends RelevantNeutralCallable instanceof FlowSummaryImpl::Public::NeutralCallable +{ /** Gets a string representing the callable in semi-colon separated format for use in flow summaries. */ final override string getCallableCsv() { result = Csv::asPartialNeutralModel(this) } } diff --git a/csharp/ql/test/library-tests/dataflow/library/FlowSummariesFiltered.ql b/csharp/ql/test/library-tests/dataflow/library/FlowSummariesFiltered.ql index 82cf263ec9c..c1e093a1f42 100644 --- a/csharp/ql/test/library-tests/dataflow/library/FlowSummariesFiltered.ql +++ b/csharp/ql/test/library-tests/dataflow/library/FlowSummariesFiltered.ql @@ -2,7 +2,8 @@ import shared.FlowSummaries private import semmle.code.csharp.dataflow.internal.DataFlowPrivate::Csv private import semmle.code.csharp.dataflow.ExternalFlow -class IncludeFilteredSummarizedCallable extends IncludeSummarizedCallable instanceof SummarizedCallable { +class IncludeFilteredSummarizedCallable extends IncludeSummarizedCallable instanceof SummarizedCallable +{ /** * Holds if flow is propagated between `input` and `output` and * if there is no summary for a callable in a `base` class or interface diff --git a/csharp/ql/test/library-tests/frameworks/EntityFramework/FlowSummaries.ql b/csharp/ql/test/library-tests/frameworks/EntityFramework/FlowSummaries.ql index 00873833083..75faad9d633 100644 --- a/csharp/ql/test/library-tests/frameworks/EntityFramework/FlowSummaries.ql +++ b/csharp/ql/test/library-tests/frameworks/EntityFramework/FlowSummaries.ql @@ -2,8 +2,8 @@ import semmle.code.csharp.frameworks.EntityFramework::EntityFramework import shared.FlowSummaries import semmle.code.csharp.dataflow.ExternalFlow as ExternalFlow -private class IncludeEFSummarizedCallable extends IncludeSummarizedCallable instanceof EFSummarizedCallable { -} +private class IncludeEFSummarizedCallable extends IncludeSummarizedCallable instanceof EFSummarizedCallable +{ } query predicate sourceNode(DataFlow::Node node, string kind) { ExternalFlow::sourceNode(node, kind) From ef97e539ec1971494d4bba5cafe82e00bc8217ac Mon Sep 17 00:00:00 2001 From: Anders Schack-Mulligen Date: Fri, 17 Feb 2023 12:21:30 +0100 Subject: [PATCH 137/145] C/C++: Autoformat --- cpp/ql/lib/semmle/code/cpp/NameQualifiers.qll | 3 +- .../code/cpp/exprs/BuiltInOperations.qll | 15 ++++--- .../code/cpp/ir/implementation/Opcode.qll | 39 ++++++++++++------- .../aliased_ssa/internal/AliasedSSA.qll | 3 +- .../raw/internal/TranslatedCall.qll | 6 ++- .../raw/internal/TranslatedCondition.qll | 3 +- .../internal/TranslatedDeclarationEntry.qll | 6 ++- .../raw/internal/TranslatedExpr.qll | 9 +++-- .../raw/internal/TranslatedFunction.qll | 6 ++- .../raw/internal/TranslatedGlobalVar.qll | 3 +- .../raw/internal/TranslatedInitialization.qll | 24 ++++++++---- .../raw/internal/TranslatedStmt.qll | 3 +- .../cpp/models/implementations/Allocation.qll | 9 +++-- .../cpp/models/implementations/GetDelim.qll | 3 +- .../code/cpp/models/implementations/Gets.qll | 6 ++- .../implementations/IdentityFunction.qll | 3 +- .../cpp/models/implementations/Iterator.qll | 27 ++++++++----- .../cpp/models/implementations/Memcpy.qll | 3 +- .../cpp/models/implementations/Memset.qll | 3 +- .../code/cpp/models/implementations/Pure.qll | 6 ++- .../code/cpp/models/implementations/Recv.qll | 3 +- .../code/cpp/models/implementations/Scanf.qll | 3 +- .../models/implementations/SmartPointer.qll | 3 +- .../cpp/models/implementations/Strset.qll | 3 +- .../cpp/models/implementations/System.qll | 3 +- .../code/cpp/security/TaintTrackingImpl.qll | 3 +- 26 files changed, 132 insertions(+), 66 deletions(-) diff --git a/cpp/ql/lib/semmle/code/cpp/NameQualifiers.qll b/cpp/ql/lib/semmle/code/cpp/NameQualifiers.qll index 042ee10700a..a5894e21071 100644 --- a/cpp/ql/lib/semmle/code/cpp/NameQualifiers.qll +++ b/cpp/ql/lib/semmle/code/cpp/NameQualifiers.qll @@ -159,7 +159,8 @@ class NameQualifyingElement extends Element, @namequalifyingelement { * A special name-qualifying element. For example: `__super`. */ library class SpecialNameQualifyingElement extends NameQualifyingElement, - @specialnamequalifyingelement { + @specialnamequalifyingelement +{ /** Gets the name of this special qualifying element. */ override string getName() { specialnamequalifyingelements(underlyingElement(this), result) } diff --git a/cpp/ql/lib/semmle/code/cpp/exprs/BuiltInOperations.qll b/cpp/ql/lib/semmle/code/cpp/exprs/BuiltInOperations.qll index fa6589f7e27..c0ffa96297b 100644 --- a/cpp/ql/lib/semmle/code/cpp/exprs/BuiltInOperations.qll +++ b/cpp/ql/lib/semmle/code/cpp/exprs/BuiltInOperations.qll @@ -569,7 +569,8 @@ class BuiltInOperationBuiltInAddressOf extends UnaryOperation, BuiltInOperation, * ``` */ class BuiltInOperationIsTriviallyConstructible extends BuiltInOperation, - @istriviallyconstructibleexpr { + @istriviallyconstructibleexpr +{ override string toString() { result = "__is_trivially_constructible" } override string getAPrimaryQlClass() { result = "BuiltInOperationIsTriviallyConstructible" } @@ -619,7 +620,8 @@ class BuiltInOperationIsNothrowDestructible extends BuiltInOperation, @isnothrow * bool v = __is_trivially_destructible(MyType); * ``` */ -class BuiltInOperationIsTriviallyDestructible extends BuiltInOperation, @istriviallydestructibleexpr { +class BuiltInOperationIsTriviallyDestructible extends BuiltInOperation, @istriviallydestructibleexpr +{ override string toString() { result = "__is_trivially_destructible" } override string getAPrimaryQlClass() { result = "BuiltInOperationIsTriviallyDestructible" } @@ -738,7 +740,8 @@ class BuiltInOperationIsLiteralType extends BuiltInOperation, @isliteraltypeexpr * ``` */ class BuiltInOperationHasTrivialMoveConstructor extends BuiltInOperation, - @hastrivialmoveconstructorexpr { + @hastrivialmoveconstructorexpr +{ override string toString() { result = "__has_trivial_move_constructor" } override string getAPrimaryQlClass() { result = "BuiltInOperationHasTrivialMoveConstructor" } @@ -1034,7 +1037,8 @@ class BuiltInOperationIsAggregate extends BuiltInOperation, @isaggregate { * ``` */ class BuiltInOperationHasUniqueObjectRepresentations extends BuiltInOperation, - @hasuniqueobjectrepresentations { + @hasuniqueobjectrepresentations +{ override string toString() { result = "__has_unique_object_representations" } override string getAPrimaryQlClass() { result = "BuiltInOperationHasUniqueObjectRepresentations" } @@ -1107,7 +1111,8 @@ class BuiltInOperationIsLayoutCompatible extends BuiltInOperation, @islayoutcomp * ``` */ class BuiltInOperationIsPointerInterconvertibleBaseOf extends BuiltInOperation, - @ispointerinterconvertiblebaseof { + @ispointerinterconvertiblebaseof +{ override string toString() { result = "__is_pointer_interconvertible_base_of" } override string getAPrimaryQlClass() { diff --git a/cpp/ql/lib/semmle/code/cpp/ir/implementation/Opcode.qll b/cpp/ql/lib/semmle/code/cpp/ir/implementation/Opcode.qll index b4def7fe4ae..7b064340ffe 100644 --- a/cpp/ql/lib/semmle/code/cpp/ir/implementation/Opcode.qll +++ b/cpp/ql/lib/semmle/code/cpp/ir/implementation/Opcode.qll @@ -1082,7 +1082,8 @@ module Opcode { * See the `CallSideEffectInstruction` documentation for more details. */ class CallSideEffect extends WriteSideEffectOpcode, EscapedWriteOpcode, MayWriteOpcode, - ReadSideEffectOpcode, EscapedReadOpcode, MayReadOpcode, TCallSideEffect { + ReadSideEffectOpcode, EscapedReadOpcode, MayReadOpcode, TCallSideEffect + { final override string toString() { result = "CallSideEffect" } } @@ -1092,7 +1093,8 @@ module Opcode { * See the `CallReadSideEffectInstruction` documentation for more details. */ class CallReadSideEffect extends ReadSideEffectOpcode, EscapedReadOpcode, MayReadOpcode, - TCallReadSideEffect { + TCallReadSideEffect + { final override string toString() { result = "CallReadSideEffect" } } @@ -1102,7 +1104,8 @@ module Opcode { * See the `IndirectReadSideEffectInstruction` documentation for more details. */ class IndirectReadSideEffect extends ReadSideEffectOpcode, IndirectReadOpcode, - TIndirectReadSideEffect { + TIndirectReadSideEffect + { final override string toString() { result = "IndirectReadSideEffect" } } @@ -1112,7 +1115,8 @@ module Opcode { * See the `IndirectMustWriteSideEffectInstruction` documentation for more details. */ class IndirectMustWriteSideEffect extends WriteSideEffectOpcode, IndirectWriteOpcode, - TIndirectMustWriteSideEffect { + TIndirectMustWriteSideEffect + { final override string toString() { result = "IndirectMustWriteSideEffect" } } @@ -1122,7 +1126,8 @@ module Opcode { * See the `IndirectMayWriteSideEffectInstruction` documentation for more details. */ class IndirectMayWriteSideEffect extends WriteSideEffectOpcode, IndirectWriteOpcode, - MayWriteOpcode, TIndirectMayWriteSideEffect { + MayWriteOpcode, TIndirectMayWriteSideEffect + { final override string toString() { result = "IndirectMayWriteSideEffect" } } @@ -1132,7 +1137,8 @@ module Opcode { * See the `BufferReadSideEffectInstruction` documentation for more details. */ class BufferReadSideEffect extends ReadSideEffectOpcode, UnsizedBufferReadOpcode, - TBufferReadSideEffect { + TBufferReadSideEffect + { final override string toString() { result = "BufferReadSideEffect" } } @@ -1142,7 +1148,8 @@ module Opcode { * See the `BufferMustWriteSideEffectInstruction` documentation for more details. */ class BufferMustWriteSideEffect extends WriteSideEffectOpcode, UnsizedBufferWriteOpcode, - TBufferMustWriteSideEffect { + TBufferMustWriteSideEffect + { final override string toString() { result = "BufferMustWriteSideEffect" } } @@ -1152,7 +1159,8 @@ module Opcode { * See the `BufferMayWriteSideEffectInstruction` documentation for more details. */ class BufferMayWriteSideEffect extends WriteSideEffectOpcode, UnsizedBufferWriteOpcode, - MayWriteOpcode, TBufferMayWriteSideEffect { + MayWriteOpcode, TBufferMayWriteSideEffect + { final override string toString() { result = "BufferMayWriteSideEffect" } } @@ -1162,7 +1170,8 @@ module Opcode { * See the `SizedBufferReadSideEffectInstruction` documentation for more details. */ class SizedBufferReadSideEffect extends ReadSideEffectOpcode, SizedBufferReadOpcode, - TSizedBufferReadSideEffect { + TSizedBufferReadSideEffect + { final override string toString() { result = "SizedBufferReadSideEffect" } } @@ -1172,7 +1181,8 @@ module Opcode { * See the `SizedBufferMustWriteSideEffectInstruction` documentation for more details. */ class SizedBufferMustWriteSideEffect extends WriteSideEffectOpcode, SizedBufferWriteOpcode, - TSizedBufferMustWriteSideEffect { + TSizedBufferMustWriteSideEffect + { final override string toString() { result = "SizedBufferMustWriteSideEffect" } } @@ -1182,7 +1192,8 @@ module Opcode { * See the `SizedBufferMayWriteSideEffectInstruction` documentation for more details. */ class SizedBufferMayWriteSideEffect extends WriteSideEffectOpcode, SizedBufferWriteOpcode, - MayWriteOpcode, TSizedBufferMayWriteSideEffect { + MayWriteOpcode, TSizedBufferMayWriteSideEffect + { final override string toString() { result = "SizedBufferMayWriteSideEffect" } } @@ -1192,7 +1203,8 @@ module Opcode { * See the `InitializeDynamicAllocationInstruction` documentation for more details. */ class InitializeDynamicAllocation extends SideEffectOpcode, EntireAllocationWriteOpcode, - TInitializeDynamicAllocation { + TInitializeDynamicAllocation + { final override string toString() { result = "InitializeDynamicAllocation" } } @@ -1221,7 +1233,8 @@ module Opcode { * See the `InlineAsmInstruction` documentation for more details. */ class InlineAsm extends Opcode, EscapedWriteOpcode, MayWriteOpcode, EscapedReadOpcode, - MayReadOpcode, TInlineAsm { + MayReadOpcode, TInlineAsm + { final override string toString() { result = "InlineAsm" } final override predicate hasOperandInternal(OperandTag tag) { diff --git a/cpp/ql/lib/semmle/code/cpp/ir/implementation/aliased_ssa/internal/AliasedSSA.qll b/cpp/ql/lib/semmle/code/cpp/ir/implementation/aliased_ssa/internal/AliasedSSA.qll index 0a3e0287635..15ed979f69e 100644 --- a/cpp/ql/lib/semmle/code/cpp/ir/implementation/aliased_ssa/internal/AliasedSSA.qll +++ b/cpp/ql/lib/semmle/code/cpp/ir/implementation/aliased_ssa/internal/AliasedSSA.qll @@ -246,7 +246,8 @@ class VariableMemoryLocation extends TVariableMemoryLocation, AllocationMemoryLo } class EntireAllocationMemoryLocation extends TEntireAllocationMemoryLocation, - AllocationMemoryLocation { + AllocationMemoryLocation +{ EntireAllocationMemoryLocation() { this = TEntireAllocationMemoryLocation(var, isMayAccess) } final override string toStringInternal() { result = var.toString() } diff --git a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedCall.qll b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedCall.qll index 7d015654056..473b23e8b8d 100644 --- a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedCall.qll +++ b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedCall.qll @@ -511,7 +511,8 @@ abstract class TranslatedArgumentSideEffect extends TranslatedSideEffect { * calls other than constructor calls. */ class TranslatedArgumentExprSideEffect extends TranslatedArgumentSideEffect, - TTranslatedArgumentExprSideEffect { + TTranslatedArgumentExprSideEffect +{ Expr arg; TranslatedArgumentExprSideEffect() { @@ -546,7 +547,8 @@ class TranslatedArgumentExprSideEffect extends TranslatedArgumentSideEffect, * calls to non-static member functions. */ class TranslatedStructorQualifierSideEffect extends TranslatedArgumentSideEffect, - TTranslatedStructorQualifierSideEffect { + TTranslatedStructorQualifierSideEffect +{ TranslatedStructorQualifierSideEffect() { this = TTranslatedStructorQualifierSideEffect(call, sideEffectOpcode) and index = -1 diff --git a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedCondition.qll b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedCondition.qll index 528acf4498b..2953c9eeb1f 100644 --- a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedCondition.qll +++ b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedCondition.qll @@ -34,7 +34,8 @@ abstract class TranslatedCondition extends TranslatedElement { } abstract class TranslatedFlexibleCondition extends TranslatedCondition, ConditionContext, - TTranslatedFlexibleCondition { + TTranslatedFlexibleCondition +{ TranslatedFlexibleCondition() { this = TTranslatedFlexibleCondition(expr) } final override TranslatedElement getChild(int id) { id = 0 and result = getOperand() } diff --git a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedDeclarationEntry.qll b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedDeclarationEntry.qll index 03a6422b114..2b2acfb94a3 100644 --- a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedDeclarationEntry.qll +++ b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedDeclarationEntry.qll @@ -75,7 +75,8 @@ abstract class TranslatedLocalVariableDeclaration extends TranslatedVariableInit * The IR translation of a local variable declaration within a declaration statement. */ class TranslatedAutoVariableDeclarationEntry extends TranslatedLocalVariableDeclaration, - TranslatedDeclarationEntry { + TranslatedDeclarationEntry +{ StackVariable var; TranslatedAutoVariableDeclarationEntry() { var = entry.getDeclaration() } @@ -217,7 +218,8 @@ class TranslatedStaticLocalVariableDeclarationEntry extends TranslatedDeclaratio * with a dynamic initializer. */ class TranslatedStaticLocalVariableInitialization extends TranslatedElement, - TranslatedLocalVariableDeclaration, TTranslatedStaticLocalVariableInitialization { + TranslatedLocalVariableDeclaration, TTranslatedStaticLocalVariableInitialization +{ IRVariableDeclarationEntry entry; StaticLocalVariable var; diff --git a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedExpr.qll b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedExpr.qll index df5a974c45b..8e228d55279 100644 --- a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedExpr.qll +++ b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedExpr.qll @@ -131,7 +131,8 @@ abstract class TranslatedCoreExpr extends TranslatedExpr { } class TranslatedConditionValue extends TranslatedCoreExpr, ConditionContext, - TTranslatedConditionValue { + TTranslatedConditionValue +{ TranslatedConditionValue() { this = TTranslatedConditionValue(expr) } override TranslatedElement getChild(int id) { id = 0 and result = this.getCondition() } @@ -326,7 +327,8 @@ class TranslatedLoad extends TranslatedValueCategoryAdjustment, TTranslatedLoad * from the AST. */ class TranslatedSyntheticTemporaryObject extends TranslatedValueCategoryAdjustment, - TTranslatedSyntheticTemporaryObject { + TTranslatedSyntheticTemporaryObject +{ TranslatedSyntheticTemporaryObject() { this = TTranslatedSyntheticTemporaryObject(expr) } override string toString() { result = "Temporary materialization of " + expr.toString() } @@ -2302,7 +2304,8 @@ class TranslatedBinaryConditionalExpr extends TranslatedConditionalExpr { * its initializer. */ class TranslatedTemporaryObjectExpr extends TranslatedNonConstantExpr, - TranslatedVariableInitialization { + TranslatedVariableInitialization +{ override TemporaryObjectExpr expr; final override predicate hasTempVariable(TempVariableTag tag, CppType type) { diff --git a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedFunction.qll b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedFunction.qll index b4746ae58de..d29d8c80cf5 100644 --- a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedFunction.qll +++ b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedFunction.qll @@ -566,7 +566,8 @@ private TranslatedConstructorInitList getTranslatedConstructorInitList(Function * instances for constructors can actually contain initializers. */ class TranslatedConstructorInitList extends TranslatedElement, InitializationContext, - TTranslatedConstructorInitList { + TTranslatedConstructorInitList +{ Function func; TranslatedConstructorInitList() { this = TTranslatedConstructorInitList(func) } @@ -637,7 +638,8 @@ private TranslatedDestructorDestructionList getTranslatedDestructorDestructionLi * destructions. */ class TranslatedDestructorDestructionList extends TranslatedElement, - TTranslatedDestructorDestructionList { + TTranslatedDestructorDestructionList +{ Function func; TranslatedDestructorDestructionList() { this = TTranslatedDestructorDestructionList(func) } diff --git a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedGlobalVar.qll b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedGlobalVar.qll index dde5e00361a..5a4f7977ac8 100644 --- a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedGlobalVar.qll +++ b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedGlobalVar.qll @@ -9,7 +9,8 @@ private import InstructionTag private import semmle.code.cpp.ir.internal.IRUtilities class TranslatedGlobalOrNamespaceVarInit extends TranslatedRootElement, - TTranslatedGlobalOrNamespaceVarInit, InitializationContext { + TTranslatedGlobalOrNamespaceVarInit, InitializationContext +{ GlobalOrNamespaceVariable var; TranslatedGlobalOrNamespaceVarInit() { this = TTranslatedGlobalOrNamespaceVarInit(var) } diff --git a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedInitialization.qll b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedInitialization.qll index 452c9beedb9..4cd235a52bf 100644 --- a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedInitialization.qll +++ b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedInitialization.qll @@ -440,7 +440,8 @@ class TranslatedStringLiteralInitialization extends TranslatedDirectInitializati } class TranslatedConstructorInitialization extends TranslatedDirectInitialization, - StructorCallContext { + StructorCallContext +{ override ConstructorCall expr; override predicate hasInstruction(Opcode opcode, InstructionTag tag, CppType resultType) { @@ -528,7 +529,8 @@ abstract class TranslatedFieldInitialization extends TranslatedElement { * explicit element in an initializer list. */ class TranslatedExplicitFieldInitialization extends TranslatedFieldInitialization, - InitializationContext, TTranslatedExplicitFieldInitialization { + InitializationContext, TTranslatedExplicitFieldInitialization +{ Expr expr; TranslatedExplicitFieldInitialization() { @@ -565,7 +567,8 @@ private string getZeroValue(Type type) { * corresponding element in the initializer list. */ class TranslatedFieldValueInitialization extends TranslatedFieldInitialization, - TTranslatedFieldValueInitialization { + TTranslatedFieldValueInitialization +{ TranslatedFieldValueInitialization() { this = TTranslatedFieldValueInitialization(ast, field) } override predicate hasInstruction(Opcode opcode, InstructionTag tag, CppType resultType) { @@ -700,7 +703,8 @@ abstract class TranslatedElementInitialization extends TranslatedElement { * an explicit element in an initializer list. */ class TranslatedExplicitElementInitialization extends TranslatedElementInitialization, - TTranslatedExplicitElementInitialization, InitializationContext { + TTranslatedExplicitElementInitialization, InitializationContext +{ int elementIndex; TranslatedExplicitElementInitialization() { @@ -737,7 +741,8 @@ class TranslatedExplicitElementInitialization extends TranslatedElementInitializ * elements without corresponding elements in the initializer list. */ class TranslatedElementValueInitialization extends TranslatedElementInitialization, - TTranslatedElementValueInitialization { + TTranslatedElementValueInitialization +{ int elementIndex; int elementCount; @@ -881,7 +886,8 @@ abstract class TranslatedBaseStructorCall extends TranslatedStructorCallFromStru * Represents a call to a delegating or base class constructor from within a constructor. */ abstract class TranslatedConstructorCallFromConstructor extends TranslatedStructorCallFromStructor, - TTranslatedConstructorBaseInit { + TTranslatedConstructorBaseInit +{ TranslatedConstructorCallFromConstructor() { this = TTranslatedConstructorBaseInit(call) } } @@ -917,7 +923,8 @@ class TranslatedConstructorDelegationInit extends TranslatedConstructorCallFromC * derived class constructor */ class TranslatedConstructorBaseInit extends TranslatedConstructorCallFromConstructor, - TranslatedBaseStructorCall { + TranslatedBaseStructorCall +{ TranslatedConstructorBaseInit() { not call instanceof ConstructorDelegationInit } final override string toString() { result = "construct base: " + call.toString() } @@ -934,7 +941,8 @@ TranslatedDestructorBaseDestruction getTranslatedDestructorBaseDestruction( * derived class destructor. */ class TranslatedDestructorBaseDestruction extends TranslatedBaseStructorCall, - TTranslatedDestructorBaseDestruction { + TTranslatedDestructorBaseDestruction +{ TranslatedDestructorBaseDestruction() { this = TTranslatedDestructorBaseDestruction(call) } final override string toString() { result = "destroy base: " + call.toString() } diff --git a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedStmt.qll b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedStmt.qll index 9140620cddc..da4183ca25c 100644 --- a/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedStmt.qll +++ b/cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedStmt.qll @@ -20,7 +20,8 @@ TranslatedMicrosoftTryExceptHandler getTranslatedMicrosoftTryExceptHandler( } class TranslatedMicrosoftTryExceptHandler extends TranslatedElement, - TTranslatedMicrosoftTryExceptHandler { + TTranslatedMicrosoftTryExceptHandler +{ MicrosoftTryExceptStmt tryExcept; TranslatedMicrosoftTryExceptHandler() { this = TTranslatedMicrosoftTryExceptHandler(tryExcept) } diff --git a/cpp/ql/lib/semmle/code/cpp/models/implementations/Allocation.qll b/cpp/ql/lib/semmle/code/cpp/models/implementations/Allocation.qll index 028ab1a0370..a1fa08daa7d 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/implementations/Allocation.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/implementations/Allocation.qll @@ -389,7 +389,8 @@ private class NewArrayAllocationExpr extends AllocationExpr, NewArrayExpr { private module HeuristicAllocation { /** A class that maps an `AllocationExpr` to an `HeuristicAllocationExpr`. */ - private class HeuristicAllocationModeled extends HeuristicAllocationExpr instanceof AllocationExpr { + private class HeuristicAllocationModeled extends HeuristicAllocationExpr instanceof AllocationExpr + { override Expr getSizeExpr() { result = AllocationExpr.super.getSizeExpr() } override int getSizeMult() { result = AllocationExpr.super.getSizeMult() } @@ -406,7 +407,8 @@ private module HeuristicAllocation { } /** A class that maps an `AllocationFunction` to an `HeuristicAllocationFunction`. */ - private class HeuristicAllocationFunctionModeled extends HeuristicAllocationFunction instanceof AllocationFunction { + private class HeuristicAllocationFunctionModeled extends HeuristicAllocationFunction instanceof AllocationFunction + { override int getSizeArg() { result = AllocationFunction.super.getSizeArg() } override int getSizeMult() { result = AllocationFunction.super.getSizeMult() } @@ -430,7 +432,8 @@ private module HeuristicAllocation { * 2. The function must return a pointer type * 3. There must be a unique parameter of unsigned integral type. */ - private class HeuristicAllocationFunctionByName extends HeuristicAllocationFunction instanceof Function { + private class HeuristicAllocationFunctionByName extends HeuristicAllocationFunction instanceof Function + { int sizeArg; HeuristicAllocationFunctionByName() { diff --git a/cpp/ql/lib/semmle/code/cpp/models/implementations/GetDelim.qll b/cpp/ql/lib/semmle/code/cpp/models/implementations/GetDelim.qll index 6cf642bd4cb..4415dd0c3fc 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/implementations/GetDelim.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/implementations/GetDelim.qll @@ -7,7 +7,8 @@ import semmle.code.cpp.models.interfaces.FlowSource * The standard functions `getdelim`, `getwdelim` and the glibc variant `__getdelim`. */ private class GetDelimFunction extends TaintFunction, AliasFunction, SideEffectFunction, - RemoteFlowSourceFunction { + RemoteFlowSourceFunction +{ GetDelimFunction() { this.hasGlobalName(["getdelim", "getwdelim", "__getdelim"]) } override predicate hasTaintFlow(FunctionInput i, FunctionOutput o) { diff --git a/cpp/ql/lib/semmle/code/cpp/models/implementations/Gets.qll b/cpp/ql/lib/semmle/code/cpp/models/implementations/Gets.qll index b89eb2c1f14..4ac9daf6dda 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/implementations/Gets.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/implementations/Gets.qll @@ -14,7 +14,8 @@ import semmle.code.cpp.models.interfaces.FlowSource * The standard functions `fgets` and `fgetws`. */ private class FgetsFunction extends DataFlowFunction, TaintFunction, ArrayFunction, AliasFunction, - SideEffectFunction, RemoteFlowSourceFunction { + SideEffectFunction, RemoteFlowSourceFunction +{ FgetsFunction() { // fgets(str, num, stream) // fgetws(wstr, num, stream) @@ -69,7 +70,8 @@ private class FgetsFunction extends DataFlowFunction, TaintFunction, ArrayFuncti * The standard functions `gets`. */ private class GetsFunction extends DataFlowFunction, ArrayFunction, AliasFunction, - SideEffectFunction, LocalFlowSourceFunction { + SideEffectFunction, LocalFlowSourceFunction +{ GetsFunction() { // gets(str) this.hasGlobalOrStdOrBslName("gets") diff --git a/cpp/ql/lib/semmle/code/cpp/models/implementations/IdentityFunction.qll b/cpp/ql/lib/semmle/code/cpp/models/implementations/IdentityFunction.qll index 60afd2b25ef..f07e990dc16 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/implementations/IdentityFunction.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/implementations/IdentityFunction.qll @@ -7,7 +7,8 @@ import semmle.code.cpp.models.interfaces.SideEffect * The standard function templates `std::move` and `std::forward`. */ private class IdentityFunction extends DataFlowFunction, SideEffectFunction, AliasFunction, - FunctionTemplateInstantiation { + FunctionTemplateInstantiation +{ IdentityFunction() { this.hasQualifiedName("std", ["move", "forward"]) } override predicate hasOnlySpecificReadSideEffects() { any() } diff --git a/cpp/ql/lib/semmle/code/cpp/models/implementations/Iterator.qll b/cpp/ql/lib/semmle/code/cpp/models/implementations/Iterator.qll index 93b64c343bd..cafd9aeeef0 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/implementations/Iterator.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/implementations/Iterator.qll @@ -121,7 +121,8 @@ class IteratorCrementNonMemberOperator extends Operator { } private class IteratorCrementNonMemberOperatorModel extends IteratorCrementNonMemberOperator, - DataFlowFunction { + DataFlowFunction +{ override predicate hasDataFlow(FunctionInput input, FunctionOutput output) { input = getIteratorArgumentInput(this, 0) and output.isReturnValue() @@ -143,7 +144,8 @@ class IteratorCrementMemberOperator extends MemberFunction { } private class IteratorCrementMemberOperatorModel extends IteratorCrementMemberOperator, - DataFlowFunction, TaintFunction { + DataFlowFunction, TaintFunction +{ override predicate hasDataFlow(FunctionInput input, FunctionOutput output) { input.isQualifierAddress() and output.isReturnValue() @@ -204,7 +206,8 @@ class IteratorBinaryArithmeticMemberOperator extends MemberFunction { } private class IteratorBinaryArithmeticMemberOperatorModel extends IteratorBinaryArithmeticMemberOperator, - TaintFunction { + TaintFunction +{ override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) { input.isQualifierObject() and output.isReturnValue() @@ -258,7 +261,8 @@ class IteratorAssignArithmeticNonMemberOperator extends Operator { } private class IteratorAssignArithmeticNonMemberOperatorModel extends IteratorAssignArithmeticNonMemberOperator, - DataFlowFunction, TaintFunction { + DataFlowFunction, TaintFunction +{ override predicate hasDataFlow(FunctionInput input, FunctionOutput output) { input.isParameter(0) and output.isReturnValue() @@ -289,7 +293,8 @@ class IteratorAssignArithmeticMemberOperator extends MemberFunction { } private class IteratorAssignArithmeticMemberOperatorModel extends IteratorAssignArithmeticMemberOperator, - DataFlowFunction, TaintFunction { + DataFlowFunction, TaintFunction +{ override predicate hasDataFlow(FunctionInput input, FunctionOutput output) { input.isQualifierAddress() and output.isReturnValue() @@ -325,7 +330,8 @@ class IteratorAssignArithmeticOperator extends Function { * non-member and member versions, use `IteratorPointerDereferenceOperator`. */ class IteratorPointerDereferenceMemberOperator extends MemberFunction, TaintFunction, - IteratorReferenceFunction { + IteratorReferenceFunction +{ IteratorPointerDereferenceMemberOperator() { this.getClassAndName("operator*") instanceof Iterator } @@ -353,7 +359,8 @@ class IteratorPointerDereferenceNonMemberOperator extends Operator, IteratorRefe } private class IteratorPointerDereferenceNonMemberOperatorModel extends IteratorPointerDereferenceNonMemberOperator, - TaintFunction { + TaintFunction +{ override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) { input = getIteratorArgumentInput(this, 0) and output.isReturnValue() @@ -389,7 +396,8 @@ private class IteratorFieldMemberOperator extends Operator, TaintFunction { * An `operator[]` member function of an iterator class. */ private class IteratorArrayMemberOperator extends MemberFunction, TaintFunction, - IteratorReferenceFunction { + IteratorReferenceFunction +{ IteratorArrayMemberOperator() { this.getClassAndName("operator[]") instanceof Iterator } override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) { @@ -418,7 +426,8 @@ class IteratorAssignmentMemberOperator extends MemberFunction { * `operator*` and use their own `operator=` to assign to the container. */ private class IteratorAssignmentMemberOperatorModel extends IteratorAssignmentMemberOperator, - TaintFunction { + TaintFunction +{ override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) { input.isParameterDeref(0) and output.isQualifierObject() diff --git a/cpp/ql/lib/semmle/code/cpp/models/implementations/Memcpy.qll b/cpp/ql/lib/semmle/code/cpp/models/implementations/Memcpy.qll index a8d0e94f43c..2c47587f42e 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/implementations/Memcpy.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/implementations/Memcpy.qll @@ -15,7 +15,8 @@ import semmle.code.cpp.models.interfaces.Taint * `__builtin___memcpy_chk`. */ private class MemcpyFunction extends ArrayFunction, DataFlowFunction, SideEffectFunction, - AliasFunction { + AliasFunction +{ MemcpyFunction() { // memcpy(dest, src, num) // memmove(dest, src, num) diff --git a/cpp/ql/lib/semmle/code/cpp/models/implementations/Memset.qll b/cpp/ql/lib/semmle/code/cpp/models/implementations/Memset.qll index 11ef853a0bc..0d09173854c 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/implementations/Memset.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/implementations/Memset.qll @@ -13,7 +13,8 @@ import semmle.code.cpp.models.interfaces.SideEffect * The standard function `memset` and its assorted variants */ private class MemsetFunction extends ArrayFunction, DataFlowFunction, AliasFunction, - SideEffectFunction { + SideEffectFunction +{ MemsetFunction() { this.hasGlobalOrStdOrBslName("memset") or diff --git a/cpp/ql/lib/semmle/code/cpp/models/implementations/Pure.qll b/cpp/ql/lib/semmle/code/cpp/models/implementations/Pure.qll index 4efab29cabf..41bd9ae0db7 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/implementations/Pure.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/implementations/Pure.qll @@ -8,7 +8,8 @@ import semmle.code.cpp.models.interfaces.SideEffect * guaranteed to be side-effect free. */ private class PureStrFunction extends AliasFunction, ArrayFunction, TaintFunction, - SideEffectFunction { + SideEffectFunction +{ PureStrFunction() { this.hasGlobalOrStdOrBslName([ atoi(), "strcasestr", "strchnul", "strchr", "strchrnul", "strstr", "strpbrk", "strrchr", @@ -153,7 +154,8 @@ private class PureFunction extends TaintFunction, SideEffectFunction { * evaluation is guaranteed to be side-effect free. */ private class PureMemFunction extends AliasFunction, ArrayFunction, TaintFunction, - SideEffectFunction { + SideEffectFunction +{ PureMemFunction() { this.hasGlobalOrStdOrBslName([ "memchr", "__builtin_memchr", "memrchr", "rawmemchr", "memcmp", "__builtin_memcmp", "memmem" diff --git a/cpp/ql/lib/semmle/code/cpp/models/implementations/Recv.qll b/cpp/ql/lib/semmle/code/cpp/models/implementations/Recv.qll index 6a4dd524b86..7323df0eedc 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/implementations/Recv.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/implementations/Recv.qll @@ -11,7 +11,8 @@ import semmle.code.cpp.models.interfaces.SideEffect /** The function `recv` and its assorted variants */ private class Recv extends AliasFunction, ArrayFunction, SideEffectFunction, - RemoteFlowSourceFunction { + RemoteFlowSourceFunction +{ Recv() { this.hasGlobalName([ "recv", // recv(socket, dest, len, flags) diff --git a/cpp/ql/lib/semmle/code/cpp/models/implementations/Scanf.qll b/cpp/ql/lib/semmle/code/cpp/models/implementations/Scanf.qll index 9a9e02611f8..fbef5a8fcac 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/implementations/Scanf.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/implementations/Scanf.qll @@ -15,7 +15,8 @@ import semmle.code.cpp.models.interfaces.FlowSource * The `scanf` family of functions. */ abstract private class ScanfFunctionModel extends ArrayFunction, TaintFunction, AliasFunction, - SideEffectFunction { + SideEffectFunction +{ override predicate hasArrayWithNullTerminator(int bufParam) { bufParam = this.(ScanfFunction).getFormatParameterIndex() } diff --git a/cpp/ql/lib/semmle/code/cpp/models/implementations/SmartPointer.qll b/cpp/ql/lib/semmle/code/cpp/models/implementations/SmartPointer.qll index 389ce6c5ab0..64453f551c7 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/implementations/SmartPointer.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/implementations/SmartPointer.qll @@ -29,7 +29,8 @@ private class SmartPtr extends Class, PointerWrapper { * - `std::weak_ptr::operator*()` */ private class PointerUnwrapperFunction extends MemberFunction, TaintFunction, DataFlowFunction, - SideEffectFunction, AliasFunction { + SideEffectFunction, AliasFunction +{ PointerUnwrapperFunction() { exists(PointerWrapper wrapper | wrapper.getAnUnwrapperFunction() = this) } diff --git a/cpp/ql/lib/semmle/code/cpp/models/implementations/Strset.qll b/cpp/ql/lib/semmle/code/cpp/models/implementations/Strset.qll index f4a80cbabac..e5b493cc2ee 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/implementations/Strset.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/implementations/Strset.qll @@ -13,7 +13,8 @@ import semmle.code.cpp.models.interfaces.SideEffect * The standard function `strset` and its assorted variants */ private class StrsetFunction extends ArrayFunction, DataFlowFunction, AliasFunction, - SideEffectFunction { + SideEffectFunction +{ StrsetFunction() { hasGlobalName([ "strset", "_strset", "_strset_l", "_wcsset", "_wcsset_l", "_mbsset", "_mbsset_l", diff --git a/cpp/ql/lib/semmle/code/cpp/models/implementations/System.qll b/cpp/ql/lib/semmle/code/cpp/models/implementations/System.qll index 02a9d0d6744..de62517e5bb 100644 --- a/cpp/ql/lib/semmle/code/cpp/models/implementations/System.qll +++ b/cpp/ql/lib/semmle/code/cpp/models/implementations/System.qll @@ -7,7 +7,8 @@ import semmle.code.cpp.models.interfaces.CommandExecution * A function for running a command using a command interpreter. */ private class SystemFunction extends CommandExecutionFunction, ArrayFunction, AliasFunction, - SideEffectFunction { + SideEffectFunction +{ SystemFunction() { hasGlobalOrStdName("system") or // system(command) hasGlobalName("popen") or // popen(command, mode) diff --git a/cpp/ql/lib/semmle/code/cpp/security/TaintTrackingImpl.qll b/cpp/ql/lib/semmle/code/cpp/security/TaintTrackingImpl.qll index 05a54b09385..285aba40e86 100644 --- a/cpp/ql/lib/semmle/code/cpp/security/TaintTrackingImpl.qll +++ b/cpp/ql/lib/semmle/code/cpp/security/TaintTrackingImpl.qll @@ -591,7 +591,8 @@ deprecated library class DataSensitiveExprCall extends DataSensitiveCallExpr, Ex /** Call to a virtual function. */ deprecated library class DataSensitiveOverriddenFunctionCall extends DataSensitiveCallExpr, - FunctionCall { + FunctionCall +{ DataSensitiveOverriddenFunctionCall() { exists(getTarget().(VirtualFunction).getAnOverridingFunction()) } From 21d5fa836b3a7d020ba45e8b8168b145a9772131 Mon Sep 17 00:00:00 2001 From: Anders Schack-Mulligen Date: Fri, 17 Feb 2023 12:22:20 +0100 Subject: [PATCH 138/145] Python: Autoformat --- python/ql/lib/semmle/python/Concepts.qll | 3 +- .../dataflow/new/internal/DataFlowPrivate.qll | 3 +- .../lib/semmle/python/frameworks/Aiohttp.qll | 24 +++++--- .../semmle/python/frameworks/Cryptodome.qll | 18 ++++-- .../semmle/python/frameworks/Cryptography.qll | 15 +++-- .../lib/semmle/python/frameworks/Django.qll | 45 +++++++++----- .../lib/semmle/python/frameworks/Fabric.qll | 9 ++- .../lib/semmle/python/frameworks/FastApi.qll | 24 +++++--- .../ql/lib/semmle/python/frameworks/Flask.qll | 12 ++-- .../ql/lib/semmle/python/frameworks/Lxml.qll | 3 +- .../semmle/python/frameworks/MarkupSafe.qll | 6 +- .../lib/semmle/python/frameworks/Peewee.qll | 3 +- .../python/frameworks/RestFramework.qll | 16 +++-- .../ql/lib/semmle/python/frameworks/Rsa.qll | 6 +- .../semmle/python/frameworks/Starlette.qll | 3 +- .../lib/semmle/python/frameworks/Stdlib.qll | 60 ++++++++++++------- .../lib/semmle/python/frameworks/Tornado.qll | 12 ++-- .../lib/semmle/python/frameworks/Twisted.qll | 18 ++++-- .../lib/semmle/python/frameworks/Werkzeug.qll | 3 +- python/ql/src/Security/CWE-327/PyOpenSSL.qll | 3 +- ...ClientSuppliedIpUsedInSecurityCheckLib.qll | 9 ++- 21 files changed, 196 insertions(+), 99 deletions(-) diff --git a/python/ql/lib/semmle/python/Concepts.qll b/python/ql/lib/semmle/python/Concepts.qll index b4d2a64cb45..c8c900eb03d 100644 --- a/python/ql/lib/semmle/python/Concepts.qll +++ b/python/ql/lib/semmle/python/Concepts.qll @@ -1019,7 +1019,8 @@ module Http { * Extend this class to refine existing API models. If you want to model new APIs, * extend `CsrfLocalProtectionSetting::Range` instead. */ - class CsrfLocalProtectionSetting extends DataFlow::Node instanceof CsrfLocalProtectionSetting::Range { + class CsrfLocalProtectionSetting extends DataFlow::Node instanceof CsrfLocalProtectionSetting::Range + { /** * Gets a request handler whose CSRF protection is changed. */ diff --git a/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll index 12ced9d4fdd..7b3234bfedb 100644 --- a/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll +++ b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll @@ -110,7 +110,8 @@ class SyntheticPreUpdateNode extends Node, TSyntheticPreUpdateNode { * func(1, 2, 3) */ class SynthStarArgsElementParameterNode extends ParameterNodeImpl, - TSynthStarArgsElementParameterNode { + TSynthStarArgsElementParameterNode +{ DataFlowCallable callable; SynthStarArgsElementParameterNode() { this = TSynthStarArgsElementParameterNode(callable) } diff --git a/python/ql/lib/semmle/python/frameworks/Aiohttp.qll b/python/ql/lib/semmle/python/frameworks/Aiohttp.qll index d9a1f4c519f..54decc5dcb8 100644 --- a/python/ql/lib/semmle/python/frameworks/Aiohttp.qll +++ b/python/ql/lib/semmle/python/frameworks/Aiohttp.qll @@ -59,7 +59,8 @@ module AiohttpWebModel { * Extend this class to refine existing API models. If you want to model new APIs, * extend `AiohttpRouteSetup::Range` instead. */ - class AiohttpRouteSetup extends Http::Server::RouteSetup::Range instanceof AiohttpRouteSetup::Range { + class AiohttpRouteSetup extends Http::Server::RouteSetup::Range instanceof AiohttpRouteSetup::Range + { override Parameter getARoutedParameter() { none() } override string getFramework() { result = "aiohttp.web" } @@ -252,7 +253,8 @@ module AiohttpWebModel { } /** A request handler defined in an `aiohttp.web` view class, that has no known route. */ - private class AiohttpViewClassRequestHandlerWithoutKnownRoute extends Http::Server::RequestHandler::Range { + private class AiohttpViewClassRequestHandlerWithoutKnownRoute extends Http::Server::RequestHandler::Range + { AiohttpViewClassRequestHandlerWithoutKnownRoute() { exists(AiohttpViewClass vc | vc.getARequestHandler() = this) and not exists(AiohttpRouteSetup setup | setup.getARequestHandler() = this) @@ -440,7 +442,8 @@ module AiohttpWebModel { * handler is invoked. */ class AiohttpRequestHandlerRequestParam extends Request::InstanceSource, RemoteFlowSource::Range, - DataFlow::ParameterNode { + DataFlow::ParameterNode + { AiohttpRequestHandlerRequestParam() { exists(Function requestHandler | requestHandler = any(AiohttpCoroutineRouteSetup setup).getARequestHandler() and @@ -470,7 +473,8 @@ module AiohttpWebModel { * which is the request being processed currently. */ class AiohttpViewClassRequestAttributeRead extends Request::InstanceSource, - RemoteFlowSource::Range, DataFlow::Node { + RemoteFlowSource::Range, DataFlow::Node + { AiohttpViewClassRequestAttributeRead() { this.(DataFlow::AttrRead).getObject() = any(AiohttpViewClass vc).getASelfRef() and this.(DataFlow::AttrRead).getAttributeName() = "request" @@ -494,7 +498,8 @@ module AiohttpWebModel { * - https://docs.aiohttp.org/en/stable/web_quickstart.html#aiohttp-web-exceptions */ class AiohttpWebResponseInstantiation extends Http::Server::HttpResponse::Range, - Response::InstanceSource, DataFlow::CallCfgNode { + Response::InstanceSource, DataFlow::CallCfgNode + { API::Node apiNode; AiohttpWebResponseInstantiation() { @@ -562,7 +567,8 @@ module AiohttpWebModel { * See the part about redirects at https://docs.aiohttp.org/en/stable/web_quickstart.html#aiohttp-web-exceptions */ class AiohttpRedirectExceptionInstantiation extends AiohttpWebResponseInstantiation, - Http::Server::HttpRedirectResponse::Range { + Http::Server::HttpRedirectResponse::Range + { AiohttpRedirectExceptionInstantiation() { exists(string httpRedirectExceptionClassName | httpRedirectExceptionClassName in [ @@ -585,7 +591,8 @@ module AiohttpWebModel { /** * A call to `set_cookie` on a HTTP Response. */ - class AiohttpResponseSetCookieCall extends Http::Server::CookieWrite::Range, DataFlow::CallCfgNode { + class AiohttpResponseSetCookieCall extends Http::Server::CookieWrite::Range, DataFlow::CallCfgNode + { AiohttpResponseSetCookieCall() { this = aiohttpResponseInstance().getMember("set_cookie").getACall() } @@ -600,7 +607,8 @@ module AiohttpWebModel { /** * A call to `del_cookie` on a HTTP Response. */ - class AiohttpResponseDelCookieCall extends Http::Server::CookieWrite::Range, DataFlow::CallCfgNode { + class AiohttpResponseDelCookieCall extends Http::Server::CookieWrite::Range, DataFlow::CallCfgNode + { AiohttpResponseDelCookieCall() { this = aiohttpResponseInstance().getMember("del_cookie").getACall() } diff --git a/python/ql/lib/semmle/python/frameworks/Cryptodome.qll b/python/ql/lib/semmle/python/frameworks/Cryptodome.qll index 0c3e8968c23..1adca253271 100644 --- a/python/ql/lib/semmle/python/frameworks/Cryptodome.qll +++ b/python/ql/lib/semmle/python/frameworks/Cryptodome.qll @@ -23,7 +23,8 @@ private module CryptodomeModel { * See https://pycryptodome.readthedocs.io/en/latest/src/public_key/rsa.html#Crypto.PublicKey.RSA.generate */ class CryptodomePublicKeyRsaGenerateCall extends Cryptography::PublicKey::KeyGeneration::RsaRange, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { CryptodomePublicKeyRsaGenerateCall() { this = API::moduleImport(["Crypto", "Cryptodome"]) @@ -44,7 +45,8 @@ private module CryptodomeModel { * See https://pycryptodome.readthedocs.io/en/latest/src/public_key/dsa.html#Crypto.PublicKey.DSA.generate */ class CryptodomePublicKeyDsaGenerateCall extends Cryptography::PublicKey::KeyGeneration::DsaRange, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { CryptodomePublicKeyDsaGenerateCall() { this = API::moduleImport(["Crypto", "Cryptodome"]) @@ -65,7 +67,8 @@ private module CryptodomeModel { * See https://pycryptodome.readthedocs.io/en/latest/src/public_key/ecc.html#Crypto.PublicKey.ECC.generate */ class CryptodomePublicKeyEccGenerateCall extends Cryptography::PublicKey::KeyGeneration::EccRange, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { CryptodomePublicKeyEccGenerateCall() { this = API::moduleImport(["Crypto", "Cryptodome"]) @@ -105,7 +108,8 @@ private module CryptodomeModel { * A cryptographic operation on an instance from the `Cipher` subpackage of `Cryptodome`/`Crypto`. */ class CryptodomeGenericCipherOperation extends Cryptography::CryptographicOperation::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { string methodName; string cipherName; API::CallNode newCall; @@ -175,7 +179,8 @@ private module CryptodomeModel { * A cryptographic operation on an instance from the `Signature` subpackage of `Cryptodome`/`Crypto`. */ class CryptodomeGenericSignatureOperation extends Cryptography::CryptographicOperation::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { string methodName; string signatureName; @@ -214,7 +219,8 @@ private module CryptodomeModel { * A cryptographic operation on an instance from the `Hash` subpackage of `Cryptodome`/`Crypto`. */ class CryptodomeGenericHashOperation extends Cryptography::CryptographicOperation::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { string hashName; CryptodomeGenericHashOperation() { diff --git a/python/ql/lib/semmle/python/frameworks/Cryptography.qll b/python/ql/lib/semmle/python/frameworks/Cryptography.qll index d3e03083c09..07d80aad7f5 100644 --- a/python/ql/lib/semmle/python/frameworks/Cryptography.qll +++ b/python/ql/lib/semmle/python/frameworks/Cryptography.qll @@ -82,7 +82,8 @@ private module CryptographyModel { * See https://cryptography.io/en/latest/hazmat/primitives/asymmetric/rsa.html#cryptography.hazmat.primitives.asymmetric.rsa.generate_private_key */ class CryptographyRsaGeneratePrivateKeyCall extends Cryptography::PublicKey::KeyGeneration::RsaRange, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { CryptographyRsaGeneratePrivateKeyCall() { this = API::moduleImport("cryptography") @@ -105,7 +106,8 @@ private module CryptographyModel { * See https://cryptography.io/en/latest/hazmat/primitives/asymmetric/dsa.html#cryptography.hazmat.primitives.asymmetric.dsa.generate_private_key */ class CryptographyDsaGeneratePrivateKeyCall extends Cryptography::PublicKey::KeyGeneration::DsaRange, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { CryptographyDsaGeneratePrivateKeyCall() { this = API::moduleImport("cryptography") @@ -128,7 +130,8 @@ private module CryptographyModel { * See https://cryptography.io/en/latest/hazmat/primitives/asymmetric/ec.html#cryptography.hazmat.primitives.asymmetric.ec.generate_private_key */ class CryptographyEcGeneratePrivateKeyCall extends Cryptography::PublicKey::KeyGeneration::EccRange, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { CryptographyEcGeneratePrivateKeyCall() { this = API::moduleImport("cryptography") @@ -204,7 +207,8 @@ private module CryptographyModel { * An encrypt or decrypt operation from `cryptography.hazmat.primitives.ciphers`. */ class CryptographyGenericCipherOperation extends Cryptography::CryptographicOperation::Range, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode + { string algorithmName; string modeName; @@ -262,7 +266,8 @@ private module CryptographyModel { * An hashing operation from `cryptography.hazmat.primitives.hashes`. */ class CryptographyGenericHashOperation extends Cryptography::CryptographicOperation::Range, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode + { string algorithmName; CryptographyGenericHashOperation() { diff --git a/python/ql/lib/semmle/python/frameworks/Django.qll b/python/ql/lib/semmle/python/frameworks/Django.qll index db9c7bba763..f1300c34a6e 100644 --- a/python/ql/lib/semmle/python/frameworks/Django.qll +++ b/python/ql/lib/semmle/python/frameworks/Django.qll @@ -1271,7 +1271,8 @@ module PrivateDjango { } /** An attribute read on an django request that is a `MultiValueDict` instance. */ - private class DjangoHttpRequestMultiValueDictInstances extends Django::MultiValueDict::InstanceSource { + private class DjangoHttpRequestMultiValueDictInstances extends Django::MultiValueDict::InstanceSource + { DjangoHttpRequestMultiValueDictInstances() { this.(DataFlow::AttrRead).getObject() = instance() and this.(DataFlow::AttrRead).getAttributeName() in ["GET", "POST", "FILES"] @@ -1279,7 +1280,8 @@ module PrivateDjango { } /** An attribute read on an django request that is a `ResolverMatch` instance. */ - private class DjangoHttpRequestResolverMatchInstances extends Django::ResolverMatch::InstanceSource { + private class DjangoHttpRequestResolverMatchInstances extends Django::ResolverMatch::InstanceSource + { DjangoHttpRequestResolverMatchInstances() { this.(DataFlow::AttrRead).getObject() = instance() and this.(DataFlow::AttrRead).getAttributeName() = "resolver_match" @@ -1287,7 +1289,8 @@ module PrivateDjango { } /** An `UploadedFile` instance that originates from a django request. */ - private class DjangoHttpRequestUploadedFileInstances extends Django::UploadedFile::InstanceSource { + private class DjangoHttpRequestUploadedFileInstances extends Django::UploadedFile::InstanceSource + { DjangoHttpRequestUploadedFileInstances() { // TODO: this currently only works in local-scope, since writing type-trackers for // this is a little too much effort. Once API-graphs are available for more @@ -1421,7 +1424,8 @@ module PrivateDjango { * Use the predicate `HttpResponseRedirect::instance()` to get references to instances of `django.http.response.HttpResponseRedirect`. */ abstract class InstanceSource extends HttpResponse::InstanceSource, - Http::Server::HttpRedirectResponse::Range, DataFlow::Node { } + Http::Server::HttpRedirectResponse::Range, DataFlow::Node + { } /** A direct instantiation of `django.http.response.HttpResponseRedirect`. */ private class ClassInstantiation extends InstanceSource, DataFlow::CallCfgNode { @@ -1483,7 +1487,8 @@ module PrivateDjango { * Use the predicate `HttpResponsePermanentRedirect::instance()` to get references to instances of `django.http.response.HttpResponsePermanentRedirect`. */ abstract class InstanceSource extends HttpResponse::InstanceSource, - Http::Server::HttpRedirectResponse::Range, DataFlow::Node { } + Http::Server::HttpRedirectResponse::Range, DataFlow::Node + { } /** A direct instantiation of `django.http.response.HttpResponsePermanentRedirect`. */ private class ClassInstantiation extends InstanceSource, DataFlow::CallCfgNode { @@ -2086,7 +2091,8 @@ module PrivateDjango { * * See https://docs.djangoproject.com/en/3.1/ref/request-response/#django.http.HttpResponse.write */ - class HttpResponseWriteCall extends Http::Server::HttpResponse::Range, DataFlow::CallCfgNode { + class HttpResponseWriteCall extends Http::Server::HttpResponse::Range, DataFlow::CallCfgNode + { DjangoImpl::DjangoHttp::Response::HttpResponse::InstanceSource instance; HttpResponseWriteCall() { this.getFunction() = write(instance) } @@ -2106,7 +2112,8 @@ module PrivateDjango { * A call to `set_cookie` on a HTTP Response. */ class DjangoResponseSetCookieCall extends Http::Server::CookieWrite::Range, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode + { DjangoResponseSetCookieCall() { this.calls(DjangoImpl::DjangoHttp::Response::HttpResponse::instance(), "set_cookie") } @@ -2126,7 +2133,8 @@ module PrivateDjango { * A call to `delete_cookie` on a HTTP Response. */ class DjangoResponseDeleteCookieCall extends Http::Server::CookieWrite::Range, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode + { DjangoResponseDeleteCookieCall() { this.calls(DjangoImpl::DjangoHttp::Response::HttpResponse::instance(), "delete_cookie") } @@ -2429,7 +2437,8 @@ module PrivateDjango { /** A request handler defined in a django view class, that has no known route. */ private class DjangoViewClassHandlerWithoutKnownRoute extends Http::Server::RequestHandler::Range, - DjangoRouteHandler { + DjangoRouteHandler + { DjangoViewClassHandlerWithoutKnownRoute() { exists(DjangoViewClass vc | vc.getARequestHandler() = this) and not exists(DjangoRouteSetup setup | setup.getARequestHandler() = this) @@ -2587,7 +2596,8 @@ module PrivateDjango { // --------------------------------------------------------------------------- /** A parameter that will receive the django `HttpRequest` instance when a request handler is invoked. */ private class DjangoRequestHandlerRequestParam extends DjangoImpl::DjangoHttp::Request::HttpRequest::InstanceSource, - RemoteFlowSource::Range, DataFlow::ParameterNode { + RemoteFlowSource::Range, DataFlow::ParameterNode + { DjangoRequestHandlerRequestParam() { this.getParameter() = any(DjangoRouteSetup setup).getARequestHandler().getRequestParam() or @@ -2604,7 +2614,8 @@ module PrivateDjango { * See https://docs.djangoproject.com/en/3.1/topics/class-based-views/generic-display/#dynamic-filtering */ private class DjangoViewClassRequestAttributeRead extends DjangoImpl::DjangoHttp::Request::HttpRequest::InstanceSource, - RemoteFlowSource::Range, DataFlow::Node { + RemoteFlowSource::Range, DataFlow::Node + { DjangoViewClassRequestAttributeRead() { exists(DataFlow::AttrRead read | this = read | read.getObject() = any(DjangoViewClass vc).getASelfRef() and @@ -2624,7 +2635,8 @@ module PrivateDjango { * See https://docs.djangoproject.com/en/3.1/topics/class-based-views/generic-display/#dynamic-filtering */ private class DjangoViewClassRoutedParamsAttributeRead extends RemoteFlowSource::Range, - DataFlow::Node { + DataFlow::Node + { DjangoViewClassRoutedParamsAttributeRead() { exists(DataFlow::AttrRead read | this = read | read.getObject() = any(DjangoViewClass vc).getASelfRef() and @@ -2652,7 +2664,8 @@ module PrivateDjango { * - https://docs.djangoproject.com/en/3.1/topics/http/file-uploads/#handling-uploaded-files-with-a-model */ private class DjangoFileFieldUploadToFunctionFilenameParam extends RemoteFlowSource::Range, - DataFlow::ParameterNode { + DataFlow::ParameterNode + { DjangoFileFieldUploadToFunctionFilenameParam() { exists(DataFlow::CallCfgNode call, DataFlow::Node uploadToArg, Function func | this.getParameter() = func.getArg(1) and @@ -2679,7 +2692,8 @@ module PrivateDjango { * See https://docs.djangoproject.com/en/3.1/topics/http/shortcuts/#redirect */ private class DjangoShortcutsRedirectCall extends Http::Server::HttpRedirectResponse::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { DjangoShortcutsRedirectCall() { this = DjangoImpl::Shortcuts::redirect().getACall() } /** @@ -2713,7 +2727,8 @@ module PrivateDjango { * See https://docs.djangoproject.com/en/3.1/ref/class-based-views/base/#redirectview */ private class DjangoRedirectViewGetRedirectUrlReturn extends Http::Server::HttpRedirectResponse::Range, - DataFlow::CfgNode { + DataFlow::CfgNode + { DjangoRedirectViewGetRedirectUrlReturn() { node = any(GetRedirectUrlFunction f).getAReturnValueFlowNode() } diff --git a/python/ql/lib/semmle/python/frameworks/Fabric.qll b/python/ql/lib/semmle/python/frameworks/Fabric.qll index 5fd9d2afe18..184d362f216 100644 --- a/python/ql/lib/semmle/python/frameworks/Fabric.qll +++ b/python/ql/lib/semmle/python/frameworks/Fabric.qll @@ -44,7 +44,8 @@ private module FabricV1 { * - https://docs.fabfile.org/en/1.14/api/core/operations.html#fabric.operations.sudo */ private class FabricApiLocalRunSudoCall extends SystemCommandExecution::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { FabricApiLocalRunSudoCall() { this = api().getMember(["local", "run", "sudo"]).getACall() } override DataFlow::Node getCommand() { @@ -153,7 +154,8 @@ private module FabricV2 { * - https://docs.fabfile.org/en/2.5/api/connection.html#fabric.connection.Connection.local */ private class FabricConnectionRunSudoLocalCall extends SystemCommandExecution::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { FabricConnectionRunSudoLocalCall() { this.getFunction() = Fabric::Connection::ConnectionClass::instanceRunMethods() } @@ -176,7 +178,8 @@ private module FabricV2 { } class FabricTaskFirstParamConnectionInstance extends Fabric::Connection::ConnectionClass::InstanceSource, - DataFlow::ParameterNode { + DataFlow::ParameterNode + { FabricTaskFirstParamConnectionInstance() { exists(Function func | func.getADecorator() = Fabric::Tasks::task().getAValueReachableFromSource().asExpr() and diff --git a/python/ql/lib/semmle/python/frameworks/FastApi.qll b/python/ql/lib/semmle/python/frameworks/FastApi.qll index b45ef81f88a..d6f5bba6d9f 100644 --- a/python/ql/lib/semmle/python/frameworks/FastApi.qll +++ b/python/ql/lib/semmle/python/frameworks/FastApi.qll @@ -88,7 +88,8 @@ private module FastApi { * Pydantic model. */ private class PydanticModelRequestHandlerParam extends Pydantic::BaseModel::InstanceSource, - DataFlow::ParameterNode { + DataFlow::ParameterNode + { PydanticModelRequestHandlerParam() { this.getParameter().getAnnotation() = Pydantic::BaseModel::subclassRef().getAValueReachableFromSource().asExpr() and @@ -103,7 +104,8 @@ private module FastApi { * A parameter to a request handler that has a WebSocket type-annotation. */ private class WebSocketRequestHandlerParam extends Starlette::WebSocket::InstanceSource, - DataFlow::ParameterNode { + DataFlow::ParameterNode + { WebSocketRequestHandlerParam() { this.getParameter().getAnnotation() = Starlette::WebSocket::classRef().getAValueReachableFromSource().asExpr() and @@ -196,7 +198,8 @@ private module FastApi { /** A direct instantiation of a response class. */ private class ResponseInstantiation extends InstanceSource, Http::Server::HttpResponse::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { API::Node baseApiNode; API::Node responseClass; @@ -223,7 +226,8 @@ private module FastApi { * A direct instantiation of a redirect response. */ private class RedirectResponseInstantiation extends ResponseInstantiation, - Http::Server::HttpRedirectResponse::Range { + Http::Server::HttpRedirectResponse::Range + { RedirectResponseInstantiation() { baseApiNode = getModeledResponseClass("RedirectResponse") } override DataFlow::Node getRedirectLocation() { @@ -246,7 +250,8 @@ private module FastApi { * An implicit response from a return of FastAPI request handler. */ private class FastApiRequestHandlerReturn extends Http::Server::HttpResponse::Range, - DataFlow::CfgNode { + DataFlow::CfgNode + { FastApiRouteSetup routeSetup; FastApiRequestHandlerReturn() { @@ -273,7 +278,8 @@ private module FastApi { * `response_class` set to a `FileResponse`. */ private class FastApiRequestHandlerFileResponseReturn extends FastApiRequestHandlerReturn, - FileSystemAccess::Range { + FileSystemAccess::Range + { FastApiRequestHandlerFileResponseReturn() { exists(API::Node responseClass | responseClass.getAValueReachableFromSource() = routeSetup.getResponseClassArg() and @@ -291,7 +297,8 @@ private module FastApi { * `response_class` set to a `RedirectResponse`. */ private class FastApiRequestHandlerRedirectReturn extends FastApiRequestHandlerReturn, - Http::Server::HttpRedirectResponse::Range { + Http::Server::HttpRedirectResponse::Range + { FastApiRequestHandlerRedirectReturn() { exists(API::Node responseClass | responseClass.getAValueReachableFromSource() = routeSetup.getResponseClassArg() and @@ -349,7 +356,8 @@ private module FastApi { * header-key. */ private class HeadersAppendCookie extends Http::Server::CookieWrite::Range, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode + { HeadersAppendCookie() { exists(DataFlow::AttrRead headers, DataFlow::Node keyArg | headers.accesses(instance(), "headers") and diff --git a/python/ql/lib/semmle/python/frameworks/Flask.qll b/python/ql/lib/semmle/python/frameworks/Flask.qll index d264b085fc4..940af5000ab 100644 --- a/python/ql/lib/semmle/python/frameworks/Flask.qll +++ b/python/ql/lib/semmle/python/frameworks/Flask.qll @@ -447,7 +447,8 @@ module Flask { // --------------------------------------------------------------------------- // Implicit response from returns of flask request handlers // --------------------------------------------------------------------------- - private class FlaskRouteHandlerReturn extends Http::Server::HttpResponse::Range, DataFlow::CfgNode { + private class FlaskRouteHandlerReturn extends Http::Server::HttpResponse::Range, DataFlow::CfgNode + { FlaskRouteHandlerReturn() { exists(Function routeHandler | routeHandler = any(FlaskRouteSetup rs).getARequestHandler() and @@ -471,7 +472,8 @@ module Flask { * See https://flask.palletsprojects.com/en/1.1.x/api/#flask.redirect */ private class FlaskRedirectCall extends Http::Server::HttpRedirectResponse::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { FlaskRedirectCall() { this = API::moduleImport("flask").getMember("redirect").getACall() } override DataFlow::Node getRedirectLocation() { @@ -499,7 +501,8 @@ module Flask { * See https://flask.palletsprojects.com/en/2.0.x/api/#flask.Response.set_cookie */ class FlaskResponseSetCookieCall extends Http::Server::CookieWrite::Range, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode + { FlaskResponseSetCookieCall() { this.calls(Flask::Response::instance(), "set_cookie") } override DataFlow::Node getHeaderArg() { none() } @@ -515,7 +518,8 @@ module Flask { * See https://flask.palletsprojects.com/en/2.0.x/api/#flask.Response.delete_cookie */ class FlaskResponseDeleteCookieCall extends Http::Server::CookieWrite::Range, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode + { FlaskResponseDeleteCookieCall() { this.calls(Flask::Response::instance(), "delete_cookie") } override DataFlow::Node getHeaderArg() { none() } diff --git a/python/ql/lib/semmle/python/frameworks/Lxml.qll b/python/ql/lib/semmle/python/frameworks/Lxml.qll index 63c71a67110..c7807eb027a 100644 --- a/python/ql/lib/semmle/python/frameworks/Lxml.qll +++ b/python/ql/lib/semmle/python/frameworks/Lxml.qll @@ -307,7 +307,8 @@ private module Lxml { * - https://lxml.de/apidoc/lxml.etree.html?highlight=parseids#lxml.etree.iterparse */ private class LxmlIterparseCall extends API::CallNode, XML::XmlParsing::Range, - FileSystemAccess::Range { + FileSystemAccess::Range + { LxmlIterparseCall() { this = API::moduleImport("lxml").getMember("etree").getMember("iterparse").getACall() } diff --git a/python/ql/lib/semmle/python/frameworks/MarkupSafe.qll b/python/ql/lib/semmle/python/frameworks/MarkupSafe.qll index 5679a23910f..e77b92a40dc 100644 --- a/python/ql/lib/semmle/python/frameworks/MarkupSafe.qll +++ b/python/ql/lib/semmle/python/frameworks/MarkupSafe.qll @@ -101,7 +101,8 @@ private module MarkupSafeModel { /** A call to any of the escaping functions in `markupsafe` */ private class MarkupSafeEscapeCall extends Markup::InstanceSource, MarkupSafeEscape, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { MarkupSafeEscapeCall() { this = API::moduleImport("markupsafe").getMember(["escape", "escape_silent"]).getACall() or @@ -141,7 +142,8 @@ private module MarkupSafeModel { /** A escape from %-style string format with `markupsafe.Markup` as the format string. */ private class MarkupEscapeFromPercentStringFormat extends MarkupSafeEscape, - Markup::PercentStringFormat { + Markup::PercentStringFormat + { override DataFlow::Node getAnInput() { result.asCfgNode() = node.getRight() and not result = Markup::instance() diff --git a/python/ql/lib/semmle/python/frameworks/Peewee.qll b/python/ql/lib/semmle/python/frameworks/Peewee.qll index 977428fb98b..1179371be76 100644 --- a/python/ql/lib/semmle/python/frameworks/Peewee.qll +++ b/python/ql/lib/semmle/python/frameworks/Peewee.qll @@ -164,7 +164,8 @@ private module Peewee { * https://docs.peewee-orm.com/en/latest/peewee/api.html#Database.connection. */ class PeeweeDatabaseConnectionCall extends PEP249::Connection::InstanceSource, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { PeeweeDatabaseConnectionCall() { this = Database::instance().getMember("connection").getACall() } diff --git a/python/ql/lib/semmle/python/frameworks/RestFramework.qll b/python/ql/lib/semmle/python/frameworks/RestFramework.qll index 8406ee51e27..dcbd247a1c5 100644 --- a/python/ql/lib/semmle/python/frameworks/RestFramework.qll +++ b/python/ql/lib/semmle/python/frameworks/RestFramework.qll @@ -159,7 +159,8 @@ private module RestFramework { * known route setup. */ class RestFrameworkFunctionBasedViewWithoutKnownRoute extends Http::Server::RequestHandler::Range, - PrivateDjango::DjangoRouteHandler instanceof RestFrameworkFunctionBasedView { + PrivateDjango::DjangoRouteHandler instanceof RestFrameworkFunctionBasedView + { RestFrameworkFunctionBasedViewWithoutKnownRoute() { not exists(PrivateDjango::DjangoRouteSetup setup | setup.getARequestHandler() = this) } @@ -183,7 +184,8 @@ private module RestFramework { * request handler is invoked. */ private class RestFrameworkRequestHandlerRequestParam extends Request::InstanceSource, - RemoteFlowSource::Range, DataFlow::ParameterNode { + RemoteFlowSource::Range, DataFlow::ParameterNode + { RestFrameworkRequestHandlerRequestParam() { // rest_framework.views.APIView subclass exists(RestFrameworkApiViewClass vc | @@ -220,8 +222,8 @@ private module RestFramework { * * Use the predicate `Request::instance()` to get references to instances of `rest_framework.request.Request`. */ - abstract class InstanceSource extends PrivateDjango::DjangoImpl::DjangoHttp::Request::HttpRequest::InstanceSource { - } + abstract class InstanceSource extends PrivateDjango::DjangoImpl::DjangoHttp::Request::HttpRequest::InstanceSource + { } /** A direct instantiation of `rest_framework.request.Request`. */ private class ClassInstantiation extends InstanceSource, DataFlow::CallCfgNode { @@ -297,7 +299,8 @@ private module RestFramework { /** A direct instantiation of `rest_framework.response.Response`. */ private class ClassInstantiation extends PrivateDjango::DjangoImpl::DjangoHttp::Response::HttpResponse::InstanceSource, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { ClassInstantiation() { this = classRef().getACall() } override DataFlow::Node getBody() { result in [this.getArg(0), this.getArgByName("data")] } @@ -321,7 +324,8 @@ private module RestFramework { module ApiException { /** A direct instantiation of `rest_framework.exceptions.ApiException` or subclass. */ private class ClassInstantiation extends Http::Server::HttpResponse::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { string className; ClassInstantiation() { diff --git a/python/ql/lib/semmle/python/frameworks/Rsa.qll b/python/ql/lib/semmle/python/frameworks/Rsa.qll index e82581d46b6..1c582eaa799 100644 --- a/python/ql/lib/semmle/python/frameworks/Rsa.qll +++ b/python/ql/lib/semmle/python/frameworks/Rsa.qll @@ -20,7 +20,8 @@ private module Rsa { * See https://stuvel.eu/python-rsa-doc/reference.html#rsa.newkeys */ class RsaNewkeysCall extends Cryptography::PublicKey::KeyGeneration::RsaRange, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { RsaNewkeysCall() { this = API::moduleImport("rsa").getMember("newkeys").getACall() } override DataFlow::Node getKeySizeArg() { @@ -116,7 +117,8 @@ private module Rsa { * See https://stuvel.eu/python-rsa-doc/reference.html#rsa.compute_hash */ class RsaComputeHashCall extends Cryptography::CryptographicOperation::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { RsaComputeHashCall() { this = API::moduleImport("rsa").getMember("compute_hash").getACall() } override Cryptography::CryptographicAlgorithm getAlgorithm() { diff --git a/python/ql/lib/semmle/python/frameworks/Starlette.qll b/python/ql/lib/semmle/python/frameworks/Starlette.qll index a105d62c5b7..cee5100d436 100644 --- a/python/ql/lib/semmle/python/frameworks/Starlette.qll +++ b/python/ql/lib/semmle/python/frameworks/Starlette.qll @@ -152,7 +152,8 @@ module Starlette { } /** An attribute read on a `starlette.requests.URL` instance that is a `urllib.parse.SplitResult` instance. */ - private class UrlSplitInstances extends Stdlib::SplitResult::InstanceSource instanceof DataFlow::AttrRead { + private class UrlSplitInstances extends Stdlib::SplitResult::InstanceSource instanceof DataFlow::AttrRead + { UrlSplitInstances() { super.getObject() = instance() and super.getAttributeName() = "components" diff --git a/python/ql/lib/semmle/python/frameworks/Stdlib.qll b/python/ql/lib/semmle/python/frameworks/Stdlib.qll index 4a4b34af422..49cb23ef9f6 100644 --- a/python/ql/lib/semmle/python/frameworks/Stdlib.qll +++ b/python/ql/lib/semmle/python/frameworks/Stdlib.qll @@ -1092,7 +1092,8 @@ private module StdlibPrivate { * See https://docs.python.org/3.8/library/os.html#os.execl */ private class OsExecCall extends SystemCommandExecution::Range, FileSystemAccess::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { OsExecCall() { exists(string name | name in ["execl", "execle", "execlp", "execlpe", "execv", "execve", "execvp", "execvpe"] and @@ -1110,7 +1111,8 @@ private module StdlibPrivate { * See https://docs.python.org/3.8/library/os.html#os.spawnl */ private class OsSpawnCall extends SystemCommandExecution::Range, FileSystemAccess::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { OsSpawnCall() { exists(string name | name in [ @@ -1136,7 +1138,8 @@ private module StdlibPrivate { * See https://docs.python.org/3.8/library/os.html#os.posix_spawn */ private class OsPosixSpawnCall extends SystemCommandExecution::Range, FileSystemAccess::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { OsPosixSpawnCall() { this = os().getMember(["posix_spawn", "posix_spawnp"]).getACall() } override DataFlow::Node getCommand() { result in [this.getArg(0), this.getArgByName("path")] } @@ -1348,7 +1351,8 @@ private module StdlibPrivate { * argument as being deserialized... */ private class ShelveOpenCall extends Decoding::Range, FileSystemAccess::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { ShelveOpenCall() { this = API::moduleImport("shelve").getMember("open").getACall() } override predicate mayExecuteInput() { any() } @@ -1452,7 +1456,8 @@ private module StdlibPrivate { * See https://docs.python.org/3/library/functions.html#open */ private class OpenCall extends FileSystemAccess::Range, Stdlib::FileLikeObject::InstanceSource, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { OpenCall() { this = getOpenFunctionRef().getACall() } override DataFlow::Node getAPathArgument() { @@ -1712,7 +1717,8 @@ private module StdlibPrivate { * if it turns out to be a problem, we'll have to refine. */ private class ClassInstantiation extends InstanceSource, RemoteFlowSource::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { ClassInstantiation() { this = classRef().getACall() } override string getSourceType() { result = "cgi.FieldStorage" } @@ -1970,7 +1976,8 @@ private module StdlibPrivate { abstract class InstanceSource extends DataFlow::Node { } /** The `self` parameter in a method on the `BaseHttpRequestHandler` class or any subclass. */ - private class SelfParam extends InstanceSource, RemoteFlowSource::Range, DataFlow::ParameterNode { + private class SelfParam extends InstanceSource, RemoteFlowSource::Range, DataFlow::ParameterNode + { SelfParam() { exists(HttpRequestHandlerClassDef cls | cls.getAMethod().getArg(0) = this.getParameter()) } @@ -2008,14 +2015,16 @@ private module StdlibPrivate { } /** An `HttpMessage` instance that originates from a `BaseHttpRequestHandler` instance. */ - private class BaseHttpRequestHandlerHeadersInstances extends Stdlib::HttpMessage::InstanceSource { + private class BaseHttpRequestHandlerHeadersInstances extends Stdlib::HttpMessage::InstanceSource + { BaseHttpRequestHandlerHeadersInstances() { this.(DataFlow::AttrRead).accesses(instance(), "headers") } } /** A file-like object that originates from a `BaseHttpRequestHandler` instance. */ - private class BaseHttpRequestHandlerFileLikeObjectInstances extends Stdlib::FileLikeObject::InstanceSource { + private class BaseHttpRequestHandlerFileLikeObjectInstances extends Stdlib::FileLikeObject::InstanceSource + { BaseHttpRequestHandlerFileLikeObjectInstances() { this.(DataFlow::AttrRead).accesses(instance(), "rfile") } @@ -2167,7 +2176,8 @@ private module StdlibPrivate { * See https://github.com/python/cpython/blob/b567b9d74bd9e476a3027335873bb0508d6e450f/Lib/wsgiref/handlers.py#L276 */ class WsgirefSimpleServerApplicationWriteCall extends Http::Server::HttpResponse::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { WsgirefSimpleServerApplicationWriteCall() { this.getFunction() = writeFunction() } override DataFlow::Node getBody() { result in [this.getArg(0), this.getArgByName("data")] } @@ -2181,7 +2191,8 @@ private module StdlibPrivate { * A return from a `WsgirefSimpleServerApplication`, which is included in the response body. */ class WsgirefSimpleServerApplicationReturn extends Http::Server::HttpResponse::Range, - DataFlow::CfgNode { + DataFlow::CfgNode + { WsgirefSimpleServerApplicationReturn() { exists(WsgirefSimpleServerApplication requestHandler | node = requestHandler.getAReturnValueFlowNode() @@ -2292,7 +2303,8 @@ private module StdlibPrivate { /** A call to the `getresponse` method. */ private class HttpConnectionGetResponseCall extends DataFlow::MethodCallNode, - HttpResponse::InstanceSource { + HttpResponse::InstanceSource + { HttpConnectionGetResponseCall() { this.calls(instance(_), "getresponse") } } @@ -2351,7 +2363,8 @@ private module StdlibPrivate { * Use the predicate `HTTPResponse::instance()` to get references to instances of `http.client.HTTPResponse`. */ abstract class InstanceSource extends Stdlib::FileLikeObject::InstanceSource, - DataFlow::LocalSourceNode { } + DataFlow::LocalSourceNode + { } /** A direct instantiation of `http.client.HttpResponse`. */ private class ClassInstantiation extends InstanceSource, DataFlow::CallCfgNode { @@ -2722,7 +2735,8 @@ private module StdlibPrivate { * `HashlibNewCall` and `HashlibNewUpdateCall`. */ abstract class HashlibGenericHashOperation extends Cryptography::CryptographicOperation::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { string hashName; API::Node hashClass; @@ -2768,7 +2782,8 @@ private module StdlibPrivate { // hmac // --------------------------------------------------------------------------- abstract class HmacCryptographicOperation extends Cryptography::CryptographicOperation::Range, - API::CallNode { + API::CallNode + { abstract API::Node getDigestArg(); override Cryptography::CryptographicAlgorithm getAlgorithm() { @@ -2996,7 +3011,8 @@ private module StdlibPrivate { } /** Extra taint-step such that the result of `urllib.parse.urlsplit(tainted_string)` is tainted. */ - private class UrllibParseUrlsplitCallAdditionalTaintStep extends TaintTracking::AdditionalTaintStep { + private class UrllibParseUrlsplitCallAdditionalTaintStep extends TaintTracking::AdditionalTaintStep + { override predicate step(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) { nodeTo.(UrllibParseUrlsplitCall).getUrl() = nodeFrom } @@ -3027,7 +3043,8 @@ private module StdlibPrivate { * See https://docs.python.org/3/library/tempfile.html#tempfile.NamedTemporaryFile */ private class TempfileNamedTemporaryFileCall extends FileSystemAccess::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { TempfileNamedTemporaryFileCall() { this = API::moduleImport("tempfile").getMember("NamedTemporaryFile").getACall() } @@ -3064,7 +3081,8 @@ private module StdlibPrivate { * See https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile */ private class TempfileSpooledTemporaryFileCall extends FileSystemAccess::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { TempfileSpooledTemporaryFileCall() { this = API::moduleImport("tempfile").getMember("SpooledTemporaryFile").getACall() } @@ -3099,7 +3117,8 @@ private module StdlibPrivate { * See https://docs.python.org/3/library/tempfile.html#tempfile.TemporaryDirectory */ private class TempfileTemporaryDirectoryCall extends FileSystemAccess::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { TempfileTemporaryDirectoryCall() { this = API::moduleImport("tempfile").getMember("TemporaryDirectory").getACall() } @@ -3556,7 +3575,8 @@ private module StdlibPrivate { * See https://docs.python.org/3/library/xml.sax.reader.html#xml.sax.xmlreader.XMLReader.parse */ private class XmlSaxInstanceParsing extends DataFlow::MethodCallNode, XML::XmlParsing::Range, - FileSystemAccess::Range { + FileSystemAccess::Range + { XmlSaxInstanceParsing() { this = API::moduleImport("xml") diff --git a/python/ql/lib/semmle/python/frameworks/Tornado.qll b/python/ql/lib/semmle/python/frameworks/Tornado.qll index f78adca8074..29bd4fa2279 100644 --- a/python/ql/lib/semmle/python/frameworks/Tornado.qll +++ b/python/ql/lib/semmle/python/frameworks/Tornado.qll @@ -200,7 +200,8 @@ module Tornado { override string getAsyncMethodName() { none() } } - private class RequestAttrAccess extends TornadoModule::HttpUtil::HttpServerRequest::InstanceSource { + private class RequestAttrAccess extends TornadoModule::HttpUtil::HttpServerRequest::InstanceSource + { RequestAttrAccess() { this.(DataFlow::AttrRead).getObject() = instance() and this.(DataFlow::AttrRead).getAttributeName() = "request" @@ -463,7 +464,8 @@ module Tornado { * See https://www.tornadoweb.org/en/stable/web.html#tornado.web.RequestHandler.redirect */ private class TornadoRequestHandlerRedirectCall extends Http::Server::HttpRedirectResponse::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { TornadoRequestHandlerRedirectCall() { this.getFunction() = TornadoModule::Web::RequestHandler::redirectMethod() } @@ -485,7 +487,8 @@ module Tornado { * See https://www.tornadoweb.org/en/stable/web.html#tornado.web.RequestHandler.write */ private class TornadoRequestHandlerWriteCall extends Http::Server::HttpResponse::Range, - DataFlow::CallCfgNode { + DataFlow::CallCfgNode + { TornadoRequestHandlerWriteCall() { this.getFunction() = TornadoModule::Web::RequestHandler::writeMethod() } @@ -503,7 +506,8 @@ module Tornado { * See https://www.tornadoweb.org/en/stable/web.html#tornado.web.RequestHandler.set_cookie */ class TornadoRequestHandlerSetCookieCall extends Http::Server::CookieWrite::Range, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode + { TornadoRequestHandlerSetCookieCall() { this.calls(TornadoModule::Web::RequestHandler::instance(), "set_cookie") } diff --git a/python/ql/lib/semmle/python/frameworks/Twisted.qll b/python/ql/lib/semmle/python/frameworks/Twisted.qll index 34218c7543f..c66f80770c4 100644 --- a/python/ql/lib/semmle/python/frameworks/Twisted.qll +++ b/python/ql/lib/semmle/python/frameworks/Twisted.qll @@ -143,7 +143,8 @@ private module Twisted { * when a twisted request handler is called. */ class TwistedResourceRequestHandlerRequestParam extends RemoteFlowSource::Range, - Request::InstanceSource, DataFlow::ParameterNode { + Request::InstanceSource, DataFlow::ParameterNode + { TwistedResourceRequestHandlerRequestParam() { this.getParameter() = any(TwistedResourceRequestHandler handler).getRequestParameter() } @@ -156,7 +157,8 @@ private module Twisted { * that is also given remote user input. (a bit like RoutedParameter). */ class TwistedResourceRequestHandlerExtraSources extends RemoteFlowSource::Range, - DataFlow::ParameterNode { + DataFlow::ParameterNode + { TwistedResourceRequestHandlerExtraSources() { exists(TwistedResourceRequestHandler func, int i | func.getName() in ["getChild", "getChildWithDefault"] and i = 1 @@ -177,7 +179,8 @@ private module Twisted { * Implicit response from returns of render methods. */ private class TwistedResourceRenderMethodReturn extends Http::Server::HttpResponse::Range, - DataFlow::CfgNode { + DataFlow::CfgNode + { TwistedResourceRenderMethodReturn() { this.asCfgNode() = any(TwistedResourceRenderMethod meth).getAReturnValueFlowNode() } @@ -212,7 +215,8 @@ private module Twisted { * See https://twistedmatrix.com/documents/21.2.0/api/twisted.web.http.Request.html#redirect */ class TwistedRequestRedirectCall extends Http::Server::HttpRedirectResponse::Range, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode + { TwistedRequestRedirectCall() { this.calls(Request::instance(), "redirect") } override DataFlow::Node getBody() { none() } @@ -232,7 +236,8 @@ private module Twisted { * See https://twistedmatrix.com/documents/21.2.0/api/twisted.web.http.Request.html#addCookie */ class TwistedRequestAddCookieCall extends Http::Server::CookieWrite::Range, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode + { TwistedRequestAddCookieCall() { this.calls(Twisted::Request::instance(), "addCookie") } override DataFlow::Node getHeaderArg() { none() } @@ -248,7 +253,8 @@ private module Twisted { * See https://twistedmatrix.com/documents/21.2.0/api/twisted.web.http.Request.html#cookies */ class TwistedRequestCookiesAppendCall extends Http::Server::CookieWrite::Range, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode + { TwistedRequestCookiesAppendCall() { exists(DataFlow::AttrRead cookiesLookup | cookiesLookup.getObject() = Twisted::Request::instance() and diff --git a/python/ql/lib/semmle/python/frameworks/Werkzeug.qll b/python/ql/lib/semmle/python/frameworks/Werkzeug.qll index 66cea37020e..fb9a4e42c49 100644 --- a/python/ql/lib/semmle/python/frameworks/Werkzeug.qll +++ b/python/ql/lib/semmle/python/frameworks/Werkzeug.qll @@ -83,7 +83,8 @@ module Werkzeug { // possible to do storage.read() instead of the long form storage.stream.read(). So // that's why InstanceSource also extends `Stdlib::FileLikeObject::InstanceSource` abstract class InstanceSource extends Stdlib::FileLikeObject::InstanceSource, - DataFlow::LocalSourceNode { } + DataFlow::LocalSourceNode + { } /** Gets a reference to an instance of `werkzeug.datastructures.FileStorage`. */ private DataFlow::TypeTrackingNode instance(DataFlow::TypeTracker t) { diff --git a/python/ql/src/Security/CWE-327/PyOpenSSL.qll b/python/ql/src/Security/CWE-327/PyOpenSSL.qll index 534f7c474e5..b2052ff5d05 100644 --- a/python/ql/src/Security/CWE-327/PyOpenSSL.qll +++ b/python/ql/src/Security/CWE-327/PyOpenSSL.qll @@ -51,7 +51,8 @@ class SetOptionsCall extends ProtocolRestriction, DataFlow::CallCfgNode { } } -class UnspecificPyOpenSslContextCreation extends PyOpenSslContextCreation, UnspecificContextCreation { +class UnspecificPyOpenSslContextCreation extends PyOpenSslContextCreation, UnspecificContextCreation +{ // UnspecificPyOpenSslContextCreation() { library instanceof PyOpenSsl } } diff --git a/python/ql/src/experimental/Security/CWE-348/ClientSuppliedIpUsedInSecurityCheckLib.qll b/python/ql/src/experimental/Security/CWE-348/ClientSuppliedIpUsedInSecurityCheckLib.qll index 39b69b10004..9167e300ac5 100644 --- a/python/ql/src/experimental/Security/CWE-348/ClientSuppliedIpUsedInSecurityCheckLib.qll +++ b/python/ql/src/experimental/Security/CWE-348/ClientSuppliedIpUsedInSecurityCheckLib.qll @@ -16,7 +16,8 @@ private import semmle.python.frameworks.Tornado abstract class ClientSuppliedIpUsedInSecurityCheck extends DataFlow::Node { } private class FlaskClientSuppliedIpUsedInSecurityCheck extends ClientSuppliedIpUsedInSecurityCheck, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode +{ FlaskClientSuppliedIpUsedInSecurityCheck() { this = Flask::request().getMember("headers").getMember(["get", "get_all", "getlist"]).getACall() and this.getArg(0).asExpr().(StrConst).getText().toLowerCase() = clientIpParameterName() @@ -24,7 +25,8 @@ private class FlaskClientSuppliedIpUsedInSecurityCheck extends ClientSuppliedIpU } private class DjangoClientSuppliedIpUsedInSecurityCheck extends ClientSuppliedIpUsedInSecurityCheck, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode +{ DjangoClientSuppliedIpUsedInSecurityCheck() { exists(DataFlow::Node req, DataFlow::AttrRead headers | // a call to request.headers.get or request.META.get @@ -38,7 +40,8 @@ private class DjangoClientSuppliedIpUsedInSecurityCheck extends ClientSuppliedIp } private class TornadoClientSuppliedIpUsedInSecurityCheck extends ClientSuppliedIpUsedInSecurityCheck, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode +{ TornadoClientSuppliedIpUsedInSecurityCheck() { // a call to self.request.headers.get or self.request.headers.get_list inside a tornado requesthandler exists( From 8d97fe9ed327a9546ff2eaf515cf0f5214deddd9 Mon Sep 17 00:00:00 2001 From: Anders Schack-Mulligen Date: Fri, 17 Feb 2023 12:24:39 +0100 Subject: [PATCH 139/145] JavaScript: Autoformat --- .../EndpointCharacteristics.qll | 120 ++++++++++++------ .../EndpointFeatures.qll | 3 +- .../adaptivethreatmodeling/EndpointTypes.qll | 3 +- .../adaptivethreatmodeling/TaintedPathATM.qll | 3 +- .../adaptivethreatmodeling/XssATM.qll | 6 +- .../XssThroughDomATM.qll | 6 +- .../modelbuilding/extraction/Queries.qll | 3 +- .../ql/lib/semmle/javascript/Closure.qll | 18 +-- .../ql/lib/semmle/javascript/Concepts.qll | 3 +- javascript/ql/lib/semmle/javascript/DOM.qll | 9 +- .../ql/lib/semmle/javascript/Functions.qll | 3 +- .../lib/semmle/javascript/GeneratedCode.qll | 4 +- .../javascript/MembershipCandidates.qll | 3 +- .../ql/lib/semmle/javascript/Promises.qll | 3 +- .../ql/lib/semmle/javascript/Routing.qll | 3 +- .../lib/semmle/javascript/StandardLibrary.qll | 3 +- .../ql/lib/semmle/javascript/TypeScript.qll | 3 +- .../javascript/dataflow/Refinements.qll | 3 +- .../javascript/dataflow/TaintTracking.qll | 3 +- .../internal/PropertyTypeInference.qll | 3 +- .../internal/VariableTypeInference.qll | 6 +- .../javascript/dependencies/Dependencies.qll | 6 +- .../dependencies/FrameworkLibraries.qll | 15 ++- .../frameworks/AngularJS/AngularJSCore.qll | 3 +- .../AngularJS/DependencyInjections.qll | 9 +- .../AngularJS/ServiceDefinitions.qll | 9 +- .../javascript/frameworks/AsyncPackage.qll | 3 +- .../semmle/javascript/frameworks/Connect.qll | 3 +- .../javascript/frameworks/CookieLibraries.qll | 18 ++- .../semmle/javascript/frameworks/Electron.qll | 7 +- .../semmle/javascript/frameworks/Express.qll | 15 ++- .../javascript/frameworks/ExpressModules.qll | 9 +- .../semmle/javascript/frameworks/Fastify.qll | 6 +- .../semmle/javascript/frameworks/Firebase.qll | 3 +- .../lib/semmle/javascript/frameworks/HTTP.qll | 9 +- .../lib/semmle/javascript/frameworks/Hapi.qll | 3 +- .../lib/semmle/javascript/frameworks/Koa.qll | 3 +- .../frameworks/LodashUnderscore.qll | 3 +- .../lib/semmle/javascript/frameworks/Nest.qll | 6 +- .../lib/semmle/javascript/frameworks/Next.qll | 3 +- .../javascript/frameworks/NodeJSLib.qll | 12 +- .../semmle/javascript/frameworks/React.qll | 6 +- .../semmle/javascript/frameworks/Restify.qll | 12 +- .../semmle/javascript/frameworks/Spife.qll | 9 +- .../heuristics/AdditionalRouteHandlers.qll | 19 ++- .../javascript/heuristics/AdditionalSinks.qll | 3 +- .../heuristics/AdditionalSources.qll | 3 +- .../security/IncompleteBlacklistSanitizer.qll | 3 +- .../dataflow/DomBasedXssCustomizations.qll | 7 +- .../security/dataflow/DomBasedXssQuery.qll | 6 +- ...tmlAttributeSanitizationCustomizations.qll | 3 +- ...IndirectCommandInjectionCustomizations.qll | 4 +- .../LoopBoundInjectionCustomizations.qll | 6 +- .../security/dataflow/MissingRateLimiting.qll | 7 +- .../PrototypePollutingAssignmentQuery.qll | 3 +- .../dataflow/ReflectedXssCustomizations.qll | 4 +- .../security/dataflow/ReflectedXssQuery.qll | 3 +- ...ondOrderCommandInjectionCustomizations.qll | 6 +- .../dataflow/SqlInjectionCustomizations.qll | 3 +- .../dataflow/StoredXssCustomizations.qll | 8 +- .../security/dataflow/StoredXssQuery.qll | 3 +- .../dataflow/UnsafeHtmlConstructionQuery.qll | 3 +- .../UnsafeJQueryPluginCustomizations.qll | 6 +- .../security/dataflow/XssThroughDomQuery.qll | 6 +- .../Security/CWE-020/MissingRegExpAnchor.ql | 3 +- 65 files changed, 320 insertions(+), 172 deletions(-) diff --git a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointCharacteristics.qll b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointCharacteristics.qll index 25ac8ca402a..6bb2f29d05c 100644 --- a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointCharacteristics.qll +++ b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointCharacteristics.qll @@ -317,7 +317,8 @@ abstract class OtherModeledArgumentCharacteristic extends EndpointCharacteristic * A characteristic that is an indicator of not being a sink of any type, because it's an argument to a function of a * builtin object. */ -abstract private class ArgumentToBuiltinFunctionCharacteristic extends OtherModeledArgumentCharacteristic { +abstract private class ArgumentToBuiltinFunctionCharacteristic extends OtherModeledArgumentCharacteristic +{ bindingset[this] ArgumentToBuiltinFunctionCharacteristic() { any() } } @@ -358,7 +359,8 @@ abstract class LikelyNotASinkCharacteristic extends EndpointCharacteristic { } private class LodashUnderscoreCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ LodashUnderscoreCharacteristic() { this = "LodashUnderscoreArgument" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -367,7 +369,8 @@ private class LodashUnderscoreCharacteristic extends NotASinkCharacteristic, } private class JQueryArgumentCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ JQueryArgumentCharacteristic() { this = "JQueryArgument" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -376,7 +379,8 @@ private class JQueryArgumentCharacteristic extends NotASinkCharacteristic, } private class ClientRequestCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ ClientRequestCharacteristic() { this = "ClientRequest" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -387,7 +391,8 @@ private class ClientRequestCharacteristic extends NotASinkCharacteristic, } private class PromiseDefinitionCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ PromiseDefinitionCharacteristic() { this = "PromiseDefinition" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -398,14 +403,16 @@ private class PromiseDefinitionCharacteristic extends NotASinkCharacteristic, } private class CryptographicKeyCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ CryptographicKeyCharacteristic() { this = "CryptographicKey" } override predicate appliesToEndpoint(DataFlow::Node n) { n instanceof CryptographicKey } } private class CryptographicOperationFlowCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ CryptographicOperationFlowCharacteristic() { this = "CryptographicOperationFlow" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -414,7 +421,8 @@ private class CryptographicOperationFlowCharacteristic extends NotASinkCharacter } private class LoggerMethodCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ LoggerMethodCharacteristic() { this = "LoggerMethod" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -425,7 +433,8 @@ private class LoggerMethodCharacteristic extends NotASinkCharacteristic, } private class TimeoutCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ TimeoutCharacteristic() { this = "Timeout" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -436,7 +445,8 @@ private class TimeoutCharacteristic extends NotASinkCharacteristic, } private class ReceiverStorageCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ ReceiverStorageCharacteristic() { this = "ReceiverStorage" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -447,7 +457,8 @@ private class ReceiverStorageCharacteristic extends NotASinkCharacteristic, } private class StringStartsWithCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ StringStartsWithCharacteristic() { this = "StringStartsWith" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -458,7 +469,8 @@ private class StringStartsWithCharacteristic extends NotASinkCharacteristic, } private class StringEndsWithCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ StringEndsWithCharacteristic() { this = "StringEndsWith" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -467,7 +479,8 @@ private class StringEndsWithCharacteristic extends NotASinkCharacteristic, } private class StringRegExpTestCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ StringRegExpTestCharacteristic() { this = "StringRegExpTest" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -478,7 +491,8 @@ private class StringRegExpTestCharacteristic extends NotASinkCharacteristic, } private class EventRegistrationCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ EventRegistrationCharacteristic() { this = "EventRegistration" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -487,7 +501,8 @@ private class EventRegistrationCharacteristic extends NotASinkCharacteristic, } private class EventDispatchCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ EventDispatchCharacteristic() { this = "EventDispatch" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -496,7 +511,8 @@ private class EventDispatchCharacteristic extends NotASinkCharacteristic, } private class MembershipCandidateTestCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ MembershipCandidateTestCharacteristic() { this = "MembershipCandidateTest" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -507,7 +523,8 @@ private class MembershipCandidateTestCharacteristic extends NotASinkCharacterist } private class FileSystemAccessCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ FileSystemAccessCharacteristic() { this = "FileSystemAccess" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -516,7 +533,8 @@ private class FileSystemAccessCharacteristic extends NotASinkCharacteristic, } private class DatabaseAccessCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ DatabaseAccessCharacteristic() { this = "DatabaseAccess" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -540,7 +558,8 @@ private class DomCharacteristic extends NotASinkCharacteristic, OtherModeledArgu } private class NextFunctionCallCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ NextFunctionCallCharacteristic() { this = "NextFunctionCall" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -552,7 +571,8 @@ private class NextFunctionCallCharacteristic extends NotASinkCharacteristic, } private class DojoRequireCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ DojoRequireCharacteristic() { this = "DojoRequire" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -563,7 +583,8 @@ private class DojoRequireCharacteristic extends NotASinkCharacteristic, } private class Base64ManipulationCharacteristic extends NotASinkCharacteristic, - OtherModeledArgumentCharacteristic { + OtherModeledArgumentCharacteristic +{ Base64ManipulationCharacteristic() { this = "Base64Manipulation" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -573,7 +594,8 @@ private class Base64ManipulationCharacteristic extends NotASinkCharacteristic, } private class ArgumentToArrayCharacteristic extends ArgumentToBuiltinFunctionCharacteristic, - LikelyNotASinkCharacteristic { + LikelyNotASinkCharacteristic +{ ArgumentToArrayCharacteristic() { this = "ArgumentToArray" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -588,7 +610,8 @@ private class ArgumentToArrayCharacteristic extends ArgumentToBuiltinFunctionCha } private class ArgumentToBuiltinGlobalVarRefCharacteristic extends ArgumentToBuiltinFunctionCharacteristic, - LikelyNotASinkCharacteristic { + LikelyNotASinkCharacteristic +{ ArgumentToBuiltinGlobalVarRefCharacteristic() { this = "ArgumentToBuiltinGlobalVarRef" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -607,7 +630,8 @@ private class ArgumentToBuiltinGlobalVarRefCharacteristic extends ArgumentToBuil } private class ConstantReceiverCharacteristic extends ArgumentToBuiltinFunctionCharacteristic, - NotASinkCharacteristic { + NotASinkCharacteristic +{ ConstantReceiverCharacteristic() { this = "ConstantReceiver" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -623,7 +647,8 @@ private class ConstantReceiverCharacteristic extends ArgumentToBuiltinFunctionCh } private class BuiltinCallNameCharacteristic extends ArgumentToBuiltinFunctionCharacteristic, - NotASinkCharacteristic { + NotASinkCharacteristic +{ BuiltinCallNameCharacteristic() { this = "BuiltinCallName" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -684,7 +709,8 @@ class IsArgumentToModeledFunctionCharacteristic extends StandardEndpointFilterCh } } -private class IsArgumentToSinklessLibraryCharacteristic extends StandardEndpointFilterCharacteristic { +private class IsArgumentToSinklessLibraryCharacteristic extends StandardEndpointFilterCharacteristic +{ IsArgumentToSinklessLibraryCharacteristic() { this = "argument to sinkless library" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -750,7 +776,8 @@ private class InIrrelevantFileCharacteristic extends StandardEndpointFilterChara } /** An EndpointFilterCharacteristic that indicates that an endpoint is unlikely to be a NoSQL injection sink. */ -abstract private class NosqlInjectionSinkEndpointFilterCharacteristic extends EndpointFilterCharacteristic { +abstract private class NosqlInjectionSinkEndpointFilterCharacteristic extends EndpointFilterCharacteristic +{ bindingset[this] NosqlInjectionSinkEndpointFilterCharacteristic() { any() } @@ -763,7 +790,8 @@ abstract private class NosqlInjectionSinkEndpointFilterCharacteristic extends En } } -private class DatabaseAccessCallHeuristicCharacteristic extends NosqlInjectionSinkEndpointFilterCharacteristic { +private class DatabaseAccessCallHeuristicCharacteristic extends NosqlInjectionSinkEndpointFilterCharacteristic +{ DatabaseAccessCallHeuristicCharacteristic() { this = "matches database access call heuristic" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -794,7 +822,8 @@ private class ModeledSinkCharacteristic extends NosqlInjectionSinkEndpointFilter } } -private class PredecessorInModeledFlowStepCharacteristic extends NosqlInjectionSinkEndpointFilterCharacteristic { +private class PredecessorInModeledFlowStepCharacteristic extends NosqlInjectionSinkEndpointFilterCharacteristic +{ PredecessorInModeledFlowStepCharacteristic() { this = "predecessor in a modeled flow step" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -805,7 +834,8 @@ private class PredecessorInModeledFlowStepCharacteristic extends NosqlInjectionS } } -private class ModeledDatabaseAccessCharacteristic extends NosqlInjectionSinkEndpointFilterCharacteristic { +private class ModeledDatabaseAccessCharacteristic extends NosqlInjectionSinkEndpointFilterCharacteristic +{ ModeledDatabaseAccessCharacteristic() { this = "modeled database access" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -818,7 +848,8 @@ private class ModeledDatabaseAccessCharacteristic extends NosqlInjectionSinkEndp } } -private class ReceiverIsHttpRequestExpressionCharacteristic extends NosqlInjectionSinkEndpointFilterCharacteristic { +private class ReceiverIsHttpRequestExpressionCharacteristic extends NosqlInjectionSinkEndpointFilterCharacteristic +{ ReceiverIsHttpRequestExpressionCharacteristic() { this = "receiver is a HTTP request expression" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -829,7 +860,8 @@ private class ReceiverIsHttpRequestExpressionCharacteristic extends NosqlInjecti } } -private class ReceiverIsHttpResponseExpressionCharacteristic extends NosqlInjectionSinkEndpointFilterCharacteristic { +private class ReceiverIsHttpResponseExpressionCharacteristic extends NosqlInjectionSinkEndpointFilterCharacteristic +{ ReceiverIsHttpResponseExpressionCharacteristic() { this = "receiver is a HTTP response expression" } @@ -842,7 +874,8 @@ private class ReceiverIsHttpResponseExpressionCharacteristic extends NosqlInject } } -private class NotDirectArgumentToLikelyExternalLibraryCallOrHeuristicSinkNosqlCharacteristic extends NosqlInjectionSinkEndpointFilterCharacteristic { +private class NotDirectArgumentToLikelyExternalLibraryCallOrHeuristicSinkNosqlCharacteristic extends NosqlInjectionSinkEndpointFilterCharacteristic +{ NotDirectArgumentToLikelyExternalLibraryCallOrHeuristicSinkNosqlCharacteristic() { this = "not a direct argument to a likely external library call or a heuristic sink (nosql)" } @@ -885,7 +918,8 @@ private class NotDirectArgumentToLikelyExternalLibraryCallOrHeuristicSinkNosqlCh } /** An EndpointFilterCharacteristic that indicates that an endpoint is unlikely to be a SQL injection sink. */ -abstract private class SqlInjectionSinkEndpointFilterCharacteristic extends EndpointFilterCharacteristic { +abstract private class SqlInjectionSinkEndpointFilterCharacteristic extends EndpointFilterCharacteristic +{ bindingset[this] SqlInjectionSinkEndpointFilterCharacteristic() { any() } @@ -898,7 +932,8 @@ abstract private class SqlInjectionSinkEndpointFilterCharacteristic extends Endp } } -private class PreparedSqlStatementCharacteristic extends SqlInjectionSinkEndpointFilterCharacteristic { +private class PreparedSqlStatementCharacteristic extends SqlInjectionSinkEndpointFilterCharacteristic +{ PreparedSqlStatementCharacteristic() { this = "prepared SQL statement" } override predicate appliesToEndpoint(DataFlow::Node n) { @@ -932,7 +967,8 @@ private class HtmlOrRenderingCharacteristic extends SqlInjectionSinkEndpointFilt } } -private class NotAnArgumentToLikelyExternalLibraryCallOrHeuristicSinkCharacteristic extends SqlInjectionSinkEndpointFilterCharacteristic { +private class NotAnArgumentToLikelyExternalLibraryCallOrHeuristicSinkCharacteristic extends SqlInjectionSinkEndpointFilterCharacteristic +{ NotAnArgumentToLikelyExternalLibraryCallOrHeuristicSinkCharacteristic() { this = "not an argument to a likely external library call or a heuristic sink" } @@ -956,7 +992,8 @@ private class NotAnArgumentToLikelyExternalLibraryCallOrHeuristicSinkCharacteris } /** An EndpointFilterCharacteristic that indicates that an endpoint is unlikely to be a tainted path injection sink. */ -abstract private class TaintedPathSinkEndpointFilterCharacteristic extends EndpointFilterCharacteristic { +abstract private class TaintedPathSinkEndpointFilterCharacteristic extends EndpointFilterCharacteristic +{ bindingset[this] TaintedPathSinkEndpointFilterCharacteristic() { any() } @@ -969,7 +1006,8 @@ abstract private class TaintedPathSinkEndpointFilterCharacteristic extends Endpo } } -private class NotDirectArgumentToLikelyExternalLibraryCallOrHeuristicSinkTaintedPathCharacteristic extends TaintedPathSinkEndpointFilterCharacteristic { +private class NotDirectArgumentToLikelyExternalLibraryCallOrHeuristicSinkTaintedPathCharacteristic extends TaintedPathSinkEndpointFilterCharacteristic +{ NotDirectArgumentToLikelyExternalLibraryCallOrHeuristicSinkTaintedPathCharacteristic() { this = "not a direct argument to a likely external library call or a heuristic sink (tainted path)" @@ -1021,7 +1059,8 @@ abstract private class XssSinkEndpointFilterCharacteristic extends EndpointFilte } } -private class SetStateCallsInReactApplicationsCharacteristic extends XssSinkEndpointFilterCharacteristic { +private class SetStateCallsInReactApplicationsCharacteristic extends XssSinkEndpointFilterCharacteristic +{ SetStateCallsInReactApplicationsCharacteristic() { this = "setState calls ought to be safe in react applications" } @@ -1031,7 +1070,8 @@ private class SetStateCallsInReactApplicationsCharacteristic extends XssSinkEndp } } -private class NotDirectArgumentToLikelyExternalLibraryCallOrHeuristicSinkXssCharacteristic extends XssSinkEndpointFilterCharacteristic { +private class NotDirectArgumentToLikelyExternalLibraryCallOrHeuristicSinkXssCharacteristic extends XssSinkEndpointFilterCharacteristic +{ NotDirectArgumentToLikelyExternalLibraryCallOrHeuristicSinkXssCharacteristic() { this = "not a direct argument to a likely external library call or a heuristic sink (xss)" } diff --git a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointFeatures.qll b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointFeatures.qll index 0ac74597478..8e34d714f18 100644 --- a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointFeatures.qll +++ b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointFeatures.qll @@ -204,7 +204,8 @@ class FileImports extends EndpointFeature, TFileImports { * will be treated by tokenization as if they were spaces. */ class ContextSurroundingFunctionParameters extends EndpointFeature, - TContextSurroundingFunctionParameters { + TContextSurroundingFunctionParameters +{ override string getName() { result = "contextSurroundingFunctionParameters" } Function getRelevantFunction(DataFlow::Node endpoint) { diff --git a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointTypes.qll b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointTypes.qll index ade9f9ed99d..452128083fa 100644 --- a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointTypes.qll +++ b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointTypes.qll @@ -64,7 +64,8 @@ class TaintedPathSinkType extends EndpointType, TTaintedPathSinkType { /** The `ShellCommandInjectionFromEnvironmentSink` class that can be predicted by endpoint scoring models. */ class ShellCommandInjectionFromEnvironmentSinkType extends EndpointType, - TShellCommandInjectionFromEnvironmentSinkType { + TShellCommandInjectionFromEnvironmentSinkType +{ override string getDescription() { result = "ShellCommandInjectionFromEnvironmentSink" } override int getEncoding() { result = 5 } diff --git a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/TaintedPathATM.qll b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/TaintedPathATM.qll index c494a7587d6..de5c9fab415 100644 --- a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/TaintedPathATM.qll +++ b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/TaintedPathATM.qll @@ -51,7 +51,8 @@ class TaintedPathAtmConfig extends AtmConfig { * of barrier guards, we port the barrier guards for the boosted query from the standard library to * sanitizer guards here. */ -private class BarrierGuardNodeAsSanitizerGuardNode extends TaintTracking::LabeledSanitizerGuardNode instanceof TaintedPath::BarrierGuardNode { +private class BarrierGuardNodeAsSanitizerGuardNode extends TaintTracking::LabeledSanitizerGuardNode instanceof TaintedPath::BarrierGuardNode +{ override predicate sanitizes(boolean outcome, Expr e) { blocks(outcome, e) or blocks(outcome, e, _) } diff --git a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/XssATM.qll b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/XssATM.qll index d28b669bf49..5daac270292 100644 --- a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/XssATM.qll +++ b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/XssATM.qll @@ -40,7 +40,8 @@ class DomBasedXssAtmConfig extends AtmConfig { private import semmle.javascript.security.dataflow.Xss::Shared as Shared private class PrefixStringSanitizerActivated extends TaintTracking::SanitizerGuardNode, - DomBasedXss::PrefixStringSanitizer { + DomBasedXss::PrefixStringSanitizer +{ PrefixStringSanitizerActivated() { this = this } } @@ -52,6 +53,7 @@ private class QuoteGuard extends TaintTracking::SanitizerGuardNode, Shared::Quot QuoteGuard() { this = this } } -private class ContainsHtmlGuard extends TaintTracking::SanitizerGuardNode, Shared::ContainsHtmlGuard { +private class ContainsHtmlGuard extends TaintTracking::SanitizerGuardNode, Shared::ContainsHtmlGuard +{ ContainsHtmlGuard() { this = this } } diff --git a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/XssThroughDomATM.qll b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/XssThroughDomATM.qll index 87d69a37165..e188da15a7e 100644 --- a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/XssThroughDomATM.qll +++ b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/XssThroughDomATM.qll @@ -71,7 +71,8 @@ class TypeTestGuard extends TaintTracking::SanitizerGuardNode, DataFlow::ValueNo private import semmle.javascript.security.dataflow.Xss::Shared as Shared private class PrefixStringSanitizer extends TaintTracking::SanitizerGuardNode, - DomBasedXss::PrefixStringSanitizer { + DomBasedXss::PrefixStringSanitizer +{ PrefixStringSanitizer() { this = this } } @@ -83,6 +84,7 @@ private class QuoteGuard extends TaintTracking::SanitizerGuardNode, Shared::Quot QuoteGuard() { this = this } } -private class ContainsHtmlGuard extends TaintTracking::SanitizerGuardNode, Shared::ContainsHtmlGuard { +private class ContainsHtmlGuard extends TaintTracking::SanitizerGuardNode, Shared::ContainsHtmlGuard +{ ContainsHtmlGuard() { this = this } } diff --git a/javascript/ql/experimental/adaptivethreatmodeling/modelbuilding/extraction/Queries.qll b/javascript/ql/experimental/adaptivethreatmodeling/modelbuilding/extraction/Queries.qll index a84872c4ee4..4f7260e7e62 100644 --- a/javascript/ql/experimental/adaptivethreatmodeling/modelbuilding/extraction/Queries.qll +++ b/javascript/ql/experimental/adaptivethreatmodeling/modelbuilding/extraction/Queries.qll @@ -39,6 +39,7 @@ class XssThroughDomQuery extends Query, TXssThroughDomQuery { } class ShellCommandInjectionFromEnvironmentQuery extends Query, - TShellCommandInjectionFromEnvironmentQuery { + TShellCommandInjectionFromEnvironmentQuery +{ override string getName() { result = "ShellCommandInjectionFromEnvironment" } } diff --git a/javascript/ql/lib/semmle/javascript/Closure.qll b/javascript/ql/lib/semmle/javascript/Closure.qll index e27387255a1..c69363588cc 100644 --- a/javascript/ql/lib/semmle/javascript/Closure.qll +++ b/javascript/ql/lib/semmle/javascript/Closure.qll @@ -48,7 +48,8 @@ module Closure { * A call to a method on the `goog.` namespace, as a closure reference. */ abstract private class DefaultNamespaceRef extends DataFlow::MethodCallNode, - ClosureNamespaceRef::Range { + ClosureNamespaceRef::Range + { DefaultNamespaceRef() { this = DataFlow::globalVarRef("goog").getAMethodCall() } override string getClosureNamespace() { result = getArgument(0).getStringValue() } @@ -75,21 +76,22 @@ module Closure { /** * A top-level call to `goog.provide`. */ - class ClosureProvideCall extends ClosureNamespaceRef, DataFlow::MethodCallNode instanceof DefaultClosureProvideCall { - } + class ClosureProvideCall extends ClosureNamespaceRef, DataFlow::MethodCallNode instanceof DefaultClosureProvideCall + { } /** * A call to `goog.require`. */ - private class DefaultClosureRequireCall extends DefaultNamespaceRef, ClosureNamespaceAccess::Range { + private class DefaultClosureRequireCall extends DefaultNamespaceRef, ClosureNamespaceAccess::Range + { DefaultClosureRequireCall() { getMethodName() = "require" } } /** * A call to `goog.require`. */ - class ClosureRequireCall extends ClosureNamespaceAccess, DataFlow::MethodCallNode instanceof DefaultClosureRequireCall { - } + class ClosureRequireCall extends ClosureNamespaceAccess, DataFlow::MethodCallNode instanceof DefaultClosureRequireCall + { } /** * A top-level call to `goog.module` or `goog.declareModuleId`. @@ -104,8 +106,8 @@ module Closure { /** * A top-level call to `goog.module` or `goog.declareModuleId`. */ - class ClosureModuleDeclaration extends ClosureNamespaceRef, DataFlow::MethodCallNode instanceof DefaultClosureModuleDeclaration { - } + class ClosureModuleDeclaration extends ClosureNamespaceRef, DataFlow::MethodCallNode instanceof DefaultClosureModuleDeclaration + { } private GlobalVariable googVariable() { variables(result, "goog", any(GlobalScope sc)) } diff --git a/javascript/ql/lib/semmle/javascript/Concepts.qll b/javascript/ql/lib/semmle/javascript/Concepts.qll index 67cf325eb11..01970490374 100644 --- a/javascript/ql/lib/semmle/javascript/Concepts.qll +++ b/javascript/ql/lib/semmle/javascript/Concepts.qll @@ -124,7 +124,8 @@ module Cryptography { * Extend this class to refine existing API models. If you want to model new APIs, * extend `CryptographicOperation::Range` instead. */ - class CryptographicOperation extends SC::CryptographicOperation instanceof CryptographicOperation::Range { + class CryptographicOperation extends SC::CryptographicOperation instanceof CryptographicOperation::Range + { /** * DEPRECATED. This predicate has been renamed to `getAnInput`. * diff --git a/javascript/ql/lib/semmle/javascript/DOM.qll b/javascript/ql/lib/semmle/javascript/DOM.qll index 954ac8571e7..f06f43d5976 100644 --- a/javascript/ql/lib/semmle/javascript/DOM.qll +++ b/javascript/ql/lib/semmle/javascript/DOM.qll @@ -63,7 +63,8 @@ module DOM { /** * An HTML element, viewed as an `ElementDefinition`. */ - private class HtmlElementDefinition extends ElementDefinition, @xmlelement instanceof HTML::Element { + private class HtmlElementDefinition extends ElementDefinition, @xmlelement instanceof HTML::Element + { override string getName() { result = HTML::Element.super.getName() } override AttributeDefinition getAttribute(int i) { @@ -127,7 +128,8 @@ module DOM { /** * An HTML attribute, viewed as an `AttributeDefinition`. */ - private class HtmlAttributeDefinition extends AttributeDefinition, @xmlattribute instanceof HTML::Attribute { + private class HtmlAttributeDefinition extends AttributeDefinition, @xmlattribute instanceof HTML::Attribute + { override string getName() { result = HTML::Attribute.super.getName() } override string getStringValue() { result = super.getValue() } @@ -138,7 +140,8 @@ module DOM { /** * A JSX attribute, viewed as an `AttributeDefinition`. */ - private class JsxAttributeDefinition extends AttributeDefinition, @jsx_attribute instanceof JsxAttribute { + private class JsxAttributeDefinition extends AttributeDefinition, @jsx_attribute instanceof JsxAttribute + { override string getName() { result = JsxAttribute.super.getName() } override DataFlow::Node getValueNode() { diff --git a/javascript/ql/lib/semmle/javascript/Functions.qll b/javascript/ql/lib/semmle/javascript/Functions.qll index 62abdddaa69..b3731e512fe 100644 --- a/javascript/ql/lib/semmle/javascript/Functions.qll +++ b/javascript/ql/lib/semmle/javascript/Functions.qll @@ -37,7 +37,8 @@ import javascript * ``` */ class Function extends @function, Parameterized, TypeParameterized, StmtContainer, Documentable, - AST::ValueNode { + AST::ValueNode +{ /** Gets the `i`th parameter of this function. */ Parameter getParameter(int i) { result = this.getChildExpr(i) } diff --git a/javascript/ql/lib/semmle/javascript/GeneratedCode.qll b/javascript/ql/lib/semmle/javascript/GeneratedCode.qll index ea397a9c40d..e045a98f3b0 100644 --- a/javascript/ql/lib/semmle/javascript/GeneratedCode.qll +++ b/javascript/ql/lib/semmle/javascript/GeneratedCode.qll @@ -16,8 +16,8 @@ abstract class GeneratedCodeMarkerComment extends Comment { } /** * A source mapping comment, viewed as a marker comment indicating generated code. */ -private class SourceMappingCommentMarkerComment extends GeneratedCodeMarkerComment instanceof SourceMappingComment { -} +private class SourceMappingCommentMarkerComment extends GeneratedCodeMarkerComment instanceof SourceMappingComment +{ } /** * A marker comment left by a known code generator. diff --git a/javascript/ql/lib/semmle/javascript/MembershipCandidates.qll b/javascript/ql/lib/semmle/javascript/MembershipCandidates.qll index 0f9a8c33a37..21f4cc1b1c5 100644 --- a/javascript/ql/lib/semmle/javascript/MembershipCandidates.qll +++ b/javascript/ql/lib/semmle/javascript/MembershipCandidates.qll @@ -220,7 +220,8 @@ module MembershipCandidate { * A candidate that may be a property name of an object. */ class ObjectPropertyNameMembershipCandidate extends MembershipCandidate::Range, - DataFlow::ValueNode { + DataFlow::ValueNode + { Expr test; Expr membersNode; diff --git a/javascript/ql/lib/semmle/javascript/Promises.qll b/javascript/ql/lib/semmle/javascript/Promises.qll index f34885644e8..bb1ee9326d8 100644 --- a/javascript/ql/lib/semmle/javascript/Promises.qll +++ b/javascript/ql/lib/semmle/javascript/Promises.qll @@ -616,7 +616,8 @@ module Bluebird { } private class BluebirdCoroutineDefinitionAsPartialInvoke extends DataFlow::PartialInvokeNode::Range, - BluebirdCoroutineDefinition { + BluebirdCoroutineDefinition + { override DataFlow::SourceNode getBoundFunction(DataFlow::Node callback, int boundArgs) { boundArgs = 0 and callback = this.getArgument(0) and diff --git a/javascript/ql/lib/semmle/javascript/Routing.qll b/javascript/ql/lib/semmle/javascript/Routing.qll index c55069924fd..93e5cd24328 100644 --- a/javascript/ql/lib/semmle/javascript/Routing.qll +++ b/javascript/ql/lib/semmle/javascript/Routing.qll @@ -508,7 +508,8 @@ module Routing { /** * An array which has been determined to be a route node, seen as a route node with arguments. */ - private class ImpliedArrayRoute extends ValueNode::WithArguments, DataFlow::ArrayCreationNode instanceof ValueNode::UseSite { + private class ImpliedArrayRoute extends ValueNode::WithArguments, DataFlow::ArrayCreationNode instanceof ValueNode::UseSite + { override DataFlow::Node getArgumentNode(int n) { result = this.getElement(n) } } } diff --git a/javascript/ql/lib/semmle/javascript/StandardLibrary.qll b/javascript/ql/lib/semmle/javascript/StandardLibrary.qll index 9366c76d9cc..b40f10d9369 100644 --- a/javascript/ql/lib/semmle/javascript/StandardLibrary.qll +++ b/javascript/ql/lib/semmle/javascript/StandardLibrary.qll @@ -50,7 +50,8 @@ class DirectEval extends CallExpr { * argument as the receiver to the callback. */ private class ArrayIterationCallbackAsPartialInvoke extends DataFlow::PartialInvokeNode::Range, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode +{ ArrayIterationCallbackAsPartialInvoke() { this.getNumArgument() = 2 and // Filter out library methods named 'forEach' etc diff --git a/javascript/ql/lib/semmle/javascript/TypeScript.qll b/javascript/ql/lib/semmle/javascript/TypeScript.qll index 5b8cd763dfe..4e0d61179d2 100644 --- a/javascript/ql/lib/semmle/javascript/TypeScript.qll +++ b/javascript/ql/lib/semmle/javascript/TypeScript.qll @@ -1470,7 +1470,8 @@ class NamespaceAccess extends TypeExpr, NamespaceRef, @namespace_access { * An identifier that refers to a namespace from inside a type annotation. */ class LocalNamespaceAccess extends NamespaceAccess, LexicalAccess, Identifier, - @local_namespace_access { + @local_namespace_access +{ override Identifier getIdentifier() { result = this } /** Gets the local name being accessed. */ diff --git a/javascript/ql/lib/semmle/javascript/dataflow/Refinements.qll b/javascript/ql/lib/semmle/javascript/dataflow/Refinements.qll index 91ed08e4a44..52a7f74719b 100644 --- a/javascript/ql/lib/semmle/javascript/dataflow/Refinements.qll +++ b/javascript/ql/lib/semmle/javascript/dataflow/Refinements.qll @@ -117,7 +117,8 @@ private class IntRefinement extends NumberRefinement, NumberLiteral { * A use of the global variable `undefined`, viewed as a refinement expression. */ private class UndefinedInRefinement extends RefinementCandidate, - SyntacticConstants::UndefinedConstant { + SyntacticConstants::UndefinedConstant +{ override SsaSourceVariable getARefinedVar() { none() } override RefinementValue eval(RefinementContext ctxt) { diff --git a/javascript/ql/lib/semmle/javascript/dataflow/TaintTracking.qll b/javascript/ql/lib/semmle/javascript/dataflow/TaintTracking.qll index 1e6a7044178..2e80990ac13 100644 --- a/javascript/ql/lib/semmle/javascript/dataflow/TaintTracking.qll +++ b/javascript/ql/lib/semmle/javascript/dataflow/TaintTracking.qll @@ -1005,7 +1005,8 @@ module TaintTracking { * Note that the `includes` method is covered by `MembershipTestSanitizer`. */ class WhitelistContainmentCallSanitizer extends AdditionalSanitizerGuardNode, - DataFlow::MethodCallNode { + DataFlow::MethodCallNode + { WhitelistContainmentCallSanitizer() { this.getMethodName() = ["contains", "has", "hasOwnProperty", "hasOwn"] } diff --git a/javascript/ql/lib/semmle/javascript/dataflow/internal/PropertyTypeInference.qll b/javascript/ql/lib/semmle/javascript/dataflow/internal/PropertyTypeInference.qll index 25b6cfdb2d9..26a8e34beee 100644 --- a/javascript/ql/lib/semmle/javascript/dataflow/internal/PropertyTypeInference.qll +++ b/javascript/ql/lib/semmle/javascript/dataflow/internal/PropertyTypeInference.qll @@ -120,7 +120,8 @@ abstract class AnalyzedPropertyWrite extends DataFlow::Node { /** * Flow analysis for property writes. */ -private class AnalyzedExplicitPropertyWrite extends AnalyzedPropertyWrite instanceof DataFlow::PropWrite { +private class AnalyzedExplicitPropertyWrite extends AnalyzedPropertyWrite instanceof DataFlow::PropWrite +{ override predicate writes(AbstractValue base, string prop, DataFlow::AnalyzedNode source) { explicitPropertyWrite(this, base, prop, source) } diff --git a/javascript/ql/lib/semmle/javascript/dataflow/internal/VariableTypeInference.qll b/javascript/ql/lib/semmle/javascript/dataflow/internal/VariableTypeInference.qll index 29a7b420513..c7f67e7a4f5 100644 --- a/javascript/ql/lib/semmle/javascript/dataflow/internal/VariableTypeInference.qll +++ b/javascript/ql/lib/semmle/javascript/dataflow/internal/VariableTypeInference.qll @@ -690,7 +690,8 @@ abstract private class CallWithAnalyzedParameters extends FunctionWithAnalyzedPa /** * Flow analysis for simple parameters of IIFEs. */ -private class IifeWithAnalyzedParameters extends CallWithAnalyzedParameters instanceof ImmediatelyInvokedFunctionExpr { +private class IifeWithAnalyzedParameters extends CallWithAnalyzedParameters instanceof ImmediatelyInvokedFunctionExpr +{ IifeWithAnalyzedParameters() { super.getInvocationKind() = "direct" } override DataFlow::InvokeNode getAnInvocation() { result = super.getInvocation().flow() } @@ -711,7 +712,8 @@ private class IifeWithAnalyzedParameters extends CallWithAnalyzedParameters inst /** * Enables inter-procedural type inference for `LocalFunction`. */ -private class LocalFunctionWithAnalyzedParameters extends CallWithAnalyzedParameters instanceof LocalFunction { +private class LocalFunctionWithAnalyzedParameters extends CallWithAnalyzedParameters instanceof LocalFunction +{ override DataFlow::InvokeNode getAnInvocation() { result = LocalFunction.super.getAnInvocation() } override predicate isIncomplete(DataFlow::Incompleteness cause) { none() } diff --git a/javascript/ql/lib/semmle/javascript/dependencies/Dependencies.qll b/javascript/ql/lib/semmle/javascript/dependencies/Dependencies.qll index f110f3d5f97..76a285ccd8c 100644 --- a/javascript/ql/lib/semmle/javascript/dependencies/Dependencies.qll +++ b/javascript/ql/lib/semmle/javascript/dependencies/Dependencies.qll @@ -226,7 +226,8 @@ abstract class ScriptDependency extends Dependency { /** * An embedded JavaScript library included inside a `